diff --git a/assets/ccip-ef415a80.js b/assets/ccip-cab04dac.js similarity index 97% rename from assets/ccip-ef415a80.js rename to assets/ccip-cab04dac.js index b23a8b4d..9c9b2c24 100644 --- a/assets/ccip-ef415a80.js +++ b/assets/ccip-cab04dac.js @@ -1 +1 @@ -import{aA as f,aB as w,aC as y,aD as p,aE as h,aF as g,aG as k,aH as O,aI as E,aJ as m,aK as L}from"./index-47c29602.js";class x extends f{constructor({callbackSelector:e,cause:a,data:n,extraData:c,sender:d,urls:t}){var i;super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],(i=a.metaMessages)!=null&&i.length?"":[],"Offchain Gateway Call:",t&&[" Gateway URL(s):",...t.map(u=>` ${w(u)}`)],` Sender: ${d}`,` Data: ${n}`,` Callback selector: ${e}`,` Extra data: ${c}`].flat()}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupError"})}}class M extends f{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(a)}`,`Response: ${y(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupResponseMalformedError"})}}class R extends f{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupSenderMismatchError"})}}function $(s,e){if(!p(s))throw new h({address:s});if(!p(e))throw new h({address:e});return s.toLowerCase()===e.toLowerCase()}const v="0x556f1830",A={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function D(s,{blockNumber:e,blockTag:a,data:n,to:c}){const{args:d}=g({data:n,abi:[A]}),[t,i,u,r,o]=d;try{if(!$(c,t))throw new R({sender:t,to:c});const l=await S({data:u,sender:t,urls:i}),{data:b}=await k(s,{blockNumber:e,blockTag:a,data:O([r,E([{type:"bytes"},{type:"bytes"}],[l,o])]),to:c});return b}catch(l){throw new x({callbackSelector:r,cause:l,data:n,extraData:o,sender:t,urls:i})}}async function S({data:s,sender:e,urls:a}){var c;let n=new Error("An unknown error occurred.");for(let d=0;d` ${w(u)}`)],` Sender: ${d}`,` Data: ${n}`,` Callback selector: ${e}`,` Extra data: ${c}`].flat()}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupError"})}}class M extends f{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(a)}`,`Response: ${y(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupResponseMalformedError"})}}class R extends f{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupSenderMismatchError"})}}function $(s,e){if(!p(s))throw new h({address:s});if(!p(e))throw new h({address:e});return s.toLowerCase()===e.toLowerCase()}const v="0x556f1830",A={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function D(s,{blockNumber:e,blockTag:a,data:n,to:c}){const{args:d}=g({data:n,abi:[A]}),[t,i,u,r,o]=d;try{if(!$(c,t))throw new R({sender:t,to:c});const l=await S({data:u,sender:t,urls:i}),{data:b}=await k(s,{blockNumber:e,blockTag:a,data:O([r,E([{type:"bytes"},{type:"bytes"}],[l,o])]),to:c});return b}catch(l){throw new x({callbackSelector:r,cause:l,data:n,extraData:o,sender:t,urls:i})}}async function S({data:s,sender:e,urls:a}){var c;let n=new Error("An unknown error occurred.");for(let d=0;dnr&&rt.overwrite(nr,this.end,"",{contentOnly:!0})}else this.declarations.forEach(function(sr){sr.transpile(rt,ot)})},s}(Node$1$1),VariableDeclarator=function(o){function s(){o.apply(this,arguments)}return o&&(s.__proto__=o),s.prototype=Object.create(o&&o.prototype),s.prototype.constructor=s,s.prototype.initialise=function(rt){var ot=this.parent.kind;ot==="let"&&this.parent.parent.type==="ForStatement"&&(ot="for.let"),this.parent.scope.addDeclaration(this.id,ot),o.prototype.initialise.call(this,rt)},s.prototype.transpile=function(rt,ot){if(!this.init&&ot.letConst&&this.parent.kind!=="var"){var tr=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);tr&&!/Function/.test(tr.type)&&!this.isLeftDeclaratorOfLoop()&&rt.appendLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(rt,ot),this.init&&this.init.transpile(rt,ot)},s.prototype.isLeftDeclaratorOfLoop=function(){return this.parent&&this.parent.type==="VariableDeclaration"&&this.parent.parent&&(this.parent.parent.type==="ForInStatement"||this.parent.parent.type==="ForOfStatement")&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},s}(Node$1$1),types$2$1={ArrayExpression,ArrowFunctionExpression,AssignmentExpression,BinaryExpression,BreakStatement,CallExpression,ClassBody,ClassDeclaration,ClassExpression,ContinueStatement,DoWhileStatement:LoopStatement,ExportNamedDeclaration,ExportDefaultDeclaration,ForStatement,ForInStatement,ForOfStatement,FunctionDeclaration,FunctionExpression,Identifier,IfStatement,ImportDeclaration,ImportDefaultSpecifier,ImportSpecifier,JSXAttribute,JSXClosingElement,JSXClosingFragment,JSXElement,JSXExpressionContainer,JSXFragment,JSXOpeningElement,JSXOpeningFragment,JSXSpreadAttribute,Literal,MemberExpression,NewExpression,ObjectExpression,Property,ReturnStatement,Super,TaggedTemplateExpression,TemplateElement,TemplateLiteral,ThisExpression,UpdateExpression,VariableDeclaration,VariableDeclarator,WhileStatement:LoopStatement},keys$1={Program:["body"],Literal:[]},statementsWithBlocks={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function wrap(o,s){if(o){if("length"in o){for(var a=o.length;a--;)wrap(o[a],s);return}if(!o.__wrapped){o.__wrapped=!0,keys$1[o.type]||(keys$1[o.type]=Object.keys(o).filter(function(ir){return typeof o[ir]=="object"}));var rt=statementsWithBlocks[o.type];if(rt&&o[rt].type!=="BlockStatement"){var ot=o[rt];o[rt]={start:ot.start,end:ot.end,type:"BlockStatement",body:[ot],synthetic:!0}}o.parent=s,o.program=s.program||s,o.depth=s.depth+1,o.keys=keys$1[o.type],o.indentation=void 0;for(var tr=0,Ut=keys$1[o.type];tr"u"&&documentAll$2!==void 0,documentAll_1={all:documentAll$2,IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$a=$documentAll$1.IS_HTMLDDA?function(o){return typeof o=="function"||o===documentAll$1}:function(o){return typeof o=="function"},isCallable$9=isCallable$a,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$6=$documentAll.IS_HTMLDDA?function(o){return typeof o=="object"?o!==null:isCallable$9(o)||o===documentAll}:function(o){return typeof o=="object"?o!==null:isCallable$9(o)},global$b=global$c,isCallable$8=isCallable$a,aFunction=function(o){return isCallable$8(o)?o:void 0},getBuiltIn$2=function(o,s){return arguments.length<2?aFunction(global$b[o]):global$b[o]&&global$b[o][s]},uncurryThis$7=functionUncurryThis,objectIsPrototypeOf=uncurryThis$7({}.isPrototypeOf),engineUserAgent=typeof navigator<"u"&&String(navigator.userAgent)||"",global$a=global$c,userAgent=engineUserAgent,process$1=global$a.process,Deno=global$a.Deno,versions=process$1&&process$1.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version$5;v8&&(match=v8.split("."),version$5=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version$5&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version$5=+match[1])));var engineV8Version=version$5,V8_VERSION=engineV8Version,fails$5=fails$9,global$9=global$c,$String$3=global$9.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$5(function(){var o=Symbol("symbol detection");return!$String$3(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",getBuiltIn$1=getBuiltIn$2,isCallable$7=isCallable$a,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$1=Object,isSymbol$2=USE_SYMBOL_AS_UID$1?function(o){return typeof o=="symbol"}:function(o){var s=getBuiltIn$1("Symbol");return isCallable$7(s)&&isPrototypeOf(s.prototype,$Object$1(o))},$String$2=String,tryToString$1=function(o){try{return $String$2(o)}catch{return"Object"}},isCallable$6=isCallable$a,tryToString=tryToString$1,$TypeError$4=TypeError,aCallable$1=function(o){if(isCallable$6(o))return o;throw new $TypeError$4(tryToString(o)+" is not a function")},aCallable=aCallable$1,isNullOrUndefined=isNullOrUndefined$2,getMethod$1=function(o,s){var a=o[s];return isNullOrUndefined(a)?void 0:aCallable(a)},call$5=functionCall,isCallable$5=isCallable$a,isObject$5=isObject$6,$TypeError$3=TypeError,ordinaryToPrimitive$1=function(o,s){var a,rt;if(s==="string"&&isCallable$5(a=o.toString)&&!isObject$5(rt=call$5(a,o))||isCallable$5(a=o.valueOf)&&!isObject$5(rt=call$5(a,o))||s!=="string"&&isCallable$5(a=o.toString)&&!isObject$5(rt=call$5(a,o)))return rt;throw new $TypeError$3("Can't convert object to primitive value")},shared$3={exports:{}},global$8=global$c,defineProperty$2=Object.defineProperty,defineGlobalProperty$3=function(o,s){try{defineProperty$2(global$8,o,{value:s,configurable:!0,writable:!0})}catch{global$8[o]=s}return s},global$7=global$c,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$7[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore;(shared$3.exports=function(o,s){return store$2[o]||(store$2[o]=s!==void 0?s:{})})("versions",[]).push({version:"3.33.3",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedExports=shared$3.exports,requireObjectCoercible=requireObjectCoercible$2,$Object=Object,toObject$2=function(o){return $Object(requireObjectCoercible(o))},uncurryThis$6=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty=uncurryThis$6({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function o(s,a){return hasOwnProperty(toObject$1(s),a)},uncurryThis$5=functionUncurryThis,id$1=0,postfix=Math.random(),toString$2=uncurryThis$5(1 .toString),uid$5=function(o){return"Symbol("+(o===void 0?"":o)+")_"+toString$2(++id$1+postfix,36)},global$6=global$c,shared$2=sharedExports,hasOwn$6=hasOwnProperty_1,uid$4=uid$5,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$6.Symbol,WellKnownSymbolsStore=shared$2("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$4,wellKnownSymbol$1=function(o){return hasOwn$6(WellKnownSymbolsStore,o)||(WellKnownSymbolsStore[o]=NATIVE_SYMBOL&&hasOwn$6(Symbol$1,o)?Symbol$1[o]:createWellKnownSymbol("Symbol."+o)),WellKnownSymbolsStore[o]},call$4=functionCall,isObject$4=isObject$6,isSymbol$1=isSymbol$2,getMethod=getMethod$1,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol=wellKnownSymbol$1,$TypeError$2=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive$1=function(o,s){if(!isObject$4(o)||isSymbol$1(o))return o;var a=getMethod(o,TO_PRIMITIVE),rt;if(a){if(s===void 0&&(s="default"),rt=call$4(a,o,s),!isObject$4(rt)||isSymbol$1(rt))return rt;throw new $TypeError$2("Can't convert object to primitive value")}return s===void 0&&(s="number"),ordinaryToPrimitive(o,s)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(o){var s=toPrimitive(o,"string");return isSymbol(s)?s:s+""},global$5=global$c,isObject$3=isObject$6,document$1=global$5.document,EXISTS$1=isObject$3(document$1)&&isObject$3(document$1.createElement),documentCreateElement=function(o){return EXISTS$1?document$1.createElement(o):{}},DESCRIPTORS$7=descriptors,fails$4=fails$9,createElement=documentCreateElement,ie8DomDefine=!DESCRIPTORS$7&&!fails$4(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7}),DESCRIPTORS$6=descriptors,call$3=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$2=toIndexedObject$3,toPropertyKey$1=toPropertyKey$2,hasOwn$5=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function o(s,a){if(s=toIndexedObject$2(s),a=toPropertyKey$1(a),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(s,a)}catch{}if(hasOwn$5(s,a))return createPropertyDescriptor$1(!call$3(propertyIsEnumerableModule$1.f,s,a),s[a])};var objectDefineProperty={},DESCRIPTORS$5=descriptors,fails$3=fails$9,v8PrototypeDefineBug=DESCRIPTORS$5&&fails$3(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),isObject$2=isObject$6,$String$1=String,$TypeError$1=TypeError,anObject$2=function(o){if(isObject$2(o))return o;throw new $TypeError$1($String$1(o)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,anObject$1=anObject$2,toPropertyKey=toPropertyKey$2,$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG?function o(s,a,rt){if(anObject$1(s),a=toPropertyKey(a),anObject$1(rt),typeof s=="function"&&a==="prototype"&&"value"in rt&&WRITABLE in rt&&!rt[WRITABLE]){var ot=$getOwnPropertyDescriptor(s,a);ot&&ot[WRITABLE]&&(s[a]=rt.value,rt={configurable:CONFIGURABLE$1 in rt?rt[CONFIGURABLE$1]:ot[CONFIGURABLE$1],enumerable:ENUMERABLE in rt?rt[ENUMERABLE]:ot[ENUMERABLE],writable:!1})}return $defineProperty(s,a,rt)}:$defineProperty:function o(s,a,rt){if(anObject$1(s),a=toPropertyKey(a),anObject$1(rt),IE8_DOM_DEFINE)try{return $defineProperty(s,a,rt)}catch{}if("get"in rt||"set"in rt)throw new $TypeError("Accessors not supported");return"value"in rt&&(s[a]=rt.value),s};var DESCRIPTORS$3=descriptors,definePropertyModule$2=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$2=DESCRIPTORS$3?function(o,s,a){return definePropertyModule$2.f(o,s,createPropertyDescriptor(1,a))}:function(o,s,a){return o[s]=a,o},makeBuiltIn$2={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$4=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$4(FunctionPrototype,"name"),PROPER=EXISTS&&(function o(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||DESCRIPTORS$2&&getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS,PROPER,CONFIGURABLE},uncurryThis$4=functionUncurryThis,isCallable$4=isCallable$a,store$1=sharedStore,functionToString=uncurryThis$4(Function.toString);isCallable$4(store$1.inspectSource)||(store$1.inspectSource=function(o){return functionToString(o)});var inspectSource$1=store$1.inspectSource,global$4=global$c,isCallable$3=isCallable$a,WeakMap$2=global$4.WeakMap,weakMapBasicDetection=isCallable$3(WeakMap$2)&&/native code/.test(String(WeakMap$2)),shared$1=sharedExports,uid$3=uid$5,keys=shared$1("keys"),sharedKey$1=function(o){return keys[o]||(keys[o]=uid$3(o))},hiddenKeys$3={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$3=global$c,isObject$1=isObject$6,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$3=hasOwnProperty_1,shared=sharedStore,sharedKey=sharedKey$1,hiddenKeys$2=hiddenKeys$3,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=global$3.TypeError,WeakMap$1=global$3.WeakMap,set,get,has,enforce=function(o){return has(o)?get(o):set(o,{})},getterFor=function(o){return function(s){var a;if(!isObject$1(s)||(a=get(s)).type!==o)throw new TypeError$1("Incompatible receiver, "+o+" required");return a}};if(NATIVE_WEAK_MAP||shared.state){var store=shared.state||(shared.state=new WeakMap$1);store.get=store.get,store.has=store.has,store.set=store.set,set=function(o,s){if(store.has(o))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return s.facade=o,store.set(o,s),s},get=function(o){return store.get(o)||{}},has=function(o){return store.has(o)}}else{var STATE=sharedKey("state");hiddenKeys$2[STATE]=!0,set=function(o,s){if(hasOwn$3(o,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return s.facade=o,createNonEnumerableProperty$1(o,STATE,s),s},get=function(o){return hasOwn$3(o,STATE)?o[STATE]:{}},has=function(o){return hasOwn$3(o,STATE)}}var internalState={set,get,has,enforce,getterFor},uncurryThis$3=functionUncurryThis,fails$2=fails$9,isCallable$2=isCallable$a,hasOwn$2=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource=inspectSource$1,InternalStateModule=internalState,enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty$1=Object.defineProperty,stringSlice=uncurryThis$3("".slice),replace=uncurryThis$3("".replace),join=uncurryThis$3([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$2(function(){return defineProperty$1(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(o,s,a){stringSlice($String(s),0,7)==="Symbol("&&(s="["+replace($String(s),/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(s="get "+s),a&&a.setter&&(s="set "+s),(!hasOwn$2(o,"name")||CONFIGURABLE_FUNCTION_NAME&&o.name!==s)&&(DESCRIPTORS$1?defineProperty$1(o,"name",{value:s,configurable:!0}):o.name=s),CONFIGURABLE_LENGTH&&a&&hasOwn$2(a,"arity")&&o.length!==a.arity&&defineProperty$1(o,"length",{value:a.arity});try{a&&hasOwn$2(a,"constructor")&&a.constructor?DESCRIPTORS$1&&defineProperty$1(o,"prototype",{writable:!1}):o.prototype&&(o.prototype=void 0)}catch{}var rt=enforceInternalState(o);return hasOwn$2(rt,"source")||(rt.source=join(TEMPLATE,typeof s=="string"?s:"")),o};Function.prototype.toString=makeBuiltIn$1(function o(){return isCallable$2(this)&&getInternalState(this).source||inspectSource(this)},"toString");var makeBuiltInExports=makeBuiltIn$2.exports,isCallable$1=isCallable$a,definePropertyModule$1=objectDefineProperty,makeBuiltIn=makeBuiltInExports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$1=function(o,s,a,rt){rt||(rt={});var ot=rt.enumerable,tr=rt.name!==void 0?rt.name:s;if(isCallable$1(a)&&makeBuiltIn(a,tr,rt),rt.global)ot?o[s]=a:defineGlobalProperty$1(s,a);else{try{rt.unsafe?o[s]&&(ot=!0):delete o[s]}catch{}ot?o[s]=a:definePropertyModule$1.f(o,s,{value:a,enumerable:!1,configurable:!rt.nonConfigurable,writable:!rt.nonWritable})}return o},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function o(s){var a=+s;return(a>0?floor:ceil)(a)},trunc=mathTrunc,toIntegerOrInfinity$2=function(o){var s=+o;return s!==s||s===0?0:trunc(s)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(o,s){var a=toIntegerOrInfinity$1(o);return a<0?max(a+s,0):min$1(a,s)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(o){return o>0?min(toIntegerOrInfinity(o),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$1=function(o){return toLength(o.length)},toIndexedObject$1=toIndexedObject$3,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod=function(o){return function(s,a,rt){var ot=toIndexedObject$1(s),tr=lengthOfArrayLike(ot),Ut=toAbsoluteIndex(rt,tr),rr;if(o&&a!==a){for(;tr>Ut;)if(rr=ot[Ut++],rr!==rr)return!0}else for(;tr>Ut;Ut++)if((o||Ut in ot)&&ot[Ut]===a)return o||Ut||0;return!o&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$2=functionUncurryThis,hasOwn$1=hasOwnProperty_1,toIndexedObject=toIndexedObject$3,indexOf=arrayIncludes.indexOf,hiddenKeys$1=hiddenKeys$3,push=uncurryThis$2([].push),objectKeysInternal=function(o,s){var a=toIndexedObject(o),rt=0,ot=[],tr;for(tr in a)!hasOwn$1(hiddenKeys$1,tr)&&hasOwn$1(a,tr)&&push(ot,tr);for(;s.length>rt;)hasOwn$1(a,tr=s[rt++])&&(~indexOf(ot,tr)||push(ot,tr));return ot},enumBugKeys$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$1=enumBugKeys$2,hiddenKeys=enumBugKeys$1.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function o(s){return internalObjectKeys$1(s,hiddenKeys)};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var getBuiltIn=getBuiltIn$2,uncurryThis$1=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject=anObject$2,concat$5=uncurryThis$1([].concat),ownKeys$5=getBuiltIn("Reflect","ownKeys")||function o(s){var a=getOwnPropertyNamesModule.f(anObject(s)),rt=getOwnPropertySymbolsModule$1.f;return rt?concat$5(a,rt(s)):a},hasOwn=hasOwnProperty_1,ownKeys$4=ownKeys$5,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$1=function(o,s,a){for(var rt=ownKeys$4(s),ot=definePropertyModule.f,tr=getOwnPropertyDescriptorModule.f,Ut=0;Uttr;)for(var nr=IndexedObject(arguments[tr++]),ir=Ut?concat$4(objectKeys(nr),Ut(nr)):objectKeys(nr),sr=ir.length,ar=0,cr;sr>ar;)cr=ir[ar++],(!DESCRIPTORS||call$2(rr,nr,cr))&&(rt[cr]=nr[cr]);return rt}:$assign,$$1=_export,assign$6=objectAssign;$$1({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$6},{assign:assign$6});var global$1=global$c,path$1=global$1,path=path$1,assign$5=path.Object.assign,parent$2=assign$5,assign$4=parent$2,parent$1=assign$4,assign$3=parent$1,parent=assign$3,assign$2=parent,assign=assign$2;const assign$1=getDefaultExportFromCjs(assign);function _extends(){return _extends=Object.assign||function(o){for(var s=1;s=0)&&(a[ot]=o[ot]);return a}var theme={plain:{color:"#C5C8C6",backgroundColor:"#1D1F21"},styles:[{types:["prolog","comment","doctype","cdata"],style:{color:"hsl(30, 20%, 50%)"}},{types:["property","tag","boolean","number","constant","symbol"],style:{color:"hsl(350, 40%, 70%)"}},{types:["attr-name","string","char","builtin","insterted"],style:{color:"hsl(75, 70%, 60%)"}},{types:["operator","entity","url","string","variable","language-css"],style:{color:"hsl(40, 90%, 60%)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["regex","important"],style:{color:"#e90"}},{types:["atrule","attr-value","keyword"],style:{color:"hsl(350, 40%, 70%)"}},{types:["punctuation","symbol"],style:{opacity:"0.7"}}]},_excluded$1=["style","theme","onChange"];function ownKeys$3(o,s){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(o);s&&(rt=rt.filter(function(ot){return Object.getOwnPropertyDescriptor(o,ot).enumerable})),a.push.apply(a,rt)}return a}function _objectSpread$3(o){for(var s=1;s"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(o,s,a){return _isNativeReflectConstruct()?_construct=Reflect.construct:_construct=function(ot,tr,Ut){var rr=[null];rr.push.apply(rr,tr);var nr=Function.bind.apply(ot,rr),ir=new nr;return Ut&&_setPrototypeOf(ir,Ut.prototype),ir},_construct.apply(null,arguments)}var evalCode=function o(s,a){var rt=Object.keys(a),ot=rt.map(function(Ut){return a[Ut]}),tr=_construct(Function,["_poly","React"].concat(rt,[s]));return tr.apply(void 0,[_poly,React$1].concat(ot))},evalCode$1=evalCode;function ownKeys$1(o,s){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(o);s&&(rt=rt.filter(function(ot){return Object.getOwnPropertyDescriptor(o,ot).enumerable})),a.push.apply(a,rt)}return a}function _objectSpread$1(o){for(var s=1;s"u"?rt(new SyntaxError("`render` must be called with valid JSX.")):a(errorBoundary$1(ar,rt))};if(!/render\s*\(/.test(tr))return rt(new SyntaxError("No-Inline evaluations must call `render`."));evalCode$1(transform(tr,nr),_objectSpread$1(_objectSpread$1({},rr),{},{render:ir}))};function ownKeys(o,s){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(o);s&&(rt=rt.filter(function(ot){return Object.getOwnPropertyDescriptor(o,ot).enumerable})),a.push.apply(a,rt)}return a}function _objectSpread(o){for(var s=1;s{try{o.setItem(s,rt(rr));return}catch(nr){return nr}};return{persistClient:throttle(rr=>{let nr=rr,ir=Ut(nr),sr=0;for(;ir&&nr;)sr++,nr=tr==null?void 0:tr({persistedClient:nr,error:ir,errorCount:sr}),nr&&(ir=Ut(nr))},a),restoreClient:()=>{const rr=o.getItem(s);if(rr)return ot(rr)},removeClient:()=>{o.removeItem(s)}}}return{persistClient:noop$2,restoreClient:()=>{},removeClient:noop$2}}function throttle(o,s=100){let a=null,rt;return function(...ot){rt=ot,a===null&&(a=setTimeout(()=>{o(...rt),a=null},s))}}function noop$2(){}class Subscribable{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){const a={listener:s};return this.listeners.add(a),this.onSubscribe(),()=>{this.listeners.delete(a),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const isServer=typeof window>"u"||"Deno"in window;function noop$1(){}function functionalUpdate(o,s){return typeof o=="function"?o(s):o}function isValidTimeout(o){return typeof o=="number"&&o>=0&&o!==1/0}function timeUntilStale(o,s){return Math.max(o+(s||0)-Date.now(),0)}function parseQueryArgs$1(o,s,a){return isQueryKey$1(o)?typeof s=="function"?{...a,queryKey:o,queryFn:s}:{...s,queryKey:o}:o}function parseMutationArgs(o,s,a){return isQueryKey$1(o)?typeof s=="function"?{...a,mutationKey:o,mutationFn:s}:{...s,mutationKey:o}:typeof o=="function"?{...s,mutationFn:o}:{...o}}function parseFilterArgs(o,s,a){return isQueryKey$1(o)?[{...s,queryKey:o},a]:[o||{},s]}function matchQuery(o,s){const{type:a="all",exact:rt,fetchStatus:ot,predicate:tr,queryKey:Ut,stale:rr}=o;if(isQueryKey$1(Ut)){if(rt){if(s.queryHash!==hashQueryKeyByOptions(Ut,s.options))return!1}else if(!partialMatchKey(s.queryKey,Ut))return!1}if(a!=="all"){const nr=s.isActive();if(a==="active"&&!nr||a==="inactive"&&nr)return!1}return!(typeof rr=="boolean"&&s.isStale()!==rr||typeof ot<"u"&&ot!==s.state.fetchStatus||tr&&!tr(s))}function matchMutation(o,s){const{exact:a,fetching:rt,predicate:ot,mutationKey:tr}=o;if(isQueryKey$1(tr)){if(!s.options.mutationKey)return!1;if(a){if(hashQueryKey(s.options.mutationKey)!==hashQueryKey(tr))return!1}else if(!partialMatchKey(s.options.mutationKey,tr))return!1}return!(typeof rt=="boolean"&&s.state.status==="loading"!==rt||ot&&!ot(s))}function hashQueryKeyByOptions(o,s){return((s==null?void 0:s.queryKeyHashFn)||hashQueryKey)(o)}function hashQueryKey(o){return JSON.stringify(o,(s,a)=>isPlainObject$1(a)?Object.keys(a).sort().reduce((rt,ot)=>(rt[ot]=a[ot],rt),{}):a)}function partialMatchKey(o,s){return partialDeepEqual(o,s)}function partialDeepEqual(o,s){return o===s?!0:typeof o!=typeof s?!1:o&&s&&typeof o=="object"&&typeof s=="object"?!Object.keys(s).some(a=>!partialDeepEqual(o[a],s[a])):!1}function replaceEqualDeep(o,s){if(o===s)return o;const a=isPlainArray(o)&&isPlainArray(s);if(a||isPlainObject$1(o)&&isPlainObject$1(s)){const rt=a?o.length:Object.keys(o).length,ot=a?s:Object.keys(s),tr=ot.length,Ut=a?[]:{};let rr=0;for(let nr=0;nr"u")return!0;const a=s.prototype;return!(!hasObjectPrototype$1(a)||!a.hasOwnProperty("isPrototypeOf"))}function hasObjectPrototype$1(o){return Object.prototype.toString.call(o)==="[object Object]"}function isQueryKey$1(o){return Array.isArray(o)}function sleep(o){return new Promise(s=>{setTimeout(s,o)})}function scheduleMicrotask(o){sleep(0).then(o)}function getAbortController(){if(typeof AbortController=="function")return new AbortController}function replaceData(o,s,a){return a.isDataEqual!=null&&a.isDataEqual(o,s)?o:typeof a.structuralSharing=="function"?a.structuralSharing(o,s):a.structuralSharing!==!1?replaceEqualDeep(o,s):s}class FocusManager extends Subscribable{constructor(){super(),this.setup=s=>{if(!isServer&&window.addEventListener){const a=()=>s();return window.addEventListener("visibilitychange",a,!1),window.addEventListener("focus",a,!1),()=>{window.removeEventListener("visibilitychange",a),window.removeEventListener("focus",a)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var a;this.setup=s,(a=this.cleanup)==null||a.call(this),this.cleanup=s(rt=>{typeof rt=="boolean"?this.setFocused(rt):this.onFocus()})}setFocused(s){this.focused!==s&&(this.focused=s,this.onFocus())}onFocus(){this.listeners.forEach(({listener:s})=>{s()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const focusManager=new FocusManager,onlineEvents=["online","offline"];class OnlineManager extends Subscribable{constructor(){super(),this.setup=s=>{if(!isServer&&window.addEventListener){const a=()=>s();return onlineEvents.forEach(rt=>{window.addEventListener(rt,a,!1)}),()=>{onlineEvents.forEach(rt=>{window.removeEventListener(rt,a)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var a;this.setup=s,(a=this.cleanup)==null||a.call(this),this.cleanup=s(rt=>{typeof rt=="boolean"?this.setOnline(rt):this.onOnline()})}setOnline(s){this.online!==s&&(this.online=s,this.onOnline())}onOnline(){this.listeners.forEach(({listener:s})=>{s()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const onlineManager=new OnlineManager;function defaultRetryDelay(o){return Math.min(1e3*2**o,3e4)}function canFetch(o){return(o??"online")==="online"?onlineManager.isOnline():!0}class CancelledError{constructor(s){this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}}function isCancelledError(o){return o instanceof CancelledError}function createRetryer(o){let s=!1,a=0,rt=!1,ot,tr,Ut;const rr=new Promise((vr,mr)=>{tr=vr,Ut=mr}),nr=vr=>{rt||(ur(new CancelledError(vr)),o.abort==null||o.abort())},ir=()=>{s=!0},sr=()=>{s=!1},ar=()=>!focusManager.isFocused()||o.networkMode!=="always"&&!onlineManager.isOnline(),cr=vr=>{rt||(rt=!0,o.onSuccess==null||o.onSuccess(vr),ot==null||ot(),tr(vr))},ur=vr=>{rt||(rt=!0,o.onError==null||o.onError(vr),ot==null||ot(),Ut(vr))},lr=()=>new Promise(vr=>{ot=mr=>{const pr=rt||!ar();return pr&&vr(mr),pr},o.onPause==null||o.onPause()}).then(()=>{ot=void 0,rt||o.onContinue==null||o.onContinue()}),dr=()=>{if(rt)return;let vr;try{vr=o.fn()}catch(mr){vr=Promise.reject(mr)}Promise.resolve(vr).then(cr).catch(mr=>{var pr,br;if(rt)return;const _r=(pr=o.retry)!=null?pr:3,wr=(br=o.retryDelay)!=null?br:defaultRetryDelay,jr=typeof wr=="function"?wr(a,mr):wr,yr=_r===!0||typeof _r=="number"&&a<_r||typeof _r=="function"&&_r(a,mr);if(s||!yr){ur(mr);return}a++,o.onFail==null||o.onFail(a,mr),sleep(jr).then(()=>{if(ar())return lr()}).then(()=>{s?ur(mr):dr()})})};return canFetch(o.networkMode)?dr():lr().then(dr),{promise:rr,cancel:nr,continue:()=>(ot==null?void 0:ot())?rr:Promise.resolve(),cancelRetry:ir,continueRetry:sr}}const defaultLogger=console;function createNotifyManager(){let o=[],s=0,a=sr=>{sr()},rt=sr=>{sr()};const ot=sr=>{let ar;s++;try{ar=sr()}finally{s--,s||rr()}return ar},tr=sr=>{s?o.push(sr):scheduleMicrotask(()=>{a(sr)})},Ut=sr=>(...ar)=>{tr(()=>{sr(...ar)})},rr=()=>{const sr=o;o=[],sr.length&&scheduleMicrotask(()=>{rt(()=>{sr.forEach(ar=>{a(ar)})})})};return{batch:ot,batchCalls:Ut,schedule:tr,setNotifyFunction:sr=>{a=sr},setBatchNotifyFunction:sr=>{rt=sr}}}const notifyManager=createNotifyManager();class Removable{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),isValidTimeout(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(s){this.cacheTime=Math.max(this.cacheTime||0,s??(isServer?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Query extends Removable{constructor(s){super(),this.abortSignalConsumed=!1,this.defaultOptions=s.defaultOptions,this.setOptions(s.options),this.observers=[],this.cache=s.cache,this.logger=s.logger||defaultLogger,this.queryKey=s.queryKey,this.queryHash=s.queryHash,this.initialState=s.state||getDefaultState$1(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(s,a){const rt=replaceData(this.state.data,s,this.options);return this.dispatch({data:rt,type:"success",dataUpdatedAt:a==null?void 0:a.updatedAt,manual:a==null?void 0:a.manual}),rt}setState(s,a){this.dispatch({type:"setState",state:s,setStateOptions:a})}cancel(s){var a;const rt=this.promise;return(a=this.retryer)==null||a.cancel(s),rt?rt.then(noop$1).catch(noop$1):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(s=>s.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(s=>s.getCurrentResult().isStale)}isStaleByTime(s=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!timeUntilStale(this.state.dataUpdatedAt,s)}onFocus(){var s;const a=this.observers.find(rt=>rt.shouldFetchOnWindowFocus());a&&a.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}onOnline(){var s;const a=this.observers.find(rt=>rt.shouldFetchOnReconnect());a&&a.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:s}))}removeObserver(s){this.observers.includes(s)&&(this.observers=this.observers.filter(a=>a!==s),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:s}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(s,a){var rt,ot;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&a!=null&&a.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var tr;return(tr=this.retryer)==null||tr.continueRetry(),this.promise}}if(s&&this.setOptions(s),!this.options.queryFn){const ur=this.observers.find(lr=>lr.options.queryFn);ur&&this.setOptions(ur.options)}const Ut=getAbortController(),rr={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},nr=ur=>{Object.defineProperty(ur,"signal",{enumerable:!0,get:()=>{if(Ut)return this.abortSignalConsumed=!0,Ut.signal}})};nr(rr);const ir=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(rr)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),sr={fetchOptions:a,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:ir};if(nr(sr),(rt=this.options.behavior)==null||rt.onFetch(sr),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((ot=sr.fetchOptions)==null?void 0:ot.meta)){var ar;this.dispatch({type:"fetch",meta:(ar=sr.fetchOptions)==null?void 0:ar.meta})}const cr=ur=>{if(isCancelledError(ur)&&ur.silent||this.dispatch({type:"error",error:ur}),!isCancelledError(ur)){var lr,dr,vr,mr;(lr=(dr=this.cache.config).onError)==null||lr.call(dr,ur,this),(vr=(mr=this.cache.config).onSettled)==null||vr.call(mr,this.state.data,ur,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=createRetryer({fn:sr.fetchFn,abort:Ut==null?void 0:Ut.abort.bind(Ut),onSuccess:ur=>{var lr,dr,vr,mr;if(typeof ur>"u"){cr(new Error(this.queryHash+" data is undefined"));return}this.setData(ur),(lr=(dr=this.cache.config).onSuccess)==null||lr.call(dr,ur,this),(vr=(mr=this.cache.config).onSettled)==null||vr.call(mr,ur,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:cr,onFail:(ur,lr)=>{this.dispatch({type:"failed",failureCount:ur,error:lr})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:sr.options.retry,retryDelay:sr.options.retryDelay,networkMode:sr.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(s){const a=rt=>{var ot,tr;switch(s.type){case"failed":return{...rt,fetchFailureCount:s.failureCount,fetchFailureReason:s.error};case"pause":return{...rt,fetchStatus:"paused"};case"continue":return{...rt,fetchStatus:"fetching"};case"fetch":return{...rt,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(ot=s.meta)!=null?ot:null,fetchStatus:canFetch(this.options.networkMode)?"fetching":"paused",...!rt.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...rt,data:s.data,dataUpdateCount:rt.dataUpdateCount+1,dataUpdatedAt:(tr=s.dataUpdatedAt)!=null?tr:Date.now(),error:null,isInvalidated:!1,status:"success",...!s.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const Ut=s.error;return isCancelledError(Ut)&&Ut.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...rt,error:Ut,errorUpdateCount:rt.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:rt.fetchFailureCount+1,fetchFailureReason:Ut,fetchStatus:"idle",status:"error"};case"invalidate":return{...rt,isInvalidated:!0};case"setState":return{...rt,...s.state}}};this.state=a(this.state),notifyManager.batch(()=>{this.observers.forEach(rt=>{rt.onQueryUpdate(s)}),this.cache.notify({query:this,type:"updated",action:s})})}}function getDefaultState$1(o){const s=typeof o.initialData=="function"?o.initialData():o.initialData,a=typeof s<"u",rt=a?typeof o.initialDataUpdatedAt=="function"?o.initialDataUpdatedAt():o.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:a?rt??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"loading",fetchStatus:"idle"}}class QueryCache extends Subscribable{constructor(s){super(),this.config=s||{},this.queries=[],this.queriesMap={}}build(s,a,rt){var ot;const tr=a.queryKey,Ut=(ot=a.queryHash)!=null?ot:hashQueryKeyByOptions(tr,a);let rr=this.get(Ut);return rr||(rr=new Query({cache:this,logger:s.getLogger(),queryKey:tr,queryHash:Ut,options:s.defaultQueryOptions(a),state:rt,defaultOptions:s.getQueryDefaults(tr)}),this.add(rr)),rr}add(s){this.queriesMap[s.queryHash]||(this.queriesMap[s.queryHash]=s,this.queries.push(s),this.notify({type:"added",query:s}))}remove(s){const a=this.queriesMap[s.queryHash];a&&(s.destroy(),this.queries=this.queries.filter(rt=>rt!==s),a===s&&delete this.queriesMap[s.queryHash],this.notify({type:"removed",query:s}))}clear(){notifyManager.batch(()=>{this.queries.forEach(s=>{this.remove(s)})})}get(s){return this.queriesMap[s]}getAll(){return this.queries}find(s,a){const[rt]=parseFilterArgs(s,a);return typeof rt.exact>"u"&&(rt.exact=!0),this.queries.find(ot=>matchQuery(rt,ot))}findAll(s,a){const[rt]=parseFilterArgs(s,a);return Object.keys(rt).length>0?this.queries.filter(ot=>matchQuery(rt,ot)):this.queries}notify(s){notifyManager.batch(()=>{this.listeners.forEach(({listener:a})=>{a(s)})})}onFocus(){notifyManager.batch(()=>{this.queries.forEach(s=>{s.onFocus()})})}onOnline(){notifyManager.batch(()=>{this.queries.forEach(s=>{s.onOnline()})})}}class Mutation extends Removable{constructor(s){super(),this.defaultOptions=s.defaultOptions,this.mutationId=s.mutationId,this.mutationCache=s.mutationCache,this.logger=s.logger||defaultLogger,this.observers=[],this.state=s.state||getDefaultState(),this.setOptions(s.options),this.scheduleGc()}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(s){this.dispatch({type:"setState",state:s})}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:s}))}removeObserver(s){this.observers=this.observers.filter(a=>a!==s),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:s})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var s,a;return(s=(a=this.retryer)==null?void 0:a.continue())!=null?s:this.execute()}async execute(){const s=()=>{var yr;return this.retryer=createRetryer({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(Ar,Pr)=>{this.dispatch({type:"failed",failureCount:Ar,error:Pr})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(yr=this.options.retry)!=null?yr:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},a=this.state.status==="loading";try{var rt,ot,tr,Ut,rr,nr,ir,sr;if(!a){var ar,cr,ur,lr;this.dispatch({type:"loading",variables:this.options.variables}),await((ar=(cr=this.mutationCache.config).onMutate)==null?void 0:ar.call(cr,this.state.variables,this));const Ar=await((ur=(lr=this.options).onMutate)==null?void 0:ur.call(lr,this.state.variables));Ar!==this.state.context&&this.dispatch({type:"loading",context:Ar,variables:this.state.variables})}const yr=await s();return await((rt=(ot=this.mutationCache.config).onSuccess)==null?void 0:rt.call(ot,yr,this.state.variables,this.state.context,this)),await((tr=(Ut=this.options).onSuccess)==null?void 0:tr.call(Ut,yr,this.state.variables,this.state.context)),await((rr=(nr=this.mutationCache.config).onSettled)==null?void 0:rr.call(nr,yr,null,this.state.variables,this.state.context,this)),await((ir=(sr=this.options).onSettled)==null?void 0:ir.call(sr,yr,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:yr}),yr}catch(yr){try{var dr,vr,mr,pr,br,_r,wr,jr;throw await((dr=(vr=this.mutationCache.config).onError)==null?void 0:dr.call(vr,yr,this.state.variables,this.state.context,this)),await((mr=(pr=this.options).onError)==null?void 0:mr.call(pr,yr,this.state.variables,this.state.context)),await((br=(_r=this.mutationCache.config).onSettled)==null?void 0:br.call(_r,void 0,yr,this.state.variables,this.state.context,this)),await((wr=(jr=this.options).onSettled)==null?void 0:wr.call(jr,void 0,yr,this.state.variables,this.state.context)),yr}finally{this.dispatch({type:"error",error:yr})}}}dispatch(s){const a=rt=>{switch(s.type){case"failed":return{...rt,failureCount:s.failureCount,failureReason:s.error};case"pause":return{...rt,isPaused:!0};case"continue":return{...rt,isPaused:!1};case"loading":return{...rt,context:s.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!canFetch(this.options.networkMode),status:"loading",variables:s.variables};case"success":return{...rt,data:s.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...rt,data:void 0,error:s.error,failureCount:rt.failureCount+1,failureReason:s.error,isPaused:!1,status:"error"};case"setState":return{...rt,...s.state}}};this.state=a(this.state),notifyManager.batch(()=>{this.observers.forEach(rt=>{rt.onMutationUpdate(s)}),this.mutationCache.notify({mutation:this,type:"updated",action:s})})}}function getDefaultState(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class MutationCache extends Subscribable{constructor(s){super(),this.config=s||{},this.mutations=[],this.mutationId=0}build(s,a,rt){const ot=new Mutation({mutationCache:this,logger:s.getLogger(),mutationId:++this.mutationId,options:s.defaultMutationOptions(a),state:rt,defaultOptions:a.mutationKey?s.getMutationDefaults(a.mutationKey):void 0});return this.add(ot),ot}add(s){this.mutations.push(s),this.notify({type:"added",mutation:s})}remove(s){this.mutations=this.mutations.filter(a=>a!==s),this.notify({type:"removed",mutation:s})}clear(){notifyManager.batch(()=>{this.mutations.forEach(s=>{this.remove(s)})})}getAll(){return this.mutations}find(s){return typeof s.exact>"u"&&(s.exact=!0),this.mutations.find(a=>matchMutation(s,a))}findAll(s){return this.mutations.filter(a=>matchMutation(s,a))}notify(s){notifyManager.batch(()=>{this.listeners.forEach(({listener:a})=>{a(s)})})}resumePausedMutations(){var s;return this.resuming=((s=this.resuming)!=null?s:Promise.resolve()).then(()=>{const a=this.mutations.filter(rt=>rt.state.isPaused);return notifyManager.batch(()=>a.reduce((rt,ot)=>rt.then(()=>ot.continue().catch(noop$1)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function infiniteQueryBehavior(){return{onFetch:o=>{o.fetchFn=()=>{var s,a,rt,ot,tr,Ut;const rr=(s=o.fetchOptions)==null||(a=s.meta)==null?void 0:a.refetchPage,nr=(rt=o.fetchOptions)==null||(ot=rt.meta)==null?void 0:ot.fetchMore,ir=nr==null?void 0:nr.pageParam,sr=(nr==null?void 0:nr.direction)==="forward",ar=(nr==null?void 0:nr.direction)==="backward",cr=((tr=o.state.data)==null?void 0:tr.pages)||[],ur=((Ut=o.state.data)==null?void 0:Ut.pageParams)||[];let lr=ur,dr=!1;const vr=jr=>{Object.defineProperty(jr,"signal",{enumerable:!0,get:()=>{var yr;if((yr=o.signal)!=null&&yr.aborted)dr=!0;else{var Ar;(Ar=o.signal)==null||Ar.addEventListener("abort",()=>{dr=!0})}return o.signal}})},mr=o.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+o.options.queryHash+"'")),pr=(jr,yr,Ar,Pr)=>(lr=Pr?[yr,...lr]:[...lr,yr],Pr?[Ar,...jr]:[...jr,Ar]),br=(jr,yr,Ar,Pr)=>{if(dr)return Promise.reject("Cancelled");if(typeof Ar>"u"&&!yr&&jr.length)return Promise.resolve(jr);const Tr={queryKey:o.queryKey,pageParam:Ar,meta:o.options.meta};vr(Tr);const kr=mr(Tr);return Promise.resolve(kr).then(Mr=>pr(jr,Ar,Mr,Pr))};let _r;if(!cr.length)_r=br([]);else if(sr){const jr=typeof ir<"u",yr=jr?ir:getNextPageParam(o.options,cr);_r=br(cr,jr,yr)}else if(ar){const jr=typeof ir<"u",yr=jr?ir:getPreviousPageParam(o.options,cr);_r=br(cr,jr,yr,!0)}else{lr=[];const jr=typeof o.options.getNextPageParam>"u";_r=(rr&&cr[0]?rr(cr[0],0,cr):!0)?br([],jr,ur[0]):Promise.resolve(pr([],ur[0],cr[0]));for(let Ar=1;Ar{if(rr&&cr[Ar]?rr(cr[Ar],Ar,cr):!0){const kr=jr?ur[Ar]:getNextPageParam(o.options,Pr);return br(Pr,jr,kr)}return Promise.resolve(pr(Pr,ur[Ar],cr[Ar]))})}return _r.then(jr=>({pages:jr,pageParams:lr}))}}}}function getNextPageParam(o,s){return o.getNextPageParam==null?void 0:o.getNextPageParam(s[s.length-1],s)}function getPreviousPageParam(o,s){return o.getPreviousPageParam==null?void 0:o.getPreviousPageParam(s[0],s)}function hasNextPage(o,s){if(o.getNextPageParam&&Array.isArray(s)){const a=getNextPageParam(o,s);return typeof a<"u"&&a!==null&&a!==!1}}function hasPreviousPage(o,s){if(o.getPreviousPageParam&&Array.isArray(s)){const a=getPreviousPageParam(o,s);return typeof a<"u"&&a!==null&&a!==!1}}class QueryClient{constructor(s={}){this.queryCache=s.queryCache||new QueryCache,this.mutationCache=s.mutationCache||new MutationCache,this.logger=s.logger||defaultLogger,this.defaultOptions=s.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=focusManager.subscribe(()=>{focusManager.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=onlineManager.subscribe(()=>{onlineManager.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var s,a;this.mountCount--,this.mountCount===0&&((s=this.unsubscribeFocus)==null||s.call(this),this.unsubscribeFocus=void 0,(a=this.unsubscribeOnline)==null||a.call(this),this.unsubscribeOnline=void 0)}isFetching(s,a){const[rt]=parseFilterArgs(s,a);return rt.fetchStatus="fetching",this.queryCache.findAll(rt).length}isMutating(s){return this.mutationCache.findAll({...s,fetching:!0}).length}getQueryData(s,a){var rt;return(rt=this.queryCache.find(s,a))==null?void 0:rt.state.data}ensureQueryData(s,a,rt){const ot=parseQueryArgs$1(s,a,rt),tr=this.getQueryData(ot.queryKey);return tr?Promise.resolve(tr):this.fetchQuery(ot)}getQueriesData(s){return this.getQueryCache().findAll(s).map(({queryKey:a,state:rt})=>{const ot=rt.data;return[a,ot]})}setQueryData(s,a,rt){const ot=this.queryCache.find(s),tr=ot==null?void 0:ot.state.data,Ut=functionalUpdate(a,tr);if(typeof Ut>"u")return;const rr=parseQueryArgs$1(s),nr=this.defaultQueryOptions(rr);return this.queryCache.build(this,nr).setData(Ut,{...rt,manual:!0})}setQueriesData(s,a,rt){return notifyManager.batch(()=>this.getQueryCache().findAll(s).map(({queryKey:ot})=>[ot,this.setQueryData(ot,a,rt)]))}getQueryState(s,a){var rt;return(rt=this.queryCache.find(s,a))==null?void 0:rt.state}removeQueries(s,a){const[rt]=parseFilterArgs(s,a),ot=this.queryCache;notifyManager.batch(()=>{ot.findAll(rt).forEach(tr=>{ot.remove(tr)})})}resetQueries(s,a,rt){const[ot,tr]=parseFilterArgs(s,a,rt),Ut=this.queryCache,rr={type:"active",...ot};return notifyManager.batch(()=>(Ut.findAll(ot).forEach(nr=>{nr.reset()}),this.refetchQueries(rr,tr)))}cancelQueries(s,a,rt){const[ot,tr={}]=parseFilterArgs(s,a,rt);typeof tr.revert>"u"&&(tr.revert=!0);const Ut=notifyManager.batch(()=>this.queryCache.findAll(ot).map(rr=>rr.cancel(tr)));return Promise.all(Ut).then(noop$1).catch(noop$1)}invalidateQueries(s,a,rt){const[ot,tr]=parseFilterArgs(s,a,rt);return notifyManager.batch(()=>{var Ut,rr;if(this.queryCache.findAll(ot).forEach(ir=>{ir.invalidate()}),ot.refetchType==="none")return Promise.resolve();const nr={...ot,type:(Ut=(rr=ot.refetchType)!=null?rr:ot.type)!=null?Ut:"active"};return this.refetchQueries(nr,tr)})}refetchQueries(s,a,rt){const[ot,tr]=parseFilterArgs(s,a,rt),Ut=notifyManager.batch(()=>this.queryCache.findAll(ot).filter(nr=>!nr.isDisabled()).map(nr=>{var ir;return nr.fetch(void 0,{...tr,cancelRefetch:(ir=tr==null?void 0:tr.cancelRefetch)!=null?ir:!0,meta:{refetchPage:ot.refetchPage}})}));let rr=Promise.all(Ut).then(noop$1);return tr!=null&&tr.throwOnError||(rr=rr.catch(noop$1)),rr}fetchQuery(s,a,rt){const ot=parseQueryArgs$1(s,a,rt),tr=this.defaultQueryOptions(ot);typeof tr.retry>"u"&&(tr.retry=!1);const Ut=this.queryCache.build(this,tr);return Ut.isStaleByTime(tr.staleTime)?Ut.fetch(tr):Promise.resolve(Ut.state.data)}prefetchQuery(s,a,rt){return this.fetchQuery(s,a,rt).then(noop$1).catch(noop$1)}fetchInfiniteQuery(s,a,rt){const ot=parseQueryArgs$1(s,a,rt);return ot.behavior=infiniteQueryBehavior(),this.fetchQuery(ot)}prefetchInfiniteQuery(s,a,rt){return this.fetchInfiniteQuery(s,a,rt).then(noop$1).catch(noop$1)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(s){this.defaultOptions=s}setQueryDefaults(s,a){const rt=this.queryDefaults.find(ot=>hashQueryKey(s)===hashQueryKey(ot.queryKey));rt?rt.defaultOptions=a:this.queryDefaults.push({queryKey:s,defaultOptions:a})}getQueryDefaults(s){if(!s)return;const a=this.queryDefaults.find(rt=>partialMatchKey(s,rt.queryKey));return a==null?void 0:a.defaultOptions}setMutationDefaults(s,a){const rt=this.mutationDefaults.find(ot=>hashQueryKey(s)===hashQueryKey(ot.mutationKey));rt?rt.defaultOptions=a:this.mutationDefaults.push({mutationKey:s,defaultOptions:a})}getMutationDefaults(s){if(!s)return;const a=this.mutationDefaults.find(rt=>partialMatchKey(s,rt.mutationKey));return a==null?void 0:a.defaultOptions}defaultQueryOptions(s){if(s!=null&&s._defaulted)return s;const a={...this.defaultOptions.queries,...this.getQueryDefaults(s==null?void 0:s.queryKey),...s,_defaulted:!0};return!a.queryHash&&a.queryKey&&(a.queryHash=hashQueryKeyByOptions(a.queryKey,a)),typeof a.refetchOnReconnect>"u"&&(a.refetchOnReconnect=a.networkMode!=="always"),typeof a.useErrorBoundary>"u"&&(a.useErrorBoundary=!!a.suspense),a}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...this.defaultOptions.mutations,...this.getMutationDefaults(s==null?void 0:s.mutationKey),...s,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class QueryObserver extends Subscribable{constructor(s,a){super(),this.client=s,this.options=a,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(a)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),shouldFetchOnMount(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return shouldFetchOn(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return shouldFetchOn(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(s,a){const rt=this.options,ot=this.currentQuery;if(this.options=this.client.defaultQueryOptions(s),shallowEqualObjects(rt,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=rt.queryKey),this.updateQuery();const tr=this.hasListeners();tr&&shouldFetchOptionally(this.currentQuery,ot,this.options,rt)&&this.executeFetch(),this.updateResult(a),tr&&(this.currentQuery!==ot||this.options.enabled!==rt.enabled||this.options.staleTime!==rt.staleTime)&&this.updateStaleTimeout();const Ut=this.computeRefetchInterval();tr&&(this.currentQuery!==ot||this.options.enabled!==rt.enabled||Ut!==this.currentRefetchInterval)&&this.updateRefetchInterval(Ut)}getOptimisticResult(s){const a=this.client.getQueryCache().build(this.client,s),rt=this.createResult(a,s);return shouldAssignObserverCurrentProperties(this,rt,s)&&(this.currentResult=rt,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),rt}getCurrentResult(){return this.currentResult}trackResult(s){const a={};return Object.keys(s).forEach(rt=>{Object.defineProperty(a,rt,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(rt),s[rt])})}),a}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:s,...a}={}){return this.fetch({...a,meta:{refetchPage:s}})}fetchOptimistic(s){const a=this.client.defaultQueryOptions(s),rt=this.client.getQueryCache().build(this.client,a);return rt.isFetchingOptimistic=!0,rt.fetch().then(()=>this.createResult(rt,a))}fetch(s){var a;return this.executeFetch({...s,cancelRefetch:(a=s.cancelRefetch)!=null?a:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(s){this.updateQuery();let a=this.currentQuery.fetch(this.options,s);return s!=null&&s.throwOnError||(a=a.catch(noop$1)),a}updateStaleTimeout(){if(this.clearStaleTimeout(),isServer||this.currentResult.isStale||!isValidTimeout(this.options.staleTime))return;const a=timeUntilStale(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},a)}computeRefetchInterval(){var s;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(s=this.options.refetchInterval)!=null?s:!1}updateRefetchInterval(s){this.clearRefetchInterval(),this.currentRefetchInterval=s,!(isServer||this.options.enabled===!1||!isValidTimeout(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||focusManager.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(s,a){const rt=this.currentQuery,ot=this.options,tr=this.currentResult,Ut=this.currentResultState,rr=this.currentResultOptions,nr=s!==rt,ir=nr?s.state:this.currentQueryInitialState,sr=nr?this.currentResult:this.previousQueryResult,{state:ar}=s;let{dataUpdatedAt:cr,error:ur,errorUpdatedAt:lr,fetchStatus:dr,status:vr}=ar,mr=!1,pr=!1,br;if(a._optimisticResults){const Ar=this.hasListeners(),Pr=!Ar&&shouldFetchOnMount(s,a),Tr=Ar&&shouldFetchOptionally(s,rt,a,ot);(Pr||Tr)&&(dr=canFetch(s.options.networkMode)?"fetching":"paused",cr||(vr="loading")),a._optimisticResults==="isRestoring"&&(dr="idle")}if(a.keepPreviousData&&!ar.dataUpdatedAt&&sr!=null&&sr.isSuccess&&vr!=="error")br=sr.data,cr=sr.dataUpdatedAt,vr=sr.status,mr=!0;else if(a.select&&typeof ar.data<"u")if(tr&&ar.data===(Ut==null?void 0:Ut.data)&&a.select===this.selectFn)br=this.selectResult;else try{this.selectFn=a.select,br=a.select(ar.data),br=replaceData(tr==null?void 0:tr.data,br,a),this.selectResult=br,this.selectError=null}catch(Ar){this.selectError=Ar}else br=ar.data;if(typeof a.placeholderData<"u"&&typeof br>"u"&&vr==="loading"){let Ar;if(tr!=null&&tr.isPlaceholderData&&a.placeholderData===(rr==null?void 0:rr.placeholderData))Ar=tr.data;else if(Ar=typeof a.placeholderData=="function"?a.placeholderData():a.placeholderData,a.select&&typeof Ar<"u")try{Ar=a.select(Ar),this.selectError=null}catch(Pr){this.selectError=Pr}typeof Ar<"u"&&(vr="success",br=replaceData(tr==null?void 0:tr.data,Ar,a),pr=!0)}this.selectError&&(ur=this.selectError,br=this.selectResult,lr=Date.now(),vr="error");const _r=dr==="fetching",wr=vr==="loading",jr=vr==="error";return{status:vr,fetchStatus:dr,isLoading:wr,isSuccess:vr==="success",isError:jr,isInitialLoading:wr&&_r,data:br,dataUpdatedAt:cr,error:ur,errorUpdatedAt:lr,failureCount:ar.fetchFailureCount,failureReason:ar.fetchFailureReason,errorUpdateCount:ar.errorUpdateCount,isFetched:ar.dataUpdateCount>0||ar.errorUpdateCount>0,isFetchedAfterMount:ar.dataUpdateCount>ir.dataUpdateCount||ar.errorUpdateCount>ir.errorUpdateCount,isFetching:_r,isRefetching:_r&&!wr,isLoadingError:jr&&ar.dataUpdatedAt===0,isPaused:dr==="paused",isPlaceholderData:pr,isPreviousData:mr,isRefetchError:jr&&ar.dataUpdatedAt!==0,isStale:isStale(s,a),refetch:this.refetch,remove:this.remove}}updateResult(s){const a=this.currentResult,rt=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,shallowEqualObjects(rt,a))return;this.currentResult=rt;const ot={cache:!0},tr=()=>{if(!a)return!0;const{notifyOnChangeProps:Ut}=this.options,rr=typeof Ut=="function"?Ut():Ut;if(rr==="all"||!rr&&!this.trackedProps.size)return!0;const nr=new Set(rr??this.trackedProps);return this.options.useErrorBoundary&&nr.add("error"),Object.keys(this.currentResult).some(ir=>{const sr=ir;return this.currentResult[sr]!==a[sr]&&nr.has(sr)})};(s==null?void 0:s.listeners)!==!1&&tr()&&(ot.listeners=!0),this.notify({...ot,...s})}updateQuery(){const s=this.client.getQueryCache().build(this.client,this.options);if(s===this.currentQuery)return;const a=this.currentQuery;this.currentQuery=s,this.currentQueryInitialState=s.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(a==null||a.removeObserver(this),s.addObserver(this))}onQueryUpdate(s){const a={};s.type==="success"?a.onSuccess=!s.manual:s.type==="error"&&!isCancelledError(s.error)&&(a.onError=!0),this.updateResult(a),this.hasListeners()&&this.updateTimers()}notify(s){notifyManager.batch(()=>{if(s.onSuccess){var a,rt,ot,tr;(a=(rt=this.options).onSuccess)==null||a.call(rt,this.currentResult.data),(ot=(tr=this.options).onSettled)==null||ot.call(tr,this.currentResult.data,null)}else if(s.onError){var Ut,rr,nr,ir;(Ut=(rr=this.options).onError)==null||Ut.call(rr,this.currentResult.error),(nr=(ir=this.options).onSettled)==null||nr.call(ir,void 0,this.currentResult.error)}s.listeners&&this.listeners.forEach(({listener:sr})=>{sr(this.currentResult)}),s.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function shouldLoadOnMount(o,s){return s.enabled!==!1&&!o.state.dataUpdatedAt&&!(o.state.status==="error"&&s.retryOnMount===!1)}function shouldFetchOnMount(o,s){return shouldLoadOnMount(o,s)||o.state.dataUpdatedAt>0&&shouldFetchOn(o,s,s.refetchOnMount)}function shouldFetchOn(o,s,a){if(s.enabled!==!1){const rt=typeof a=="function"?a(o):a;return rt==="always"||rt!==!1&&isStale(o,s)}return!1}function shouldFetchOptionally(o,s,a,rt){return a.enabled!==!1&&(o!==s||rt.enabled===!1)&&(!a.suspense||o.state.status!=="error")&&isStale(o,a)}function isStale(o,s){return o.isStaleByTime(s.staleTime)}function shouldAssignObserverCurrentProperties(o,s,a){return a.keepPreviousData?!1:a.placeholderData!==void 0?s.isPlaceholderData:!shallowEqualObjects(o.getCurrentResult(),s)}class InfiniteQueryObserver extends QueryObserver{constructor(s,a){super(s,a)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(s,a){super.setOptions({...s,behavior:infiniteQueryBehavior()},a)}getOptimisticResult(s){return s.behavior=infiniteQueryBehavior(),super.getOptimisticResult(s)}fetchNextPage({pageParam:s,...a}={}){return this.fetch({...a,meta:{fetchMore:{direction:"forward",pageParam:s}}})}fetchPreviousPage({pageParam:s,...a}={}){return this.fetch({...a,meta:{fetchMore:{direction:"backward",pageParam:s}}})}createResult(s,a){var rt,ot,tr,Ut,rr,nr;const{state:ir}=s,sr=super.createResult(s,a),{isFetching:ar,isRefetching:cr}=sr,ur=ar&&((rt=ir.fetchMeta)==null||(ot=rt.fetchMore)==null?void 0:ot.direction)==="forward",lr=ar&&((tr=ir.fetchMeta)==null||(Ut=tr.fetchMore)==null?void 0:Ut.direction)==="backward";return{...sr,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:hasNextPage(a,(rr=ir.data)==null?void 0:rr.pages),hasPreviousPage:hasPreviousPage(a,(nr=ir.data)==null?void 0:nr.pages),isFetchingNextPage:ur,isFetchingPreviousPage:lr,isRefetching:cr&&!ur&&!lr}}}let MutationObserver$1=class extends Subscribable{constructor(s,a){super(),this.client=s,this.setOptions(a),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){var a;const rt=this.options;this.options=this.client.defaultMutationOptions(s),shallowEqualObjects(rt,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(a=this.currentMutation)==null||a.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.currentMutation)==null||s.removeObserver(this)}}onMutationUpdate(s){this.updateResult();const a={listeners:!0};s.type==="success"?a.onSuccess=!0:s.type==="error"&&(a.onError=!0),this.notify(a)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(s,a){return this.mutateOptions=a,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof s<"u"?s:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const s=this.currentMutation?this.currentMutation.state:getDefaultState(),a={...s,isLoading:s.status==="loading",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=a}notify(s){notifyManager.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(s.onSuccess){var a,rt,ot,tr;(a=(rt=this.mutateOptions).onSuccess)==null||a.call(rt,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(ot=(tr=this.mutateOptions).onSettled)==null||ot.call(tr,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(s.onError){var Ut,rr,nr,ir;(Ut=(rr=this.mutateOptions).onError)==null||Ut.call(rr,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(nr=(ir=this.mutateOptions).onSettled)==null||nr.call(ir,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}s.listeners&&this.listeners.forEach(({listener:sr})=>{sr(this.currentResult)})})}};function dehydrateMutation(o){return{mutationKey:o.options.mutationKey,state:o.state}}function dehydrateQuery(o){return{state:o.state,queryKey:o.queryKey,queryHash:o.queryHash}}function defaultShouldDehydrateMutation(o){return o.state.isPaused}function defaultShouldDehydrateQuery(o){return o.state.status==="success"}function dehydrate(o,s={}){const a=[],rt=[];if(s.dehydrateMutations!==!1){const ot=s.shouldDehydrateMutation||defaultShouldDehydrateMutation;o.getMutationCache().getAll().forEach(tr=>{ot(tr)&&a.push(dehydrateMutation(tr))})}if(s.dehydrateQueries!==!1){const ot=s.shouldDehydrateQuery||defaultShouldDehydrateQuery;o.getQueryCache().getAll().forEach(tr=>{ot(tr)&&rt.push(dehydrateQuery(tr))})}return{mutations:a,queries:rt}}function hydrate(o,s,a){if(typeof s!="object"||s===null)return;const rt=o.getMutationCache(),ot=o.getQueryCache(),tr=s.mutations||[],Ut=s.queries||[];tr.forEach(rr=>{var nr;rt.build(o,{...a==null||(nr=a.defaultOptions)==null?void 0:nr.mutations,mutationKey:rr.mutationKey},rr.state)}),Ut.forEach(({queryKey:rr,state:nr,queryHash:ir})=>{var sr;const ar=ot.get(ir);if(ar){if(ar.state.dataUpdatedAt"u"&&documentAll$2!==void 0,documentAll_1={all:documentAll$2,IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$a=$documentAll$1.IS_HTMLDDA?function(o){return typeof o=="function"||o===documentAll$1}:function(o){return typeof o=="function"},isCallable$9=isCallable$a,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$6=$documentAll.IS_HTMLDDA?function(o){return typeof o=="object"?o!==null:isCallable$9(o)||o===documentAll}:function(o){return typeof o=="object"?o!==null:isCallable$9(o)},global$b=global$c,isCallable$8=isCallable$a,aFunction=function(o){return isCallable$8(o)?o:void 0},getBuiltIn$2=function(o,s){return arguments.length<2?aFunction(global$b[o]):global$b[o]&&global$b[o][s]},uncurryThis$7=functionUncurryThis,objectIsPrototypeOf=uncurryThis$7({}.isPrototypeOf),engineUserAgent=typeof navigator<"u"&&String(navigator.userAgent)||"",global$a=global$c,userAgent=engineUserAgent,process$1=global$a.process,Deno=global$a.Deno,versions=process$1&&process$1.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version$5;v8&&(match=v8.split("."),version$5=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version$5&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version$5=+match[1])));var engineV8Version=version$5,V8_VERSION=engineV8Version,fails$5=fails$9,global$9=global$c,$String$3=global$9.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$5(function(){var o=Symbol("symbol detection");return!$String$3(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",getBuiltIn$1=getBuiltIn$2,isCallable$7=isCallable$a,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$1=Object,isSymbol$2=USE_SYMBOL_AS_UID$1?function(o){return typeof o=="symbol"}:function(o){var s=getBuiltIn$1("Symbol");return isCallable$7(s)&&isPrototypeOf(s.prototype,$Object$1(o))},$String$2=String,tryToString$1=function(o){try{return $String$2(o)}catch{return"Object"}},isCallable$6=isCallable$a,tryToString=tryToString$1,$TypeError$4=TypeError,aCallable$1=function(o){if(isCallable$6(o))return o;throw new $TypeError$4(tryToString(o)+" is not a function")},aCallable=aCallable$1,isNullOrUndefined=isNullOrUndefined$2,getMethod$1=function(o,s){var a=o[s];return isNullOrUndefined(a)?void 0:aCallable(a)},call$5=functionCall,isCallable$5=isCallable$a,isObject$5=isObject$6,$TypeError$3=TypeError,ordinaryToPrimitive$1=function(o,s){var a,rt;if(s==="string"&&isCallable$5(a=o.toString)&&!isObject$5(rt=call$5(a,o))||isCallable$5(a=o.valueOf)&&!isObject$5(rt=call$5(a,o))||s!=="string"&&isCallable$5(a=o.toString)&&!isObject$5(rt=call$5(a,o)))return rt;throw new $TypeError$3("Can't convert object to primitive value")},shared$3={exports:{}},global$8=global$c,defineProperty$2=Object.defineProperty,defineGlobalProperty$3=function(o,s){try{defineProperty$2(global$8,o,{value:s,configurable:!0,writable:!0})}catch{global$8[o]=s}return s},global$7=global$c,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$7[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore;(shared$3.exports=function(o,s){return store$2[o]||(store$2[o]=s!==void 0?s:{})})("versions",[]).push({version:"3.33.3",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedExports=shared$3.exports,requireObjectCoercible=requireObjectCoercible$2,$Object=Object,toObject$2=function(o){return $Object(requireObjectCoercible(o))},uncurryThis$6=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty=uncurryThis$6({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function o(s,a){return hasOwnProperty(toObject$1(s),a)},uncurryThis$5=functionUncurryThis,id$1=0,postfix=Math.random(),toString$2=uncurryThis$5(1 .toString),uid$5=function(o){return"Symbol("+(o===void 0?"":o)+")_"+toString$2(++id$1+postfix,36)},global$6=global$c,shared$2=sharedExports,hasOwn$6=hasOwnProperty_1,uid$4=uid$5,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$6.Symbol,WellKnownSymbolsStore=shared$2("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$4,wellKnownSymbol$1=function(o){return hasOwn$6(WellKnownSymbolsStore,o)||(WellKnownSymbolsStore[o]=NATIVE_SYMBOL&&hasOwn$6(Symbol$1,o)?Symbol$1[o]:createWellKnownSymbol("Symbol."+o)),WellKnownSymbolsStore[o]},call$4=functionCall,isObject$4=isObject$6,isSymbol$1=isSymbol$2,getMethod=getMethod$1,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol=wellKnownSymbol$1,$TypeError$2=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive$1=function(o,s){if(!isObject$4(o)||isSymbol$1(o))return o;var a=getMethod(o,TO_PRIMITIVE),rt;if(a){if(s===void 0&&(s="default"),rt=call$4(a,o,s),!isObject$4(rt)||isSymbol$1(rt))return rt;throw new $TypeError$2("Can't convert object to primitive value")}return s===void 0&&(s="number"),ordinaryToPrimitive(o,s)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(o){var s=toPrimitive(o,"string");return isSymbol(s)?s:s+""},global$5=global$c,isObject$3=isObject$6,document$1=global$5.document,EXISTS$1=isObject$3(document$1)&&isObject$3(document$1.createElement),documentCreateElement=function(o){return EXISTS$1?document$1.createElement(o):{}},DESCRIPTORS$7=descriptors,fails$4=fails$9,createElement=documentCreateElement,ie8DomDefine=!DESCRIPTORS$7&&!fails$4(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7}),DESCRIPTORS$6=descriptors,call$3=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$2=toIndexedObject$3,toPropertyKey$1=toPropertyKey$2,hasOwn$5=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function o(s,a){if(s=toIndexedObject$2(s),a=toPropertyKey$1(a),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(s,a)}catch{}if(hasOwn$5(s,a))return createPropertyDescriptor$1(!call$3(propertyIsEnumerableModule$1.f,s,a),s[a])};var objectDefineProperty={},DESCRIPTORS$5=descriptors,fails$3=fails$9,v8PrototypeDefineBug=DESCRIPTORS$5&&fails$3(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),isObject$2=isObject$6,$String$1=String,$TypeError$1=TypeError,anObject$2=function(o){if(isObject$2(o))return o;throw new $TypeError$1($String$1(o)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,anObject$1=anObject$2,toPropertyKey=toPropertyKey$2,$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG?function o(s,a,rt){if(anObject$1(s),a=toPropertyKey(a),anObject$1(rt),typeof s=="function"&&a==="prototype"&&"value"in rt&&WRITABLE in rt&&!rt[WRITABLE]){var ot=$getOwnPropertyDescriptor(s,a);ot&&ot[WRITABLE]&&(s[a]=rt.value,rt={configurable:CONFIGURABLE$1 in rt?rt[CONFIGURABLE$1]:ot[CONFIGURABLE$1],enumerable:ENUMERABLE in rt?rt[ENUMERABLE]:ot[ENUMERABLE],writable:!1})}return $defineProperty(s,a,rt)}:$defineProperty:function o(s,a,rt){if(anObject$1(s),a=toPropertyKey(a),anObject$1(rt),IE8_DOM_DEFINE)try{return $defineProperty(s,a,rt)}catch{}if("get"in rt||"set"in rt)throw new $TypeError("Accessors not supported");return"value"in rt&&(s[a]=rt.value),s};var DESCRIPTORS$3=descriptors,definePropertyModule$2=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$2=DESCRIPTORS$3?function(o,s,a){return definePropertyModule$2.f(o,s,createPropertyDescriptor(1,a))}:function(o,s,a){return o[s]=a,o},makeBuiltIn$2={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$4=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$4(FunctionPrototype,"name"),PROPER=EXISTS&&(function o(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||DESCRIPTORS$2&&getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS,PROPER,CONFIGURABLE},uncurryThis$4=functionUncurryThis,isCallable$4=isCallable$a,store$1=sharedStore,functionToString=uncurryThis$4(Function.toString);isCallable$4(store$1.inspectSource)||(store$1.inspectSource=function(o){return functionToString(o)});var inspectSource$1=store$1.inspectSource,global$4=global$c,isCallable$3=isCallable$a,WeakMap$2=global$4.WeakMap,weakMapBasicDetection=isCallable$3(WeakMap$2)&&/native code/.test(String(WeakMap$2)),shared$1=sharedExports,uid$3=uid$5,keys=shared$1("keys"),sharedKey$1=function(o){return keys[o]||(keys[o]=uid$3(o))},hiddenKeys$3={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$3=global$c,isObject$1=isObject$6,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$3=hasOwnProperty_1,shared=sharedStore,sharedKey=sharedKey$1,hiddenKeys$2=hiddenKeys$3,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=global$3.TypeError,WeakMap$1=global$3.WeakMap,set,get,has,enforce=function(o){return has(o)?get(o):set(o,{})},getterFor=function(o){return function(s){var a;if(!isObject$1(s)||(a=get(s)).type!==o)throw new TypeError$1("Incompatible receiver, "+o+" required");return a}};if(NATIVE_WEAK_MAP||shared.state){var store=shared.state||(shared.state=new WeakMap$1);store.get=store.get,store.has=store.has,store.set=store.set,set=function(o,s){if(store.has(o))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return s.facade=o,store.set(o,s),s},get=function(o){return store.get(o)||{}},has=function(o){return store.has(o)}}else{var STATE=sharedKey("state");hiddenKeys$2[STATE]=!0,set=function(o,s){if(hasOwn$3(o,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return s.facade=o,createNonEnumerableProperty$1(o,STATE,s),s},get=function(o){return hasOwn$3(o,STATE)?o[STATE]:{}},has=function(o){return hasOwn$3(o,STATE)}}var internalState={set,get,has,enforce,getterFor},uncurryThis$3=functionUncurryThis,fails$2=fails$9,isCallable$2=isCallable$a,hasOwn$2=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource=inspectSource$1,InternalStateModule=internalState,enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty$1=Object.defineProperty,stringSlice=uncurryThis$3("".slice),replace=uncurryThis$3("".replace),join=uncurryThis$3([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$2(function(){return defineProperty$1(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(o,s,a){stringSlice($String(s),0,7)==="Symbol("&&(s="["+replace($String(s),/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(s="get "+s),a&&a.setter&&(s="set "+s),(!hasOwn$2(o,"name")||CONFIGURABLE_FUNCTION_NAME&&o.name!==s)&&(DESCRIPTORS$1?defineProperty$1(o,"name",{value:s,configurable:!0}):o.name=s),CONFIGURABLE_LENGTH&&a&&hasOwn$2(a,"arity")&&o.length!==a.arity&&defineProperty$1(o,"length",{value:a.arity});try{a&&hasOwn$2(a,"constructor")&&a.constructor?DESCRIPTORS$1&&defineProperty$1(o,"prototype",{writable:!1}):o.prototype&&(o.prototype=void 0)}catch{}var rt=enforceInternalState(o);return hasOwn$2(rt,"source")||(rt.source=join(TEMPLATE,typeof s=="string"?s:"")),o};Function.prototype.toString=makeBuiltIn$1(function o(){return isCallable$2(this)&&getInternalState(this).source||inspectSource(this)},"toString");var makeBuiltInExports=makeBuiltIn$2.exports,isCallable$1=isCallable$a,definePropertyModule$1=objectDefineProperty,makeBuiltIn=makeBuiltInExports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$1=function(o,s,a,rt){rt||(rt={});var ot=rt.enumerable,tr=rt.name!==void 0?rt.name:s;if(isCallable$1(a)&&makeBuiltIn(a,tr,rt),rt.global)ot?o[s]=a:defineGlobalProperty$1(s,a);else{try{rt.unsafe?o[s]&&(ot=!0):delete o[s]}catch{}ot?o[s]=a:definePropertyModule$1.f(o,s,{value:a,enumerable:!1,configurable:!rt.nonConfigurable,writable:!rt.nonWritable})}return o},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function o(s){var a=+s;return(a>0?floor:ceil)(a)},trunc=mathTrunc,toIntegerOrInfinity$2=function(o){var s=+o;return s!==s||s===0?0:trunc(s)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(o,s){var a=toIntegerOrInfinity$1(o);return a<0?max(a+s,0):min$1(a,s)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(o){return o>0?min(toIntegerOrInfinity(o),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$1=function(o){return toLength(o.length)},toIndexedObject$1=toIndexedObject$3,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod=function(o){return function(s,a,rt){var ot=toIndexedObject$1(s),tr=lengthOfArrayLike(ot),Ut=toAbsoluteIndex(rt,tr),rr;if(o&&a!==a){for(;tr>Ut;)if(rr=ot[Ut++],rr!==rr)return!0}else for(;tr>Ut;Ut++)if((o||Ut in ot)&&ot[Ut]===a)return o||Ut||0;return!o&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$2=functionUncurryThis,hasOwn$1=hasOwnProperty_1,toIndexedObject=toIndexedObject$3,indexOf=arrayIncludes.indexOf,hiddenKeys$1=hiddenKeys$3,push=uncurryThis$2([].push),objectKeysInternal=function(o,s){var a=toIndexedObject(o),rt=0,ot=[],tr;for(tr in a)!hasOwn$1(hiddenKeys$1,tr)&&hasOwn$1(a,tr)&&push(ot,tr);for(;s.length>rt;)hasOwn$1(a,tr=s[rt++])&&(~indexOf(ot,tr)||push(ot,tr));return ot},enumBugKeys$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$1=enumBugKeys$2,hiddenKeys=enumBugKeys$1.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function o(s){return internalObjectKeys$1(s,hiddenKeys)};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var getBuiltIn=getBuiltIn$2,uncurryThis$1=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject=anObject$2,concat$5=uncurryThis$1([].concat),ownKeys$5=getBuiltIn("Reflect","ownKeys")||function o(s){var a=getOwnPropertyNamesModule.f(anObject(s)),rt=getOwnPropertySymbolsModule$1.f;return rt?concat$5(a,rt(s)):a},hasOwn=hasOwnProperty_1,ownKeys$4=ownKeys$5,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$1=function(o,s,a){for(var rt=ownKeys$4(s),ot=definePropertyModule.f,tr=getOwnPropertyDescriptorModule.f,Ut=0;Uttr;)for(var nr=IndexedObject(arguments[tr++]),ir=Ut?concat$4(objectKeys(nr),Ut(nr)):objectKeys(nr),sr=ir.length,ar=0,cr;sr>ar;)cr=ir[ar++],(!DESCRIPTORS||call$2(rr,nr,cr))&&(rt[cr]=nr[cr]);return rt}:$assign,$$1=_export,assign$6=objectAssign;$$1({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$6},{assign:assign$6});var global$1=global$c,path$1=global$1,path=path$1,assign$5=path.Object.assign,parent$2=assign$5,assign$4=parent$2,parent$1=assign$4,assign$3=parent$1,parent=assign$3,assign$2=parent,assign=assign$2;const assign$1=getDefaultExportFromCjs(assign);function _extends(){return _extends=Object.assign||function(o){for(var s=1;s=0)&&(a[ot]=o[ot]);return a}var theme={plain:{color:"#C5C8C6",backgroundColor:"#1D1F21"},styles:[{types:["prolog","comment","doctype","cdata"],style:{color:"hsl(30, 20%, 50%)"}},{types:["property","tag","boolean","number","constant","symbol"],style:{color:"hsl(350, 40%, 70%)"}},{types:["attr-name","string","char","builtin","insterted"],style:{color:"hsl(75, 70%, 60%)"}},{types:["operator","entity","url","string","variable","language-css"],style:{color:"hsl(40, 90%, 60%)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["regex","important"],style:{color:"#e90"}},{types:["atrule","attr-value","keyword"],style:{color:"hsl(350, 40%, 70%)"}},{types:["punctuation","symbol"],style:{opacity:"0.7"}}]},_excluded$1=["style","theme","onChange"];function ownKeys$3(o,s){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(o);s&&(rt=rt.filter(function(ot){return Object.getOwnPropertyDescriptor(o,ot).enumerable})),a.push.apply(a,rt)}return a}function _objectSpread$3(o){for(var s=1;s"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(o,s,a){return _isNativeReflectConstruct()?_construct=Reflect.construct:_construct=function(ot,tr,Ut){var rr=[null];rr.push.apply(rr,tr);var nr=Function.bind.apply(ot,rr),ir=new nr;return Ut&&_setPrototypeOf(ir,Ut.prototype),ir},_construct.apply(null,arguments)}var evalCode=function o(s,a){var rt=Object.keys(a),ot=rt.map(function(Ut){return a[Ut]}),tr=_construct(Function,["_poly","React"].concat(rt,[s]));return tr.apply(void 0,[_poly,React$1].concat(ot))},evalCode$1=evalCode;function ownKeys$1(o,s){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(o);s&&(rt=rt.filter(function(ot){return Object.getOwnPropertyDescriptor(o,ot).enumerable})),a.push.apply(a,rt)}return a}function _objectSpread$1(o){for(var s=1;s"u"?rt(new SyntaxError("`render` must be called with valid JSX.")):a(errorBoundary$1(ar,rt))};if(!/render\s*\(/.test(tr))return rt(new SyntaxError("No-Inline evaluations must call `render`."));evalCode$1(transform(tr,nr),_objectSpread$1(_objectSpread$1({},rr),{},{render:ir}))};function ownKeys(o,s){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(o);s&&(rt=rt.filter(function(ot){return Object.getOwnPropertyDescriptor(o,ot).enumerable})),a.push.apply(a,rt)}return a}function _objectSpread(o){for(var s=1;s{try{o.setItem(s,rt(rr));return}catch(nr){return nr}};return{persistClient:throttle(rr=>{let nr=rr,ir=Ut(nr),sr=0;for(;ir&&nr;)sr++,nr=tr==null?void 0:tr({persistedClient:nr,error:ir,errorCount:sr}),nr&&(ir=Ut(nr))},a),restoreClient:()=>{const rr=o.getItem(s);if(rr)return ot(rr)},removeClient:()=>{o.removeItem(s)}}}return{persistClient:noop$2,restoreClient:()=>{},removeClient:noop$2}}function throttle(o,s=100){let a=null,rt;return function(...ot){rt=ot,a===null&&(a=setTimeout(()=>{o(...rt),a=null},s))}}function noop$2(){}class Subscribable{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){const a={listener:s};return this.listeners.add(a),this.onSubscribe(),()=>{this.listeners.delete(a),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const isServer=typeof window>"u"||"Deno"in window;function noop$1(){}function functionalUpdate(o,s){return typeof o=="function"?o(s):o}function isValidTimeout(o){return typeof o=="number"&&o>=0&&o!==1/0}function timeUntilStale(o,s){return Math.max(o+(s||0)-Date.now(),0)}function parseQueryArgs$1(o,s,a){return isQueryKey$1(o)?typeof s=="function"?{...a,queryKey:o,queryFn:s}:{...s,queryKey:o}:o}function parseMutationArgs(o,s,a){return isQueryKey$1(o)?typeof s=="function"?{...a,mutationKey:o,mutationFn:s}:{...s,mutationKey:o}:typeof o=="function"?{...s,mutationFn:o}:{...o}}function parseFilterArgs(o,s,a){return isQueryKey$1(o)?[{...s,queryKey:o},a]:[o||{},s]}function matchQuery(o,s){const{type:a="all",exact:rt,fetchStatus:ot,predicate:tr,queryKey:Ut,stale:rr}=o;if(isQueryKey$1(Ut)){if(rt){if(s.queryHash!==hashQueryKeyByOptions(Ut,s.options))return!1}else if(!partialMatchKey(s.queryKey,Ut))return!1}if(a!=="all"){const nr=s.isActive();if(a==="active"&&!nr||a==="inactive"&&nr)return!1}return!(typeof rr=="boolean"&&s.isStale()!==rr||typeof ot<"u"&&ot!==s.state.fetchStatus||tr&&!tr(s))}function matchMutation(o,s){const{exact:a,fetching:rt,predicate:ot,mutationKey:tr}=o;if(isQueryKey$1(tr)){if(!s.options.mutationKey)return!1;if(a){if(hashQueryKey(s.options.mutationKey)!==hashQueryKey(tr))return!1}else if(!partialMatchKey(s.options.mutationKey,tr))return!1}return!(typeof rt=="boolean"&&s.state.status==="loading"!==rt||ot&&!ot(s))}function hashQueryKeyByOptions(o,s){return((s==null?void 0:s.queryKeyHashFn)||hashQueryKey)(o)}function hashQueryKey(o){return JSON.stringify(o,(s,a)=>isPlainObject$1(a)?Object.keys(a).sort().reduce((rt,ot)=>(rt[ot]=a[ot],rt),{}):a)}function partialMatchKey(o,s){return partialDeepEqual(o,s)}function partialDeepEqual(o,s){return o===s?!0:typeof o!=typeof s?!1:o&&s&&typeof o=="object"&&typeof s=="object"?!Object.keys(s).some(a=>!partialDeepEqual(o[a],s[a])):!1}function replaceEqualDeep(o,s){if(o===s)return o;const a=isPlainArray(o)&&isPlainArray(s);if(a||isPlainObject$1(o)&&isPlainObject$1(s)){const rt=a?o.length:Object.keys(o).length,ot=a?s:Object.keys(s),tr=ot.length,Ut=a?[]:{};let rr=0;for(let nr=0;nr"u")return!0;const a=s.prototype;return!(!hasObjectPrototype$1(a)||!a.hasOwnProperty("isPrototypeOf"))}function hasObjectPrototype$1(o){return Object.prototype.toString.call(o)==="[object Object]"}function isQueryKey$1(o){return Array.isArray(o)}function sleep$1(o){return new Promise(s=>{setTimeout(s,o)})}function scheduleMicrotask(o){sleep$1(0).then(o)}function getAbortController(){if(typeof AbortController=="function")return new AbortController}function replaceData(o,s,a){return a.isDataEqual!=null&&a.isDataEqual(o,s)?o:typeof a.structuralSharing=="function"?a.structuralSharing(o,s):a.structuralSharing!==!1?replaceEqualDeep(o,s):s}class FocusManager extends Subscribable{constructor(){super(),this.setup=s=>{if(!isServer&&window.addEventListener){const a=()=>s();return window.addEventListener("visibilitychange",a,!1),window.addEventListener("focus",a,!1),()=>{window.removeEventListener("visibilitychange",a),window.removeEventListener("focus",a)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var a;this.setup=s,(a=this.cleanup)==null||a.call(this),this.cleanup=s(rt=>{typeof rt=="boolean"?this.setFocused(rt):this.onFocus()})}setFocused(s){this.focused!==s&&(this.focused=s,this.onFocus())}onFocus(){this.listeners.forEach(({listener:s})=>{s()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const focusManager=new FocusManager,onlineEvents=["online","offline"];class OnlineManager extends Subscribable{constructor(){super(),this.setup=s=>{if(!isServer&&window.addEventListener){const a=()=>s();return onlineEvents.forEach(rt=>{window.addEventListener(rt,a,!1)}),()=>{onlineEvents.forEach(rt=>{window.removeEventListener(rt,a)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var a;this.setup=s,(a=this.cleanup)==null||a.call(this),this.cleanup=s(rt=>{typeof rt=="boolean"?this.setOnline(rt):this.onOnline()})}setOnline(s){this.online!==s&&(this.online=s,this.onOnline())}onOnline(){this.listeners.forEach(({listener:s})=>{s()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const onlineManager=new OnlineManager;function defaultRetryDelay(o){return Math.min(1e3*2**o,3e4)}function canFetch(o){return(o??"online")==="online"?onlineManager.isOnline():!0}class CancelledError{constructor(s){this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}}function isCancelledError(o){return o instanceof CancelledError}function createRetryer(o){let s=!1,a=0,rt=!1,ot,tr,Ut;const rr=new Promise((vr,mr)=>{tr=vr,Ut=mr}),nr=vr=>{rt||(ur(new CancelledError(vr)),o.abort==null||o.abort())},ir=()=>{s=!0},sr=()=>{s=!1},ar=()=>!focusManager.isFocused()||o.networkMode!=="always"&&!onlineManager.isOnline(),cr=vr=>{rt||(rt=!0,o.onSuccess==null||o.onSuccess(vr),ot==null||ot(),tr(vr))},ur=vr=>{rt||(rt=!0,o.onError==null||o.onError(vr),ot==null||ot(),Ut(vr))},lr=()=>new Promise(vr=>{ot=mr=>{const pr=rt||!ar();return pr&&vr(mr),pr},o.onPause==null||o.onPause()}).then(()=>{ot=void 0,rt||o.onContinue==null||o.onContinue()}),dr=()=>{if(rt)return;let vr;try{vr=o.fn()}catch(mr){vr=Promise.reject(mr)}Promise.resolve(vr).then(cr).catch(mr=>{var pr,br;if(rt)return;const _r=(pr=o.retry)!=null?pr:3,wr=(br=o.retryDelay)!=null?br:defaultRetryDelay,jr=typeof wr=="function"?wr(a,mr):wr,yr=_r===!0||typeof _r=="number"&&a<_r||typeof _r=="function"&&_r(a,mr);if(s||!yr){ur(mr);return}a++,o.onFail==null||o.onFail(a,mr),sleep$1(jr).then(()=>{if(ar())return lr()}).then(()=>{s?ur(mr):dr()})})};return canFetch(o.networkMode)?dr():lr().then(dr),{promise:rr,cancel:nr,continue:()=>(ot==null?void 0:ot())?rr:Promise.resolve(),cancelRetry:ir,continueRetry:sr}}const defaultLogger=console;function createNotifyManager(){let o=[],s=0,a=sr=>{sr()},rt=sr=>{sr()};const ot=sr=>{let ar;s++;try{ar=sr()}finally{s--,s||rr()}return ar},tr=sr=>{s?o.push(sr):scheduleMicrotask(()=>{a(sr)})},Ut=sr=>(...ar)=>{tr(()=>{sr(...ar)})},rr=()=>{const sr=o;o=[],sr.length&&scheduleMicrotask(()=>{rt(()=>{sr.forEach(ar=>{a(ar)})})})};return{batch:ot,batchCalls:Ut,schedule:tr,setNotifyFunction:sr=>{a=sr},setBatchNotifyFunction:sr=>{rt=sr}}}const notifyManager=createNotifyManager();class Removable{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),isValidTimeout(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(s){this.cacheTime=Math.max(this.cacheTime||0,s??(isServer?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Query extends Removable{constructor(s){super(),this.abortSignalConsumed=!1,this.defaultOptions=s.defaultOptions,this.setOptions(s.options),this.observers=[],this.cache=s.cache,this.logger=s.logger||defaultLogger,this.queryKey=s.queryKey,this.queryHash=s.queryHash,this.initialState=s.state||getDefaultState$1(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(s,a){const rt=replaceData(this.state.data,s,this.options);return this.dispatch({data:rt,type:"success",dataUpdatedAt:a==null?void 0:a.updatedAt,manual:a==null?void 0:a.manual}),rt}setState(s,a){this.dispatch({type:"setState",state:s,setStateOptions:a})}cancel(s){var a;const rt=this.promise;return(a=this.retryer)==null||a.cancel(s),rt?rt.then(noop$1).catch(noop$1):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(s=>s.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(s=>s.getCurrentResult().isStale)}isStaleByTime(s=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!timeUntilStale(this.state.dataUpdatedAt,s)}onFocus(){var s;const a=this.observers.find(rt=>rt.shouldFetchOnWindowFocus());a&&a.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}onOnline(){var s;const a=this.observers.find(rt=>rt.shouldFetchOnReconnect());a&&a.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:s}))}removeObserver(s){this.observers.includes(s)&&(this.observers=this.observers.filter(a=>a!==s),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:s}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(s,a){var rt,ot;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&a!=null&&a.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var tr;return(tr=this.retryer)==null||tr.continueRetry(),this.promise}}if(s&&this.setOptions(s),!this.options.queryFn){const ur=this.observers.find(lr=>lr.options.queryFn);ur&&this.setOptions(ur.options)}const Ut=getAbortController(),rr={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},nr=ur=>{Object.defineProperty(ur,"signal",{enumerable:!0,get:()=>{if(Ut)return this.abortSignalConsumed=!0,Ut.signal}})};nr(rr);const ir=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(rr)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),sr={fetchOptions:a,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:ir};if(nr(sr),(rt=this.options.behavior)==null||rt.onFetch(sr),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((ot=sr.fetchOptions)==null?void 0:ot.meta)){var ar;this.dispatch({type:"fetch",meta:(ar=sr.fetchOptions)==null?void 0:ar.meta})}const cr=ur=>{if(isCancelledError(ur)&&ur.silent||this.dispatch({type:"error",error:ur}),!isCancelledError(ur)){var lr,dr,vr,mr;(lr=(dr=this.cache.config).onError)==null||lr.call(dr,ur,this),(vr=(mr=this.cache.config).onSettled)==null||vr.call(mr,this.state.data,ur,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=createRetryer({fn:sr.fetchFn,abort:Ut==null?void 0:Ut.abort.bind(Ut),onSuccess:ur=>{var lr,dr,vr,mr;if(typeof ur>"u"){cr(new Error(this.queryHash+" data is undefined"));return}this.setData(ur),(lr=(dr=this.cache.config).onSuccess)==null||lr.call(dr,ur,this),(vr=(mr=this.cache.config).onSettled)==null||vr.call(mr,ur,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:cr,onFail:(ur,lr)=>{this.dispatch({type:"failed",failureCount:ur,error:lr})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:sr.options.retry,retryDelay:sr.options.retryDelay,networkMode:sr.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(s){const a=rt=>{var ot,tr;switch(s.type){case"failed":return{...rt,fetchFailureCount:s.failureCount,fetchFailureReason:s.error};case"pause":return{...rt,fetchStatus:"paused"};case"continue":return{...rt,fetchStatus:"fetching"};case"fetch":return{...rt,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(ot=s.meta)!=null?ot:null,fetchStatus:canFetch(this.options.networkMode)?"fetching":"paused",...!rt.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...rt,data:s.data,dataUpdateCount:rt.dataUpdateCount+1,dataUpdatedAt:(tr=s.dataUpdatedAt)!=null?tr:Date.now(),error:null,isInvalidated:!1,status:"success",...!s.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const Ut=s.error;return isCancelledError(Ut)&&Ut.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...rt,error:Ut,errorUpdateCount:rt.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:rt.fetchFailureCount+1,fetchFailureReason:Ut,fetchStatus:"idle",status:"error"};case"invalidate":return{...rt,isInvalidated:!0};case"setState":return{...rt,...s.state}}};this.state=a(this.state),notifyManager.batch(()=>{this.observers.forEach(rt=>{rt.onQueryUpdate(s)}),this.cache.notify({query:this,type:"updated",action:s})})}}function getDefaultState$1(o){const s=typeof o.initialData=="function"?o.initialData():o.initialData,a=typeof s<"u",rt=a?typeof o.initialDataUpdatedAt=="function"?o.initialDataUpdatedAt():o.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:a?rt??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"loading",fetchStatus:"idle"}}class QueryCache extends Subscribable{constructor(s){super(),this.config=s||{},this.queries=[],this.queriesMap={}}build(s,a,rt){var ot;const tr=a.queryKey,Ut=(ot=a.queryHash)!=null?ot:hashQueryKeyByOptions(tr,a);let rr=this.get(Ut);return rr||(rr=new Query({cache:this,logger:s.getLogger(),queryKey:tr,queryHash:Ut,options:s.defaultQueryOptions(a),state:rt,defaultOptions:s.getQueryDefaults(tr)}),this.add(rr)),rr}add(s){this.queriesMap[s.queryHash]||(this.queriesMap[s.queryHash]=s,this.queries.push(s),this.notify({type:"added",query:s}))}remove(s){const a=this.queriesMap[s.queryHash];a&&(s.destroy(),this.queries=this.queries.filter(rt=>rt!==s),a===s&&delete this.queriesMap[s.queryHash],this.notify({type:"removed",query:s}))}clear(){notifyManager.batch(()=>{this.queries.forEach(s=>{this.remove(s)})})}get(s){return this.queriesMap[s]}getAll(){return this.queries}find(s,a){const[rt]=parseFilterArgs(s,a);return typeof rt.exact>"u"&&(rt.exact=!0),this.queries.find(ot=>matchQuery(rt,ot))}findAll(s,a){const[rt]=parseFilterArgs(s,a);return Object.keys(rt).length>0?this.queries.filter(ot=>matchQuery(rt,ot)):this.queries}notify(s){notifyManager.batch(()=>{this.listeners.forEach(({listener:a})=>{a(s)})})}onFocus(){notifyManager.batch(()=>{this.queries.forEach(s=>{s.onFocus()})})}onOnline(){notifyManager.batch(()=>{this.queries.forEach(s=>{s.onOnline()})})}}class Mutation extends Removable{constructor(s){super(),this.defaultOptions=s.defaultOptions,this.mutationId=s.mutationId,this.mutationCache=s.mutationCache,this.logger=s.logger||defaultLogger,this.observers=[],this.state=s.state||getDefaultState(),this.setOptions(s.options),this.scheduleGc()}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(s){this.dispatch({type:"setState",state:s})}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:s}))}removeObserver(s){this.observers=this.observers.filter(a=>a!==s),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:s})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var s,a;return(s=(a=this.retryer)==null?void 0:a.continue())!=null?s:this.execute()}async execute(){const s=()=>{var yr;return this.retryer=createRetryer({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(Ar,Pr)=>{this.dispatch({type:"failed",failureCount:Ar,error:Pr})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(yr=this.options.retry)!=null?yr:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},a=this.state.status==="loading";try{var rt,ot,tr,Ut,rr,nr,ir,sr;if(!a){var ar,cr,ur,lr;this.dispatch({type:"loading",variables:this.options.variables}),await((ar=(cr=this.mutationCache.config).onMutate)==null?void 0:ar.call(cr,this.state.variables,this));const Ar=await((ur=(lr=this.options).onMutate)==null?void 0:ur.call(lr,this.state.variables));Ar!==this.state.context&&this.dispatch({type:"loading",context:Ar,variables:this.state.variables})}const yr=await s();return await((rt=(ot=this.mutationCache.config).onSuccess)==null?void 0:rt.call(ot,yr,this.state.variables,this.state.context,this)),await((tr=(Ut=this.options).onSuccess)==null?void 0:tr.call(Ut,yr,this.state.variables,this.state.context)),await((rr=(nr=this.mutationCache.config).onSettled)==null?void 0:rr.call(nr,yr,null,this.state.variables,this.state.context,this)),await((ir=(sr=this.options).onSettled)==null?void 0:ir.call(sr,yr,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:yr}),yr}catch(yr){try{var dr,vr,mr,pr,br,_r,wr,jr;throw await((dr=(vr=this.mutationCache.config).onError)==null?void 0:dr.call(vr,yr,this.state.variables,this.state.context,this)),await((mr=(pr=this.options).onError)==null?void 0:mr.call(pr,yr,this.state.variables,this.state.context)),await((br=(_r=this.mutationCache.config).onSettled)==null?void 0:br.call(_r,void 0,yr,this.state.variables,this.state.context,this)),await((wr=(jr=this.options).onSettled)==null?void 0:wr.call(jr,void 0,yr,this.state.variables,this.state.context)),yr}finally{this.dispatch({type:"error",error:yr})}}}dispatch(s){const a=rt=>{switch(s.type){case"failed":return{...rt,failureCount:s.failureCount,failureReason:s.error};case"pause":return{...rt,isPaused:!0};case"continue":return{...rt,isPaused:!1};case"loading":return{...rt,context:s.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!canFetch(this.options.networkMode),status:"loading",variables:s.variables};case"success":return{...rt,data:s.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...rt,data:void 0,error:s.error,failureCount:rt.failureCount+1,failureReason:s.error,isPaused:!1,status:"error"};case"setState":return{...rt,...s.state}}};this.state=a(this.state),notifyManager.batch(()=>{this.observers.forEach(rt=>{rt.onMutationUpdate(s)}),this.mutationCache.notify({mutation:this,type:"updated",action:s})})}}function getDefaultState(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class MutationCache extends Subscribable{constructor(s){super(),this.config=s||{},this.mutations=[],this.mutationId=0}build(s,a,rt){const ot=new Mutation({mutationCache:this,logger:s.getLogger(),mutationId:++this.mutationId,options:s.defaultMutationOptions(a),state:rt,defaultOptions:a.mutationKey?s.getMutationDefaults(a.mutationKey):void 0});return this.add(ot),ot}add(s){this.mutations.push(s),this.notify({type:"added",mutation:s})}remove(s){this.mutations=this.mutations.filter(a=>a!==s),this.notify({type:"removed",mutation:s})}clear(){notifyManager.batch(()=>{this.mutations.forEach(s=>{this.remove(s)})})}getAll(){return this.mutations}find(s){return typeof s.exact>"u"&&(s.exact=!0),this.mutations.find(a=>matchMutation(s,a))}findAll(s){return this.mutations.filter(a=>matchMutation(s,a))}notify(s){notifyManager.batch(()=>{this.listeners.forEach(({listener:a})=>{a(s)})})}resumePausedMutations(){var s;return this.resuming=((s=this.resuming)!=null?s:Promise.resolve()).then(()=>{const a=this.mutations.filter(rt=>rt.state.isPaused);return notifyManager.batch(()=>a.reduce((rt,ot)=>rt.then(()=>ot.continue().catch(noop$1)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function infiniteQueryBehavior(){return{onFetch:o=>{o.fetchFn=()=>{var s,a,rt,ot,tr,Ut;const rr=(s=o.fetchOptions)==null||(a=s.meta)==null?void 0:a.refetchPage,nr=(rt=o.fetchOptions)==null||(ot=rt.meta)==null?void 0:ot.fetchMore,ir=nr==null?void 0:nr.pageParam,sr=(nr==null?void 0:nr.direction)==="forward",ar=(nr==null?void 0:nr.direction)==="backward",cr=((tr=o.state.data)==null?void 0:tr.pages)||[],ur=((Ut=o.state.data)==null?void 0:Ut.pageParams)||[];let lr=ur,dr=!1;const vr=jr=>{Object.defineProperty(jr,"signal",{enumerable:!0,get:()=>{var yr;if((yr=o.signal)!=null&&yr.aborted)dr=!0;else{var Ar;(Ar=o.signal)==null||Ar.addEventListener("abort",()=>{dr=!0})}return o.signal}})},mr=o.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+o.options.queryHash+"'")),pr=(jr,yr,Ar,Pr)=>(lr=Pr?[yr,...lr]:[...lr,yr],Pr?[Ar,...jr]:[...jr,Ar]),br=(jr,yr,Ar,Pr)=>{if(dr)return Promise.reject("Cancelled");if(typeof Ar>"u"&&!yr&&jr.length)return Promise.resolve(jr);const Tr={queryKey:o.queryKey,pageParam:Ar,meta:o.options.meta};vr(Tr);const kr=mr(Tr);return Promise.resolve(kr).then(Mr=>pr(jr,Ar,Mr,Pr))};let _r;if(!cr.length)_r=br([]);else if(sr){const jr=typeof ir<"u",yr=jr?ir:getNextPageParam(o.options,cr);_r=br(cr,jr,yr)}else if(ar){const jr=typeof ir<"u",yr=jr?ir:getPreviousPageParam(o.options,cr);_r=br(cr,jr,yr,!0)}else{lr=[];const jr=typeof o.options.getNextPageParam>"u";_r=(rr&&cr[0]?rr(cr[0],0,cr):!0)?br([],jr,ur[0]):Promise.resolve(pr([],ur[0],cr[0]));for(let Ar=1;Ar{if(rr&&cr[Ar]?rr(cr[Ar],Ar,cr):!0){const kr=jr?ur[Ar]:getNextPageParam(o.options,Pr);return br(Pr,jr,kr)}return Promise.resolve(pr(Pr,ur[Ar],cr[Ar]))})}return _r.then(jr=>({pages:jr,pageParams:lr}))}}}}function getNextPageParam(o,s){return o.getNextPageParam==null?void 0:o.getNextPageParam(s[s.length-1],s)}function getPreviousPageParam(o,s){return o.getPreviousPageParam==null?void 0:o.getPreviousPageParam(s[0],s)}function hasNextPage(o,s){if(o.getNextPageParam&&Array.isArray(s)){const a=getNextPageParam(o,s);return typeof a<"u"&&a!==null&&a!==!1}}function hasPreviousPage(o,s){if(o.getPreviousPageParam&&Array.isArray(s)){const a=getPreviousPageParam(o,s);return typeof a<"u"&&a!==null&&a!==!1}}class QueryClient{constructor(s={}){this.queryCache=s.queryCache||new QueryCache,this.mutationCache=s.mutationCache||new MutationCache,this.logger=s.logger||defaultLogger,this.defaultOptions=s.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=focusManager.subscribe(()=>{focusManager.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=onlineManager.subscribe(()=>{onlineManager.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var s,a;this.mountCount--,this.mountCount===0&&((s=this.unsubscribeFocus)==null||s.call(this),this.unsubscribeFocus=void 0,(a=this.unsubscribeOnline)==null||a.call(this),this.unsubscribeOnline=void 0)}isFetching(s,a){const[rt]=parseFilterArgs(s,a);return rt.fetchStatus="fetching",this.queryCache.findAll(rt).length}isMutating(s){return this.mutationCache.findAll({...s,fetching:!0}).length}getQueryData(s,a){var rt;return(rt=this.queryCache.find(s,a))==null?void 0:rt.state.data}ensureQueryData(s,a,rt){const ot=parseQueryArgs$1(s,a,rt),tr=this.getQueryData(ot.queryKey);return tr?Promise.resolve(tr):this.fetchQuery(ot)}getQueriesData(s){return this.getQueryCache().findAll(s).map(({queryKey:a,state:rt})=>{const ot=rt.data;return[a,ot]})}setQueryData(s,a,rt){const ot=this.queryCache.find(s),tr=ot==null?void 0:ot.state.data,Ut=functionalUpdate(a,tr);if(typeof Ut>"u")return;const rr=parseQueryArgs$1(s),nr=this.defaultQueryOptions(rr);return this.queryCache.build(this,nr).setData(Ut,{...rt,manual:!0})}setQueriesData(s,a,rt){return notifyManager.batch(()=>this.getQueryCache().findAll(s).map(({queryKey:ot})=>[ot,this.setQueryData(ot,a,rt)]))}getQueryState(s,a){var rt;return(rt=this.queryCache.find(s,a))==null?void 0:rt.state}removeQueries(s,a){const[rt]=parseFilterArgs(s,a),ot=this.queryCache;notifyManager.batch(()=>{ot.findAll(rt).forEach(tr=>{ot.remove(tr)})})}resetQueries(s,a,rt){const[ot,tr]=parseFilterArgs(s,a,rt),Ut=this.queryCache,rr={type:"active",...ot};return notifyManager.batch(()=>(Ut.findAll(ot).forEach(nr=>{nr.reset()}),this.refetchQueries(rr,tr)))}cancelQueries(s,a,rt){const[ot,tr={}]=parseFilterArgs(s,a,rt);typeof tr.revert>"u"&&(tr.revert=!0);const Ut=notifyManager.batch(()=>this.queryCache.findAll(ot).map(rr=>rr.cancel(tr)));return Promise.all(Ut).then(noop$1).catch(noop$1)}invalidateQueries(s,a,rt){const[ot,tr]=parseFilterArgs(s,a,rt);return notifyManager.batch(()=>{var Ut,rr;if(this.queryCache.findAll(ot).forEach(ir=>{ir.invalidate()}),ot.refetchType==="none")return Promise.resolve();const nr={...ot,type:(Ut=(rr=ot.refetchType)!=null?rr:ot.type)!=null?Ut:"active"};return this.refetchQueries(nr,tr)})}refetchQueries(s,a,rt){const[ot,tr]=parseFilterArgs(s,a,rt),Ut=notifyManager.batch(()=>this.queryCache.findAll(ot).filter(nr=>!nr.isDisabled()).map(nr=>{var ir;return nr.fetch(void 0,{...tr,cancelRefetch:(ir=tr==null?void 0:tr.cancelRefetch)!=null?ir:!0,meta:{refetchPage:ot.refetchPage}})}));let rr=Promise.all(Ut).then(noop$1);return tr!=null&&tr.throwOnError||(rr=rr.catch(noop$1)),rr}fetchQuery(s,a,rt){const ot=parseQueryArgs$1(s,a,rt),tr=this.defaultQueryOptions(ot);typeof tr.retry>"u"&&(tr.retry=!1);const Ut=this.queryCache.build(this,tr);return Ut.isStaleByTime(tr.staleTime)?Ut.fetch(tr):Promise.resolve(Ut.state.data)}prefetchQuery(s,a,rt){return this.fetchQuery(s,a,rt).then(noop$1).catch(noop$1)}fetchInfiniteQuery(s,a,rt){const ot=parseQueryArgs$1(s,a,rt);return ot.behavior=infiniteQueryBehavior(),this.fetchQuery(ot)}prefetchInfiniteQuery(s,a,rt){return this.fetchInfiniteQuery(s,a,rt).then(noop$1).catch(noop$1)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(s){this.defaultOptions=s}setQueryDefaults(s,a){const rt=this.queryDefaults.find(ot=>hashQueryKey(s)===hashQueryKey(ot.queryKey));rt?rt.defaultOptions=a:this.queryDefaults.push({queryKey:s,defaultOptions:a})}getQueryDefaults(s){if(!s)return;const a=this.queryDefaults.find(rt=>partialMatchKey(s,rt.queryKey));return a==null?void 0:a.defaultOptions}setMutationDefaults(s,a){const rt=this.mutationDefaults.find(ot=>hashQueryKey(s)===hashQueryKey(ot.mutationKey));rt?rt.defaultOptions=a:this.mutationDefaults.push({mutationKey:s,defaultOptions:a})}getMutationDefaults(s){if(!s)return;const a=this.mutationDefaults.find(rt=>partialMatchKey(s,rt.mutationKey));return a==null?void 0:a.defaultOptions}defaultQueryOptions(s){if(s!=null&&s._defaulted)return s;const a={...this.defaultOptions.queries,...this.getQueryDefaults(s==null?void 0:s.queryKey),...s,_defaulted:!0};return!a.queryHash&&a.queryKey&&(a.queryHash=hashQueryKeyByOptions(a.queryKey,a)),typeof a.refetchOnReconnect>"u"&&(a.refetchOnReconnect=a.networkMode!=="always"),typeof a.useErrorBoundary>"u"&&(a.useErrorBoundary=!!a.suspense),a}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...this.defaultOptions.mutations,...this.getMutationDefaults(s==null?void 0:s.mutationKey),...s,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class QueryObserver extends Subscribable{constructor(s,a){super(),this.client=s,this.options=a,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(a)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),shouldFetchOnMount(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return shouldFetchOn(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return shouldFetchOn(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(s,a){const rt=this.options,ot=this.currentQuery;if(this.options=this.client.defaultQueryOptions(s),shallowEqualObjects(rt,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=rt.queryKey),this.updateQuery();const tr=this.hasListeners();tr&&shouldFetchOptionally(this.currentQuery,ot,this.options,rt)&&this.executeFetch(),this.updateResult(a),tr&&(this.currentQuery!==ot||this.options.enabled!==rt.enabled||this.options.staleTime!==rt.staleTime)&&this.updateStaleTimeout();const Ut=this.computeRefetchInterval();tr&&(this.currentQuery!==ot||this.options.enabled!==rt.enabled||Ut!==this.currentRefetchInterval)&&this.updateRefetchInterval(Ut)}getOptimisticResult(s){const a=this.client.getQueryCache().build(this.client,s),rt=this.createResult(a,s);return shouldAssignObserverCurrentProperties(this,rt,s)&&(this.currentResult=rt,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),rt}getCurrentResult(){return this.currentResult}trackResult(s){const a={};return Object.keys(s).forEach(rt=>{Object.defineProperty(a,rt,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(rt),s[rt])})}),a}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:s,...a}={}){return this.fetch({...a,meta:{refetchPage:s}})}fetchOptimistic(s){const a=this.client.defaultQueryOptions(s),rt=this.client.getQueryCache().build(this.client,a);return rt.isFetchingOptimistic=!0,rt.fetch().then(()=>this.createResult(rt,a))}fetch(s){var a;return this.executeFetch({...s,cancelRefetch:(a=s.cancelRefetch)!=null?a:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(s){this.updateQuery();let a=this.currentQuery.fetch(this.options,s);return s!=null&&s.throwOnError||(a=a.catch(noop$1)),a}updateStaleTimeout(){if(this.clearStaleTimeout(),isServer||this.currentResult.isStale||!isValidTimeout(this.options.staleTime))return;const a=timeUntilStale(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},a)}computeRefetchInterval(){var s;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(s=this.options.refetchInterval)!=null?s:!1}updateRefetchInterval(s){this.clearRefetchInterval(),this.currentRefetchInterval=s,!(isServer||this.options.enabled===!1||!isValidTimeout(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||focusManager.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(s,a){const rt=this.currentQuery,ot=this.options,tr=this.currentResult,Ut=this.currentResultState,rr=this.currentResultOptions,nr=s!==rt,ir=nr?s.state:this.currentQueryInitialState,sr=nr?this.currentResult:this.previousQueryResult,{state:ar}=s;let{dataUpdatedAt:cr,error:ur,errorUpdatedAt:lr,fetchStatus:dr,status:vr}=ar,mr=!1,pr=!1,br;if(a._optimisticResults){const Ar=this.hasListeners(),Pr=!Ar&&shouldFetchOnMount(s,a),Tr=Ar&&shouldFetchOptionally(s,rt,a,ot);(Pr||Tr)&&(dr=canFetch(s.options.networkMode)?"fetching":"paused",cr||(vr="loading")),a._optimisticResults==="isRestoring"&&(dr="idle")}if(a.keepPreviousData&&!ar.dataUpdatedAt&&sr!=null&&sr.isSuccess&&vr!=="error")br=sr.data,cr=sr.dataUpdatedAt,vr=sr.status,mr=!0;else if(a.select&&typeof ar.data<"u")if(tr&&ar.data===(Ut==null?void 0:Ut.data)&&a.select===this.selectFn)br=this.selectResult;else try{this.selectFn=a.select,br=a.select(ar.data),br=replaceData(tr==null?void 0:tr.data,br,a),this.selectResult=br,this.selectError=null}catch(Ar){this.selectError=Ar}else br=ar.data;if(typeof a.placeholderData<"u"&&typeof br>"u"&&vr==="loading"){let Ar;if(tr!=null&&tr.isPlaceholderData&&a.placeholderData===(rr==null?void 0:rr.placeholderData))Ar=tr.data;else if(Ar=typeof a.placeholderData=="function"?a.placeholderData():a.placeholderData,a.select&&typeof Ar<"u")try{Ar=a.select(Ar),this.selectError=null}catch(Pr){this.selectError=Pr}typeof Ar<"u"&&(vr="success",br=replaceData(tr==null?void 0:tr.data,Ar,a),pr=!0)}this.selectError&&(ur=this.selectError,br=this.selectResult,lr=Date.now(),vr="error");const _r=dr==="fetching",wr=vr==="loading",jr=vr==="error";return{status:vr,fetchStatus:dr,isLoading:wr,isSuccess:vr==="success",isError:jr,isInitialLoading:wr&&_r,data:br,dataUpdatedAt:cr,error:ur,errorUpdatedAt:lr,failureCount:ar.fetchFailureCount,failureReason:ar.fetchFailureReason,errorUpdateCount:ar.errorUpdateCount,isFetched:ar.dataUpdateCount>0||ar.errorUpdateCount>0,isFetchedAfterMount:ar.dataUpdateCount>ir.dataUpdateCount||ar.errorUpdateCount>ir.errorUpdateCount,isFetching:_r,isRefetching:_r&&!wr,isLoadingError:jr&&ar.dataUpdatedAt===0,isPaused:dr==="paused",isPlaceholderData:pr,isPreviousData:mr,isRefetchError:jr&&ar.dataUpdatedAt!==0,isStale:isStale(s,a),refetch:this.refetch,remove:this.remove}}updateResult(s){const a=this.currentResult,rt=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,shallowEqualObjects(rt,a))return;this.currentResult=rt;const ot={cache:!0},tr=()=>{if(!a)return!0;const{notifyOnChangeProps:Ut}=this.options,rr=typeof Ut=="function"?Ut():Ut;if(rr==="all"||!rr&&!this.trackedProps.size)return!0;const nr=new Set(rr??this.trackedProps);return this.options.useErrorBoundary&&nr.add("error"),Object.keys(this.currentResult).some(ir=>{const sr=ir;return this.currentResult[sr]!==a[sr]&&nr.has(sr)})};(s==null?void 0:s.listeners)!==!1&&tr()&&(ot.listeners=!0),this.notify({...ot,...s})}updateQuery(){const s=this.client.getQueryCache().build(this.client,this.options);if(s===this.currentQuery)return;const a=this.currentQuery;this.currentQuery=s,this.currentQueryInitialState=s.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(a==null||a.removeObserver(this),s.addObserver(this))}onQueryUpdate(s){const a={};s.type==="success"?a.onSuccess=!s.manual:s.type==="error"&&!isCancelledError(s.error)&&(a.onError=!0),this.updateResult(a),this.hasListeners()&&this.updateTimers()}notify(s){notifyManager.batch(()=>{if(s.onSuccess){var a,rt,ot,tr;(a=(rt=this.options).onSuccess)==null||a.call(rt,this.currentResult.data),(ot=(tr=this.options).onSettled)==null||ot.call(tr,this.currentResult.data,null)}else if(s.onError){var Ut,rr,nr,ir;(Ut=(rr=this.options).onError)==null||Ut.call(rr,this.currentResult.error),(nr=(ir=this.options).onSettled)==null||nr.call(ir,void 0,this.currentResult.error)}s.listeners&&this.listeners.forEach(({listener:sr})=>{sr(this.currentResult)}),s.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function shouldLoadOnMount(o,s){return s.enabled!==!1&&!o.state.dataUpdatedAt&&!(o.state.status==="error"&&s.retryOnMount===!1)}function shouldFetchOnMount(o,s){return shouldLoadOnMount(o,s)||o.state.dataUpdatedAt>0&&shouldFetchOn(o,s,s.refetchOnMount)}function shouldFetchOn(o,s,a){if(s.enabled!==!1){const rt=typeof a=="function"?a(o):a;return rt==="always"||rt!==!1&&isStale(o,s)}return!1}function shouldFetchOptionally(o,s,a,rt){return a.enabled!==!1&&(o!==s||rt.enabled===!1)&&(!a.suspense||o.state.status!=="error")&&isStale(o,a)}function isStale(o,s){return o.isStaleByTime(s.staleTime)}function shouldAssignObserverCurrentProperties(o,s,a){return a.keepPreviousData?!1:a.placeholderData!==void 0?s.isPlaceholderData:!shallowEqualObjects(o.getCurrentResult(),s)}class InfiniteQueryObserver extends QueryObserver{constructor(s,a){super(s,a)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(s,a){super.setOptions({...s,behavior:infiniteQueryBehavior()},a)}getOptimisticResult(s){return s.behavior=infiniteQueryBehavior(),super.getOptimisticResult(s)}fetchNextPage({pageParam:s,...a}={}){return this.fetch({...a,meta:{fetchMore:{direction:"forward",pageParam:s}}})}fetchPreviousPage({pageParam:s,...a}={}){return this.fetch({...a,meta:{fetchMore:{direction:"backward",pageParam:s}}})}createResult(s,a){var rt,ot,tr,Ut,rr,nr;const{state:ir}=s,sr=super.createResult(s,a),{isFetching:ar,isRefetching:cr}=sr,ur=ar&&((rt=ir.fetchMeta)==null||(ot=rt.fetchMore)==null?void 0:ot.direction)==="forward",lr=ar&&((tr=ir.fetchMeta)==null||(Ut=tr.fetchMore)==null?void 0:Ut.direction)==="backward";return{...sr,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:hasNextPage(a,(rr=ir.data)==null?void 0:rr.pages),hasPreviousPage:hasPreviousPage(a,(nr=ir.data)==null?void 0:nr.pages),isFetchingNextPage:ur,isFetchingPreviousPage:lr,isRefetching:cr&&!ur&&!lr}}}let MutationObserver$1=class extends Subscribable{constructor(s,a){super(),this.client=s,this.setOptions(a),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){var a;const rt=this.options;this.options=this.client.defaultMutationOptions(s),shallowEqualObjects(rt,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(a=this.currentMutation)==null||a.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.currentMutation)==null||s.removeObserver(this)}}onMutationUpdate(s){this.updateResult();const a={listeners:!0};s.type==="success"?a.onSuccess=!0:s.type==="error"&&(a.onError=!0),this.notify(a)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(s,a){return this.mutateOptions=a,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof s<"u"?s:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const s=this.currentMutation?this.currentMutation.state:getDefaultState(),a={...s,isLoading:s.status==="loading",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=a}notify(s){notifyManager.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(s.onSuccess){var a,rt,ot,tr;(a=(rt=this.mutateOptions).onSuccess)==null||a.call(rt,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(ot=(tr=this.mutateOptions).onSettled)==null||ot.call(tr,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(s.onError){var Ut,rr,nr,ir;(Ut=(rr=this.mutateOptions).onError)==null||Ut.call(rr,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(nr=(ir=this.mutateOptions).onSettled)==null||nr.call(ir,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}s.listeners&&this.listeners.forEach(({listener:sr})=>{sr(this.currentResult)})})}};function dehydrateMutation(o){return{mutationKey:o.options.mutationKey,state:o.state}}function dehydrateQuery(o){return{state:o.state,queryKey:o.queryKey,queryHash:o.queryHash}}function defaultShouldDehydrateMutation(o){return o.state.isPaused}function defaultShouldDehydrateQuery(o){return o.state.status==="success"}function dehydrate(o,s={}){const a=[],rt=[];if(s.dehydrateMutations!==!1){const ot=s.shouldDehydrateMutation||defaultShouldDehydrateMutation;o.getMutationCache().getAll().forEach(tr=>{ot(tr)&&a.push(dehydrateMutation(tr))})}if(s.dehydrateQueries!==!1){const ot=s.shouldDehydrateQuery||defaultShouldDehydrateQuery;o.getQueryCache().getAll().forEach(tr=>{ot(tr)&&rt.push(dehydrateQuery(tr))})}return{mutations:a,queries:rt}}function hydrate(o,s,a){if(typeof s!="object"||s===null)return;const rt=o.getMutationCache(),ot=o.getQueryCache(),tr=s.mutations||[],Ut=s.queries||[];tr.forEach(rr=>{var nr;rt.build(o,{...a==null||(nr=a.defaultOptions)==null?void 0:nr.mutations,mutationKey:rr.mutationKey},rr.state)}),Ut.forEach(({queryKey:rr,state:nr,queryHash:ir})=>{var sr;const ar=ot.get(ir);if(ar){if(ar.state.dataUpdatedAt"data"in cr)||o.walk():{},ar=(()=>o instanceof AbiDecodingZeroDataError?new ContractFunctionZeroDataError$1({functionName:tr}):[EXECUTION_REVERTED_ERROR_CODE$1,InternalRpcError$1.code].includes(rr)&&(nr||ir||sr)?new ContractFunctionRevertedError$1({abi:s,data:typeof nr=="object"?nr.data:nr,functionName:tr,message:sr??ir}):o)();return new ContractFunctionExecutionError$1(ar,{abi:s,args:rt,contractAddress:a,docsPath:ot,functionName:tr,sender:Ut})}let AccountNotFoundError$1=class extends BaseError$2{constructor({docsPath:s}={}){super(["Could not find an Account to execute with this Action.","Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the WalletClient."].join(` -`),{docsPath:s,docsSlug:"account"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountNotFoundError"})}},EstimateGasExecutionError$1=class extends BaseError$2{constructor(s,{account:a,docsPath:rt,chain:ot,data:tr,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr}){var lr;const ur=prettyPrint$1({from:a==null?void 0:a.address,to:ar,value:typeof cr<"u"&&`${formatEther$2(cr)} ${((lr=ot==null?void 0:ot.nativeCurrency)==null?void 0:lr.symbol)||"ETH"}`,data:tr,gas:Ut,gasPrice:typeof rr<"u"&&`${formatGwei$2(rr)} gwei`,maxFeePerGas:typeof nr<"u"&&`${formatGwei$2(nr)} gwei`,maxPriorityFeePerGas:typeof ir<"u"&&`${formatGwei$2(ir)} gwei`,nonce:sr});super(s.shortMessage,{cause:s,docsPath:rt,metaMessages:[...s.metaMessages?[...s.metaMessages," "]:[],"Estimate Gas Arguments:",ur].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EstimateGasExecutionError"}),this.cause=s}};function getNodeError$2(o,s){const a=(o.details||"").toLowerCase(),rt=o.walk(ot=>ot.code===ExecutionRevertedError$1.code);return rt instanceof BaseError$2?new ExecutionRevertedError$1({cause:o,message:rt.details}):ExecutionRevertedError$1.nodeMessage.test(a)?new ExecutionRevertedError$1({cause:o,message:o.details}):FeeCapTooHighError$1.nodeMessage.test(a)?new FeeCapTooHighError$1({cause:o,maxFeePerGas:s==null?void 0:s.maxFeePerGas}):FeeCapTooLowError$1.nodeMessage.test(a)?new FeeCapTooLowError$1({cause:o,maxFeePerGas:s==null?void 0:s.maxFeePerGas}):NonceTooHighError$1.nodeMessage.test(a)?new NonceTooHighError$1({cause:o,nonce:s==null?void 0:s.nonce}):NonceTooLowError$1.nodeMessage.test(a)?new NonceTooLowError$1({cause:o,nonce:s==null?void 0:s.nonce}):NonceMaxValueError$1.nodeMessage.test(a)?new NonceMaxValueError$1({cause:o,nonce:s==null?void 0:s.nonce}):InsufficientFundsError$1.nodeMessage.test(a)?new InsufficientFundsError$1({cause:o}):IntrinsicGasTooHighError$1.nodeMessage.test(a)?new IntrinsicGasTooHighError$1({cause:o,gas:s==null?void 0:s.gas}):IntrinsicGasTooLowError$1.nodeMessage.test(a)?new IntrinsicGasTooLowError$1({cause:o,gas:s==null?void 0:s.gas}):TransactionTypeNotSupportedError$1.nodeMessage.test(a)?new TransactionTypeNotSupportedError$1({cause:o}):TipAboveFeeCapError$1.nodeMessage.test(a)?new TipAboveFeeCapError$1({cause:o,maxFeePerGas:s==null?void 0:s.maxFeePerGas,maxPriorityFeePerGas:s==null?void 0:s.maxPriorityFeePerGas}):new UnknownNodeError$1({cause:o})}function getEstimateGasError$2(o,{docsPath:s,...a}){const rt=(()=>{const ot=getNodeError$2(o,a);return ot instanceof UnknownNodeError$1?o:ot})();return new EstimateGasExecutionError$1(rt,{docsPath:s,...a})}function extract$2(o,{format:s}){if(!s)return{};const a={};function rt(tr){const Ut=Object.keys(tr);for(const rr of Ut)rr in o&&(a[rr]=o[rr]),tr[rr]&&typeof tr[rr]=="object"&&!Array.isArray(tr[rr])&&rt(tr[rr])}const ot=s(o||{});return rt(ot),a}function assertRequest$2(o){const{account:s,gasPrice:a,maxFeePerGas:rt,maxPriorityFeePerGas:ot,to:tr}=o,Ut=s?parseAccount$2(s):void 0;if(Ut&&!isAddress$2(Ut.address))throw new InvalidAddressError$1({address:Ut.address});if(tr&&!isAddress$2(tr))throw new InvalidAddressError$1({address:tr});if(typeof a<"u"&&(typeof rt<"u"||typeof ot<"u"))throw new FeeConflictError$1;if(rt&&rt>2n**256n-1n)throw new FeeCapTooHighError$1({maxFeePerGas:rt});if(ot&&rt&&ot>rt)throw new TipAboveFeeCapError$1({maxFeePerGas:rt,maxPriorityFeePerGas:ot})}let BaseFeeScalarError$1=class extends BaseError$2{constructor(){super("`baseFeeMultiplier` must be greater than 1."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseFeeScalarError"})}},Eip1559FeesNotSupportedError$1=class extends BaseError$2{constructor(){super("Chain does not support EIP-1559 fees."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Eip1559FeesNotSupportedError"})}},MaxFeePerGasTooLowError$1=class extends BaseError$2{constructor({maxPriorityFeePerGas:s}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${formatGwei$2(s)} gwei).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MaxFeePerGasTooLowError"})}},BlockNotFoundError$1=class extends BaseError$2{constructor({blockHash:s,blockNumber:a}){let rt="Block";s&&(rt=`Block at hash "${s}"`),a&&(rt=`Block at number "${a}"`),super(`${rt} could not be found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BlockNotFoundError"})}};async function getBlock$2(o,{blockHash:s,blockNumber:a,blockTag:rt,includeTransactions:ot}={}){var sr,ar,cr;const tr=rt??"latest",Ut=ot??!1,rr=a!==void 0?numberToHex(a):void 0;let nr=null;if(s?nr=await o.request({method:"eth_getBlockByHash",params:[s,Ut]}):nr=await o.request({method:"eth_getBlockByNumber",params:[rr||tr,Ut]}),!nr)throw new BlockNotFoundError$1({blockHash:s,blockNumber:a});return(((cr=(ar=(sr=o.chain)==null?void 0:sr.formatters)==null?void 0:ar.block)==null?void 0:cr.format)||formatBlock$1)(nr)}async function getGasPrice$2(o){const s=await o.request({method:"eth_gasPrice"});return BigInt(s)}async function estimateMaxPriorityFeePerGas$2(o,s){return internal_estimateMaxPriorityFeePerGas$1(o,s)}async function internal_estimateMaxPriorityFeePerGas$1(o,s){var tr,Ut,rr;const{block:a,chain:rt=o.chain,request:ot}=s||{};if(typeof((tr=rt==null?void 0:rt.fees)==null?void 0:tr.defaultPriorityFee)=="function"){const nr=a||await getAction$2(o,getBlock$2,"getBlock")({});return rt.fees.defaultPriorityFee({block:nr,client:o,request:ot})}else if(typeof((Ut=rt==null?void 0:rt.fees)==null?void 0:Ut.defaultPriorityFee)<"u")return(rr=rt==null?void 0:rt.fees)==null?void 0:rr.defaultPriorityFee;try{const nr=await o.request({method:"eth_maxPriorityFeePerGas"});return hexToBigInt(nr)}catch{const[nr,ir]=await Promise.all([a?Promise.resolve(a):getAction$2(o,getBlock$2,"getBlock")({}),getAction$2(o,getGasPrice$2,"getGasPrice")({})]);if(typeof nr.baseFeePerGas!="bigint")throw new Eip1559FeesNotSupportedError$1;const sr=ir-nr.baseFeePerGas;return sr<0n?0n:sr}}async function estimateFeesPerGas$2(o,s){return internal_estimateFeesPerGas$1(o,s)}async function internal_estimateFeesPerGas$1(o,s){var cr,ur;const{block:a,chain:rt=o.chain,request:ot,type:tr="eip1559"}=s||{},Ut=await(async()=>{var lr,dr;return typeof((lr=rt==null?void 0:rt.fees)==null?void 0:lr.baseFeeMultiplier)=="function"?rt.fees.baseFeeMultiplier({block:a,client:o,request:ot}):((dr=rt==null?void 0:rt.fees)==null?void 0:dr.baseFeeMultiplier)??1.2})();if(Ut<1)throw new BaseFeeScalarError$1;const nr=10**(((cr=Ut.toString().split(".")[1])==null?void 0:cr.length)??0),ir=lr=>lr*BigInt(Math.ceil(Ut*nr))/BigInt(nr),sr=a||await getAction$2(o,getBlock$2,"getBlock")({});if(typeof((ur=rt==null?void 0:rt.fees)==null?void 0:ur.estimateFeesPerGas)=="function")return rt.fees.estimateFeesPerGas({block:a,client:o,multiply:ir,request:ot,type:tr});if(tr==="eip1559"){if(typeof sr.baseFeePerGas!="bigint")throw new Eip1559FeesNotSupportedError$1;const lr=ot!=null&&ot.maxPriorityFeePerGas?ot.maxPriorityFeePerGas:await internal_estimateMaxPriorityFeePerGas$1(o,{block:sr,chain:rt,request:ot}),dr=ir(sr.baseFeePerGas);return{maxFeePerGas:(ot==null?void 0:ot.maxFeePerGas)??dr+lr,maxPriorityFeePerGas:lr}}return{gasPrice:(ot==null?void 0:ot.gasPrice)??ir(await getAction$2(o,getGasPrice$2,"getGasPrice")({}))}}async function getTransactionCount$2(o,{address:s,blockTag:a="latest",blockNumber:rt}){const ot=await o.request({method:"eth_getTransactionCount",params:[s,rt?numberToHex(rt):a]});return hexToNumber$1(ot)}function getTransactionType$2(o){if(o.type)return o.type;if(typeof o.maxFeePerGas<"u"||typeof o.maxPriorityFeePerGas<"u")return"eip1559";if(typeof o.gasPrice<"u")return typeof o.accessList<"u"?"eip2930":"legacy";throw new InvalidSerializableTransactionError$1({transaction:o})}async function prepareTransactionRequest$1(o,s){const{account:a=o.account,chain:rt,gas:ot,nonce:tr,type:Ut}=s;if(!a)throw new AccountNotFoundError$1;const rr=parseAccount$2(a),nr=await getAction$2(o,getBlock$2,"getBlock")({blockTag:"latest"}),ir={...s,from:rr.address};if(typeof tr>"u"&&(ir.nonce=await getAction$2(o,getTransactionCount$2,"getTransactionCount")({address:rr.address,blockTag:"pending"})),typeof Ut>"u")try{ir.type=getTransactionType$2(ir)}catch{ir.type=typeof nr.baseFeePerGas=="bigint"?"eip1559":"legacy"}if(ir.type==="eip1559"){const{maxFeePerGas:sr,maxPriorityFeePerGas:ar}=await internal_estimateFeesPerGas$1(o,{block:nr,chain:rt,request:ir});if(typeof s.maxPriorityFeePerGas>"u"&&s.maxFeePerGas&&s.maxFeePerGas"u"&&(ir.gas=await getAction$2(o,estimateGas$2,"estimateGas")({...ir,account:{address:rr.address,type:"json-rpc"}})),assertRequest$2(ir),ir}async function estimateGas$2(o,s){var ot,tr,Ut;const a=s.account??o.account;if(!a)throw new AccountNotFoundError$1({docsPath:"/docs/actions/public/estimateGas"});const rt=parseAccount$2(a);try{const{accessList:rr,blockNumber:nr,blockTag:ir,data:sr,gas:ar,gasPrice:cr,maxFeePerGas:ur,maxPriorityFeePerGas:lr,nonce:dr,to:vr,value:mr,...pr}=rt.type==="local"?await prepareTransactionRequest$1(o,s):s,_r=(nr?numberToHex(nr):void 0)||ir;assertRequest$2(s);const wr=(Ut=(tr=(ot=o.chain)==null?void 0:ot.formatters)==null?void 0:tr.transactionRequest)==null?void 0:Ut.format,yr=(wr||formatTransactionRequest)({...extract$2(pr,{format:wr}),from:rt.address,accessList:rr,data:sr,gas:ar,gasPrice:cr,maxFeePerGas:ur,maxPriorityFeePerGas:lr,nonce:dr,to:vr,value:mr}),Ar=await o.request({method:"eth_estimateGas",params:_r?[yr,_r]:[yr]});return BigInt(Ar)}catch(rr){throw getEstimateGasError$2(rr,{...s,account:rt,chain:o.chain})}}async function estimateContractGas$2(o,{abi:s,address:a,args:rt,functionName:ot,...tr}){const Ut=encodeFunctionData$2({abi:s,args:rt,functionName:ot});try{return await getAction$2(o,estimateGas$2,"estimateGas")({data:Ut,to:a,...tr})}catch(rr){const nr=tr.account?parseAccount$2(tr.account):void 0;throw getContractError$2(rr,{abi:s,address:a,args:rt,docsPath:"/docs/contract/estimateContractGas",functionName:ot,sender:nr==null?void 0:nr.address})}}const docsPath$8="/docs/contract/decodeEventLog";function decodeEventLog$2({abi:o,data:s,strict:a,topics:rt}){const ot=a??!0,[tr,...Ut]=rt;if(!tr)throw new AbiEventSignatureEmptyTopicsError({docsPath:docsPath$8});const rr=o.find(lr=>lr.type==="event"&&tr===getEventSelector$2(formatAbiItem$1(lr)));if(!(rr&&"name"in rr)||rr.type!=="event")throw new AbiEventSignatureNotFoundError(tr,{docsPath:docsPath$8});const{name:nr,inputs:ir}=rr,sr=ir==null?void 0:ir.some(lr=>!("name"in lr&&lr.name));let ar=sr?[]:{};const cr=ir.filter(lr=>"indexed"in lr&&lr.indexed);for(let lr=0;lr!("indexed"in lr&&lr.indexed));if(ur.length>0){if(s&&s!=="0x")try{const lr=decodeAbiParameters$2(ur,s);if(lr)if(sr)ar=[...ar,...lr];else for(let dr=0;dr0?ar:void 0}}function decodeTopic$1({param:o,value:s}){return o.type==="string"||o.type==="bytes"||o.type==="tuple"||o.type.match(/^(.*)\[(\d+)?\]$/)?s:(decodeAbiParameters$2([o],s)||[])[0]}async function getLogs$2(o,{address:s,blockHash:a,fromBlock:rt,toBlock:ot,event:tr,events:Ut,args:rr,strict:nr}={}){const ir=nr??!1,sr=Ut??(tr?[tr]:void 0);let ar=[];sr&&(ar=[sr.flatMap(ur=>encodeEventTopics$2({abi:[ur],eventName:ur.name,args:rr}))],tr&&(ar=ar[0]));let cr;return a?cr=await o.request({method:"eth_getLogs",params:[{address:s,topics:ar,blockHash:a}]}):cr=await o.request({method:"eth_getLogs",params:[{address:s,topics:ar,fromBlock:typeof rt=="bigint"?numberToHex(rt):rt,toBlock:typeof ot=="bigint"?numberToHex(ot):ot}]}),cr.map(ur=>{var lr;try{const{eventName:dr,args:vr}=sr?decodeEventLog$2({abi:sr,data:ur.data,topics:ur.topics,strict:ir}):{eventName:void 0,args:void 0};return formatLog$1(ur,{args:vr,eventName:dr})}catch(dr){let vr,mr;if(dr instanceof DecodeLogDataMismatch||dr instanceof DecodeLogTopicsMismatch){if(ir)return;vr=dr.abiItem.name,mr=(lr=dr.abiItem.inputs)==null?void 0:lr.some(pr=>!("name"in pr&&pr.name))}return formatLog$1(ur,{args:mr?[]:{},eventName:vr})}}).filter(Boolean)}async function getContractEvents$2(o,{abi:s,address:a,args:rt,blockHash:ot,eventName:tr,fromBlock:Ut,toBlock:rr,strict:nr}){const ir=tr?getAbiItem$2({abi:s,name:tr}):void 0,sr=ir?void 0:s.filter(ar=>ar.type==="event");return getAction$2(o,getLogs$2,"getLogs")({address:a,args:rt,blockHash:ot,event:ir,events:sr,fromBlock:Ut,toBlock:rr,strict:nr})}const docsPath$7="/docs/contract/decodeFunctionResult";function decodeFunctionResult$2({abi:o,args:s,functionName:a,data:rt}){let ot=o[0];if(a&&(ot=getAbiItem$2({abi:o,args:s,name:a}),!ot))throw new AbiFunctionNotFoundError(a,{docsPath:docsPath$7});if(ot.type!=="function")throw new AbiFunctionNotFoundError(void 0,{docsPath:docsPath$7});if(!ot.outputs)throw new AbiFunctionOutputsNotFoundError(ot.name,{docsPath:docsPath$7});const tr=decodeAbiParameters$2(ot.outputs,rt);if(tr&&tr.length>1)return tr;if(tr&&tr.length===1)return tr[0]}const scriptRel="modulepreload",assetsURL=function(o,s){return new URL(o,s).href},seen={},__vitePreload=function o(s,a,rt){if(!a||a.length===0)return s();const ot=document.getElementsByTagName("link");return Promise.all(a.map(tr=>{if(tr=assetsURL(tr,rt),tr in seen)return;seen[tr]=!0;const Ut=tr.endsWith(".css"),rr=Ut?'[rel="stylesheet"]':"";if(!!rt)for(let sr=ot.length-1;sr>=0;sr--){const ar=ot[sr];if(ar.href===tr&&(!Ut||ar.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${tr}"]${rr}`))return;const ir=document.createElement("link");if(ir.rel=Ut?"stylesheet":scriptRel,Ut||(ir.as="script",ir.crossOrigin=""),ir.href=tr,document.head.appendChild(ir),Ut)return new Promise((sr,ar)=>{ir.addEventListener("load",sr),ir.addEventListener("error",()=>ar(new Error(`Unable to preload CSS for ${tr}`)))})})).then(()=>s()).catch(tr=>{const Ut=new Event("vite:preloadError",{cancelable:!0});if(Ut.payload=tr,window.dispatchEvent(Ut),!Ut.defaultPrevented)throw tr})},multicall3Abi=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"}],universalResolverErrors$1=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"}],universalResolverResolveAbi=[...universalResolverErrors$1,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],universalResolverReverseAbi=[...universalResolverErrors$1,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],textResolverAbi=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],addressResolverAbi=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],universalSignatureValidatorAbi=[{inputs:[{internalType:"address",name:"_signer",type:"address"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes",name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"}],aggregate3Signature="0x82ad56cb";function getChainContractAddress$2({blockNumber:o,chain:s,contract:a}){var ot;const rt=(ot=s==null?void 0:s.contracts)==null?void 0:ot[a];if(!rt)throw new ChainDoesNotSupportContract$1({chain:s,contract:{name:a}});if(o&&rt.blockCreated&&rt.blockCreated>o)throw new ChainDoesNotSupportContract$1({blockNumber:o,chain:s,contract:{name:a,blockCreated:rt.blockCreated}});return rt.address}function getCallError$2(o,{docsPath:s,...a}){const rt=(()=>{const ot=getNodeError$2(o,a);return ot instanceof UnknownNodeError$1?o:ot})();return new CallExecutionError$1(rt,{docsPath:s,...a})}const schedulerCache$1=new Map;function createBatchScheduler$2({fn:o,id:s,shouldSplitBatch:a,wait:rt=0,sort:ot}){const tr=async()=>{const sr=nr();Ut();const ar=sr.map(({args:cr})=>cr);ar.length!==0&&o(ar).then(cr=>{var ur;ot&&Array.isArray(cr)&&cr.sort(ot);for(let lr=0;lr{var ur;for(let lr=0;lrschedulerCache$1.delete(s),rr=()=>nr().map(({args:sr})=>sr),nr=()=>schedulerCache$1.get(s)||[],ir=sr=>schedulerCache$1.set(s,[...nr(),sr]);return{flush:Ut,async schedule(sr){const ar={},cr=new Promise((dr,vr)=>{ar.resolve=dr,ar.reject=vr});return(a==null?void 0:a([...rr(),sr]))&&tr(),nr().length>0?(ir({args:sr,pendingPromise:ar}),cr):(ir({args:sr,pendingPromise:ar}),setTimeout(tr,rt),cr)}}}async function call$1(o,s){var mr,pr,br,_r;const{account:a=o.account,batch:rt=!!((mr=o.batch)!=null&&mr.multicall),blockNumber:ot,blockTag:tr="latest",accessList:Ut,data:rr,gas:nr,gasPrice:ir,maxFeePerGas:sr,maxPriorityFeePerGas:ar,nonce:cr,to:ur,value:lr,...dr}=s,vr=a?parseAccount$2(a):void 0;try{assertRequest$2(s);const jr=(ot?numberToHex(ot):void 0)||tr,yr=(_r=(br=(pr=o.chain)==null?void 0:pr.formatters)==null?void 0:br.transactionRequest)==null?void 0:_r.format,Pr=(yr||formatTransactionRequest)({...extract$2(dr,{format:yr}),from:vr==null?void 0:vr.address,accessList:Ut,data:rr,gas:nr,gasPrice:ir,maxFeePerGas:sr,maxPriorityFeePerGas:ar,nonce:cr,to:ur,value:lr});if(rt&&shouldPerformMulticall({request:Pr}))try{return await scheduleMulticall(o,{...Pr,blockNumber:ot,blockTag:tr})}catch(kr){if(!(kr instanceof ClientChainNotConfiguredError$1)&&!(kr instanceof ChainDoesNotSupportContract$1))throw kr}const Tr=await o.request({method:"eth_call",params:jr?[Pr,jr]:[Pr]});return Tr==="0x"?{data:void 0}:{data:Tr}}catch(wr){const jr=getRevertErrorData(wr),{offchainLookup:yr,offchainLookupSignature:Ar}=await __vitePreload(()=>import("./ccip-ef415a80.js"),[],import.meta.url);if((jr==null?void 0:jr.slice(0,10))===Ar&&ur)return{data:await yr(o,{data:jr,to:ur})};throw getCallError$2(wr,{...s,account:vr,chain:o.chain})}}function shouldPerformMulticall({request:o}){const{data:s,to:a,...rt}=o;return!(!s||s.startsWith(aggregate3Signature)||!a||Object.values(rt).filter(ot=>typeof ot<"u").length>0)}async function scheduleMulticall(o,s){var dr;const{batchSize:a=1024,wait:rt=0}=typeof((dr=o.batch)==null?void 0:dr.multicall)=="object"?o.batch.multicall:{},{blockNumber:ot,blockTag:tr="latest",data:Ut,multicallAddress:rr,to:nr}=s;let ir=rr;if(!ir){if(!o.chain)throw new ClientChainNotConfiguredError$1;ir=getChainContractAddress$2({blockNumber:ot,chain:o.chain,contract:"multicall3"})}const ar=(ot?numberToHex(ot):void 0)||tr,{schedule:cr}=createBatchScheduler$2({id:`${o.uid}.${ar}`,wait:rt,shouldSplitBatch(vr){return vr.reduce((pr,{data:br})=>pr+(br.length-2),0)>a*2},fn:async vr=>{const mr=vr.map(_r=>({allowFailure:!0,callData:_r.data,target:_r.to})),pr=encodeFunctionData$2({abi:multicall3Abi,args:[mr],functionName:"aggregate3"}),br=await o.request({method:"eth_call",params:[{data:pr,to:ir},ar]});return decodeFunctionResult$2({abi:multicall3Abi,args:[mr],functionName:"aggregate3",data:br||"0x"})}}),[{returnData:ur,success:lr}]=await cr({data:Ut,to:nr});if(!lr)throw new RawContractError$1({data:ur});return ur==="0x"?{data:void 0}:{data:ur}}function getRevertErrorData(o){if(!(o instanceof BaseError$2))return;const s=o.walk();return typeof s.data=="object"?s.data.data:s.data}async function readContract$3(o,{abi:s,address:a,args:rt,functionName:ot,...tr}){const Ut=encodeFunctionData$2({abi:s,args:rt,functionName:ot});try{const{data:rr}=await getAction$2(o,call$1,"call")({data:Ut,to:a,...tr});return decodeFunctionResult$2({abi:s,args:rt,functionName:ot,data:rr||"0x"})}catch(rr){throw getContractError$2(rr,{abi:s,address:a,args:rt,docsPath:"/docs/contract/readContract",functionName:ot})}}async function simulateContract$2(o,{abi:s,address:a,args:rt,dataSuffix:ot,functionName:tr,...Ut}){const rr=Ut.account?parseAccount$2(Ut.account):void 0,nr=encodeFunctionData$2({abi:s,args:rt,functionName:tr});try{const{data:ir}=await getAction$2(o,call$1,"call")({batch:!1,data:`${nr}${ot?ot.replace("0x",""):""}`,to:a,...Ut});return{result:decodeFunctionResult$2({abi:s,args:rt,functionName:tr,data:ir||"0x"}),request:{abi:s,address:a,args:rt,dataSuffix:ot,functionName:tr,...Ut}}}catch(ir){throw getContractError$2(ir,{abi:s,address:a,args:rt,docsPath:"/docs/contract/simulateContract",functionName:tr,sender:rr==null?void 0:rr.address})}}const listenersCache=new Map,cleanupCache=new Map;let callbackCount=0;function observe$1(o,s,a){const rt=++callbackCount,ot=()=>listenersCache.get(o)||[],tr=()=>{const sr=ot();listenersCache.set(o,sr.filter(ar=>ar.id!==rt))},Ut=()=>{const sr=cleanupCache.get(o);ot().length===1&&sr&&sr(),tr()},rr=ot();if(listenersCache.set(o,[...rr,{id:rt,fns:s}]),rr&&rr.length>0)return Ut;const nr={};for(const sr in s)nr[sr]=(...ar)=>{var ur,lr;const cr=ot();if(cr.length!==0)for(const dr of cr)(lr=(ur=dr.fns)[sr])==null||lr.call(ur,...ar)};const ir=a(nr);return typeof ir=="function"&&cleanupCache.set(o,ir),Ut}async function wait$2(o){return new Promise(s=>setTimeout(s,o))}function poll$2(o,{emitOnBegin:s,initialWaitTime:a,interval:rt}){let ot=!0;const tr=()=>ot=!1;return(async()=>{let rr;s&&(rr=await o({unpoll:tr}));const nr=await(a==null?void 0:a(rr))??rt;await wait$2(nr);const ir=async()=>{ot&&(await o({unpoll:tr}),await wait$2(rt),ir())};ir()})(),tr}const promiseCache=new Map,responseCache=new Map;function getCache(o){const s=(ot,tr)=>({clear:()=>tr.delete(ot),get:()=>tr.get(ot),set:Ut=>tr.set(ot,Ut)}),a=s(o,promiseCache),rt=s(o,responseCache);return{clear:()=>{a.clear(),rt.clear()},promise:a,response:rt}}async function withCache$1(o,{cacheKey:s,cacheTime:a=1/0}){const rt=getCache(s),ot=rt.response.get();if(ot&&a>0&&new Date().getTime()-ot.created.getTime()`blockNumber.${o}`;async function getBlockNumber$2(o,{cacheTime:s=o.cacheTime,maxAge:a}={}){const rt=await withCache$1(()=>o.request({method:"eth_blockNumber"}),{cacheKey:cacheKey$1(o.uid),cacheTime:a??s});return BigInt(rt)}async function getFilterChanges$2(o,{filter:s}){const a="strict"in s&&s.strict;return(await s.request({method:"eth_getFilterChanges",params:[s.id]})).map(ot=>{var tr;if(typeof ot=="string")return ot;try{const{eventName:Ut,args:rr}="abi"in s&&s.abi?decodeEventLog$2({abi:s.abi,data:ot.data,topics:ot.topics,strict:a}):{eventName:void 0,args:void 0};return formatLog$1(ot,{args:rr,eventName:Ut})}catch(Ut){let rr,nr;if(Ut instanceof DecodeLogDataMismatch||Ut instanceof DecodeLogTopicsMismatch){if("strict"in s&&s.strict)return;rr=Ut.abiItem.name,nr=(tr=Ut.abiItem.inputs)==null?void 0:tr.some(ir=>!("name"in ir&&ir.name))}return formatLog$1(ot,{args:nr?[]:{},eventName:rr})}}).filter(Boolean)}async function uninstallFilter$2(o,{filter:s}){return s.request({method:"eth_uninstallFilter",params:[s.id]})}function watchContractEvent$2(o,{abi:s,address:a,args:rt,batch:ot=!0,eventName:tr,onError:Ut,onLogs:rr,poll:nr,pollingInterval:ir=o.pollingInterval,strict:sr}){return(typeof nr<"u"?nr:o.transport.type!=="webSocket")?(()=>{const lr=stringify$2(["watchContractEvent",a,rt,ot,o.uid,tr,ir]),dr=sr??!1;return observe$1(lr,{onLogs:rr,onError:Ut},vr=>{let mr,pr,br=!1;const _r=poll$2(async()=>{var wr;if(!br){try{pr=await getAction$2(o,createContractEventFilter$2,"createContractEventFilter")({abi:s,address:a,args:rt,eventName:tr,strict:dr})}catch{}br=!0;return}try{let jr;if(pr)jr=await getAction$2(o,getFilterChanges$2,"getFilterChanges")({filter:pr});else{const yr=await getAction$2(o,getBlockNumber$2,"getBlockNumber")({});mr&&mr!==yr?jr=await getAction$2(o,getContractEvents$2,"getContractEvents")({abi:s,address:a,args:rt,eventName:tr,fromBlock:mr+1n,toBlock:yr,strict:dr}):jr=[],mr=yr}if(jr.length===0)return;if(ot)vr.onLogs(jr);else for(const yr of jr)vr.onLogs([yr])}catch(jr){pr&&jr instanceof InvalidInputRpcError$1&&(br=!1),(wr=vr.onError)==null||wr.call(vr,jr)}},{emitOnBegin:!0,interval:ir});return async()=>{pr&&await getAction$2(o,uninstallFilter$2,"uninstallFilter")({filter:pr}),_r()}})})():(()=>{let lr=!0,dr=()=>lr=!1;return(async()=>{try{const vr=tr?encodeEventTopics$2({abi:s,eventName:tr,args:rt}):[],{unsubscribe:mr}=await o.transport.subscribe({params:["logs",{address:a,topics:vr}],onData(pr){var _r;if(!lr)return;const br=pr.result;try{const{eventName:wr,args:jr}=decodeEventLog$2({abi:s,data:br.data,topics:br.topics,strict:sr}),yr=formatLog$1(br,{args:jr,eventName:wr});rr([yr])}catch(wr){let jr,yr;if(wr instanceof DecodeLogDataMismatch||wr instanceof DecodeLogTopicsMismatch){if(sr)return;jr=wr.abiItem.name,yr=(_r=wr.abiItem.inputs)==null?void 0:_r.some(Pr=>!("name"in Pr&&Pr.name))}const Ar=formatLog$1(br,{args:yr?[]:{},eventName:jr});rr([Ar])}},onError(pr){Ut==null||Ut(pr)}});dr=mr,lr||dr()}catch(vr){Ut==null||Ut(vr)}})(),dr})()}function assertCurrentChain$2({chain:o,currentChainId:s}){if(!o)throw new ChainNotFoundError$1;if(s!==o.id)throw new ChainMismatchError$2({chain:o,currentChainId:s})}function getTransactionError$2(o,{docsPath:s,...a}){const rt=(()=>{const ot=getNodeError$2(o,a);return ot instanceof UnknownNodeError$1?o:ot})();return new TransactionExecutionError$1(rt,{docsPath:s,...a})}async function getChainId$2(o){const s=await o.request({method:"eth_chainId"});return hexToNumber$1(s)}async function sendRawTransaction$2(o,{serializedTransaction:s}){return o.request({method:"eth_sendRawTransaction",params:[s]})}async function sendTransaction$3(o,s){var dr,vr,mr,pr;const{account:a=o.account,chain:rt=o.chain,accessList:ot,data:tr,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr,...ur}=s;if(!a)throw new AccountNotFoundError$1({docsPath:"/docs/actions/wallet/sendTransaction"});const lr=parseAccount$2(a);try{assertRequest$2(s);let br;if(rt!==null&&(br=await getAction$2(o,getChainId$2,"getChainId")({}),assertCurrentChain$2({currentChainId:br,chain:rt})),lr.type==="local"){const yr=await getAction$2(o,prepareTransactionRequest$1,"prepareTransactionRequest")({account:lr,accessList:ot,chain:rt,data:tr,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr,...ur});br||(br=await getAction$2(o,getChainId$2,"getChainId")({}));const Ar=(dr=rt==null?void 0:rt.serializers)==null?void 0:dr.transaction,Pr=await lr.signTransaction({...yr,chainId:br},{serializer:Ar});return await getAction$2(o,sendRawTransaction$2,"sendRawTransaction")({serializedTransaction:Pr})}const _r=(pr=(mr=(vr=o.chain)==null?void 0:vr.formatters)==null?void 0:mr.transactionRequest)==null?void 0:pr.format,jr=(_r||formatTransactionRequest)({...extract$2(ur,{format:_r}),accessList:ot,data:tr,from:lr.address,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr});return await o.request({method:"eth_sendTransaction",params:[jr]})}catch(br){throw getTransactionError$2(br,{...s,account:lr,chain:s.chain||void 0})}}async function writeContract$3(o,{abi:s,address:a,args:rt,dataSuffix:ot,functionName:tr,...Ut}){const rr=encodeFunctionData$2({abi:s,args:rt,functionName:tr});return await getAction$2(o,sendTransaction$3,"sendTransaction")({data:`${rr}${ot?ot.replace("0x",""):""}`,to:a,...Ut})}async function addChain$2(o,{chain:s}){const{id:a,name:rt,nativeCurrency:ot,rpcUrls:tr,blockExplorers:Ut}=s;await o.request({method:"wallet_addEthereumChain",params:[{chainId:numberToHex(a),chainName:rt,nativeCurrency:ot,rpcUrls:tr.default.http,blockExplorerUrls:Ut?Object.values(Ut).map(({url:rr})=>rr):void 0}]})}const size$3=256;let index$1=size$3,buffer$1;function uid$2(o=11){if(!buffer$1||index$1+o>size$3*2){buffer$1="",index$1=0;for(let s=0;s{const mr=vr(dr);for(const br in ur)delete mr[br];const pr={...dr,...mr};return Object.assign(pr,{extend:lr(pr)})}}return Object.assign(ur,{extend:lr(ur)})}function withRetry$2(o,{delay:s=100,retryCount:a=2,shouldRetry:rt=()=>!0}={}){return new Promise((ot,tr)=>{const Ut=async({count:rr=0}={})=>{const nr=async({error:ir})=>{const sr=typeof s=="function"?s({count:rr,error:ir}):s;sr&&await wait$2(sr),Ut({count:rr+1})};try{const ir=await o();ot(ir)}catch(ir){if(rr"code"in o?o.code!==-1&&o.code!==-32004&&o.code!==-32005&&o.code!==-32042&&o.code!==-32603:o instanceof HttpRequestError$1&&o.status?o.status!==403&&o.status!==408&&o.status!==413&&o.status!==429&&o.status!==500&&o.status!==502&&o.status!==503&&o.status!==504:!1;function buildRequest$1(o,{retryDelay:s=150,retryCount:a=3}={}){return async rt=>withRetry$2(async()=>{try{return await o(rt)}catch(ot){const tr=ot;switch(tr.code){case ParseRpcError$1.code:throw new ParseRpcError$1(tr);case InvalidRequestRpcError$1.code:throw new InvalidRequestRpcError$1(tr);case MethodNotFoundRpcError$1.code:throw new MethodNotFoundRpcError$1(tr);case InvalidParamsRpcError$1.code:throw new InvalidParamsRpcError$1(tr);case InternalRpcError$1.code:throw new InternalRpcError$1(tr);case InvalidInputRpcError$1.code:throw new InvalidInputRpcError$1(tr);case ResourceNotFoundRpcError$1.code:throw new ResourceNotFoundRpcError$1(tr);case ResourceUnavailableRpcError$1.code:throw new ResourceUnavailableRpcError$1(tr);case TransactionRejectedRpcError$1.code:throw new TransactionRejectedRpcError$1(tr);case MethodNotSupportedRpcError$1.code:throw new MethodNotSupportedRpcError$1(tr);case LimitExceededRpcError$1.code:throw new LimitExceededRpcError$1(tr);case JsonRpcVersionUnsupportedError$1.code:throw new JsonRpcVersionUnsupportedError$1(tr);case UserRejectedRequestError$1.code:throw new UserRejectedRequestError$1(tr);case UnauthorizedProviderError$1.code:throw new UnauthorizedProviderError$1(tr);case UnsupportedProviderMethodError$1.code:throw new UnsupportedProviderMethodError$1(tr);case ProviderDisconnectedError$1.code:throw new ProviderDisconnectedError$1(tr);case ChainDisconnectedError$1.code:throw new ChainDisconnectedError$1(tr);case SwitchChainError$1.code:throw new SwitchChainError$1(tr);case 5e3:throw new UserRejectedRequestError$1(tr);default:throw ot instanceof BaseError$2?ot:new UnknownRpcError$1(tr)}}},{delay:({count:ot,error:tr})=>{var Ut;if(tr&&tr instanceof HttpRequestError$1){const rr=(Ut=tr==null?void 0:tr.headers)==null?void 0:Ut.get("Retry-After");if(rr!=null&&rr.match(/\d/))return parseInt(rr)*1e3}return~~(1<!isDeterministicError(ot)})}function createTransport$2({key:o,name:s,request:a,retryCount:rt=3,retryDelay:ot=150,timeout:tr,type:Ut},rr){return{config:{key:o,name:s,request:a,retryCount:rt,retryDelay:ot,timeout:tr,type:Ut},request:buildRequest$1(a,{retryCount:rt,retryDelay:ot}),value:rr}}function custom$2(o,s={}){const{key:a="custom",name:rt="Custom Provider",retryDelay:ot}=s;return({retryCount:tr})=>createTransport$2({key:a,name:rt,request:o.request.bind(o),retryCount:s.retryCount??tr,retryDelay:ot,type:"custom"})}function fallback$2(o,s={}){const{key:a="fallback",name:rt="Fallback",rank:ot=!1,retryCount:tr,retryDelay:Ut}=s;return({chain:rr,pollingInterval:nr=4e3,timeout:ir})=>{let sr=o,ar=()=>{};const cr=createTransport$2({key:a,name:rt,async request({method:ur,params:lr}){const dr=async(vr=0)=>{const mr=sr[vr]({chain:rr,retryCount:0,timeout:ir});try{const pr=await mr.request({method:ur,params:lr});return ar({method:ur,params:lr,response:pr,transport:mr,status:"success"}),pr}catch(pr){if(ar({error:pr,method:ur,params:lr,transport:mr,status:"error"}),isDeterministicError(pr)||vr===sr.length-1)throw pr;return dr(vr+1)}};return dr()},retryCount:tr,retryDelay:Ut,type:"fallback"},{onResponse:ur=>ar=ur,transports:sr.map(ur=>ur({chain:rr,retryCount:0}))});if(ot){const ur=typeof ot=="object"?ot:{};rankTransports$1({chain:rr,interval:ur.interval??nr,onTransports:lr=>sr=lr,sampleCount:ur.sampleCount,timeout:ur.timeout,transports:sr,weights:ur.weights})}return cr}}function rankTransports$1({chain:o,interval:s=4e3,onTransports:a,sampleCount:rt=10,timeout:ot=1e3,transports:tr,weights:Ut={}}){const{stability:rr=.7,latency:nr=.3}=Ut,ir=[],sr=async()=>{const ar=await Promise.all(tr.map(async lr=>{const dr=lr({chain:o,retryCount:0,timeout:ot}),vr=Date.now();let mr,pr;try{await dr.request({method:"net_listening"}),pr=1}catch{pr=0}finally{mr=Date.now()}return{latency:mr-vr,success:pr}}));ir.push(ar),ir.length>rt&&ir.shift();const cr=Math.max(...ir.map(lr=>Math.max(...lr.map(({latency:dr})=>dr)))),ur=tr.map((lr,dr)=>{const vr=ir.map(wr=>wr[dr].latency),pr=1-vr.reduce((wr,jr)=>wr+jr,0)/vr.length/cr,br=ir.map(wr=>wr[dr].success),_r=br.reduce((wr,jr)=>wr+jr,0)/br.length;return _r===0?[0,dr]:[nr*pr+rr*_r,dr]}).sort((lr,dr)=>dr[0]-lr[0]);a(ur.map(([,lr])=>tr[lr])),await wait$2(s),sr()};sr()}let UrlRequiredError$1=class extends BaseError$2{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro"})}};function getNativeWebSocket(){if(typeof WebSocket<"u")return WebSocket;if(typeof global.WebSocket<"u")return global.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const WebSocket$1=getNativeWebSocket(),native=Object.freeze(Object.defineProperty({__proto__:null,WebSocket:WebSocket$1},Symbol.toStringTag,{value:"Module"}));function withTimeout$2(o,{errorInstance:s=new Error("timed out"),timeout:a,signal:rt}){return new Promise((ot,tr)=>{(async()=>{let Ut;try{const rr=new AbortController;a>0&&(Ut=setTimeout(()=>{rt?rr.abort():tr(s)},a)),ot(await o({signal:rr==null?void 0:rr.signal}))}catch(rr){rr.name==="AbortError"&&tr(s),tr(rr)}finally{clearTimeout(Ut)}})()})}let id=0;async function http$3(o,{body:s,fetchOptions:a={},timeout:rt=1e4}){var rr;const{headers:ot,method:tr,signal:Ut}=a;try{const nr=await withTimeout$2(async({signal:sr})=>await fetch(o,{...a,body:Array.isArray(s)?stringify$2(s.map(cr=>({jsonrpc:"2.0",id:cr.id??id++,...cr}))):stringify$2({jsonrpc:"2.0",id:s.id??id++,...s}),headers:{...ot,"Content-Type":"application/json"},method:tr||"POST",signal:Ut||(rt>0?sr:void 0)}),{errorInstance:new TimeoutError$1({body:s,url:o}),timeout:rt,signal:!0});let ir;if((rr=nr.headers.get("Content-Type"))!=null&&rr.startsWith("application/json")?ir=await nr.json():ir=await nr.text(),!nr.ok)throw new HttpRequestError$1({body:s,details:stringify$2(ir.error)||nr.statusText,headers:nr.headers,status:nr.status,url:o});return ir}catch(nr){throw nr instanceof HttpRequestError$1||nr instanceof TimeoutError$1?nr:new HttpRequestError$1({body:s,details:nr.message,url:o})}}const socketsCache=new Map;async function getSocket(o){let s=socketsCache.get(o);if(s)return s;const{schedule:a}=createBatchScheduler$2({id:o,fn:async()=>{const tr=new WebSocket$1(o),Ut=new Map,rr=new Map,nr=({data:sr})=>{const ar=JSON.parse(sr),cr=ar.method==="eth_subscription",ur=cr?ar.params.subscription:ar.id,lr=cr?rr:Ut,dr=lr.get(ur);dr&&dr({data:sr}),cr||lr.delete(ur)},ir=()=>{socketsCache.delete(o),tr.removeEventListener("close",ir),tr.removeEventListener("message",nr)};return tr.addEventListener("close",ir),tr.addEventListener("message",nr),tr.readyState===WebSocket$1.CONNECTING&&await new Promise((sr,ar)=>{tr&&(tr.onopen=sr,tr.onerror=ar)}),s=Object.assign(tr,{requests:Ut,subscriptions:rr}),socketsCache.set(o,s),[s]}}),[rt,[ot]]=await a();return ot}function webSocket$3(o,{body:s,onResponse:a}){if(o.readyState===o.CLOSED||o.readyState===o.CLOSING)throw new WebSocketRequestError$1({body:s,url:o.url,details:"Socket is closed."});const rt=id++,ot=({data:tr})=>{var rr;const Ut=JSON.parse(tr);typeof Ut.id=="number"&&rt!==Ut.id||(a==null||a(Ut),s.method==="eth_subscribe"&&typeof Ut.result=="string"&&o.subscriptions.set(Ut.result,ot),s.method==="eth_unsubscribe"&&o.subscriptions.delete((rr=s.params)==null?void 0:rr[0]))};return o.requests.set(rt,ot),o.send(JSON.stringify({jsonrpc:"2.0",...s,id:rt})),o}async function webSocketAsync(o,{body:s,timeout:a=1e4}){return withTimeout$2(()=>new Promise(rt=>rpc$3.webSocket(o,{body:s,onResponse:rt})),{errorInstance:new TimeoutError$1({body:s,url:o.url}),timeout:a})}const rpc$3={http:http$3,webSocket:webSocket$3,webSocketAsync};function http$2(o,s={}){const{batch:a,fetchOptions:rt,key:ot="http",name:tr="HTTP JSON-RPC",retryDelay:Ut}=s;return({chain:rr,retryCount:nr,timeout:ir})=>{const{batchSize:sr=1e3,wait:ar=0}=typeof a=="object"?a:{},cr=s.retryCount??nr,ur=ir??s.timeout??1e4,lr=o||(rr==null?void 0:rr.rpcUrls.default.http[0]);if(!lr)throw new UrlRequiredError$1;return createTransport$2({key:ot,name:tr,async request({method:dr,params:vr}){const mr={method:dr,params:vr},{schedule:pr}=createBatchScheduler$2({id:`${o}`,wait:ar,shouldSplitBatch(jr){return jr.length>sr},fn:jr=>rpc$3.http(lr,{body:jr,fetchOptions:rt,timeout:ur}),sort:(jr,yr)=>jr.id-yr.id}),br=async jr=>a?pr(jr):[await rpc$3.http(lr,{body:jr,fetchOptions:rt,timeout:ur})],[{error:_r,result:wr}]=await br(mr);if(_r)throw new RpcRequestError$1({body:mr,error:_r,url:lr});return wr},retryCount:cr,retryDelay:Ut,timeout:ur,type:"http"},{fetchOptions:rt,url:o})}}function isNullUniversalResolverError$1(o,s){var rt,ot,tr;if(!(o instanceof BaseError$2))return!1;const a=o.walk(Ut=>Ut instanceof ContractFunctionRevertedError$1);return a instanceof ContractFunctionRevertedError$1?!!(((rt=a.data)==null?void 0:rt.errorName)==="ResolverNotFound"||((ot=a.data)==null?void 0:ot.errorName)==="ResolverWildcardNotSupported"||(tr=a.reason)!=null&&tr.includes("Wildcard on non-extended resolvers is not supported")||s==="reverse"&&a.reason===panicReasons[50]):!1}function encodedLabelToLabelhash$2(o){if(o.length!==66||o.indexOf("[")!==0||o.indexOf("]")!==65)return null;const s=`0x${o.slice(1,65)}`;return isHex$2(s)?s:null}function namehash$2(o){let s=new Uint8Array(32).fill(0);if(!o)return bytesToHex$1(s);const a=o.split(".");for(let rt=a.length-1;rt>=0;rt-=1){const ot=encodedLabelToLabelhash$2(a[rt]),tr=ot?toBytes$2(ot):keccak256$2(stringToBytes(a[rt]),"bytes");s=keccak256$2(concat$3([s,tr]),"bytes")}return bytesToHex$1(s)}function encodeLabelhash$2(o){return`[${o.slice(2)}]`}function labelhash$2(o){const s=new Uint8Array(32).fill(0);return o?encodedLabelToLabelhash$2(o)||keccak256$2(stringToBytes(o)):bytesToHex$1(s)}function packetToBytes$2(o){const s=o.replace(/^\.|\.$/gm,"");if(s.length===0)return new Uint8Array(1);const a=new Uint8Array(stringToBytes(s).byteLength+2);let rt=0;const ot=s.split(".");for(let tr=0;tr255&&(Ut=stringToBytes(encodeLabelhash$2(labelhash$2(ot[tr])))),a[rt]=Ut.length,a.set(Ut,rt+1),rt+=Ut.length+1}return a.byteLength!==rt+1?a.slice(0,rt+1):a}async function getEnsAddress$2(o,{blockNumber:s,blockTag:a,coinType:rt,name:ot,universalResolverAddress:tr}){let Ut=tr;if(!Ut){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");Ut=getChainContractAddress$2({blockNumber:s,chain:o.chain,contract:"ensUniversalResolver"})}try{const rr=encodeFunctionData$2({abi:addressResolverAbi,functionName:"addr",...rt!=null?{args:[namehash$2(ot),BigInt(rt)]}:{args:[namehash$2(ot)]}}),nr=await getAction$2(o,readContract$3,"readContract")({address:Ut,abi:universalResolverResolveAbi,functionName:"resolve",args:[toHex$1(packetToBytes$2(ot)),rr],blockNumber:s,blockTag:a});if(nr[0]==="0x")return null;const ir=decodeFunctionResult$2({abi:addressResolverAbi,args:rt!=null?[namehash$2(ot),BigInt(rt)]:void 0,functionName:"addr",data:nr[0]});return ir==="0x"||trim$2(ir)==="0x00"?null:ir}catch(rr){if(isNullUniversalResolverError$1(rr,"resolve"))return null;throw rr}}let EnsAvatarInvalidMetadataError$1=class extends BaseError$2{constructor({data:s}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(s)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidMetadataError"})}},EnsAvatarInvalidNftUriError$1=class extends BaseError$2{constructor({reason:s}){super(`ENS NFT avatar URI is invalid. ${s}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidNftUriError"})}},EnsAvatarUriResolutionError$1=class extends BaseError$2{constructor({uri:s}){super(`Unable to resolve ENS avatar URI "${s}". The URI may be malformed, invalid, or does not respond with a valid image.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUriResolutionError"})}},EnsAvatarUnsupportedNamespaceError$1=class extends BaseError$2{constructor({namespace:s}){super(`ENS NFT avatar namespace "${s}" is not supported. Must be "erc721" or "erc1155".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUnsupportedNamespaceError"})}};const networkRegex$1=/(?https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?\/)?(?ipfs\/|ipns\/)?(?[\w\-.]+)(?\/.*)?/,ipfsHashRegex$1=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?[\w\-.]+))?(?\/.*)?$/,base64Regex$1=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,dataURIRegex$1=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function isImageUri$1(o){try{const s=await fetch(o,{method:"HEAD"});if(s.status===200){const a=s.headers.get("content-type");return a==null?void 0:a.startsWith("image/")}return!1}catch(s){return typeof s=="object"&&typeof s.response<"u"||!globalThis.hasOwnProperty("Image")?!1:new Promise(a=>{const rt=new Image;rt.onload=()=>{a(!0)},rt.onerror=()=>{a(!1)},rt.src=o})}}function getGateway$1(o,s){return o?o.endsWith("/")?o.slice(0,-1):o:s}function resolveAvatarUri$1({uri:o,gatewayUrls:s}){const a=base64Regex$1.test(o);if(a)return{uri:o,isOnChain:!0,isEncoded:a};const rt=getGateway$1(s==null?void 0:s.ipfs,"https://ipfs.io"),ot=getGateway$1(s==null?void 0:s.arweave,"https://arweave.net"),tr=o.match(networkRegex$1),{protocol:Ut,subpath:rr,target:nr,subtarget:ir=""}=(tr==null?void 0:tr.groups)||{},sr=Ut==="ipns:/"||rr==="ipns/",ar=Ut==="ipfs:/"||rr==="ipfs/"||ipfsHashRegex$1.test(o);if(o.startsWith("http")&&!sr&&!ar){let ur=o;return s!=null&&s.arweave&&(ur=o.replace(/https:\/\/arweave.net/g,s==null?void 0:s.arweave)),{uri:ur,isOnChain:!1,isEncoded:!1}}if((sr||ar)&&nr)return{uri:`${rt}/${sr?"ipns":"ipfs"}/${nr}${ir}`,isOnChain:!1,isEncoded:!1};if(Ut==="ar:/"&&nr)return{uri:`${ot}/${nr}${ir||""}`,isOnChain:!1,isEncoded:!1};let cr=o.replace(dataURIRegex$1,"");if(cr.startsWith("ot.json());return await parseAvatarUri$1({gatewayUrls:o,uri:getJsonImage$1(a)})}catch{throw new EnsAvatarUriResolutionError$1({uri:s})}}async function parseAvatarUri$1({gatewayUrls:o,uri:s}){const{uri:a,isOnChain:rt}=resolveAvatarUri$1({uri:s,gatewayUrls:o});if(rt||await isImageUri$1(a))return a;throw new EnsAvatarUriResolutionError$1({uri:s})}function parseNftUri$1(o){let s=o;s.startsWith("did:nft:")&&(s=s.replace("did:nft:","").replace(/_/g,"/"));const[a,rt,ot]=s.split("/"),[tr,Ut]=a.split(":"),[rr,nr]=rt.split(":");if(!tr||tr.toLowerCase()!=="eip155")throw new EnsAvatarInvalidNftUriError$1({reason:"Only EIP-155 supported"});if(!Ut)throw new EnsAvatarInvalidNftUriError$1({reason:"Chain ID not found"});if(!nr)throw new EnsAvatarInvalidNftUriError$1({reason:"Contract address not found"});if(!ot)throw new EnsAvatarInvalidNftUriError$1({reason:"Token ID not found"});if(!rr)throw new EnsAvatarInvalidNftUriError$1({reason:"ERC namespace not found"});return{chainID:parseInt(Ut),namespace:rr.toLowerCase(),contractAddress:nr,tokenID:ot}}async function getNftTokenUri$1(o,{nft:s}){if(s.namespace==="erc721")return readContract$3(o,{address:s.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(s.tokenID)]});if(s.namespace==="erc1155")return readContract$3(o,{address:s.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(s.tokenID)]});throw new EnsAvatarUnsupportedNamespaceError$1({namespace:s.namespace})}async function parseAvatarRecord$2(o,{gatewayUrls:s,record:a}){return/eip155:/i.test(a)?parseNftAvatarUri$1(o,{gatewayUrls:s,record:a}):parseAvatarUri$1({uri:a,gatewayUrls:s})}async function parseNftAvatarUri$1(o,{gatewayUrls:s,record:a}){const rt=parseNftUri$1(a),ot=await getNftTokenUri$1(o,{nft:rt}),{uri:tr,isOnChain:Ut,isEncoded:rr}=resolveAvatarUri$1({uri:ot,gatewayUrls:s});if(Ut&&(tr.includes("data:application/json;base64,")||tr.startsWith("{"))){const ir=rr?atob(tr.replace("data:application/json;base64,","")):tr,sr=JSON.parse(ir);return parseAvatarUri$1({uri:getJsonImage$1(sr),gatewayUrls:s})}let nr=rt.tokenID;return rt.namespace==="erc1155"&&(nr=nr.replace("0x","").padStart(64,"0")),getMetadataAvatarUri$1({gatewayUrls:s,uri:tr.replace(/(?:0x)?{id}/,nr)})}async function getEnsText$2(o,{blockNumber:s,blockTag:a,name:rt,key:ot,universalResolverAddress:tr}){let Ut=tr;if(!Ut){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");Ut=getChainContractAddress$2({blockNumber:s,chain:o.chain,contract:"ensUniversalResolver"})}try{const rr=await getAction$2(o,readContract$3,"readContract")({address:Ut,abi:universalResolverResolveAbi,functionName:"resolve",args:[toHex$1(packetToBytes$2(rt)),encodeFunctionData$2({abi:textResolverAbi,functionName:"text",args:[namehash$2(rt),ot]})],blockNumber:s,blockTag:a});if(rr[0]==="0x")return null;const nr=decodeFunctionResult$2({abi:textResolverAbi,functionName:"text",data:rr[0]});return nr===""?null:nr}catch(rr){if(isNullUniversalResolverError$1(rr,"resolve"))return null;throw rr}}async function getEnsAvatar$2(o,{blockNumber:s,blockTag:a,gatewayUrls:rt,name:ot,universalResolverAddress:tr}){const Ut=await getAction$2(o,getEnsText$2,"getEnsText")({blockNumber:s,blockTag:a,key:"avatar",name:ot,universalResolverAddress:tr});if(!Ut)return null;try{return await parseAvatarRecord$2(o,{record:Ut,gatewayUrls:rt})}catch{return null}}async function getEnsName$2(o,{address:s,blockNumber:a,blockTag:rt,universalResolverAddress:ot}){let tr=ot;if(!tr){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");tr=getChainContractAddress$2({blockNumber:a,chain:o.chain,contract:"ensUniversalResolver"})}const Ut=`${s.toLowerCase().substring(2)}.addr.reverse`;try{return(await getAction$2(o,readContract$3,"readContract")({address:tr,abi:universalResolverReverseAbi,functionName:"reverse",args:[toHex$1(packetToBytes$2(Ut))],blockNumber:a,blockTag:rt}))[0]}catch(rr){if(isNullUniversalResolverError$1(rr,"reverse"))return null;throw rr}}async function getEnsResolver$2(o,{blockNumber:s,blockTag:a,name:rt,universalResolverAddress:ot}){let tr=ot;if(!tr){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");tr=getChainContractAddress$2({blockNumber:s,chain:o.chain,contract:"ensUniversalResolver"})}const[Ut]=await getAction$2(o,readContract$3,"readContract")({address:tr,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[toHex$1(packetToBytes$2(rt))],blockNumber:s,blockTag:a});return Ut}async function createBlockFilter$2(o){const s=createFilterRequestScope$2(o,{method:"eth_newBlockFilter"}),a=await o.request({method:"eth_newBlockFilter"});return{id:a,request:s(a),type:"block"}}async function createEventFilter$2(o,{address:s,args:a,event:rt,events:ot,fromBlock:tr,strict:Ut,toBlock:rr}={}){const nr=ot??(rt?[rt]:void 0),ir=createFilterRequestScope$2(o,{method:"eth_newFilter"});let sr=[];nr&&(sr=[nr.flatMap(cr=>encodeEventTopics$2({abi:[cr],eventName:cr.name,args:a}))],rt&&(sr=sr[0]));const ar=await o.request({method:"eth_newFilter",params:[{address:s,fromBlock:typeof tr=="bigint"?numberToHex(tr):tr,toBlock:typeof rr=="bigint"?numberToHex(rr):rr,...sr.length?{topics:sr}:{}}]});return{abi:nr,args:a,eventName:rt?rt.name:void 0,fromBlock:tr,id:ar,request:ir(ar),strict:Ut,toBlock:rr,type:"event"}}async function createPendingTransactionFilter$2(o){const s=createFilterRequestScope$2(o,{method:"eth_newPendingTransactionFilter"}),a=await o.request({method:"eth_newPendingTransactionFilter"});return{id:a,request:s(a),type:"transaction"}}async function getBalance$2(o,{address:s,blockNumber:a,blockTag:rt="latest"}){const ot=a?numberToHex(a):void 0,tr=await o.request({method:"eth_getBalance",params:[s,ot||rt]});return BigInt(tr)}async function getBlockTransactionCount$2(o,{blockHash:s,blockNumber:a,blockTag:rt="latest"}={}){const ot=a!==void 0?numberToHex(a):void 0;let tr;return s?tr=await o.request({method:"eth_getBlockTransactionCountByHash",params:[s]}):tr=await o.request({method:"eth_getBlockTransactionCountByNumber",params:[ot||rt]}),hexToNumber$1(tr)}async function getBytecode$2(o,{address:s,blockNumber:a,blockTag:rt="latest"}){const ot=a!==void 0?numberToHex(a):void 0,tr=await o.request({method:"eth_getCode",params:[s,ot||rt]});if(tr!=="0x")return tr}function formatFeeHistory$1(o){var s;return{baseFeePerGas:o.baseFeePerGas.map(a=>BigInt(a)),gasUsedRatio:o.gasUsedRatio,oldestBlock:BigInt(o.oldestBlock),reward:(s=o.reward)==null?void 0:s.map(a=>a.map(rt=>BigInt(rt)))}}async function getFeeHistory$2(o,{blockCount:s,blockNumber:a,blockTag:rt="latest",rewardPercentiles:ot}){const tr=a?numberToHex(a):void 0,Ut=await o.request({method:"eth_feeHistory",params:[numberToHex(s),tr||rt,ot]});return formatFeeHistory$1(Ut)}async function getFilterLogs$2(o,{filter:s}){const a=s.strict??!1;return(await s.request({method:"eth_getFilterLogs",params:[s.id]})).map(ot=>{var tr;try{const{eventName:Ut,args:rr}="abi"in s&&s.abi?decodeEventLog$2({abi:s.abi,data:ot.data,topics:ot.topics,strict:a}):{eventName:void 0,args:void 0};return formatLog$1(ot,{args:rr,eventName:Ut})}catch(Ut){let rr,nr;if(Ut instanceof DecodeLogDataMismatch||Ut instanceof DecodeLogTopicsMismatch){if("strict"in s&&s.strict)return;rr=Ut.abiItem.name,nr=(tr=Ut.abiItem.inputs)==null?void 0:tr.some(ir=>!("name"in ir&&ir.name))}return formatLog$1(ot,{args:nr?[]:{},eventName:rr})}}).filter(Boolean)}const bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,integerRegex=/^(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 hashTypedData$1({domain:o,message:s,primaryType:a,types:rt}){const ot=typeof o>"u"?{}:o,tr={EIP712Domain:getTypesForEIP712Domain({domain:ot}),...rt};validateTypedData({domain:ot,message:s,primaryType:a,types:tr});const Ut=["0x1901"];return ot&&Ut.push(hashDomain({domain:ot,types:tr})),a!=="EIP712Domain"&&Ut.push(hashStruct({data:s,primaryType:a,types:tr})),keccak256$2(concat$3(Ut))}function hashDomain({domain:o,types:s}){return hashStruct({data:o,primaryType:"EIP712Domain",types:s})}function hashStruct({data:o,primaryType:s,types:a}){const rt=encodeData({data:o,primaryType:s,types:a});return keccak256$2(rt)}function encodeData({data:o,primaryType:s,types:a}){const rt=[{type:"bytes32"}],ot=[hashType({primaryType:s,types:a})];for(const tr of a[s]){const[Ut,rr]=encodeField({types:a,name:tr.name,type:tr.type,value:o[tr.name]});rt.push(Ut),ot.push(rr)}return encodeAbiParameters$2(rt,ot)}function hashType({primaryType:o,types:s}){const a=toHex$1(encodeType({primaryType:o,types:s}));return keccak256$2(a)}function encodeType({primaryType:o,types:s}){let a="";const rt=findTypeDependencies({primaryType:o,types:s});rt.delete(o);const ot=[o,...Array.from(rt).sort()];for(const tr of ot)a+=`${tr}(${s[tr].map(({name:Ut,type:rr})=>`${rr} ${Ut}`).join(",")})`;return a}function findTypeDependencies({primaryType:o,types:s},a=new Set){const rt=o.match(/^\w*/u),ot=rt==null?void 0:rt[0];if(a.has(ot)||s[ot]===void 0)return a;a.add(ot);for(const tr of s[ot])findTypeDependencies({primaryType:tr.type,types:s},a);return a}function encodeField({types:o,name:s,type:a,value:rt}){if(o[a]!==void 0)return[{type:"bytes32"},keccak256$2(encodeData({data:rt,primaryType:a,types:o}))];if(a==="bytes")return rt=`0x${(rt.length%2?"0":"")+rt.slice(2)}`,[{type:"bytes32"},keccak256$2(rt)];if(a==="string")return[{type:"bytes32"},keccak256$2(toHex$1(rt))];if(a.lastIndexOf("]")===a.length-1){const ot=a.slice(0,a.lastIndexOf("[")),tr=rt.map(Ut=>encodeField({name:s,type:ot,types:o,value:Ut}));return[{type:"bytes32"},keccak256$2(encodeAbiParameters$2(tr.map(([Ut])=>Ut),tr.map(([,Ut])=>Ut)))]}return[{type:a},rt]}function validateTypedData({domain:o,message:s,primaryType:a,types:rt}){const ot=rt,tr=(Ut,rr)=>{for(const nr of Ut){const{name:ir,type:sr}=nr,ar=sr,cr=rr[ir],ur=ar.match(integerRegex);if(ur&&(typeof cr=="number"||typeof cr=="bigint")){const[vr,mr,pr]=ur;numberToHex(cr,{signed:mr==="int",size:parseInt(pr)/8})}if(ar==="address"&&typeof cr=="string"&&!isAddress$2(cr))throw new InvalidAddressError$1({address:cr});const lr=ar.match(bytesRegex);if(lr){const[vr,mr]=lr;if(mr&&size$4(cr)!==parseInt(mr))throw new BytesSizeMismatchError({expectedSize:parseInt(mr),givenSize:size$4(cr)})}const dr=ot[ar];dr&&tr(dr,cr)}};if(ot.EIP712Domain&&o&&tr(ot.EIP712Domain,o),a!=="EIP712Domain"){const Ut=ot[a];tr(Ut,s)}}function getTypesForEIP712Domain({domain:o}){return[typeof(o==null?void 0:o.name)=="string"&&{name:"name",type:"string"},(o==null?void 0:o.version)&&{name:"version",type:"string"},typeof(o==null?void 0:o.chainId)=="number"&&{name:"chainId",type:"uint256"},(o==null?void 0:o.verifyingContract)&&{name:"verifyingContract",type:"address"},(o==null?void 0:o.salt)&&{name:"salt",type:"bytes32"}].filter(Boolean)}const docsPath$6="/docs/contract/encodeDeployData";function encodeDeployData$2({abi:o,args:s,bytecode:a}){if(!s||s.length===0)return a;const rt=o.find(tr=>"type"in tr&&tr.type==="constructor");if(!rt)throw new AbiConstructorNotFoundError({docsPath:docsPath$6});if(!("inputs"in rt))throw new AbiConstructorParamsNotFoundError({docsPath:docsPath$6});if(!rt.inputs||rt.inputs.length===0)throw new AbiConstructorParamsNotFoundError({docsPath:docsPath$6});const ot=encodeAbiParameters$2(rt.inputs,s);return concatHex$1([a,ot])}const presignMessagePrefix=`Ethereum Signed Message: +`),{docsPath:s,docsSlug:"account"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountNotFoundError"})}},EstimateGasExecutionError$1=class extends BaseError$2{constructor(s,{account:a,docsPath:rt,chain:ot,data:tr,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr}){var lr;const ur=prettyPrint$1({from:a==null?void 0:a.address,to:ar,value:typeof cr<"u"&&`${formatEther$2(cr)} ${((lr=ot==null?void 0:ot.nativeCurrency)==null?void 0:lr.symbol)||"ETH"}`,data:tr,gas:Ut,gasPrice:typeof rr<"u"&&`${formatGwei$2(rr)} gwei`,maxFeePerGas:typeof nr<"u"&&`${formatGwei$2(nr)} gwei`,maxPriorityFeePerGas:typeof ir<"u"&&`${formatGwei$2(ir)} gwei`,nonce:sr});super(s.shortMessage,{cause:s,docsPath:rt,metaMessages:[...s.metaMessages?[...s.metaMessages," "]:[],"Estimate Gas Arguments:",ur].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EstimateGasExecutionError"}),this.cause=s}};function getNodeError$2(o,s){const a=(o.details||"").toLowerCase(),rt=o.walk(ot=>ot.code===ExecutionRevertedError$1.code);return rt instanceof BaseError$2?new ExecutionRevertedError$1({cause:o,message:rt.details}):ExecutionRevertedError$1.nodeMessage.test(a)?new ExecutionRevertedError$1({cause:o,message:o.details}):FeeCapTooHighError$1.nodeMessage.test(a)?new FeeCapTooHighError$1({cause:o,maxFeePerGas:s==null?void 0:s.maxFeePerGas}):FeeCapTooLowError$1.nodeMessage.test(a)?new FeeCapTooLowError$1({cause:o,maxFeePerGas:s==null?void 0:s.maxFeePerGas}):NonceTooHighError$1.nodeMessage.test(a)?new NonceTooHighError$1({cause:o,nonce:s==null?void 0:s.nonce}):NonceTooLowError$1.nodeMessage.test(a)?new NonceTooLowError$1({cause:o,nonce:s==null?void 0:s.nonce}):NonceMaxValueError$1.nodeMessage.test(a)?new NonceMaxValueError$1({cause:o,nonce:s==null?void 0:s.nonce}):InsufficientFundsError$1.nodeMessage.test(a)?new InsufficientFundsError$1({cause:o}):IntrinsicGasTooHighError$1.nodeMessage.test(a)?new IntrinsicGasTooHighError$1({cause:o,gas:s==null?void 0:s.gas}):IntrinsicGasTooLowError$1.nodeMessage.test(a)?new IntrinsicGasTooLowError$1({cause:o,gas:s==null?void 0:s.gas}):TransactionTypeNotSupportedError$1.nodeMessage.test(a)?new TransactionTypeNotSupportedError$1({cause:o}):TipAboveFeeCapError$1.nodeMessage.test(a)?new TipAboveFeeCapError$1({cause:o,maxFeePerGas:s==null?void 0:s.maxFeePerGas,maxPriorityFeePerGas:s==null?void 0:s.maxPriorityFeePerGas}):new UnknownNodeError$1({cause:o})}function getEstimateGasError$2(o,{docsPath:s,...a}){const rt=(()=>{const ot=getNodeError$2(o,a);return ot instanceof UnknownNodeError$1?o:ot})();return new EstimateGasExecutionError$1(rt,{docsPath:s,...a})}function extract$2(o,{format:s}){if(!s)return{};const a={};function rt(tr){const Ut=Object.keys(tr);for(const rr of Ut)rr in o&&(a[rr]=o[rr]),tr[rr]&&typeof tr[rr]=="object"&&!Array.isArray(tr[rr])&&rt(tr[rr])}const ot=s(o||{});return rt(ot),a}function assertRequest$2(o){const{account:s,gasPrice:a,maxFeePerGas:rt,maxPriorityFeePerGas:ot,to:tr}=o,Ut=s?parseAccount$2(s):void 0;if(Ut&&!isAddress$2(Ut.address))throw new InvalidAddressError$1({address:Ut.address});if(tr&&!isAddress$2(tr))throw new InvalidAddressError$1({address:tr});if(typeof a<"u"&&(typeof rt<"u"||typeof ot<"u"))throw new FeeConflictError$1;if(rt&&rt>2n**256n-1n)throw new FeeCapTooHighError$1({maxFeePerGas:rt});if(ot&&rt&&ot>rt)throw new TipAboveFeeCapError$1({maxFeePerGas:rt,maxPriorityFeePerGas:ot})}let BaseFeeScalarError$1=class extends BaseError$2{constructor(){super("`baseFeeMultiplier` must be greater than 1."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseFeeScalarError"})}},Eip1559FeesNotSupportedError$1=class extends BaseError$2{constructor(){super("Chain does not support EIP-1559 fees."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Eip1559FeesNotSupportedError"})}},MaxFeePerGasTooLowError$1=class extends BaseError$2{constructor({maxPriorityFeePerGas:s}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${formatGwei$2(s)} gwei).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MaxFeePerGasTooLowError"})}},BlockNotFoundError$1=class extends BaseError$2{constructor({blockHash:s,blockNumber:a}){let rt="Block";s&&(rt=`Block at hash "${s}"`),a&&(rt=`Block at number "${a}"`),super(`${rt} could not be found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BlockNotFoundError"})}};async function getBlock$2(o,{blockHash:s,blockNumber:a,blockTag:rt,includeTransactions:ot}={}){var sr,ar,cr;const tr=rt??"latest",Ut=ot??!1,rr=a!==void 0?numberToHex(a):void 0;let nr=null;if(s?nr=await o.request({method:"eth_getBlockByHash",params:[s,Ut]}):nr=await o.request({method:"eth_getBlockByNumber",params:[rr||tr,Ut]}),!nr)throw new BlockNotFoundError$1({blockHash:s,blockNumber:a});return(((cr=(ar=(sr=o.chain)==null?void 0:sr.formatters)==null?void 0:ar.block)==null?void 0:cr.format)||formatBlock$1)(nr)}async function getGasPrice$2(o){const s=await o.request({method:"eth_gasPrice"});return BigInt(s)}async function estimateMaxPriorityFeePerGas$2(o,s){return internal_estimateMaxPriorityFeePerGas$1(o,s)}async function internal_estimateMaxPriorityFeePerGas$1(o,s){var tr,Ut,rr;const{block:a,chain:rt=o.chain,request:ot}=s||{};if(typeof((tr=rt==null?void 0:rt.fees)==null?void 0:tr.defaultPriorityFee)=="function"){const nr=a||await getAction$2(o,getBlock$2,"getBlock")({});return rt.fees.defaultPriorityFee({block:nr,client:o,request:ot})}else if(typeof((Ut=rt==null?void 0:rt.fees)==null?void 0:Ut.defaultPriorityFee)<"u")return(rr=rt==null?void 0:rt.fees)==null?void 0:rr.defaultPriorityFee;try{const nr=await o.request({method:"eth_maxPriorityFeePerGas"});return hexToBigInt(nr)}catch{const[nr,ir]=await Promise.all([a?Promise.resolve(a):getAction$2(o,getBlock$2,"getBlock")({}),getAction$2(o,getGasPrice$2,"getGasPrice")({})]);if(typeof nr.baseFeePerGas!="bigint")throw new Eip1559FeesNotSupportedError$1;const sr=ir-nr.baseFeePerGas;return sr<0n?0n:sr}}async function estimateFeesPerGas$2(o,s){return internal_estimateFeesPerGas$1(o,s)}async function internal_estimateFeesPerGas$1(o,s){var cr,ur;const{block:a,chain:rt=o.chain,request:ot,type:tr="eip1559"}=s||{},Ut=await(async()=>{var lr,dr;return typeof((lr=rt==null?void 0:rt.fees)==null?void 0:lr.baseFeeMultiplier)=="function"?rt.fees.baseFeeMultiplier({block:a,client:o,request:ot}):((dr=rt==null?void 0:rt.fees)==null?void 0:dr.baseFeeMultiplier)??1.2})();if(Ut<1)throw new BaseFeeScalarError$1;const nr=10**(((cr=Ut.toString().split(".")[1])==null?void 0:cr.length)??0),ir=lr=>lr*BigInt(Math.ceil(Ut*nr))/BigInt(nr),sr=a||await getAction$2(o,getBlock$2,"getBlock")({});if(typeof((ur=rt==null?void 0:rt.fees)==null?void 0:ur.estimateFeesPerGas)=="function")return rt.fees.estimateFeesPerGas({block:a,client:o,multiply:ir,request:ot,type:tr});if(tr==="eip1559"){if(typeof sr.baseFeePerGas!="bigint")throw new Eip1559FeesNotSupportedError$1;const lr=ot!=null&&ot.maxPriorityFeePerGas?ot.maxPriorityFeePerGas:await internal_estimateMaxPriorityFeePerGas$1(o,{block:sr,chain:rt,request:ot}),dr=ir(sr.baseFeePerGas);return{maxFeePerGas:(ot==null?void 0:ot.maxFeePerGas)??dr+lr,maxPriorityFeePerGas:lr}}return{gasPrice:(ot==null?void 0:ot.gasPrice)??ir(await getAction$2(o,getGasPrice$2,"getGasPrice")({}))}}async function getTransactionCount$2(o,{address:s,blockTag:a="latest",blockNumber:rt}){const ot=await o.request({method:"eth_getTransactionCount",params:[s,rt?numberToHex(rt):a]});return hexToNumber$1(ot)}function getTransactionType$2(o){if(o.type)return o.type;if(typeof o.maxFeePerGas<"u"||typeof o.maxPriorityFeePerGas<"u")return"eip1559";if(typeof o.gasPrice<"u")return typeof o.accessList<"u"?"eip2930":"legacy";throw new InvalidSerializableTransactionError$1({transaction:o})}async function prepareTransactionRequest$1(o,s){const{account:a=o.account,chain:rt,gas:ot,nonce:tr,type:Ut}=s;if(!a)throw new AccountNotFoundError$1;const rr=parseAccount$2(a),nr=await getAction$2(o,getBlock$2,"getBlock")({blockTag:"latest"}),ir={...s,from:rr.address};if(typeof tr>"u"&&(ir.nonce=await getAction$2(o,getTransactionCount$2,"getTransactionCount")({address:rr.address,blockTag:"pending"})),typeof Ut>"u")try{ir.type=getTransactionType$2(ir)}catch{ir.type=typeof nr.baseFeePerGas=="bigint"?"eip1559":"legacy"}if(ir.type==="eip1559"){const{maxFeePerGas:sr,maxPriorityFeePerGas:ar}=await internal_estimateFeesPerGas$1(o,{block:nr,chain:rt,request:ir});if(typeof s.maxPriorityFeePerGas>"u"&&s.maxFeePerGas&&s.maxFeePerGas"u"&&(ir.gas=await getAction$2(o,estimateGas$2,"estimateGas")({...ir,account:{address:rr.address,type:"json-rpc"}})),assertRequest$2(ir),ir}async function estimateGas$2(o,s){var ot,tr,Ut;const a=s.account??o.account;if(!a)throw new AccountNotFoundError$1({docsPath:"/docs/actions/public/estimateGas"});const rt=parseAccount$2(a);try{const{accessList:rr,blockNumber:nr,blockTag:ir,data:sr,gas:ar,gasPrice:cr,maxFeePerGas:ur,maxPriorityFeePerGas:lr,nonce:dr,to:vr,value:mr,...pr}=rt.type==="local"?await prepareTransactionRequest$1(o,s):s,_r=(nr?numberToHex(nr):void 0)||ir;assertRequest$2(s);const wr=(Ut=(tr=(ot=o.chain)==null?void 0:ot.formatters)==null?void 0:tr.transactionRequest)==null?void 0:Ut.format,yr=(wr||formatTransactionRequest)({...extract$2(pr,{format:wr}),from:rt.address,accessList:rr,data:sr,gas:ar,gasPrice:cr,maxFeePerGas:ur,maxPriorityFeePerGas:lr,nonce:dr,to:vr,value:mr}),Ar=await o.request({method:"eth_estimateGas",params:_r?[yr,_r]:[yr]});return BigInt(Ar)}catch(rr){throw getEstimateGasError$2(rr,{...s,account:rt,chain:o.chain})}}async function estimateContractGas$2(o,{abi:s,address:a,args:rt,functionName:ot,...tr}){const Ut=encodeFunctionData$2({abi:s,args:rt,functionName:ot});try{return await getAction$2(o,estimateGas$2,"estimateGas")({data:Ut,to:a,...tr})}catch(rr){const nr=tr.account?parseAccount$2(tr.account):void 0;throw getContractError$2(rr,{abi:s,address:a,args:rt,docsPath:"/docs/contract/estimateContractGas",functionName:ot,sender:nr==null?void 0:nr.address})}}const docsPath$8="/docs/contract/decodeEventLog";function decodeEventLog$2({abi:o,data:s,strict:a,topics:rt}){const ot=a??!0,[tr,...Ut]=rt;if(!tr)throw new AbiEventSignatureEmptyTopicsError({docsPath:docsPath$8});const rr=o.find(lr=>lr.type==="event"&&tr===getEventSelector$2(formatAbiItem$1(lr)));if(!(rr&&"name"in rr)||rr.type!=="event")throw new AbiEventSignatureNotFoundError(tr,{docsPath:docsPath$8});const{name:nr,inputs:ir}=rr,sr=ir==null?void 0:ir.some(lr=>!("name"in lr&&lr.name));let ar=sr?[]:{};const cr=ir.filter(lr=>"indexed"in lr&&lr.indexed);for(let lr=0;lr!("indexed"in lr&&lr.indexed));if(ur.length>0){if(s&&s!=="0x")try{const lr=decodeAbiParameters$2(ur,s);if(lr)if(sr)ar=[...ar,...lr];else for(let dr=0;dr0?ar:void 0}}function decodeTopic$1({param:o,value:s}){return o.type==="string"||o.type==="bytes"||o.type==="tuple"||o.type.match(/^(.*)\[(\d+)?\]$/)?s:(decodeAbiParameters$2([o],s)||[])[0]}async function getLogs$2(o,{address:s,blockHash:a,fromBlock:rt,toBlock:ot,event:tr,events:Ut,args:rr,strict:nr}={}){const ir=nr??!1,sr=Ut??(tr?[tr]:void 0);let ar=[];sr&&(ar=[sr.flatMap(ur=>encodeEventTopics$2({abi:[ur],eventName:ur.name,args:rr}))],tr&&(ar=ar[0]));let cr;return a?cr=await o.request({method:"eth_getLogs",params:[{address:s,topics:ar,blockHash:a}]}):cr=await o.request({method:"eth_getLogs",params:[{address:s,topics:ar,fromBlock:typeof rt=="bigint"?numberToHex(rt):rt,toBlock:typeof ot=="bigint"?numberToHex(ot):ot}]}),cr.map(ur=>{var lr;try{const{eventName:dr,args:vr}=sr?decodeEventLog$2({abi:sr,data:ur.data,topics:ur.topics,strict:ir}):{eventName:void 0,args:void 0};return formatLog$1(ur,{args:vr,eventName:dr})}catch(dr){let vr,mr;if(dr instanceof DecodeLogDataMismatch||dr instanceof DecodeLogTopicsMismatch){if(ir)return;vr=dr.abiItem.name,mr=(lr=dr.abiItem.inputs)==null?void 0:lr.some(pr=>!("name"in pr&&pr.name))}return formatLog$1(ur,{args:mr?[]:{},eventName:vr})}}).filter(Boolean)}async function getContractEvents$2(o,{abi:s,address:a,args:rt,blockHash:ot,eventName:tr,fromBlock:Ut,toBlock:rr,strict:nr}){const ir=tr?getAbiItem$2({abi:s,name:tr}):void 0,sr=ir?void 0:s.filter(ar=>ar.type==="event");return getAction$2(o,getLogs$2,"getLogs")({address:a,args:rt,blockHash:ot,event:ir,events:sr,fromBlock:Ut,toBlock:rr,strict:nr})}const docsPath$7="/docs/contract/decodeFunctionResult";function decodeFunctionResult$2({abi:o,args:s,functionName:a,data:rt}){let ot=o[0];if(a&&(ot=getAbiItem$2({abi:o,args:s,name:a}),!ot))throw new AbiFunctionNotFoundError(a,{docsPath:docsPath$7});if(ot.type!=="function")throw new AbiFunctionNotFoundError(void 0,{docsPath:docsPath$7});if(!ot.outputs)throw new AbiFunctionOutputsNotFoundError(ot.name,{docsPath:docsPath$7});const tr=decodeAbiParameters$2(ot.outputs,rt);if(tr&&tr.length>1)return tr;if(tr&&tr.length===1)return tr[0]}const scriptRel="modulepreload",assetsURL=function(o,s){return new URL(o,s).href},seen={},__vitePreload=function o(s,a,rt){if(!a||a.length===0)return s();const ot=document.getElementsByTagName("link");return Promise.all(a.map(tr=>{if(tr=assetsURL(tr,rt),tr in seen)return;seen[tr]=!0;const Ut=tr.endsWith(".css"),rr=Ut?'[rel="stylesheet"]':"";if(!!rt)for(let sr=ot.length-1;sr>=0;sr--){const ar=ot[sr];if(ar.href===tr&&(!Ut||ar.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${tr}"]${rr}`))return;const ir=document.createElement("link");if(ir.rel=Ut?"stylesheet":scriptRel,Ut||(ir.as="script",ir.crossOrigin=""),ir.href=tr,document.head.appendChild(ir),Ut)return new Promise((sr,ar)=>{ir.addEventListener("load",sr),ir.addEventListener("error",()=>ar(new Error(`Unable to preload CSS for ${tr}`)))})})).then(()=>s()).catch(tr=>{const Ut=new Event("vite:preloadError",{cancelable:!0});if(Ut.payload=tr,window.dispatchEvent(Ut),!Ut.defaultPrevented)throw tr})},multicall3Abi=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"}],universalResolverErrors$1=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"}],universalResolverResolveAbi=[...universalResolverErrors$1,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],universalResolverReverseAbi=[...universalResolverErrors$1,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],textResolverAbi=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],addressResolverAbi=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],universalSignatureValidatorAbi=[{inputs:[{internalType:"address",name:"_signer",type:"address"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes",name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"}],aggregate3Signature="0x82ad56cb";function getChainContractAddress$2({blockNumber:o,chain:s,contract:a}){var ot;const rt=(ot=s==null?void 0:s.contracts)==null?void 0:ot[a];if(!rt)throw new ChainDoesNotSupportContract$1({chain:s,contract:{name:a}});if(o&&rt.blockCreated&&rt.blockCreated>o)throw new ChainDoesNotSupportContract$1({blockNumber:o,chain:s,contract:{name:a,blockCreated:rt.blockCreated}});return rt.address}function getCallError$2(o,{docsPath:s,...a}){const rt=(()=>{const ot=getNodeError$2(o,a);return ot instanceof UnknownNodeError$1?o:ot})();return new CallExecutionError$1(rt,{docsPath:s,...a})}const schedulerCache$1=new Map;function createBatchScheduler$2({fn:o,id:s,shouldSplitBatch:a,wait:rt=0,sort:ot}){const tr=async()=>{const sr=nr();Ut();const ar=sr.map(({args:cr})=>cr);ar.length!==0&&o(ar).then(cr=>{var ur;ot&&Array.isArray(cr)&&cr.sort(ot);for(let lr=0;lr{var ur;for(let lr=0;lrschedulerCache$1.delete(s),rr=()=>nr().map(({args:sr})=>sr),nr=()=>schedulerCache$1.get(s)||[],ir=sr=>schedulerCache$1.set(s,[...nr(),sr]);return{flush:Ut,async schedule(sr){const ar={},cr=new Promise((dr,vr)=>{ar.resolve=dr,ar.reject=vr});return(a==null?void 0:a([...rr(),sr]))&&tr(),nr().length>0?(ir({args:sr,pendingPromise:ar}),cr):(ir({args:sr,pendingPromise:ar}),setTimeout(tr,rt),cr)}}}async function call$1(o,s){var mr,pr,br,_r;const{account:a=o.account,batch:rt=!!((mr=o.batch)!=null&&mr.multicall),blockNumber:ot,blockTag:tr="latest",accessList:Ut,data:rr,gas:nr,gasPrice:ir,maxFeePerGas:sr,maxPriorityFeePerGas:ar,nonce:cr,to:ur,value:lr,...dr}=s,vr=a?parseAccount$2(a):void 0;try{assertRequest$2(s);const jr=(ot?numberToHex(ot):void 0)||tr,yr=(_r=(br=(pr=o.chain)==null?void 0:pr.formatters)==null?void 0:br.transactionRequest)==null?void 0:_r.format,Pr=(yr||formatTransactionRequest)({...extract$2(dr,{format:yr}),from:vr==null?void 0:vr.address,accessList:Ut,data:rr,gas:nr,gasPrice:ir,maxFeePerGas:sr,maxPriorityFeePerGas:ar,nonce:cr,to:ur,value:lr});if(rt&&shouldPerformMulticall({request:Pr}))try{return await scheduleMulticall(o,{...Pr,blockNumber:ot,blockTag:tr})}catch(kr){if(!(kr instanceof ClientChainNotConfiguredError$1)&&!(kr instanceof ChainDoesNotSupportContract$1))throw kr}const Tr=await o.request({method:"eth_call",params:jr?[Pr,jr]:[Pr]});return Tr==="0x"?{data:void 0}:{data:Tr}}catch(wr){const jr=getRevertErrorData(wr),{offchainLookup:yr,offchainLookupSignature:Ar}=await __vitePreload(()=>import("./ccip-cab04dac.js"),[],import.meta.url);if((jr==null?void 0:jr.slice(0,10))===Ar&&ur)return{data:await yr(o,{data:jr,to:ur})};throw getCallError$2(wr,{...s,account:vr,chain:o.chain})}}function shouldPerformMulticall({request:o}){const{data:s,to:a,...rt}=o;return!(!s||s.startsWith(aggregate3Signature)||!a||Object.values(rt).filter(ot=>typeof ot<"u").length>0)}async function scheduleMulticall(o,s){var dr;const{batchSize:a=1024,wait:rt=0}=typeof((dr=o.batch)==null?void 0:dr.multicall)=="object"?o.batch.multicall:{},{blockNumber:ot,blockTag:tr="latest",data:Ut,multicallAddress:rr,to:nr}=s;let ir=rr;if(!ir){if(!o.chain)throw new ClientChainNotConfiguredError$1;ir=getChainContractAddress$2({blockNumber:ot,chain:o.chain,contract:"multicall3"})}const ar=(ot?numberToHex(ot):void 0)||tr,{schedule:cr}=createBatchScheduler$2({id:`${o.uid}.${ar}`,wait:rt,shouldSplitBatch(vr){return vr.reduce((pr,{data:br})=>pr+(br.length-2),0)>a*2},fn:async vr=>{const mr=vr.map(_r=>({allowFailure:!0,callData:_r.data,target:_r.to})),pr=encodeFunctionData$2({abi:multicall3Abi,args:[mr],functionName:"aggregate3"}),br=await o.request({method:"eth_call",params:[{data:pr,to:ir},ar]});return decodeFunctionResult$2({abi:multicall3Abi,args:[mr],functionName:"aggregate3",data:br||"0x"})}}),[{returnData:ur,success:lr}]=await cr({data:Ut,to:nr});if(!lr)throw new RawContractError$1({data:ur});return ur==="0x"?{data:void 0}:{data:ur}}function getRevertErrorData(o){if(!(o instanceof BaseError$2))return;const s=o.walk();return typeof s.data=="object"?s.data.data:s.data}async function readContract$3(o,{abi:s,address:a,args:rt,functionName:ot,...tr}){const Ut=encodeFunctionData$2({abi:s,args:rt,functionName:ot});try{const{data:rr}=await getAction$2(o,call$1,"call")({data:Ut,to:a,...tr});return decodeFunctionResult$2({abi:s,args:rt,functionName:ot,data:rr||"0x"})}catch(rr){throw getContractError$2(rr,{abi:s,address:a,args:rt,docsPath:"/docs/contract/readContract",functionName:ot})}}async function simulateContract$2(o,{abi:s,address:a,args:rt,dataSuffix:ot,functionName:tr,...Ut}){const rr=Ut.account?parseAccount$2(Ut.account):void 0,nr=encodeFunctionData$2({abi:s,args:rt,functionName:tr});try{const{data:ir}=await getAction$2(o,call$1,"call")({batch:!1,data:`${nr}${ot?ot.replace("0x",""):""}`,to:a,...Ut});return{result:decodeFunctionResult$2({abi:s,args:rt,functionName:tr,data:ir||"0x"}),request:{abi:s,address:a,args:rt,dataSuffix:ot,functionName:tr,...Ut}}}catch(ir){throw getContractError$2(ir,{abi:s,address:a,args:rt,docsPath:"/docs/contract/simulateContract",functionName:tr,sender:rr==null?void 0:rr.address})}}const listenersCache=new Map,cleanupCache=new Map;let callbackCount=0;function observe$1(o,s,a){const rt=++callbackCount,ot=()=>listenersCache.get(o)||[],tr=()=>{const sr=ot();listenersCache.set(o,sr.filter(ar=>ar.id!==rt))},Ut=()=>{const sr=cleanupCache.get(o);ot().length===1&&sr&&sr(),tr()},rr=ot();if(listenersCache.set(o,[...rr,{id:rt,fns:s}]),rr&&rr.length>0)return Ut;const nr={};for(const sr in s)nr[sr]=(...ar)=>{var ur,lr;const cr=ot();if(cr.length!==0)for(const dr of cr)(lr=(ur=dr.fns)[sr])==null||lr.call(ur,...ar)};const ir=a(nr);return typeof ir=="function"&&cleanupCache.set(o,ir),Ut}async function wait$2(o){return new Promise(s=>setTimeout(s,o))}function poll$2(o,{emitOnBegin:s,initialWaitTime:a,interval:rt}){let ot=!0;const tr=()=>ot=!1;return(async()=>{let rr;s&&(rr=await o({unpoll:tr}));const nr=await(a==null?void 0:a(rr))??rt;await wait$2(nr);const ir=async()=>{ot&&(await o({unpoll:tr}),await wait$2(rt),ir())};ir()})(),tr}const promiseCache=new Map,responseCache=new Map;function getCache(o){const s=(ot,tr)=>({clear:()=>tr.delete(ot),get:()=>tr.get(ot),set:Ut=>tr.set(ot,Ut)}),a=s(o,promiseCache),rt=s(o,responseCache);return{clear:()=>{a.clear(),rt.clear()},promise:a,response:rt}}async function withCache$1(o,{cacheKey:s,cacheTime:a=1/0}){const rt=getCache(s),ot=rt.response.get();if(ot&&a>0&&new Date().getTime()-ot.created.getTime()`blockNumber.${o}`;async function getBlockNumber$2(o,{cacheTime:s=o.cacheTime,maxAge:a}={}){const rt=await withCache$1(()=>o.request({method:"eth_blockNumber"}),{cacheKey:cacheKey$1(o.uid),cacheTime:a??s});return BigInt(rt)}async function getFilterChanges$2(o,{filter:s}){const a="strict"in s&&s.strict;return(await s.request({method:"eth_getFilterChanges",params:[s.id]})).map(ot=>{var tr;if(typeof ot=="string")return ot;try{const{eventName:Ut,args:rr}="abi"in s&&s.abi?decodeEventLog$2({abi:s.abi,data:ot.data,topics:ot.topics,strict:a}):{eventName:void 0,args:void 0};return formatLog$1(ot,{args:rr,eventName:Ut})}catch(Ut){let rr,nr;if(Ut instanceof DecodeLogDataMismatch||Ut instanceof DecodeLogTopicsMismatch){if("strict"in s&&s.strict)return;rr=Ut.abiItem.name,nr=(tr=Ut.abiItem.inputs)==null?void 0:tr.some(ir=>!("name"in ir&&ir.name))}return formatLog$1(ot,{args:nr?[]:{},eventName:rr})}}).filter(Boolean)}async function uninstallFilter$2(o,{filter:s}){return s.request({method:"eth_uninstallFilter",params:[s.id]})}function watchContractEvent$2(o,{abi:s,address:a,args:rt,batch:ot=!0,eventName:tr,onError:Ut,onLogs:rr,poll:nr,pollingInterval:ir=o.pollingInterval,strict:sr}){return(typeof nr<"u"?nr:o.transport.type!=="webSocket")?(()=>{const lr=stringify$2(["watchContractEvent",a,rt,ot,o.uid,tr,ir]),dr=sr??!1;return observe$1(lr,{onLogs:rr,onError:Ut},vr=>{let mr,pr,br=!1;const _r=poll$2(async()=>{var wr;if(!br){try{pr=await getAction$2(o,createContractEventFilter$2,"createContractEventFilter")({abi:s,address:a,args:rt,eventName:tr,strict:dr})}catch{}br=!0;return}try{let jr;if(pr)jr=await getAction$2(o,getFilterChanges$2,"getFilterChanges")({filter:pr});else{const yr=await getAction$2(o,getBlockNumber$2,"getBlockNumber")({});mr&&mr!==yr?jr=await getAction$2(o,getContractEvents$2,"getContractEvents")({abi:s,address:a,args:rt,eventName:tr,fromBlock:mr+1n,toBlock:yr,strict:dr}):jr=[],mr=yr}if(jr.length===0)return;if(ot)vr.onLogs(jr);else for(const yr of jr)vr.onLogs([yr])}catch(jr){pr&&jr instanceof InvalidInputRpcError$1&&(br=!1),(wr=vr.onError)==null||wr.call(vr,jr)}},{emitOnBegin:!0,interval:ir});return async()=>{pr&&await getAction$2(o,uninstallFilter$2,"uninstallFilter")({filter:pr}),_r()}})})():(()=>{let lr=!0,dr=()=>lr=!1;return(async()=>{try{const vr=tr?encodeEventTopics$2({abi:s,eventName:tr,args:rt}):[],{unsubscribe:mr}=await o.transport.subscribe({params:["logs",{address:a,topics:vr}],onData(pr){var _r;if(!lr)return;const br=pr.result;try{const{eventName:wr,args:jr}=decodeEventLog$2({abi:s,data:br.data,topics:br.topics,strict:sr}),yr=formatLog$1(br,{args:jr,eventName:wr});rr([yr])}catch(wr){let jr,yr;if(wr instanceof DecodeLogDataMismatch||wr instanceof DecodeLogTopicsMismatch){if(sr)return;jr=wr.abiItem.name,yr=(_r=wr.abiItem.inputs)==null?void 0:_r.some(Pr=>!("name"in Pr&&Pr.name))}const Ar=formatLog$1(br,{args:yr?[]:{},eventName:jr});rr([Ar])}},onError(pr){Ut==null||Ut(pr)}});dr=mr,lr||dr()}catch(vr){Ut==null||Ut(vr)}})(),dr})()}function assertCurrentChain$2({chain:o,currentChainId:s}){if(!o)throw new ChainNotFoundError$1;if(s!==o.id)throw new ChainMismatchError$2({chain:o,currentChainId:s})}function getTransactionError$2(o,{docsPath:s,...a}){const rt=(()=>{const ot=getNodeError$2(o,a);return ot instanceof UnknownNodeError$1?o:ot})();return new TransactionExecutionError$1(rt,{docsPath:s,...a})}async function getChainId$2(o){const s=await o.request({method:"eth_chainId"});return hexToNumber$1(s)}async function sendRawTransaction$2(o,{serializedTransaction:s}){return o.request({method:"eth_sendRawTransaction",params:[s]})}async function sendTransaction$3(o,s){var dr,vr,mr,pr;const{account:a=o.account,chain:rt=o.chain,accessList:ot,data:tr,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr,...ur}=s;if(!a)throw new AccountNotFoundError$1({docsPath:"/docs/actions/wallet/sendTransaction"});const lr=parseAccount$2(a);try{assertRequest$2(s);let br;if(rt!==null&&(br=await getAction$2(o,getChainId$2,"getChainId")({}),assertCurrentChain$2({currentChainId:br,chain:rt})),lr.type==="local"){const yr=await getAction$2(o,prepareTransactionRequest$1,"prepareTransactionRequest")({account:lr,accessList:ot,chain:rt,data:tr,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr,...ur});br||(br=await getAction$2(o,getChainId$2,"getChainId")({}));const Ar=(dr=rt==null?void 0:rt.serializers)==null?void 0:dr.transaction,Pr=await lr.signTransaction({...yr,chainId:br},{serializer:Ar});return await getAction$2(o,sendRawTransaction$2,"sendRawTransaction")({serializedTransaction:Pr})}const _r=(pr=(mr=(vr=o.chain)==null?void 0:vr.formatters)==null?void 0:mr.transactionRequest)==null?void 0:pr.format,jr=(_r||formatTransactionRequest)({...extract$2(ur,{format:_r}),accessList:ot,data:tr,from:lr.address,gas:Ut,gasPrice:rr,maxFeePerGas:nr,maxPriorityFeePerGas:ir,nonce:sr,to:ar,value:cr});return await o.request({method:"eth_sendTransaction",params:[jr]})}catch(br){throw getTransactionError$2(br,{...s,account:lr,chain:s.chain||void 0})}}async function writeContract$3(o,{abi:s,address:a,args:rt,dataSuffix:ot,functionName:tr,...Ut}){const rr=encodeFunctionData$2({abi:s,args:rt,functionName:tr});return await getAction$2(o,sendTransaction$3,"sendTransaction")({data:`${rr}${ot?ot.replace("0x",""):""}`,to:a,...Ut})}async function addChain$2(o,{chain:s}){const{id:a,name:rt,nativeCurrency:ot,rpcUrls:tr,blockExplorers:Ut}=s;await o.request({method:"wallet_addEthereumChain",params:[{chainId:numberToHex(a),chainName:rt,nativeCurrency:ot,rpcUrls:tr.default.http,blockExplorerUrls:Ut?Object.values(Ut).map(({url:rr})=>rr):void 0}]})}const size$3=256;let index$1=size$3,buffer$1;function uid$2(o=11){if(!buffer$1||index$1+o>size$3*2){buffer$1="",index$1=0;for(let s=0;s{const mr=vr(dr);for(const br in ur)delete mr[br];const pr={...dr,...mr};return Object.assign(pr,{extend:lr(pr)})}}return Object.assign(ur,{extend:lr(ur)})}function withRetry$2(o,{delay:s=100,retryCount:a=2,shouldRetry:rt=()=>!0}={}){return new Promise((ot,tr)=>{const Ut=async({count:rr=0}={})=>{const nr=async({error:ir})=>{const sr=typeof s=="function"?s({count:rr,error:ir}):s;sr&&await wait$2(sr),Ut({count:rr+1})};try{const ir=await o();ot(ir)}catch(ir){if(rr"code"in o?o.code!==-1&&o.code!==-32004&&o.code!==-32005&&o.code!==-32042&&o.code!==-32603:o instanceof HttpRequestError$1&&o.status?o.status!==403&&o.status!==408&&o.status!==413&&o.status!==429&&o.status!==500&&o.status!==502&&o.status!==503&&o.status!==504:!1;function buildRequest$1(o,{retryDelay:s=150,retryCount:a=3}={}){return async rt=>withRetry$2(async()=>{try{return await o(rt)}catch(ot){const tr=ot;switch(tr.code){case ParseRpcError$1.code:throw new ParseRpcError$1(tr);case InvalidRequestRpcError$1.code:throw new InvalidRequestRpcError$1(tr);case MethodNotFoundRpcError$1.code:throw new MethodNotFoundRpcError$1(tr);case InvalidParamsRpcError$1.code:throw new InvalidParamsRpcError$1(tr);case InternalRpcError$1.code:throw new InternalRpcError$1(tr);case InvalidInputRpcError$1.code:throw new InvalidInputRpcError$1(tr);case ResourceNotFoundRpcError$1.code:throw new ResourceNotFoundRpcError$1(tr);case ResourceUnavailableRpcError$1.code:throw new ResourceUnavailableRpcError$1(tr);case TransactionRejectedRpcError$1.code:throw new TransactionRejectedRpcError$1(tr);case MethodNotSupportedRpcError$1.code:throw new MethodNotSupportedRpcError$1(tr);case LimitExceededRpcError$1.code:throw new LimitExceededRpcError$1(tr);case JsonRpcVersionUnsupportedError$1.code:throw new JsonRpcVersionUnsupportedError$1(tr);case UserRejectedRequestError$1.code:throw new UserRejectedRequestError$1(tr);case UnauthorizedProviderError$1.code:throw new UnauthorizedProviderError$1(tr);case UnsupportedProviderMethodError$1.code:throw new UnsupportedProviderMethodError$1(tr);case ProviderDisconnectedError$1.code:throw new ProviderDisconnectedError$1(tr);case ChainDisconnectedError$1.code:throw new ChainDisconnectedError$1(tr);case SwitchChainError$1.code:throw new SwitchChainError$1(tr);case 5e3:throw new UserRejectedRequestError$1(tr);default:throw ot instanceof BaseError$2?ot:new UnknownRpcError$1(tr)}}},{delay:({count:ot,error:tr})=>{var Ut;if(tr&&tr instanceof HttpRequestError$1){const rr=(Ut=tr==null?void 0:tr.headers)==null?void 0:Ut.get("Retry-After");if(rr!=null&&rr.match(/\d/))return parseInt(rr)*1e3}return~~(1<!isDeterministicError(ot)})}function createTransport$2({key:o,name:s,request:a,retryCount:rt=3,retryDelay:ot=150,timeout:tr,type:Ut},rr){return{config:{key:o,name:s,request:a,retryCount:rt,retryDelay:ot,timeout:tr,type:Ut},request:buildRequest$1(a,{retryCount:rt,retryDelay:ot}),value:rr}}function custom$2(o,s={}){const{key:a="custom",name:rt="Custom Provider",retryDelay:ot}=s;return({retryCount:tr})=>createTransport$2({key:a,name:rt,request:o.request.bind(o),retryCount:s.retryCount??tr,retryDelay:ot,type:"custom"})}function fallback$2(o,s={}){const{key:a="fallback",name:rt="Fallback",rank:ot=!1,retryCount:tr,retryDelay:Ut}=s;return({chain:rr,pollingInterval:nr=4e3,timeout:ir})=>{let sr=o,ar=()=>{};const cr=createTransport$2({key:a,name:rt,async request({method:ur,params:lr}){const dr=async(vr=0)=>{const mr=sr[vr]({chain:rr,retryCount:0,timeout:ir});try{const pr=await mr.request({method:ur,params:lr});return ar({method:ur,params:lr,response:pr,transport:mr,status:"success"}),pr}catch(pr){if(ar({error:pr,method:ur,params:lr,transport:mr,status:"error"}),isDeterministicError(pr)||vr===sr.length-1)throw pr;return dr(vr+1)}};return dr()},retryCount:tr,retryDelay:Ut,type:"fallback"},{onResponse:ur=>ar=ur,transports:sr.map(ur=>ur({chain:rr,retryCount:0}))});if(ot){const ur=typeof ot=="object"?ot:{};rankTransports$1({chain:rr,interval:ur.interval??nr,onTransports:lr=>sr=lr,sampleCount:ur.sampleCount,timeout:ur.timeout,transports:sr,weights:ur.weights})}return cr}}function rankTransports$1({chain:o,interval:s=4e3,onTransports:a,sampleCount:rt=10,timeout:ot=1e3,transports:tr,weights:Ut={}}){const{stability:rr=.7,latency:nr=.3}=Ut,ir=[],sr=async()=>{const ar=await Promise.all(tr.map(async lr=>{const dr=lr({chain:o,retryCount:0,timeout:ot}),vr=Date.now();let mr,pr;try{await dr.request({method:"net_listening"}),pr=1}catch{pr=0}finally{mr=Date.now()}return{latency:mr-vr,success:pr}}));ir.push(ar),ir.length>rt&&ir.shift();const cr=Math.max(...ir.map(lr=>Math.max(...lr.map(({latency:dr})=>dr)))),ur=tr.map((lr,dr)=>{const vr=ir.map(wr=>wr[dr].latency),pr=1-vr.reduce((wr,jr)=>wr+jr,0)/vr.length/cr,br=ir.map(wr=>wr[dr].success),_r=br.reduce((wr,jr)=>wr+jr,0)/br.length;return _r===0?[0,dr]:[nr*pr+rr*_r,dr]}).sort((lr,dr)=>dr[0]-lr[0]);a(ur.map(([,lr])=>tr[lr])),await wait$2(s),sr()};sr()}let UrlRequiredError$1=class extends BaseError$2{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro"})}};function getNativeWebSocket(){if(typeof WebSocket<"u")return WebSocket;if(typeof global.WebSocket<"u")return global.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const WebSocket$1=getNativeWebSocket(),native=Object.freeze(Object.defineProperty({__proto__:null,WebSocket:WebSocket$1},Symbol.toStringTag,{value:"Module"}));function withTimeout$2(o,{errorInstance:s=new Error("timed out"),timeout:a,signal:rt}){return new Promise((ot,tr)=>{(async()=>{let Ut;try{const rr=new AbortController;a>0&&(Ut=setTimeout(()=>{rt?rr.abort():tr(s)},a)),ot(await o({signal:rr==null?void 0:rr.signal}))}catch(rr){rr.name==="AbortError"&&tr(s),tr(rr)}finally{clearTimeout(Ut)}})()})}let id=0;async function http$3(o,{body:s,fetchOptions:a={},timeout:rt=1e4}){var rr;const{headers:ot,method:tr,signal:Ut}=a;try{const nr=await withTimeout$2(async({signal:sr})=>await fetch(o,{...a,body:Array.isArray(s)?stringify$2(s.map(cr=>({jsonrpc:"2.0",id:cr.id??id++,...cr}))):stringify$2({jsonrpc:"2.0",id:s.id??id++,...s}),headers:{...ot,"Content-Type":"application/json"},method:tr||"POST",signal:Ut||(rt>0?sr:void 0)}),{errorInstance:new TimeoutError$1({body:s,url:o}),timeout:rt,signal:!0});let ir;if((rr=nr.headers.get("Content-Type"))!=null&&rr.startsWith("application/json")?ir=await nr.json():ir=await nr.text(),!nr.ok)throw new HttpRequestError$1({body:s,details:stringify$2(ir.error)||nr.statusText,headers:nr.headers,status:nr.status,url:o});return ir}catch(nr){throw nr instanceof HttpRequestError$1||nr instanceof TimeoutError$1?nr:new HttpRequestError$1({body:s,details:nr.message,url:o})}}const socketsCache=new Map;async function getSocket(o){let s=socketsCache.get(o);if(s)return s;const{schedule:a}=createBatchScheduler$2({id:o,fn:async()=>{const tr=new WebSocket$1(o),Ut=new Map,rr=new Map,nr=({data:sr})=>{const ar=JSON.parse(sr),cr=ar.method==="eth_subscription",ur=cr?ar.params.subscription:ar.id,lr=cr?rr:Ut,dr=lr.get(ur);dr&&dr({data:sr}),cr||lr.delete(ur)},ir=()=>{socketsCache.delete(o),tr.removeEventListener("close",ir),tr.removeEventListener("message",nr)};return tr.addEventListener("close",ir),tr.addEventListener("message",nr),tr.readyState===WebSocket$1.CONNECTING&&await new Promise((sr,ar)=>{tr&&(tr.onopen=sr,tr.onerror=ar)}),s=Object.assign(tr,{requests:Ut,subscriptions:rr}),socketsCache.set(o,s),[s]}}),[rt,[ot]]=await a();return ot}function webSocket$3(o,{body:s,onResponse:a}){if(o.readyState===o.CLOSED||o.readyState===o.CLOSING)throw new WebSocketRequestError$1({body:s,url:o.url,details:"Socket is closed."});const rt=id++,ot=({data:tr})=>{var rr;const Ut=JSON.parse(tr);typeof Ut.id=="number"&&rt!==Ut.id||(a==null||a(Ut),s.method==="eth_subscribe"&&typeof Ut.result=="string"&&o.subscriptions.set(Ut.result,ot),s.method==="eth_unsubscribe"&&o.subscriptions.delete((rr=s.params)==null?void 0:rr[0]))};return o.requests.set(rt,ot),o.send(JSON.stringify({jsonrpc:"2.0",...s,id:rt})),o}async function webSocketAsync(o,{body:s,timeout:a=1e4}){return withTimeout$2(()=>new Promise(rt=>rpc$3.webSocket(o,{body:s,onResponse:rt})),{errorInstance:new TimeoutError$1({body:s,url:o.url}),timeout:a})}const rpc$3={http:http$3,webSocket:webSocket$3,webSocketAsync};function http$2(o,s={}){const{batch:a,fetchOptions:rt,key:ot="http",name:tr="HTTP JSON-RPC",retryDelay:Ut}=s;return({chain:rr,retryCount:nr,timeout:ir})=>{const{batchSize:sr=1e3,wait:ar=0}=typeof a=="object"?a:{},cr=s.retryCount??nr,ur=ir??s.timeout??1e4,lr=o||(rr==null?void 0:rr.rpcUrls.default.http[0]);if(!lr)throw new UrlRequiredError$1;return createTransport$2({key:ot,name:tr,async request({method:dr,params:vr}){const mr={method:dr,params:vr},{schedule:pr}=createBatchScheduler$2({id:`${o}`,wait:ar,shouldSplitBatch(jr){return jr.length>sr},fn:jr=>rpc$3.http(lr,{body:jr,fetchOptions:rt,timeout:ur}),sort:(jr,yr)=>jr.id-yr.id}),br=async jr=>a?pr(jr):[await rpc$3.http(lr,{body:jr,fetchOptions:rt,timeout:ur})],[{error:_r,result:wr}]=await br(mr);if(_r)throw new RpcRequestError$1({body:mr,error:_r,url:lr});return wr},retryCount:cr,retryDelay:Ut,timeout:ur,type:"http"},{fetchOptions:rt,url:o})}}function isNullUniversalResolverError$1(o,s){var rt,ot,tr;if(!(o instanceof BaseError$2))return!1;const a=o.walk(Ut=>Ut instanceof ContractFunctionRevertedError$1);return a instanceof ContractFunctionRevertedError$1?!!(((rt=a.data)==null?void 0:rt.errorName)==="ResolverNotFound"||((ot=a.data)==null?void 0:ot.errorName)==="ResolverWildcardNotSupported"||(tr=a.reason)!=null&&tr.includes("Wildcard on non-extended resolvers is not supported")||s==="reverse"&&a.reason===panicReasons[50]):!1}function encodedLabelToLabelhash$2(o){if(o.length!==66||o.indexOf("[")!==0||o.indexOf("]")!==65)return null;const s=`0x${o.slice(1,65)}`;return isHex$2(s)?s:null}function namehash$2(o){let s=new Uint8Array(32).fill(0);if(!o)return bytesToHex$1(s);const a=o.split(".");for(let rt=a.length-1;rt>=0;rt-=1){const ot=encodedLabelToLabelhash$2(a[rt]),tr=ot?toBytes$2(ot):keccak256$2(stringToBytes(a[rt]),"bytes");s=keccak256$2(concat$3([s,tr]),"bytes")}return bytesToHex$1(s)}function encodeLabelhash$2(o){return`[${o.slice(2)}]`}function labelhash$2(o){const s=new Uint8Array(32).fill(0);return o?encodedLabelToLabelhash$2(o)||keccak256$2(stringToBytes(o)):bytesToHex$1(s)}function packetToBytes$2(o){const s=o.replace(/^\.|\.$/gm,"");if(s.length===0)return new Uint8Array(1);const a=new Uint8Array(stringToBytes(s).byteLength+2);let rt=0;const ot=s.split(".");for(let tr=0;tr255&&(Ut=stringToBytes(encodeLabelhash$2(labelhash$2(ot[tr])))),a[rt]=Ut.length,a.set(Ut,rt+1),rt+=Ut.length+1}return a.byteLength!==rt+1?a.slice(0,rt+1):a}async function getEnsAddress$2(o,{blockNumber:s,blockTag:a,coinType:rt,name:ot,universalResolverAddress:tr}){let Ut=tr;if(!Ut){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");Ut=getChainContractAddress$2({blockNumber:s,chain:o.chain,contract:"ensUniversalResolver"})}try{const rr=encodeFunctionData$2({abi:addressResolverAbi,functionName:"addr",...rt!=null?{args:[namehash$2(ot),BigInt(rt)]}:{args:[namehash$2(ot)]}}),nr=await getAction$2(o,readContract$3,"readContract")({address:Ut,abi:universalResolverResolveAbi,functionName:"resolve",args:[toHex$1(packetToBytes$2(ot)),rr],blockNumber:s,blockTag:a});if(nr[0]==="0x")return null;const ir=decodeFunctionResult$2({abi:addressResolverAbi,args:rt!=null?[namehash$2(ot),BigInt(rt)]:void 0,functionName:"addr",data:nr[0]});return ir==="0x"||trim$2(ir)==="0x00"?null:ir}catch(rr){if(isNullUniversalResolverError$1(rr,"resolve"))return null;throw rr}}let EnsAvatarInvalidMetadataError$1=class extends BaseError$2{constructor({data:s}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(s)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidMetadataError"})}},EnsAvatarInvalidNftUriError$1=class extends BaseError$2{constructor({reason:s}){super(`ENS NFT avatar URI is invalid. ${s}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidNftUriError"})}},EnsAvatarUriResolutionError$1=class extends BaseError$2{constructor({uri:s}){super(`Unable to resolve ENS avatar URI "${s}". The URI may be malformed, invalid, or does not respond with a valid image.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUriResolutionError"})}},EnsAvatarUnsupportedNamespaceError$1=class extends BaseError$2{constructor({namespace:s}){super(`ENS NFT avatar namespace "${s}" is not supported. Must be "erc721" or "erc1155".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUnsupportedNamespaceError"})}};const networkRegex$1=/(?https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?\/)?(?ipfs\/|ipns\/)?(?[\w\-.]+)(?\/.*)?/,ipfsHashRegex$1=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?[\w\-.]+))?(?\/.*)?$/,base64Regex$1=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,dataURIRegex$1=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function isImageUri$1(o){try{const s=await fetch(o,{method:"HEAD"});if(s.status===200){const a=s.headers.get("content-type");return a==null?void 0:a.startsWith("image/")}return!1}catch(s){return typeof s=="object"&&typeof s.response<"u"||!globalThis.hasOwnProperty("Image")?!1:new Promise(a=>{const rt=new Image;rt.onload=()=>{a(!0)},rt.onerror=()=>{a(!1)},rt.src=o})}}function getGateway$1(o,s){return o?o.endsWith("/")?o.slice(0,-1):o:s}function resolveAvatarUri$1({uri:o,gatewayUrls:s}){const a=base64Regex$1.test(o);if(a)return{uri:o,isOnChain:!0,isEncoded:a};const rt=getGateway$1(s==null?void 0:s.ipfs,"https://ipfs.io"),ot=getGateway$1(s==null?void 0:s.arweave,"https://arweave.net"),tr=o.match(networkRegex$1),{protocol:Ut,subpath:rr,target:nr,subtarget:ir=""}=(tr==null?void 0:tr.groups)||{},sr=Ut==="ipns:/"||rr==="ipns/",ar=Ut==="ipfs:/"||rr==="ipfs/"||ipfsHashRegex$1.test(o);if(o.startsWith("http")&&!sr&&!ar){let ur=o;return s!=null&&s.arweave&&(ur=o.replace(/https:\/\/arweave.net/g,s==null?void 0:s.arweave)),{uri:ur,isOnChain:!1,isEncoded:!1}}if((sr||ar)&&nr)return{uri:`${rt}/${sr?"ipns":"ipfs"}/${nr}${ir}`,isOnChain:!1,isEncoded:!1};if(Ut==="ar:/"&&nr)return{uri:`${ot}/${nr}${ir||""}`,isOnChain:!1,isEncoded:!1};let cr=o.replace(dataURIRegex$1,"");if(cr.startsWith("ot.json());return await parseAvatarUri$1({gatewayUrls:o,uri:getJsonImage$1(a)})}catch{throw new EnsAvatarUriResolutionError$1({uri:s})}}async function parseAvatarUri$1({gatewayUrls:o,uri:s}){const{uri:a,isOnChain:rt}=resolveAvatarUri$1({uri:s,gatewayUrls:o});if(rt||await isImageUri$1(a))return a;throw new EnsAvatarUriResolutionError$1({uri:s})}function parseNftUri$1(o){let s=o;s.startsWith("did:nft:")&&(s=s.replace("did:nft:","").replace(/_/g,"/"));const[a,rt,ot]=s.split("/"),[tr,Ut]=a.split(":"),[rr,nr]=rt.split(":");if(!tr||tr.toLowerCase()!=="eip155")throw new EnsAvatarInvalidNftUriError$1({reason:"Only EIP-155 supported"});if(!Ut)throw new EnsAvatarInvalidNftUriError$1({reason:"Chain ID not found"});if(!nr)throw new EnsAvatarInvalidNftUriError$1({reason:"Contract address not found"});if(!ot)throw new EnsAvatarInvalidNftUriError$1({reason:"Token ID not found"});if(!rr)throw new EnsAvatarInvalidNftUriError$1({reason:"ERC namespace not found"});return{chainID:parseInt(Ut),namespace:rr.toLowerCase(),contractAddress:nr,tokenID:ot}}async function getNftTokenUri$1(o,{nft:s}){if(s.namespace==="erc721")return readContract$3(o,{address:s.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(s.tokenID)]});if(s.namespace==="erc1155")return readContract$3(o,{address:s.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(s.tokenID)]});throw new EnsAvatarUnsupportedNamespaceError$1({namespace:s.namespace})}async function parseAvatarRecord$2(o,{gatewayUrls:s,record:a}){return/eip155:/i.test(a)?parseNftAvatarUri$1(o,{gatewayUrls:s,record:a}):parseAvatarUri$1({uri:a,gatewayUrls:s})}async function parseNftAvatarUri$1(o,{gatewayUrls:s,record:a}){const rt=parseNftUri$1(a),ot=await getNftTokenUri$1(o,{nft:rt}),{uri:tr,isOnChain:Ut,isEncoded:rr}=resolveAvatarUri$1({uri:ot,gatewayUrls:s});if(Ut&&(tr.includes("data:application/json;base64,")||tr.startsWith("{"))){const ir=rr?atob(tr.replace("data:application/json;base64,","")):tr,sr=JSON.parse(ir);return parseAvatarUri$1({uri:getJsonImage$1(sr),gatewayUrls:s})}let nr=rt.tokenID;return rt.namespace==="erc1155"&&(nr=nr.replace("0x","").padStart(64,"0")),getMetadataAvatarUri$1({gatewayUrls:s,uri:tr.replace(/(?:0x)?{id}/,nr)})}async function getEnsText$2(o,{blockNumber:s,blockTag:a,name:rt,key:ot,universalResolverAddress:tr}){let Ut=tr;if(!Ut){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");Ut=getChainContractAddress$2({blockNumber:s,chain:o.chain,contract:"ensUniversalResolver"})}try{const rr=await getAction$2(o,readContract$3,"readContract")({address:Ut,abi:universalResolverResolveAbi,functionName:"resolve",args:[toHex$1(packetToBytes$2(rt)),encodeFunctionData$2({abi:textResolverAbi,functionName:"text",args:[namehash$2(rt),ot]})],blockNumber:s,blockTag:a});if(rr[0]==="0x")return null;const nr=decodeFunctionResult$2({abi:textResolverAbi,functionName:"text",data:rr[0]});return nr===""?null:nr}catch(rr){if(isNullUniversalResolverError$1(rr,"resolve"))return null;throw rr}}async function getEnsAvatar$2(o,{blockNumber:s,blockTag:a,gatewayUrls:rt,name:ot,universalResolverAddress:tr}){const Ut=await getAction$2(o,getEnsText$2,"getEnsText")({blockNumber:s,blockTag:a,key:"avatar",name:ot,universalResolverAddress:tr});if(!Ut)return null;try{return await parseAvatarRecord$2(o,{record:Ut,gatewayUrls:rt})}catch{return null}}async function getEnsName$2(o,{address:s,blockNumber:a,blockTag:rt,universalResolverAddress:ot}){let tr=ot;if(!tr){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");tr=getChainContractAddress$2({blockNumber:a,chain:o.chain,contract:"ensUniversalResolver"})}const Ut=`${s.toLowerCase().substring(2)}.addr.reverse`;try{return(await getAction$2(o,readContract$3,"readContract")({address:tr,abi:universalResolverReverseAbi,functionName:"reverse",args:[toHex$1(packetToBytes$2(Ut))],blockNumber:a,blockTag:rt}))[0]}catch(rr){if(isNullUniversalResolverError$1(rr,"reverse"))return null;throw rr}}async function getEnsResolver$2(o,{blockNumber:s,blockTag:a,name:rt,universalResolverAddress:ot}){let tr=ot;if(!tr){if(!o.chain)throw new Error("client chain not configured. universalResolverAddress is required.");tr=getChainContractAddress$2({blockNumber:s,chain:o.chain,contract:"ensUniversalResolver"})}const[Ut]=await getAction$2(o,readContract$3,"readContract")({address:tr,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[toHex$1(packetToBytes$2(rt))],blockNumber:s,blockTag:a});return Ut}async function createBlockFilter$2(o){const s=createFilterRequestScope$2(o,{method:"eth_newBlockFilter"}),a=await o.request({method:"eth_newBlockFilter"});return{id:a,request:s(a),type:"block"}}async function createEventFilter$2(o,{address:s,args:a,event:rt,events:ot,fromBlock:tr,strict:Ut,toBlock:rr}={}){const nr=ot??(rt?[rt]:void 0),ir=createFilterRequestScope$2(o,{method:"eth_newFilter"});let sr=[];nr&&(sr=[nr.flatMap(cr=>encodeEventTopics$2({abi:[cr],eventName:cr.name,args:a}))],rt&&(sr=sr[0]));const ar=await o.request({method:"eth_newFilter",params:[{address:s,fromBlock:typeof tr=="bigint"?numberToHex(tr):tr,toBlock:typeof rr=="bigint"?numberToHex(rr):rr,...sr.length?{topics:sr}:{}}]});return{abi:nr,args:a,eventName:rt?rt.name:void 0,fromBlock:tr,id:ar,request:ir(ar),strict:Ut,toBlock:rr,type:"event"}}async function createPendingTransactionFilter$2(o){const s=createFilterRequestScope$2(o,{method:"eth_newPendingTransactionFilter"}),a=await o.request({method:"eth_newPendingTransactionFilter"});return{id:a,request:s(a),type:"transaction"}}async function getBalance$2(o,{address:s,blockNumber:a,blockTag:rt="latest"}){const ot=a?numberToHex(a):void 0,tr=await o.request({method:"eth_getBalance",params:[s,ot||rt]});return BigInt(tr)}async function getBlockTransactionCount$2(o,{blockHash:s,blockNumber:a,blockTag:rt="latest"}={}){const ot=a!==void 0?numberToHex(a):void 0;let tr;return s?tr=await o.request({method:"eth_getBlockTransactionCountByHash",params:[s]}):tr=await o.request({method:"eth_getBlockTransactionCountByNumber",params:[ot||rt]}),hexToNumber$1(tr)}async function getBytecode$2(o,{address:s,blockNumber:a,blockTag:rt="latest"}){const ot=a!==void 0?numberToHex(a):void 0,tr=await o.request({method:"eth_getCode",params:[s,ot||rt]});if(tr!=="0x")return tr}function formatFeeHistory$1(o){var s;return{baseFeePerGas:o.baseFeePerGas.map(a=>BigInt(a)),gasUsedRatio:o.gasUsedRatio,oldestBlock:BigInt(o.oldestBlock),reward:(s=o.reward)==null?void 0:s.map(a=>a.map(rt=>BigInt(rt)))}}async function getFeeHistory$2(o,{blockCount:s,blockNumber:a,blockTag:rt="latest",rewardPercentiles:ot}){const tr=a?numberToHex(a):void 0,Ut=await o.request({method:"eth_feeHistory",params:[numberToHex(s),tr||rt,ot]});return formatFeeHistory$1(Ut)}async function getFilterLogs$2(o,{filter:s}){const a=s.strict??!1;return(await s.request({method:"eth_getFilterLogs",params:[s.id]})).map(ot=>{var tr;try{const{eventName:Ut,args:rr}="abi"in s&&s.abi?decodeEventLog$2({abi:s.abi,data:ot.data,topics:ot.topics,strict:a}):{eventName:void 0,args:void 0};return formatLog$1(ot,{args:rr,eventName:Ut})}catch(Ut){let rr,nr;if(Ut instanceof DecodeLogDataMismatch||Ut instanceof DecodeLogTopicsMismatch){if("strict"in s&&s.strict)return;rr=Ut.abiItem.name,nr=(tr=Ut.abiItem.inputs)==null?void 0:tr.some(ir=>!("name"in ir&&ir.name))}return formatLog$1(ot,{args:nr?[]:{},eventName:rr})}}).filter(Boolean)}const bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,integerRegex=/^(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 hashTypedData$1({domain:o,message:s,primaryType:a,types:rt}){const ot=typeof o>"u"?{}:o,tr={EIP712Domain:getTypesForEIP712Domain({domain:ot}),...rt};validateTypedData({domain:ot,message:s,primaryType:a,types:tr});const Ut=["0x1901"];return ot&&Ut.push(hashDomain({domain:ot,types:tr})),a!=="EIP712Domain"&&Ut.push(hashStruct({data:s,primaryType:a,types:tr})),keccak256$2(concat$3(Ut))}function hashDomain({domain:o,types:s}){return hashStruct({data:o,primaryType:"EIP712Domain",types:s})}function hashStruct({data:o,primaryType:s,types:a}){const rt=encodeData({data:o,primaryType:s,types:a});return keccak256$2(rt)}function encodeData({data:o,primaryType:s,types:a}){const rt=[{type:"bytes32"}],ot=[hashType({primaryType:s,types:a})];for(const tr of a[s]){const[Ut,rr]=encodeField({types:a,name:tr.name,type:tr.type,value:o[tr.name]});rt.push(Ut),ot.push(rr)}return encodeAbiParameters$2(rt,ot)}function hashType({primaryType:o,types:s}){const a=toHex$1(encodeType({primaryType:o,types:s}));return keccak256$2(a)}function encodeType({primaryType:o,types:s}){let a="";const rt=findTypeDependencies({primaryType:o,types:s});rt.delete(o);const ot=[o,...Array.from(rt).sort()];for(const tr of ot)a+=`${tr}(${s[tr].map(({name:Ut,type:rr})=>`${rr} ${Ut}`).join(",")})`;return a}function findTypeDependencies({primaryType:o,types:s},a=new Set){const rt=o.match(/^\w*/u),ot=rt==null?void 0:rt[0];if(a.has(ot)||s[ot]===void 0)return a;a.add(ot);for(const tr of s[ot])findTypeDependencies({primaryType:tr.type,types:s},a);return a}function encodeField({types:o,name:s,type:a,value:rt}){if(o[a]!==void 0)return[{type:"bytes32"},keccak256$2(encodeData({data:rt,primaryType:a,types:o}))];if(a==="bytes")return rt=`0x${(rt.length%2?"0":"")+rt.slice(2)}`,[{type:"bytes32"},keccak256$2(rt)];if(a==="string")return[{type:"bytes32"},keccak256$2(toHex$1(rt))];if(a.lastIndexOf("]")===a.length-1){const ot=a.slice(0,a.lastIndexOf("[")),tr=rt.map(Ut=>encodeField({name:s,type:ot,types:o,value:Ut}));return[{type:"bytes32"},keccak256$2(encodeAbiParameters$2(tr.map(([Ut])=>Ut),tr.map(([,Ut])=>Ut)))]}return[{type:a},rt]}function validateTypedData({domain:o,message:s,primaryType:a,types:rt}){const ot=rt,tr=(Ut,rr)=>{for(const nr of Ut){const{name:ir,type:sr}=nr,ar=sr,cr=rr[ir],ur=ar.match(integerRegex);if(ur&&(typeof cr=="number"||typeof cr=="bigint")){const[vr,mr,pr]=ur;numberToHex(cr,{signed:mr==="int",size:parseInt(pr)/8})}if(ar==="address"&&typeof cr=="string"&&!isAddress$2(cr))throw new InvalidAddressError$1({address:cr});const lr=ar.match(bytesRegex);if(lr){const[vr,mr]=lr;if(mr&&size$4(cr)!==parseInt(mr))throw new BytesSizeMismatchError({expectedSize:parseInt(mr),givenSize:size$4(cr)})}const dr=ot[ar];dr&&tr(dr,cr)}};if(ot.EIP712Domain&&o&&tr(ot.EIP712Domain,o),a!=="EIP712Domain"){const Ut=ot[a];tr(Ut,s)}}function getTypesForEIP712Domain({domain:o}){return[typeof(o==null?void 0:o.name)=="string"&&{name:"name",type:"string"},(o==null?void 0:o.version)&&{name:"version",type:"string"},typeof(o==null?void 0:o.chainId)=="number"&&{name:"chainId",type:"uint256"},(o==null?void 0:o.verifyingContract)&&{name:"verifyingContract",type:"address"},(o==null?void 0:o.salt)&&{name:"salt",type:"bytes32"}].filter(Boolean)}const docsPath$6="/docs/contract/encodeDeployData";function encodeDeployData$2({abi:o,args:s,bytecode:a}){if(!s||s.length===0)return a;const rt=o.find(tr=>"type"in tr&&tr.type==="constructor");if(!rt)throw new AbiConstructorNotFoundError({docsPath:docsPath$6});if(!("inputs"in rt))throw new AbiConstructorParamsNotFoundError({docsPath:docsPath$6});if(!rt.inputs||rt.inputs.length===0)throw new AbiConstructorParamsNotFoundError({docsPath:docsPath$6});const ot=encodeAbiParameters$2(rt.inputs,s);return concatHex$1([a,ot])}const presignMessagePrefix=`Ethereum Signed Message: `;function hashMessage$2(o,s){const a=(()=>typeof o=="string"?stringToBytes(o):o.raw instanceof Uint8Array?o.raw:toBytes$2(o.raw))(),rt=stringToBytes(`${presignMessagePrefix}${a.length}`);return keccak256$2(concat$3([rt,a]),s)}function parseUnits$2(o,s){let[a,rt="0"]=o.split(".");const ot=a.startsWith("-");if(ot&&(a=a.slice(1)),rt=rt.replace(/(0+)$/,""),s===0)Math.round(+`.${rt}`)===1&&(a=`${BigInt(a)+1n}`),rt="";else if(rt.length>s){const[tr,Ut,rr]=[rt.slice(0,s-1),rt.slice(s-1,s),rt.slice(s)],nr=Math.round(+`${Ut}.${rr}`);nr>9?rt=`${BigInt(tr)+BigInt(1)}0`.padStart(tr.length+1,"0"):rt=`${tr}${nr}`,rt.length>s&&(rt=rt.slice(1),a=`${BigInt(a)+1n}`),rt=rt.slice(0,s)}else rt=rt.padEnd(s,"0");return BigInt(`${ot?"-":""}${a}${rt}`)}function parseGwei$2(o,s="wei"){return parseUnits$2(o,gweiUnits[s])}function formatStorageProof(o){return o.map(s=>({...s,value:BigInt(s.value)}))}function formatProof(o){return{...o,balance:o.balance?BigInt(o.balance):void 0,nonce:o.nonce?hexToNumber$1(o.nonce):void 0,storageProof:o.storageProof?formatStorageProof(o.storageProof):void 0}}async function getProof$1(o,{address:s,blockNumber:a,blockTag:rt,storageKeys:ot}){const tr=rt??"latest",Ut=a!==void 0?numberToHex(a):void 0,rr=await o.request({method:"eth_getProof",params:[s,ot,Ut||tr]});return formatProof(rr)}async function getStorageAt$2(o,{address:s,blockNumber:a,blockTag:rt="latest",slot:ot}){const tr=a!==void 0?numberToHex(a):void 0;return await o.request({method:"eth_getStorageAt",params:[s,ot,tr||rt]})}async function getTransaction$2(o,{blockHash:s,blockNumber:a,blockTag:rt,hash:ot,index:tr}){var sr,ar,cr;const Ut=rt||"latest",rr=a!==void 0?numberToHex(a):void 0;let nr=null;if(ot?nr=await o.request({method:"eth_getTransactionByHash",params:[ot]}):s?nr=await o.request({method:"eth_getTransactionByBlockHashAndIndex",params:[s,numberToHex(tr)]}):(rr||Ut)&&(nr=await o.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[rr||Ut,numberToHex(tr)]})),!nr)throw new TransactionNotFoundError$1({blockHash:s,blockNumber:a,blockTag:Ut,hash:ot,index:tr});return(((cr=(ar=(sr=o.chain)==null?void 0:sr.formatters)==null?void 0:ar.transaction)==null?void 0:cr.format)||formatTransaction)(nr)}async function getTransactionConfirmations$2(o,{hash:s,transactionReceipt:a}){const[rt,ot]=await Promise.all([getAction$2(o,getBlockNumber$2,"getBlockNumber")({}),s?getAction$2(o,getTransaction$2,"getBlockNumber")({hash:s}):void 0]),tr=(a==null?void 0:a.blockNumber)||(ot==null?void 0:ot.blockNumber);return tr?rt-tr+1n:0n}async function getTransactionReceipt$2(o,{hash:s}){var ot,tr,Ut;const a=await o.request({method:"eth_getTransactionReceipt",params:[s]});if(!a)throw new TransactionReceiptNotFoundError$1({hash:s});return(((Ut=(tr=(ot=o.chain)==null?void 0:ot.formatters)==null?void 0:tr.transactionReceipt)==null?void 0:Ut.format)||formatTransactionReceipt$1)(a)}async function multicall$3(o,s){var dr;const{allowFailure:a=!0,batchSize:rt,blockNumber:ot,blockTag:tr,contracts:Ut,multicallAddress:rr}=s,nr=rt??(typeof((dr=o.batch)==null?void 0:dr.multicall)=="object"&&o.batch.multicall.batchSize||1024);let ir=rr;if(!ir){if(!o.chain)throw new Error("client chain not configured. multicallAddress is required.");ir=getChainContractAddress$2({blockNumber:ot,chain:o.chain,contract:"multicall3"})}const sr=[[]];let ar=0,cr=0;for(let vr=0;vr0&&cr>nr&&sr[ar].length>0&&(ar++,cr=(wr.length-2)/2,sr[ar]=[]),sr[ar]=[...sr[ar],{allowFailure:!0,callData:wr,target:pr}]}catch(wr){const jr=getContractError$2(wr,{abi:mr,address:pr,args:br,docsPath:"/docs/contract/multicall",functionName:_r});if(!a)throw jr;sr[ar]=[...sr[ar],{allowFailure:!0,callData:"0x",target:pr}]}}const ur=await Promise.allSettled(sr.map(vr=>getAction$2(o,readContract$3,"readContract")({abi:multicall3Abi,address:ir,args:[vr],blockNumber:ot,blockTag:tr,functionName:"aggregate3"}))),lr=[];for(let vr=0;vro instanceof Uint8Array,hexes=Array.from({length:256},(o,s)=>s.toString(16).padStart(2,"0"));function bytesToHex(o){if(!u8a(o))throw new Error("Uint8Array expected");let s="";for(let a=0;art+ot.length,0));let a=0;return o.forEach(rt=>{if(!u8a(rt))throw new Error("Uint8Array expected");s.set(rt,a),a+=rt.length}),s}function equalBytes(o,s){if(o.length!==s.length)return!1;for(let a=0;a_0n$4;o>>=_1n$4,s+=1);return s}function bitGet(o,s){return o>>BigInt(s)&_1n$4}const bitSet=(o,s,a)=>o|(a?_1n$4:_0n$4)<(_2n$3<new Uint8Array(o),u8fr=o=>Uint8Array.from(o);function createHmacDrbg(o,s,a){if(typeof o!="number"||o<2)throw new Error("hashLen must be a number");if(typeof s!="number"||s<2)throw new Error("qByteLen must be a number");if(typeof a!="function")throw new Error("hmacFn must be a function");let rt=u8n(o),ot=u8n(o),tr=0;const Ut=()=>{rt.fill(1),ot.fill(0),tr=0},rr=(...ar)=>a(ot,rt,...ar),nr=(ar=u8n())=>{ot=rr(u8fr([0]),ar),rt=rr(),ar.length!==0&&(ot=rr(u8fr([1]),ar),rt=rr())},ir=()=>{if(tr++>=1e3)throw new Error("drbg: tried 1000 values");let ar=0;const cr=[];for(;ar{Ut(),nr(ar);let ur;for(;!(ur=cr(ir()));)nr();return Ut(),ur}}const validatorFns={bigint:o=>typeof o=="bigint",function:o=>typeof o=="function",boolean:o=>typeof o=="boolean",string:o=>typeof o=="string",stringOrUint8Array:o=>typeof o=="string"||o instanceof Uint8Array,isSafeInteger:o=>Number.isSafeInteger(o),array:o=>Array.isArray(o),field:(o,s)=>s.Fp.isValid(o),hash:o=>typeof o=="function"&&Number.isSafeInteger(o.outputLen)};function validateObject(o,s,a={}){const rt=(ot,tr,Ut)=>{const rr=validatorFns[tr];if(typeof rr!="function")throw new Error(`Invalid validator "${tr}", expected function`);const nr=o[ot];if(!(Ut&&nr===void 0)&&!rr(nr,o))throw new Error(`Invalid param ${String(ot)}=${nr} (${typeof nr}), expected ${tr}`)};for(const[ot,tr]of Object.entries(s))rt(ot,tr,!1);for(const[ot,tr]of Object.entries(a))rt(ot,tr,!0);return o}const utils$a=Object.freeze(Object.defineProperty({__proto__:null,bitGet,bitLen,bitMask,bitSet,bytesToHex,bytesToNumberBE,bytesToNumberLE,concatBytes:concatBytes$1,createHmacDrbg,ensureBytes,equalBytes,hexToBytes,hexToNumber,numberToBytesBE,numberToBytesLE,numberToHexUnpadded,numberToVarBytesBE,utf8ToBytes,validateObject},Symbol.toStringTag,{value:"Module"}));function isBytesEqual$2(o,s){const a=isHex$2(o)?toBytes$2(o):o,rt=isHex$2(s)?toBytes$2(s):s;return equalBytes(a,rt)}async function verifyHash$1(o,{address:s,hash:a,signature:rt,...ot}){const tr=isHex$2(rt)?rt:toHex$1(rt);try{const{data:Ut}=await getAction$2(o,call$1,"call")({data:encodeDeployData$2({abi:universalSignatureValidatorAbi,args:[s,a,tr],bytecode:universalSignatureValidatorByteCode}),...ot});return isBytesEqual$2(Ut??"0x0","0x1")}catch(Ut){if(Ut instanceof CallExecutionError$1)return!1;throw Ut}}async function verifyMessage$3(o,{address:s,message:a,signature:rt,...ot}){const tr=hashMessage$2(a);return verifyHash$1(o,{address:s,hash:tr,signature:rt,...ot})}async function verifyTypedData$3(o,{address:s,signature:a,message:rt,primaryType:ot,types:tr,domain:Ut,...rr}){const nr=hashTypedData$1({message:rt,primaryType:ot,types:tr,domain:Ut});return verifyHash$1(o,{address:s,hash:nr,signature:a,...rr})}function watchBlockNumber$2(o,{emitOnBegin:s=!1,emitMissed:a=!1,onBlockNumber:rt,onError:ot,poll:tr,pollingInterval:Ut=o.pollingInterval}){const rr=typeof tr<"u"?tr:o.transport.type!=="webSocket";let nr;return rr?(()=>{const ar=stringify$2(["watchBlockNumber",o.uid,s,a,Ut]);return observe$1(ar,{onBlockNumber:rt,onError:ot},cr=>poll$2(async()=>{var ur;try{const lr=await getAction$2(o,getBlockNumber$2,"getBlockNumber")({cacheTime:0});if(nr){if(lr===nr)return;if(lr-nr>1&&a)for(let dr=nr+1n;drnr)&&(cr.onBlockNumber(lr,nr),nr=lr)}catch(lr){(ur=cr.onError)==null||ur.call(cr,lr)}},{emitOnBegin:s,interval:Ut}))})():(()=>{let ar=!0,cr=()=>ar=!1;return(async()=>{try{const{unsubscribe:ur}=await o.transport.subscribe({params:["newHeads"],onData(lr){var vr;if(!ar)return;const dr=hexToBigInt((vr=lr.result)==null?void 0:vr.number);rt(dr,nr),nr=dr},onError(lr){ot==null||ot(lr)}});cr=ur,ar||cr()}catch(ur){ot==null||ot(ur)}})(),cr})()}async function waitForTransactionReceipt$2(o,{confirmations:s=1,hash:a,onReplaced:rt,pollingInterval:ot=o.pollingInterval,timeout:tr}){const Ut=stringify$2(["waitForTransactionReceipt",o.uid,a]);let rr,nr,ir,sr=!1;return new Promise((ar,cr)=>{tr&&setTimeout(()=>cr(new WaitForTransactionReceiptTimeoutError$1({hash:a})),tr);const ur=observe$1(Ut,{onReplaced:rt,resolve:ar,reject:cr},lr=>{const dr=getAction$2(o,watchBlockNumber$2,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:ot,async onBlockNumber(vr){if(sr)return;let mr=vr;const pr=br=>{dr(),br(),ur()};try{if(ir){if(s>1&&(!ir.blockNumber||mr-ir.blockNumber+1nlr.resolve(ir));return}if(rr||(sr=!0,await withRetry$2(async()=>{rr=await getAction$2(o,getTransaction$2,"getTransaction")({hash:a}),rr.blockNumber&&(mr=rr.blockNumber)},{delay:({count:br})=>~~(1<1&&(!ir.blockNumber||mr-ir.blockNumber+1nlr.resolve(ir))}catch(br){if(rr&&(br instanceof TransactionNotFoundError$1||br instanceof TransactionReceiptNotFoundError$1))try{nr=rr;const wr=(await getAction$2(o,getBlock$2,"getBlock")({blockNumber:mr,includeTransactions:!0})).transactions.find(({from:yr,nonce:Ar})=>yr===nr.from&&Ar===nr.nonce);if(!wr||(ir=await getAction$2(o,getTransactionReceipt$2,"getTransactionReceipt")({hash:wr.hash}),s>1&&(!ir.blockNumber||mr-ir.blockNumber+1n{var yr;(yr=lr.onReplaced)==null||yr.call(lr,{reason:jr,replacedTransaction:nr,transaction:wr,transactionReceipt:ir}),lr.resolve(ir)})}catch(_r){pr(()=>lr.reject(_r))}else pr(()=>lr.reject(br))}}})})})}function watchBlocks$2(o,{blockTag:s="latest",emitMissed:a=!1,emitOnBegin:rt=!1,onBlock:ot,onError:tr,includeTransactions:Ut,poll:rr,pollingInterval:nr=o.pollingInterval}){const ir=typeof rr<"u"?rr:o.transport.type!=="webSocket",sr=Ut??!1;let ar;return ir?(()=>{const lr=stringify$2(["watchBlocks",o.uid,a,rt,sr,nr]);return observe$1(lr,{onBlock:ot,onError:tr},dr=>poll$2(async()=>{var vr;try{const mr=await getAction$2(o,getBlock$2,"getBlock")({blockTag:s,includeTransactions:sr});if(mr.number&&(ar!=null&&ar.number)){if(mr.number===ar.number)return;if(mr.number-ar.number>1&&a)for(let pr=(ar==null?void 0:ar.number)+1n;prar.number)&&(dr.onBlock(mr,ar),ar=mr)}catch(mr){(vr=dr.onError)==null||vr.call(dr,mr)}},{emitOnBegin:rt,interval:nr}))})():(()=>{let lr=!0,dr=()=>lr=!1;return(async()=>{try{const{unsubscribe:vr}=await o.transport.subscribe({params:["newHeads"],onData(mr){var _r,wr,jr;if(!lr)return;const br=(((jr=(wr=(_r=o.chain)==null?void 0:_r.formatters)==null?void 0:wr.block)==null?void 0:jr.format)||formatBlock$1)(mr.result);ot(br,ar),ar=br},onError(mr){tr==null||tr(mr)}});dr=vr,lr||dr()}catch(vr){tr==null||tr(vr)}})(),dr})()}function watchEvent$1(o,{address:s,args:a,batch:rt=!0,event:ot,events:tr,onError:Ut,onLogs:rr,poll:nr,pollingInterval:ir=o.pollingInterval,strict:sr}){const ar=typeof nr<"u"?nr:o.transport.type!=="webSocket",cr=sr??!1;return ar?(()=>{const dr=stringify$2(["watchEvent",s,a,rt,o.uid,ot,ir]);return observe$1(dr,{onLogs:rr,onError:Ut},vr=>{let mr,pr,br=!1;const _r=poll$2(async()=>{var wr;if(!br){try{pr=await getAction$2(o,createEventFilter$2,"createEventFilter")({address:s,args:a,event:ot,events:tr,strict:cr})}catch{}br=!0;return}try{let jr;if(pr)jr=await getAction$2(o,getFilterChanges$2,"getFilterChanges")({filter:pr});else{const yr=await getAction$2(o,getBlockNumber$2,"getBlockNumber")({});mr&&mr!==yr?jr=await getAction$2(o,getLogs$2,"getLogs")({address:s,args:a,event:ot,events:tr,fromBlock:mr+1n,toBlock:yr}):jr=[],mr=yr}if(jr.length===0)return;if(rt)vr.onLogs(jr);else for(const yr of jr)vr.onLogs([yr])}catch(jr){pr&&jr instanceof InvalidInputRpcError$1&&(br=!1),(wr=vr.onError)==null||wr.call(vr,jr)}},{emitOnBegin:!0,interval:ir});return async()=>{pr&&await getAction$2(o,uninstallFilter$2,"uninstallFilter")({filter:pr}),_r()}})})():(()=>{let dr=!0,vr=()=>dr=!1;return(async()=>{try{const mr=tr??(ot?[ot]:void 0);let pr=[];mr&&(pr=[mr.flatMap(_r=>encodeEventTopics$2({abi:[_r],eventName:_r.name,args:a}))],ot&&(pr=pr[0]));const{unsubscribe:br}=await o.transport.subscribe({params:["logs",{address:s,topics:pr}],onData(_r){var jr;if(!dr)return;const wr=_r.result;try{const{eventName:yr,args:Ar}=decodeEventLog$2({abi:mr,data:wr.data,topics:wr.topics,strict:cr}),Pr=formatLog$1(wr,{args:Ar,eventName:yr});rr([Pr])}catch(yr){let Ar,Pr;if(yr instanceof DecodeLogDataMismatch||yr instanceof DecodeLogTopicsMismatch){if(sr)return;Ar=yr.abiItem.name,Pr=(jr=yr.abiItem.inputs)==null?void 0:jr.some(kr=>!("name"in kr&&kr.name))}const Tr=formatLog$1(wr,{args:Pr?[]:{},eventName:Ar});rr([Tr])}},onError(_r){Ut==null||Ut(_r)}});vr=br,dr||vr()}catch(mr){Ut==null||Ut(mr)}})(),vr})()}function watchPendingTransactions$2(o,{batch:s=!0,onError:a,onTransactions:rt,poll:ot,pollingInterval:tr=o.pollingInterval}){return(typeof ot<"u"?ot:o.transport.type!=="webSocket")?(()=>{const ir=stringify$2(["watchPendingTransactions",o.uid,s,tr]);return observe$1(ir,{onTransactions:rt,onError:a},sr=>{let ar;const cr=poll$2(async()=>{var ur;try{if(!ar)try{ar=await getAction$2(o,createPendingTransactionFilter$2,"createPendingTransactionFilter")({});return}catch(dr){throw cr(),dr}const lr=await getAction$2(o,getFilterChanges$2,"getFilterChanges")({filter:ar});if(lr.length===0)return;if(s)sr.onTransactions(lr);else for(const dr of lr)sr.onTransactions([dr])}catch(lr){(ur=sr.onError)==null||ur.call(sr,lr)}},{emitOnBegin:!0,interval:tr});return async()=>{ar&&await getAction$2(o,uninstallFilter$2,"uninstallFilter")({filter:ar}),cr()}})})():(()=>{let ir=!0,sr=()=>ir=!1;return(async()=>{try{const{unsubscribe:ar}=await o.transport.subscribe({params:["newPendingTransactions"],onData(cr){if(!ir)return;const ur=cr.result;rt([ur])},onError(cr){a==null||a(cr)}});sr=ar,ir||sr()}catch(ar){a==null||a(ar)}})(),sr})()}function publicActions(o){return{call:s=>call$1(o,s),createBlockFilter:()=>createBlockFilter$2(o),createContractEventFilter:s=>createContractEventFilter$2(o,s),createEventFilter:s=>createEventFilter$2(o,s),createPendingTransactionFilter:()=>createPendingTransactionFilter$2(o),estimateContractGas:s=>estimateContractGas$2(o,s),estimateGas:s=>estimateGas$2(o,s),getBalance:s=>getBalance$2(o,s),getBlock:s=>getBlock$2(o,s),getBlockNumber:s=>getBlockNumber$2(o,s),getBlockTransactionCount:s=>getBlockTransactionCount$2(o,s),getBytecode:s=>getBytecode$2(o,s),getChainId:()=>getChainId$2(o),getContractEvents:s=>getContractEvents$2(o,s),getEnsAddress:s=>getEnsAddress$2(o,s),getEnsAvatar:s=>getEnsAvatar$2(o,s),getEnsName:s=>getEnsName$2(o,s),getEnsResolver:s=>getEnsResolver$2(o,s),getEnsText:s=>getEnsText$2(o,s),getFeeHistory:s=>getFeeHistory$2(o,s),estimateFeesPerGas:s=>estimateFeesPerGas$2(o,s),getFilterChanges:s=>getFilterChanges$2(o,s),getFilterLogs:s=>getFilterLogs$2(o,s),getGasPrice:()=>getGasPrice$2(o),getLogs:s=>getLogs$2(o,s),getProof:s=>getProof$1(o,s),estimateMaxPriorityFeePerGas:s=>estimateMaxPriorityFeePerGas$2(o,s),getStorageAt:s=>getStorageAt$2(o,s),getTransaction:s=>getTransaction$2(o,s),getTransactionConfirmations:s=>getTransactionConfirmations$2(o,s),getTransactionCount:s=>getTransactionCount$2(o,s),getTransactionReceipt:s=>getTransactionReceipt$2(o,s),multicall:s=>multicall$3(o,s),prepareTransactionRequest:s=>prepareTransactionRequest$1(o,s),readContract:s=>readContract$3(o,s),sendRawTransaction:s=>sendRawTransaction$2(o,s),simulateContract:s=>simulateContract$2(o,s),verifyMessage:s=>verifyMessage$3(o,s),verifyTypedData:s=>verifyTypedData$3(o,s),uninstallFilter:s=>uninstallFilter$2(o,s),waitForTransactionReceipt:s=>waitForTransactionReceipt$2(o,s),watchBlocks:s=>watchBlocks$2(o,s),watchBlockNumber:s=>watchBlockNumber$2(o,s),watchContractEvent:s=>watchContractEvent$2(o,s),watchEvent:s=>watchEvent$1(o,s),watchPendingTransactions:s=>watchPendingTransactions$2(o,s)}}function createPublicClient$1(o){const{key:s="public",name:a="Public Client"}=o;return createClient$2({...o,key:s,name:a,type:"publicClient"}).extend(publicActions)}function deployContract$2(o,{abi:s,args:a,bytecode:rt,...ot}){const tr=encodeDeployData$2({abi:s,args:a,bytecode:rt});return sendTransaction$3(o,{...ot,data:tr})}async function getAddresses$2(o){var a;return((a=o.account)==null?void 0:a.type)==="local"?[o.account.address]:(await o.request({method:"eth_accounts"})).map(rt=>checksumAddress$1(rt))}async function getPermissions$2(o){return await o.request({method:"wallet_getPermissions"})}async function requestAddresses$2(o){return(await o.request({method:"eth_requestAccounts"})).map(a=>getAddress$2(a))}async function requestPermissions$2(o,s){return o.request({method:"wallet_requestPermissions",params:[s]})}async function signMessage$3(o,{account:s=o.account,message:a}){if(!s)throw new AccountNotFoundError$1({docsPath:"/docs/actions/wallet/signMessage"});const rt=parseAccount$2(s);if(rt.type==="local")return rt.signMessage({message:a});const ot=(()=>typeof a=="string"?stringToHex(a):a.raw instanceof Uint8Array?toHex$1(a.raw):a.raw)();return o.request({method:"personal_sign",params:[ot,rt.address]})}async function signTransaction$1(o,s){var ir,sr,ar,cr;const{account:a=o.account,chain:rt=o.chain,...ot}=s;if(!a)throw new AccountNotFoundError$1({docsPath:"/docs/actions/wallet/signTransaction"});const tr=parseAccount$2(a);assertRequest$2({account:tr,...s});const Ut=await getAction$2(o,getChainId$2,"getChainId")({});rt!==null&&assertCurrentChain$2({currentChainId:Ut,chain:rt});const rr=(rt==null?void 0:rt.formatters)||((ir=o.chain)==null?void 0:ir.formatters),nr=((sr=rr==null?void 0:rr.transactionRequest)==null?void 0:sr.format)||formatTransactionRequest;return tr.type==="local"?tr.signTransaction({...ot,chainId:Ut},{serializer:(cr=(ar=o.chain)==null?void 0:ar.serializers)==null?void 0:cr.transaction}):await o.request({method:"eth_signTransaction",params:[{...nr(ot),chainId:numberToHex(Ut),from:tr.address}]})}async function signTypedData$3(o,{account:s=o.account,domain:a,message:rt,primaryType:ot,types:tr}){if(!s)throw new AccountNotFoundError$1({docsPath:"/docs/actions/wallet/signTypedData"});const Ut=parseAccount$2(s),rr={EIP712Domain:getTypesForEIP712Domain({domain:a}),...tr};if(validateTypedData({domain:a,message:rt,primaryType:ot,types:rr}),Ut.type==="local")return Ut.signTypedData({domain:a,primaryType:ot,types:rr,message:rt});const nr=stringify$2({domain:a??{},primaryType:ot,types:rr,message:rt},(ir,sr)=>isHex$2(sr)?sr.toLowerCase():sr);return o.request({method:"eth_signTypedData_v4",params:[Ut.address,nr]})}async function switchChain$2(o,{id:s}){await o.request({method:"wallet_switchEthereumChain",params:[{chainId:numberToHex(s)}]})}async function watchAsset$2(o,s){return await o.request({method:"wallet_watchAsset",params:s})}function walletActions(o){return{addChain:s=>addChain$2(o,s),deployContract:s=>deployContract$2(o,s),getAddresses:()=>getAddresses$2(o),getChainId:()=>getChainId$2(o),getPermissions:()=>getPermissions$2(o),prepareTransactionRequest:s=>prepareTransactionRequest$1(o,s),requestAddresses:()=>requestAddresses$2(o),requestPermissions:s=>requestPermissions$2(o,s),sendRawTransaction:s=>sendRawTransaction$2(o,s),sendTransaction:s=>sendTransaction$3(o,s),signMessage:s=>signMessage$3(o,s),signTransaction:s=>signTransaction$1(o,s),signTypedData:s=>signTypedData$3(o,s),switchChain:s=>switchChain$2(o,s),watchAsset:s=>watchAsset$2(o,s),writeContract:s=>writeContract$3(o,s)}}function createWalletClient$1(o){const{key:s="wallet",name:a="Wallet Client",transport:rt}=o;return createClient$2({...o,key:s,name:a,transport:tr=>rt({...tr,retryCount:0}),type:"walletClient"}).extend(walletActions)}function webSocket$2(o,s={}){const{key:a="webSocket",name:rt="WebSocket JSON-RPC",retryDelay:ot}=s;return({chain:tr,retryCount:Ut,timeout:rr})=>{var ar;const nr=s.retryCount??Ut,ir=rr??s.timeout??1e4,sr=o||((ar=tr==null?void 0:tr.rpcUrls.default.webSocket)==null?void 0:ar[0]);if(!sr)throw new UrlRequiredError$1;return createTransport$2({key:a,name:rt,async request({method:cr,params:ur}){const lr={method:cr,params:ur},dr=await getSocket(sr),{error:vr,result:mr}=await rpc$3.webSocketAsync(dr,{body:lr,timeout:ir});if(vr)throw new RpcRequestError$1({body:lr,error:vr,url:sr});return mr},retryCount:nr,retryDelay:ot,timeout:ir,type:"webSocket"},{getSocket(){return getSocket(sr)},async subscribe({params:cr,onData:ur,onError:lr}){const dr=await getSocket(sr),{result:vr}=await new Promise((mr,pr)=>rpc$3.webSocket(dr,{body:{method:"eth_subscribe",params:cr},onResponse(br){if(br.error){pr(br.error),lr==null||lr(br.error);return}if(typeof br.id=="number"){mr(br);return}br.method==="eth_subscription"&&ur(br.params)}}));return{subscriptionId:vr,async unsubscribe(){return new Promise(mr=>rpc$3.webSocket(dr,{body:{method:"eth_unsubscribe",params:[vr]},onResponse:mr}))}}}})}}function setBigUint64(o,s,a,rt){if(typeof o.setBigUint64=="function")return o.setBigUint64(s,a,rt);const ot=BigInt(32),tr=BigInt(4294967295),Ut=Number(a>>ot&tr),rr=Number(a&tr),nr=rt?4:0,ir=rt?0:4;o.setUint32(s+nr,Ut,rt),o.setUint32(s+ir,rr,rt)}class SHA2 extends Hash{constructor(s,a,rt,ot){super(),this.blockLen=s,this.outputLen=a,this.padOffset=rt,this.isLE=ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(s),this.view=createView(this.buffer)}update(s){exists(this);const{view:a,buffer:rt,blockLen:ot}=this;s=toBytes$1(s);const tr=s.length;for(let Ut=0;Utot-Ut&&(this.process(rt,0),Ut=0);for(let ar=Ut;arsr.length)throw new Error("_sha2: outputLen bigger than state");for(let ar=0;aro&s^~o&a,Maj=(o,s,a)=>o&s^o&a^s&a,SHA256_K=new Uint32Array([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]),IV=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W=new Uint32Array(64);class SHA256 extends SHA2{constructor(){super(64,32,8,!1),this.A=IV[0]|0,this.B=IV[1]|0,this.C=IV[2]|0,this.D=IV[3]|0,this.E=IV[4]|0,this.F=IV[5]|0,this.G=IV[6]|0,this.H=IV[7]|0}get(){const{A:s,B:a,C:rt,D:ot,E:tr,F:Ut,G:rr,H:nr}=this;return[s,a,rt,ot,tr,Ut,rr,nr]}set(s,a,rt,ot,tr,Ut,rr,nr){this.A=s|0,this.B=a|0,this.C=rt|0,this.D=ot|0,this.E=tr|0,this.F=Ut|0,this.G=rr|0,this.H=nr|0}process(s,a){for(let ar=0;ar<16;ar++,a+=4)SHA256_W[ar]=s.getUint32(a,!1);for(let ar=16;ar<64;ar++){const cr=SHA256_W[ar-15],ur=SHA256_W[ar-2],lr=rotr(cr,7)^rotr(cr,18)^cr>>>3,dr=rotr(ur,17)^rotr(ur,19)^ur>>>10;SHA256_W[ar]=dr+SHA256_W[ar-7]+lr+SHA256_W[ar-16]|0}let{A:rt,B:ot,C:tr,D:Ut,E:rr,F:nr,G:ir,H:sr}=this;for(let ar=0;ar<64;ar++){const cr=rotr(rr,6)^rotr(rr,11)^rotr(rr,25),ur=sr+cr+Chi(rr,nr,ir)+SHA256_K[ar]+SHA256_W[ar]|0,dr=(rotr(rt,2)^rotr(rt,13)^rotr(rt,22))+Maj(rt,ot,tr)|0;sr=ir,ir=nr,nr=rr,rr=Ut+ur|0,Ut=tr,tr=ot,ot=rt,rt=ur+dr|0}rt=rt+this.A|0,ot=ot+this.B|0,tr=tr+this.C|0,Ut=Ut+this.D|0,rr=rr+this.E|0,nr=nr+this.F|0,ir=ir+this.G|0,sr=sr+this.H|0,this.set(rt,ot,tr,Ut,rr,nr,ir,sr)}roundClean(){SHA256_W.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const sha256$1=wrapConstructor(()=>new SHA256);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const _0n$3=BigInt(0),_1n$3=BigInt(1),_2n$2=BigInt(2),_3n$1=BigInt(3),_4n$1=BigInt(4),_5n=BigInt(5),_8n=BigInt(8);BigInt(9);BigInt(16);function mod(o,s){const a=o%s;return a>=_0n$3?a:s+a}function pow(o,s,a){if(a<=_0n$3||s<_0n$3)throw new Error("Expected power/modulo > 0");if(a===_1n$3)return _0n$3;let rt=_1n$3;for(;s>_0n$3;)s&_1n$3&&(rt=rt*o%a),o=o*o%a,s>>=_1n$3;return rt}function pow2(o,s,a){let rt=o;for(;s-- >_0n$3;)rt*=rt,rt%=a;return rt}function invert(o,s){if(o===_0n$3||s<=_0n$3)throw new Error(`invert: expected positive integers, got n=${o} mod=${s}`);let a=mod(o,s),rt=s,ot=_0n$3,tr=_1n$3;for(;a!==_0n$3;){const rr=rt/a,nr=rt%a,ir=ot-tr*rr;rt=a,a=nr,ot=tr,tr=ir}if(rt!==_1n$3)throw new Error("invert: does not exist");return mod(ot,s)}function tonelliShanks(o){const s=(o-_1n$3)/_2n$2;let a,rt,ot;for(a=o-_1n$3,rt=0;a%_2n$2===_0n$3;a/=_2n$2,rt++);for(ot=_2n$2;ot(rt[ot]="function",rt),s);return validateObject(o,a)}function FpPow(o,s,a){if(a<_0n$3)throw new Error("Expected power > 0");if(a===_0n$3)return o.ONE;if(a===_1n$3)return s;let rt=o.ONE,ot=s;for(;a>_0n$3;)a&_1n$3&&(rt=o.mul(rt,ot)),ot=o.sqr(ot),a>>=_1n$3;return rt}function FpInvertBatch(o,s){const a=new Array(s.length),rt=s.reduce((tr,Ut,rr)=>o.is0(Ut)?tr:(a[rr]=tr,o.mul(tr,Ut)),o.ONE),ot=o.inv(rt);return s.reduceRight((tr,Ut,rr)=>o.is0(Ut)?tr:(a[rr]=o.mul(tr,a[rr]),o.mul(tr,Ut)),ot),a}function nLength(o,s){const a=s!==void 0?s:o.toString(2).length,rt=Math.ceil(a/8);return{nBitLength:a,nByteLength:rt}}function Field(o,s,a=!1,rt={}){if(o<=_0n$3)throw new Error(`Expected Field ORDER > 0, got ${o}`);const{nBitLength:ot,nByteLength:tr}=nLength(o,s);if(tr>2048)throw new Error("Field lengths over 2048 bytes are not supported");const Ut=FpSqrt(o),rr=Object.freeze({ORDER:o,BITS:ot,BYTES:tr,MASK:bitMask(ot),ZERO:_0n$3,ONE:_1n$3,create:nr=>mod(nr,o),isValid:nr=>{if(typeof nr!="bigint")throw new Error(`Invalid field element: expected bigint, got ${typeof nr}`);return _0n$3<=nr&&nrnr===_0n$3,isOdd:nr=>(nr&_1n$3)===_1n$3,neg:nr=>mod(-nr,o),eql:(nr,ir)=>nr===ir,sqr:nr=>mod(nr*nr,o),add:(nr,ir)=>mod(nr+ir,o),sub:(nr,ir)=>mod(nr-ir,o),mul:(nr,ir)=>mod(nr*ir,o),pow:(nr,ir)=>FpPow(rr,nr,ir),div:(nr,ir)=>mod(nr*invert(ir,o),o),sqrN:nr=>nr*nr,addN:(nr,ir)=>nr+ir,subN:(nr,ir)=>nr-ir,mulN:(nr,ir)=>nr*ir,inv:nr=>invert(nr,o),sqrt:rt.sqrt||(nr=>Ut(rr,nr)),invertBatch:nr=>FpInvertBatch(rr,nr),cmov:(nr,ir,sr)=>sr?ir:nr,toBytes:nr=>a?numberToBytesLE(nr,tr):numberToBytesBE(nr,tr),fromBytes:nr=>{if(nr.length!==tr)throw new Error(`Fp.fromBytes: expected ${tr}, got ${nr.length}`);return a?bytesToNumberLE(nr):bytesToNumberBE(nr)}});return Object.freeze(rr)}function getFieldBytesLength(o){if(typeof o!="bigint")throw new Error("field order must be bigint");const s=o.toString(2).length;return Math.ceil(s/8)}function getMinHashLength(o){const s=getFieldBytesLength(o);return s+Math.ceil(s/2)}function mapHashToField(o,s,a=!1){const rt=o.length,ot=getFieldBytesLength(s),tr=getMinHashLength(s);if(rt<16||rt1024)throw new Error(`expected ${tr}-1024 bytes of input, got ${rt}`);const Ut=a?bytesToNumberBE(o):bytesToNumberLE(o),rr=mod(Ut,s-_1n$3)+_1n$3;return a?numberToBytesLE(rr,ot):numberToBytesBE(rr,ot)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(o,s){const a=(ot,tr)=>{const Ut=tr.negate();return ot?Ut:tr},rt=ot=>{const tr=Math.ceil(s/ot)+1,Ut=2**(ot-1);return{windows:tr,windowSize:Ut}};return{constTimeNegate:a,unsafeLadder(ot,tr){let Ut=o.ZERO,rr=ot;for(;tr>_0n$2;)tr&_1n$2&&(Ut=Ut.add(rr)),rr=rr.double(),tr>>=_1n$2;return Ut},precomputeWindow(ot,tr){const{windows:Ut,windowSize:rr}=rt(tr),nr=[];let ir=ot,sr=ir;for(let ar=0;ar>=ur,vr>nr&&(vr-=cr,Ut+=_1n$2);const mr=dr,pr=dr+Math.abs(vr)-1,br=lr%2!==0,_r=vr<0;vr===0?sr=sr.add(a(br,tr[mr])):ir=ir.add(a(_r,tr[pr]))}return{p:ir,f:sr}},wNAFCached(ot,tr,Ut,rr){const nr=ot._WINDOW_SIZE||1;let ir=tr.get(ot);return ir||(ir=this.precomputeWindow(ot,nr),nr!==1&&tr.set(ot,rr(ir))),this.wNAF(nr,ir,Ut)}}}function validateBasic(o){return validateField(o.Fp),validateObject(o,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...nLength(o.n,o.nBitLength),...o,p:o.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function validatePointOpts(o){const s=validateBasic(o);validateObject(s,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:a,Fp:rt,a:ot}=s;if(a){if(!rt.eql(ot,rt.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if(typeof a!="object"||typeof a.beta!="bigint"||typeof a.splitScalar!="function")throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...s})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=utils$a,DER={Err:class extends Error{constructor(s=""){super(s)}},_parseInt(o){const{Err:s}=DER;if(o.length<2||o[0]!==2)throw new s("Invalid signature integer tag");const a=o[1],rt=o.subarray(2,a+2);if(!a||rt.length!==a)throw new s("Invalid signature integer: wrong length");if(rt[0]&128)throw new s("Invalid signature integer: negative");if(rt[0]===0&&!(rt[1]&128))throw new s("Invalid signature integer: unnecessary leading zero");return{d:b2n(rt),l:o.subarray(a+2)}},toSig(o){const{Err:s}=DER,a=typeof o=="string"?h2b(o):o;if(!(a instanceof Uint8Array))throw new Error("ui8a expected");let rt=a.length;if(rt<2||a[0]!=48)throw new s("Invalid signature tag");if(a[1]!==rt-2)throw new s("Invalid signature: incorrect length");const{d:ot,l:tr}=DER._parseInt(a.subarray(2)),{d:Ut,l:rr}=DER._parseInt(tr);if(rr.length)throw new s("Invalid signature: left bytes after parsing");return{r:ot,s:Ut}},hexFromSig(o){const s=ir=>Number.parseInt(ir[0],16)&8?"00"+ir:ir,a=ir=>{const sr=ir.toString(16);return sr.length&1?`0${sr}`:sr},rt=s(a(o.s)),ot=s(a(o.r)),tr=rt.length/2,Ut=ot.length/2,rr=a(tr),nr=a(Ut);return`30${a(Ut+tr+4)}02${nr}${ot}02${rr}${rt}`}},_0n$1=BigInt(0),_1n$1=BigInt(1),_2n$1=BigInt(2),_3n=BigInt(3),_4n=BigInt(4);function weierstrassPoints(o){const s=validatePointOpts(o),{Fp:a}=s,rt=s.toBytes||((lr,dr,vr)=>{const mr=dr.toAffine();return concatBytes$1(Uint8Array.from([4]),a.toBytes(mr.x),a.toBytes(mr.y))}),ot=s.fromBytes||(lr=>{const dr=lr.subarray(1),vr=a.fromBytes(dr.subarray(0,a.BYTES)),mr=a.fromBytes(dr.subarray(a.BYTES,2*a.BYTES));return{x:vr,y:mr}});function tr(lr){const{a:dr,b:vr}=s,mr=a.sqr(lr),pr=a.mul(mr,lr);return a.add(a.add(pr,a.mul(lr,dr)),vr)}if(!a.eql(a.sqr(s.Gy),tr(s.Gx)))throw new Error("bad generator point: equation left != right");function Ut(lr){return typeof lr=="bigint"&&_0n$1a.eql(br,a.ZERO);return pr(vr)&&pr(mr)?ar.ZERO:new ar(vr,mr,a.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(dr){const vr=a.invertBatch(dr.map(mr=>mr.pz));return dr.map((mr,pr)=>mr.toAffine(vr[pr])).map(ar.fromAffine)}static fromHex(dr){const vr=ar.fromAffine(ot(ensureBytes("pointHex",dr)));return vr.assertValidity(),vr}static fromPrivateKey(dr){return ar.BASE.multiply(nr(dr))}_setWindowSize(dr){this._WINDOW_SIZE=dr,ir.delete(this)}assertValidity(){if(this.is0()){if(s.allowInfinityPoint&&!a.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:dr,y:vr}=this.toAffine();if(!a.isValid(dr)||!a.isValid(vr))throw new Error("bad point: x or y not FE");const mr=a.sqr(vr),pr=tr(dr);if(!a.eql(mr,pr))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:dr}=this.toAffine();if(a.isOdd)return!a.isOdd(dr);throw new Error("Field doesn't support isOdd")}equals(dr){sr(dr);const{px:vr,py:mr,pz:pr}=this,{px:br,py:_r,pz:wr}=dr,jr=a.eql(a.mul(vr,wr),a.mul(br,pr)),yr=a.eql(a.mul(mr,wr),a.mul(_r,pr));return jr&&yr}negate(){return new ar(this.px,a.neg(this.py),this.pz)}double(){const{a:dr,b:vr}=s,mr=a.mul(vr,_3n),{px:pr,py:br,pz:_r}=this;let wr=a.ZERO,jr=a.ZERO,yr=a.ZERO,Ar=a.mul(pr,pr),Pr=a.mul(br,br),Tr=a.mul(_r,_r),kr=a.mul(pr,br);return kr=a.add(kr,kr),yr=a.mul(pr,_r),yr=a.add(yr,yr),wr=a.mul(dr,yr),jr=a.mul(mr,Tr),jr=a.add(wr,jr),wr=a.sub(Pr,jr),jr=a.add(Pr,jr),jr=a.mul(wr,jr),wr=a.mul(kr,wr),yr=a.mul(mr,yr),Tr=a.mul(dr,Tr),kr=a.sub(Ar,Tr),kr=a.mul(dr,kr),kr=a.add(kr,yr),yr=a.add(Ar,Ar),Ar=a.add(yr,Ar),Ar=a.add(Ar,Tr),Ar=a.mul(Ar,kr),jr=a.add(jr,Ar),Tr=a.mul(br,_r),Tr=a.add(Tr,Tr),Ar=a.mul(Tr,kr),wr=a.sub(wr,Ar),yr=a.mul(Tr,Pr),yr=a.add(yr,yr),yr=a.add(yr,yr),new ar(wr,jr,yr)}add(dr){sr(dr);const{px:vr,py:mr,pz:pr}=this,{px:br,py:_r,pz:wr}=dr;let jr=a.ZERO,yr=a.ZERO,Ar=a.ZERO;const Pr=s.a,Tr=a.mul(s.b,_3n);let kr=a.mul(vr,br),Vr=a.mul(mr,_r),Mr=a.mul(pr,wr),zr=a.add(vr,mr),Br=a.add(br,_r);zr=a.mul(zr,Br),Br=a.add(kr,Vr),zr=a.sub(zr,Br),Br=a.add(vr,pr);let Hr=a.add(br,wr);return Br=a.mul(Br,Hr),Hr=a.add(kr,Mr),Br=a.sub(Br,Hr),Hr=a.add(mr,pr),jr=a.add(_r,wr),Hr=a.mul(Hr,jr),jr=a.add(Vr,Mr),Hr=a.sub(Hr,jr),Ar=a.mul(Pr,Br),jr=a.mul(Tr,Mr),Ar=a.add(jr,Ar),jr=a.sub(Vr,Ar),Ar=a.add(Vr,Ar),yr=a.mul(jr,Ar),Vr=a.add(kr,kr),Vr=a.add(Vr,kr),Mr=a.mul(Pr,Mr),Br=a.mul(Tr,Br),Vr=a.add(Vr,Mr),Mr=a.sub(kr,Mr),Mr=a.mul(Pr,Mr),Br=a.add(Br,Mr),kr=a.mul(Vr,Br),yr=a.add(yr,kr),kr=a.mul(Hr,Br),jr=a.mul(zr,jr),jr=a.sub(jr,kr),kr=a.mul(zr,Vr),Ar=a.mul(Hr,Ar),Ar=a.add(Ar,kr),new ar(jr,yr,Ar)}subtract(dr){return this.add(dr.negate())}is0(){return this.equals(ar.ZERO)}wNAF(dr){return ur.wNAFCached(this,ir,dr,vr=>{const mr=a.invertBatch(vr.map(pr=>pr.pz));return vr.map((pr,br)=>pr.toAffine(mr[br])).map(ar.fromAffine)})}multiplyUnsafe(dr){const vr=ar.ZERO;if(dr===_0n$1)return vr;if(rr(dr),dr===_1n$1)return this;const{endo:mr}=s;if(!mr)return ur.unsafeLadder(this,dr);let{k1neg:pr,k1:br,k2neg:_r,k2:wr}=mr.splitScalar(dr),jr=vr,yr=vr,Ar=this;for(;br>_0n$1||wr>_0n$1;)br&_1n$1&&(jr=jr.add(Ar)),wr&_1n$1&&(yr=yr.add(Ar)),Ar=Ar.double(),br>>=_1n$1,wr>>=_1n$1;return pr&&(jr=jr.negate()),_r&&(yr=yr.negate()),yr=new ar(a.mul(yr.px,mr.beta),yr.py,yr.pz),jr.add(yr)}multiply(dr){rr(dr);let vr=dr,mr,pr;const{endo:br}=s;if(br){const{k1neg:_r,k1:wr,k2neg:jr,k2:yr}=br.splitScalar(vr);let{p:Ar,f:Pr}=this.wNAF(wr),{p:Tr,f:kr}=this.wNAF(yr);Ar=ur.constTimeNegate(_r,Ar),Tr=ur.constTimeNegate(jr,Tr),Tr=new ar(a.mul(Tr.px,br.beta),Tr.py,Tr.pz),mr=Ar.add(Tr),pr=Pr.add(kr)}else{const{p:_r,f:wr}=this.wNAF(vr);mr=_r,pr=wr}return ar.normalizeZ([mr,pr])[0]}multiplyAndAddUnsafe(dr,vr,mr){const pr=ar.BASE,br=(wr,jr)=>jr===_0n$1||jr===_1n$1||!wr.equals(pr)?wr.multiplyUnsafe(jr):wr.multiply(jr),_r=br(this,vr).add(br(dr,mr));return _r.is0()?void 0:_r}toAffine(dr){const{px:vr,py:mr,pz:pr}=this,br=this.is0();dr==null&&(dr=br?a.ONE:a.inv(pr));const _r=a.mul(vr,dr),wr=a.mul(mr,dr),jr=a.mul(pr,dr);if(br)return{x:a.ZERO,y:a.ZERO};if(!a.eql(jr,a.ONE))throw new Error("invZ was invalid");return{x:_r,y:wr}}isTorsionFree(){const{h:dr,isTorsionFree:vr}=s;if(dr===_1n$1)return!0;if(vr)return vr(ar,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:dr,clearCofactor:vr}=s;return dr===_1n$1?this:vr?vr(ar,this):this.multiplyUnsafe(s.h)}toRawBytes(dr=!0){return this.assertValidity(),rt(ar,this,dr)}toHex(dr=!0){return bytesToHex(this.toRawBytes(dr))}}ar.BASE=new ar(s.Gx,s.Gy,a.ONE),ar.ZERO=new ar(a.ZERO,a.ONE,a.ZERO);const cr=s.nBitLength,ur=wNAF(ar,s.endo?Math.ceil(cr/2):cr);return{CURVE:s,ProjectivePoint:ar,normPrivateKeyToScalar:nr,weierstrassEquation:tr,isWithinCurveOrder:Ut}}function validateOpts(o){const s=validateBasic(o);return validateObject(s,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...s})}function weierstrass(o){const s=validateOpts(o),{Fp:a,n:rt}=s,ot=a.BYTES+1,tr=2*a.BYTES+1;function Ut(Br){return _0n$1bytesToHex(numberToBytesBE(Br,s.nByteLength));function lr(Br){const Hr=rt>>_1n$1;return Br>Hr}function dr(Br){return lr(Br)?rr(-Br):Br}const vr=(Br,Hr,Ir)=>bytesToNumberBE(Br.slice(Hr,Ir));class mr{constructor(Hr,Ir,Or){this.r=Hr,this.s=Ir,this.recovery=Or,this.assertValidity()}static fromCompact(Hr){const Ir=s.nByteLength;return Hr=ensureBytes("compactSignature",Hr,Ir*2),new mr(vr(Hr,0,Ir),vr(Hr,Ir,2*Ir))}static fromDER(Hr){const{r:Ir,s:Or}=DER.toSig(ensureBytes("DER",Hr));return new mr(Ir,Or)}assertValidity(){if(!cr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!cr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(Hr){return new mr(this.r,this.s,Hr)}recoverPublicKey(Hr){const{r:Ir,s:Or,recovery:Nr}=this,Wr=yr(ensureBytes("msgHash",Hr));if(Nr==null||![0,1,2,3].includes(Nr))throw new Error("recovery id invalid");const Kr=Nr===2||Nr===3?Ir+s.n:Ir;if(Kr>=a.ORDER)throw new Error("recovery id 2 or 3 invalid");const Qr=Nr&1?"03":"02",Fr=ir.fromHex(Qr+ur(Kr)),Zr=nr(Kr),hn=rr(-Wr*Zr),wn=rr(Or*Zr),Gn=ir.BASE.multiplyAndAddUnsafe(Fr,hn,wn);if(!Gn)throw new Error("point at infinify");return Gn.assertValidity(),Gn}hasHighS(){return lr(this.s)}normalizeS(){return this.hasHighS()?new mr(this.r,rr(-this.s),this.recovery):this}toDERRawBytes(){return hexToBytes(this.toDERHex())}toDERHex(){return DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return hexToBytes(this.toCompactHex())}toCompactHex(){return ur(this.r)+ur(this.s)}}const pr={isValidPrivateKey(Br){try{return sr(Br),!0}catch{return!1}},normPrivateKeyToScalar:sr,randomPrivateKey:()=>{const Br=getMinHashLength(s.n);return mapHashToField(s.randomBytes(Br),s.n)},precompute(Br=8,Hr=ir.BASE){return Hr._setWindowSize(Br),Hr.multiply(BigInt(3)),Hr}};function br(Br,Hr=!0){return ir.fromPrivateKey(Br).toRawBytes(Hr)}function _r(Br){const Hr=Br instanceof Uint8Array,Ir=typeof Br=="string",Or=(Hr||Ir)&&Br.length;return Hr?Or===ot||Or===tr:Ir?Or===2*ot||Or===2*tr:Br instanceof ir}function wr(Br,Hr,Ir=!0){if(_r(Br))throw new Error("first arg must be private key");if(!_r(Hr))throw new Error("second arg must be public key");return ir.fromHex(Hr).multiply(sr(Br)).toRawBytes(Ir)}const jr=s.bits2int||function(Br){const Hr=bytesToNumberBE(Br),Ir=Br.length*8-s.nBitLength;return Ir>0?Hr>>BigInt(Ir):Hr},yr=s.bits2int_modN||function(Br){return rr(jr(Br))},Ar=bitMask(s.nBitLength);function Pr(Br){if(typeof Br!="bigint")throw new Error("bigint expected");if(!(_0n$1<=Br&&BrXn in Ir))throw new Error("sign() legacy options not supported");const{hash:Or,randomBytes:Nr}=s;let{lowS:Wr,prehash:Kr,extraEntropy:Qr}=Ir;Wr==null&&(Wr=!0),Br=ensureBytes("msgHash",Br),Kr&&(Br=ensureBytes("prehashed msgHash",Or(Br)));const Fr=yr(Br),Zr=sr(Hr),hn=[Pr(Zr),Pr(Fr)];if(Qr!=null){const Xn=Qr===!0?Nr(a.BYTES):Qr;hn.push(ensureBytes("extraEntropy",Xn))}const wn=concatBytes$1(...hn),Gn=Fr;function to(Xn){const Wn=jr(Xn);if(!cr(Wn))return;const In=nr(Wn),Cn=ir.BASE.multiply(Wn).toAffine(),io=rr(Cn.x);if(io===_0n$1)return;const so=rr(In*rr(Gn+io*Zr));if(so===_0n$1)return;let go=(Cn.x===io?0:2)|Number(Cn.y&_1n$1),Gr=so;return Wr&&lr(so)&&(Gr=dr(so),go^=1),new mr(io,Gr,go)}return{seed:wn,k2sig:to}}const kr={lowS:s.lowS,prehash:!1},Vr={lowS:s.lowS,prehash:!1};function Mr(Br,Hr,Ir=kr){const{seed:Or,k2sig:Nr}=Tr(Br,Hr,Ir),Wr=s;return createHmacDrbg(Wr.hash.outputLen,Wr.nByteLength,Wr.hmac)(Or,Nr)}ir.BASE._setWindowSize(8);function zr(Br,Hr,Ir,Or=Vr){var Cn;const Nr=Br;if(Hr=ensureBytes("msgHash",Hr),Ir=ensureBytes("publicKey",Ir),"strict"in Or)throw new Error("options.strict was renamed to lowS");const{lowS:Wr,prehash:Kr}=Or;let Qr,Fr;try{if(typeof Nr=="string"||Nr instanceof Uint8Array)try{Qr=mr.fromDER(Nr)}catch(io){if(!(io instanceof DER.Err))throw io;Qr=mr.fromCompact(Nr)}else if(typeof Nr=="object"&&typeof Nr.r=="bigint"&&typeof Nr.s=="bigint"){const{r:io,s:so}=Nr;Qr=new mr(io,so)}else throw new Error("PARSE");Fr=ir.fromHex(Ir)}catch(io){if(io.message==="PARSE")throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Wr&&Qr.hasHighS())return!1;Kr&&(Hr=s.hash(Hr));const{r:Zr,s:hn}=Qr,wn=yr(Hr),Gn=nr(hn),to=rr(wn*Gn),Xn=rr(Zr*Gn),Wn=(Cn=ir.BASE.multiplyAndAddUnsafe(Fr,to,Xn))==null?void 0:Cn.toAffine();return Wn?rr(Wn.x)===Zr:!1}return{CURVE:s,getPublicKey:br,getSharedSecret:wr,sign:Mr,verify:zr,ProjectivePoint:ir,Signature:mr,utils:pr}}function SWUFpSqrtRatio(o,s){const a=o.ORDER;let rt=_0n$1;for(let lr=a-_1n$1;lr%_2n$1===_0n$1;lr/=_2n$1)rt+=_1n$1;const ot=rt,tr=_2n$1<{let vr=ar,mr=o.pow(dr,ir),pr=o.sqr(mr);pr=o.mul(pr,dr);let br=o.mul(lr,pr);br=o.pow(br,nr),br=o.mul(br,mr),mr=o.mul(br,dr),pr=o.mul(br,lr);let _r=o.mul(pr,mr);br=o.pow(_r,sr);let wr=o.eql(br,o.ONE);mr=o.mul(pr,cr),br=o.mul(_r,vr),pr=o.cmov(mr,pr,wr),_r=o.cmov(br,_r,wr);for(let jr=ot;jr>_1n$1;jr--){let yr=jr-_2n$1;yr=_2n$1<{let pr=o.sqr(mr);const br=o.mul(vr,mr);pr=o.mul(pr,br);let _r=o.pow(pr,lr);_r=o.mul(_r,br);const wr=o.mul(_r,dr),jr=o.mul(o.sqr(_r),mr),yr=o.eql(jr,vr);let Ar=o.cmov(wr,_r,yr);return{isValid:yr,value:Ar}}}return ur}function mapToCurveSimpleSWU(o,s){if(validateField(o),!o.isValid(s.A)||!o.isValid(s.B)||!o.isValid(s.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const a=SWUFpSqrtRatio(o,s.Z);if(!o.isOdd)throw new Error("Fp.isOdd is not implemented!");return rt=>{let ot,tr,Ut,rr,nr,ir,sr,ar;ot=o.sqr(rt),ot=o.mul(ot,s.Z),tr=o.sqr(ot),tr=o.add(tr,ot),Ut=o.add(tr,o.ONE),Ut=o.mul(Ut,s.B),rr=o.cmov(s.Z,o.neg(tr),!o.eql(tr,o.ZERO)),rr=o.mul(rr,s.A),tr=o.sqr(Ut),ir=o.sqr(rr),nr=o.mul(ir,s.A),tr=o.add(tr,nr),tr=o.mul(tr,Ut),ir=o.mul(ir,rr),nr=o.mul(ir,s.B),tr=o.add(tr,nr),sr=o.mul(ot,Ut);const{isValid:cr,value:ur}=a(tr,ir);ar=o.mul(ot,rt),ar=o.mul(ar,ur),sr=o.cmov(sr,Ut,cr),ar=o.cmov(ar,ur,cr);const lr=o.isOdd(rt)===o.isOdd(ar);return ar=o.cmov(o.neg(ar),ar,lr),sr=o.div(sr,rr),{x:sr,y:ar}}}function validateDST(o){if(o instanceof Uint8Array)return o;if(typeof o=="string")return utf8ToBytes(o);throw new Error("DST must be Uint8Array or string")}const os2ip=bytesToNumberBE;function i2osp(o,s){if(o<0||o>=1<<8*s)throw new Error(`bad I2OSP call: value=${o} length=${s}`);const a=Array.from({length:s}).fill(0);for(let rt=s-1;rt>=0;rt--)a[rt]=o&255,o>>>=8;return new Uint8Array(a)}function strxor(o,s){const a=new Uint8Array(o.length);for(let rt=0;rt255&&(s=rt(concatBytes$1(utf8ToBytes("H2C-OVERSIZE-DST-"),s)));const{outputLen:ot,blockLen:tr}=rt,Ut=Math.ceil(a/ot);if(Ut>255)throw new Error("Invalid xmd length");const rr=concatBytes$1(s,i2osp(s.length,1)),nr=i2osp(0,tr),ir=i2osp(a,2),sr=new Array(Ut),ar=rt(concatBytes$1(nr,o,ir,i2osp(0,1),rr));sr[0]=rt(concatBytes$1(ar,i2osp(1,1),rr));for(let ur=1;ur<=Ut;ur++){const lr=[strxor(ar,sr[ur-1]),i2osp(ur+1,1),rr];sr[ur]=rt(concatBytes$1(...lr))}return concatBytes$1(...sr).slice(0,a)}function expand_message_xof(o,s,a,rt,ot){if(isBytes$2(o),isBytes$2(s),isNum(a),s.length>255){const tr=Math.ceil(2*rt/8);s=ot.create({dkLen:tr}).update(utf8ToBytes("H2C-OVERSIZE-DST-")).update(s).digest()}if(a>65535||s.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return ot.create({dkLen:a}).update(o).update(i2osp(a,2)).update(s).update(i2osp(s.length,1)).digest()}function hash_to_field(o,s,a){validateObject(a,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:rt,k:ot,m:tr,hash:Ut,expand:rr,DST:nr}=a;isBytes$2(o),isNum(s);const ir=validateDST(nr),sr=rt.toString(2).length,ar=Math.ceil((sr+ot)/8),cr=s*tr*ar;let ur;if(rr==="xmd")ur=expand_message_xmd(o,ir,cr,Ut);else if(rr==="xof")ur=expand_message_xof(o,ir,cr,ot,Ut);else if(rr==="_internal_pass")ur=o;else throw new Error('expand must be "xmd" or "xof"');const lr=new Array(s);for(let dr=0;drArray.from(rt).reverse());return(rt,ot)=>{const[tr,Ut,rr,nr]=a.map(ir=>ir.reduce((sr,ar)=>o.add(o.mul(sr,rt),ar)));return rt=o.div(tr,Ut),ot=o.mul(ot,o.div(rr,nr)),{x:rt,y:ot}}}function createHasher(o,s,a){if(typeof s!="function")throw new Error("mapToCurve() must be defined");return{hashToCurve(rt,ot){const tr=hash_to_field(rt,2,{...a,DST:a.DST,...ot}),Ut=o.fromAffine(s(tr[0])),rr=o.fromAffine(s(tr[1])),nr=Ut.add(rr).clearCofactor();return nr.assertValidity(),nr},encodeToCurve(rt,ot){const tr=hash_to_field(rt,1,{...a,DST:a.encodeDST,...ot}),Ut=o.fromAffine(s(tr[0])).clearCofactor();return Ut.assertValidity(),Ut}}}let HMAC$1=class extends Hash{constructor(s,a){super(),this.finished=!1,this.destroyed=!1,hash$5(s);const rt=toBytes$1(a);if(this.iHash=s.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 ot=this.blockLen,tr=new Uint8Array(ot);tr.set(rt.length>ot?s.create().update(rt).digest():rt);for(let Ut=0;Utnew HMAC$1(o,s).update(a).digest();hmac$2.create=(o,s)=>new HMAC$1(o,s);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function getHash(o){return{hash:o,hmac:(s,...a)=>hmac$2(o,s,concatBytes$2(...a)),randomBytes}}function createCurve(o,s){const a=rt=>weierstrass({...o,...getHash(rt)});return Object.freeze({...a(s),create:a})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(o,s)=>(o+s/_2n)/s;function sqrtMod(o){const s=secp256k1P,a=BigInt(3),rt=BigInt(6),ot=BigInt(11),tr=BigInt(22),Ut=BigInt(23),rr=BigInt(44),nr=BigInt(88),ir=o*o*o%s,sr=ir*ir*o%s,ar=pow2(sr,a,s)*sr%s,cr=pow2(ar,a,s)*sr%s,ur=pow2(cr,_2n,s)*ir%s,lr=pow2(ur,ot,s)*ur%s,dr=pow2(lr,tr,s)*lr%s,vr=pow2(dr,rr,s)*dr%s,mr=pow2(vr,nr,s)*vr%s,pr=pow2(mr,rr,s)*dr%s,br=pow2(pr,a,s)*sr%s,_r=pow2(br,Ut,s)*lr%s,wr=pow2(_r,rt,s)*ir%s,jr=pow2(wr,_2n,s);if(!Fp.eql(Fp.sqr(jr),o))throw new Error("Cannot find square root");return jr}const Fp=Field(secp256k1P,void 0,void 0,{sqrt:sqrtMod}),secp256k1=createCurve({a:BigInt(0),b:BigInt(7),Fp,n:secp256k1N,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:o=>{const s=secp256k1N,a=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),rt=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),ot=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),tr=a,Ut=BigInt("0x100000000000000000000000000000000"),rr=divNearest(tr*o,s),nr=divNearest(-rt*o,s);let ir=mod(o-rr*a-nr*ot,s),sr=mod(-rr*rt-nr*tr,s);const ar=ir>Ut,cr=sr>Ut;if(ar&&(ir=s-ir),cr&&(sr=s-sr),ir>Ut||sr>Ut)throw new Error("splitScalar: Endomorphism failed, k="+o);return{k1neg:ar,k1:ir,k2neg:cr,k2:sr}}}},sha256$1),_0n=BigInt(0),fe=o=>typeof o=="bigint"&&_0ntypeof o=="bigint"&&_0not.charCodeAt(0)));a=concatBytes$1(rt,rt),TAGGED_HASH_PREFIXES[o]=a}return sha256$1(concatBytes$1(a,...s))}const pointToBytes=o=>o.toRawBytes(!0).slice(1),numTo32b=o=>numberToBytesBE(o,32),modP=o=>mod(o,secp256k1P),modN=o=>mod(o,secp256k1N),Point=secp256k1.ProjectivePoint,GmulAdd=(o,s,a)=>Point.BASE.multiplyAndAddUnsafe(o,s,a);function schnorrGetExtPubKey(o){let s=secp256k1.utils.normPrivateKeyToScalar(o),a=Point.fromPrivateKey(s);return{scalar:a.hasEvenY()?s:modN(-s),bytes:pointToBytes(a)}}function lift_x(o){if(!fe(o))throw new Error("bad x: need 0 < x < p");const s=modP(o*o),a=modP(s*o+BigInt(7));let rt=sqrtMod(a);rt%_2n!==_0n&&(rt=modP(-rt));const ot=new Point(o,rt,_1n);return ot.assertValidity(),ot}function challenge(...o){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...o)))}function schnorrGetPublicKey(o){return schnorrGetExtPubKey(o).bytes}function schnorrSign(o,s,a=randomBytes(32)){const rt=ensureBytes("message",o),{bytes:ot,scalar:tr}=schnorrGetExtPubKey(s),Ut=ensureBytes("auxRand",a,32),rr=numTo32b(tr^bytesToNumberBE(taggedHash("BIP0340/aux",Ut))),nr=taggedHash("BIP0340/nonce",rr,ot,rt),ir=modN(bytesToNumberBE(nr));if(ir===_0n)throw new Error("sign failed: k is zero");const{bytes:sr,scalar:ar}=schnorrGetExtPubKey(ir),cr=challenge(sr,ot,rt),ur=new Uint8Array(64);if(ur.set(sr,0),ur.set(numTo32b(modN(ar+cr*tr)),32),!schnorrVerify(ur,rt,ot))throw new Error("sign: Invalid signature produced");return ur}function schnorrVerify(o,s,a){const rt=ensureBytes("signature",o,64),ot=ensureBytes("message",s),tr=ensureBytes("publicKey",a,32);try{const Ut=lift_x(bytesToNumberBE(tr)),rr=bytesToNumberBE(rt.subarray(0,32));if(!fe(rr))return!1;const nr=bytesToNumberBE(rt.subarray(32,64));if(!ge(nr))return!1;const ir=challenge(numTo32b(rr),pointToBytes(Ut),ot),sr=GmulAdd(Ut,nr,modN(-ir));return!(!sr||!sr.hasEvenY()||sr.toAffine().x!==rr)}catch{return!1}}const schnorr=(()=>({getPublicKey:schnorrGetPublicKey,sign:schnorrSign,verify:schnorrVerify,utils:{randomPrivateKey:secp256k1.utils.randomPrivateKey,lift_x,pointToBytes,numberToBytesBE,bytesToNumberBE,taggedHash,mod}}))(),isoMap=(()=>isogenyMap(Fp,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(o=>o.map(s=>BigInt(s)))))(),mapSWU=(()=>mapToCurveSimpleSWU(Fp,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:Fp.create(BigInt("-11"))}))(),htf=(()=>createHasher(secp256k1.ProjectivePoint,o=>{const{x:s,y:a}=mapSWU(Fp.create(o[0]));return isoMap(s,a)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:Fp.ORDER,m:1,k:128,expand:"xmd",hash:sha256$1}))(),hashToCurve=(()=>htf.hashToCurve)(),encodeToCurve=(()=>htf.encodeToCurve)(),secp256k1$1=Object.freeze(Object.defineProperty({__proto__:null,encodeToCurve,hashToCurve,schnorr,secp256k1},Symbol.toStringTag,{value:"Module"})),goerli=defineChain$2({id:5,network:"goerli",name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://eth-goerli.g.alchemy.com/v2"],webSocket:["wss://eth-goerli.g.alchemy.com/v2"]},infura:{http:["https://goerli.infura.io/v3"],webSocket:["wss://goerli.infura.io/ws/v3"]},default:{http:["https://rpc.ankr.com/eth_goerli"]},public:{http:["https://rpc.ankr.com/eth_goerli"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://goerli.etherscan.io"},default:{name:"Etherscan",url:"https://goerli.etherscan.io"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0x56522D00C410a43BFfDF00a9A569489297385790",blockCreated:8765204},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6507670}},testnet:!0}),mainnet=defineChain$2({id:1,network:"homestead",name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{alchemy:{http:["https://eth-mainnet.g.alchemy.com/v2"],webSocket:["wss://eth-mainnet.g.alchemy.com/v2"]},infura:{http:["https://mainnet.infura.io/v3"],webSocket:["wss://mainnet.infura.io/ws/v3"]},default:{http:["https://cloudflare-eth.com"]},public:{http:["https://cloudflare-eth.com"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://etherscan.io"},default:{name:"Etherscan",url:"https://etherscan.io"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62",blockCreated:16966585},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}}),sepolia=defineChain$2({id:11155111,network:"sepolia",name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"SEP",decimals:18},rpcUrls:{alchemy:{http:["https://eth-sepolia.g.alchemy.com/v2"],webSocket:["wss://eth-sepolia.g.alchemy.com/v2"]},infura:{http:["https://sepolia.infura.io/v3"],webSocket:["wss://sepolia.infura.io/ws/v3"]},default:{http:["https://rpc.sepolia.org"]},public:{http:["https://rpc.sepolia.org"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://sepolia.etherscan.io"},default:{name:"Etherscan",url:"https://sepolia.etherscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:751532},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0x21B000Fd62a880b2125A61e36a284BB757b76025",blockCreated:3914906}},testnet:!0});var ChainNotConfiguredForConnectorError=class extends Error{constructor({chainId:o,connectorId:s}){super(`Chain "${o}" not configured for connector "${s}".`),this.name="ChainNotConfiguredForConnectorError"}},ConnectorNotFoundError=class extends Error{constructor(){super(...arguments),this.name="ConnectorNotFoundError",this.message="Connector not found"}};function normalizeChainId(o){return typeof o=="string"?Number.parseInt(o,o.trim().substring(0,2)==="0x"?16:10):typeof o=="bigint"?Number(o):o}var eventemitter3={exports:{}};(function(o){var s=Object.prototype.hasOwnProperty,a="~";function rt(){}Object.create&&(rt.prototype=Object.create(null),new rt().__proto__||(a=!1));function ot(nr,ir,sr){this.fn=nr,this.context=ir,this.once=sr||!1}function tr(nr,ir,sr,ar,cr){if(typeof sr!="function")throw new TypeError("The listener must be a function");var ur=new ot(sr,ar||nr,cr),lr=a?a+ir:ir;return nr._events[lr]?nr._events[lr].fn?nr._events[lr]=[nr._events[lr],ur]:nr._events[lr].push(ur):(nr._events[lr]=ur,nr._eventsCount++),nr}function Ut(nr,ir){--nr._eventsCount===0?nr._events=new rt:delete nr._events[ir]}function rr(){this._events=new rt,this._eventsCount=0}rr.prototype.eventNames=function(){var ir=[],sr,ar;if(this._eventsCount===0)return ir;for(ar in sr=this._events)s.call(sr,ar)&&ir.push(a?ar.slice(1):ar);return Object.getOwnPropertySymbols?ir.concat(Object.getOwnPropertySymbols(sr)):ir},rr.prototype.listeners=function(ir){var sr=a?a+ir:ir,ar=this._events[sr];if(!ar)return[];if(ar.fn)return[ar.fn];for(var cr=0,ur=ar.length,lr=new Array(ur);cr{if(!s.has(o))throw TypeError("Cannot "+a)},__privateGet$1=(o,s,a)=>(__accessCheck$1(o,s,"read from private field"),a?a.call(o):s.get(o)),__privateAdd$1=(o,s,a)=>{if(s.has(o))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(o):s.set(o,a)},__privateSet$1=(o,s,a,rt)=>(__accessCheck$1(o,s,"write to private field"),rt?rt.call(o,a):s.set(o,a),a),__privateMethod$1=(o,s,a)=>(__accessCheck$1(o,s,"access private method"),a),Connector=class extends EventEmitter$1{constructor({chains:o=[mainnet,goerli],options:s}){super(),this.chains=o,this.options=s}getBlockExplorerUrls(o){const{default:s,...a}=o.blockExplorers??{};if(s)return[s.url,...Object.values(a).map(rt=>rt.url)]}isChainUnsupported(o){return!this.chains.some(s=>s.id===o)}setStorage(o){this.storage=o}};function getInjectedName(o){var a;if(!o)return"Injected";const s=rt=>{if(rt.isApexWallet)return"Apex Wallet";if(rt.isAvalanche)return"Core Wallet";if(rt.isBackpack)return"Backpack";if(rt.isBifrost)return"Bifrost Wallet";if(rt.isBitKeep)return"BitKeep";if(rt.isBitski)return"Bitski";if(rt.isBlockWallet)return"BlockWallet";if(rt.isBraveWallet)return"Brave Wallet";if(rt.isCoin98)return"Coin98 Wallet";if(rt.isCoinbaseWallet)return"Coinbase Wallet";if(rt.isDawn)return"Dawn Wallet";if(rt.isDefiant)return"Defiant";if(rt.isDesig)return"Desig Wallet";if(rt.isEnkrypt)return"Enkrypt";if(rt.isExodus)return"Exodus";if(rt.isFordefi)return"Fordefi";if(rt.isFrame)return"Frame";if(rt.isFrontier)return"Frontier Wallet";if(rt.isGamestop)return"GameStop Wallet";if(rt.isHaqqWallet)return"HAQQ Wallet";if(rt.isHyperPay)return"HyperPay Wallet";if(rt.isImToken)return"ImToken";if(rt.isHaloWallet)return"Halo Wallet";if(rt.isKuCoinWallet)return"KuCoin Wallet";if(rt.isMathWallet)return"MathWallet";if(rt.isNovaWallet)return"Nova Wallet";if(rt.isOkxWallet||rt.isOKExWallet)return"OKX Wallet";if(rt.isOneInchIOSWallet||rt.isOneInchAndroidWallet)return"1inch Wallet";if(rt.isOpera)return"Opera";if(rt.isPhantom)return"Phantom";if(rt.isPortal)return"Ripio Portal";if(rt.isRabby)return"Rabby Wallet";if(rt.isRainbow)return"Rainbow";if(rt.isSafePal)return"SafePal Wallet";if(rt.isStatus)return"Status";if(rt.isSubWallet)return"SubWallet";if(rt.isTalisman)return"Talisman";if(rt.isTally)return"Taho";if(rt.isTokenPocket)return"TokenPocket";if(rt.isTokenary)return"Tokenary";if(rt.isTrust||rt.isTrustWallet)return"Trust Wallet";if(rt.isTTWallet)return"TTWallet";if(rt.isXDEFI)return"XDEFI Wallet";if(rt.isZeal)return"Zeal";if(rt.isZerion)return"Zerion";if(rt.isMetaMask)return"MetaMask"};if((a=o.providers)!=null&&a.length){const rt=new Set;let ot=1;for(const Ut of o.providers){let rr=s(Ut);rr||(rr=`Unknown Wallet #${ot}`,ot+=1),rt.add(rr)}const tr=[...rt];return tr.length?tr:tr[0]??"Injected"}return s(o)??"Injected"}var _provider$2,InjectedConnector=class extends Connector{constructor({chains:o,options:s}={}){const a={shimDisconnect:!0,getProvider(){if(typeof window>"u")return;const ot=window.ethereum;return ot!=null&&ot.providers&&ot.providers.length>0?ot.providers[0]:ot},...s};super({chains:o,options:a}),this.id="injected",__privateAdd$1(this,_provider$2,void 0),this.shimDisconnectKey=`${this.id}.shimDisconnect`,this.onAccountsChanged=ot=>{ot.length===0?this.emit("disconnect"):this.emit("change",{account:getAddress$2(ot[0])})},this.onChainChanged=ot=>{const tr=normalizeChainId(ot),Ut=this.isChainUnsupported(tr);this.emit("change",{chain:{id:tr,unsupported:Ut}})},this.onDisconnect=async ot=>{var tr;ot.code===1013&&await this.getProvider()&&await this.getAccount()||(this.emit("disconnect"),this.options.shimDisconnect&&((tr=this.storage)==null||tr.removeItem(this.shimDisconnectKey)))};const rt=a.getProvider();if(typeof a.name=="string")this.name=a.name;else if(rt){const ot=getInjectedName(rt);a.name?this.name=a.name(ot):typeof ot=="string"?this.name=ot:this.name=ot[0]}else this.name="Injected";this.ready=!!rt}async connect({chainId:o}={}){var s;try{const a=await this.getProvider();if(!a)throw new ConnectorNotFoundError;a.on&&(a.on("accountsChanged",this.onAccountsChanged),a.on("chainChanged",this.onChainChanged),a.on("disconnect",this.onDisconnect)),this.emit("message",{type:"connecting"});const rt=await a.request({method:"eth_requestAccounts"}),ot=getAddress$2(rt[0]);let tr=await this.getChainId(),Ut=this.isChainUnsupported(tr);return o&&tr!==o&&(tr=(await this.switchChain(o)).id,Ut=this.isChainUnsupported(tr)),this.options.shimDisconnect&&((s=this.storage)==null||s.setItem(this.shimDisconnectKey,!0)),{account:ot,chain:{id:tr,unsupported:Ut}}}catch(a){throw this.isUserRejectedRequestError(a)?new UserRejectedRequestError$1(a):a.code===-32002?new ResourceUnavailableRpcError$1(a):a}}async disconnect(){var s;const o=await this.getProvider();o!=null&&o.removeListener&&(o.removeListener("accountsChanged",this.onAccountsChanged),o.removeListener("chainChanged",this.onChainChanged),o.removeListener("disconnect",this.onDisconnect),this.options.shimDisconnect&&((s=this.storage)==null||s.removeItem(this.shimDisconnectKey)))}async getAccount(){const o=await this.getProvider();if(!o)throw new ConnectorNotFoundError;const s=await o.request({method:"eth_accounts"});return getAddress$2(s[0])}async getChainId(){const o=await this.getProvider();if(!o)throw new ConnectorNotFoundError;return o.request({method:"eth_chainId"}).then(normalizeChainId)}async getProvider(){const o=this.options.getProvider();return o&&__privateSet$1(this,_provider$2,o),__privateGet$1(this,_provider$2)}async getWalletClient({chainId:o}={}){const[s,a]=await Promise.all([this.getProvider(),this.getAccount()]),rt=this.chains.find(ot=>ot.id===o);if(!s)throw new Error("provider is required.");return createWalletClient$1({account:a,chain:rt,transport:custom$2(s)})}async isAuthorized(){var o;try{if(this.options.shimDisconnect&&!((o=this.storage)!=null&&o.getItem(this.shimDisconnectKey)))return!1;if(!await this.getProvider())throw new ConnectorNotFoundError;return!!await this.getAccount()}catch{return!1}}async switchChain(o){var rt,ot,tr;const s=await this.getProvider();if(!s)throw new ConnectorNotFoundError;const a=numberToHex(o);try{return await Promise.all([s.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),new Promise(Ut=>this.on("change",({chain:rr})=>{(rr==null?void 0:rr.id)===o&&Ut()}))]),this.chains.find(Ut=>Ut.id===o)??{id:o,name:`Chain ${a}`,network:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpcUrls:{default:{http:[""]},public:{http:[""]}}}}catch(Ut){const rr=this.chains.find(nr=>nr.id===o);if(!rr)throw new ChainNotConfiguredForConnectorError({chainId:o,connectorId:this.id});if(Ut.code===4902||((ot=(rt=Ut==null?void 0:Ut.data)==null?void 0:rt.originalError)==null?void 0:ot.code)===4902)try{if(await s.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:rr.name,nativeCurrency:rr.nativeCurrency,rpcUrls:[((tr=rr.rpcUrls.public)==null?void 0:tr.http[0])??""],blockExplorerUrls:this.getBlockExplorerUrls(rr)}]}),await this.getChainId()!==o)throw new UserRejectedRequestError$1(new Error("User rejected switch after adding network."));return rr}catch(nr){throw new UserRejectedRequestError$1(nr)}throw this.isUserRejectedRequestError(Ut)?new UserRejectedRequestError$1(Ut):new SwitchChainError$1(Ut)}}async watchAsset({address:o,decimals:s=18,image:a,symbol:rt}){const ot=await this.getProvider();if(!ot)throw new ConnectorNotFoundError;return ot.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:o,decimals:s,image:a,symbol:rt}}})}isUserRejectedRequestError(o){return o.code===4001}};_provider$2=new WeakMap;var __accessCheck=(o,s,a)=>{if(!s.has(o))throw TypeError("Cannot "+a)},__privateGet=(o,s,a)=>(__accessCheck(o,s,"read from private field"),a?a.call(o):s.get(o)),__privateAdd=(o,s,a)=>{if(s.has(o))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(o):s.set(o,a)},__privateSet=(o,s,a,rt)=>(__accessCheck(o,s,"write to private field"),rt?rt.call(o,a):s.set(o,a),a),__privateMethod=(o,s,a)=>(__accessCheck(o,s,"access private method"),a);const subscribeWithSelectorImpl=o=>(s,a,rt)=>{const ot=rt.subscribe;return rt.subscribe=(Ut,rr,nr)=>{let ir=Ut;if(rr){const sr=(nr==null?void 0:nr.equalityFn)||Object.is;let ar=Ut(rt.getState());ir=cr=>{const ur=Ut(cr);if(!sr(ar,ur)){const lr=ar;rr(ar=ur,lr)}},nr!=null&&nr.fireImmediately&&rr(ar,ar)}return ot(ir)},o(s,a,rt)},subscribeWithSelector=subscribeWithSelectorImpl;function createJSONStorage(o,s){let a;try{a=o()}catch{return}return{getItem:ot=>{var tr;const Ut=nr=>nr===null?null:JSON.parse(nr,s==null?void 0:s.reviver),rr=(tr=a.getItem(ot))!=null?tr:null;return rr instanceof Promise?rr.then(Ut):Ut(rr)},setItem:(ot,tr)=>a.setItem(ot,JSON.stringify(tr,s==null?void 0:s.replacer)),removeItem:ot=>a.removeItem(ot)}}const toThenable=o=>s=>{try{const a=o(s);return a instanceof Promise?a:{then(rt){return toThenable(rt)(a)},catch(rt){return this}}}catch(a){return{then(rt){return this},catch(rt){return toThenable(rt)(a)}}}},oldImpl=(o,s)=>(a,rt,ot)=>{let tr={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:vr=>vr,version:0,merge:(vr,mr)=>({...mr,...vr}),...s},Ut=!1;const rr=new Set,nr=new Set;let ir;try{ir=tr.getStorage()}catch{}if(!ir)return o((...vr)=>{console.warn(`[zustand persist middleware] Unable to update item '${tr.name}', the given storage is currently unavailable.`),a(...vr)},rt,ot);const sr=toThenable(tr.serialize),ar=()=>{const vr=tr.partialize({...rt()});let mr;const pr=sr({state:vr,version:tr.version}).then(br=>ir.setItem(tr.name,br)).catch(br=>{mr=br});if(mr)throw mr;return pr},cr=ot.setState;ot.setState=(vr,mr)=>{cr(vr,mr),ar()};const ur=o((...vr)=>{a(...vr),ar()},rt,ot);let lr;const dr=()=>{var vr;if(!ir)return;Ut=!1,rr.forEach(pr=>pr(rt()));const mr=((vr=tr.onRehydrateStorage)==null?void 0:vr.call(tr,rt()))||void 0;return toThenable(ir.getItem.bind(ir))(tr.name).then(pr=>{if(pr)return tr.deserialize(pr)}).then(pr=>{if(pr)if(typeof pr.version=="number"&&pr.version!==tr.version){if(tr.migrate)return tr.migrate(pr.state,pr.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return pr.state}).then(pr=>{var br;return lr=tr.merge(pr,(br=rt())!=null?br:ur),a(lr,!0),ar()}).then(()=>{mr==null||mr(lr,void 0),Ut=!0,nr.forEach(pr=>pr(lr))}).catch(pr=>{mr==null||mr(void 0,pr)})};return ot.persist={setOptions:vr=>{tr={...tr,...vr},vr.getStorage&&(ir=vr.getStorage())},clearStorage:()=>{ir==null||ir.removeItem(tr.name)},getOptions:()=>tr,rehydrate:()=>dr(),hasHydrated:()=>Ut,onHydrate:vr=>(rr.add(vr),()=>{rr.delete(vr)}),onFinishHydration:vr=>(nr.add(vr),()=>{nr.delete(vr)})},dr(),lr||ur},newImpl=(o,s)=>(a,rt,ot)=>{let tr={storage:createJSONStorage(()=>localStorage),partialize:dr=>dr,version:0,merge:(dr,vr)=>({...vr,...dr}),...s},Ut=!1;const rr=new Set,nr=new Set;let ir=tr.storage;if(!ir)return o((...dr)=>{console.warn(`[zustand persist middleware] Unable to update item '${tr.name}', the given storage is currently unavailable.`),a(...dr)},rt,ot);const sr=()=>{const dr=tr.partialize({...rt()});return ir.setItem(tr.name,{state:dr,version:tr.version})},ar=ot.setState;ot.setState=(dr,vr)=>{ar(dr,vr),sr()};const cr=o((...dr)=>{a(...dr),sr()},rt,ot);let ur;const lr=()=>{var dr,vr;if(!ir)return;Ut=!1,rr.forEach(pr=>{var br;return pr((br=rt())!=null?br:cr)});const mr=((vr=tr.onRehydrateStorage)==null?void 0:vr.call(tr,(dr=rt())!=null?dr:cr))||void 0;return toThenable(ir.getItem.bind(ir))(tr.name).then(pr=>{if(pr)if(typeof pr.version=="number"&&pr.version!==tr.version){if(tr.migrate)return tr.migrate(pr.state,pr.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return pr.state}).then(pr=>{var br;return ur=tr.merge(pr,(br=rt())!=null?br:cr),a(ur,!0),sr()}).then(()=>{mr==null||mr(ur,void 0),ur=rt(),Ut=!0,nr.forEach(pr=>pr(ur))}).catch(pr=>{mr==null||mr(void 0,pr)})};return ot.persist={setOptions:dr=>{tr={...tr,...dr},dr.storage&&(ir=dr.storage)},clearStorage:()=>{ir==null||ir.removeItem(tr.name)},getOptions:()=>tr,rehydrate:()=>lr(),hasHydrated:()=>Ut,onHydrate:dr=>(rr.add(dr),()=>{rr.delete(dr)}),onFinishHydration:dr=>(nr.add(dr),()=>{nr.delete(dr)})},tr.skipHydration||lr(),ur||cr},persistImpl=(o,s)=>"getStorage"in s||"serialize"in s||"deserialize"in s?oldImpl(o,s):newImpl(o,s),persist=persistImpl,createStoreImpl=o=>{let s;const a=new Set,rt=(nr,ir)=>{const sr=typeof nr=="function"?nr(s):nr;if(!Object.is(sr,s)){const ar=s;s=ir??(typeof sr!="object"||sr===null)?sr:Object.assign({},s,sr),a.forEach(cr=>cr(s,ar))}},ot=()=>s,rr={setState:rt,getState:ot,subscribe:nr=>(a.add(nr),()=>a.delete(nr)),destroy:()=>{a.clear()}};return s=o(rt,ot,rr),rr},createStore=o=>o?createStoreImpl(o):createStoreImpl;function shallow$1(o,s){if(Object.is(o,s))return!0;if(typeof o!="object"||o===null||typeof s!="object"||s===null)return!1;if(o instanceof Map&&s instanceof Map){if(o.size!==s.size)return!1;for(const[rt,ot]of o)if(!Object.is(ot,s.get(rt)))return!1;return!0}if(o instanceof Set&&s instanceof Set){if(o.size!==s.size)return!1;for(const rt of o)if(!s.has(rt))return!1;return!0}const a=Object.keys(o);if(a.length!==Object.keys(s).length)return!1;for(let rt=0;rtdr===ar.id)||(nr=[...nr,lr.chain]),ir[ar.id]=[...ir[ar.id]||[],...lr.rpcUrls.http],lr.rpcUrls.webSocket&&(sr[ar.id]=[...sr[ar.id]||[],...lr.rpcUrls.webSocket]))}if(!cr)throw new Error([`Could not find valid provider configuration for chain "${ar.name}". `,"You may need to add `jsonRpcProvider` to `configureChains` with the chain's RPC URLs.","Read more: https://wagmi.sh/core/providers/jsonRpc"].join(` -`))}return{chains:nr,publicClient:({chainId:ar})=>{const cr=nr.find(dr=>dr.id===ar)??o[0],ur=ir[cr.id];if(!ur||!ur[0])throw new Error(`No providers configured for chain "${cr.id}"`);const lr=createPublicClient$1({batch:a,chain:cr,transport:fallback$2(ur.map(dr=>http$2(dr,{timeout:rr})),{rank:ot,retryCount:tr,retryDelay:Ut}),pollingInterval:rt});return Object.assign(lr,{chains:nr})},webSocketPublicClient:({chainId:ar})=>{const cr=nr.find(dr=>dr.id===ar)??o[0],ur=sr[cr.id];if(!ur||!ur[0])return;const lr=createPublicClient$1({batch:a,chain:cr,transport:fallback$2(ur.map(dr=>webSocket$2(dr,{timeout:rr})),{rank:ot,retryCount:tr,retryDelay:Ut}),pollingInterval:rt});return Object.assign(lr,{chains:nr})}}}var ChainMismatchError$1=class extends Error{constructor({activeChain:s,targetChain:a}){super(`Chain mismatch: Expected "${a}", received "${s}".`),this.name="ChainMismatchError"}},ChainNotConfiguredError=class extends Error{constructor({chainId:o,connectorId:s}){super(`Chain "${o}" not configured${s?` for connector "${s}"`:""}.`),this.name="ChainNotConfigured"}},ConnectorAlreadyConnectedError=class extends Error{constructor(){super(...arguments),this.name="ConnectorAlreadyConnectedError",this.message="Connector already connected"}},ConfigChainsNotFound=class extends Error{constructor(){super(...arguments),this.name="ConfigChainsNotFound",this.message="No chains were found on the wagmi config. Some functions that require a chain may not work."}},SwitchChainNotSupportedError=class extends Error{constructor({connector:o}){super(`"${o.name}" does not support programmatic chain switching.`),this.name="SwitchChainNotSupportedError"}};function deepEqual(o,s){if(o===s)return!0;if(o&&s&&typeof o=="object"&&typeof s=="object"){if(o.constructor!==s.constructor)return!1;let a,rt;if(Array.isArray(o)&&Array.isArray(s)){if(a=o.length,a!=s.length)return!1;for(rt=a;rt--!==0;)if(!deepEqual(o[rt],s[rt]))return!1;return!0}if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===s.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===s.toString();const ot=Object.keys(o);if(a=ot.length,a!==Object.keys(s).length)return!1;for(rt=a;rt--!==0;)if(!Object.prototype.hasOwnProperty.call(s,ot[rt]))return!1;for(rt=a;rt--!==0;){const tr=ot[rt];if(tr&&!deepEqual(o[tr],s[tr]))return!1}return!0}return o!==o&&s!==s}var findAndReplace=(o,{find:s,replace:a})=>o&&s(o)?a(o):typeof o!="object"?o:Array.isArray(o)?o.map(rt=>findAndReplace(rt,{find:s,replace:a})):o instanceof Object?Object.entries(o).reduce((rt,[ot,tr])=>({...rt,[ot]:findAndReplace(tr,{find:s,replace:a})}),{}):o;function deserialize(o){const s=JSON.parse(o);return findAndReplace(s,{find:rt=>typeof rt=="string"&&rt.startsWith("#bigint."),replace:rt=>BigInt(rt.replace("#bigint.",""))})}function getCallParameters(o){return{accessList:o.accessList,account:o.account,blockNumber:o.blockNumber,blockTag:o.blockTag,data:o.data,gas:o.gas,gasPrice:o.gasPrice,maxFeePerGas:o.maxFeePerGas,maxPriorityFeePerGas:o.maxPriorityFeePerGas,nonce:o.nonce,to:o.to,value:o.value}}function getSendTransactionParameters(o){return{accessList:o.accessList,account:o.account,data:o.data,gas:o.gas,gasPrice:o.gasPrice,maxFeePerGas:o.maxFeePerGas,maxPriorityFeePerGas:o.maxPriorityFeePerGas,nonce:o.nonce,to:o.to,value:o.value}}function getUnit(o){return typeof o=="number"?o:o==="wei"?0:Math.abs(weiUnits[o])}function getReferenceKey(o,s){return o.slice(0,s).join(".")||"."}function getCutoff(o,s){const{length:a}=o;for(let rt=0;rt{const Ut=typeof tr=="bigint"?`#bigint.${tr.toString()}`:tr;return(s==null?void 0:s(ot,Ut))||Ut},rt),a??void 0)}var noopStorage={getItem:o=>"",setItem:(o,s)=>null,removeItem:o=>null};function createStorage({deserialize:o=deserialize,key:s="wagmi",serialize:a=serialize,storage:rt}){return{...rt,getItem:(ot,tr=null)=>{const Ut=rt.getItem(`${s}.${ot}`);try{return Ut?o(Ut):tr}catch(rr){return console.warn(rr),tr}},setItem:(ot,tr)=>{if(tr===null)rt.removeItem(`${s}.${ot}`);else try{rt.setItem(`${s}.${ot}`,a(tr))}catch(Ut){console.error(Ut)}},removeItem:ot=>rt.removeItem(`${s}.${ot}`)}}var storeKey="store",_isAutoConnecting,_lastUsedConnector,_addEffects,addEffects_fn,Config=class{constructor({autoConnect:o=!1,connectors:s=[new InjectedConnector],publicClient:a,storage:rt=createStorage({storage:typeof window<"u"?window.localStorage:noopStorage}),logger:ot={warn:console.warn},webSocketPublicClient:tr}){var ir,sr;__privateAdd(this,_addEffects),this.publicClients=new Map,this.webSocketPublicClients=new Map,__privateAdd(this,_isAutoConnecting,void 0),__privateAdd(this,_lastUsedConnector,void 0),this.args={autoConnect:o,connectors:s,logger:ot,publicClient:a,storage:rt,webSocketPublicClient:tr};let Ut="disconnected",rr;if(o)try{const ar=rt.getItem(storeKey),cr=(ir=ar==null?void 0:ar.state)==null?void 0:ir.data;Ut=cr!=null&&cr.account?"reconnecting":"connecting",rr=(sr=cr==null?void 0:cr.chain)==null?void 0:sr.id}catch{}const nr=typeof s=="function"?s():s;nr.forEach(ar=>ar.setStorage(rt)),this.store=createStore(subscribeWithSelector(persist(()=>({connectors:nr,publicClient:this.getPublicClient({chainId:rr}),status:Ut,webSocketPublicClient:this.getWebSocketPublicClient({chainId:rr})}),{name:storeKey,storage:rt,partialize:ar=>{var cr,ur;return{...o&&{data:{account:(cr=ar==null?void 0:ar.data)==null?void 0:cr.account,chain:(ur=ar==null?void 0:ar.data)==null?void 0:ur.chain}},chains:ar==null?void 0:ar.chains}},version:2}))),this.storage=rt,__privateSet(this,_lastUsedConnector,rt==null?void 0:rt.getItem("wallet")),__privateMethod(this,_addEffects,addEffects_fn).call(this),o&&typeof window<"u"&&setTimeout(async()=>await this.autoConnect(),0)}get chains(){return this.store.getState().chains}get connectors(){return this.store.getState().connectors}get connector(){return this.store.getState().connector}get data(){return this.store.getState().data}get error(){return this.store.getState().error}get lastUsedChainId(){var o,s;return(s=(o=this.data)==null?void 0:o.chain)==null?void 0:s.id}get publicClient(){return this.store.getState().publicClient}get status(){return this.store.getState().status}get subscribe(){return this.store.subscribe}get webSocketPublicClient(){return this.store.getState().webSocketPublicClient}setState(o){const s=typeof o=="function"?o(this.store.getState()):o;this.store.setState(s,!0)}clearState(){this.setState(o=>({...o,chains:void 0,connector:void 0,data:void 0,error:void 0,status:"disconnected"}))}async destroy(){var o,s;this.connector&&await((s=(o=this.connector).disconnect)==null?void 0:s.call(o)),__privateSet(this,_isAutoConnecting,!1),this.clearState(),this.store.destroy()}async autoConnect(){if(__privateGet(this,_isAutoConnecting))return;__privateSet(this,_isAutoConnecting,!0),this.setState(a=>{var rt;return{...a,status:(rt=a.data)!=null&&rt.account?"reconnecting":"connecting"}});const o=__privateGet(this,_lastUsedConnector)?[...this.connectors].sort(a=>a.id===__privateGet(this,_lastUsedConnector)?-1:1):this.connectors;let s=!1;for(const a of o){if(!a.ready||!a.isAuthorized||!await a.isAuthorized())continue;const ot=await a.connect();this.setState(tr=>({...tr,connector:a,chains:a==null?void 0:a.chains,data:ot,status:"connected"})),s=!0;break}return s||this.setState(a=>({...a,data:void 0,status:"disconnected"})),__privateSet(this,_isAutoConnecting,!1),this.data}setConnectors(o){this.args={...this.args,connectors:o};const s=typeof o=="function"?o():o;s.forEach(a=>a.setStorage(this.args.storage)),this.setState(a=>({...a,connectors:s}))}getPublicClient({chainId:o}={}){let s=this.publicClients.get(-1);if(s&&(s==null?void 0:s.chain.id)===o||(s=this.publicClients.get(o??-1),s))return s;const{publicClient:a}=this.args;return s=typeof a=="function"?a({chainId:o}):a,this.publicClients.set(o??-1,s),s}setPublicClient(o){var a,rt;const s=(rt=(a=this.data)==null?void 0:a.chain)==null?void 0:rt.id;this.args={...this.args,publicClient:o},this.publicClients.clear(),this.setState(ot=>({...ot,publicClient:this.getPublicClient({chainId:s})}))}getWebSocketPublicClient({chainId:o}={}){let s=this.webSocketPublicClients.get(-1);if(s&&(s==null?void 0:s.chain.id)===o||(s=this.webSocketPublicClients.get(o??-1),s))return s;const{webSocketPublicClient:a}=this.args;return s=typeof a=="function"?a({chainId:o}):a,s&&this.webSocketPublicClients.set(o??-1,s),s}setWebSocketPublicClient(o){var a,rt;const s=(rt=(a=this.data)==null?void 0:a.chain)==null?void 0:rt.id;this.args={...this.args,webSocketPublicClient:o},this.webSocketPublicClients.clear(),this.setState(ot=>({...ot,webSocketPublicClient:this.getWebSocketPublicClient({chainId:s})}))}setLastUsedConnector(o=null){var s;(s=this.storage)==null||s.setItem("wallet",o)}};_isAutoConnecting=new WeakMap;_lastUsedConnector=new WeakMap;_addEffects=new WeakSet;addEffects_fn=function(){const o=rr=>{this.setState(nr=>({...nr,data:{...nr.data,...rr}}))},s=()=>{this.clearState()},a=rr=>{this.setState(nr=>({...nr,error:rr}))};this.store.subscribe(({connector:rr})=>rr,(rr,nr)=>{var ir,sr,ar,cr,ur,lr;(ir=nr==null?void 0:nr.off)==null||ir.call(nr,"change",o),(sr=nr==null?void 0:nr.off)==null||sr.call(nr,"disconnect",s),(ar=nr==null?void 0:nr.off)==null||ar.call(nr,"error",a),rr&&((cr=rr.on)==null||cr.call(rr,"change",o),(ur=rr.on)==null||ur.call(rr,"disconnect",s),(lr=rr.on)==null||lr.call(rr,"error",a))});const{publicClient:rt,webSocketPublicClient:ot}=this.args;(typeof rt=="function"||typeof ot=="function")&&this.store.subscribe(({data:rr})=>{var nr;return(nr=rr==null?void 0:rr.chain)==null?void 0:nr.id},rr=>{this.setState(nr=>({...nr,publicClient:this.getPublicClient({chainId:rr}),webSocketPublicClient:this.getWebSocketPublicClient({chainId:rr})}))})};var config$2;function createConfig$1(o){const s=new Config(o);return config$2=s,s}function getConfig(){if(!config$2)throw new Error("No wagmi config found. Ensure you have set up a config: https://wagmi.sh/react/config");return config$2}async function connect({chainId:o,connector:s}){const a=getConfig(),rt=a.connector;if(rt&&s.id===rt.id)throw new ConnectorAlreadyConnectedError;try{a.setState(tr=>({...tr,status:"connecting"}));const ot=await s.connect({chainId:o});return a.setLastUsedConnector(s.id),a.setState(tr=>({...tr,connector:s,chains:s==null?void 0:s.chains,data:ot,status:"connected"})),a.storage.setItem("connected",!0),{...ot,connector:s}}catch(ot){throw a.setState(tr=>({...tr,status:tr.connector?"connected":"disconnected"})),ot}}async function disconnect(){const o=getConfig();o.connector&&await o.connector.disconnect(),o.clearState(),o.storage.removeItem("connected")}var erc20ABI=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]}],erc20ABI_bytes32=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{name:"",type:"bytes32"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{name:"",type:"bytes32"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]}],erc721ABI=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!0,name:"tokenId",type:"uint256"}]},{type:"event",name:"ApprovalForAll",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"operator",type:"address"},{indexed:!1,name:"approved",type:"bool"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!0,name:"tokenId",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"payable",inputs:[{name:"spender",type:"address"},{name:"tokenId",type:"uint256"}],outputs:[]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"getApproved",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"address"}]},{type:"function",name:"isApprovedForAll",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"operator",type:"address"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"ownerOf",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"owner",type:"address"}]},{type:"function",name:"safeTransferFrom",stateMutability:"payable",inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"tokenId",type:"uint256"}],outputs:[]},{type:"function",name:"safeTransferFrom",stateMutability:"nonpayable",inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"id",type:"uint256"},{name:"data",type:"bytes"}],outputs:[]},{type:"function",name:"setApprovalForAll",stateMutability:"nonpayable",inputs:[{name:"operator",type:"address"},{name:"approved",type:"bool"}],outputs:[]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"tokenByIndex",stateMutability:"view",inputs:[{name:"index",type:"uint256"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"tokenByIndex",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"index",type:"uint256"}],outputs:[{name:"tokenId",type:"uint256"}]},{type:"function",name:"tokenURI",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"transferFrom",stateMutability:"payable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"tokeId",type:"uint256"}],outputs:[]}],erc4626ABI=[{anonymous:!1,inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"receiver",type:"address"},{indexed:!1,name:"assets",type:"uint256"},{indexed:!1,name:"shares",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"receiver",type:"address"},{indexed:!0,name:"owner",type:"address"},{indexed:!1,name:"assets",type:"uint256"},{indexed:!1,name:"shares",type:"uint256"}],name:"Withdraw",type:"event"},{inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],name:"allowance",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"asset",outputs:[{name:"assetTokenAddress",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"convertToAssets",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"convertToShares",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"},{name:"receiver",type:"address"}],name:"deposit",outputs:[{name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"caller",type:"address"}],name:"maxDeposit",outputs:[{name:"maxAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"caller",type:"address"}],name:"maxMint",outputs:[{name:"maxShares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"maxRedeem",outputs:[{name:"maxShares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"maxWithdraw",outputs:[{name:"maxAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"},{name:"receiver",type:"address"}],name:"mint",outputs:[{name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"previewDeposit",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"previewMint",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"previewRedeem",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"previewWithdraw",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"},{name:"receiver",type:"address"},{name:"owner",type:"address"}],name:"redeem",outputs:[{name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalAssets",outputs:[{name:"totalManagedAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"assets",type:"uint256"},{name:"receiver",type:"address"},{name:"owner",type:"address"}],name:"withdraw",outputs:[{name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"}];async function fetchToken({address:o,chainId:s,formatUnits:a=18}){async function rt({abi:ot}){const tr={address:o,abi:ot,chainId:s},[Ut,rr,nr,ir]=await readContracts({allowFailure:!1,contracts:[{...tr,functionName:"decimals"},{...tr,functionName:"name"},{...tr,functionName:"symbol"},{...tr,functionName:"totalSupply"}]});return{address:o,decimals:Ut,name:rr,symbol:nr,totalSupply:{formatted:formatUnits$2(ir,getUnit(a)),value:ir}}}try{return await rt({abi:erc20ABI})}catch(ot){if(ot instanceof ContractFunctionExecutionError$1){const{name:tr,symbol:Ut,...rr}=await rt({abi:erc20ABI_bytes32});return{name:hexToString(trim$2(tr,{dir:"right"})),symbol:hexToString(trim$2(Ut,{dir:"right"})),...rr}}throw ot}}function getPublicClient({chainId:o}={}){const s=getConfig();return o&&s.getPublicClient({chainId:o})||s.publicClient}async function getWalletClient({chainId:o}={}){var rt,ot;return await((ot=(rt=getConfig().connector)==null?void 0:rt.getWalletClient)==null?void 0:ot.call(rt,{chainId:o}))||null}function getWebSocketPublicClient({chainId:o}={}){const s=getConfig();return o&&s.getWebSocketPublicClient({chainId:o})||s.webSocketPublicClient}function watchPublicClient(o,s){const a=getConfig(),rt=async()=>s(getPublicClient(o));return a.subscribe(({publicClient:tr})=>tr,rt)}function watchWalletClient({chainId:o},s){const a=getConfig(),rt=async({chainId:tr})=>{if(o&&tr&&o!==tr)return;const Ut=await getWalletClient({chainId:o});return getConfig().connector?s(Ut):s(null)};return a.subscribe(({data:tr,connector:Ut})=>{var rr;return{account:tr==null?void 0:tr.account,chainId:(rr=tr==null?void 0:tr.chain)==null?void 0:rr.id,connector:Ut}},rt,{equalityFn:shallow$1})}function watchWebSocketPublicClient(o,s){const a=getConfig(),rt=async()=>s(getWebSocketPublicClient(o));return a.subscribe(({webSocketPublicClient:tr})=>tr,rt)}async function prepareWriteContract({abi:o,address:s,args:a,chainId:rt,dataSuffix:ot,functionName:tr,walletClient:Ut,...rr}){const nr=getPublicClient({chainId:rt}),ir=Ut??await getWalletClient({chainId:rt});if(!ir)throw new ConnectorNotFoundError;rt&&assertActiveChain({chainId:rt});const{account:sr,accessList:ar,blockNumber:cr,blockTag:ur,gas:lr,gasPrice:dr,maxFeePerGas:vr,maxPriorityFeePerGas:mr,nonce:pr,value:br}=getCallParameters(rr),{result:_r,request:wr}=await nr.simulateContract({abi:o,address:s,functionName:tr,args:a,account:sr||ir.account,accessList:ar,blockNumber:cr,blockTag:ur,dataSuffix:ot,gas:lr,gasPrice:dr,maxFeePerGas:vr,maxPriorityFeePerGas:mr,nonce:pr,value:br}),jr=o.filter(yr=>"name"in yr&&yr.name===tr);return{mode:"prepared",request:{...wr,abi:jr,chainId:rt},result:_r}}async function multicall$2({chainId:o,contracts:s,blockNumber:a,blockTag:rt,...ot}){const tr=getPublicClient({chainId:o});if(!tr.chains)throw new ConfigChainsNotFound;if(o&&tr.chain.id!==o)throw new ChainNotConfiguredError({chainId:o});return tr.multicall({allowFailure:ot.allowFailure??!0,blockNumber:a,blockTag:rt,contracts:s})}async function readContract$2({address:o,account:s,chainId:a,abi:rt,args:ot,functionName:tr,blockNumber:Ut,blockTag:rr}){return getPublicClient({chainId:a}).readContract({abi:rt,address:o,account:s,functionName:tr,args:ot,blockNumber:Ut,blockTag:rr})}async function readContracts({contracts:o,blockNumber:s,blockTag:a,...rt}){const{allowFailure:ot=!0}=rt;try{const tr=getPublicClient(),Ut=o.reduce((sr,ar,cr)=>{const ur=ar.chainId??tr.chain.id;return{...sr,[ur]:[...sr[ur]||[],{contract:ar,index:cr}]}},{}),rr=()=>Object.entries(Ut).map(([sr,ar])=>multicall$2({allowFailure:ot,chainId:parseInt(sr),contracts:ar.map(({contract:cr})=>cr),blockNumber:s,blockTag:a})),nr=(await Promise.all(rr())).flat(),ir=Object.values(Ut).flatMap(sr=>sr.map(({index:ar})=>ar));return nr.reduce((sr,ar,cr)=>(sr&&(sr[ir[cr]]=ar),sr),[])}catch(tr){if(tr instanceof ContractFunctionExecutionError$1)throw tr;const Ut=()=>o.map(rr=>readContract$2({...rr,blockNumber:s,blockTag:a}));return ot?(await Promise.allSettled(Ut())).map(rr=>rr.status==="fulfilled"?{result:rr.value,status:"success"}:{error:rr.reason,result:void 0,status:"failure"}):await Promise.all(Ut())}}async function writeContract$2(o){const s=await getWalletClient({chainId:o.chainId});if(!s)throw new ConnectorNotFoundError;o.chainId&&assertActiveChain({chainId:o.chainId});let a;if(o.mode==="prepared")a=o.request;else{const{chainId:ot,mode:tr,...Ut}=o;a=(await prepareWriteContract(Ut)).request}return{hash:await s.writeContract({...a,chain:o.chainId?{id:o.chainId}:null})}}async function fetchBalance({address:o,chainId:s,formatUnits:a,token:rt}){const ot=getConfig(),tr=getPublicClient({chainId:s});if(rt){const ir=async({abi:sr})=>{const ar={abi:sr,address:rt,chainId:s},[cr,ur,lr]=await readContracts({allowFailure:!1,contracts:[{...ar,functionName:"balanceOf",args:[o]},{...ar,functionName:"decimals"},{...ar,functionName:"symbol"}]});return{decimals:ur,formatted:formatUnits$2(cr??"0",getUnit(a??ur)),symbol:lr,value:cr}};try{return await ir({abi:erc20ABI})}catch(sr){if(sr instanceof ContractFunctionExecutionError$1){const{symbol:ar,...cr}=await ir({abi:erc20ABI_bytes32});return{symbol:hexToString(trim$2(ar,{dir:"right"})),...cr}}throw sr}}const Ut=[...ot.publicClient.chains||[],...ot.chains??[]],rr=await tr.getBalance({address:o}),nr=Ut.find(ir=>ir.id===tr.chain.id);return{decimals:(nr==null?void 0:nr.nativeCurrency.decimals)??18,formatted:formatUnits$2(rr??"0",getUnit(a??18)),symbol:(nr==null?void 0:nr.nativeCurrency.symbol)??"ETH",value:rr}}function getAccount(){const{data:o,connector:s,status:a}=getConfig();switch(a){case"connected":return{address:o==null?void 0:o.account,connector:s,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:a};case"reconnecting":return{address:o==null?void 0:o.account,connector:s,isConnected:!!(o!=null&&o.account),isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:a};case"connecting":return{address:o==null?void 0:o.account,connector:s,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:a};case"disconnected":return{address:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:a}}}function getNetwork(){var ot,tr,Ut,rr;const o=getConfig(),s=(tr=(ot=o.data)==null?void 0:ot.chain)==null?void 0:tr.id,a=o.chains??[],rt=[...((Ut=o.publicClient)==null?void 0:Ut.chains)||[],...a].find(nr=>nr.id===s)??{id:s,name:`Chain ${s}`,network:`${s}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpcUrls:{default:{http:[""]},public:{http:[""]}}};return{chain:s?{...rt,...(rr=o.data)==null?void 0:rr.chain,id:s}:void 0,chains:a}}async function signMessage$2(o){const s=await getWalletClient();if(!s)throw new ConnectorNotFoundError;return await s.signMessage({message:o.message})}async function signTypedData$2({domain:o,message:s,primaryType:a,types:rt}){const ot=await getWalletClient();if(!ot)throw new ConnectorNotFoundError;const{chainId:tr}=o;return tr&&assertActiveChain({chainId:tr}),ot.signTypedData({message:s,primaryType:a,types:rt,domain:o})}async function switchNetwork({chainId:o}){const{connector:s}=getConfig();if(!s)throw new ConnectorNotFoundError;if(!s.switchChain)throw new SwitchChainNotSupportedError({connector:s});return s.switchChain(o)}function watchAccount(o,{selector:s=a=>a}={}){const a=getConfig(),rt=()=>o(getAccount());return a.subscribe(({data:tr,connector:Ut,status:rr})=>s({address:tr==null?void 0:tr.account,connector:Ut,status:rr}),rt,{equalityFn:shallow$1})}function watchNetwork(o,{selector:s=a=>a}={}){const a=getConfig(),rt=()=>o(getNetwork());return a.subscribe(({data:tr,chains:Ut})=>{var rr;return s({chainId:(rr=tr==null?void 0:tr.chain)==null?void 0:rr.id,chains:Ut})},rt,{equalityFn:shallow$1})}async function fetchEnsAddress({chainId:o,name:s}){const{normalize:a}=await __vitePreload(()=>import("./index-697c89d0.js"),[],import.meta.url),ot=await getPublicClient({chainId:o}).getEnsAddress({name:a(s)});try{return ot==="0x0000000000000000000000000000000000000000"?null:ot?getAddress$2(ot):null}catch{return null}}async function fetchEnsAvatar({name:o,chainId:s}){const{normalize:a}=await __vitePreload(()=>import("./index-697c89d0.js"),[],import.meta.url);return await getPublicClient({chainId:s}).getEnsAvatar({name:a(o)})}async function fetchEnsName({address:o,chainId:s}){return getPublicClient({chainId:s}).getEnsName({address:getAddress$2(o)})}async function fetchEnsResolver({chainId:o,name:s}){const{normalize:a}=await __vitePreload(()=>import("./index-697c89d0.js"),[],import.meta.url);return await getPublicClient({chainId:o}).getEnsResolver({name:a(s)})}async function fetchBlockNumber({chainId:o}={}){return await getPublicClient({chainId:o}).getBlockNumber()}async function fetchFeeData({chainId:o,formatUnits:s="gwei"}={}){const a=getPublicClient({chainId:o}),rt=await a.getBlock();let ot=null;try{ot=await a.getGasPrice()}catch{}let tr=null,Ut=null,rr=null;rt!=null&&rt.baseFeePerGas&&(tr=rt.baseFeePerGas,rr=parseGwei$2("1"),Ut=rt.baseFeePerGas*2n+rr);const nr=getUnit(s),ir={gasPrice:ot?formatUnits$2(ot,nr):null,maxFeePerGas:Ut?formatUnits$2(Ut,nr):null,maxPriorityFeePerGas:rr?formatUnits$2(rr,nr):null};return{lastBaseFeePerGas:tr,gasPrice:ot,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,formatted:ir}}async function fetchTransaction({chainId:o,hash:s}){return getPublicClient({chainId:o}).getTransaction({hash:s})}async function prepareSendTransaction({accessList:o,account:s,chainId:a,data:rt,gas:ot,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:nr,to:ir,value:sr,walletClient:ar}){const cr=getPublicClient({chainId:a}),ur=ar??await getWalletClient({chainId:a});if(!ur)throw new ConnectorNotFoundError;a&&assertActiveChain({chainId:a});const lr=(ir&&!isAddress$2(ir)?await fetchEnsAddress({name:ir}):ir)||void 0;if(lr&&!isAddress$2(lr))throw new Error("Invalid address");const dr=typeof ot>"u"?await cr.estimateGas({accessList:o,account:ur.account,data:rt,gas:ot??void 0,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:nr,to:lr,value:sr}):ot||void 0;return{accessList:o,account:s,data:rt,gas:dr,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,mode:"prepared",nonce:nr,to:lr,value:sr,...a?{chainId:a}:{}}}async function sendTransaction$2({accessList:o,account:s,chainId:a,data:rt,gas:ot,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,mode:nr,nonce:ir,to:sr,value:ar}){const cr=await getWalletClient({chainId:a});if(!cr)throw new ConnectorNotFoundError;a&&assertActiveChain({chainId:a});let ur;return nr==="prepared"?ur={account:s,accessList:o,chain:null,data:rt,gas:ot,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:ir,to:sr,value:ar}:ur=await prepareSendTransaction({accessList:o,account:s,chainId:a,data:rt,gas:ot||null,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:ir,to:sr,value:ar}),{hash:await cr.sendTransaction({...ur,chain:a?{id:a}:null})}}async function waitForTransaction({chainId:o,confirmations:s=1,hash:a,onReplaced:rt,timeout:ot=0}){const tr=getPublicClient({chainId:o}),Ut=await tr.waitForTransactionReceipt({hash:a,confirmations:s,onReplaced:rt,timeout:ot});if(Ut.status==="reverted"){const rr=await tr.getTransaction({hash:Ut.transactionHash}),nr=await tr.call({...rr,gasPrice:rr.type!=="eip1559"?rr.gasPrice:void 0,maxFeePerGas:rr.type==="eip1559"?rr.maxFeePerGas:void 0,maxPriorityFeePerGas:rr.type==="eip1559"?rr.maxPriorityFeePerGas:void 0}),ir=hexToString(`0x${nr.substring(138)}`);throw new Error(ir)}return Ut}function assertActiveChain({chainId:o}){var ot,tr;const{chain:s,chains:a}=getNetwork(),rt=s==null?void 0:s.id;if(rt&&o!==rt)throw new ChainMismatchError$1({activeChain:((ot=a.find(Ut=>Ut.id===rt))==null?void 0:ot.name)??`Chain ${rt}`,targetChain:((tr=a.find(Ut=>Ut.id===o))==null?void 0:tr.name)??`Chain ${o}`})}var withSelector={exports:{}},withSelector_production_min={};/** +`))}return{chains:nr,publicClient:({chainId:ar})=>{const cr=nr.find(dr=>dr.id===ar)??o[0],ur=ir[cr.id];if(!ur||!ur[0])throw new Error(`No providers configured for chain "${cr.id}"`);const lr=createPublicClient$1({batch:a,chain:cr,transport:fallback$2(ur.map(dr=>http$2(dr,{timeout:rr})),{rank:ot,retryCount:tr,retryDelay:Ut}),pollingInterval:rt});return Object.assign(lr,{chains:nr})},webSocketPublicClient:({chainId:ar})=>{const cr=nr.find(dr=>dr.id===ar)??o[0],ur=sr[cr.id];if(!ur||!ur[0])return;const lr=createPublicClient$1({batch:a,chain:cr,transport:fallback$2(ur.map(dr=>webSocket$2(dr,{timeout:rr})),{rank:ot,retryCount:tr,retryDelay:Ut}),pollingInterval:rt});return Object.assign(lr,{chains:nr})}}}var ChainMismatchError$1=class extends Error{constructor({activeChain:s,targetChain:a}){super(`Chain mismatch: Expected "${a}", received "${s}".`),this.name="ChainMismatchError"}},ChainNotConfiguredError=class extends Error{constructor({chainId:o,connectorId:s}){super(`Chain "${o}" not configured${s?` for connector "${s}"`:""}.`),this.name="ChainNotConfigured"}},ConnectorAlreadyConnectedError=class extends Error{constructor(){super(...arguments),this.name="ConnectorAlreadyConnectedError",this.message="Connector already connected"}},ConfigChainsNotFound=class extends Error{constructor(){super(...arguments),this.name="ConfigChainsNotFound",this.message="No chains were found on the wagmi config. Some functions that require a chain may not work."}},SwitchChainNotSupportedError=class extends Error{constructor({connector:o}){super(`"${o.name}" does not support programmatic chain switching.`),this.name="SwitchChainNotSupportedError"}};function deepEqual(o,s){if(o===s)return!0;if(o&&s&&typeof o=="object"&&typeof s=="object"){if(o.constructor!==s.constructor)return!1;let a,rt;if(Array.isArray(o)&&Array.isArray(s)){if(a=o.length,a!=s.length)return!1;for(rt=a;rt--!==0;)if(!deepEqual(o[rt],s[rt]))return!1;return!0}if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===s.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===s.toString();const ot=Object.keys(o);if(a=ot.length,a!==Object.keys(s).length)return!1;for(rt=a;rt--!==0;)if(!Object.prototype.hasOwnProperty.call(s,ot[rt]))return!1;for(rt=a;rt--!==0;){const tr=ot[rt];if(tr&&!deepEqual(o[tr],s[tr]))return!1}return!0}return o!==o&&s!==s}var findAndReplace=(o,{find:s,replace:a})=>o&&s(o)?a(o):typeof o!="object"?o:Array.isArray(o)?o.map(rt=>findAndReplace(rt,{find:s,replace:a})):o instanceof Object?Object.entries(o).reduce((rt,[ot,tr])=>({...rt,[ot]:findAndReplace(tr,{find:s,replace:a})}),{}):o;function deserialize(o){const s=JSON.parse(o);return findAndReplace(s,{find:rt=>typeof rt=="string"&&rt.startsWith("#bigint."),replace:rt=>BigInt(rt.replace("#bigint.",""))})}function getCallParameters(o){return{accessList:o.accessList,account:o.account,blockNumber:o.blockNumber,blockTag:o.blockTag,data:o.data,gas:o.gas,gasPrice:o.gasPrice,maxFeePerGas:o.maxFeePerGas,maxPriorityFeePerGas:o.maxPriorityFeePerGas,nonce:o.nonce,to:o.to,value:o.value}}function getSendTransactionParameters(o){return{accessList:o.accessList,account:o.account,data:o.data,gas:o.gas,gasPrice:o.gasPrice,maxFeePerGas:o.maxFeePerGas,maxPriorityFeePerGas:o.maxPriorityFeePerGas,nonce:o.nonce,to:o.to,value:o.value}}function getUnit(o){return typeof o=="number"?o:o==="wei"?0:Math.abs(weiUnits[o])}function getReferenceKey(o,s){return o.slice(0,s).join(".")||"."}function getCutoff(o,s){const{length:a}=o;for(let rt=0;rt{const Ut=typeof tr=="bigint"?`#bigint.${tr.toString()}`:tr;return(s==null?void 0:s(ot,Ut))||Ut},rt),a??void 0)}var noopStorage={getItem:o=>"",setItem:(o,s)=>null,removeItem:o=>null};function createStorage({deserialize:o=deserialize,key:s="wagmi",serialize:a=serialize,storage:rt}){return{...rt,getItem:(ot,tr=null)=>{const Ut=rt.getItem(`${s}.${ot}`);try{return Ut?o(Ut):tr}catch(rr){return console.warn(rr),tr}},setItem:(ot,tr)=>{if(tr===null)rt.removeItem(`${s}.${ot}`);else try{rt.setItem(`${s}.${ot}`,a(tr))}catch(Ut){console.error(Ut)}},removeItem:ot=>rt.removeItem(`${s}.${ot}`)}}var storeKey="store",_isAutoConnecting,_lastUsedConnector,_addEffects,addEffects_fn,Config=class{constructor({autoConnect:o=!1,connectors:s=[new InjectedConnector],publicClient:a,storage:rt=createStorage({storage:typeof window<"u"?window.localStorage:noopStorage}),logger:ot={warn:console.warn},webSocketPublicClient:tr}){var ir,sr;__privateAdd(this,_addEffects),this.publicClients=new Map,this.webSocketPublicClients=new Map,__privateAdd(this,_isAutoConnecting,void 0),__privateAdd(this,_lastUsedConnector,void 0),this.args={autoConnect:o,connectors:s,logger:ot,publicClient:a,storage:rt,webSocketPublicClient:tr};let Ut="disconnected",rr;if(o)try{const ar=rt.getItem(storeKey),cr=(ir=ar==null?void 0:ar.state)==null?void 0:ir.data;Ut=cr!=null&&cr.account?"reconnecting":"connecting",rr=(sr=cr==null?void 0:cr.chain)==null?void 0:sr.id}catch{}const nr=typeof s=="function"?s():s;nr.forEach(ar=>ar.setStorage(rt)),this.store=createStore(subscribeWithSelector(persist(()=>({connectors:nr,publicClient:this.getPublicClient({chainId:rr}),status:Ut,webSocketPublicClient:this.getWebSocketPublicClient({chainId:rr})}),{name:storeKey,storage:rt,partialize:ar=>{var cr,ur;return{...o&&{data:{account:(cr=ar==null?void 0:ar.data)==null?void 0:cr.account,chain:(ur=ar==null?void 0:ar.data)==null?void 0:ur.chain}},chains:ar==null?void 0:ar.chains}},version:2}))),this.storage=rt,__privateSet(this,_lastUsedConnector,rt==null?void 0:rt.getItem("wallet")),__privateMethod(this,_addEffects,addEffects_fn).call(this),o&&typeof window<"u"&&setTimeout(async()=>await this.autoConnect(),0)}get chains(){return this.store.getState().chains}get connectors(){return this.store.getState().connectors}get connector(){return this.store.getState().connector}get data(){return this.store.getState().data}get error(){return this.store.getState().error}get lastUsedChainId(){var o,s;return(s=(o=this.data)==null?void 0:o.chain)==null?void 0:s.id}get publicClient(){return this.store.getState().publicClient}get status(){return this.store.getState().status}get subscribe(){return this.store.subscribe}get webSocketPublicClient(){return this.store.getState().webSocketPublicClient}setState(o){const s=typeof o=="function"?o(this.store.getState()):o;this.store.setState(s,!0)}clearState(){this.setState(o=>({...o,chains:void 0,connector:void 0,data:void 0,error:void 0,status:"disconnected"}))}async destroy(){var o,s;this.connector&&await((s=(o=this.connector).disconnect)==null?void 0:s.call(o)),__privateSet(this,_isAutoConnecting,!1),this.clearState(),this.store.destroy()}async autoConnect(){if(__privateGet(this,_isAutoConnecting))return;__privateSet(this,_isAutoConnecting,!0),this.setState(a=>{var rt;return{...a,status:(rt=a.data)!=null&&rt.account?"reconnecting":"connecting"}});const o=__privateGet(this,_lastUsedConnector)?[...this.connectors].sort(a=>a.id===__privateGet(this,_lastUsedConnector)?-1:1):this.connectors;let s=!1;for(const a of o){if(!a.ready||!a.isAuthorized||!await a.isAuthorized())continue;const ot=await a.connect();this.setState(tr=>({...tr,connector:a,chains:a==null?void 0:a.chains,data:ot,status:"connected"})),s=!0;break}return s||this.setState(a=>({...a,data:void 0,status:"disconnected"})),__privateSet(this,_isAutoConnecting,!1),this.data}setConnectors(o){this.args={...this.args,connectors:o};const s=typeof o=="function"?o():o;s.forEach(a=>a.setStorage(this.args.storage)),this.setState(a=>({...a,connectors:s}))}getPublicClient({chainId:o}={}){let s=this.publicClients.get(-1);if(s&&(s==null?void 0:s.chain.id)===o||(s=this.publicClients.get(o??-1),s))return s;const{publicClient:a}=this.args;return s=typeof a=="function"?a({chainId:o}):a,this.publicClients.set(o??-1,s),s}setPublicClient(o){var a,rt;const s=(rt=(a=this.data)==null?void 0:a.chain)==null?void 0:rt.id;this.args={...this.args,publicClient:o},this.publicClients.clear(),this.setState(ot=>({...ot,publicClient:this.getPublicClient({chainId:s})}))}getWebSocketPublicClient({chainId:o}={}){let s=this.webSocketPublicClients.get(-1);if(s&&(s==null?void 0:s.chain.id)===o||(s=this.webSocketPublicClients.get(o??-1),s))return s;const{webSocketPublicClient:a}=this.args;return s=typeof a=="function"?a({chainId:o}):a,s&&this.webSocketPublicClients.set(o??-1,s),s}setWebSocketPublicClient(o){var a,rt;const s=(rt=(a=this.data)==null?void 0:a.chain)==null?void 0:rt.id;this.args={...this.args,webSocketPublicClient:o},this.webSocketPublicClients.clear(),this.setState(ot=>({...ot,webSocketPublicClient:this.getWebSocketPublicClient({chainId:s})}))}setLastUsedConnector(o=null){var s;(s=this.storage)==null||s.setItem("wallet",o)}};_isAutoConnecting=new WeakMap;_lastUsedConnector=new WeakMap;_addEffects=new WeakSet;addEffects_fn=function(){const o=rr=>{this.setState(nr=>({...nr,data:{...nr.data,...rr}}))},s=()=>{this.clearState()},a=rr=>{this.setState(nr=>({...nr,error:rr}))};this.store.subscribe(({connector:rr})=>rr,(rr,nr)=>{var ir,sr,ar,cr,ur,lr;(ir=nr==null?void 0:nr.off)==null||ir.call(nr,"change",o),(sr=nr==null?void 0:nr.off)==null||sr.call(nr,"disconnect",s),(ar=nr==null?void 0:nr.off)==null||ar.call(nr,"error",a),rr&&((cr=rr.on)==null||cr.call(rr,"change",o),(ur=rr.on)==null||ur.call(rr,"disconnect",s),(lr=rr.on)==null||lr.call(rr,"error",a))});const{publicClient:rt,webSocketPublicClient:ot}=this.args;(typeof rt=="function"||typeof ot=="function")&&this.store.subscribe(({data:rr})=>{var nr;return(nr=rr==null?void 0:rr.chain)==null?void 0:nr.id},rr=>{this.setState(nr=>({...nr,publicClient:this.getPublicClient({chainId:rr}),webSocketPublicClient:this.getWebSocketPublicClient({chainId:rr})}))})};var config$2;function createConfig$1(o){const s=new Config(o);return config$2=s,s}function getConfig(){if(!config$2)throw new Error("No wagmi config found. Ensure you have set up a config: https://wagmi.sh/react/config");return config$2}async function connect({chainId:o,connector:s}){const a=getConfig(),rt=a.connector;if(rt&&s.id===rt.id)throw new ConnectorAlreadyConnectedError;try{a.setState(tr=>({...tr,status:"connecting"}));const ot=await s.connect({chainId:o});return a.setLastUsedConnector(s.id),a.setState(tr=>({...tr,connector:s,chains:s==null?void 0:s.chains,data:ot,status:"connected"})),a.storage.setItem("connected",!0),{...ot,connector:s}}catch(ot){throw a.setState(tr=>({...tr,status:tr.connector?"connected":"disconnected"})),ot}}async function disconnect(){const o=getConfig();o.connector&&await o.connector.disconnect(),o.clearState(),o.storage.removeItem("connected")}var erc20ABI=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]}],erc20ABI_bytes32=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{name:"",type:"bytes32"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{name:"",type:"bytes32"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]}],erc721ABI=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!0,name:"tokenId",type:"uint256"}]},{type:"event",name:"ApprovalForAll",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"operator",type:"address"},{indexed:!1,name:"approved",type:"bool"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!0,name:"tokenId",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"payable",inputs:[{name:"spender",type:"address"},{name:"tokenId",type:"uint256"}],outputs:[]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"getApproved",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"address"}]},{type:"function",name:"isApprovedForAll",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"operator",type:"address"}],outputs:[{name:"",type:"bool"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"ownerOf",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"owner",type:"address"}]},{type:"function",name:"safeTransferFrom",stateMutability:"payable",inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"tokenId",type:"uint256"}],outputs:[]},{type:"function",name:"safeTransferFrom",stateMutability:"nonpayable",inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"id",type:"uint256"},{name:"data",type:"bytes"}],outputs:[]},{type:"function",name:"setApprovalForAll",stateMutability:"nonpayable",inputs:[{name:"operator",type:"address"},{name:"approved",type:"bool"}],outputs:[]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{name:"",type:"string"}]},{type:"function",name:"tokenByIndex",stateMutability:"view",inputs:[{name:"index",type:"uint256"}],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"tokenByIndex",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"index",type:"uint256"}],outputs:[{name:"tokenId",type:"uint256"}]},{type:"function",name:"tokenURI",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{name:"",type:"uint256"}]},{type:"function",name:"transferFrom",stateMutability:"payable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"tokeId",type:"uint256"}],outputs:[]}],erc4626ABI=[{anonymous:!1,inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"receiver",type:"address"},{indexed:!1,name:"assets",type:"uint256"},{indexed:!1,name:"shares",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"receiver",type:"address"},{indexed:!0,name:"owner",type:"address"},{indexed:!1,name:"assets",type:"uint256"},{indexed:!1,name:"shares",type:"uint256"}],name:"Withdraw",type:"event"},{inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],name:"allowance",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"asset",outputs:[{name:"assetTokenAddress",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"convertToAssets",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"convertToShares",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"},{name:"receiver",type:"address"}],name:"deposit",outputs:[{name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"caller",type:"address"}],name:"maxDeposit",outputs:[{name:"maxAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"caller",type:"address"}],name:"maxMint",outputs:[{name:"maxShares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"maxRedeem",outputs:[{name:"maxShares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"maxWithdraw",outputs:[{name:"maxAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"},{name:"receiver",type:"address"}],name:"mint",outputs:[{name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"previewDeposit",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"previewMint",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"previewRedeem",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"previewWithdraw",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"},{name:"receiver",type:"address"},{name:"owner",type:"address"}],name:"redeem",outputs:[{name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalAssets",outputs:[{name:"totalManagedAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"assets",type:"uint256"},{name:"receiver",type:"address"},{name:"owner",type:"address"}],name:"withdraw",outputs:[{name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"}];async function fetchToken({address:o,chainId:s,formatUnits:a=18}){async function rt({abi:ot}){const tr={address:o,abi:ot,chainId:s},[Ut,rr,nr,ir]=await readContracts({allowFailure:!1,contracts:[{...tr,functionName:"decimals"},{...tr,functionName:"name"},{...tr,functionName:"symbol"},{...tr,functionName:"totalSupply"}]});return{address:o,decimals:Ut,name:rr,symbol:nr,totalSupply:{formatted:formatUnits$2(ir,getUnit(a)),value:ir}}}try{return await rt({abi:erc20ABI})}catch(ot){if(ot instanceof ContractFunctionExecutionError$1){const{name:tr,symbol:Ut,...rr}=await rt({abi:erc20ABI_bytes32});return{name:hexToString(trim$2(tr,{dir:"right"})),symbol:hexToString(trim$2(Ut,{dir:"right"})),...rr}}throw ot}}function getPublicClient({chainId:o}={}){const s=getConfig();return o&&s.getPublicClient({chainId:o})||s.publicClient}async function getWalletClient({chainId:o}={}){var rt,ot;return await((ot=(rt=getConfig().connector)==null?void 0:rt.getWalletClient)==null?void 0:ot.call(rt,{chainId:o}))||null}function getWebSocketPublicClient({chainId:o}={}){const s=getConfig();return o&&s.getWebSocketPublicClient({chainId:o})||s.webSocketPublicClient}function watchPublicClient(o,s){const a=getConfig(),rt=async()=>s(getPublicClient(o));return a.subscribe(({publicClient:tr})=>tr,rt)}function watchWalletClient({chainId:o},s){const a=getConfig(),rt=async({chainId:tr})=>{if(o&&tr&&o!==tr)return;const Ut=await getWalletClient({chainId:o});return getConfig().connector?s(Ut):s(null)};return a.subscribe(({data:tr,connector:Ut})=>{var rr;return{account:tr==null?void 0:tr.account,chainId:(rr=tr==null?void 0:tr.chain)==null?void 0:rr.id,connector:Ut}},rt,{equalityFn:shallow$1})}function watchWebSocketPublicClient(o,s){const a=getConfig(),rt=async()=>s(getWebSocketPublicClient(o));return a.subscribe(({webSocketPublicClient:tr})=>tr,rt)}async function prepareWriteContract({abi:o,address:s,args:a,chainId:rt,dataSuffix:ot,functionName:tr,walletClient:Ut,...rr}){const nr=getPublicClient({chainId:rt}),ir=Ut??await getWalletClient({chainId:rt});if(!ir)throw new ConnectorNotFoundError;rt&&assertActiveChain({chainId:rt});const{account:sr,accessList:ar,blockNumber:cr,blockTag:ur,gas:lr,gasPrice:dr,maxFeePerGas:vr,maxPriorityFeePerGas:mr,nonce:pr,value:br}=getCallParameters(rr),{result:_r,request:wr}=await nr.simulateContract({abi:o,address:s,functionName:tr,args:a,account:sr||ir.account,accessList:ar,blockNumber:cr,blockTag:ur,dataSuffix:ot,gas:lr,gasPrice:dr,maxFeePerGas:vr,maxPriorityFeePerGas:mr,nonce:pr,value:br}),jr=o.filter(yr=>"name"in yr&&yr.name===tr);return{mode:"prepared",request:{...wr,abi:jr,chainId:rt},result:_r}}async function multicall$2({chainId:o,contracts:s,blockNumber:a,blockTag:rt,...ot}){const tr=getPublicClient({chainId:o});if(!tr.chains)throw new ConfigChainsNotFound;if(o&&tr.chain.id!==o)throw new ChainNotConfiguredError({chainId:o});return tr.multicall({allowFailure:ot.allowFailure??!0,blockNumber:a,blockTag:rt,contracts:s})}async function readContract$2({address:o,account:s,chainId:a,abi:rt,args:ot,functionName:tr,blockNumber:Ut,blockTag:rr}){return getPublicClient({chainId:a}).readContract({abi:rt,address:o,account:s,functionName:tr,args:ot,blockNumber:Ut,blockTag:rr})}async function readContracts({contracts:o,blockNumber:s,blockTag:a,...rt}){const{allowFailure:ot=!0}=rt;try{const tr=getPublicClient(),Ut=o.reduce((sr,ar,cr)=>{const ur=ar.chainId??tr.chain.id;return{...sr,[ur]:[...sr[ur]||[],{contract:ar,index:cr}]}},{}),rr=()=>Object.entries(Ut).map(([sr,ar])=>multicall$2({allowFailure:ot,chainId:parseInt(sr),contracts:ar.map(({contract:cr})=>cr),blockNumber:s,blockTag:a})),nr=(await Promise.all(rr())).flat(),ir=Object.values(Ut).flatMap(sr=>sr.map(({index:ar})=>ar));return nr.reduce((sr,ar,cr)=>(sr&&(sr[ir[cr]]=ar),sr),[])}catch(tr){if(tr instanceof ContractFunctionExecutionError$1)throw tr;const Ut=()=>o.map(rr=>readContract$2({...rr,blockNumber:s,blockTag:a}));return ot?(await Promise.allSettled(Ut())).map(rr=>rr.status==="fulfilled"?{result:rr.value,status:"success"}:{error:rr.reason,result:void 0,status:"failure"}):await Promise.all(Ut())}}async function writeContract$2(o){const s=await getWalletClient({chainId:o.chainId});if(!s)throw new ConnectorNotFoundError;o.chainId&&assertActiveChain({chainId:o.chainId});let a;if(o.mode==="prepared")a=o.request;else{const{chainId:ot,mode:tr,...Ut}=o;a=(await prepareWriteContract(Ut)).request}return{hash:await s.writeContract({...a,chain:o.chainId?{id:o.chainId}:null})}}async function fetchBalance({address:o,chainId:s,formatUnits:a,token:rt}){const ot=getConfig(),tr=getPublicClient({chainId:s});if(rt){const ir=async({abi:sr})=>{const ar={abi:sr,address:rt,chainId:s},[cr,ur,lr]=await readContracts({allowFailure:!1,contracts:[{...ar,functionName:"balanceOf",args:[o]},{...ar,functionName:"decimals"},{...ar,functionName:"symbol"}]});return{decimals:ur,formatted:formatUnits$2(cr??"0",getUnit(a??ur)),symbol:lr,value:cr}};try{return await ir({abi:erc20ABI})}catch(sr){if(sr instanceof ContractFunctionExecutionError$1){const{symbol:ar,...cr}=await ir({abi:erc20ABI_bytes32});return{symbol:hexToString(trim$2(ar,{dir:"right"})),...cr}}throw sr}}const Ut=[...ot.publicClient.chains||[],...ot.chains??[]],rr=await tr.getBalance({address:o}),nr=Ut.find(ir=>ir.id===tr.chain.id);return{decimals:(nr==null?void 0:nr.nativeCurrency.decimals)??18,formatted:formatUnits$2(rr??"0",getUnit(a??18)),symbol:(nr==null?void 0:nr.nativeCurrency.symbol)??"ETH",value:rr}}function getAccount(){const{data:o,connector:s,status:a}=getConfig();switch(a){case"connected":return{address:o==null?void 0:o.account,connector:s,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:a};case"reconnecting":return{address:o==null?void 0:o.account,connector:s,isConnected:!!(o!=null&&o.account),isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:a};case"connecting":return{address:o==null?void 0:o.account,connector:s,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:a};case"disconnected":return{address:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:a}}}function getNetwork(){var ot,tr,Ut,rr;const o=getConfig(),s=(tr=(ot=o.data)==null?void 0:ot.chain)==null?void 0:tr.id,a=o.chains??[],rt=[...((Ut=o.publicClient)==null?void 0:Ut.chains)||[],...a].find(nr=>nr.id===s)??{id:s,name:`Chain ${s}`,network:`${s}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpcUrls:{default:{http:[""]},public:{http:[""]}}};return{chain:s?{...rt,...(rr=o.data)==null?void 0:rr.chain,id:s}:void 0,chains:a}}async function signMessage$2(o){const s=await getWalletClient();if(!s)throw new ConnectorNotFoundError;return await s.signMessage({message:o.message})}async function signTypedData$2({domain:o,message:s,primaryType:a,types:rt}){const ot=await getWalletClient();if(!ot)throw new ConnectorNotFoundError;const{chainId:tr}=o;return tr&&assertActiveChain({chainId:tr}),ot.signTypedData({message:s,primaryType:a,types:rt,domain:o})}async function switchNetwork({chainId:o}){const{connector:s}=getConfig();if(!s)throw new ConnectorNotFoundError;if(!s.switchChain)throw new SwitchChainNotSupportedError({connector:s});return s.switchChain(o)}function watchAccount(o,{selector:s=a=>a}={}){const a=getConfig(),rt=()=>o(getAccount());return a.subscribe(({data:tr,connector:Ut,status:rr})=>s({address:tr==null?void 0:tr.account,connector:Ut,status:rr}),rt,{equalityFn:shallow$1})}function watchNetwork(o,{selector:s=a=>a}={}){const a=getConfig(),rt=()=>o(getNetwork());return a.subscribe(({data:tr,chains:Ut})=>{var rr;return s({chainId:(rr=tr==null?void 0:tr.chain)==null?void 0:rr.id,chains:Ut})},rt,{equalityFn:shallow$1})}async function fetchEnsAddress({chainId:o,name:s}){const{normalize:a}=await __vitePreload(()=>import("./index-cad034e9.js"),[],import.meta.url),ot=await getPublicClient({chainId:o}).getEnsAddress({name:a(s)});try{return ot==="0x0000000000000000000000000000000000000000"?null:ot?getAddress$2(ot):null}catch{return null}}async function fetchEnsAvatar({name:o,chainId:s}){const{normalize:a}=await __vitePreload(()=>import("./index-cad034e9.js"),[],import.meta.url);return await getPublicClient({chainId:s}).getEnsAvatar({name:a(o)})}async function fetchEnsName({address:o,chainId:s}){return getPublicClient({chainId:s}).getEnsName({address:getAddress$2(o)})}async function fetchEnsResolver({chainId:o,name:s}){const{normalize:a}=await __vitePreload(()=>import("./index-cad034e9.js"),[],import.meta.url);return await getPublicClient({chainId:o}).getEnsResolver({name:a(s)})}async function fetchBlockNumber({chainId:o}={}){return await getPublicClient({chainId:o}).getBlockNumber()}async function fetchFeeData({chainId:o,formatUnits:s="gwei"}={}){const a=getPublicClient({chainId:o}),rt=await a.getBlock();let ot=null;try{ot=await a.getGasPrice()}catch{}let tr=null,Ut=null,rr=null;rt!=null&&rt.baseFeePerGas&&(tr=rt.baseFeePerGas,rr=parseGwei$2("1"),Ut=rt.baseFeePerGas*2n+rr);const nr=getUnit(s),ir={gasPrice:ot?formatUnits$2(ot,nr):null,maxFeePerGas:Ut?formatUnits$2(Ut,nr):null,maxPriorityFeePerGas:rr?formatUnits$2(rr,nr):null};return{lastBaseFeePerGas:tr,gasPrice:ot,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,formatted:ir}}async function fetchTransaction({chainId:o,hash:s}){return getPublicClient({chainId:o}).getTransaction({hash:s})}async function prepareSendTransaction({accessList:o,account:s,chainId:a,data:rt,gas:ot,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:nr,to:ir,value:sr,walletClient:ar}){const cr=getPublicClient({chainId:a}),ur=ar??await getWalletClient({chainId:a});if(!ur)throw new ConnectorNotFoundError;a&&assertActiveChain({chainId:a});const lr=(ir&&!isAddress$2(ir)?await fetchEnsAddress({name:ir}):ir)||void 0;if(lr&&!isAddress$2(lr))throw new Error("Invalid address");const dr=typeof ot>"u"?await cr.estimateGas({accessList:o,account:ur.account,data:rt,gas:ot??void 0,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:nr,to:lr,value:sr}):ot||void 0;return{accessList:o,account:s,data:rt,gas:dr,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,mode:"prepared",nonce:nr,to:lr,value:sr,...a?{chainId:a}:{}}}async function sendTransaction$2({accessList:o,account:s,chainId:a,data:rt,gas:ot,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,mode:nr,nonce:ir,to:sr,value:ar}){const cr=await getWalletClient({chainId:a});if(!cr)throw new ConnectorNotFoundError;a&&assertActiveChain({chainId:a});let ur;return nr==="prepared"?ur={account:s,accessList:o,chain:null,data:rt,gas:ot,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:ir,to:sr,value:ar}:ur=await prepareSendTransaction({accessList:o,account:s,chainId:a,data:rt,gas:ot||null,gasPrice:tr,maxFeePerGas:Ut,maxPriorityFeePerGas:rr,nonce:ir,to:sr,value:ar}),{hash:await cr.sendTransaction({...ur,chain:a?{id:a}:null})}}async function waitForTransaction({chainId:o,confirmations:s=1,hash:a,onReplaced:rt,timeout:ot=0}){const tr=getPublicClient({chainId:o}),Ut=await tr.waitForTransactionReceipt({hash:a,confirmations:s,onReplaced:rt,timeout:ot});if(Ut.status==="reverted"){const rr=await tr.getTransaction({hash:Ut.transactionHash}),nr=await tr.call({...rr,gasPrice:rr.type!=="eip1559"?rr.gasPrice:void 0,maxFeePerGas:rr.type==="eip1559"?rr.maxFeePerGas:void 0,maxPriorityFeePerGas:rr.type==="eip1559"?rr.maxPriorityFeePerGas:void 0}),ir=hexToString(`0x${nr.substring(138)}`);throw new Error(ir)}return Ut}function assertActiveChain({chainId:o}){var ot,tr;const{chain:s,chains:a}=getNetwork(),rt=s==null?void 0:s.id;if(rt&&o!==rt)throw new ChainMismatchError$1({activeChain:((ot=a.find(Ut=>Ut.id===rt))==null?void 0:ot.name)??`Chain ${rt}`,targetChain:((tr=a.find(Ut=>Ut.id===o))==null?void 0:tr.name)??`Chain ${o}`})}var withSelector={exports:{}},withSelector_production_min={};/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -2061,14 +2061,14 @@ PERFORMANCE OF THIS SOFTWARE. Required: ${Ut.toString()} Approved: ${rr.toString()}`)),Object.keys(s).forEach(ar=>{if(!ar.includes(":")||rt)return;const cr=A(s[ar].accounts);cr.includes(ar)||(rt=N("NON_CONFORMING_NAMESPACES",`${a} namespaces accounts don't satisfy namespace accounts for ${ar} Required: ${ar} - Approved: ${cr.toString()}`))}),Ut.forEach(ar=>{rt||(O(ot[ar].methods,tr[ar].methods)?O(ot[ar].events,tr[ar].events)||(rt=N("NON_CONFORMING_NAMESPACES",`${a} namespaces events don't satisfy namespace events for ${ar}`)):rt=N("NON_CONFORMING_NAMESPACES",`${a} namespaces methods don't satisfy namespace methods for ${ar}`))}),rt}function Yt(o){const s={};return Object.keys(o).forEach(a=>{var rt;a.includes(":")?s[a]=o[a]:(rt=o[a].chains)==null||rt.forEach(ot=>{s[ot]={methods:o[a].methods,events:o[a].events}})}),s}function ln(o){return[...new Set(o.map(s=>s.includes(":")?s.split(":")[0]:s))]}function Jt(o){const s={};return Object.keys(o).forEach(a=>{if(a.includes(":"))s[a]=o[a];else{const rt=A(o[a].accounts);rt==null||rt.forEach(ot=>{s[ot]={accounts:o[a].accounts.filter(tr=>tr.includes(`${ot}:`)),methods:o[a].methods,events:o[a].events}})}}),s}function Qt(o,s){return G(o,!1)&&o<=s.max&&o>=s.min}function Zt(){const o=R();return new Promise(s=>{switch(o){case m.browser:s(dn());break;case m.reactNative:s(fn());break;case m.node:s(pn());break;default:s(!0)}})}function dn(){return q()&&(navigator==null?void 0:navigator.onLine)}async function fn(){if(j()&&typeof global<"u"&&global!=null&&global.NetInfo){const o=await(global==null?void 0:global.NetInfo.fetch());return o==null?void 0:o.isConnected}return!0}function pn(){return!0}function Xt(o){switch(R()){case m.browser:mn(o);break;case m.reactNative:yn(o);break}}function mn(o){!j()&&q()&&(window.addEventListener("online",()=>o(!0)),window.addEventListener("offline",()=>o(!1)))}function yn(o){j()&&typeof global<"u"&&global!=null&&global.NetInfo&&(global==null||global.NetInfo.addEventListener(s=>o(s==null?void 0:s.isConnected)))}const ae={};class er{static get(s){return ae[s]}static set(s,a){ae[s]=a}static delete(s){delete ae[s]}}var NAMESPACE="eip155",STORE_KEY="store",REQUESTED_CHAINS_KEY="requestedChains",ADD_ETH_CHAIN_METHOD="wallet_addEthereumChain",_provider,_initProviderPromise,_createProvider,createProvider_fn,_initProvider,initProvider_fn,_isChainsStale,isChainsStale_fn,_setupListeners,setupListeners_fn,_removeListeners,removeListeners_fn,_setRequestedChainsIds,setRequestedChainsIds_fn,_getRequestedChainsIds,getRequestedChainsIds_fn,_getNamespaceChainsIds,getNamespaceChainsIds_fn,_getNamespaceMethods,getNamespaceMethods_fn,WalletConnectConnector=class extends Connector{constructor(o){super({...o,options:{isNewChainsStale:!0,...o.options}}),__privateAdd$1(this,_createProvider),__privateAdd$1(this,_initProvider),__privateAdd$1(this,_isChainsStale),__privateAdd$1(this,_setupListeners),__privateAdd$1(this,_removeListeners),__privateAdd$1(this,_setRequestedChainsIds),__privateAdd$1(this,_getRequestedChainsIds),__privateAdd$1(this,_getNamespaceChainsIds),__privateAdd$1(this,_getNamespaceMethods),this.id="walletConnect",this.name="WalletConnect",this.ready=!0,__privateAdd$1(this,_provider,void 0),__privateAdd$1(this,_initProviderPromise,void 0),this.onAccountsChanged=s=>{s.length===0?this.emit("disconnect"):this.emit("change",{account:getAddress$2(s[0])})},this.onChainChanged=s=>{const a=Number(s),rt=this.isChainUnsupported(a);this.emit("change",{chain:{id:a,unsupported:rt}})},this.onDisconnect=()=>{__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,[]),this.emit("disconnect")},this.onDisplayUri=s=>{this.emit("message",{type:"display_uri",data:s})},this.onConnect=()=>{this.emit("connect",{})},__privateMethod$1(this,_createProvider,createProvider_fn).call(this)}async connect({chainId:o,pairingTopic:s}={}){var a,rt,ot,tr,Ut;try{let rr=o;if(!rr){const lr=(a=this.storage)==null?void 0:a.getItem(STORE_KEY),dr=(tr=(ot=(rt=lr==null?void 0:lr.state)==null?void 0:rt.data)==null?void 0:ot.chain)==null?void 0:tr.id;dr&&!this.isChainUnsupported(dr)?rr=dr:rr=(Ut=this.chains[0])==null?void 0:Ut.id}if(!rr)throw new Error("No chains found on connector.");const nr=await this.getProvider();__privateMethod$1(this,_setupListeners,setupListeners_fn).call(this);const ir=__privateMethod$1(this,_isChainsStale,isChainsStale_fn).call(this);if(nr.session&&ir&&await nr.disconnect(),!nr.session||ir){const lr=this.chains.filter(dr=>dr.id!==rr).map(dr=>dr.id);this.emit("message",{type:"connecting"}),await nr.connect({pairingTopic:s,chains:[rr],optionalChains:lr.length?lr:void 0}),__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,this.chains.map(({id:dr})=>dr))}const sr=await nr.enable(),ar=getAddress$2(sr[0]),cr=await this.getChainId(),ur=this.isChainUnsupported(cr);return{account:ar,chain:{id:cr,unsupported:ur}}}catch(rr){throw/user rejected/i.test(rr==null?void 0:rr.message)?new UserRejectedRequestError$1(rr):rr}}async disconnect(){const o=await this.getProvider();try{await o.disconnect()}catch(s){if(!/No matching key/i.test(s.message))throw s}finally{__privateMethod$1(this,_removeListeners,removeListeners_fn).call(this),__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,[])}}async getAccount(){const{accounts:o}=await this.getProvider();return getAddress$2(o[0])}async getChainId(){const{chainId:o}=await this.getProvider();return o}async getProvider({chainId:o}={}){return __privateGet$1(this,_provider)||await __privateMethod$1(this,_createProvider,createProvider_fn).call(this),o&&await this.switchChain(o),__privateGet$1(this,_provider)}async getWalletClient({chainId:o}={}){const[s,a]=await Promise.all([this.getProvider({chainId:o}),this.getAccount()]),rt=this.chains.find(ot=>ot.id===o);if(!s)throw new Error("provider is required.");return createWalletClient$1({account:a,chain:rt,transport:custom$2(s)})}async isAuthorized(){try{const[o,s]=await Promise.all([this.getAccount(),this.getProvider()]),a=__privateMethod$1(this,_isChainsStale,isChainsStale_fn).call(this);if(!o)return!1;if(a&&s.session){try{await s.disconnect()}catch{}return!1}return!0}catch{return!1}}async switchChain(o){var a,rt;const s=this.chains.find(ot=>ot.id===o);if(!s)throw new SwitchChainError$1(new Error("chain not found on connector."));try{const ot=await this.getProvider(),tr=__privateMethod$1(this,_getNamespaceChainsIds,getNamespaceChainsIds_fn).call(this),Ut=__privateMethod$1(this,_getNamespaceMethods,getNamespaceMethods_fn).call(this);if(!tr.includes(o)&&Ut.includes(ADD_ETH_CHAIN_METHOD)){await ot.request({method:ADD_ETH_CHAIN_METHOD,params:[{chainId:numberToHex(s.id),blockExplorerUrls:[(rt=(a=s.blockExplorers)==null?void 0:a.default)==null?void 0:rt.url],chainName:s.name,nativeCurrency:s.nativeCurrency,rpcUrls:[...s.rpcUrls.default.http]}]});const nr=__privateMethod$1(this,_getRequestedChainsIds,getRequestedChainsIds_fn).call(this);nr.push(o),__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,nr)}return await ot.request({method:"wallet_switchEthereumChain",params:[{chainId:numberToHex(o)}]}),s}catch(ot){const tr=typeof ot=="string"?ot:ot==null?void 0:ot.message;throw/user rejected request/i.test(tr)?new UserRejectedRequestError$1(ot):new SwitchChainError$1(ot)}}};_provider=new WeakMap;_initProviderPromise=new WeakMap;_createProvider=new WeakSet;createProvider_fn=async function(){return!__privateGet$1(this,_initProviderPromise)&&typeof window<"u"&&__privateSet$1(this,_initProviderPromise,__privateMethod$1(this,_initProvider,initProvider_fn).call(this)),__privateGet$1(this,_initProviderPromise)};_initProvider=new WeakSet;initProvider_fn=async function(){const{EthereumProvider:o,OPTIONAL_EVENTS:s,OPTIONAL_METHODS:a}=await __vitePreload(()=>import("./index.es-ccbead0d.js"),[],import.meta.url),[rt,...ot]=this.chains.map(({id:tr})=>tr);if(rt){const{projectId:tr,showQrModal:Ut=!0,qrModalOptions:rr,metadata:nr,relayUrl:ir}=this.options;__privateSet$1(this,_provider,await o.init({showQrModal:Ut,qrModalOptions:rr,projectId:tr,optionalMethods:a,optionalEvents:s,chains:[rt],optionalChains:ot.length?ot:void 0,rpcMap:Object.fromEntries(this.chains.map(sr=>[sr.id,sr.rpcUrls.default.http[0]])),metadata:nr,relayUrl:ir}))}};_isChainsStale=new WeakSet;isChainsStale_fn=function(){if(__privateMethod$1(this,_getNamespaceMethods,getNamespaceMethods_fn).call(this).includes(ADD_ETH_CHAIN_METHOD)||!this.options.isNewChainsStale)return!1;const s=__privateMethod$1(this,_getRequestedChainsIds,getRequestedChainsIds_fn).call(this),a=this.chains.map(({id:ot})=>ot),rt=__privateMethod$1(this,_getNamespaceChainsIds,getNamespaceChainsIds_fn).call(this);return rt.length&&!rt.some(ot=>a.includes(ot))?!1:!a.every(ot=>s.includes(ot))};_setupListeners=new WeakSet;setupListeners_fn=function(){__privateGet$1(this,_provider)&&(__privateMethod$1(this,_removeListeners,removeListeners_fn).call(this),__privateGet$1(this,_provider).on("accountsChanged",this.onAccountsChanged),__privateGet$1(this,_provider).on("chainChanged",this.onChainChanged),__privateGet$1(this,_provider).on("disconnect",this.onDisconnect),__privateGet$1(this,_provider).on("session_delete",this.onDisconnect),__privateGet$1(this,_provider).on("display_uri",this.onDisplayUri),__privateGet$1(this,_provider).on("connect",this.onConnect))};_removeListeners=new WeakSet;removeListeners_fn=function(){__privateGet$1(this,_provider)&&(__privateGet$1(this,_provider).removeListener("accountsChanged",this.onAccountsChanged),__privateGet$1(this,_provider).removeListener("chainChanged",this.onChainChanged),__privateGet$1(this,_provider).removeListener("disconnect",this.onDisconnect),__privateGet$1(this,_provider).removeListener("session_delete",this.onDisconnect),__privateGet$1(this,_provider).removeListener("display_uri",this.onDisplayUri),__privateGet$1(this,_provider).removeListener("connect",this.onConnect))};_setRequestedChainsIds=new WeakSet;setRequestedChainsIds_fn=function(o){var s;(s=this.storage)==null||s.setItem(REQUESTED_CHAINS_KEY,o)};_getRequestedChainsIds=new WeakSet;getRequestedChainsIds_fn=function(){var o;return((o=this.storage)==null?void 0:o.getItem(REQUESTED_CHAINS_KEY))??[]};_getNamespaceChainsIds=new WeakSet;getNamespaceChainsIds_fn=function(){var rt,ot,tr;if(!__privateGet$1(this,_provider))return[];const o=(rt=__privateGet$1(this,_provider).session)==null?void 0:rt.namespaces;return o?((tr=(ot=se(o)[NAMESPACE])==null?void 0:ot.chains)==null?void 0:tr.map(Ut=>parseInt(Ut.split(":")[1]||"")))??[]:[]};_getNamespaceMethods=new WeakSet;getNamespaceMethods_fn=function(){var rt,ot;if(!__privateGet$1(this,_provider))return[];const o=(rt=__privateGet$1(this,_provider).session)==null?void 0:rt.namespaces;return o?((ot=se(o)[NAMESPACE])==null?void 0:ot.methods)??[]:[]};let globalData={appName:"Connect Wallet"};const setGlobalData=o=>{globalData={...globalData,...o}},getGlobalData=()=>globalData,InjectedIcon=o=>jsxRuntimeExports.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6505 3.64041C15.6501 3.64062 15.6497 3.64083 15.6493 3.64103L6.05165 8.43985L16.2501 13.5391L26.4484 8.43987L16.8508 3.64103C16.8504 3.64083 16.85 3.64063 16.8496 3.64043C16.6632 3.54806 16.458 3.5 16.25 3.5C16.042 3.5 15.8369 3.54806 15.6505 3.64041ZM28 10.4592L17.5001 15.7091L17.5 28.5205L27.248 23.6465L27.2508 23.6452C27.4757 23.5334 27.665 23.3611 27.7973 23.1477C27.9297 22.9342 27.9999 22.6881 28 22.4369V10.4592ZM15 28.527L15.0001 15.7091L4.50006 10.4591V22.4333C4.49831 22.6849 4.56687 22.9319 4.69807 23.1466C4.82896 23.3608 5.01696 23.5342 5.24095 23.6475C5.24148 23.6477 5.242 23.648 5.24253 23.6483L15 28.527ZM14.5207 31.0824L4.12104 25.8826L4.11759 25.8809C3.47681 25.558 2.93902 25.0625 2.56486 24.4502C2.19154 23.8394 1.99597 23.1365 2.00006 22.4207V10.0486C2.00044 9.33234 2.20062 8.62972 2.5781 8.021C2.95529 7.41274 3.49457 6.92167 4.13537 6.60291C4.13585 6.60267 4.13633 6.60243 4.13681 6.60219L14.534 1.40359L14.5368 1.40221C15.0692 1.13767 15.6556 1 16.25 1C16.8445 1 17.4309 1.13767 17.9633 1.40221L17.966 1.40358L28.3633 6.60219C28.3638 6.60245 28.3643 6.6027 28.3648 6.60295C29.0055 6.92171 29.5448 7.41276 29.922 8.021C30.2994 8.62973 30.4996 9.33168 30.5 10.0479V22.4376C30.4996 23.1538 30.2994 23.8565 29.922 24.4652C29.5448 25.0734 29.0056 25.5644 28.365 25.8831C28.3644 25.8834 28.3638 25.8837 28.3633 25.884L17.9664 31.0824C17.9663 31.0825 17.9665 31.0824 17.9664 31.0824C17.4316 31.3499 16.8415 31.4894 16.2435 31.4894C15.6455 31.4894 15.0554 31.3499 14.5207 31.0824C14.5205 31.0824 14.5208 31.0825 14.5207 31.0824Z",fill:"#CCCCCC"})});function MetaMaskTransparentIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsxs("g",{clipPath:"url(#clip0_827_48434)",children:[jsxRuntimeExports.jsx("path",{d:"M40.6314 10.9688L27.95 20.3874L30.2951 14.8305L40.6314 10.9688Z",fill:"#E2761B"}),jsxRuntimeExports.jsx("path",{d:"M11.3559 10.9688L23.9353 20.4766L21.7049 14.8305L11.3559 10.9688Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M36.0687 32.8011L32.6912 37.9756L39.9177 39.9638L41.9951 32.9158L36.0687 32.8011Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M10.0176 32.9158L12.0823 39.9638L19.3088 37.9756L15.9314 32.8011L10.0176 32.9158Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M18.901 24.058L16.8873 27.104L24.0627 27.4227L23.8078 19.7119L18.901 24.058Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M33.0863 24.058L28.1157 19.6227L27.95 27.4227L35.1127 27.104L33.0863 24.058Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M19.3088 37.9756L23.6167 35.8727L19.8951 32.9668L19.3088 37.9756Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M28.3706 35.8727L32.6912 37.9756L32.0922 32.9668L28.3706 35.8727Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M32.6912 37.9756L28.3706 35.8727L28.7147 38.6893L28.6765 39.8746L32.6912 37.9756Z",fill:"#D7C1B3"}),jsxRuntimeExports.jsx("path",{d:"M19.3088 37.9756L23.3235 39.8746L23.298 38.6893L23.6167 35.8727L19.3088 37.9756Z",fill:"#D7C1B3"}),jsxRuntimeExports.jsx("path",{d:"M23.3873 31.106L19.7931 30.0482L22.3294 28.8884L23.3873 31.106Z",fill:"#233447"}),jsxRuntimeExports.jsx("path",{d:"M28.6 31.106L29.6578 28.8884L32.2068 30.0482L28.6 31.106Z",fill:"#233447"}),jsxRuntimeExports.jsx("path",{d:"M19.3088 37.9756L19.9206 32.8011L15.9314 32.9158L19.3088 37.9756Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M32.0794 32.8011L32.6912 37.9756L36.0686 32.9158L32.0794 32.8011Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M35.1127 27.104L27.95 27.4227L28.6128 31.106L29.6706 28.8884L32.2196 30.0482L35.1127 27.104Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M19.7931 30.0482L22.3422 28.8884L23.3873 31.106L24.0627 27.4227L16.8873 27.104L19.7931 30.0482Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M16.8873 27.104L19.8951 32.9668L19.7931 30.0482L16.8873 27.104Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M32.2196 30.0482L32.0922 32.9668L35.1127 27.104L32.2196 30.0482Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M24.0627 27.4227L23.3873 31.106L24.2284 35.4521L24.4196 29.7295L24.0627 27.4227Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M27.95 27.4227L27.6059 29.7168L27.7588 35.4521L28.6128 31.106L27.95 27.4227Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M28.6128 31.106L27.7588 35.4521L28.3706 35.8727L32.0922 32.9668L32.2196 30.0482L28.6128 31.106Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M19.7931 30.0482L19.8951 32.9668L23.6167 35.8727L24.2284 35.4521L23.3873 31.106L19.7931 30.0482Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M28.6765 39.8746L28.7147 38.6893L28.3961 38.4089H23.5912L23.298 38.6893L23.3235 39.8746L19.3088 37.9756L20.7108 39.1227L23.5529 41.0982H28.4343L31.2892 39.1227L32.6912 37.9756L28.6765 39.8746Z",fill:"#C0AD9E"}),jsxRuntimeExports.jsx("path",{d:"M28.3706 35.8727L27.7588 35.4521H24.2284L23.6167 35.8727L23.298 38.6893L23.5912 38.4089H28.3961L28.7147 38.6893L28.3706 35.8727Z",fill:"#161616"}),jsxRuntimeExports.jsx("path",{d:"M41.1667 20.9991L42.25 15.7991L40.6314 10.9688L28.3706 20.0688L33.0863 24.058L39.752 26.008L41.2304 24.2874L40.5931 23.8286L41.6127 22.8982L40.8225 22.2864L41.8422 21.5089L41.1667 20.9991Z",fill:"#763D16"}),jsxRuntimeExports.jsx("path",{d:"M9.75 15.7991L10.8333 20.9991L10.1451 21.5089L11.1647 22.2864L10.3873 22.8982L11.4069 23.8286L10.7696 24.2874L12.2353 26.008L18.901 24.058L23.6167 20.0688L11.3559 10.9688L9.75 15.7991Z",fill:"#763D16"}),jsxRuntimeExports.jsx("path",{d:"M39.752 26.008L33.0863 24.058L35.1127 27.104L32.0922 32.9668L36.0686 32.9158H41.9951L39.752 26.008Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M18.901 24.058L12.2353 26.008L10.0176 32.9158H15.9314L19.8951 32.9668L16.8873 27.104L18.901 24.058Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M27.95 27.4227L28.3706 20.0688L30.3078 14.8305L21.7049 14.8305L23.6167 20.0688L24.0627 27.4227L24.2157 29.7423L24.2284 35.4521H27.7588L27.7843 29.7423L27.95 27.4227Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2682 10.7855C11.318 10.7617 11.3752 10.7592 11.4269 10.7784L21.7416 14.6274L30.2584 14.6274L40.5603 10.7785C40.6119 10.7592 40.6691 10.7617 40.7188 10.7854C40.7685 10.8091 40.8065 10.852 40.824 10.9042L42.4426 15.7346C42.454 15.7687 42.4562 15.8053 42.4489 15.8406L41.3918 20.9146L41.9645 21.3468C42.0152 21.3851 42.0451 21.4449 42.0453 21.5084C42.0454 21.572 42.0159 21.6319 41.9653 21.6705L41.1559 22.2876L41.7371 22.7375C41.7845 22.7743 41.8133 22.83 41.8157 22.89C41.8181 22.9499 41.794 23.0078 41.7497 23.0482L40.9149 23.8099L41.3491 24.1225C41.3953 24.1558 41.4254 24.2069 41.4321 24.2634C41.4388 24.3199 41.4215 24.3766 41.3845 24.4198L39.9804 26.0538L42.1883 32.8531C42.201 32.892 42.2015 32.9339 42.19 32.9732L40.1125 40.0213C40.0812 40.1275 39.9706 40.1891 39.8638 40.1597L32.7386 38.1993L31.4178 39.2799C31.4136 39.2833 31.4093 39.2866 31.4048 39.2897L28.5499 41.2652C28.5159 41.2887 28.4756 41.3013 28.4343 41.3013H23.5529C23.5115 41.3013 23.471 41.2886 23.437 41.265L20.5949 39.2895C20.5905 39.2864 20.5863 39.2832 20.5822 39.2799L19.2615 38.1993L12.1362 40.1597C12.0293 40.1891 11.9186 40.1274 11.8874 40.021L9.8227 32.9729C9.81128 32.9339 9.81182 32.8924 9.82423 32.8537L12.0073 26.0536L10.615 24.4191C10.5782 24.3759 10.5611 24.3193 10.568 24.2629C10.5748 24.2066 10.6049 24.1557 10.6509 24.1225L11.0851 23.8099L10.2503 23.0482C10.2063 23.008 10.1821 22.9504 10.1843 22.8908C10.1864 22.8311 10.2147 22.7754 10.2616 22.7385L10.833 22.2889L10.0219 21.6705C9.97115 21.6317 9.94153 21.5714 9.94198 21.5075C9.94242 21.4437 9.97287 21.3837 10.0242 21.3457L10.608 20.9133L9.55114 15.8406C9.54383 15.8055 9.54594 15.7691 9.55725 15.7351L11.1631 10.9047C11.1805 10.8523 11.2185 10.8093 11.2682 10.7855ZM12.3958 26.1727L10.2979 32.7072L15.9274 32.598C15.9974 32.5967 16.0632 32.6314 16.1015 32.6901L16.1128 32.7074L19.484 32.6105L16.7065 27.1968C16.673 27.1315 16.6774 27.0532 16.7178 26.992L18.4256 24.4087L12.3958 26.1727ZM19.0544 24.1943L17.2544 26.917L23.8463 27.2097L23.4385 20.4856L19.0544 24.1943ZM23.8209 27.6153L17.3956 27.3299L19.8379 29.8043L22.2449 28.7036C22.2744 28.6902 22.3054 28.6843 22.3357 28.6853C22.4143 28.6828 22.4904 28.7263 22.5259 28.8018L23.3015 30.4475L23.8209 27.6153ZM23.008 30.7826L22.2342 29.1606L20.3735 30.0072L23.008 30.7826ZM20.006 30.3225L20.0886 32.6869C20.1159 32.7271 20.1281 32.7761 20.1223 32.825L20.1157 32.8813L23.6243 35.6209L24.0037 35.3601L23.2113 31.266L20.006 30.3225ZM23.594 31.105L24.0205 33.3089L24.0126 29.7492L23.9676 29.0675L23.594 31.105ZM24.2915 35.6552L23.8081 35.9876L23.5568 38.2087C23.5681 38.2068 23.5796 38.2058 23.5912 38.2058H28.3961C28.4151 38.2058 28.4339 38.2085 28.452 38.2137L28.1801 35.9882L27.6957 35.6552H24.2915ZM27.9838 35.3603L28.363 35.6209L31.8833 32.8722L31.8777 32.825C31.8728 32.7833 31.8809 32.7416 31.9003 32.7054L32.0043 30.323L28.7883 31.2662L27.9838 35.3603ZM32.4192 30.1349L32.3355 32.051L34.3185 28.2021L32.4192 30.1349ZM34.7444 26.9171L32.9331 24.1944L28.5501 20.4867L28.1656 27.2098L34.7444 26.9171ZM33.1873 23.8759L39.6833 25.7762L40.9321 24.3229L40.4744 23.9934C40.4248 23.9576 40.3939 23.9014 40.3904 23.8403C40.3868 23.7792 40.411 23.7198 40.4562 23.6785L41.2974 22.9109L40.6982 22.447C40.6483 22.4084 40.6192 22.3488 40.6194 22.2857C40.6197 22.2225 40.6492 22.1631 40.6994 22.1249L41.5061 21.5098L41.0443 21.1613C40.9816 21.1139 40.9518 21.0347 40.9678 20.9577L42.0399 15.8115L40.5277 11.2988L28.8294 19.9873L33.1873 23.8759ZM39.3568 11.6618L30.4681 14.9827L28.798 19.4985L39.3568 11.6618ZM29.9889 15.0336L22.0036 15.0336L23.7726 19.5118C23.8109 19.5051 23.851 19.5093 23.8882 19.5253C23.9604 19.5564 24.0083 19.6265 24.0109 19.7052L24.0256 20.1524L24.1242 20.402C24.1577 20.4866 24.1307 20.5832 24.0582 20.6383C24.053 20.6423 24.0476 20.646 24.0421 20.6494L24.2654 27.4037L24.6203 29.6985C24.6223 29.711 24.623 29.7237 24.6226 29.7363L24.4385 35.249H27.5502L27.4028 29.7222C27.4025 29.7103 27.4032 29.6984 27.405 29.6867L27.7472 27.4054L27.8921 20.5821C27.8681 20.575 27.8452 20.5633 27.8246 20.5471C27.7525 20.4906 27.7273 20.3928 27.7629 20.3084L27.9051 19.9714L27.9126 19.6184C27.9143 19.5391 27.9619 19.4681 28.0346 19.4364C28.0676 19.422 28.1031 19.417 28.1375 19.4207L29.9889 15.0336ZM27.9715 33.3162L28.3994 31.1382C28.3958 31.1159 28.396 31.093 28.4 31.0705L28.0371 29.0539L27.9874 29.75L27.9715 33.3162ZM28.191 27.6153L28.6975 30.4298L29.4745 28.8009C29.5103 28.7259 29.5862 28.6828 29.6644 28.6853C29.6946 28.6843 29.7254 28.6901 29.7547 28.7035L32.1744 29.8044L34.606 27.3299L28.191 27.6153ZM31.6257 30.0069L29.7658 29.1606L28.9939 30.7788L31.6257 30.0069ZM21.5462 14.9881L12.6288 11.6605L23.1935 19.5017L21.5462 14.9881ZM11.4593 11.3015L9.96002 15.8113L11.0322 20.9577C11.0484 21.0353 11.0179 21.1152 10.9542 21.1624L10.4832 21.5113L11.2879 22.1249C11.3378 22.163 11.3673 22.222 11.3678 22.2848C11.3683 22.3477 11.3397 22.4072 11.2903 22.446L10.7012 22.9096L11.5438 23.6785C11.589 23.7198 11.6132 23.7792 11.6096 23.8403C11.6061 23.9014 11.5752 23.9576 11.5256 23.9934L11.0672 24.3234L12.3046 25.7761L18.8003 23.8758L23.0803 20.085L11.4593 11.3015ZM39.5919 26.1728L33.564 24.4094L35.2818 26.9915C35.3227 27.0529 35.3271 27.1316 35.2933 27.1971L32.5044 32.6101L35.8873 32.7074L35.8986 32.6901C35.9368 32.6315 36.0026 32.5967 36.0726 32.598L41.7138 32.7072L39.5919 26.1728ZM31.9333 33.3486L28.7521 35.8325L32.4453 37.63L31.9333 33.3486ZM32.2217 37.973L28.6175 36.2188L28.9164 38.6647C28.9176 38.6751 28.9181 38.6855 28.9178 38.6959L28.8902 39.5488L32.2217 37.973ZM31.2798 38.8679L28.7634 40.0583C28.6994 40.0885 28.6243 40.0833 28.5651 40.0445C28.5059 40.0057 28.4712 39.9388 28.4735 39.8681L28.5086 38.7786L28.3194 38.6121H23.6727L23.503 38.7743L23.5266 39.8703C23.5281 39.9406 23.4931 40.0068 23.434 40.0451C23.375 40.0834 23.3003 40.0884 23.2367 40.0583L20.7202 38.8679L20.8332 38.9604L23.6166 40.895H28.3709L31.1669 38.9603L31.2798 38.8679ZM19.7778 37.9727L23.1134 39.5505L23.095 38.6937C23.0948 38.6877 23.095 38.6816 23.0954 38.6756C23.0956 38.6726 23.0959 38.6695 23.0962 38.6665L23.3733 36.2175L19.7778 37.9727ZM23.2355 35.8327L19.5542 37.6298L20.0599 33.3531L23.2355 35.8327ZM19.6603 32.0642L17.6716 28.1879L19.5929 30.1345L19.6603 32.0642ZM10.2888 33.1189L12.2211 39.715L18.9837 37.8544L15.8228 33.1189H10.2888ZM19.6672 33.167L16.3852 33.1248L19.1723 37.3948L19.6672 33.167ZM33.0163 37.8544L39.7792 39.7151L41.7235 33.1189H36.1773L33.0163 37.8544ZM35.6148 33.1248L32.3272 33.1669L32.8272 37.3957L35.6148 33.1248Z",fill:"#F6851B"})]}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsx("clipPath",{id:"clip0_827_48434",children:jsxRuntimeExports.jsx("rect",{width:"52",height:"52",rx:"24",fill:"white"})})})]})}function MetaMaskIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...o,children:[jsxRuntimeExports.jsxs("g",{clipPath:"url(#clip0_6070_1947)",children:[jsxRuntimeExports.jsx("rect",{width:"68",height:"68",rx:"16",fill:"#3375BB"}),jsxRuntimeExports.jsx("rect",{x:"-5.6665",y:"-3.40039",width:"79.3333",height:"74.8",fill:"url(#pattern0)"})]}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsx("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:jsxRuntimeExports.jsx("use",{xlinkHref:"#image0_6070_1947",transform:"matrix(0.00217391 0 0 0.00230567 0 -0.00724637)"})}),jsxRuntimeExports.jsx("clipPath",{id:"clip0_6070_1947",children:jsxRuntimeExports.jsx("rect",{width:"68",height:"68",rx:"16",fill:"white"})}),jsxRuntimeExports.jsx("image",{id:"image0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fUSO+9hFmXfUg1kK1OASSDs9kQDFKYBM7hrWvE5XwpEwJwvvcfOLQLm2KSKASMFpkuBCJjTpecapRYBc4kbk0FTFRXY4toBTaM6WTXCD8rcNR6elg2b1NG6q8IDuJEIilWAkISzy1dK0ztHS6TAZaAADS1mx6Lq6VOqwjr1q0+wT8MKECvDVNhEQw/ScNp8KCxlwqduJfFUmniPZrEUiIC5WPrH3CMFIgUiBSIFVoQCETBXpKFiMSMFIgUiBSIFFkuBCJiLpX/MPVIgUiBSIFJgRSgQAXNFGioWM1IgUiBSIFJgsRSIgLlY+sfcIwUiBSIFIgVWhAIRMFekoWIxIwUiBSIFIgUWS4EImIulf8w9UiBSIFIgUmBFKBABc0UaKhYzUiBSIFIgUmCxFIiAuVj6x9wjBSIFIgUiBVaEAhEwV6ShYjEjBSIFIgUiBRZLgQiYi6V/zD1SIFIgUiBSYEUo8P8DgE+wpBVZE1wAAAAASUVORK5CYII="})]})]})}const META_MASK_ID="metaMask";function metaMask(o={}){const{connectorOptions:s,...a}=o;return{id:META_MASK_ID,name:"MetaMask",logos:{default:jsxRuntimeExports.jsx(MetaMaskIcon,{}),transparent:jsxRuntimeExports.jsx(MetaMaskTransparentIcon,{})},downloadUrls:{default:"https://metamask.io/download/"},spinnerColor:"#F0B90B",showQRCode:!1,installed:isMetaMask(),createConnector:rt=>new MetaMaskConnector({chains:rt,options:{shimDisconnect:!0,UNSTABLE_shimOnConnectSelectAccount:!1,...s}}),getDeepLink:()=>`dapp://${window.location.href.replace(/^https?:\/\//,"")}`,getQRCodeUri(rt){return`metamask://wc?uri=${encodeURIComponent(rt)}`},...a}}function isMetaMask(){var o;return typeof window>"u"||isTokenPocket()?!1:(o=window==null?void 0:window.ethereum)==null?void 0:o.isMetaMask}function isMetaMaskConnector(o){return(o==null?void 0:o.id)===META_MASK_ID}const SAFE_ID="safe";function safe(o={}){const{connectorOptions:s,...a}=o;return{id:SAFE_ID,name:"Safe Wallet",logos:{default:jsxRuntimeExports.jsx(InjectedIcon,{})},downloadUrls:{default:void 0},showQRCode:!1,installed:isSafe(),createConnector:rt=>new SafeConnector({chains:rt,options:{allowedDomains:[/gnosis-safe.io$/,/app.safe.global$/],debug:!1,...s}}),getDeepLink:()=>{},...a}}function isSafe(){return!(typeof window>"u")&&(window==null?void 0:window.parent)!==window}function getInjectedProvider(o){if(typeof window>"u"||typeof window.ethereum>"u")return;const s=window.ethereum.providers;return s?s.find(a=>a[o]):window.ethereum[o]?window.ethereum:void 0}function hasInjectedProvider(o){return!!getInjectedProvider(o)}function isTokenPocket(){return typeof window>"u"?!1:!!(hasInjectedProvider("isTokenPocket")||window.tokenpocket)}const TrustWalletTransparentLightIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M10.9199 13.9364L25.9996 9.03516V42.9652C15.2282 38.4407 10.9199 29.7698 10.9199 24.8696V13.9364Z",fill:"#0500FF"}),jsxRuntimeExports.jsx("path",{d:"M41.0806 13.9364L26.001 9.03516V42.9652C36.7723 38.4407 41.0806 29.7698 41.0806 24.8696V13.9364Z",fill:"url(#paint0_linear_5881_50120)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50120",x1:"37.075",y1:"6.65916",x2:"25.6836",y2:"42.5016",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.02",stopColor:"#0000FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.08",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.16",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.42",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.68",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.9",stopColor:"#0500FF"})]})})]}),TrustWalletTransparentDarkIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M10.9199 13.9423L25.9996 9.04102V42.971C15.2282 38.4466 10.9199 29.7757 10.9199 24.8754V13.9423Z",fill:"#48FF91"}),jsxRuntimeExports.jsx("path",{d:"M41.0806 13.9423L26.001 9.04102V42.971C36.7723 38.4466 41.0806 29.7757 41.0806 24.8754V13.9423Z",fill:"url(#paint0_linear_5881_50134)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50134",x1:"25.3642",y1:"47.2355",x2:"37.7066",y2:"2.59158",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.26",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.66",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.8",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.89",stopColor:"#0500FF"})]})})]}),TrustWalletLightIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"60",height:"60",rx:"16",fill:"#242426"}),jsxRuntimeExports.jsx("path",{d:"M12.2197 15.7781L29.9971 10V50C17.2988 44.6662 12.2197 34.444 12.2197 28.6672V15.7781Z",fill:"#48FF91"}),jsxRuntimeExports.jsx("path",{d:"M47.7764 15.7781L29.999 10V50C42.6973 44.6662 47.7764 34.444 47.7764 28.6672V15.7781Z",fill:"url(#paint0_linear_5881_50281)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50281",x1:"29.2483",y1:"55.0274",x2:"43.7988",y2:"2.39678",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.26",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.66",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.8",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.89",stopColor:"#0500FF"})]})})]}),TrustWalletDarkIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"60",height:"60",rx:"16",fill:"white"}),jsxRuntimeExports.jsx("path",{d:"M12.2197 15.7781L29.9971 10V50C17.2988 44.6662 12.2197 34.444 12.2197 28.6672V15.7781Z",fill:"#0500FF"}),jsxRuntimeExports.jsx("path",{d:"M47.7764 15.7781L29.999 10V50C42.6973 44.6662 47.7764 34.444 47.7764 28.6672V15.7781Z",fill:"url(#paint0_linear_5881_50289)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50289",x1:"43.0542",y1:"7.19894",x2:"29.6249",y2:"49.4536",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.02",stopColor:"#0000FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.08",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.16",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.42",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.68",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.9",stopColor:"#0500FF"})]})})]}),TRUST_WALLET_ID="trust";function trustWallet(o={}){const{connectorOptions:s,...a}=o;return{id:TRUST_WALLET_ID,name:"Trust Wallet",logos:{default:{light:jsxRuntimeExports.jsx(TrustWalletLightIcon,{}),dark:jsxRuntimeExports.jsx(TrustWalletDarkIcon,{})},transparent:{light:jsxRuntimeExports.jsx(TrustWalletTransparentLightIcon,{}),dark:jsxRuntimeExports.jsx(TrustWalletTransparentDarkIcon,{})}},downloadUrls:{default:"https://trustwallet.com/"},spinnerColor:"#1098FC",showQRCode:!1,installed:isTrustWallet(),createConnector:rt=>new TrustWalletConnector({chains:rt,options:{shimDisconnect:!0,...s}}),getDeepLink:()=>`https://link.trustwallet.com/open_url?coin_id=60&url=${encodeURIComponent(window.location.href)}`,getQRCodeUri(rt){return`trust://wc?uri=${encodeURIComponent(rt)}`},...a}}function isTrustWallet(){var o,s;return typeof window>"u"?!1:!!(hasInjectedProvider("isTrust")||(o=window==null?void 0:window.trustwallet)!=null&&o.isTrust||(s=window==null?void 0:window.trustWallet)!=null&&s.isTrust)}class TrustWalletConnector extends MetaMaskConnector{constructor({chains:a,options:rt}={}){const ot={name:"Trust Wallet",shimDisconnect:!0,getProvider,...rt};super({chains:a,options:ot});iu(this,"id",TRUST_WALLET_ID);iu(this,"shimDisconnectKey",`${this.id}.shimDisconnect`)}}function getProvider(){if(typeof window>"u")return;const o=getInjectedProvider("isTrust")??window.trustwallet??window.trustWallet;return o&&o.removeListener===void 0&&(o.removeListener=o.off),o}const WalletConnectTransparentIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsx("g",{clipPath:"url(#clip0_6070_1828)",children:jsxRuntimeExports.jsx("path",{d:"M15.3699 19.2984C21.2408 13.5672 30.7592 13.5672 36.6301 19.2984L37.3367 19.9882C37.6301 20.2748 37.6301 20.7393 37.3367 21.0259L34.9196 23.3854C34.7729 23.5287 34.5349 23.5287 34.3881 23.3854L33.4158 22.4363C29.3202 18.438 22.6798 18.438 18.5842 22.4363L17.543 23.4527C17.3962 23.596 17.1582 23.596 17.0114 23.4527L14.5944 21.0932C14.3009 20.8066 14.3009 20.3421 14.5944 20.0555L15.3699 19.2984ZM41.6287 24.1782L43.7798 26.2782C44.0734 26.5647 44.0734 27.0293 43.7798 27.3159L34.0802 36.7851C33.7867 37.0716 33.3107 37.0716 33.0171 36.7851L26.1329 30.0646C26.0595 29.9929 25.9406 29.9929 25.8672 30.0646L18.9831 36.7851C18.6896 37.0716 18.2136 37.0716 17.9201 36.7851L8.22016 27.3158C7.92661 27.0292 7.92661 26.5647 8.22016 26.2781L10.3713 24.1781C10.6648 23.8915 11.1408 23.8915 11.4343 24.1781L18.3187 30.8987C18.3921 30.9704 18.511 30.9704 18.5843 30.8987L25.4684 24.1781C25.7619 23.8915 26.2378 23.8915 26.5313 24.178L33.4157 30.8987C33.4891 30.9704 33.6081 30.9704 33.6814 30.8987L40.5657 24.1782C40.8592 23.8916 41.3351 23.8916 41.6287 24.1782Z",fill:"#3396FF"})}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsx("clipPath",{id:"clip0_6070_1828",children:jsxRuntimeExports.jsx("rect",{width:"52",height:"52",fill:"white"})})})]}),WalletConnectIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"68",height:"68",rx:"16",fill:"#3396FF"}),jsxRuntimeExports.jsx("path",{d:"M20.0995 25.2382C27.7768 17.7435 40.224 17.7435 47.9013 25.2382L48.8252 26.1402C49.209 26.5149 49.209 27.1225 48.8252 27.4972L45.6645 30.5828C45.4726 30.7702 45.1614 30.7702 44.9694 30.5828L43.6979 29.3416C38.3422 24.113 29.6586 24.113 24.3029 29.3416L22.9412 30.6708C22.7493 30.8582 22.438 30.8582 22.2461 30.6708L19.0854 27.5853C18.7016 27.2105 18.7016 26.603 19.0854 26.2282L20.0995 25.2382ZM54.4379 31.6195L57.2509 34.3655C57.6348 34.7403 57.6348 35.3478 57.2509 35.7226L44.5667 48.1054C44.1829 48.4801 43.5606 48.4801 43.1766 48.1054L34.1742 39.317C34.0782 39.2233 33.9227 39.2233 33.8267 39.317L24.8244 48.1054C24.4406 48.4801 23.8182 48.4801 23.4344 48.1054L10.7498 35.7225C10.3659 35.3477 10.3659 34.7402 10.7498 34.3654L13.5629 31.6193C13.9467 31.2446 14.5691 31.2446 14.9529 31.6193L23.9556 40.4077C24.0515 40.5015 24.207 40.5015 24.303 40.4077L33.3052 31.6193C33.689 31.2446 34.3114 31.2446 34.6952 31.6192L43.6978 40.4077C43.7939 40.5015 43.9494 40.5015 44.0453 40.4077L53.0478 31.6195C53.4316 31.2447 54.054 31.2447 54.4379 31.6195Z",fill:"white"})]}),WALLET_CONNECT_ID="walletConnect";function walletConnect(o={}){const{connectorOptions:s,...a}=o;return{id:WALLET_CONNECT_ID,name:"WalletConnect",logos:{default:jsxRuntimeExports.jsx(WalletConnectIcon,{}),transparent:jsxRuntimeExports.jsx(WalletConnectTransparentIcon,{})},downloadUrls:{default:void 0},showQRCode:isMobile()?!1:!(s!=null&&s.showQrModal),installed:void 0,createConnector:rt=>{const{walletConnectProjectId:ot,appName:tr,appIcon:Ut,appDescription:rr,appUrl:nr}=getGlobalData(),ir=tr&&Ut&&rr&&nr;if(!ot)throw new Error("walletConnectProjectId is required.");return new WalletConnectConnector({chains:rt,options:{projectId:ot,metadata:ir?{name:tr,description:rr,url:nr,icons:[Ut]}:void 0,qrModalOptions:{explorerRecommendedWalletIds:["8a0ee50d1f22f6651afcae7eb4253e52a3310b90af5daef78a8c4929a9bb99d4","c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96","4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"]},...s,showQrModal:!0}})},getDeepLink:()=>{},...a}}function isWalletConnectConnector(o){return(o==null?void 0:o.id)===WALLET_CONNECT_ID}function isAndroid(){return typeof navigator<"u"&&/android/i.test(navigator.userAgent)}function isSmallIOS(){return typeof navigator<"u"&&/iPhone|iPod/.test(navigator.userAgent)}function isLargeIOS(){return typeof navigator<"u"&&(/iPad/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)}function isIOS(){return isSmallIOS()||isLargeIOS()}function isMobile(){return isAndroid()||isIOS()}var browser={},canPromise$1=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1.getSymbolSize=function o(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17};utils$1.getSymbolTotalCodewords=function o(s){return CODEWORDS_COUNT[s]};utils$1.getBCHDigit=function(o){let s=0;for(;o!==0;)s++,o>>>=1;return s};utils$1.setToSJISFunction=function o(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=s};utils$1.isKanjiModeEnabled=function(){return typeof toSJISFunction<"u"};utils$1.toSJIS=function o(s){return toSJISFunction(s)};var errorCorrectionLevel={};(function(o){o.L={bit:1},o.M={bit:0},o.Q={bit:3},o.H={bit:2};function s(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"l":case"low":return o.L;case"m":case"medium":return o.M;case"q":case"quartile":return o.Q;case"h":case"high":return o.H;default:throw new Error("Unknown EC Level: "+a)}}o.isValid=function(rt){return rt&&typeof rt.bit<"u"&&rt.bit>=0&&rt.bit<4},o.from=function(rt,ot){if(o.isValid(rt))return rt;try{return s(rt)}catch{return ot}}})(errorCorrectionLevel);function BitBuffer$1(){this.buffer=[],this.length=0}BitBuffer$1.prototype={get:function(o){const s=Math.floor(o/8);return(this.buffer[s]>>>7-o%8&1)===1},put:function(o,s){for(let a=0;a>>s-a-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(o){const s=Math.floor(this.length/8);this.buffer.length<=s&&this.buffer.push(0),o&&(this.buffer[s]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(o){if(!o||o<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=o,this.data=new Uint8Array(o*o),this.reservedBit=new Uint8Array(o*o)}BitMatrix$1.prototype.set=function(o,s,a,rt){const ot=o*this.size+s;this.data[ot]=a,rt&&(this.reservedBit[ot]=!0)};BitMatrix$1.prototype.get=function(o,s){return this.data[o*this.size+s]};BitMatrix$1.prototype.xor=function(o,s,a){this.data[o*this.size+s]^=a};BitMatrix$1.prototype.isReserved=function(o,s){return this.reservedBit[o*this.size+s]};var bitMatrix=BitMatrix$1,alignmentPattern={};(function(o){const s=utils$1.getSymbolSize;o.getRowColCoords=function(rt){if(rt===1)return[];const ot=Math.floor(rt/7)+2,tr=s(rt),Ut=tr===145?26:Math.ceil((tr-13)/(2*ot-2))*2,rr=[tr-7];for(let nr=1;nr=0&&ot<=7},o.from=function(ot){return o.isValid(ot)?parseInt(ot,10):void 0},o.getPenaltyN1=function(ot){const tr=ot.size;let Ut=0,rr=0,nr=0,ir=null,sr=null;for(let ar=0;ar=5&&(Ut+=s.N1+(rr-5)),ir=ur,rr=1),ur=ot.get(cr,ar),ur===sr?nr++:(nr>=5&&(Ut+=s.N1+(nr-5)),sr=ur,nr=1)}rr>=5&&(Ut+=s.N1+(rr-5)),nr>=5&&(Ut+=s.N1+(nr-5))}return Ut},o.getPenaltyN2=function(ot){const tr=ot.size;let Ut=0;for(let rr=0;rr=10&&(rr===1488||rr===93)&&Ut++,nr=nr<<1&2047|ot.get(sr,ir),sr>=10&&(nr===1488||nr===93)&&Ut++}return Ut*s.N3},o.getPenaltyN4=function(ot){let tr=0;const Ut=ot.data.length;for(let nr=0;nr=0;){const Ut=tr[0];for(let nr=0;nr0){const tr=new Uint8Array(this.degree);return tr.set(rt,ot),tr}return rt};var reedSolomonEncoder=ReedSolomonEncoder$1,version={},mode={},versionCheck={};versionCheck.isValid=function o(s){return!isNaN(s)&&s>=1&&s<=40};var regex={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+`)(?:.|[\r + Approved: ${cr.toString()}`))}),Ut.forEach(ar=>{rt||(O(ot[ar].methods,tr[ar].methods)?O(ot[ar].events,tr[ar].events)||(rt=N("NON_CONFORMING_NAMESPACES",`${a} namespaces events don't satisfy namespace events for ${ar}`)):rt=N("NON_CONFORMING_NAMESPACES",`${a} namespaces methods don't satisfy namespace methods for ${ar}`))}),rt}function Yt(o){const s={};return Object.keys(o).forEach(a=>{var rt;a.includes(":")?s[a]=o[a]:(rt=o[a].chains)==null||rt.forEach(ot=>{s[ot]={methods:o[a].methods,events:o[a].events}})}),s}function ln(o){return[...new Set(o.map(s=>s.includes(":")?s.split(":")[0]:s))]}function Jt(o){const s={};return Object.keys(o).forEach(a=>{if(a.includes(":"))s[a]=o[a];else{const rt=A(o[a].accounts);rt==null||rt.forEach(ot=>{s[ot]={accounts:o[a].accounts.filter(tr=>tr.includes(`${ot}:`)),methods:o[a].methods,events:o[a].events}})}}),s}function Qt(o,s){return G(o,!1)&&o<=s.max&&o>=s.min}function Zt(){const o=R();return new Promise(s=>{switch(o){case m.browser:s(dn());break;case m.reactNative:s(fn());break;case m.node:s(pn());break;default:s(!0)}})}function dn(){return q()&&(navigator==null?void 0:navigator.onLine)}async function fn(){if(j()&&typeof global<"u"&&global!=null&&global.NetInfo){const o=await(global==null?void 0:global.NetInfo.fetch());return o==null?void 0:o.isConnected}return!0}function pn(){return!0}function Xt(o){switch(R()){case m.browser:mn(o);break;case m.reactNative:yn(o);break}}function mn(o){!j()&&q()&&(window.addEventListener("online",()=>o(!0)),window.addEventListener("offline",()=>o(!1)))}function yn(o){j()&&typeof global<"u"&&global!=null&&global.NetInfo&&(global==null||global.NetInfo.addEventListener(s=>o(s==null?void 0:s.isConnected)))}const ae={};class er{static get(s){return ae[s]}static set(s,a){ae[s]=a}static delete(s){delete ae[s]}}var NAMESPACE="eip155",STORE_KEY="store",REQUESTED_CHAINS_KEY="requestedChains",ADD_ETH_CHAIN_METHOD="wallet_addEthereumChain",_provider,_initProviderPromise,_createProvider,createProvider_fn,_initProvider,initProvider_fn,_isChainsStale,isChainsStale_fn,_setupListeners,setupListeners_fn,_removeListeners,removeListeners_fn,_setRequestedChainsIds,setRequestedChainsIds_fn,_getRequestedChainsIds,getRequestedChainsIds_fn,_getNamespaceChainsIds,getNamespaceChainsIds_fn,_getNamespaceMethods,getNamespaceMethods_fn,WalletConnectConnector=class extends Connector{constructor(o){super({...o,options:{isNewChainsStale:!0,...o.options}}),__privateAdd$1(this,_createProvider),__privateAdd$1(this,_initProvider),__privateAdd$1(this,_isChainsStale),__privateAdd$1(this,_setupListeners),__privateAdd$1(this,_removeListeners),__privateAdd$1(this,_setRequestedChainsIds),__privateAdd$1(this,_getRequestedChainsIds),__privateAdd$1(this,_getNamespaceChainsIds),__privateAdd$1(this,_getNamespaceMethods),this.id="walletConnect",this.name="WalletConnect",this.ready=!0,__privateAdd$1(this,_provider,void 0),__privateAdd$1(this,_initProviderPromise,void 0),this.onAccountsChanged=s=>{s.length===0?this.emit("disconnect"):this.emit("change",{account:getAddress$2(s[0])})},this.onChainChanged=s=>{const a=Number(s),rt=this.isChainUnsupported(a);this.emit("change",{chain:{id:a,unsupported:rt}})},this.onDisconnect=()=>{__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,[]),this.emit("disconnect")},this.onDisplayUri=s=>{this.emit("message",{type:"display_uri",data:s})},this.onConnect=()=>{this.emit("connect",{})},__privateMethod$1(this,_createProvider,createProvider_fn).call(this)}async connect({chainId:o,pairingTopic:s}={}){var a,rt,ot,tr,Ut;try{let rr=o;if(!rr){const lr=(a=this.storage)==null?void 0:a.getItem(STORE_KEY),dr=(tr=(ot=(rt=lr==null?void 0:lr.state)==null?void 0:rt.data)==null?void 0:ot.chain)==null?void 0:tr.id;dr&&!this.isChainUnsupported(dr)?rr=dr:rr=(Ut=this.chains[0])==null?void 0:Ut.id}if(!rr)throw new Error("No chains found on connector.");const nr=await this.getProvider();__privateMethod$1(this,_setupListeners,setupListeners_fn).call(this);const ir=__privateMethod$1(this,_isChainsStale,isChainsStale_fn).call(this);if(nr.session&&ir&&await nr.disconnect(),!nr.session||ir){const lr=this.chains.filter(dr=>dr.id!==rr).map(dr=>dr.id);this.emit("message",{type:"connecting"}),await nr.connect({pairingTopic:s,chains:[rr],optionalChains:lr.length?lr:void 0}),__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,this.chains.map(({id:dr})=>dr))}const sr=await nr.enable(),ar=getAddress$2(sr[0]),cr=await this.getChainId(),ur=this.isChainUnsupported(cr);return{account:ar,chain:{id:cr,unsupported:ur}}}catch(rr){throw/user rejected/i.test(rr==null?void 0:rr.message)?new UserRejectedRequestError$1(rr):rr}}async disconnect(){const o=await this.getProvider();try{await o.disconnect()}catch(s){if(!/No matching key/i.test(s.message))throw s}finally{__privateMethod$1(this,_removeListeners,removeListeners_fn).call(this),__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,[])}}async getAccount(){const{accounts:o}=await this.getProvider();return getAddress$2(o[0])}async getChainId(){const{chainId:o}=await this.getProvider();return o}async getProvider({chainId:o}={}){return __privateGet$1(this,_provider)||await __privateMethod$1(this,_createProvider,createProvider_fn).call(this),o&&await this.switchChain(o),__privateGet$1(this,_provider)}async getWalletClient({chainId:o}={}){const[s,a]=await Promise.all([this.getProvider({chainId:o}),this.getAccount()]),rt=this.chains.find(ot=>ot.id===o);if(!s)throw new Error("provider is required.");return createWalletClient$1({account:a,chain:rt,transport:custom$2(s)})}async isAuthorized(){try{const[o,s]=await Promise.all([this.getAccount(),this.getProvider()]),a=__privateMethod$1(this,_isChainsStale,isChainsStale_fn).call(this);if(!o)return!1;if(a&&s.session){try{await s.disconnect()}catch{}return!1}return!0}catch{return!1}}async switchChain(o){var a,rt;const s=this.chains.find(ot=>ot.id===o);if(!s)throw new SwitchChainError$1(new Error("chain not found on connector."));try{const ot=await this.getProvider(),tr=__privateMethod$1(this,_getNamespaceChainsIds,getNamespaceChainsIds_fn).call(this),Ut=__privateMethod$1(this,_getNamespaceMethods,getNamespaceMethods_fn).call(this);if(!tr.includes(o)&&Ut.includes(ADD_ETH_CHAIN_METHOD)){await ot.request({method:ADD_ETH_CHAIN_METHOD,params:[{chainId:numberToHex(s.id),blockExplorerUrls:[(rt=(a=s.blockExplorers)==null?void 0:a.default)==null?void 0:rt.url],chainName:s.name,nativeCurrency:s.nativeCurrency,rpcUrls:[...s.rpcUrls.default.http]}]});const nr=__privateMethod$1(this,_getRequestedChainsIds,getRequestedChainsIds_fn).call(this);nr.push(o),__privateMethod$1(this,_setRequestedChainsIds,setRequestedChainsIds_fn).call(this,nr)}return await ot.request({method:"wallet_switchEthereumChain",params:[{chainId:numberToHex(o)}]}),s}catch(ot){const tr=typeof ot=="string"?ot:ot==null?void 0:ot.message;throw/user rejected request/i.test(tr)?new UserRejectedRequestError$1(ot):new SwitchChainError$1(ot)}}};_provider=new WeakMap;_initProviderPromise=new WeakMap;_createProvider=new WeakSet;createProvider_fn=async function(){return!__privateGet$1(this,_initProviderPromise)&&typeof window<"u"&&__privateSet$1(this,_initProviderPromise,__privateMethod$1(this,_initProvider,initProvider_fn).call(this)),__privateGet$1(this,_initProviderPromise)};_initProvider=new WeakSet;initProvider_fn=async function(){const{EthereumProvider:o,OPTIONAL_EVENTS:s,OPTIONAL_METHODS:a}=await __vitePreload(()=>import("./index.es-fd383fed.js"),[],import.meta.url),[rt,...ot]=this.chains.map(({id:tr})=>tr);if(rt){const{projectId:tr,showQrModal:Ut=!0,qrModalOptions:rr,metadata:nr,relayUrl:ir}=this.options;__privateSet$1(this,_provider,await o.init({showQrModal:Ut,qrModalOptions:rr,projectId:tr,optionalMethods:a,optionalEvents:s,chains:[rt],optionalChains:ot.length?ot:void 0,rpcMap:Object.fromEntries(this.chains.map(sr=>[sr.id,sr.rpcUrls.default.http[0]])),metadata:nr,relayUrl:ir}))}};_isChainsStale=new WeakSet;isChainsStale_fn=function(){if(__privateMethod$1(this,_getNamespaceMethods,getNamespaceMethods_fn).call(this).includes(ADD_ETH_CHAIN_METHOD)||!this.options.isNewChainsStale)return!1;const s=__privateMethod$1(this,_getRequestedChainsIds,getRequestedChainsIds_fn).call(this),a=this.chains.map(({id:ot})=>ot),rt=__privateMethod$1(this,_getNamespaceChainsIds,getNamespaceChainsIds_fn).call(this);return rt.length&&!rt.some(ot=>a.includes(ot))?!1:!a.every(ot=>s.includes(ot))};_setupListeners=new WeakSet;setupListeners_fn=function(){__privateGet$1(this,_provider)&&(__privateMethod$1(this,_removeListeners,removeListeners_fn).call(this),__privateGet$1(this,_provider).on("accountsChanged",this.onAccountsChanged),__privateGet$1(this,_provider).on("chainChanged",this.onChainChanged),__privateGet$1(this,_provider).on("disconnect",this.onDisconnect),__privateGet$1(this,_provider).on("session_delete",this.onDisconnect),__privateGet$1(this,_provider).on("display_uri",this.onDisplayUri),__privateGet$1(this,_provider).on("connect",this.onConnect))};_removeListeners=new WeakSet;removeListeners_fn=function(){__privateGet$1(this,_provider)&&(__privateGet$1(this,_provider).removeListener("accountsChanged",this.onAccountsChanged),__privateGet$1(this,_provider).removeListener("chainChanged",this.onChainChanged),__privateGet$1(this,_provider).removeListener("disconnect",this.onDisconnect),__privateGet$1(this,_provider).removeListener("session_delete",this.onDisconnect),__privateGet$1(this,_provider).removeListener("display_uri",this.onDisplayUri),__privateGet$1(this,_provider).removeListener("connect",this.onConnect))};_setRequestedChainsIds=new WeakSet;setRequestedChainsIds_fn=function(o){var s;(s=this.storage)==null||s.setItem(REQUESTED_CHAINS_KEY,o)};_getRequestedChainsIds=new WeakSet;getRequestedChainsIds_fn=function(){var o;return((o=this.storage)==null?void 0:o.getItem(REQUESTED_CHAINS_KEY))??[]};_getNamespaceChainsIds=new WeakSet;getNamespaceChainsIds_fn=function(){var rt,ot,tr;if(!__privateGet$1(this,_provider))return[];const o=(rt=__privateGet$1(this,_provider).session)==null?void 0:rt.namespaces;return o?((tr=(ot=se(o)[NAMESPACE])==null?void 0:ot.chains)==null?void 0:tr.map(Ut=>parseInt(Ut.split(":")[1]||"")))??[]:[]};_getNamespaceMethods=new WeakSet;getNamespaceMethods_fn=function(){var rt,ot;if(!__privateGet$1(this,_provider))return[];const o=(rt=__privateGet$1(this,_provider).session)==null?void 0:rt.namespaces;return o?((ot=se(o)[NAMESPACE])==null?void 0:ot.methods)??[]:[]};let globalData={appName:"Connect Wallet"};const setGlobalData=o=>{globalData={...globalData,...o}},getGlobalData=()=>globalData,InjectedIcon=o=>jsxRuntimeExports.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6505 3.64041C15.6501 3.64062 15.6497 3.64083 15.6493 3.64103L6.05165 8.43985L16.2501 13.5391L26.4484 8.43987L16.8508 3.64103C16.8504 3.64083 16.85 3.64063 16.8496 3.64043C16.6632 3.54806 16.458 3.5 16.25 3.5C16.042 3.5 15.8369 3.54806 15.6505 3.64041ZM28 10.4592L17.5001 15.7091L17.5 28.5205L27.248 23.6465L27.2508 23.6452C27.4757 23.5334 27.665 23.3611 27.7973 23.1477C27.9297 22.9342 27.9999 22.6881 28 22.4369V10.4592ZM15 28.527L15.0001 15.7091L4.50006 10.4591V22.4333C4.49831 22.6849 4.56687 22.9319 4.69807 23.1466C4.82896 23.3608 5.01696 23.5342 5.24095 23.6475C5.24148 23.6477 5.242 23.648 5.24253 23.6483L15 28.527ZM14.5207 31.0824L4.12104 25.8826L4.11759 25.8809C3.47681 25.558 2.93902 25.0625 2.56486 24.4502C2.19154 23.8394 1.99597 23.1365 2.00006 22.4207V10.0486C2.00044 9.33234 2.20062 8.62972 2.5781 8.021C2.95529 7.41274 3.49457 6.92167 4.13537 6.60291C4.13585 6.60267 4.13633 6.60243 4.13681 6.60219L14.534 1.40359L14.5368 1.40221C15.0692 1.13767 15.6556 1 16.25 1C16.8445 1 17.4309 1.13767 17.9633 1.40221L17.966 1.40358L28.3633 6.60219C28.3638 6.60245 28.3643 6.6027 28.3648 6.60295C29.0055 6.92171 29.5448 7.41276 29.922 8.021C30.2994 8.62973 30.4996 9.33168 30.5 10.0479V22.4376C30.4996 23.1538 30.2994 23.8565 29.922 24.4652C29.5448 25.0734 29.0056 25.5644 28.365 25.8831C28.3644 25.8834 28.3638 25.8837 28.3633 25.884L17.9664 31.0824C17.9663 31.0825 17.9665 31.0824 17.9664 31.0824C17.4316 31.3499 16.8415 31.4894 16.2435 31.4894C15.6455 31.4894 15.0554 31.3499 14.5207 31.0824C14.5205 31.0824 14.5208 31.0825 14.5207 31.0824Z",fill:"#CCCCCC"})});function MetaMaskTransparentIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsxs("g",{clipPath:"url(#clip0_827_48434)",children:[jsxRuntimeExports.jsx("path",{d:"M40.6314 10.9688L27.95 20.3874L30.2951 14.8305L40.6314 10.9688Z",fill:"#E2761B"}),jsxRuntimeExports.jsx("path",{d:"M11.3559 10.9688L23.9353 20.4766L21.7049 14.8305L11.3559 10.9688Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M36.0687 32.8011L32.6912 37.9756L39.9177 39.9638L41.9951 32.9158L36.0687 32.8011Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M10.0176 32.9158L12.0823 39.9638L19.3088 37.9756L15.9314 32.8011L10.0176 32.9158Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M18.901 24.058L16.8873 27.104L24.0627 27.4227L23.8078 19.7119L18.901 24.058Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M33.0863 24.058L28.1157 19.6227L27.95 27.4227L35.1127 27.104L33.0863 24.058Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M19.3088 37.9756L23.6167 35.8727L19.8951 32.9668L19.3088 37.9756Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M28.3706 35.8727L32.6912 37.9756L32.0922 32.9668L28.3706 35.8727Z",fill:"#E4761B"}),jsxRuntimeExports.jsx("path",{d:"M32.6912 37.9756L28.3706 35.8727L28.7147 38.6893L28.6765 39.8746L32.6912 37.9756Z",fill:"#D7C1B3"}),jsxRuntimeExports.jsx("path",{d:"M19.3088 37.9756L23.3235 39.8746L23.298 38.6893L23.6167 35.8727L19.3088 37.9756Z",fill:"#D7C1B3"}),jsxRuntimeExports.jsx("path",{d:"M23.3873 31.106L19.7931 30.0482L22.3294 28.8884L23.3873 31.106Z",fill:"#233447"}),jsxRuntimeExports.jsx("path",{d:"M28.6 31.106L29.6578 28.8884L32.2068 30.0482L28.6 31.106Z",fill:"#233447"}),jsxRuntimeExports.jsx("path",{d:"M19.3088 37.9756L19.9206 32.8011L15.9314 32.9158L19.3088 37.9756Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M32.0794 32.8011L32.6912 37.9756L36.0686 32.9158L32.0794 32.8011Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M35.1127 27.104L27.95 27.4227L28.6128 31.106L29.6706 28.8884L32.2196 30.0482L35.1127 27.104Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M19.7931 30.0482L22.3422 28.8884L23.3873 31.106L24.0627 27.4227L16.8873 27.104L19.7931 30.0482Z",fill:"#CD6116"}),jsxRuntimeExports.jsx("path",{d:"M16.8873 27.104L19.8951 32.9668L19.7931 30.0482L16.8873 27.104Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M32.2196 30.0482L32.0922 32.9668L35.1127 27.104L32.2196 30.0482Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M24.0627 27.4227L23.3873 31.106L24.2284 35.4521L24.4196 29.7295L24.0627 27.4227Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M27.95 27.4227L27.6059 29.7168L27.7588 35.4521L28.6128 31.106L27.95 27.4227Z",fill:"#E4751F"}),jsxRuntimeExports.jsx("path",{d:"M28.6128 31.106L27.7588 35.4521L28.3706 35.8727L32.0922 32.9668L32.2196 30.0482L28.6128 31.106Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M19.7931 30.0482L19.8951 32.9668L23.6167 35.8727L24.2284 35.4521L23.3873 31.106L19.7931 30.0482Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M28.6765 39.8746L28.7147 38.6893L28.3961 38.4089H23.5912L23.298 38.6893L23.3235 39.8746L19.3088 37.9756L20.7108 39.1227L23.5529 41.0982H28.4343L31.2892 39.1227L32.6912 37.9756L28.6765 39.8746Z",fill:"#C0AD9E"}),jsxRuntimeExports.jsx("path",{d:"M28.3706 35.8727L27.7588 35.4521H24.2284L23.6167 35.8727L23.298 38.6893L23.5912 38.4089H28.3961L28.7147 38.6893L28.3706 35.8727Z",fill:"#161616"}),jsxRuntimeExports.jsx("path",{d:"M41.1667 20.9991L42.25 15.7991L40.6314 10.9688L28.3706 20.0688L33.0863 24.058L39.752 26.008L41.2304 24.2874L40.5931 23.8286L41.6127 22.8982L40.8225 22.2864L41.8422 21.5089L41.1667 20.9991Z",fill:"#763D16"}),jsxRuntimeExports.jsx("path",{d:"M9.75 15.7991L10.8333 20.9991L10.1451 21.5089L11.1647 22.2864L10.3873 22.8982L11.4069 23.8286L10.7696 24.2874L12.2353 26.008L18.901 24.058L23.6167 20.0688L11.3559 10.9688L9.75 15.7991Z",fill:"#763D16"}),jsxRuntimeExports.jsx("path",{d:"M39.752 26.008L33.0863 24.058L35.1127 27.104L32.0922 32.9668L36.0686 32.9158H41.9951L39.752 26.008Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M18.901 24.058L12.2353 26.008L10.0176 32.9158H15.9314L19.8951 32.9668L16.8873 27.104L18.901 24.058Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{d:"M27.95 27.4227L28.3706 20.0688L30.3078 14.8305L21.7049 14.8305L23.6167 20.0688L24.0627 27.4227L24.2157 29.7423L24.2284 35.4521H27.7588L27.7843 29.7423L27.95 27.4227Z",fill:"#F6851B"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2682 10.7855C11.318 10.7617 11.3752 10.7592 11.4269 10.7784L21.7416 14.6274L30.2584 14.6274L40.5603 10.7785C40.6119 10.7592 40.6691 10.7617 40.7188 10.7854C40.7685 10.8091 40.8065 10.852 40.824 10.9042L42.4426 15.7346C42.454 15.7687 42.4562 15.8053 42.4489 15.8406L41.3918 20.9146L41.9645 21.3468C42.0152 21.3851 42.0451 21.4449 42.0453 21.5084C42.0454 21.572 42.0159 21.6319 41.9653 21.6705L41.1559 22.2876L41.7371 22.7375C41.7845 22.7743 41.8133 22.83 41.8157 22.89C41.8181 22.9499 41.794 23.0078 41.7497 23.0482L40.9149 23.8099L41.3491 24.1225C41.3953 24.1558 41.4254 24.2069 41.4321 24.2634C41.4388 24.3199 41.4215 24.3766 41.3845 24.4198L39.9804 26.0538L42.1883 32.8531C42.201 32.892 42.2015 32.9339 42.19 32.9732L40.1125 40.0213C40.0812 40.1275 39.9706 40.1891 39.8638 40.1597L32.7386 38.1993L31.4178 39.2799C31.4136 39.2833 31.4093 39.2866 31.4048 39.2897L28.5499 41.2652C28.5159 41.2887 28.4756 41.3013 28.4343 41.3013H23.5529C23.5115 41.3013 23.471 41.2886 23.437 41.265L20.5949 39.2895C20.5905 39.2864 20.5863 39.2832 20.5822 39.2799L19.2615 38.1993L12.1362 40.1597C12.0293 40.1891 11.9186 40.1274 11.8874 40.021L9.8227 32.9729C9.81128 32.9339 9.81182 32.8924 9.82423 32.8537L12.0073 26.0536L10.615 24.4191C10.5782 24.3759 10.5611 24.3193 10.568 24.2629C10.5748 24.2066 10.6049 24.1557 10.6509 24.1225L11.0851 23.8099L10.2503 23.0482C10.2063 23.008 10.1821 22.9504 10.1843 22.8908C10.1864 22.8311 10.2147 22.7754 10.2616 22.7385L10.833 22.2889L10.0219 21.6705C9.97115 21.6317 9.94153 21.5714 9.94198 21.5075C9.94242 21.4437 9.97287 21.3837 10.0242 21.3457L10.608 20.9133L9.55114 15.8406C9.54383 15.8055 9.54594 15.7691 9.55725 15.7351L11.1631 10.9047C11.1805 10.8523 11.2185 10.8093 11.2682 10.7855ZM12.3958 26.1727L10.2979 32.7072L15.9274 32.598C15.9974 32.5967 16.0632 32.6314 16.1015 32.6901L16.1128 32.7074L19.484 32.6105L16.7065 27.1968C16.673 27.1315 16.6774 27.0532 16.7178 26.992L18.4256 24.4087L12.3958 26.1727ZM19.0544 24.1943L17.2544 26.917L23.8463 27.2097L23.4385 20.4856L19.0544 24.1943ZM23.8209 27.6153L17.3956 27.3299L19.8379 29.8043L22.2449 28.7036C22.2744 28.6902 22.3054 28.6843 22.3357 28.6853C22.4143 28.6828 22.4904 28.7263 22.5259 28.8018L23.3015 30.4475L23.8209 27.6153ZM23.008 30.7826L22.2342 29.1606L20.3735 30.0072L23.008 30.7826ZM20.006 30.3225L20.0886 32.6869C20.1159 32.7271 20.1281 32.7761 20.1223 32.825L20.1157 32.8813L23.6243 35.6209L24.0037 35.3601L23.2113 31.266L20.006 30.3225ZM23.594 31.105L24.0205 33.3089L24.0126 29.7492L23.9676 29.0675L23.594 31.105ZM24.2915 35.6552L23.8081 35.9876L23.5568 38.2087C23.5681 38.2068 23.5796 38.2058 23.5912 38.2058H28.3961C28.4151 38.2058 28.4339 38.2085 28.452 38.2137L28.1801 35.9882L27.6957 35.6552H24.2915ZM27.9838 35.3603L28.363 35.6209L31.8833 32.8722L31.8777 32.825C31.8728 32.7833 31.8809 32.7416 31.9003 32.7054L32.0043 30.323L28.7883 31.2662L27.9838 35.3603ZM32.4192 30.1349L32.3355 32.051L34.3185 28.2021L32.4192 30.1349ZM34.7444 26.9171L32.9331 24.1944L28.5501 20.4867L28.1656 27.2098L34.7444 26.9171ZM33.1873 23.8759L39.6833 25.7762L40.9321 24.3229L40.4744 23.9934C40.4248 23.9576 40.3939 23.9014 40.3904 23.8403C40.3868 23.7792 40.411 23.7198 40.4562 23.6785L41.2974 22.9109L40.6982 22.447C40.6483 22.4084 40.6192 22.3488 40.6194 22.2857C40.6197 22.2225 40.6492 22.1631 40.6994 22.1249L41.5061 21.5098L41.0443 21.1613C40.9816 21.1139 40.9518 21.0347 40.9678 20.9577L42.0399 15.8115L40.5277 11.2988L28.8294 19.9873L33.1873 23.8759ZM39.3568 11.6618L30.4681 14.9827L28.798 19.4985L39.3568 11.6618ZM29.9889 15.0336L22.0036 15.0336L23.7726 19.5118C23.8109 19.5051 23.851 19.5093 23.8882 19.5253C23.9604 19.5564 24.0083 19.6265 24.0109 19.7052L24.0256 20.1524L24.1242 20.402C24.1577 20.4866 24.1307 20.5832 24.0582 20.6383C24.053 20.6423 24.0476 20.646 24.0421 20.6494L24.2654 27.4037L24.6203 29.6985C24.6223 29.711 24.623 29.7237 24.6226 29.7363L24.4385 35.249H27.5502L27.4028 29.7222C27.4025 29.7103 27.4032 29.6984 27.405 29.6867L27.7472 27.4054L27.8921 20.5821C27.8681 20.575 27.8452 20.5633 27.8246 20.5471C27.7525 20.4906 27.7273 20.3928 27.7629 20.3084L27.9051 19.9714L27.9126 19.6184C27.9143 19.5391 27.9619 19.4681 28.0346 19.4364C28.0676 19.422 28.1031 19.417 28.1375 19.4207L29.9889 15.0336ZM27.9715 33.3162L28.3994 31.1382C28.3958 31.1159 28.396 31.093 28.4 31.0705L28.0371 29.0539L27.9874 29.75L27.9715 33.3162ZM28.191 27.6153L28.6975 30.4298L29.4745 28.8009C29.5103 28.7259 29.5862 28.6828 29.6644 28.6853C29.6946 28.6843 29.7254 28.6901 29.7547 28.7035L32.1744 29.8044L34.606 27.3299L28.191 27.6153ZM31.6257 30.0069L29.7658 29.1606L28.9939 30.7788L31.6257 30.0069ZM21.5462 14.9881L12.6288 11.6605L23.1935 19.5017L21.5462 14.9881ZM11.4593 11.3015L9.96002 15.8113L11.0322 20.9577C11.0484 21.0353 11.0179 21.1152 10.9542 21.1624L10.4832 21.5113L11.2879 22.1249C11.3378 22.163 11.3673 22.222 11.3678 22.2848C11.3683 22.3477 11.3397 22.4072 11.2903 22.446L10.7012 22.9096L11.5438 23.6785C11.589 23.7198 11.6132 23.7792 11.6096 23.8403C11.6061 23.9014 11.5752 23.9576 11.5256 23.9934L11.0672 24.3234L12.3046 25.7761L18.8003 23.8758L23.0803 20.085L11.4593 11.3015ZM39.5919 26.1728L33.564 24.4094L35.2818 26.9915C35.3227 27.0529 35.3271 27.1316 35.2933 27.1971L32.5044 32.6101L35.8873 32.7074L35.8986 32.6901C35.9368 32.6315 36.0026 32.5967 36.0726 32.598L41.7138 32.7072L39.5919 26.1728ZM31.9333 33.3486L28.7521 35.8325L32.4453 37.63L31.9333 33.3486ZM32.2217 37.973L28.6175 36.2188L28.9164 38.6647C28.9176 38.6751 28.9181 38.6855 28.9178 38.6959L28.8902 39.5488L32.2217 37.973ZM31.2798 38.8679L28.7634 40.0583C28.6994 40.0885 28.6243 40.0833 28.5651 40.0445C28.5059 40.0057 28.4712 39.9388 28.4735 39.8681L28.5086 38.7786L28.3194 38.6121H23.6727L23.503 38.7743L23.5266 39.8703C23.5281 39.9406 23.4931 40.0068 23.434 40.0451C23.375 40.0834 23.3003 40.0884 23.2367 40.0583L20.7202 38.8679L20.8332 38.9604L23.6166 40.895H28.3709L31.1669 38.9603L31.2798 38.8679ZM19.7778 37.9727L23.1134 39.5505L23.095 38.6937C23.0948 38.6877 23.095 38.6816 23.0954 38.6756C23.0956 38.6726 23.0959 38.6695 23.0962 38.6665L23.3733 36.2175L19.7778 37.9727ZM23.2355 35.8327L19.5542 37.6298L20.0599 33.3531L23.2355 35.8327ZM19.6603 32.0642L17.6716 28.1879L19.5929 30.1345L19.6603 32.0642ZM10.2888 33.1189L12.2211 39.715L18.9837 37.8544L15.8228 33.1189H10.2888ZM19.6672 33.167L16.3852 33.1248L19.1723 37.3948L19.6672 33.167ZM33.0163 37.8544L39.7792 39.7151L41.7235 33.1189H36.1773L33.0163 37.8544ZM35.6148 33.1248L32.3272 33.1669L32.8272 37.3957L35.6148 33.1248Z",fill:"#F6851B"})]}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsx("clipPath",{id:"clip0_827_48434",children:jsxRuntimeExports.jsx("rect",{width:"52",height:"52",rx:"24",fill:"white"})})})]})}function MetaMaskIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...o,children:[jsxRuntimeExports.jsxs("g",{clipPath:"url(#clip0_6070_1947)",children:[jsxRuntimeExports.jsx("rect",{width:"68",height:"68",rx:"16",fill:"#3375BB"}),jsxRuntimeExports.jsx("rect",{x:"-5.6665",y:"-3.40039",width:"79.3333",height:"74.8",fill:"url(#pattern0)"})]}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsx("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:jsxRuntimeExports.jsx("use",{xlinkHref:"#image0_6070_1947",transform:"matrix(0.00217391 0 0 0.00230567 0 -0.00724637)"})}),jsxRuntimeExports.jsx("clipPath",{id:"clip0_6070_1947",children:jsxRuntimeExports.jsx("rect",{width:"68",height:"68",rx:"16",fill:"white"})}),jsxRuntimeExports.jsx("image",{id:"image0_6070_1947",width:"460",height:"440",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAG4CAYAAADIaNdRAAAMa2lDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnluSkJDQAqFICb0JIr1ICaEFEJAq2AhJIKHEmBBUbFgWFVy7iGBFV0UUXQsgi4rYy6LY+2JBRVkXC4qi8iYkoOu+8r3zfXPnv2fO/KfcmXvvAKDZy5VIclEtAP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FIgUiBSIFFkuBCJiLpX/MPVIgUiBSIFJgRSgQAXNFGioWM1IgUiBSIFJgsRSIgLlY+sfcIwUiBSIFIgVWhAIRMFekoWIxIwUiBSIFIgUWS4EImIulf8w9UiBSIFIgUmBFKBABc0UaKhYzUiBSIFIgUmCxFIiAuVj6x9wjBSIFIgUiBVaEAhEwV6ShYjEjBSIFIgUiBRZLgQiYi6V/zD1SIFIgUiBSYEUo8P8DgE+wpBVZE1wAAAAASUVORK5CYII="})]})]})}const META_MASK_ID="metaMask";function metaMask(o={}){const{connectorOptions:s,...a}=o;return{id:META_MASK_ID,name:"MetaMask",logos:{default:jsxRuntimeExports.jsx(MetaMaskIcon,{}),transparent:jsxRuntimeExports.jsx(MetaMaskTransparentIcon,{})},downloadUrls:{default:"https://metamask.io/download/"},spinnerColor:"#F0B90B",showQRCode:!1,installed:isMetaMask(),createConnector:rt=>new MetaMaskConnector({chains:rt,options:{shimDisconnect:!0,UNSTABLE_shimOnConnectSelectAccount:!1,...s}}),getDeepLink:()=>`dapp://${window.location.href.replace(/^https?:\/\//,"")}`,getQRCodeUri(rt){return`metamask://wc?uri=${encodeURIComponent(rt)}`},...a}}function isMetaMask(){var o;return typeof window>"u"||isTokenPocket()?!1:(o=window==null?void 0:window.ethereum)==null?void 0:o.isMetaMask}function isMetaMaskConnector(o){return(o==null?void 0:o.id)===META_MASK_ID}const SAFE_ID="safe";function safe(o={}){const{connectorOptions:s,...a}=o;return{id:SAFE_ID,name:"Safe Wallet",logos:{default:jsxRuntimeExports.jsx(InjectedIcon,{})},downloadUrls:{default:void 0},showQRCode:!1,installed:isSafe(),createConnector:rt=>new SafeConnector({chains:rt,options:{allowedDomains:[/gnosis-safe.io$/,/app.safe.global$/],debug:!1,...s}}),getDeepLink:()=>{},...a}}function isSafe(){return!(typeof window>"u")&&(window==null?void 0:window.parent)!==window}function getInjectedProvider(o){if(typeof window>"u"||typeof window.ethereum>"u")return;const s=window.ethereum.providers;return s?s.find(a=>a[o]):window.ethereum[o]?window.ethereum:void 0}function hasInjectedProvider(o){return!!getInjectedProvider(o)}function isTokenPocket(){return typeof window>"u"?!1:!!(hasInjectedProvider("isTokenPocket")||window.tokenpocket)}const TrustWalletTransparentLightIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M10.9199 13.9364L25.9996 9.03516V42.9652C15.2282 38.4407 10.9199 29.7698 10.9199 24.8696V13.9364Z",fill:"#0500FF"}),jsxRuntimeExports.jsx("path",{d:"M41.0806 13.9364L26.001 9.03516V42.9652C36.7723 38.4407 41.0806 29.7698 41.0806 24.8696V13.9364Z",fill:"url(#paint0_linear_5881_50120)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50120",x1:"37.075",y1:"6.65916",x2:"25.6836",y2:"42.5016",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.02",stopColor:"#0000FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.08",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.16",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.42",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.68",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.9",stopColor:"#0500FF"})]})})]}),TrustWalletTransparentDarkIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M10.9199 13.9423L25.9996 9.04102V42.971C15.2282 38.4466 10.9199 29.7757 10.9199 24.8754V13.9423Z",fill:"#48FF91"}),jsxRuntimeExports.jsx("path",{d:"M41.0806 13.9423L26.001 9.04102V42.971C36.7723 38.4466 41.0806 29.7757 41.0806 24.8754V13.9423Z",fill:"url(#paint0_linear_5881_50134)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50134",x1:"25.3642",y1:"47.2355",x2:"37.7066",y2:"2.59158",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.26",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.66",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.8",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.89",stopColor:"#0500FF"})]})})]}),TrustWalletLightIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"60",height:"60",rx:"16",fill:"#242426"}),jsxRuntimeExports.jsx("path",{d:"M12.2197 15.7781L29.9971 10V50C17.2988 44.6662 12.2197 34.444 12.2197 28.6672V15.7781Z",fill:"#48FF91"}),jsxRuntimeExports.jsx("path",{d:"M47.7764 15.7781L29.999 10V50C42.6973 44.6662 47.7764 34.444 47.7764 28.6672V15.7781Z",fill:"url(#paint0_linear_5881_50281)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50281",x1:"29.2483",y1:"55.0274",x2:"43.7988",y2:"2.39678",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.26",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.66",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.8",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.89",stopColor:"#0500FF"})]})})]}),TrustWalletDarkIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"60",height:"60",rx:"16",fill:"white"}),jsxRuntimeExports.jsx("path",{d:"M12.2197 15.7781L29.9971 10V50C17.2988 44.6662 12.2197 34.444 12.2197 28.6672V15.7781Z",fill:"#0500FF"}),jsxRuntimeExports.jsx("path",{d:"M47.7764 15.7781L29.999 10V50C42.6973 44.6662 47.7764 34.444 47.7764 28.6672V15.7781Z",fill:"url(#paint0_linear_5881_50289)"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5881_50289",x1:"43.0542",y1:"7.19894",x2:"29.6249",y2:"49.4536",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{offset:"0.02",stopColor:"#0000FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.08",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.16",stopColor:"#48FF91"}),jsxRuntimeExports.jsx("stop",{offset:"0.42",stopColor:"#0094FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.68",stopColor:"#0038FF"}),jsxRuntimeExports.jsx("stop",{offset:"0.9",stopColor:"#0500FF"})]})})]}),TRUST_WALLET_ID="trust";function trustWallet(o={}){const{connectorOptions:s,...a}=o;return{id:TRUST_WALLET_ID,name:"Trust Wallet",logos:{default:{light:jsxRuntimeExports.jsx(TrustWalletLightIcon,{}),dark:jsxRuntimeExports.jsx(TrustWalletDarkIcon,{})},transparent:{light:jsxRuntimeExports.jsx(TrustWalletTransparentLightIcon,{}),dark:jsxRuntimeExports.jsx(TrustWalletTransparentDarkIcon,{})}},downloadUrls:{default:"https://trustwallet.com/"},spinnerColor:"#1098FC",showQRCode:!1,installed:isTrustWallet(),createConnector:rt=>new TrustWalletConnector({chains:rt,options:{shimDisconnect:!0,...s}}),getDeepLink:()=>`https://link.trustwallet.com/open_url?coin_id=60&url=${encodeURIComponent(window.location.href)}`,getQRCodeUri(rt){return`trust://wc?uri=${encodeURIComponent(rt)}`},...a}}function isTrustWallet(){var o,s;return typeof window>"u"?!1:!!(hasInjectedProvider("isTrust")||(o=window==null?void 0:window.trustwallet)!=null&&o.isTrust||(s=window==null?void 0:window.trustWallet)!=null&&s.isTrust)}function isAndroid(){return typeof navigator<"u"&&/android/i.test(navigator.userAgent)}function isSmallIOS(){return typeof navigator<"u"&&/iPhone|iPod/.test(navigator.userAgent)}function isLargeIOS(){return typeof navigator<"u"&&(/iPad/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)}function isIOS(){return isSmallIOS()||isLargeIOS()}function isMobile(){return isAndroid()||isIOS()}function mergeList(o=[],s=[]){const a=[...o];return s.forEach(rt=>{const ot=o.findIndex(tr=>tr.id===rt.id);ot>-1?a[ot]={...a[ot],...rt}:a.push({...rt})}),a}function commonErrorHandler(o){var tr;const{log:s,handler:a,error:rt}=o;let ot="";if(rt){if(rt.code)switch(rt.code){case 4902:isIOS()&&isTrustWallet()&&(ot="Not supported chainId");break}let Ut=ot||((tr=rt.cause)==null?void 0:tr.message)||rt.message;Ut!=null&&Ut.includes("Connection request reset")&&(Ut=void 0),s("[wallet error]",rt),a==null||a(rt,Ut)}}async function sleep(o=1e3){return new Promise(s=>{setTimeout(()=>{s(null)},o)})}class TrustWalletConnector extends MetaMaskConnector{constructor({chains:a,options:rt}={}){const ot={name:"Trust Wallet",shimDisconnect:!0,getProvider,...rt};super({chains:a,options:ot});iu(this,"id",TRUST_WALLET_ID);iu(this,"shimDisconnectKey",`${this.id}.shimDisconnect`)}async getProvider(){var a;return typeof window<"u"&&!((a=window.trustwallet)!=null&&a.request)&&await sleep(),this.options.getProvider()}}function getProvider(){if(typeof window>"u")return;const o=getInjectedProvider("isTrust")??window.trustwallet??window.trustWallet;return o&&!o.removeListener===void 0&&(o.removeListener=o.off),o}const WalletConnectTransparentIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",...o,children:[jsxRuntimeExports.jsx("g",{clipPath:"url(#clip0_6070_1828)",children:jsxRuntimeExports.jsx("path",{d:"M15.3699 19.2984C21.2408 13.5672 30.7592 13.5672 36.6301 19.2984L37.3367 19.9882C37.6301 20.2748 37.6301 20.7393 37.3367 21.0259L34.9196 23.3854C34.7729 23.5287 34.5349 23.5287 34.3881 23.3854L33.4158 22.4363C29.3202 18.438 22.6798 18.438 18.5842 22.4363L17.543 23.4527C17.3962 23.596 17.1582 23.596 17.0114 23.4527L14.5944 21.0932C14.3009 20.8066 14.3009 20.3421 14.5944 20.0555L15.3699 19.2984ZM41.6287 24.1782L43.7798 26.2782C44.0734 26.5647 44.0734 27.0293 43.7798 27.3159L34.0802 36.7851C33.7867 37.0716 33.3107 37.0716 33.0171 36.7851L26.1329 30.0646C26.0595 29.9929 25.9406 29.9929 25.8672 30.0646L18.9831 36.7851C18.6896 37.0716 18.2136 37.0716 17.9201 36.7851L8.22016 27.3158C7.92661 27.0292 7.92661 26.5647 8.22016 26.2781L10.3713 24.1781C10.6648 23.8915 11.1408 23.8915 11.4343 24.1781L18.3187 30.8987C18.3921 30.9704 18.511 30.9704 18.5843 30.8987L25.4684 24.1781C25.7619 23.8915 26.2378 23.8915 26.5313 24.178L33.4157 30.8987C33.4891 30.9704 33.6081 30.9704 33.6814 30.8987L40.5657 24.1782C40.8592 23.8916 41.3351 23.8916 41.6287 24.1782Z",fill:"#3396FF"})}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsx("clipPath",{id:"clip0_6070_1828",children:jsxRuntimeExports.jsx("rect",{width:"52",height:"52",fill:"white"})})})]}),WalletConnectIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"68",height:"68",rx:"16",fill:"#3396FF"}),jsxRuntimeExports.jsx("path",{d:"M20.0995 25.2382C27.7768 17.7435 40.224 17.7435 47.9013 25.2382L48.8252 26.1402C49.209 26.5149 49.209 27.1225 48.8252 27.4972L45.6645 30.5828C45.4726 30.7702 45.1614 30.7702 44.9694 30.5828L43.6979 29.3416C38.3422 24.113 29.6586 24.113 24.3029 29.3416L22.9412 30.6708C22.7493 30.8582 22.438 30.8582 22.2461 30.6708L19.0854 27.5853C18.7016 27.2105 18.7016 26.603 19.0854 26.2282L20.0995 25.2382ZM54.4379 31.6195L57.2509 34.3655C57.6348 34.7403 57.6348 35.3478 57.2509 35.7226L44.5667 48.1054C44.1829 48.4801 43.5606 48.4801 43.1766 48.1054L34.1742 39.317C34.0782 39.2233 33.9227 39.2233 33.8267 39.317L24.8244 48.1054C24.4406 48.4801 23.8182 48.4801 23.4344 48.1054L10.7498 35.7225C10.3659 35.3477 10.3659 34.7402 10.7498 34.3654L13.5629 31.6193C13.9467 31.2446 14.5691 31.2446 14.9529 31.6193L23.9556 40.4077C24.0515 40.5015 24.207 40.5015 24.303 40.4077L33.3052 31.6193C33.689 31.2446 34.3114 31.2446 34.6952 31.6192L43.6978 40.4077C43.7939 40.5015 43.9494 40.5015 44.0453 40.4077L53.0478 31.6195C53.4316 31.2447 54.054 31.2447 54.4379 31.6195Z",fill:"white"})]}),WALLET_CONNECT_ID="walletConnect";function walletConnect(o={}){const{connectorOptions:s,...a}=o;return{id:WALLET_CONNECT_ID,name:"WalletConnect",logos:{default:jsxRuntimeExports.jsx(WalletConnectIcon,{}),transparent:jsxRuntimeExports.jsx(WalletConnectTransparentIcon,{})},downloadUrls:{default:void 0},showQRCode:isMobile()?!1:!(s!=null&&s.showQrModal),installed:void 0,createConnector:rt=>{const{walletConnectProjectId:ot,appName:tr,appIcon:Ut,appDescription:rr,appUrl:nr}=getGlobalData(),ir=tr&&Ut&&rr&&nr;if(!ot)throw new Error("walletConnectProjectId is required.");return new WalletConnectConnector({chains:rt,options:{projectId:ot,metadata:ir?{name:tr,description:rr,url:nr,icons:[Ut]}:void 0,qrModalOptions:{explorerRecommendedWalletIds:["8a0ee50d1f22f6651afcae7eb4253e52a3310b90af5daef78a8c4929a9bb99d4","c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96","4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"]},...s,showQrModal:!0}})},getDeepLink:()=>{},...a}}function isWalletConnectConnector(o){return(o==null?void 0:o.id)===WALLET_CONNECT_ID}var browser={},canPromise$1=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1.getSymbolSize=function o(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17};utils$1.getSymbolTotalCodewords=function o(s){return CODEWORDS_COUNT[s]};utils$1.getBCHDigit=function(o){let s=0;for(;o!==0;)s++,o>>>=1;return s};utils$1.setToSJISFunction=function o(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=s};utils$1.isKanjiModeEnabled=function(){return typeof toSJISFunction<"u"};utils$1.toSJIS=function o(s){return toSJISFunction(s)};var errorCorrectionLevel={};(function(o){o.L={bit:1},o.M={bit:0},o.Q={bit:3},o.H={bit:2};function s(a){if(typeof a!="string")throw new Error("Param is not a string");switch(a.toLowerCase()){case"l":case"low":return o.L;case"m":case"medium":return o.M;case"q":case"quartile":return o.Q;case"h":case"high":return o.H;default:throw new Error("Unknown EC Level: "+a)}}o.isValid=function(rt){return rt&&typeof rt.bit<"u"&&rt.bit>=0&&rt.bit<4},o.from=function(rt,ot){if(o.isValid(rt))return rt;try{return s(rt)}catch{return ot}}})(errorCorrectionLevel);function BitBuffer$1(){this.buffer=[],this.length=0}BitBuffer$1.prototype={get:function(o){const s=Math.floor(o/8);return(this.buffer[s]>>>7-o%8&1)===1},put:function(o,s){for(let a=0;a>>s-a-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(o){const s=Math.floor(this.length/8);this.buffer.length<=s&&this.buffer.push(0),o&&(this.buffer[s]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(o){if(!o||o<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=o,this.data=new Uint8Array(o*o),this.reservedBit=new Uint8Array(o*o)}BitMatrix$1.prototype.set=function(o,s,a,rt){const ot=o*this.size+s;this.data[ot]=a,rt&&(this.reservedBit[ot]=!0)};BitMatrix$1.prototype.get=function(o,s){return this.data[o*this.size+s]};BitMatrix$1.prototype.xor=function(o,s,a){this.data[o*this.size+s]^=a};BitMatrix$1.prototype.isReserved=function(o,s){return this.reservedBit[o*this.size+s]};var bitMatrix=BitMatrix$1,alignmentPattern={};(function(o){const s=utils$1.getSymbolSize;o.getRowColCoords=function(rt){if(rt===1)return[];const ot=Math.floor(rt/7)+2,tr=s(rt),Ut=tr===145?26:Math.ceil((tr-13)/(2*ot-2))*2,rr=[tr-7];for(let nr=1;nr=0&&ot<=7},o.from=function(ot){return o.isValid(ot)?parseInt(ot,10):void 0},o.getPenaltyN1=function(ot){const tr=ot.size;let Ut=0,rr=0,nr=0,ir=null,sr=null;for(let ar=0;ar=5&&(Ut+=s.N1+(rr-5)),ir=ur,rr=1),ur=ot.get(cr,ar),ur===sr?nr++:(nr>=5&&(Ut+=s.N1+(nr-5)),sr=ur,nr=1)}rr>=5&&(Ut+=s.N1+(rr-5)),nr>=5&&(Ut+=s.N1+(nr-5))}return Ut},o.getPenaltyN2=function(ot){const tr=ot.size;let Ut=0;for(let rr=0;rr=10&&(rr===1488||rr===93)&&Ut++,nr=nr<<1&2047|ot.get(sr,ir),sr>=10&&(nr===1488||nr===93)&&Ut++}return Ut*s.N3},o.getPenaltyN4=function(ot){let tr=0;const Ut=ot.data.length;for(let nr=0;nr=0;){const Ut=tr[0];for(let nr=0;nr0){const tr=new Uint8Array(this.degree);return tr.set(rt,ot),tr}return rt};var reedSolomonEncoder=ReedSolomonEncoder$1,version={},mode={},versionCheck={};versionCheck.isValid=function o(s){return!isNaN(s)&&s>=1&&s<=40};var regex={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+`)(?:.|[\r ]))+`;regex.KANJI=new RegExp(kanji,"g");regex.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");regex.BYTE=new RegExp(byte,"g");regex.NUMERIC=new RegExp(numeric,"g");regex.ALPHANUMERIC=new RegExp(alphanumeric,"g");const TEST_KANJI=new RegExp("^"+kanji+"$"),TEST_NUMERIC=new RegExp("^"+numeric+"$"),TEST_ALPHANUMERIC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");regex.testKanji=function o(s){return TEST_KANJI.test(s)};regex.testNumeric=function o(s){return TEST_NUMERIC.test(s)};regex.testAlphanumeric=function o(s){return TEST_ALPHANUMERIC.test(s)};(function(o){const s=versionCheck,a=regex;o.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},o.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},o.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},o.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},o.MIXED={bit:-1},o.getCharCountIndicator=function(tr,Ut){if(!tr.ccBits)throw new Error("Invalid mode: "+tr);if(!s.isValid(Ut))throw new Error("Invalid version: "+Ut);return Ut>=1&&Ut<10?tr.ccBits[0]:Ut<27?tr.ccBits[1]:tr.ccBits[2]},o.getBestModeForData=function(tr){return a.testNumeric(tr)?o.NUMERIC:a.testAlphanumeric(tr)?o.ALPHANUMERIC:a.testKanji(tr)?o.KANJI:o.BYTE},o.toString=function(tr){if(tr&&tr.id)return tr.id;throw new Error("Invalid mode")},o.isValid=function(tr){return tr&&tr.bit&&tr.ccBits};function rt(ot){if(typeof ot!="string")throw new Error("Param is not a string");switch(ot.toLowerCase()){case"numeric":return o.NUMERIC;case"alphanumeric":return o.ALPHANUMERIC;case"kanji":return o.KANJI;case"byte":return o.BYTE;default:throw new Error("Unknown mode: "+ot)}}o.from=function(tr,Ut){if(o.isValid(tr))return tr;try{return rt(tr)}catch{return Ut}}})(mode);(function(o){const s=utils$1,a=errorCorrectionCode,rt=errorCorrectionLevel,ot=mode,tr=versionCheck,Ut=7973,rr=s.getBCHDigit(Ut);function nr(cr,ur,lr){for(let dr=1;dr<=40;dr++)if(ur<=o.getCapacity(dr,lr,cr))return dr}function ir(cr,ur){return ot.getCharCountIndicator(cr,ur)+4}function sr(cr,ur){let lr=0;return cr.forEach(function(dr){const vr=ir(dr.mode,ur);lr+=vr+dr.getBitsLength()}),lr}function ar(cr,ur){for(let lr=1;lr<=40;lr++)if(sr(cr,lr)<=o.getCapacity(lr,ur,ot.MIXED))return lr}o.from=function(ur,lr){return tr.isValid(ur)?parseInt(ur,10):lr},o.getCapacity=function(ur,lr,dr){if(!tr.isValid(ur))throw new Error("Invalid QR Code version");typeof dr>"u"&&(dr=ot.BYTE);const vr=s.getSymbolTotalCodewords(ur),mr=a.getTotalCodewordsCount(ur,lr),pr=(vr-mr)*8;if(dr===ot.MIXED)return pr;const br=pr-ir(dr,ur);switch(dr){case ot.NUMERIC:return Math.floor(br/10*3);case ot.ALPHANUMERIC:return Math.floor(br/11*2);case ot.KANJI:return Math.floor(br/13);case ot.BYTE:default:return Math.floor(br/8)}},o.getBestVersionForData=function(ur,lr){let dr;const vr=rt.from(lr,rt.M);if(Array.isArray(ur)){if(ur.length>1)return ar(ur,vr);if(ur.length===0)return 1;dr=ur[0]}else dr=ur;return nr(dr.mode,dr.getLength(),vr)},o.getEncodedBits=function(ur){if(!tr.isValid(ur)||ur<7)throw new Error("Invalid QR Code version");let lr=ur<<12;for(;s.getBCHDigit(lr)-rr>=0;)lr^=Ut<=0;)ot^=G15<0&&(rt=this.data.substr(a),ot=parseInt(rt,10),s.put(ot,tr*3+1))};var numericData=NumericData;const Mode$3=mode,ALPHA_NUM_CHARS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function AlphanumericData(o){this.mode=Mode$3.ALPHANUMERIC,this.data=o}AlphanumericData.getBitsLength=function o(s){return 11*Math.floor(s/2)+6*(s%2)};AlphanumericData.prototype.getLength=function o(){return this.data.length};AlphanumericData.prototype.getBitsLength=function o(){return AlphanumericData.getBitsLength(this.data.length)};AlphanumericData.prototype.write=function o(s){let a;for(a=0;a+2<=this.data.length;a+=2){let rt=ALPHA_NUM_CHARS.indexOf(this.data[a])*45;rt+=ALPHA_NUM_CHARS.indexOf(this.data[a+1]),s.put(rt,11)}this.data.length%2&&s.put(ALPHA_NUM_CHARS.indexOf(this.data[a]),6)};var alphanumericData=AlphanumericData,encodeUtf8$1=function o(s){for(var a=[],rt=s.length,ot=0;ot=55296&&tr<=56319&&rt>ot+1){var Ut=s.charCodeAt(ot+1);Ut>=56320&&Ut<=57343&&(tr=(tr-55296)*1024+Ut-56320+65536,ot+=1)}if(tr<128){a.push(tr);continue}if(tr<2048){a.push(tr>>6|192),a.push(tr&63|128);continue}if(tr<55296||tr>=57344&&tr<65536){a.push(tr>>12|224),a.push(tr>>6&63|128),a.push(tr&63|128);continue}if(tr>=65536&&tr<=1114111){a.push(tr>>18|240),a.push(tr>>12&63|128),a.push(tr>>6&63|128),a.push(tr&63|128);continue}a.push(239,191,189)}return new Uint8Array(a).buffer};const encodeUtf8=encodeUtf8$1,Mode$2=mode;function ByteData(o){this.mode=Mode$2.BYTE,typeof o=="string"&&(o=encodeUtf8(o)),this.data=new Uint8Array(o)}ByteData.getBitsLength=function o(s){return s*8};ByteData.prototype.getLength=function o(){return this.data.length};ByteData.prototype.getBitsLength=function o(){return ByteData.getBitsLength(this.data.length)};ByteData.prototype.write=function(o){for(let s=0,a=this.data.length;s=33088&&a<=40956)a-=33088;else if(a>=57408&&a<=60351)a-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+` Make sure your charset is UTF-8`);a=(a>>>8&255)*192+(a&255),o.put(a,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(o){var s={single_source_shortest_paths:function(a,rt,ot){var tr={},Ut={};Ut[rt]=0;var rr=s.PriorityQueue.make();rr.push(rt,0);for(var nr,ir,sr,ar,cr,ur,lr,dr,vr;!rr.empty();){nr=rr.pop(),ir=nr.value,ar=nr.cost,cr=a[ir]||{};for(sr in cr)cr.hasOwnProperty(sr)&&(ur=cr[sr],lr=ar+ur,dr=Ut[sr],vr=typeof Ut[sr]>"u",(vr||dr>lr)&&(Ut[sr]=lr,rr.push(sr,lr),tr[sr]=ir))}if(typeof ot<"u"&&typeof Ut[ot]>"u"){var mr=["Could not find a path from ",rt," to ",ot,"."].join("");throw new Error(mr)}return tr},extract_shortest_path_from_predecessor_list:function(a,rt){for(var ot=[],tr=rt;tr;)ot.push(tr),a[tr],tr=a[tr];return ot.reverse(),ot},find_path:function(a,rt,ot){var tr=s.single_source_shortest_paths(a,rt,ot);return s.extract_shortest_path_from_predecessor_list(tr,ot)},PriorityQueue:{make:function(a){var rt=s.PriorityQueue,ot={},tr;a=a||{};for(tr in rt)rt.hasOwnProperty(tr)&&(ot[tr]=rt[tr]);return ot.queue=[],ot.sorter=a.sorter||rt.default_sorter,ot},default_sorter:function(a,rt){return a.cost-rt.cost},push:function(a,rt){var ot={value:a,cost:rt};this.queue.push(ot),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};o.exports=s})(dijkstra);var dijkstraExports=dijkstra.exports;(function(o){const s=mode,a=numericData,rt=alphanumericData,ot=byteData,tr=kanjiData,Ut=regex,rr=utils$1,nr=dijkstraExports;function ir(mr){return unescape(encodeURIComponent(mr)).length}function sr(mr,pr,br){const _r=[];let wr;for(;(wr=mr.exec(br))!==null;)_r.push({data:wr[0],index:wr.index,mode:pr,length:wr[0].length});return _r}function ar(mr){const pr=sr(Ut.NUMERIC,s.NUMERIC,mr),br=sr(Ut.ALPHANUMERIC,s.ALPHANUMERIC,mr);let _r,wr;return rr.isKanjiModeEnabled()?(_r=sr(Ut.BYTE,s.BYTE,mr),wr=sr(Ut.KANJI,s.KANJI,mr)):(_r=sr(Ut.BYTE_KANJI,s.BYTE,mr),wr=[]),pr.concat(br,_r,wr).sort(function(yr,Ar){return yr.index-Ar.index}).map(function(yr){return{data:yr.data,mode:yr.mode,length:yr.length}})}function cr(mr,pr){switch(pr){case s.NUMERIC:return a.getBitsLength(mr);case s.ALPHANUMERIC:return rt.getBitsLength(mr);case s.KANJI:return tr.getBitsLength(mr);case s.BYTE:return ot.getBitsLength(mr)}}function ur(mr){return mr.reduce(function(pr,br){const _r=pr.length-1>=0?pr[pr.length-1]:null;return _r&&_r.mode===br.mode?(pr[pr.length-1].data+=br.data,pr):(pr.push(br),pr)},[])}function lr(mr){const pr=[];for(let br=0;br=0&&rr<=6&&(nr===0||nr===6)||nr>=0&&nr<=6&&(rr===0||rr===6)||rr>=2&&rr<=4&&nr>=2&&nr<=4?o.set(tr+rr,Ut+nr,!0,!0):o.set(tr+rr,Ut+nr,!1,!0))}}function setupTimingPattern(o){const s=o.size;for(let a=8;a>rr&1)===1,o.set(ot,tr,Ut,!0),o.set(tr,ot,Ut,!0)}function setupFormatInfo(o,s,a){const rt=o.size,ot=FormatInfo.getEncodedBits(s,a);let tr,Ut;for(tr=0;tr<15;tr++)Ut=(ot>>tr&1)===1,tr<6?o.set(tr,8,Ut,!0):tr<8?o.set(tr+1,8,Ut,!0):o.set(rt-15+tr,8,Ut,!0),tr<8?o.set(8,rt-tr-1,Ut,!0):tr<9?o.set(8,15-tr-1+1,Ut,!0):o.set(8,15-tr-1,Ut,!0);o.set(rt-8,8,1,!0)}function setupData(o,s){const a=o.size;let rt=-1,ot=a-1,tr=7,Ut=0;for(let rr=a-1;rr>0;rr-=2)for(rr===6&&rr--;;){for(let nr=0;nr<2;nr++)if(!o.isReserved(ot,rr-nr)){let ir=!1;Ut>>tr&1)===1),o.set(ot,rr-nr,ir),tr--,tr===-1&&(Ut++,tr=7)}if(ot+=rt,ot<0||a<=ot){ot-=rt,rt=-rt;break}}}function createData(o,s,a){const rt=new BitBuffer;a.forEach(function(nr){rt.put(nr.mode.bit,4),rt.put(nr.getLength(),Mode.getCharCountIndicator(nr.mode,o)),nr.write(rt)});const ot=Utils$1.getSymbolTotalCodewords(o),tr=ECCode.getTotalCodewordsCount(o,s),Ut=(ot-tr)*8;for(rt.getLengthInBits()+4<=Ut&&rt.put(0,4);rt.getLengthInBits()%8!==0;)rt.putBit(0);const rr=(Ut-rt.getLengthInBits())/8;for(let nr=0;nr=7&&setupVersionInfo(nr,s),setupData(nr,Ut),isNaN(rt)&&(rt=MaskPattern.getBestMask(nr,setupFormatInfo.bind(null,nr,a))),MaskPattern.applyMask(rt,nr),setupFormatInfo(nr,a,rt),{modules:nr,version:s,errorCorrectionLevel:a,maskPattern:rt,segments:ot}}qrcode.create=function o(s,a){if(typeof s>"u"||s==="")throw new Error("No input text");let rt=ECLevel.M,ot,tr;return typeof a<"u"&&(rt=ECLevel.from(a.errorCorrectionLevel,ECLevel.M),ot=Version.from(a.version),tr=MaskPattern.from(a.maskPattern),a.toSJISFunc&&Utils$1.setToSJISFunction(a.toSJISFunc)),createSymbol(s,ot,rt,tr)};var canvas={},utils={};(function(o){function s(a){if(typeof a=="number"&&(a=a.toString()),typeof a!="string")throw new Error("Color should be defined as hex string");let rt=a.slice().replace("#","").split("");if(rt.length<3||rt.length===5||rt.length>8)throw new Error("Invalid hex color: "+a);(rt.length===3||rt.length===4)&&(rt=Array.prototype.concat.apply([],rt.map(function(tr){return[tr,tr]}))),rt.length===6&&rt.push("F","F");const ot=parseInt(rt.join(""),16);return{r:ot>>24&255,g:ot>>16&255,b:ot>>8&255,a:ot&255,hex:"#"+rt.slice(0,6).join("")}}o.getOptions=function(rt){rt||(rt={}),rt.color||(rt.color={});const ot=typeof rt.margin>"u"||rt.margin===null||rt.margin<0?4:rt.margin,tr=rt.width&&rt.width>=21?rt.width:void 0,Ut=rt.scale||4;return{width:tr,scale:tr?4:Ut,margin:ot,color:{dark:s(rt.color.dark||"#000000ff"),light:s(rt.color.light||"#ffffffff")},type:rt.type,rendererOpts:rt.rendererOpts||{}}},o.getScale=function(rt,ot){return ot.width&&ot.width>=rt+ot.margin*2?ot.width/(rt+ot.margin*2):ot.scale},o.getImageWidth=function(rt,ot){const tr=o.getScale(rt,ot);return Math.floor((rt+ot.margin*2)*tr)},o.qrToImageData=function(rt,ot,tr){const Ut=ot.modules.size,rr=ot.modules.data,nr=o.getScale(Ut,tr),ir=Math.floor((Ut+tr.margin*2)*nr),sr=tr.margin*nr,ar=[tr.color.light,tr.color.dark];for(let cr=0;cr=sr&&ur>=sr&&cr"u"&&(!Ut||!Ut.getContext)&&(nr=Ut,Ut=void 0),Ut||(ir=rt()),nr=s.getOptions(nr);const sr=s.getImageWidth(tr.modules.size,nr),ar=ir.getContext("2d"),cr=ar.createImageData(sr,sr);return s.qrToImageData(cr.data,tr,nr),a(ar,ir,sr),ar.putImageData(cr,0,0),ir},o.renderToDataURL=function(tr,Ut,rr){let nr=rr;typeof nr>"u"&&(!Ut||!Ut.getContext)&&(nr=Ut,Ut=void 0),nr||(nr={});const ir=o.render(tr,Ut,nr),sr=nr.type||"image/png",ar=nr.rendererOpts||{};return ir.toDataURL(sr,ar.quality)}})(canvas);var svgTag={};const Utils=utils;function getColorAttrib(o,s){const a=o.a/255,rt=s+'="'+o.hex+'"';return a<1?rt+" "+s+'-opacity="'+a.toFixed(2).slice(1)+'"':rt}function svgCmd(o,s,a){let rt=o+s;return typeof a<"u"&&(rt+=" "+a),rt}function qrToPath(o,s,a){let rt="",ot=0,tr=!1,Ut=0;for(let rr=0;rr0&&nr>0&&o[rr-1]||(rt+=tr?svgCmd("M",nr+a,.5+ir+a):svgCmd("m",ot,0),ot=0,tr=!1),nr+1':"",ir="',sr='viewBox="0 0 '+rr+" "+rr+'"',cr=''+nr+ir+` -`;return typeof rt=="function"&&rt(null,cr),cr};const canPromise=canPromise$1,QRCode$1=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(o,s,a,rt,ot){const tr=[].slice.call(arguments,1),Ut=tr.length,rr=typeof tr[Ut-1]=="function";if(!rr&&!canPromise())throw new Error("Callback required as last argument");if(rr){if(Ut<2)throw new Error("Too few arguments provided");Ut===2?(ot=a,a=s,s=rt=void 0):Ut===3&&(s.getContext&&typeof ot>"u"?(ot=rt,rt=void 0):(ot=rt,rt=a,a=s,s=void 0))}else{if(Ut<1)throw new Error("Too few arguments provided");return Ut===1?(a=s,s=rt=void 0):Ut===2&&!s.getContext&&(rt=a,a=s,s=void 0),new Promise(function(nr,ir){try{const sr=QRCode$1.create(a,rt);nr(o(sr,s,rt))}catch(sr){ir(sr)}})}try{const nr=QRCode$1.create(a,rt);ot(null,o(nr,s,rt))}catch(nr){ot(nr)}}browser.create=QRCode$1.create;browser.toCanvas=renderCanvas.bind(null,CanvasRenderer.render);browser.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL);browser.toString=renderCanvas.bind(null,function(o,s,a){return SvgRenderer.render(o,a)});const WALLET_CONNECT_PROJECT_ID="e68a1816d39726c2afabf05661a32767",MODAL_AUTO_CLOSE_DELAY=800,LIST_LAYOUT_THRESHOLD=5,getDefaultWallets=()=>{const o=!(typeof window>"u")&&(window==null?void 0:window.parent)!==window;let s=[];return o&&(s=[...s,safe()]),s=[...s,trustWallet(),metaMask(),walletConnect()],s},defaultChains=[mainnet],getDefaultConfig=o=>{const{appName:s="WalletKit",appIcon:a,appDescription:rt,appUrl:ot,walletConnectProjectId:tr=WALLET_CONNECT_PROJECT_ID,alchemyId:Ut,infuraId:rr,chains:nr=defaultChains,connectors:ir,autoConnect:sr=!0,publicClient:ar,webSocketPublicClient:cr,enableWebSocketPublicClient:ur,stallTimeout:lr}=o;setGlobalData({appName:s,walletConnectProjectId:tr,appIcon:a,appDescription:rt,appUrl:ot});const dr=[];Ut&&dr.push(alchemyProvider({apiKey:Ut})),rr&&dr.push(infuraProvider({apiKey:rr})),dr.push(jsonRpcProvider({rpc:wr=>({http:wr.rpcUrls.default.http[0]})})),dr.push(publicProvider());const{publicClient:vr,chains:mr,webSocketPublicClient:pr}=configureChains(nr,dr,{stallTimeout:lr}),br=ir??getDefaultWallets(),_r=createConnectors(br,mr);return createGlobalWalletConnect(_r,mr),{autoConnect:sr,connectors:_r,publicClient:ar??vr,webSocketPublicClient:ur?cr??pr:void 0}};function createConnectors(o,s){return o.map(rt=>{const ot=rt.createConnector(s);return ot._wallet=rt,ot})}function createGlobalWalletConnect(o,s){let a=o.find(rt=>isWalletConnectConnector(rt));a||(a=walletConnect().createConnector(s),o.push(a)),setGlobalData({walletConnectConnector:a})}var clsButton$1="wk_1o8eyuy0",clsBox="wk_1xkzqd80";function cx(...o){if(o.length)return o.filter(Boolean).join(" ")}function cssVar(o,s="colors"){return`var(--wk-${s}-${o.replace(/\./g,"-")})`}function rgba(o,s,a,rt=1){var ot;if(typeof o=="string"&&o.startsWith("#")){const tr=o.slice(1),rr=(ot=(tr.length===3?tr.replace(/[A-F\d]/gi,"$&$&"):tr).match(/.{2}/g))==null?void 0:ot.map(nr=>parseInt(nr,16));if((rr==null?void 0:rr.length)===3)return rgba(rr[0],rr[1],rr[2],s)}return`rgba(${o}, ${s}, ${a}, ${rt})`}const Box=React$1.forwardRef((o,s)=>{const{as:a="div",className:rt,...ot}=o;return React$1.createElement(a,{ref:s,className:cx(clsBox,rt),...ot})});Box.displayName="Box";const Button=React$1.forwardRef((o,s)=>{const{className:a,...rt}=o;return jsxRuntimeExports.jsx(Box,{ref:s,as:"button",className:cx("wk-button",clsButton$1,a),...rt})});Button.displayName="Button";function useIsMounted(){const[o,s]=reactExports.useState(!1);return reactExports.useEffect(()=>{s(!0)},[]),o}const Text=o=>{const{...s}=o;return jsxRuntimeExports.jsx(Box,{as:"p",...s})};Text.displayName="Text";const DownArrowIcon=o=>jsxRuntimeExports.jsx("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3215 15.4882C11.9723 14.8373 13.0276 14.8373 13.6785 15.4882L20 21.8096L26.3215 15.4882C26.9723 14.8373 28.0276 14.8373 28.6785 15.4882C29.3294 16.139 29.3294 17.1943 28.6785 17.8452L21.1785 25.3452C20.5276 25.9961 19.4723 25.9961 18.8215 25.3452L11.3215 17.8452C10.6706 17.1943 10.6706 16.139 11.3215 15.4882Z"})});var clsAvatar$1="wk_17hpei30",clsAvatarDefault="wk_17hpei32",clsAvatarImg="wk_17hpei31";function Avatar(o){const{className:s,address:a,name:rt,...ot}=o,{data:tr}=useEnsAddress({chainId:1,name:rt}),{data:Ut}=useEnsName({chainId:1,address:a??tr??void 0}),{data:rr}=useEnsAvatar({chainId:1,name:Ut}),nr={address:tr??a,name:Ut??rt,avatar:rr??void 0};return jsxRuntimeExports.jsx(Box,{className:cx("wk-avatar",clsAvatar$1,s),...ot,children:nr.avatar?jsxRuntimeExports.jsx(Box,{className:clsAvatarImg,as:"img",src:nr.avatar,alt:nr.name}):jsxRuntimeExports.jsx(Box,{className:clsAvatarDefault})})}function useChainConfig(o){const{supportedChains:s}=useWalletKitContext();return reactExports.useMemo(()=>s.find(ot=>ot.id===(o==null?void 0:o.id))??{},[o==null?void 0:o.id,s])}const truncateRegex=/^(0x[a-zA-Z0-9]{4})[a-zA-Z0-9]+([a-zA-Z0-9]{4})$/;function truncateAddress(o,s="..."){if(!o)return"";const a=o.match(truncateRegex);return a?`${a[1]}${s}${a[2]}`:o}function truncateENSName(o="",s=20){return o.length>s?o.replace(".eth","").slice(0,s)+"...":o}function toPrecision(o,s=1){return o.toString().replace(new RegExp(`(.+\\.\\d{${s}})\\d+`),"$1").replace(/(\.[1-9]*)0+$/,"$1").replace(/\.$/,"")}function formatBalance(o){let s=parseFloat(o.formatted),a=String(s);if(s<1)a=toPrecision(s,4);else if(s<10**2)a=toPrecision(s,4);else if(s<10**4)a=new Intl.NumberFormat().format(parseFloat(toPrecision(s,4)));else{const ot=["k","m","b","t"];for(let tr=ot.length-1;tr>=0;tr--){const Ut=10**((tr+1)*3);if(Ut<=s){s=s*10/Ut/10,a=toPrecision(s,4)+ot[tr];break}}}return`${a} ${o.symbol}`}var clsWalletkitButton="wk_1ahflwr0",clsAccountButton="wk_ka1gs14",clsAddress="wk_ka1gs17",clsBalance$1="wk_ka1gs15",clsChainButton="wk_ka1gs12",clsChainLogo="wk_ka1gs13",clsInfo$1="wk_ka1gs10",clsSeparator="wk_ka1gs16",clsWrongButton="wk_ka1gs11";function ConnectedInfo(){const{address:o}=useAccount(),{onOpenProfile:s,onOpenSwitchNetwork:a}=useModal(),{data:rt}=useEnsName({chainId:1,address:o}),{data:ot}=useBalance({address:o}),{chain:tr}=useNetwork(),Ut=useChainConfig(tr);return jsxRuntimeExports.jsx(Box,{className:cx("wk-connected-button-group",clsInfo$1),children:tr!=null&&tr.unsupported?jsxRuntimeExports.jsxs(Button,{className:cx("wk-wrong-network-button",clsWalletkitButton,clsWrongButton),onClick:()=>a(),children:["Wrong network",jsxRuntimeExports.jsx(DownArrowIcon,{})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Button,{className:cx("wk-chain-button",clsWalletkitButton,clsChainButton),onClick:()=>a(),children:[jsxRuntimeExports.jsx(Box,{className:clsChainLogo,children:Ut==null?void 0:Ut.logo}),jsxRuntimeExports.jsx(Box,{title:Ut.name,children:truncateENSName(Ut.name)}),jsxRuntimeExports.jsx(DownArrowIcon,{})]}),jsxRuntimeExports.jsxs(Button,{className:cx("wk-account-button",clsWalletkitButton,clsAccountButton),onClick:s,children:[ot&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{className:cx("wk-account-balance",clsBalance$1),children:formatBalance(ot)}),jsxRuntimeExports.jsx(Box,{className:clsSeparator})]}),jsxRuntimeExports.jsxs(Box,{className:cx("wk-account-address",clsAddress),children:[jsxRuntimeExports.jsx(Avatar,{address:o}),jsxRuntimeExports.jsx(Text,{as:"span",children:rt?truncateENSName(rt):truncateAddress(o)}),jsxRuntimeExports.jsx(DownArrowIcon,{})]})]})]})})}const ConnectButton=React$1.forwardRef((o,s)=>{const{className:a,role:rt="default",onClick:ot,...tr}=o,{setConnectRole:Ut}=useWalletKitContext(),{onOpen:rr}=useModal(),{isConnected:nr}=useAccount(),ir=useIsMounted(),sr=reactExports.useCallback(ar=>{Ut(rt),rr(),ot==null||ot(ar)},[rt,ot,rr,Ut]);return ir?nr?jsxRuntimeExports.jsx(ConnectedInfo,{}):jsxRuntimeExports.jsx(Button,{ref:s,className:cx("wk-connect-button",clsWalletkitButton,a),onClick:sr,...tr,children:"Connect Wallet"}):null});var clsLink="wk_ra1rc00";const Link=o=>{const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{as:"a",className:cx("wk-link",clsLink,s),target:"_blank",rel:"noopener",...a})};Link.displayName="Link";var clsModalBody="wk_qegkzv0";function ModalBody(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-modal-body",clsModalBody,s),...a})}var clsModalFooter="wk_16i14mx0";function ModalFooter(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-modal-footer",clsModalFooter,s),...a})}var clsModalHeader="wk_uilsxz0";function ModalHeader(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-modal-header",clsModalHeader,s),...a})}const ForwardIcon=o=>jsxRuntimeExports.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.49408 3.57709C9.81951 3.25165 10.3472 3.25165 10.6726 3.57709L16.5059 9.41042C16.8314 9.73586 16.8314 10.2635 16.5059 10.5889L10.6726 16.4223C10.3472 16.7477 9.81951 16.7477 9.49408 16.4223C9.16864 16.0968 9.16864 15.5692 9.49408 15.2438L13.9048 10.833H5.08333C4.6231 10.833 4.25 10.4599 4.25 9.99967C4.25 9.53944 4.6231 9.16634 5.08333 9.16634H13.9048L9.49408 4.7556C9.16864 4.43016 9.16864 3.90252 9.49408 3.57709Z"})});function generateMatrix(o,s){const a=Array.prototype.slice.call(browser.create(o,{errorCorrectionLevel:s}).modules.data,0),rt=Math.sqrt(a.length);return a.reduce((ot,tr,Ut)=>(Ut%rt===0?ot.push([tr]):ot[ot.length-1].push(tr))&&ot,[])}function QRCode(o){const{className:s,ecl:a="M",clearSize:rt=40,size:ot=212,uri:tr}=o,Ut=reactExports.useMemo(()=>{const rr=[],nr=generateMatrix(tr,a),ir=ot/nr.length;[{x:0,y:0},{x:1,y:0},{x:0,y:1}].forEach(({x:lr,y:dr})=>{const vr=(nr.length-7)*ir*lr,mr=(nr.length-7)*ir*dr;for(let pr=0;pr<3;pr++){const br=ir*(7-pr*2),_r=[8,4,0][pr];rr.push(jsxRuntimeExports.jsx("rect",{fill:pr%2===0?"var(--wk-colors-qrCodeDot)":"var(--wk-colors-modalBackground)",height:br,width:br,rx:_r,ry:_r,x:vr+ir*pr,y:mr+ir*pr},`${pr}-${lr}-${dr}`))}});const ar=Math.ceil(rt/ir)+4,cr=nr.length/2-ar/2,ur=nr.length/2+ar/2-1;return nr.forEach((lr,dr)=>{lr.forEach((vr,mr)=>{nr[dr][mr]&&(dr<7&&mr<7||dr>nr.length-8&&mr<7||dr<7&&mr>nr.length-8||dr>cr&&drcr&&mr{const{in:s,children:a,variant:rt="fade",onExit:ot}=o,{className:tr,onAnimationEnd:Ut,...rr}=a.props,[nr,ir]=reactExports.useState(s);reactExports.useEffect(()=>{s&&ir(!0)},[s]);const sr=ar=>{Ut==null||Ut(ar),s||(ot==null||ot(),ir(!1))};return nr?React$1.cloneElement(a,{className:cx(animationMap[rt][Number(s)],tr),onAnimationEnd:sr,...rr}):null};function CustomQRCode(o){const{className:s,logo:a,logoSize:rt=44,value:ot,...tr}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-qrcode",clsQrCodeContainer,s),...tr,children:jsxRuntimeExports.jsxs(Box,{className:clsQrCodeWrapper,children:[ot?jsxRuntimeExports.jsx(Transition,{in:!!ot,children:jsxRuntimeExports.jsx(QRCode,{uri:ot})}):jsxRuntimeExports.jsx(QRCodePlaceHolder,{}),jsxRuntimeExports.jsx(Box,{className:cx("wk-qrcode-logo",clsQrCodeLogo),style:{width:rt,height:rt,opacity:ot?1:.3},children:a})]})})}var clsIconButton="wk_x5kthr0";const IconButton=o=>{const{className:s,icon:a,...rt}=o;return jsxRuntimeExports.jsx(Button,{className:cx("wk-icon-button",clsIconButton,s),...rt,children:a})};IconButton.displayName="IconButton";const BackIcon=o=>jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.5118 8.82165C25.1627 9.47253 25.1627 10.5278 24.5118 11.1787L15.6904 20.0002L24.5118 28.8217C25.1627 29.4725 25.1627 30.5278 24.5118 31.1787C23.861 31.8295 22.8057 31.8295 22.1548 31.1787L12.1548 21.1787C11.5039 20.5278 11.5039 19.4725 12.1548 18.8217L22.1548 8.82165C22.8057 8.17078 23.861 8.17078 24.5118 8.82165Z"})}),CloseIcon=o=>jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0119 9.51184C11.361 8.86097 10.3057 8.86097 9.65484 9.51184C9.00397 10.1627 9.00397 11.218 9.65484 11.8689L17.643 19.857L9.51187 27.9882C8.86099 28.639 8.86099 29.6943 9.51187 30.3452C10.1627 30.9961 11.218 30.9961 11.8689 30.3452L20 22.214L27.9218 30.1358C28.5726 30.7867 29.6279 30.7867 30.2788 30.1358C30.9297 29.4849 30.9297 28.4296 30.2788 27.7788L22.357 19.857L30.1358 12.0783C30.7867 11.4274 30.7867 10.3721 30.1358 9.72123C29.4849 9.07036 28.4297 9.07036 27.7788 9.72123L20 17.5L12.0119 9.51184Z"})}),ModalContext=React$1.createContext({});function useModal(){return reactExports.useContext(ModalContext)}const RouteContext=React$1.createContext({});function useRouter(){return reactExports.useContext(RouteContext)}var clsNavbar="wk_19bcqvr0";function Navbar(o){const{className:s,showBack:a=!1,onBack:rt,...ot}=o,{onClose:tr}=useModal(),Ut=useRouter(),rr=()=>{rt==null||rt(),Ut.back()};return jsxRuntimeExports.jsxs(Box,{className:cx("wk-navbar",clsNavbar,s),...ot,children:[a&&jsxRuntimeExports.jsx(IconButton,{className:"wk-navbar-back-button",icon:jsxRuntimeExports.jsx(BackIcon,{}),onClick:rr}),jsxRuntimeExports.jsx(Box,{style:{flex:1}}),jsxRuntimeExports.jsx(IconButton,{className:"wk-navbar-close-button",icon:jsxRuntimeExports.jsx(CloseIcon,{}),onClick:tr})]})}function useWalletConfig(o){return o._wallet}function mergeList(o=[],s=[]){const a=[...o];return s.forEach(rt=>{const ot=o.findIndex(tr=>tr.id===rt.id);ot>-1?a[ot]={...a[ot],...rt}:a.push({...rt})}),a}function commonErrorHandler(o){var tr;const{log:s,handler:a,error:rt}=o;let ot="";if(rt){if(rt.code)switch(rt.code){case 4902:isIOS()&&isTrustWallet()&&(ot="Not supported chainId");break}let Ut=ot||((tr=rt.cause)==null?void 0:tr.message)||rt.message;Ut!=null&&Ut.includes("Connection request reset")&&(Ut=void 0),s("[wallet error]",rt),a==null||a(rt,Ut)}}function useWalletKitConnect({...o}={}){const{log:s,options:a}=useWalletKitContext(),rt={chainId:a==null?void 0:a.initialChainId},{connect:ot,connectAsync:tr,connectors:Ut,...rr}=useConnect({...o,onError(nr){var ir;commonErrorHandler({log:s,handler:a.onError,error:nr}),(ir=o==null?void 0:o.onError)==null||ir.call(o,nr)}});return{connect:({...nr})=>ot({...rt,...nr}),connectAsync:async({...nr})=>await tr({...rt,...nr}),connectors:Ut,...rr}}function useWalletConnectModal(){const{connectAsync:o}=useWalletKitConnect(),{onClose:s}=useModal(),{log:a}=useWalletKitContext(),[rt,ot]=reactExports.useState(!1);return reactExports.useEffect(()=>{if(rt){const tr=setTimeout(()=>{s()},MODAL_AUTO_CLOSE_DELAY);return()=>{clearTimeout(tr)}}},[rt,s]),{isOpenWcModal:rt,onOpenWcModal:async()=>{document.body.style.setProperty("--wcm-z-index","2147483647");const{walletConnectConnector:tr}=getGlobalData(),Ut=await(tr==null?void 0:tr.getProvider());if(Ut.rpc.showQrModal=!0,tr){ot(!0);try{await o({connector:tr})}catch(rr){a("WalletConnect",rr)}ot(!1)}}}}const ThemeContext=React$1.createContext({});function useTheme(){return reactExports.useContext(ThemeContext)}function useWalletLogos(o){const{colorMode:s}=useTheme();return reactExports.useMemo(()=>{const{default:rt,transparent:ot}=o,tr=(rt==null?void 0:rt[s])??rt,Ut=(ot==null?void 0:ot[s])??ot??tr;return{default:tr,transparent:Ut}},[s,o])}var clsContainer$5="wk_z20x7l0",clsOfficialButton="wk_z20x7l1";const WalletKitContext=reactExports.createContext({});function useWalletKitContext(){return reactExports.useContext(WalletKitContext)}let timer;function useQRCodeUri(){const{connectAsync:o}=useConnect(),{isConnected:s}=useAccount(),{log:a,options:rt}=useWalletKitContext(),[ot,tr]=reactExports.useState("");return reactExports.useEffect(()=>{const{walletConnectConnector:Ut}=getGlobalData();if(s||!Ut)return;const rr=({type:ir,data:sr})=>{ir==="display_uri"&&tr(sr)},nr=async()=>{try{a("[qrcode uri]","connecting");const ir=await(Ut==null?void 0:Ut.getProvider());ir.rpc.showQrModal=!1,await o({connector:Ut})}catch(ir){clearTimeout(timer),timer=setTimeout(()=>{(ir==null?void 0:ir.code)===4001&&(commonErrorHandler({log:a,error:ir,handler:rt.onError}),nr())},100)}};return nr(),Ut.on("message",rr),()=>{var ir;(ir=Ut==null?void 0:Ut.off)==null||ir.call(Ut,"message",rr)}},[s]),ot}function ConnectWithQRCodePage(){var nr;const{selectedConnector:o,options:s}=useWalletKitContext(),a=useWalletConfig(o),rt=useWalletLogos(a.logos),ot=useQRCodeUri(),{onOpenWcModal:tr}=useWalletConnectModal(),Ut=isWalletConnectConnector(o),rr=ot&&(((nr=a.getQRCodeUri)==null?void 0:nr.call(a,ot))??ot);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{showBack:!0}),jsxRuntimeExports.jsx(ModalHeader,{children:"Scan with your phone"}),jsxRuntimeExports.jsx(ModalBody,{className:cx("wk-scan-qrcode",clsContainer$5),children:jsxRuntimeExports.jsx(CustomQRCode,{value:rr,logo:rt==null?void 0:rt.default})}),Ut&&!s.hideOfficialWalletConnectCTA&&jsxRuntimeExports.jsx(ModalFooter,{children:jsxRuntimeExports.jsxs(Link,{className:cx("wk-official-wc-button",clsOfficialButton),onClick:tr,children:["Open the official WalletConnect modal",jsxRuntimeExports.jsx(ForwardIcon,{})]})})]})}function useClipboard(o,s=1500){const[a,rt]=reactExports.useState(!1),[ot,tr]=reactExports.useState(o),Ut=reactExports.useCallback(()=>{const rr=copy(ot);rt(rr)},[ot]);return reactExports.useEffect(()=>{let rr;return a&&(rr=setTimeout(()=>{rt(!1)},s)),()=>{rr&&clearTimeout(rr)}},[s,a]),{value:ot,setValue:tr,onCopy:Ut,hasCopied:a}}function copy(o){try{const s=document.createElement("textarea");s.value=o,s.style.position="absolute",s.style.zIndex="-1",document.body.appendChild(s),s.select(),document.execCommand("copy"),document.body.removeChild(s)}catch{if(navigator.clipboard)navigator.clipboard.writeText(o);else return!1}return!0}const CopyIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 40 40",fill:"currentColor",...o,children:[jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3333 8.33333C13.3333 6.49238 14.8257 5 16.6666 5H29.1666C31.0076 5 32.5 6.49238 32.5 8.33333V24.1667C32.5 26.0076 31.0076 27.5 29.1666 27.5H16.6666C14.8257 27.5 13.3333 26.0076 13.3333 24.1667V8.33333ZM29.1666 8.33333L16.6666 8.33333V24.1667H29.1666V8.33333Z"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33332 14.1665C9.2538 14.1665 9.99999 14.9127 9.99999 15.8332V29.1665C9.99999 30.087 10.7462 30.8332 11.6667 30.8332H24.1667C25.0871 30.8332 25.8333 31.5794 25.8333 32.4998C25.8333 33.4203 25.0871 34.1665 24.1667 34.1665H11.6667C8.90523 34.1665 6.66666 31.9279 6.66666 29.1665V15.8332C6.66666 14.9127 7.41285 14.1665 8.33332 14.1665Z"})]}),SuccessIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 40 40",fill:"currentColor",color:"#02c076",...o,children:[jsxRuntimeExports.jsx("path",{d:"M36.6666 20.0002C36.6666 29.2049 29.2047 36.6668 20 36.6668C10.7952 36.6668 3.33331 29.2049 3.33331 20.0002C3.33331 10.7954 10.7952 3.3335 20 3.3335C29.2047 3.3335 36.6666 10.7954 36.6666 20.0002Z"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.644 13.2627C29.3804 13.7536 29.5532 14.7624 29.0222 15.4704L19.4591 28.2212C19.0881 28.7159 18.3615 28.7587 17.935 28.3109L11.4593 21.5114C10.8794 20.9025 10.8911 19.9422 11.4857 19.3477C12.058 18.7753 12.9746 18.7401 13.5892 19.2669L18.3334 23.3333L26.6119 13.5496C27.118 12.9515 27.9921 12.8281 28.644 13.2627Z",fill:"white"})]});var clsCopy="wk_646y210";function CopyToClipboard(o){const{className:s,value:a="",children:rt,...ot}=o,{hasCopied:tr,onCopy:Ut,setValue:rr}=useClipboard(a);return reactExports.useEffect(()=>{rr(a)},[rr,a]),jsxRuntimeExports.jsxs(Box,{className:cx("wk-copy",clsCopy,s),onClick:Ut,...ot,children:[rt," ",tr?jsxRuntimeExports.jsx(SuccessIcon,{}):jsxRuntimeExports.jsx(CopyIcon,{color:cssVar("textSecondary")})]})}const ExitIcon=o=>jsxRuntimeExports.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 3C5.61929 3 4.5 4.11929 4.5 5.5L4.5 18.5C4.5 19.8807 5.61929 21 7 21H12.5C13.8807 21 15 19.8807 15 18.5V17.5C15 16.9477 14.5523 16.5 14 16.5C13.4477 16.5 13 16.9477 13 17.5V18.5C13 18.7761 12.7761 19 12.5 19H7C6.72386 19 6.5 18.7761 6.5 18.5V5.5C6.5 5.22386 6.72386 5 7 5H12.5C12.7761 5 13 5.22386 13 5.5V6.5C13 7.05228 13.4477 7.5 14 7.5C14.5523 7.5 15 7.05228 15 6.5V5.5C15 4.11929 13.8807 3 12.5 3H7ZM18.2071 7.29289C17.8166 6.90237 17.1834 6.90237 16.7929 7.29289C16.4024 7.68342 16.4024 8.31658 16.7929 8.70711L19.25 11H11C10.4477 11 10 11.4477 10 12C10 12.5523 10.4477 13 11 13H19.25L16.7929 15.2929C16.4024 15.6834 16.4024 16.3166 16.7929 16.7071C17.1834 17.0976 17.8166 17.0976 18.2071 16.7071L22.2071 12.7071C22.5976 12.3166 22.5976 11.6834 22.2071 11.2929L18.2071 7.29289Z"})});var clsContainer$4="wk_1whpwsy0";function DisconnectButton(o){const{className:s,...a}=o,{reset:rt}=useConnect(),{disconnect:ot}=useDisconnect(),{onClose:tr}=useModal(),Ut=()=>{tr(),setTimeout(()=>{ot(),rt()},100)};return jsxRuntimeExports.jsxs(Button,{className:cx("wk-disconnect-button",clsContainer$4,s),onClick:Ut,...a,children:[jsxRuntimeExports.jsx(ExitIcon,{}),"Disconnect"]})}var clsAvatar="wk_1na7l801",clsBalance="wk_1na7l803",clsFooter$2="wk_1na7l800",clsInfo="wk_1na7l802";function ConnectedPage(){const{address:o}=useAccount(),{data:s}=useEnsName({chainId:1,address:o}),{data:a}=useBalance({address:o});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsx(ModalHeader,{children:"Connected"}),jsxRuntimeExports.jsxs(ModalBody,{children:[jsxRuntimeExports.jsx(Avatar,{className:clsAvatar,address:o}),jsxRuntimeExports.jsxs(Box,{className:clsInfo,children:[jsxRuntimeExports.jsx(CopyToClipboard,{value:o,children:s?truncateENSName(s,64):truncateAddress(o)}),jsxRuntimeExports.jsx(Box,{className:clsBalance,children:jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:a?`${formatBalance(a)}`:"-"})})]})]}),jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter$2,children:jsxRuntimeExports.jsx(DisconnectButton,{})})]})}function useWalletDownloadUrl(o){const{options:s}=useWalletKitContext();return reactExports.useMemo(()=>o.default??s.walletDownloadUrl,[s.walletDownloadUrl,o.default])}function CircleLoadingIcon(o){const{thickness:s,endColor:a,...rt}=o,ot=cssVar("modalBackground"),tr=a??cssVar("primaryActive");return jsxRuntimeExports.jsxs("svg",{width:"52",height:"102",viewBox:"0 0 52 102",fill:"none",...rt,children:[jsxRuntimeExports.jsx("path",{d:"M1 101C28.6142 101 51 78.6142 51 51C51 23.3858 28.6142 1 1 1",stroke:"url(#paint0_linear_1252_60553)",strokeWidth:s,strokeLinecap:"round"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_1252_60553",x1:"1",y1:"1",x2:"0.999999",y2:"101",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:ot}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:tr})]})})]})}var clsContainer$3="wk_bd54i70",clsErrorCircle="wk_bd54i72",clsLoading$1="wk_bd54i74",clsLogo="wk_bd54i71";function ConnectSpinner(o){const{className:s,isLoading:a=!1,isError:rt=!1,thickness:ot=2,loadingColor:tr,children:Ut,...rr}=o;return jsxRuntimeExports.jsxs(Box,{className:cx("wk-connect-spinner",clsContainer$3,s),...rr,children:[a&&jsxRuntimeExports.jsx(CircleLoadingIcon,{className:clsLoading$1,thickness:ot,endColor:tr}),rt&&jsxRuntimeExports.jsx(Box,{className:clsErrorCircle}),jsxRuntimeExports.jsx(Box,{className:clsLogo,children:Ut})]})}var clsContent$1="wk_xxja170";function Content(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-content",clsContent$1,s),...a})}var clsDescription$1="wk_du4o10";function Description(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-description",clsDescription$1,s),...a})}const AlertIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 15",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M1.63937 12.5331L7.6704 2.47023C8.04617 1.84325 8.95383 1.84326 9.3296 2.47023L15.3606 12.5331C15.7475 13.1787 15.283 14 14.531 14H2.46897C1.71695 14 1.25246 13.1787 1.63937 12.5331Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntimeExports.jsx("path",{d:"M9.5 11.7231C9.5 12.2754 9.05228 12.7231 8.5 12.7231C7.94772 12.7231 7.5 12.2754 7.5 11.7231C7.5 11.1709 7.94772 10.7231 8.5 10.7231C9.05228 10.7231 9.5 11.1709 9.5 11.7231Z",fill:"currentColor"}),jsxRuntimeExports.jsx("path",{d:"M7.6684 5.65882C7.63842 5.15178 8.01942 4.72314 8.50008 4.72314C8.98075 4.72314 9.36174 5.15178 9.33176 5.65882L9.12831 9.09936C9.10757 9.44999 8.83247 9.72314 8.50008 9.72314C8.16769 9.72314 7.89259 9.44999 7.87186 9.09936L7.6684 5.65882Z",fill:"currentColor"})]});var clsErrorTitle="wk_15jahvi0";function ErrorTitle(o){const{className:s,children:a,...rt}=o;return jsxRuntimeExports.jsxs(Box,{className:cx("wk-error-title",clsErrorTitle,s),...rt,children:[jsxRuntimeExports.jsx(AlertIcon,{}),a]})}var clsInfoTitle="wk_1k1e1vs0";function InfoTitle(o){const{className:s,children:a,...rt}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-info-title",clsInfoTitle,s),...rt,children:a})}function UnsupportedContent(){var s;const{selectedConnector:o}=useWalletKitContext();return typeof window<"u"&&((s=window.ethereum)!=null&&s.isTokenPocket)&&isMetaMaskConnector(o)?jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Switch Wallet"}),jsxRuntimeExports.jsxs(Description,{children:["Please install the ",o==null?void 0:o._wallet.name," extension first, then switch the wallet manually in the corresponding extension, and refresh the page to log in."]})]}):jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsxs(InfoTitle,{children:["Install ",o==null?void 0:o._wallet.name]}),jsxRuntimeExports.jsxs(Description,{children:["To connect your ",o==null?void 0:o._wallet.name,", install the browser extension."]})]})}var clsButton="wk_1ttds3e2",clsContent="wk_1ttds3e0",clsFooter$1="wk_1ttds3e3",clsGap="wk_1ttds3e1";const states={CONNECTED:"connected",CONNECTING:"connecting",FAILED:"failed",REJECTED:"rejected",NOTCONNECTED:"notconnected",UNAVAILABLE:"unavailable"};function ConnectingPage(){const{selectedConnector:o,options:s,connectRole:a,log:rt}=useWalletKitContext(),ot=useWalletConfig(o),tr=useWalletLogos(ot.logos),Ut=useWalletDownloadUrl(ot.downloadUrls),[rr,nr]=reactExports.useState(ot.installed?states.CONNECTING:states.UNAVAILABLE),{connect:ir}=useWalletKitConnect({onMutate:ur=>{ur.connector?nr(states.CONNECTING):nr(states.UNAVAILABLE)},onSettled(ur,lr){var dr;if(lr){if(lr.code)switch(lr.code){case-32002:nr(states.NOTCONNECTED);break;case 4001:nr(states.REJECTED);break;default:nr(states.FAILED);break}else if(lr.message)switch(lr.message){case"User rejected request":nr(states.REJECTED);break;default:nr(states.FAILED);break}}else ur&&s.initialChainId&&ur.chain.id===s.initialChainId&&a==="add-network"&&((dr=s.onChainAlreadyAdded)==null||dr.call(s,o,s.initialChainId))}}),sr=reactExports.useCallback(()=>{ot.installed&&(o?ir({connector:o}):nr(states.UNAVAILABLE))},[ir,o,ot.installed]);reactExports.useEffect(()=>{if(rr===states.UNAVAILABLE)return;const ur=setTimeout(sr,600);return()=>{clearTimeout(ur)}},[]),rt("[Connect]",rr,o==null?void 0:o.name);const ar=[states.FAILED,states.NOTCONNECTED,states.REJECTED].includes(rr),cr=rr===states.CONNECTING;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{showBack:!0}),jsxRuntimeExports.jsx(ModalHeader,{children:ot==null?void 0:ot.name}),jsxRuntimeExports.jsxs(ModalBody,{className:clsContent,children:[jsxRuntimeExports.jsx(ConnectSpinner,{isLoading:cr,isError:ar,loadingColor:ot.spinnerColor,children:tr.transparent}),jsxRuntimeExports.jsx(Box,{className:clsGap}),rr===states.FAILED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(ErrorTitle,{children:"Connection Failed"}),jsxRuntimeExports.jsx(Description,{children:"Sorry, something went wrong. Please try connecting again."})]}),rr===states.REJECTED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Request Cancelled"}),jsxRuntimeExports.jsx(Description,{children:"You cancelled the request. Click above to try again."})]}),rr===states.CONNECTING&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Requesting Connection"}),jsxRuntimeExports.jsxs(Description,{children:["Open the ",ot.name," browser extension to connect your wallet."]})]}),rr===states.CONNECTED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Already Connected"}),jsxRuntimeExports.jsx(Description,{children:"It is now okay to close this popup"})]}),rr===states.NOTCONNECTED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsxs(ErrorTitle,{children:["Login to ",ot.name]}),jsxRuntimeExports.jsxs(Description,{children:["To continue, please login to your ",ot.name," extension."]})]}),rr===states.UNAVAILABLE&&jsxRuntimeExports.jsx(UnsupportedContent,{})]}),(rr===states.FAILED||rr===states.REJECTED)&&jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter$1,children:jsxRuntimeExports.jsx(Button,{className:clsButton,onClick:sr,children:"Try Again"})}),rr===states.UNAVAILABLE&&jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter$1,children:jsxRuntimeExports.jsx(Button,{className:clsButton,as:"a",href:Ut,target:"_blank",rel:"noopener",children:"Install the Extension"})})]})}const MOBILE_MEDIA="screen and (max-width: 767px)";function useMediaQuery(o){const[s,a]=reactExports.useState(!1);return reactExports.useEffect(()=>{const rt=()=>{const tr=window.matchMedia(o).matches;a(tr)};rt();const ot=window.matchMedia(o);return ot.addEventListener("change",rt),()=>{ot.removeEventListener("change",rt)}},[o]),s}const useResponsive=()=>({isMobileLayout:useMediaQuery(MOBILE_MEDIA)}),WalletIcon=o=>jsxRuntimeExports.jsx("svg",{width:24,height:24,viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16669 12.5C4.16669 9.73858 6.40526 7.5 9.16669 7.5H30.8334C33.5948 7.5 35.8334 9.73858 35.8334 12.5V27.5C35.8334 30.2614 33.5948 32.5 30.8334 32.5H9.16669C6.40526 32.5 4.16669 30.2614 4.16669 27.5V12.5ZM9.16669 10.8333C8.24621 10.8333 7.50002 11.5795 7.50002 12.5V27.5C7.50002 28.4205 8.24621 29.1667 9.16669 29.1667H30.8334C31.7538 29.1667 32.5 28.4205 32.5 27.5V26.4583H24.1667C20.5998 26.4583 17.7084 23.5668 17.7084 20C17.7084 16.4332 20.5998 13.5417 24.1667 13.5417H32.5V12.5C32.5 11.5795 31.7538 10.8333 30.8334 10.8333H9.16669ZM32.5 16.4583H24.1667C22.2107 16.4583 20.625 18.044 20.625 20C20.625 21.956 22.2107 23.5417 24.1667 23.5417H32.5V16.4583ZM26.6667 20C26.6667 21.1506 25.7339 22.0833 24.5834 22.0833C23.4328 22.0833 22.5 21.1506 22.5 20C22.5 18.8494 23.4328 17.9167 24.5834 17.9167C25.7339 17.9167 26.6667 18.8494 26.6667 20Z"})});var clsNoWalletButton="wk_1qpai601",clsWallets$1="wk_1qpai600";function useClickWallet(){const o=useRouter(),{options:s,log:a,setSelectedConnector:rt}=useWalletKitContext(),{disconnect:ot}=useDisconnect(),{onOpenWcModal:tr}=useWalletConnectModal(),Ut=reactExports.useRef(),rr=isMobile();return reactExports.useCallback((ir,sr)=>{var lr;if(((lr=s.onClickWallet)==null?void 0:lr.call(s,ir,sr))===!1)return;a("[click wallet] connector",ir),a("[click wallet] ethereum",window.ethereum);const cr=()=>{rt(ir),o.push(routes.CONNECT_WITH_QRCODE)},ur=()=>{rt(ir),o.push(routes.CONNECTING)};ot(),clearTimeout(Ut.current),Ut.current=setTimeout(()=>{var dr,vr,mr;if(isWalletConnectConnector(ir))ir._wallet.showQRCode?cr():tr();else if(ir._wallet.installed)ur();else if(rr){const pr=(vr=(dr=ir._wallet).getDeepLink)==null?void 0:vr.call(dr);pr?window.open(pr,"_self","noopener noreferrer"):(mr=s.onError)==null||mr.call(s,new Error("Not supported wallet"),"Not supported wallet")}else ir._wallet.showQRCode?cr():ur()},300)},[ot,a,rr,tr,s,o,rt])}var clsWalletOption$1="wk_10b7b8k1",clsWalletOptionIcon$1="wk_10b7b8k3",clsWalletOptionName$1="wk_10b7b8k2",clsWalletOptionWrapper="wk_10b7b8k0";function WalletOption$1(o){const{connector:s}=o,a=useClickWallet(),rt=useWalletConfig(s),ot=useWalletLogos(rt.logos);return jsxRuntimeExports.jsx(Box,{className:cx("wk-wallet-option-wrapper",clsWalletOptionWrapper),onClick:tr=>a(s,tr),children:jsxRuntimeExports.jsxs(Button,{className:cx("wk-wallet-option",clsWalletOption$1),children:[jsxRuntimeExports.jsx(Box,{className:cx("wk-wallet-option-logo",clsWalletOptionIcon$1),children:ot.default}),jsxRuntimeExports.jsx(Text,{className:cx("wk-wallet-option-name",clsWalletOptionName$1),children:rt.name})]})})}function GridLayout(o){const{connectors:s}=o,{options:a}=useWalletKitContext();return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(ModalBody,{className:cx("wk-wallets",clsWallets$1),"data-layout":"grid",children:s==null?void 0:s.map(rt=>jsxRuntimeExports.jsx(WalletOption$1,{connector:rt},rt.id))}),!a.hideNoWalletCTA&&jsxRuntimeExports.jsx(ModalFooter,{children:jsxRuntimeExports.jsxs(Button,{as:"a",className:cx("wk-nowallet-button",clsNoWalletButton),href:a.walletDownloadUrl,target:"_blank",rel:"noopener",children:[jsxRuntimeExports.jsx(WalletIcon,{}),"I don’t have a wallet"]})})]})}var clsWalletOption="wk_2gppzy0",clsWalletOptionIcon="wk_2gppzy2",clsWalletOptionName="wk_2gppzy1";function WalletOption(o){const{connector:s}=o,a=useClickWallet(),rt=useWalletConfig(s),ot=useWalletLogos(rt.logos);return jsxRuntimeExports.jsxs(Button,{className:cx("wk-wallet-option",clsWalletOption),onClick:tr=>a(s,tr),children:[jsxRuntimeExports.jsx(Text,{className:cx("wk-wallet-option-name",clsWalletOptionName),children:rt.name}),jsxRuntimeExports.jsx(Box,{className:cx("wk-wallet-option-logo",clsWalletOptionIcon),children:ot.transparent})]})}var clsNoWalletLink="wk_ax6rva1",clsWallets="wk_ax6rva0";function ListLayout(o){const{connectors:s}=o,{options:a}=useWalletKitContext();return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(ModalBody,{className:cx("wk-wallets",clsWallets),"data-layout":"list",children:s==null?void 0:s.map(rt=>jsxRuntimeExports.jsx(WalletOption,{connector:rt},rt.id))}),!a.hideNoWalletCTA&&jsxRuntimeExports.jsx(ModalFooter,{children:jsxRuntimeExports.jsxs(Link,{className:cx("wk-nowallet-link",clsNoWalletLink),href:a.walletDownloadUrl,children:[jsxRuntimeExports.jsx(WalletIcon,{}),"I don’t have a wallet"]})})]})}var clsDisclaimer="wk_17l0qzv0";function ConnectorsPage(){const{connectors:o}=useConnect(),{options:s}=useWalletKitContext(),{isMobileLayout:a}=useResponsive(),rt=o.filter(tr=>!!tr._wallet),ot=rt.length>LIST_LAYOUT_THRESHOLD||a;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsx(ModalHeader,{children:"Connect Wallet"}),s.disclaimer&&jsxRuntimeExports.jsx(Box,{className:cx("wk-disclaimer",clsDisclaimer),children:s.disclaimer}),ot?jsxRuntimeExports.jsx(GridLayout,{connectors:rt}):jsxRuntimeExports.jsx(ListLayout,{connectors:rt})]})}function useWalletKitSwitchNetwork({...o}={}){const{log:s,options:a}=useWalletKitContext();return useSwitchNetwork({...o,onError(ot){var tr;commonErrorHandler({log:s,handler:a.onError,error:ot}),(tr=o==null?void 0:o.onError)==null||tr.call(o,ot)}})}const ChainSpinnerIcon=o=>{const s=cssVar("primaryActive");return jsxRuntimeExports.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M2 19C2 9.61116 9.61116 2 19 2",stroke:"url(#paint0_linear_5519_81784)",strokeWidth:"3",strokeLinecap:"round"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5519_81784",x1:"19",y1:"2",x2:"2",y2:"15.7619",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:s}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:s,stopOpacity:"0"})]})})]})};var clsContainer$2="wk_1aogl2d0",clsLoading="wk_1aogl2d2";function ChainSpinner(o){const{isLoading:s,className:a,children:rt,...ot}=o;return jsxRuntimeExports.jsxs(Box,{className:cx("wk-chain-spinner",clsContainer$2,a),...ot,children:[s&&jsxRuntimeExports.jsx(ChainSpinnerIcon,{className:clsLoading}),jsxRuntimeExports.jsx(Box,{children:rt})]})}var clsChainOptionLogo="wk_6cn3b81",clsChainOptionName="wk_6cn3b82",clsConnectedTag="wk_6cn3b83",clsContainer$1="wk_6cn3b80";function ChainOption(o){const{data:s,isLoading:a,isConnected:rt,...ot}=o;return jsxRuntimeExports.jsxs(Button,{className:cx("wk-chain-option",clsContainer$1),...ot,children:[jsxRuntimeExports.jsx(ChainSpinner,{isLoading:a,children:jsxRuntimeExports.jsx(Box,{className:cx("wk-chain-option-logo",clsChainOptionLogo),children:s.logo})}),jsxRuntimeExports.jsx(Box,{className:cx("wk-chain-option-name",clsChainOptionName),children:s.name}),rt&&jsxRuntimeExports.jsx(Box,{className:clsConnectedTag,children:"Connected"})]})}var clsBody="wk_1as187f1",clsChains="wk_1as187f4",clsDescription="wk_1as187f3",clsFooter="wk_1as187f2",clsNoNavHeader="wk_1as187f0",clsOrSeparator="wk_1as187f5";function SwitchNetworkPage(){const{supportedChains:o}=useWalletKitContext(),{isLoading:s,switchNetwork:a,pendingChainId:rt}=useWalletKitSwitchNetwork(),{chain:ot}=useNetwork(),{isClosable:tr}=useModal(),Ut=rr=>{a&&!s&&a(rr)};return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[tr&&jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsx(ModalHeader,{className:tr?void 0:clsNoNavHeader,children:"Switch Network"}),jsxRuntimeExports.jsxs(ModalBody,{className:clsBody,children:[(ot==null?void 0:ot.unsupported)&&jsxRuntimeExports.jsx(Box,{className:clsDescription,children:"This app does not support the current connected network. Switch or disconnect to continue."}),jsxRuntimeExports.jsx(Box,{className:cx("wk-chains",clsChains),children:o==null?void 0:o.map(rr=>jsxRuntimeExports.jsx(ChainOption,{data:rr,isLoading:s&&rt===rr.id,isConnected:rr.id===(ot==null?void 0:ot.id),onClick:()=>Ut(rr.id)},rr.id))}),jsxRuntimeExports.jsx(Box,{className:cx("wk-or-separator",clsOrSeparator),children:"or"})]}),jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter,children:jsxRuntimeExports.jsx(DisconnectButton,{})})]})}const routes={CONNECTING:"Connecting",CONNECTORS:"Connectors",CONNECT_WITH_QRCODE:"ConnectWithQRCode",CONNECTED:"Connected",SWITCH_NETWORK:"SwitchNetwork"};function RouteProvider(o){const{children:s}=o,[a,rt]=reactExports.useState(""),{current:ot}=reactExports.useRef([]),tr=reactExports.useMemo(()=>{switch(a){case routes.CONNECTING:return jsxRuntimeExports.jsx(ConnectingPage,{});case routes.CONNECTORS:return jsxRuntimeExports.jsx(ConnectorsPage,{});case routes.CONNECT_WITH_QRCODE:return jsxRuntimeExports.jsx(ConnectWithQRCodePage,{});case routes.CONNECTED:return jsxRuntimeExports.jsx(ConnectedPage,{});case routes.SWITCH_NETWORK:return jsxRuntimeExports.jsx(SwitchNetworkPage,{})}return null},[a]),Ut=reactExports.useCallback(()=>{ot.pop();const ar=ot[ot.length-1];ar&&rt(ar)},[ot]),rr=reactExports.useCallback(ar=>{ot[ot.length-1]!==ar&&(ot.push(ar),rt(ar))},[ot]),nr=reactExports.useCallback(ar=>{ot[ot.length-1]!==ar&&(ot[ot.length-1]=ar,rt(ar))},[ot]),ir=reactExports.useCallback(()=>{ot.length=0},[ot]),sr=reactExports.useMemo(()=>({route:a,page:tr,back:Ut,push:rr,replace:nr,reset:ir}),[Ut,tr,rr,nr,ir,a]);return jsxRuntimeExports.jsx(RouteContext.Provider,{value:sr,children:s})}function ConnectButtonRenderer(o){const{role:s="default",children:a}=o,{setConnectRole:rt}=useWalletKitContext(),{isOpen:ot,onOpen:tr,onClose:Ut,onOpenProfile:rr}=useModal(),nr=useRouter(),{chain:ir}=useNetwork(),{address:sr,isConnected:ar}=useAccount(),{data:cr}=useEnsName({chainId:1,address:sr}),ur=reactExports.useCallback(()=>{rt(s),tr()},[rt,s,tr]);if(!a)return null;const lr=[routes.CONNECTORS,routes.CONNECTING].includes(nr.route)&&ot;return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:a({show:ar?rr:ur,hide:Ut,chain:ir,unsupported:!!(ir!=null&&ir.unsupported),isConnected:!!sr,isConnecting:lr,address:sr,truncatedAddress:sr?truncateAddress(sr):void 0,ensName:cr==null?void 0:cr.toString()})})}ConnectButton.Custom=ConnectButtonRenderer;const WalletKitButton=ConnectButton,Portal=o=>{const{children:s}=o,a=reactExports.useRef(),[,rt]=reactExports.useState({});return reactExports.useEffect(()=>{const ot=document.body;a.current=document.createElement("div"),a.current.setAttribute("class","wk-portal"),ot.appendChild(a.current),rt({});const tr=a.current;return()=>{ot.contains(tr)&&ot.removeChild(tr)}},[]),a.current?reactDomExports.createPortal(s,a.current):null};Portal.displayName="Portal";const ToastManager={listeners:[],toastList:[],autoIncreaseId:0,add(o){const s=this.autoIncreaseId++;return this.toastList.unshift({toastId:s,...o}),this.notify(),s},remove(o){const s=this.toastList.findIndex(a=>a.toastId===o);s>-1&&(this.toastList.splice(s,1),this.notify())},notify(){this.listeners.forEach(o=>{o([...this.toastList])})},subscribe(o){this.listeners.push(o)},unsubscribe(o){const s=this.listeners.findIndex(a=>a===o);s>-1&&this.listeners.splice(s,1)}};var clsContainer="wk_1tkyduj1",clsDescWrapper="wk_1tkyduj3",clsIconWrapper="wk_1tkyduj2",clsToastRoot="wk_1tkyduj0";const ErrorIcon=o=>{const s=cssVar("error");return jsxRuntimeExports.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M18.3333 10.0001C18.3333 14.6025 14.6024 18.3334 9.99999 18.3334C5.39762 18.3334 1.66666 14.6025 1.66666 10.0001C1.66666 5.39771 5.39762 1.66675 9.99999 1.66675C14.6024 1.66675 18.3333 5.39771 18.3333 10.0001Z",fill:s}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5503 7.41394C13.8166 7.14767 13.8166 6.71597 13.5503 6.4497C13.284 6.18343 12.8523 6.18343 12.5861 6.4497L10 8.90372L7.41394 6.4497C7.14767 6.18343 6.71597 6.18343 6.4497 6.4497C6.18343 6.71597 6.18343 7.14767 6.4497 7.41394L8.90372 10L6.4497 12.5861C6.18343 12.8523 6.18343 13.284 6.4497 13.5503C6.71597 13.8166 7.14767 13.8166 7.41394 13.5503L10 11.0963L12.5861 13.5503C12.8523 13.8166 13.284 13.8166 13.5503 13.5503C13.8166 13.284 13.8166 12.8523 13.5503 12.5861L11.0963 10L13.5503 7.41394Z",fill:"white"})]})},InfoIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M18.3333 10.0001C18.3333 14.6025 14.6024 18.3334 9.99999 18.3334C5.39762 18.3334 1.66666 14.6025 1.66666 10.0001C1.66666 5.39771 5.39762 1.66675 9.99999 1.66675C14.6024 1.66675 18.3333 5.39771 18.3333 10.0001Z",fill:"#5F8BFF"}),jsxRuntimeExports.jsx("circle",{cx:"10",cy:"5.41675",r:"1.25",fill:"white"}),jsxRuntimeExports.jsx("path",{d:"M10.579 7.55143L7.87065 7.8755C7.65964 7.89895 7.5 8.07731 7.5 8.28962V8.75002C7.5 8.98014 7.68931 9.15814 7.91392 9.20817C8.47131 9.33231 8.95833 9.73515 8.95833 10.4167V12.9167C8.95833 13.5982 8.47131 14.0011 7.91392 14.1252C7.68931 14.1752 7.5 14.3532 7.5 14.5834V15C7.5 15.2301 7.68655 15.4167 7.91667 15.4167H12.0833C12.3135 15.4167 12.5 15.2301 12.5 15V14.5834C12.5 14.3532 12.3107 14.1752 12.0861 14.1252C11.5287 14.0011 11.0417 13.5982 11.0417 12.9167V7.96525C11.0417 7.71691 10.8258 7.52401 10.579 7.55143Z",fill:"white"})]}),iconMap={info:jsxRuntimeExports.jsx(InfoIcon,{}),error:jsxRuntimeExports.jsx(ErrorIcon,{})};function ToastComponent(o){const{variant:s="info",description:a,duration:rt,toastId:ot}=o,[tr,Ut]=reactExports.useState(!0),[rr,nr]=reactExports.useState(rt);reactExports.useEffect(()=>{if(rr){const cr=setTimeout(()=>{Ut(!1)},rr);return()=>{clearTimeout(cr)}}},[rr]);const ir=()=>{ToastManager.remove(ot)},sr=()=>{nr(void 0)},ar=()=>{nr(rt)};return jsxRuntimeExports.jsx(Transition,{in:tr,variant:"toast-slide",onExit:ir,children:jsxRuntimeExports.jsx(Box,{className:"wk-toast",children:jsxRuntimeExports.jsxs(Box,{className:clsContainer,onMouseEnter:sr,onMouseLeave:ar,children:[jsxRuntimeExports.jsx(Box,{className:clsIconWrapper,children:iconMap[s]}),jsxRuntimeExports.jsx(Box,{className:clsDescWrapper,children:a})]})})})}const ToastProvider=()=>{const[o,s]=reactExports.useState([]);return reactExports.useEffect(()=>{const a=rt=>{s(rt)};return ToastManager.subscribe(a),()=>{ToastManager.unsubscribe(a)}},[]),jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:o.length>0&&jsxRuntimeExports.jsx(Portal,{children:jsxRuntimeExports.jsx(Box,{className:cx("wk-toast-container",clsToastRoot),children:o.map(a=>jsxRuntimeExports.jsx(ToastComponent,{...a},a.toastId))})})})};ToastProvider.displayName="ToastProvider";const toast=o=>{const{variant:s="info",duration:a=3e3,...rt}=o;return ToastManager.add({variant:s,duration:a,...rt})};toast.info=o=>toast({variant:"info",...o});toast.error=o=>toast({variant:"error",...o});function getDefaultProviderOptions(o){const{...s}=o;return{disclaimer:void 0,chainsConfig:void 0,hideNoWalletCTA:!1,hideOfficialWalletConnectCTA:!1,closeModalAfterConnected:!0,closeModalOnEsc:!0,closeModalOnOverlayClick:!0,walletDownloadUrl:"https://trustwallet.com/",onError,...s}}function onError(o,s){s&&toast.error({description:s})}function BscIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{x:"0.5",y:"0.5",width:"27",height:"27",fill:"url(#BscIconPattern0)"}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsx("pattern",{id:"BscIconPattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:jsxRuntimeExports.jsx("use",{xlinkHref:"#image0_2258_278",transform:"translate(0.0514019) scale(0.00934579)"})}),jsxRuntimeExports.jsx("image",{id:"image0_2258_278",width:"96",height:"107",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABrCAYAAACIX4f7AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAk7SURBVHgB7Z1RWhpJEMerB/RzIfsFboAn2HgDfUjU7MPqCaInEE8gniB4gpgTJPuwMZoH3RPoniDcAPxWEjY49HY1DAIKTHdVz/Tk4/eUzyj2dLVdXf+qrgHIKLcXvxy0zotfb78UjiDDCMgYzS/P1iGUdSHgt5EvN6SA4/Kr9ilkjMwYoHlRfKEG+xYkrM/4toYMxH755d0VZATvDdD8UCoFhe6RBKjG/Rn113HaC8Pj8nanAZ7jrQH0xD/7cSClqKpVXwILsmAILw2gtpu9wXZjNfETNEQgT5+//HYMHuKVAdDBCimP5uzztnjpqL0wQPNspSJyuXeOJn4Srxx1qgawcbBc+OIfUjEAh4PlIm1DJG4A7WAlYPRaAX9oSNk7KW99r0PCJGYAxw6Wi8QdtXMDuHKw/a1DvFdPsCOEPABeGrIXbiSxLTkzgDMHK+BKhkLt2Q+nGDQyBLmaepg3wEgS/oHdAA4drFqV6vi4Pf34qP/agvwHAPkCGBEB1Hv34YkLQ7AaoHn+646A3lvgdLACWrKn9uWtdmwH2TxTjj5gd/RO/AObAbRaKUGtPqaHxokPxQl08vXybqsFF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zkC8wXlVUkjIZwJTNjE1TuQE5fEcWmsZxE+QI1D5QtkCRFDPX+EA6ByxCdTmlQ2HtN1ZfGAylZAQ6o+YIJWLQgnQ/GiJozH6zyD7ZC32iBLWs8gx2vLPMFUz8SmHDVccu0l6iTAtsZHa+osOeEXXXcmtdLlLFH6CgkBxsHZ4VZjjpuPbqB4+QGy2jHK8fvIbDNiMVm2HELX/IZSIwfKkAnuoHzxjYVOA2tDBPe4GqKcwNEoOPS+WAVyAEX3O+/SaiD+yiJGQAZPNweeIhpa34uFsW5KbMwQMosDJAy/hlgZaXFXmGtHCyE4RV4iJEcnSQc7+mChN5zRsFbA0RYZeSI6ckk8d4AiMl7uijvOUuDTBggYmZGjtDZME0yZYCI0dIZSv3PAiLYJAoyzv89tWhmDg3RawAAAABJRU5ErkJggg=="})]})]})}function ComboIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"26",height:"26",fill:"url(#ComboIconPattern0)"}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsx("pattern",{id:"ComboIconPattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:jsxRuntimeExports.jsx("use",{xlinkHref:"#image0_1252_60936",transform:"translate(0 0.066875) scale(0.00125)"})}),jsxRuntimeExports.jsx("image",{id:"image0_1252_60936",width:"800",height:"693",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAK1CAYAAAAwrIosAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGuXSURBVHgB7d3Jc1zXle/7dTIBEGBnybd8x766I0VREZLvP0BZUk1EqEzfkUKlsKg/4KkZlCQPrij/ASW6pi/iSfYzx9IzbauiHFFkDe7I8UzqhchQj5RFCQRBgGgTTZ48+511EgmCIJpsTrOb7yeKBTWkbFPIzL3OWuu3IwGwrz/+LX5J2vJe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d18688aTvxXAc3RAEKQoab988E+w7KURxyLzd+l4AEDVihvFalB8IBQUIAhStpAucnnfnzBiyUujW3hM3xZZrfRCLACAKmYUS3c/XhYgEBQgCFZci15OP0gW9vybVe+BUHgAgL1yTsXS2N3Jt565IkAgKEAQrLPPP9pIjOy97FfVCJa29ReXRWZmKTwAwGb5jWIRu4vgUIAgaEm8eSFtpk898DfKvgukW3hMz3SWzNPKCABgMR3FajZlSCZ9v/81sbsIDQUIgqaxvNKOX3/gb9RKCoij8AAAd+l7uHZCBteIozqxuwgOMbxA6tLFG/+Rfnnyvr+4vJo+myro0in90NJ//soKRQcAuO7YsUE658TuIlh0QADRF0LyYBekXsDLg44HAPhnsFQsYncRLAoQIPXsC6eupcXBhfv+Yp5jWBQeAOCv/kextPtxXoBAUYAAW+K49Y4Yc3f7L9RyWESn8ACAMGgBovG8PdDYXbofCBkFCLBFF9IjMfeiEIdJwqLwAIDw6CiWOfT9nthdBI8ldGCXSxev/zV9aTyRfYgsr0jf9NdQdABAmMbGRMbH9/u7Jut+vPkUt54jaHRAgN2SrYX0KOr86NVqs9PxWFii+ACAUOkN6XG8399t0P0AKECAB0y++NiV9MsH2Z/UeniJdAuP+YX0Q6e3+V8AgMfW1/caxTJikt9w6SBAAQLsKa5Fr6cfHgsHRvGub1B4AAAetHcqVmPyrWfeEQAUIMBezj7/aCMx8us9OyBaeNy+IzI7R+EBANjb/aNYxO4CO1CAAPtI4s0L6SfG1PZf2Fl4bGwKAAAH2h7FMleI3QXuIQULOMCl//Mvp2Vl7T+yVCuKDgBAv8bGTHzk6H9n9wO45/8Hi/dXXGlvAp0AAAAASUVORK5CYII="})]})]})}function EthereumIcon(o){return jsxRuntimeExports.jsxs("svg",{width:24,height:24,viewBox:"0 0 512 512",...o,children:[jsxRuntimeExports.jsx("rect",{width:"512",height:"512",rx:"15%",fill:"#ffffff"}),jsxRuntimeExports.jsx("path",{fill:"#3C3C3B",d:"m256 362v107l131-185z"}),jsxRuntimeExports.jsx("path",{fill:"#343434",d:"m256 41l131 218-131 78-132-78"}),jsxRuntimeExports.jsx("path",{fill:"#8C8C8C",d:"m256 41v158l-132 60m0 25l132 78v107"}),jsxRuntimeExports.jsx("path",{fill:"#141414",d:"m256 199v138l131-78"}),jsxRuntimeExports.jsx("path",{fill:"#393939",d:"m124 259l132-60v138"})]})}const chainsConfig=[{id:1,name:"Ethereum",logo:jsxRuntimeExports.jsx(EthereumIcon,{width:24,height:24})},{id:56,name:"BSC",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:97,name:"BSC Testnet",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:91715,name:"Combo Testnet",logo:jsxRuntimeExports.jsx(ComboIcon,{width:24,height:24})},{id:204,name:"opBNB",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:1017,name:"BNB Greenfield",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:5600,name:"BNB Greenfield Testnet",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:9e3,name:"BNB Greenfield Devnet",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})}];function getSupportedChains(){return chainsConfig}const UnknownChainIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5611 8.12948C21.0082 7.90729 21.5007 7.79167 22 7.79167C22.4993 7.79167 22.9919 7.90729 23.439 8.12948L23.4408 8.1304L33.0387 12.9293C33.577 13.197 34.031 13.61 34.3478 14.121C34.6649 14.6323 34.833 15.2218 34.8333 15.8234V27.2595C34.833 27.8611 34.6649 28.4511 34.3478 28.9624C34.031 29.4733 33.578 29.8858 33.0398 30.1535L23.4411 34.9528C22.9919 35.1775 22.4963 35.2947 21.994 35.2947C21.4918 35.2947 20.9964 35.1777 20.5472 34.9529L10.9475 30.1531L10.9452 30.1519C10.4071 29.8808 9.95535 29.4646 9.6411 28.9504C9.32739 28.437 9.16312 27.8464 9.16673 27.2448L9.16675 27.2417L10.0004 27.2475H9.16673V27.2448V15.8239C9.16705 15.2223 9.33518 14.6322 9.65222 14.121C9.96906 13.61 10.4221 13.1976 10.9604 12.9298L20.5592 8.1304L20.5611 8.12948ZM21.3031 9.62267L11.8706 14.3389L22 19.4036L32.1294 14.3389L22.697 9.62267C22.4806 9.51531 22.2416 9.45905 22 9.45905C21.7585 9.45905 21.5194 9.51534 21.3031 9.62267ZM10.8341 15.8241C10.8341 15.7785 10.8362 15.733 10.8401 15.6878L21.1663 20.8509V33.3983L11.6955 28.6629C11.4352 28.5315 11.2159 28.3297 11.0638 28.0809C10.9116 27.8318 10.8321 27.5452 10.8341 27.2533L10.8341 27.2475V15.8241ZM22.8337 33.3923L32.2967 28.6608C32.5576 28.5312 32.7772 28.3313 32.9308 28.0836C33.0844 27.836 33.1658 27.5504 33.166 27.259V15.8243C33.1659 15.7786 33.1639 15.7331 33.1599 15.6878L22.8337 20.8509V33.3923Z",fill:"url(#paint0_linear_3546_7073)"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8341 15.8241C10.8341 15.7785 10.8362 15.733 10.8401 15.6878L21.1663 20.8509V33.3983L11.6955 28.6629C11.4352 28.5315 11.2159 28.3297 11.0638 28.0809C10.9116 27.8318 10.8321 27.5452 10.8341 27.2533L10.8341 27.2475V15.8241Z",fill:"url(#paint1_linear_3546_7073)",fillOpacity:"0.3"}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_3546_7073",x1:"22",y1:"7.79167",x2:"22",y2:"35.2947",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:"black"}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:"black",stopOpacity:"0.7"})]}),jsxRuntimeExports.jsxs("linearGradient",{id:"paint1_linear_3546_7073",x1:"22",y1:"7.79167",x2:"22",y2:"35.2947",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:"black"}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:"black",stopOpacity:"0.7"})]})]})]});function getDefaultSupportedChains(o,s){const a=mergeList(getSupportedChains(),o.chainsConfig);return s.map(ot=>{const tr=a.find(Ut=>Ut.id===ot.id);return{id:ot.id,name:ot.name??(tr==null?void 0:tr.name),logo:(tr==null?void 0:tr.logo)??jsxRuntimeExports.jsx(UnknownChainIcon,{})}})}function useChains(){var s;const{connectors:o}=useConnect();return(s=o==null?void 0:o[0])==null?void 0:s.chains}function useDisclosure(){const[o,s]=reactExports.useState(!1),a=reactExports.useCallback(()=>{s(!0)},[]),rt=reactExports.useCallback(()=>{s(!1)},[]);return{isOpen:o,onOpen:a,onClose:rt}}function ModalProvider(o){const{children:s}=o,[a,rt]=reactExports.useState(!0),{isOpen:ot,onClose:tr,onOpen:Ut}=useDisclosure(),{isConnected:rr}=useAccount(),{chain:nr}=useNetwork(),ir=useRouter(),{options:sr}=useWalletKitContext(),{closeModalAfterConnected:ar,closeModalOnEsc:cr,closeModalOnOverlayClick:ur}=sr;reactExports.useEffect(()=>{ir.route===routes.SWITCH_NETWORK&&rr&&!(nr!=null&&nr.unsupported)&&rt(!0)},[nr==null?void 0:nr.unsupported,rr,ir.route]);const lr=reactExports.useMemo(()=>({isClosable:a,closeOnEsc:cr,closeOnOverlayClick:ur,isOpen:ot,onClose(){tr(),setTimeout(()=>{rt(!0),ir.reset()},300)},onOpen(){ir.push(routes.CONNECTORS),Ut()},onOpenProfile(){rr?(ir.push(routes.CONNECTED),Ut()):toast.info({description:"Please connect a wallet first."})},onOpenSwitchNetwork(dr){const{isClosable:vr=!0}=dr??{};rr?(ir.push(routes.SWITCH_NETWORK),rt(vr),Ut()):toast.info({description:"Please connect a wallet first."})}}),[cr,ur,a,rr,ot,tr,Ut,ir]);return reactExports.useEffect(()=>{[routes.CONNECTING,routes.CONNECT_WITH_QRCODE].includes(ir.route)&&rr&&ar&&tr()},[rr,tr,ar,ir.route]),jsxRuntimeExports.jsx(ModalContext.Provider,{value:lr,children:s})}function isObject(o){return o&&typeof o=="object"&&!Array.isArray(o)&&o!==null}function deepMerge(o,s){if(isObject(o)&&isObject(s))for(const a in s)isObject(s[a])?(o[a]||Object.assign(o,{[a]:{}}),deepMerge(o[a],s[a])):Object.assign(o,{[a]:s[a]});return o}const radii={common:"8px",modal:"12px",navButton:"4px",button:"var(--wk-radii-common)",connectButton:"var(--wk-radii-common)",disconnectButton:"var(--wk-radii-common)",noWalletButton:"var(--wk-radii-common)",walletOption:"var(--wk-radii-common)",walletOptionIcon:"var(--wk-radii-common)",chainOption:"var(--wk-radii-common)",toast:"var(--wk-radii-common)",qrCode:"var(--wk-radii-common)"},zIndices={modal:1300,toast:1500},base={light:{colors:{text:"#1E2026",textSecondary:"#76808F",primary:"#CC9D09",primaryActive:"#F0B90B",error:"#D9304E",errorActive:"#B82942",border:"#E6E8EA",disabled:"#AEB4BC",modalBackground:"#FFFFFF",modalOverlay:"rgba(0, 0, 0, 0.5)",buttonText:"var(--wk-colors-text)",buttonTextHover:"var(--wk-colors-text)",buttonBackground:"#f5f5f5",buttonBackgroundHover:rgba("#F0B90B",.1),connectButtonText:"var(--wk-colors-text)",connectButtonTextHover:"var(--wk-colors-text)",connectButtonBackground:"#f5f5f5",connectButtonBackgroundHover:"#e6e8ea",navButtonText:"var(--wk-colors-textSecondary)",navButtonBackgroundHover:"var(--wk-colors-border)",optionText:"var(--wk-colors-text)",optionTextHover:"var(--wk-colors-text)",optionBackground:"#f5f5f5",optionBackgroundHover:rgba("#F0B90B",.1),walletOptionText:"var(--wk-colors-optionText)",walletOptionTextHover:"var(--wk-colors-optionTextHover)",walletOptionBackground:"var(--wk-colors-optionBackground)",walletOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",chainOptionText:"var(--wk-colors-optionText)",chainOptionTextHover:"var(--wk-colors-optionTextHover)",chainOptionBackground:"var(--wk-colors-optionBackground)",chainOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",toastBackground:"var(--wk-colors-modalBackground)",qrCodeDot:"var(--wk-colors-text)",qrCodeBorder:"var(--wk-colors-border)",noWalletButtonBackgroundText:"var(--wk-colors-text)",noWalletButtonBackgroundTextHover:"var(--wk-colors-text)",noWalletButtonBackground:"transparent",noWalletButtonBackgroundHover:"var(--wk-colors-border)",noWalletButtonBorder:"var(--wk-colors-border)",noWalletButtonBorderHover:"var(--wk-colors-border)",disconnectButtonBackgroundText:"var(--wk-colors-text)",disconnectButtonBackgroundTextHover:"var(--wk-colors-text)",disconnectButtonBackground:"transparent",disconnectButtonBackgroundHover:"var(--wk-colors-border)",disconnectButtonBorder:"var(--wk-colors-border)",disconnectButtonBorderHover:"var(--wk-colors-border)"},shadows:{toast:"0px 4px 24px rgba(0, 0, 0, 0.08)"},radii,zIndices},dark:{colors:{text:"#FFF",textSecondary:"#76808F",primary:"#CC9D09",primaryActive:"#F0B90B",error:"#D9304E",errorActive:"#B82942",border:"#2e323a",disabled:"#5E6673",modalBackground:"#1E2026",modalOverlay:rgba("#000",.5),buttonText:"var(--wk-colors-text)",buttonTextHover:"var(--wk-colors-text)",buttonBackground:"#14151a",buttonBackgroundHover:rgba("#F0B90B",.1),connectButtonText:"var(--wk-colors-text)",connectButtonTextHover:"var(--wk-colors-text)",connectButtonBackground:"#2b2f36",connectButtonBackgroundHover:"#2e323a",navButtonText:"var(--wk-colors-textSecondary)",navButtonBackgroundHover:"var(--wk-colors-border)",optionText:"var(--wk-colors-text)",optionTextHover:"var(--wk-colors-text)",optionBackground:"#14151a",optionBackgroundHover:rgba("#F0B90B",.1),walletOptionText:"var(--wk-colors-optionText)",walletOptionTextHover:"var(--wk-colors-optionTextHover)",walletOptionBackground:"var(--wk-colors-optionBackground)",walletOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",chainOptionText:"var(--wk-colors-optionText)",chainOptionTextHover:"var(--wk-colors-optionTextHover)",chainOptionBackground:"var(--wk-colors-optionBackground)",chainOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",toastBackground:"var(--wk-colors-modalBackground)",qrCodeDot:"var(--wk-colors-text)",qrCodeBorder:"var(--wk-colors-border)",noWalletButtonBackgroundText:"var(--wk-colors-text)",noWalletButtonBackgroundTextHover:"var(--wk-colors-text)",noWalletButtonBackground:"transparent",noWalletButtonBackgroundHover:"var(--wk-colors-border)",noWalletButtonBorder:"var(--wk-colors-border)",noWalletButtonBorderHover:"var(--wk-colors-border)",disconnectButtonBackgroundText:"var(--wk-colors-text)",disconnectButtonBackgroundTextHover:"var(--wk-colors-text)",disconnectButtonBackground:"transparent",disconnectButtonBackgroundHover:"var(--wk-colors-border)",disconnectButtonBorder:"var(--wk-colors-border)",disconnectButtonBorderHover:"var(--wk-colors-border)"},shadows:{toast:"0px 4px 24px rgba(0, 0, 0, 0.08)"},radii,zIndices}},themeMap={base};function ThemeProvider(o){const{variant:s,mode:a,customTheme:rt,children:ot}=o,tr=reactExports.useMemo(()=>{const ir=themeMap[s],sr=deepMerge(ir.light??ir,(rt==null?void 0:rt.light)??rt),ar=deepMerge(ir.dark??ir,(rt==null?void 0:rt.dark)??rt),cr=createCssVars(sr,"--wk-light"),ur=createCssVars(ar,"--wk-dark"),lr=createPointer(cr),dr=createPointer(ur),vr=createStyleContent(cr),mr=createStyleContent(ur),pr=createStyleContent(lr),br=createStyleContent(dr);return a==="light"?`body { +`;return typeof rt=="function"&&rt(null,cr),cr};const canPromise=canPromise$1,QRCode$1=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(o,s,a,rt,ot){const tr=[].slice.call(arguments,1),Ut=tr.length,rr=typeof tr[Ut-1]=="function";if(!rr&&!canPromise())throw new Error("Callback required as last argument");if(rr){if(Ut<2)throw new Error("Too few arguments provided");Ut===2?(ot=a,a=s,s=rt=void 0):Ut===3&&(s.getContext&&typeof ot>"u"?(ot=rt,rt=void 0):(ot=rt,rt=a,a=s,s=void 0))}else{if(Ut<1)throw new Error("Too few arguments provided");return Ut===1?(a=s,s=rt=void 0):Ut===2&&!s.getContext&&(rt=a,a=s,s=void 0),new Promise(function(nr,ir){try{const sr=QRCode$1.create(a,rt);nr(o(sr,s,rt))}catch(sr){ir(sr)}})}try{const nr=QRCode$1.create(a,rt);ot(null,o(nr,s,rt))}catch(nr){ot(nr)}}browser.create=QRCode$1.create;browser.toCanvas=renderCanvas.bind(null,CanvasRenderer.render);browser.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL);browser.toString=renderCanvas.bind(null,function(o,s,a){return SvgRenderer.render(o,a)});const WALLET_CONNECT_PROJECT_ID="e68a1816d39726c2afabf05661a32767",MODAL_AUTO_CLOSE_DELAY=800,LIST_LAYOUT_THRESHOLD=5,getDefaultWallets=()=>{const o=!(typeof window>"u")&&(window==null?void 0:window.parent)!==window;let s=[];return o&&(s=[...s,safe()]),s=[...s,trustWallet(),metaMask(),walletConnect()],s},defaultChains=[mainnet],getDefaultConfig=o=>{const{appName:s="WalletKit",appIcon:a,appDescription:rt,appUrl:ot,walletConnectProjectId:tr=WALLET_CONNECT_PROJECT_ID,alchemyId:Ut,infuraId:rr,chains:nr=defaultChains,connectors:ir,autoConnect:sr=!0,publicClient:ar,webSocketPublicClient:cr,enableWebSocketPublicClient:ur,stallTimeout:lr}=o;setGlobalData({appName:s,walletConnectProjectId:tr,appIcon:a,appDescription:rt,appUrl:ot});const dr=[];Ut&&dr.push(alchemyProvider({apiKey:Ut})),rr&&dr.push(infuraProvider({apiKey:rr})),dr.push(jsonRpcProvider({rpc:wr=>({http:wr.rpcUrls.default.http[0]})})),dr.push(publicProvider());const{publicClient:vr,chains:mr,webSocketPublicClient:pr}=configureChains(nr,dr,{stallTimeout:lr}),br=ir??getDefaultWallets(),_r=createConnectors(br,mr);return createGlobalWalletConnect(_r,mr),{autoConnect:sr,connectors:_r,publicClient:ar??vr,webSocketPublicClient:ur?cr??pr:void 0}};function createConnectors(o,s){return o.map(rt=>{const ot=rt.createConnector(s);return ot._wallet=rt,ot})}function createGlobalWalletConnect(o,s){let a=o.find(rt=>isWalletConnectConnector(rt));a||(a=walletConnect().createConnector(s),o.push(a)),setGlobalData({walletConnectConnector:a})}var clsButton$1="wk_1o8eyuy0",clsBox="wk_1xkzqd80";function cx(...o){if(o.length)return o.filter(Boolean).join(" ")}function cssVar(o,s="colors"){return`var(--wk-${s}-${o.replace(/\./g,"-")})`}function rgba(o,s,a,rt=1){var ot;if(typeof o=="string"&&o.startsWith("#")){const tr=o.slice(1),rr=(ot=(tr.length===3?tr.replace(/[A-F\d]/gi,"$&$&"):tr).match(/.{2}/g))==null?void 0:ot.map(nr=>parseInt(nr,16));if((rr==null?void 0:rr.length)===3)return rgba(rr[0],rr[1],rr[2],s)}return`rgba(${o}, ${s}, ${a}, ${rt})`}const Box=React$1.forwardRef((o,s)=>{const{as:a="div",className:rt,...ot}=o;return React$1.createElement(a,{ref:s,className:cx(clsBox,rt),...ot})});Box.displayName="Box";const Button=React$1.forwardRef((o,s)=>{const{className:a,...rt}=o;return jsxRuntimeExports.jsx(Box,{ref:s,as:"button",className:cx("wk-button",clsButton$1,a),...rt})});Button.displayName="Button";function useIsMounted(){const[o,s]=reactExports.useState(!1);return reactExports.useEffect(()=>{s(!0)},[]),o}const Text=o=>{const{...s}=o;return jsxRuntimeExports.jsx(Box,{as:"p",...s})};Text.displayName="Text";const DownArrowIcon=o=>jsxRuntimeExports.jsx("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3215 15.4882C11.9723 14.8373 13.0276 14.8373 13.6785 15.4882L20 21.8096L26.3215 15.4882C26.9723 14.8373 28.0276 14.8373 28.6785 15.4882C29.3294 16.139 29.3294 17.1943 28.6785 17.8452L21.1785 25.3452C20.5276 25.9961 19.4723 25.9961 18.8215 25.3452L11.3215 17.8452C10.6706 17.1943 10.6706 16.139 11.3215 15.4882Z"})});var clsAvatar$1="wk_17hpei30",clsAvatarDefault="wk_17hpei32",clsAvatarImg="wk_17hpei31";function Avatar(o){const{className:s,address:a,name:rt,...ot}=o,{data:tr}=useEnsAddress({chainId:1,name:rt}),{data:Ut}=useEnsName({chainId:1,address:a??tr??void 0}),{data:rr}=useEnsAvatar({chainId:1,name:Ut}),nr={address:tr??a,name:Ut??rt,avatar:rr??void 0};return jsxRuntimeExports.jsx(Box,{className:cx("wk-avatar",clsAvatar$1,s),...ot,children:nr.avatar?jsxRuntimeExports.jsx(Box,{className:clsAvatarImg,as:"img",src:nr.avatar,alt:nr.name}):jsxRuntimeExports.jsx(Box,{className:clsAvatarDefault})})}function useChainConfig(o){const{supportedChains:s}=useWalletKitContext();return reactExports.useMemo(()=>s.find(ot=>ot.id===(o==null?void 0:o.id))??{},[o==null?void 0:o.id,s])}const truncateRegex=/^(0x[a-zA-Z0-9]{4})[a-zA-Z0-9]+([a-zA-Z0-9]{4})$/;function truncateAddress(o,s="..."){if(!o)return"";const a=o.match(truncateRegex);return a?`${a[1]}${s}${a[2]}`:o}function truncateENSName(o="",s=20){return o.length>s?o.replace(".eth","").slice(0,s)+"...":o}function toPrecision(o,s=1){return o.toString().replace(new RegExp(`(.+\\.\\d{${s}})\\d+`),"$1").replace(/(\.[1-9]*)0+$/,"$1").replace(/\.$/,"")}function formatBalance(o){let s=parseFloat(o.formatted),a=String(s);if(s<1)a=toPrecision(s,4);else if(s<10**2)a=toPrecision(s,4);else if(s<10**4)a=new Intl.NumberFormat().format(parseFloat(toPrecision(s,4)));else{const ot=["k","m","b","t"];for(let tr=ot.length-1;tr>=0;tr--){const Ut=10**((tr+1)*3);if(Ut<=s){s=s*10/Ut/10,a=toPrecision(s,4)+ot[tr];break}}}return`${a} ${o.symbol}`}var clsWalletkitButton="wk_1ahflwr0",clsAccountButton="wk_ka1gs14",clsAddress="wk_ka1gs17",clsBalance$1="wk_ka1gs15",clsChainButton="wk_ka1gs12",clsChainLogo="wk_ka1gs13",clsInfo$1="wk_ka1gs10",clsSeparator="wk_ka1gs16",clsWrongButton="wk_ka1gs11";function ConnectedInfo(){const{address:o}=useAccount(),{onOpenProfile:s,onOpenSwitchNetwork:a}=useModal(),{data:rt}=useEnsName({chainId:1,address:o}),{data:ot}=useBalance({address:o}),{chain:tr}=useNetwork(),Ut=useChainConfig(tr);return jsxRuntimeExports.jsx(Box,{className:cx("wk-connected-button-group",clsInfo$1),children:tr!=null&&tr.unsupported?jsxRuntimeExports.jsxs(Button,{className:cx("wk-wrong-network-button",clsWalletkitButton,clsWrongButton),onClick:()=>a(),children:["Wrong network",jsxRuntimeExports.jsx(DownArrowIcon,{})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Button,{className:cx("wk-chain-button",clsWalletkitButton,clsChainButton),onClick:()=>a(),children:[jsxRuntimeExports.jsx(Box,{className:clsChainLogo,children:Ut==null?void 0:Ut.logo}),jsxRuntimeExports.jsx(Box,{title:Ut.name,children:truncateENSName(Ut.name)}),jsxRuntimeExports.jsx(DownArrowIcon,{})]}),jsxRuntimeExports.jsxs(Button,{className:cx("wk-account-button",clsWalletkitButton,clsAccountButton),onClick:s,children:[ot&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{className:cx("wk-account-balance",clsBalance$1),children:formatBalance(ot)}),jsxRuntimeExports.jsx(Box,{className:clsSeparator})]}),jsxRuntimeExports.jsxs(Box,{className:cx("wk-account-address",clsAddress),children:[jsxRuntimeExports.jsx(Avatar,{address:o}),jsxRuntimeExports.jsx(Text,{as:"span",children:rt?truncateENSName(rt):truncateAddress(o)}),jsxRuntimeExports.jsx(DownArrowIcon,{})]})]})]})})}const ConnectButton=React$1.forwardRef((o,s)=>{const{className:a,role:rt="default",onClick:ot,...tr}=o,{setConnectRole:Ut}=useWalletKitContext(),{onOpen:rr}=useModal(),{isConnected:nr}=useAccount(),ir=useIsMounted(),sr=reactExports.useCallback(ar=>{Ut(rt),rr(),ot==null||ot(ar)},[rt,ot,rr,Ut]);return ir?nr?jsxRuntimeExports.jsx(ConnectedInfo,{}):jsxRuntimeExports.jsx(Button,{ref:s,className:cx("wk-connect-button",clsWalletkitButton,a),onClick:sr,...tr,children:"Connect Wallet"}):null});var clsLink="wk_ra1rc00";const Link=o=>{const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{as:"a",className:cx("wk-link",clsLink,s),target:"_blank",rel:"noopener",...a})};Link.displayName="Link";var clsModalBody="wk_qegkzv0";function ModalBody(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-modal-body",clsModalBody,s),...a})}var clsModalFooter="wk_16i14mx0";function ModalFooter(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-modal-footer",clsModalFooter,s),...a})}var clsModalHeader="wk_uilsxz0";function ModalHeader(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-modal-header",clsModalHeader,s),...a})}const ForwardIcon=o=>jsxRuntimeExports.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.49408 3.57709C9.81951 3.25165 10.3472 3.25165 10.6726 3.57709L16.5059 9.41042C16.8314 9.73586 16.8314 10.2635 16.5059 10.5889L10.6726 16.4223C10.3472 16.7477 9.81951 16.7477 9.49408 16.4223C9.16864 16.0968 9.16864 15.5692 9.49408 15.2438L13.9048 10.833H5.08333C4.6231 10.833 4.25 10.4599 4.25 9.99967C4.25 9.53944 4.6231 9.16634 5.08333 9.16634H13.9048L9.49408 4.7556C9.16864 4.43016 9.16864 3.90252 9.49408 3.57709Z"})});function generateMatrix(o,s){const a=Array.prototype.slice.call(browser.create(o,{errorCorrectionLevel:s}).modules.data,0),rt=Math.sqrt(a.length);return a.reduce((ot,tr,Ut)=>(Ut%rt===0?ot.push([tr]):ot[ot.length-1].push(tr))&&ot,[])}function QRCode(o){const{className:s,ecl:a="M",clearSize:rt=40,size:ot=212,uri:tr}=o,Ut=reactExports.useMemo(()=>{const rr=[],nr=generateMatrix(tr,a),ir=ot/nr.length;[{x:0,y:0},{x:1,y:0},{x:0,y:1}].forEach(({x:lr,y:dr})=>{const vr=(nr.length-7)*ir*lr,mr=(nr.length-7)*ir*dr;for(let pr=0;pr<3;pr++){const br=ir*(7-pr*2),_r=[8,4,0][pr];rr.push(jsxRuntimeExports.jsx("rect",{fill:pr%2===0?"var(--wk-colors-qrCodeDot)":"var(--wk-colors-modalBackground)",height:br,width:br,rx:_r,ry:_r,x:vr+ir*pr,y:mr+ir*pr},`${pr}-${lr}-${dr}`))}});const ar=Math.ceil(rt/ir)+4,cr=nr.length/2-ar/2,ur=nr.length/2+ar/2-1;return nr.forEach((lr,dr)=>{lr.forEach((vr,mr)=>{nr[dr][mr]&&(dr<7&&mr<7||dr>nr.length-8&&mr<7||dr<7&&mr>nr.length-8||dr>cr&&drcr&&mr{const{in:s,children:a,variant:rt="fade",onExit:ot}=o,{className:tr,onAnimationEnd:Ut,...rr}=a.props,[nr,ir]=reactExports.useState(s);reactExports.useEffect(()=>{s&&ir(!0)},[s]);const sr=ar=>{Ut==null||Ut(ar),s||(ot==null||ot(),ir(!1))};return nr?React$1.cloneElement(a,{className:cx(animationMap[rt][Number(s)],tr),onAnimationEnd:sr,...rr}):null};function CustomQRCode(o){const{className:s,logo:a,logoSize:rt=44,value:ot,...tr}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-qrcode",clsQrCodeContainer,s),...tr,children:jsxRuntimeExports.jsxs(Box,{className:clsQrCodeWrapper,children:[ot?jsxRuntimeExports.jsx(Transition,{in:!!ot,children:jsxRuntimeExports.jsx(QRCode,{uri:ot})}):jsxRuntimeExports.jsx(QRCodePlaceHolder,{}),jsxRuntimeExports.jsx(Box,{className:cx("wk-qrcode-logo",clsQrCodeLogo),style:{width:rt,height:rt,opacity:ot?1:.3},children:a})]})})}var clsIconButton="wk_x5kthr0";const IconButton=o=>{const{className:s,icon:a,...rt}=o;return jsxRuntimeExports.jsx(Button,{className:cx("wk-icon-button",clsIconButton,s),...rt,children:a})};IconButton.displayName="IconButton";const BackIcon=o=>jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.5118 8.82165C25.1627 9.47253 25.1627 10.5278 24.5118 11.1787L15.6904 20.0002L24.5118 28.8217C25.1627 29.4725 25.1627 30.5278 24.5118 31.1787C23.861 31.8295 22.8057 31.8295 22.1548 31.1787L12.1548 21.1787C11.5039 20.5278 11.5039 19.4725 12.1548 18.8217L22.1548 8.82165C22.8057 8.17078 23.861 8.17078 24.5118 8.82165Z"})}),CloseIcon=o=>jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0119 9.51184C11.361 8.86097 10.3057 8.86097 9.65484 9.51184C9.00397 10.1627 9.00397 11.218 9.65484 11.8689L17.643 19.857L9.51187 27.9882C8.86099 28.639 8.86099 29.6943 9.51187 30.3452C10.1627 30.9961 11.218 30.9961 11.8689 30.3452L20 22.214L27.9218 30.1358C28.5726 30.7867 29.6279 30.7867 30.2788 30.1358C30.9297 29.4849 30.9297 28.4296 30.2788 27.7788L22.357 19.857L30.1358 12.0783C30.7867 11.4274 30.7867 10.3721 30.1358 9.72123C29.4849 9.07036 28.4297 9.07036 27.7788 9.72123L20 17.5L12.0119 9.51184Z"})}),ModalContext=React$1.createContext({});function useModal(){return reactExports.useContext(ModalContext)}const RouteContext=React$1.createContext({});function useRouter(){return reactExports.useContext(RouteContext)}var clsNavbar="wk_19bcqvr0";function Navbar(o){const{className:s,showBack:a=!1,onBack:rt,...ot}=o,{onClose:tr}=useModal(),Ut=useRouter(),rr=()=>{rt==null||rt(),Ut.back()};return jsxRuntimeExports.jsxs(Box,{className:cx("wk-navbar",clsNavbar,s),...ot,children:[a&&jsxRuntimeExports.jsx(IconButton,{className:"wk-navbar-back-button",icon:jsxRuntimeExports.jsx(BackIcon,{}),onClick:rr}),jsxRuntimeExports.jsx(Box,{style:{flex:1}}),jsxRuntimeExports.jsx(IconButton,{className:"wk-navbar-close-button",icon:jsxRuntimeExports.jsx(CloseIcon,{}),onClick:tr})]})}function useWalletConfig(o){return o._wallet}function useWalletKitConnect({...o}={}){const{log:s,options:a}=useWalletKitContext(),rt={chainId:a==null?void 0:a.initialChainId},{connect:ot,connectAsync:tr,connectors:Ut,...rr}=useConnect({...o,onError(nr){var ir;commonErrorHandler({log:s,handler:a.onError,error:nr}),(ir=o==null?void 0:o.onError)==null||ir.call(o,nr)}});return{connect:({...nr})=>ot({...rt,...nr}),connectAsync:async({...nr})=>await tr({...rt,...nr}),connectors:Ut,...rr}}function useWalletConnectModal(){const{connectAsync:o}=useWalletKitConnect(),{onClose:s}=useModal(),{log:a}=useWalletKitContext(),[rt,ot]=reactExports.useState(!1);return reactExports.useEffect(()=>{if(rt){const tr=setTimeout(()=>{s()},MODAL_AUTO_CLOSE_DELAY);return()=>{clearTimeout(tr)}}setGlobalData({walletConnectModalIsOpen:rt})},[rt,s]),{isOpenWcModal:rt,onOpenWcModal:async()=>{document.body.style.setProperty("--wcm-z-index","2147483647");const tr=getGlobalData().walletConnectConnector,Ut=await(tr==null?void 0:tr.getProvider());if(Ut.rpc.showQrModal=!0,tr){ot(!0);try{await o({connector:tr})}catch(rr){a("WalletConnect",rr)}ot(!1)}}}}const ThemeContext=React$1.createContext({});function useTheme(){return reactExports.useContext(ThemeContext)}function useWalletLogos(o){const{colorMode:s}=useTheme();return reactExports.useMemo(()=>{const{default:rt,transparent:ot}=o,tr=(rt==null?void 0:rt[s])??rt,Ut=(ot==null?void 0:ot[s])??ot??tr;return{default:tr,transparent:Ut}},[s,o])}var clsContainer$5="wk_z20x7l0",clsOfficialButton="wk_z20x7l1";const WalletKitContext=reactExports.createContext({});function useWalletKitContext(){return reactExports.useContext(WalletKitContext)}let timer;function useQRCodeUri(){const{connectAsync:o}=useConnect(),{isConnected:s}=useAccount(),{log:a,options:rt}=useWalletKitContext(),[ot,tr]=reactExports.useState("");return reactExports.useEffect(()=>{const Ut=getGlobalData().walletConnectConnector;if(s||!Ut)return;const rr=({type:ir,data:sr})=>{ir==="display_uri"&&!getGlobalData().walletConnectModalIsOpen&&tr(sr)},nr=async()=>{try{a("[qrcode uri]","connecting");const ir=await(Ut==null?void 0:Ut.getProvider());ir.rpc.showQrModal=!1,await o({connector:Ut})}catch(ir){clearTimeout(timer),timer=setTimeout(()=>{(ir==null?void 0:ir.code)===4001&&(commonErrorHandler({log:a,error:ir,handler:rt.onError}),nr())},100)}};return nr(),Ut.on("message",rr),()=>{var ir;(ir=Ut==null?void 0:Ut.off)==null||ir.call(Ut,"message",rr)}},[s]),ot}function ConnectWithQRCodePage(){var nr;const{selectedConnector:o,options:s}=useWalletKitContext(),a=useWalletConfig(o),rt=useWalletLogos(a.logos),ot=useQRCodeUri(),{onOpenWcModal:tr}=useWalletConnectModal(),Ut=isWalletConnectConnector(o),rr=ot&&(((nr=a.getQRCodeUri)==null?void 0:nr.call(a,ot))??ot);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{showBack:!0}),jsxRuntimeExports.jsx(ModalHeader,{children:"Scan with your phone"}),jsxRuntimeExports.jsx(ModalBody,{className:cx("wk-scan-qrcode",clsContainer$5),children:jsxRuntimeExports.jsx(CustomQRCode,{value:rr,logo:rt==null?void 0:rt.default})}),Ut&&!s.hideOfficialWalletConnectCTA&&jsxRuntimeExports.jsx(ModalFooter,{children:jsxRuntimeExports.jsxs(Link,{className:cx("wk-official-wc-button",clsOfficialButton),onClick:tr,children:["Open the official WalletConnect modal",jsxRuntimeExports.jsx(ForwardIcon,{})]})})]})}function useClipboard(o,s=1500){const[a,rt]=reactExports.useState(!1),[ot,tr]=reactExports.useState(o),Ut=reactExports.useCallback(()=>{const rr=copy(ot);rt(rr)},[ot]);return reactExports.useEffect(()=>{let rr;return a&&(rr=setTimeout(()=>{rt(!1)},s)),()=>{rr&&clearTimeout(rr)}},[s,a]),{value:ot,setValue:tr,onCopy:Ut,hasCopied:a}}function copy(o){try{const s=document.createElement("textarea");s.value=o,s.style.position="absolute",s.style.zIndex="-1",document.body.appendChild(s),s.select(),document.execCommand("copy"),document.body.removeChild(s)}catch{if(navigator.clipboard)navigator.clipboard.writeText(o);else return!1}return!0}const CopyIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 40 40",fill:"currentColor",...o,children:[jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3333 8.33333C13.3333 6.49238 14.8257 5 16.6666 5H29.1666C31.0076 5 32.5 6.49238 32.5 8.33333V24.1667C32.5 26.0076 31.0076 27.5 29.1666 27.5H16.6666C14.8257 27.5 13.3333 26.0076 13.3333 24.1667V8.33333ZM29.1666 8.33333L16.6666 8.33333V24.1667H29.1666V8.33333Z"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33332 14.1665C9.2538 14.1665 9.99999 14.9127 9.99999 15.8332V29.1665C9.99999 30.087 10.7462 30.8332 11.6667 30.8332H24.1667C25.0871 30.8332 25.8333 31.5794 25.8333 32.4998C25.8333 33.4203 25.0871 34.1665 24.1667 34.1665H11.6667C8.90523 34.1665 6.66666 31.9279 6.66666 29.1665V15.8332C6.66666 14.9127 7.41285 14.1665 8.33332 14.1665Z"})]}),SuccessIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 40 40",fill:"currentColor",color:"#02c076",...o,children:[jsxRuntimeExports.jsx("path",{d:"M36.6666 20.0002C36.6666 29.2049 29.2047 36.6668 20 36.6668C10.7952 36.6668 3.33331 29.2049 3.33331 20.0002C3.33331 10.7954 10.7952 3.3335 20 3.3335C29.2047 3.3335 36.6666 10.7954 36.6666 20.0002Z"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.644 13.2627C29.3804 13.7536 29.5532 14.7624 29.0222 15.4704L19.4591 28.2212C19.0881 28.7159 18.3615 28.7587 17.935 28.3109L11.4593 21.5114C10.8794 20.9025 10.8911 19.9422 11.4857 19.3477C12.058 18.7753 12.9746 18.7401 13.5892 19.2669L18.3334 23.3333L26.6119 13.5496C27.118 12.9515 27.9921 12.8281 28.644 13.2627Z",fill:"white"})]});var clsCopy="wk_646y210";function CopyToClipboard(o){const{className:s,value:a="",children:rt,...ot}=o,{hasCopied:tr,onCopy:Ut,setValue:rr}=useClipboard(a);return reactExports.useEffect(()=>{rr(a)},[rr,a]),jsxRuntimeExports.jsxs(Box,{className:cx("wk-copy",clsCopy,s),onClick:Ut,...ot,children:[rt," ",tr?jsxRuntimeExports.jsx(SuccessIcon,{}):jsxRuntimeExports.jsx(CopyIcon,{color:cssVar("textSecondary")})]})}const ExitIcon=o=>jsxRuntimeExports.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 3C5.61929 3 4.5 4.11929 4.5 5.5L4.5 18.5C4.5 19.8807 5.61929 21 7 21H12.5C13.8807 21 15 19.8807 15 18.5V17.5C15 16.9477 14.5523 16.5 14 16.5C13.4477 16.5 13 16.9477 13 17.5V18.5C13 18.7761 12.7761 19 12.5 19H7C6.72386 19 6.5 18.7761 6.5 18.5V5.5C6.5 5.22386 6.72386 5 7 5H12.5C12.7761 5 13 5.22386 13 5.5V6.5C13 7.05228 13.4477 7.5 14 7.5C14.5523 7.5 15 7.05228 15 6.5V5.5C15 4.11929 13.8807 3 12.5 3H7ZM18.2071 7.29289C17.8166 6.90237 17.1834 6.90237 16.7929 7.29289C16.4024 7.68342 16.4024 8.31658 16.7929 8.70711L19.25 11H11C10.4477 11 10 11.4477 10 12C10 12.5523 10.4477 13 11 13H19.25L16.7929 15.2929C16.4024 15.6834 16.4024 16.3166 16.7929 16.7071C17.1834 17.0976 17.8166 17.0976 18.2071 16.7071L22.2071 12.7071C22.5976 12.3166 22.5976 11.6834 22.2071 11.2929L18.2071 7.29289Z"})});var clsContainer$4="wk_1whpwsy0";function DisconnectButton(o){const{className:s,...a}=o,{reset:rt}=useConnect(),{disconnect:ot}=useDisconnect(),{onClose:tr}=useModal(),Ut=()=>{tr(),setTimeout(()=>{ot(),rt()},100)};return jsxRuntimeExports.jsxs(Button,{className:cx("wk-disconnect-button",clsContainer$4,s),onClick:Ut,...a,children:[jsxRuntimeExports.jsx(ExitIcon,{}),"Disconnect"]})}var clsAvatar="wk_1na7l801",clsBalance="wk_1na7l803",clsFooter$2="wk_1na7l800",clsInfo="wk_1na7l802";function ConnectedPage(){const{address:o}=useAccount(),{data:s}=useEnsName({chainId:1,address:o}),{data:a}=useBalance({address:o});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsx(ModalHeader,{children:"Connected"}),jsxRuntimeExports.jsxs(ModalBody,{children:[jsxRuntimeExports.jsx(Avatar,{className:clsAvatar,address:o}),jsxRuntimeExports.jsxs(Box,{className:clsInfo,children:[jsxRuntimeExports.jsx(CopyToClipboard,{value:o,children:s?truncateENSName(s,64):truncateAddress(o)}),jsxRuntimeExports.jsx(Box,{className:clsBalance,children:jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:a?`${formatBalance(a)}`:"-"})})]})]}),jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter$2,children:jsxRuntimeExports.jsx(DisconnectButton,{})})]})}function useWalletDownloadUrl(o){const{options:s}=useWalletKitContext();return reactExports.useMemo(()=>o.default??s.walletDownloadUrl,[s.walletDownloadUrl,o.default])}function CircleLoadingIcon(o){const{thickness:s,endColor:a,...rt}=o,ot=cssVar("modalBackground"),tr=a??cssVar("primaryActive");return jsxRuntimeExports.jsxs("svg",{width:"52",height:"102",viewBox:"0 0 52 102",fill:"none",...rt,children:[jsxRuntimeExports.jsx("path",{d:"M1 101C28.6142 101 51 78.6142 51 51C51 23.3858 28.6142 1 1 1",stroke:"url(#paint0_linear_1252_60553)",strokeWidth:s,strokeLinecap:"round"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_1252_60553",x1:"1",y1:"1",x2:"0.999999",y2:"101",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:ot}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:tr})]})})]})}var clsContainer$3="wk_bd54i70",clsErrorCircle="wk_bd54i72",clsLoading$1="wk_bd54i74",clsLogo="wk_bd54i71";function ConnectSpinner(o){const{className:s,isLoading:a=!1,isError:rt=!1,thickness:ot=2,loadingColor:tr,children:Ut,...rr}=o;return jsxRuntimeExports.jsxs(Box,{className:cx("wk-connect-spinner",clsContainer$3,s),...rr,children:[a&&jsxRuntimeExports.jsx(CircleLoadingIcon,{className:clsLoading$1,thickness:ot,endColor:tr}),rt&&jsxRuntimeExports.jsx(Box,{className:clsErrorCircle}),jsxRuntimeExports.jsx(Box,{className:clsLogo,children:Ut})]})}var clsContent$1="wk_xxja170";function Content(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-content",clsContent$1,s),...a})}var clsDescription$1="wk_du4o10";function Description(o){const{className:s,...a}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-description",clsDescription$1,s),...a})}const AlertIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 15",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M1.63937 12.5331L7.6704 2.47023C8.04617 1.84325 8.95383 1.84326 9.3296 2.47023L15.3606 12.5331C15.7475 13.1787 15.283 14 14.531 14H2.46897C1.71695 14 1.25246 13.1787 1.63937 12.5331Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntimeExports.jsx("path",{d:"M9.5 11.7231C9.5 12.2754 9.05228 12.7231 8.5 12.7231C7.94772 12.7231 7.5 12.2754 7.5 11.7231C7.5 11.1709 7.94772 10.7231 8.5 10.7231C9.05228 10.7231 9.5 11.1709 9.5 11.7231Z",fill:"currentColor"}),jsxRuntimeExports.jsx("path",{d:"M7.6684 5.65882C7.63842 5.15178 8.01942 4.72314 8.50008 4.72314C8.98075 4.72314 9.36174 5.15178 9.33176 5.65882L9.12831 9.09936C9.10757 9.44999 8.83247 9.72314 8.50008 9.72314C8.16769 9.72314 7.89259 9.44999 7.87186 9.09936L7.6684 5.65882Z",fill:"currentColor"})]});var clsErrorTitle="wk_15jahvi0";function ErrorTitle(o){const{className:s,children:a,...rt}=o;return jsxRuntimeExports.jsxs(Box,{className:cx("wk-error-title",clsErrorTitle,s),...rt,children:[jsxRuntimeExports.jsx(AlertIcon,{}),a]})}var clsInfoTitle="wk_1k1e1vs0";function InfoTitle(o){const{className:s,children:a,...rt}=o;return jsxRuntimeExports.jsx(Box,{className:cx("wk-info-title",clsInfoTitle,s),...rt,children:a})}function UnsupportedContent(){var s;const{selectedConnector:o}=useWalletKitContext();return typeof window<"u"&&((s=window.ethereum)!=null&&s.isTokenPocket)&&isMetaMaskConnector(o)?jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Switch Wallet"}),jsxRuntimeExports.jsxs(Description,{children:["Please install the ",o==null?void 0:o._wallet.name," extension first, then switch the wallet manually in the corresponding extension, and refresh the page to log in."]})]}):jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsxs(InfoTitle,{children:["Install ",o==null?void 0:o._wallet.name]}),jsxRuntimeExports.jsxs(Description,{children:["To connect your ",o==null?void 0:o._wallet.name,", install the browser extension."]})]})}var clsButton="wk_1ttds3e2",clsContent="wk_1ttds3e0",clsFooter$1="wk_1ttds3e3",clsGap="wk_1ttds3e1";const states={CONNECTED:"connected",CONNECTING:"connecting",FAILED:"failed",REJECTED:"rejected",NOTCONNECTED:"notconnected",UNAVAILABLE:"unavailable"};function ConnectingPage(){const{selectedConnector:o,options:s,connectRole:a,log:rt}=useWalletKitContext(),ot=useWalletConfig(o),tr=useWalletLogos(ot.logos),Ut=useWalletDownloadUrl(ot.downloadUrls),[rr,nr]=reactExports.useState(ot.installed?states.CONNECTING:states.UNAVAILABLE),{connect:ir}=useWalletKitConnect({onMutate:ur=>{ur.connector?nr(states.CONNECTING):nr(states.UNAVAILABLE)},onSettled(ur,lr){var dr;if(lr){if(lr.code)switch(lr.code){case-32002:nr(states.NOTCONNECTED);break;case 4001:nr(states.REJECTED);break;default:nr(states.FAILED);break}else if(lr.message)switch(lr.message){case"User rejected request":nr(states.REJECTED);break;default:nr(states.FAILED);break}}else ur&&s.initialChainId&&ur.chain.id===s.initialChainId&&a==="add-network"&&((dr=s.onChainAlreadyAdded)==null||dr.call(s,o,s.initialChainId))}}),sr=reactExports.useCallback(()=>{ot.installed&&(o?ir({connector:o}):nr(states.UNAVAILABLE))},[ir,o,ot.installed]);reactExports.useEffect(()=>{if(rr===states.UNAVAILABLE)return;const ur=setTimeout(sr,600);return()=>{clearTimeout(ur)}},[]),rt("[Connect]",rr,o==null?void 0:o.name);const ar=[states.FAILED,states.NOTCONNECTED,states.REJECTED].includes(rr),cr=rr===states.CONNECTING;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{showBack:!0}),jsxRuntimeExports.jsx(ModalHeader,{children:ot==null?void 0:ot.name}),jsxRuntimeExports.jsxs(ModalBody,{className:clsContent,children:[jsxRuntimeExports.jsx(ConnectSpinner,{isLoading:cr,isError:ar,loadingColor:ot.spinnerColor,children:tr.transparent}),jsxRuntimeExports.jsx(Box,{className:clsGap}),rr===states.FAILED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(ErrorTitle,{children:"Connection Failed"}),jsxRuntimeExports.jsx(Description,{children:"Sorry, something went wrong. Please try connecting again."})]}),rr===states.REJECTED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Request Cancelled"}),jsxRuntimeExports.jsx(Description,{children:"You cancelled the request. Click above to try again."})]}),rr===states.CONNECTING&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Requesting Connection"}),jsxRuntimeExports.jsxs(Description,{children:["Open the ",ot.name," browser extension to connect your wallet."]})]}),rr===states.CONNECTED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsx(InfoTitle,{children:"Already Connected"}),jsxRuntimeExports.jsx(Description,{children:"It is now okay to close this popup"})]}),rr===states.NOTCONNECTED&&jsxRuntimeExports.jsxs(Content,{children:[jsxRuntimeExports.jsxs(ErrorTitle,{children:["Login to ",ot.name]}),jsxRuntimeExports.jsxs(Description,{children:["To continue, please login to your ",ot.name," extension."]})]}),rr===states.UNAVAILABLE&&jsxRuntimeExports.jsx(UnsupportedContent,{})]}),(rr===states.FAILED||rr===states.REJECTED)&&jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter$1,children:jsxRuntimeExports.jsx(Button,{className:cx("wk-retry-button",clsButton),onClick:sr,children:"Try Again"})}),rr===states.UNAVAILABLE&&jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter$1,children:jsxRuntimeExports.jsx(Button,{className:cx("wk-download-button",clsButton),as:"a",href:Ut,target:"_blank",rel:"noopener",children:"Install the Extension"})})]})}const MOBILE_MEDIA="screen and (max-width: 767px)";function useMediaQuery(o){const[s,a]=reactExports.useState(!1);return reactExports.useEffect(()=>{const rt=()=>{const tr=window.matchMedia(o).matches;a(tr)};rt();const ot=window.matchMedia(o);return ot.addEventListener("change",rt),()=>{ot.removeEventListener("change",rt)}},[o]),s}const useResponsive=()=>({isMobileLayout:useMediaQuery(MOBILE_MEDIA)}),WalletIcon=o=>jsxRuntimeExports.jsx("svg",{width:24,height:24,viewBox:"0 0 40 40",fill:"currentColor",...o,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16669 12.5C4.16669 9.73858 6.40526 7.5 9.16669 7.5H30.8334C33.5948 7.5 35.8334 9.73858 35.8334 12.5V27.5C35.8334 30.2614 33.5948 32.5 30.8334 32.5H9.16669C6.40526 32.5 4.16669 30.2614 4.16669 27.5V12.5ZM9.16669 10.8333C8.24621 10.8333 7.50002 11.5795 7.50002 12.5V27.5C7.50002 28.4205 8.24621 29.1667 9.16669 29.1667H30.8334C31.7538 29.1667 32.5 28.4205 32.5 27.5V26.4583H24.1667C20.5998 26.4583 17.7084 23.5668 17.7084 20C17.7084 16.4332 20.5998 13.5417 24.1667 13.5417H32.5V12.5C32.5 11.5795 31.7538 10.8333 30.8334 10.8333H9.16669ZM32.5 16.4583H24.1667C22.2107 16.4583 20.625 18.044 20.625 20C20.625 21.956 22.2107 23.5417 24.1667 23.5417H32.5V16.4583ZM26.6667 20C26.6667 21.1506 25.7339 22.0833 24.5834 22.0833C23.4328 22.0833 22.5 21.1506 22.5 20C22.5 18.8494 23.4328 17.9167 24.5834 17.9167C25.7339 17.9167 26.6667 18.8494 26.6667 20Z"})});var clsNoWalletButton="wk_1qpai601",clsWallets$1="wk_1qpai600";function useClickWallet(){const o=useRouter(),{options:s,log:a,setSelectedConnector:rt}=useWalletKitContext(),{disconnect:ot}=useDisconnect(),{onOpenWcModal:tr}=useWalletConnectModal(),Ut=reactExports.useRef(),rr=isMobile();return reactExports.useCallback((ir,sr)=>{var lr;if(((lr=s.onClickWallet)==null?void 0:lr.call(s,ir,sr))===!1)return;a("[click wallet] connector",ir),a("[click wallet] ethereum",window.ethereum);const cr=()=>{rt(ir),o.push(routes.CONNECT_WITH_QRCODE)},ur=()=>{rt(ir),o.push(routes.CONNECTING)};ot(),clearTimeout(Ut.current),Ut.current=setTimeout(()=>{var dr,vr,mr;if(isWalletConnectConnector(ir))ir._wallet.showQRCode?cr():tr();else if(ir._wallet.installed)ur();else if(rr){const pr=(vr=(dr=ir._wallet).getDeepLink)==null?void 0:vr.call(dr);pr?window.open(pr,"_self","noopener noreferrer"):(mr=s.onError)==null||mr.call(s,new Error("Not supported wallet"),"Not supported wallet")}else ir._wallet.showQRCode?cr():ur()},300)},[ot,a,rr,tr,s,o,rt])}var clsWalletOption$1="wk_10b7b8k1",clsWalletOptionIcon$1="wk_10b7b8k3",clsWalletOptionName$1="wk_10b7b8k2",clsWalletOptionWrapper="wk_10b7b8k0";function WalletOption$1(o){const{connector:s}=o,a=useClickWallet(),rt=useWalletConfig(s),ot=useWalletLogos(rt.logos);return jsxRuntimeExports.jsx(Box,{className:cx("wk-wallet-option-wrapper",clsWalletOptionWrapper),onClick:tr=>a(s,tr),children:jsxRuntimeExports.jsxs(Button,{className:cx("wk-wallet-option",clsWalletOption$1),children:[jsxRuntimeExports.jsx(Box,{className:cx("wk-wallet-option-logo",clsWalletOptionIcon$1),children:ot.default}),jsxRuntimeExports.jsx(Text,{className:cx("wk-wallet-option-name",clsWalletOptionName$1),children:rt.name})]})})}function GridLayout(o){const{connectors:s}=o,{options:a}=useWalletKitContext();return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(ModalBody,{className:cx("wk-wallets",clsWallets$1),"data-layout":"grid",children:s==null?void 0:s.map(rt=>jsxRuntimeExports.jsx(WalletOption$1,{connector:rt},rt.id))}),!a.hideNoWalletCTA&&jsxRuntimeExports.jsx(ModalFooter,{children:jsxRuntimeExports.jsxs(Button,{as:"a",className:cx("wk-nowallet-button",clsNoWalletButton),href:a.walletDownloadUrl,target:"_blank",rel:"noopener",children:[jsxRuntimeExports.jsx(WalletIcon,{}),"I don’t have a wallet"]})})]})}var clsWalletOption="wk_2gppzy0",clsWalletOptionIcon="wk_2gppzy2",clsWalletOptionName="wk_2gppzy1";function WalletOption(o){const{connector:s}=o,a=useClickWallet(),rt=useWalletConfig(s),ot=useWalletLogos(rt.logos);return jsxRuntimeExports.jsxs(Button,{className:cx("wk-wallet-option",clsWalletOption),onClick:tr=>a(s,tr),children:[jsxRuntimeExports.jsx(Text,{className:cx("wk-wallet-option-name",clsWalletOptionName),children:rt.name}),jsxRuntimeExports.jsx(Box,{className:cx("wk-wallet-option-logo",clsWalletOptionIcon),children:ot.transparent})]})}var clsNoWalletLink="wk_ax6rva1",clsWallets="wk_ax6rva0";function ListLayout(o){const{connectors:s}=o,{options:a}=useWalletKitContext();return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(ModalBody,{className:cx("wk-wallets",clsWallets),"data-layout":"list",children:s==null?void 0:s.map(rt=>jsxRuntimeExports.jsx(WalletOption,{connector:rt},rt.id))}),!a.hideNoWalletCTA&&jsxRuntimeExports.jsx(ModalFooter,{children:jsxRuntimeExports.jsxs(Link,{className:cx("wk-nowallet-link",clsNoWalletLink),href:a.walletDownloadUrl,children:[jsxRuntimeExports.jsx(WalletIcon,{}),"I don’t have a wallet"]})})]})}var clsDisclaimer="wk_17l0qzv0";function ConnectorsPage(){const{connectors:o}=useConnect(),{options:s}=useWalletKitContext(),{isMobileLayout:a}=useResponsive(),rt=o.filter(tr=>!!tr._wallet),ot=rt.length>LIST_LAYOUT_THRESHOLD||a;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsx(ModalHeader,{children:"Connect Wallet"}),s.disclaimer&&jsxRuntimeExports.jsx(Box,{className:cx("wk-disclaimer",clsDisclaimer),children:s.disclaimer}),ot?jsxRuntimeExports.jsx(GridLayout,{connectors:rt}):jsxRuntimeExports.jsx(ListLayout,{connectors:rt})]})}function useWalletKitSwitchNetwork({...o}={}){const{log:s,options:a}=useWalletKitContext();return useSwitchNetwork({...o,onError(ot){var tr;commonErrorHandler({log:s,handler:a.onError,error:ot}),(tr=o==null?void 0:o.onError)==null||tr.call(o,ot)}})}const ChainSpinnerIcon=o=>{const s=cssVar("primaryActive");return jsxRuntimeExports.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M2 19C2 9.61116 9.61116 2 19 2",stroke:"url(#paint0_linear_5519_81784)",strokeWidth:"3",strokeLinecap:"round"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_5519_81784",x1:"19",y1:"2",x2:"2",y2:"15.7619",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:s}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:s,stopOpacity:"0"})]})})]})};var clsContainer$2="wk_1aogl2d0",clsLoading="wk_1aogl2d2";function ChainSpinner(o){const{isLoading:s,className:a,children:rt,...ot}=o;return jsxRuntimeExports.jsxs(Box,{className:cx("wk-chain-spinner",clsContainer$2,a),...ot,children:[s&&jsxRuntimeExports.jsx(ChainSpinnerIcon,{className:clsLoading}),jsxRuntimeExports.jsx(Box,{children:rt})]})}var clsChainOptionLogo="wk_6cn3b81",clsChainOptionName="wk_6cn3b82",clsConnectedTag="wk_6cn3b83",clsContainer$1="wk_6cn3b80";function ChainOption(o){const{data:s,isLoading:a,isConnected:rt,...ot}=o;return jsxRuntimeExports.jsxs(Button,{className:cx("wk-chain-option",clsContainer$1),...ot,children:[jsxRuntimeExports.jsx(ChainSpinner,{isLoading:a,children:jsxRuntimeExports.jsx(Box,{className:cx("wk-chain-option-logo",clsChainOptionLogo),children:s.logo})}),jsxRuntimeExports.jsx(Box,{className:cx("wk-chain-option-name",clsChainOptionName),children:s.name}),rt&&jsxRuntimeExports.jsx(Box,{className:clsConnectedTag,children:"Connected"})]})}var clsBody="wk_1as187f1",clsChains="wk_1as187f4",clsDescription="wk_1as187f3",clsFooter="wk_1as187f2",clsNoNavHeader="wk_1as187f0",clsOrSeparator="wk_1as187f5";function SwitchNetworkPage(){const{supportedChains:o}=useWalletKitContext(),{isLoading:s,switchNetwork:a,pendingChainId:rt}=useWalletKitSwitchNetwork(),{chain:ot}=useNetwork(),{isClosable:tr}=useModal(),Ut=rr=>{a&&!s&&a(rr)};return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[tr&&jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsx(ModalHeader,{className:tr?void 0:clsNoNavHeader,children:"Switch Network"}),jsxRuntimeExports.jsxs(ModalBody,{className:clsBody,children:[(ot==null?void 0:ot.unsupported)&&jsxRuntimeExports.jsx(Box,{className:clsDescription,children:"This app does not support the current connected network. Switch or disconnect to continue."}),jsxRuntimeExports.jsx(Box,{className:cx("wk-chains",clsChains),children:o==null?void 0:o.map(rr=>jsxRuntimeExports.jsx(ChainOption,{data:rr,isLoading:s&&rt===rr.id,isConnected:rr.id===(ot==null?void 0:ot.id),onClick:()=>Ut(rr.id)},rr.id))}),jsxRuntimeExports.jsx(Box,{className:cx("wk-or-separator",clsOrSeparator),children:"or"})]}),jsxRuntimeExports.jsx(ModalFooter,{className:clsFooter,children:jsxRuntimeExports.jsx(DisconnectButton,{})})]})}const routes={CONNECTING:"Connecting",CONNECTORS:"Connectors",CONNECT_WITH_QRCODE:"ConnectWithQRCode",CONNECTED:"Connected",SWITCH_NETWORK:"SwitchNetwork"};function RouteProvider(o){const{children:s}=o,[a,rt]=reactExports.useState(""),{current:ot}=reactExports.useRef([]),tr=reactExports.useMemo(()=>{switch(a){case routes.CONNECTING:return jsxRuntimeExports.jsx(ConnectingPage,{});case routes.CONNECTORS:return jsxRuntimeExports.jsx(ConnectorsPage,{});case routes.CONNECT_WITH_QRCODE:return jsxRuntimeExports.jsx(ConnectWithQRCodePage,{});case routes.CONNECTED:return jsxRuntimeExports.jsx(ConnectedPage,{});case routes.SWITCH_NETWORK:return jsxRuntimeExports.jsx(SwitchNetworkPage,{})}return null},[a]),Ut=reactExports.useCallback(()=>{ot.pop();const ar=ot[ot.length-1];ar&&rt(ar)},[ot]),rr=reactExports.useCallback(ar=>{ot[ot.length-1]!==ar&&(ot.push(ar),rt(ar))},[ot]),nr=reactExports.useCallback(ar=>{ot[ot.length-1]!==ar&&(ot[ot.length-1]=ar,rt(ar))},[ot]),ir=reactExports.useCallback(()=>{ot.length=0},[ot]),sr=reactExports.useMemo(()=>({route:a,page:tr,back:Ut,push:rr,replace:nr,reset:ir}),[Ut,tr,rr,nr,ir,a]);return jsxRuntimeExports.jsx(RouteContext.Provider,{value:sr,children:s})}function ConnectButtonRenderer(o){const{role:s="default",children:a}=o,{setConnectRole:rt}=useWalletKitContext(),{isOpen:ot,onOpen:tr,onClose:Ut,onOpenProfile:rr}=useModal(),nr=useRouter(),{chain:ir}=useNetwork(),{address:sr,isConnected:ar}=useAccount(),{data:cr}=useEnsName({chainId:1,address:sr}),ur=reactExports.useCallback(()=>{rt(s),tr()},[rt,s,tr]);if(!a)return null;const lr=[routes.CONNECTORS,routes.CONNECTING].includes(nr.route)&&ot;return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:a({show:ar?rr:ur,hide:Ut,chain:ir,unsupported:!!(ir!=null&&ir.unsupported),isConnected:!!sr,isConnecting:lr,address:sr,truncatedAddress:sr?truncateAddress(sr):void 0,ensName:cr==null?void 0:cr.toString()})})}ConnectButton.Custom=ConnectButtonRenderer;const WalletKitButton=ConnectButton,Portal=o=>{const{children:s}=o,a=reactExports.useRef(),[,rt]=reactExports.useState({});return reactExports.useEffect(()=>{const ot=document.body;a.current=document.createElement("div"),a.current.setAttribute("class","wk-portal"),ot.appendChild(a.current),rt({});const tr=a.current;return()=>{ot.contains(tr)&&ot.removeChild(tr)}},[]),a.current?reactDomExports.createPortal(s,a.current):null};Portal.displayName="Portal";const ToastManager={listeners:[],toastList:[],autoIncreaseId:0,add(o){const s=this.autoIncreaseId++;return this.toastList.unshift({toastId:s,...o}),this.notify(),s},remove(o){const s=this.toastList.findIndex(a=>a.toastId===o);s>-1&&(this.toastList.splice(s,1),this.notify())},notify(){this.listeners.forEach(o=>{o([...this.toastList])})},subscribe(o){this.listeners.push(o)},unsubscribe(o){const s=this.listeners.findIndex(a=>a===o);s>-1&&this.listeners.splice(s,1)}};var clsContainer="wk_1tkyduj1",clsDescWrapper="wk_1tkyduj3",clsIconWrapper="wk_1tkyduj2",clsToastRoot="wk_1tkyduj0";const ErrorIcon=o=>{const s=cssVar("error");return jsxRuntimeExports.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M18.3333 10.0001C18.3333 14.6025 14.6024 18.3334 9.99999 18.3334C5.39762 18.3334 1.66666 14.6025 1.66666 10.0001C1.66666 5.39771 5.39762 1.66675 9.99999 1.66675C14.6024 1.66675 18.3333 5.39771 18.3333 10.0001Z",fill:s}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5503 7.41394C13.8166 7.14767 13.8166 6.71597 13.5503 6.4497C13.284 6.18343 12.8523 6.18343 12.5861 6.4497L10 8.90372L7.41394 6.4497C7.14767 6.18343 6.71597 6.18343 6.4497 6.4497C6.18343 6.71597 6.18343 7.14767 6.4497 7.41394L8.90372 10L6.4497 12.5861C6.18343 12.8523 6.18343 13.284 6.4497 13.5503C6.71597 13.8166 7.14767 13.8166 7.41394 13.5503L10 11.0963L12.5861 13.5503C12.8523 13.8166 13.284 13.8166 13.5503 13.5503C13.8166 13.284 13.8166 12.8523 13.5503 12.5861L11.0963 10L13.5503 7.41394Z",fill:"white"})]})},InfoIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{d:"M18.3333 10.0001C18.3333 14.6025 14.6024 18.3334 9.99999 18.3334C5.39762 18.3334 1.66666 14.6025 1.66666 10.0001C1.66666 5.39771 5.39762 1.66675 9.99999 1.66675C14.6024 1.66675 18.3333 5.39771 18.3333 10.0001Z",fill:"#5F8BFF"}),jsxRuntimeExports.jsx("circle",{cx:"10",cy:"5.41675",r:"1.25",fill:"white"}),jsxRuntimeExports.jsx("path",{d:"M10.579 7.55143L7.87065 7.8755C7.65964 7.89895 7.5 8.07731 7.5 8.28962V8.75002C7.5 8.98014 7.68931 9.15814 7.91392 9.20817C8.47131 9.33231 8.95833 9.73515 8.95833 10.4167V12.9167C8.95833 13.5982 8.47131 14.0011 7.91392 14.1252C7.68931 14.1752 7.5 14.3532 7.5 14.5834V15C7.5 15.2301 7.68655 15.4167 7.91667 15.4167H12.0833C12.3135 15.4167 12.5 15.2301 12.5 15V14.5834C12.5 14.3532 12.3107 14.1752 12.0861 14.1252C11.5287 14.0011 11.0417 13.5982 11.0417 12.9167V7.96525C11.0417 7.71691 10.8258 7.52401 10.579 7.55143Z",fill:"white"})]}),iconMap={info:jsxRuntimeExports.jsx(InfoIcon,{}),error:jsxRuntimeExports.jsx(ErrorIcon,{})};function ToastComponent(o){const{variant:s="info",description:a,duration:rt,toastId:ot}=o,[tr,Ut]=reactExports.useState(!0),[rr,nr]=reactExports.useState(rt);reactExports.useEffect(()=>{if(rr){const cr=setTimeout(()=>{Ut(!1)},rr);return()=>{clearTimeout(cr)}}},[rr]);const ir=()=>{ToastManager.remove(ot)},sr=()=>{nr(void 0)},ar=()=>{nr(rt)};return jsxRuntimeExports.jsx(Transition,{in:tr,variant:"toast-slide",onExit:ir,children:jsxRuntimeExports.jsx(Box,{className:"wk-toast",children:jsxRuntimeExports.jsxs(Box,{className:clsContainer,onMouseEnter:sr,onMouseLeave:ar,children:[jsxRuntimeExports.jsx(Box,{className:clsIconWrapper,children:iconMap[s]}),jsxRuntimeExports.jsx(Box,{className:clsDescWrapper,children:a})]})})})}const ToastProvider=()=>{const[o,s]=reactExports.useState([]);return reactExports.useEffect(()=>{const a=rt=>{s(rt)};return ToastManager.subscribe(a),()=>{ToastManager.unsubscribe(a)}},[]),jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:o.length>0&&jsxRuntimeExports.jsx(Portal,{children:jsxRuntimeExports.jsx(Box,{className:cx("wk-toast-container",clsToastRoot),children:o.map(a=>jsxRuntimeExports.jsx(ToastComponent,{...a},a.toastId))})})})};ToastProvider.displayName="ToastProvider";const toast=o=>{const{variant:s="info",duration:a=3e3,...rt}=o;return ToastManager.add({variant:s,duration:a,...rt})};toast.info=o=>toast({variant:"info",...o});toast.error=o=>toast({variant:"error",...o});function getDefaultProviderOptions(o){const{...s}=o;return{disclaimer:void 0,chainsConfig:void 0,hideNoWalletCTA:!1,hideOfficialWalletConnectCTA:!1,closeModalAfterConnected:!0,closeModalOnEsc:!0,closeModalOnOverlayClick:!0,walletDownloadUrl:"https://trustwallet.com/",onError,...s}}function onError(o,s){s&&toast.error({description:s})}function BscIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{x:"0.5",y:"0.5",width:"27",height:"27",fill:"url(#BscIconPattern0)"}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsx("pattern",{id:"BscIconPattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:jsxRuntimeExports.jsx("use",{xlinkHref:"#image0_2258_278",transform:"translate(0.0514019) scale(0.00934579)"})}),jsxRuntimeExports.jsx("image",{id:"image0_2258_278",width:"96",height:"107",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABrCAYAAACIX4f7AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAk7SURBVHgB7Z1RWhpJEMerB/RzIfsFboAn2HgDfUjU7MPqCaInEE8gniB4gpgTJPuwMZoH3RPoniDcAPxWEjY49HY1DAIKTHdVz/Tk4/eUzyj2dLVdXf+qrgHIKLcXvxy0zotfb78UjiDDCMgYzS/P1iGUdSHgt5EvN6S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htAwguSzNwLN3wv3MLqD/RjJNnasAwndnX0gEjvPzLtFTfYP2tKFT3Fy2kAHfAJvc9vW7YnwGZOPbkOFpgaIKIi8svXtxfLxvVC/e/1a/IRm/TksPCK0PCH5ISTus7vE8ZtGObAcgpyfZ3fFyhtGKbBeVH74To/scWAE2Rg30QwcrAMbRiGRBe1HZxOHhLzfy3F6pszim6Qx1m4FRVebZpfscJtdZiQZ8wL69PW4KK2GP1lvr2HhdIuUm2L/6gzedVVZbMVT1Rbi0e/3OlbjxKosCb0jkvj/Tdi2k84ew8LoZPt3KZ91O7n3C+Yi7EYxLzPcGEIGYgN+77/j19JwtEnmqV/6nBA8RfDXAMgXO9hiaAYYHJMaqv4yCGWcRnAdDHEMkAEl6PmMAA3ZANYXmcyCsRG9X5Y9I+IaDzkC8wXlVUkjIZwJTNjE1TuQE5fEcWmsZxE+QI1D5QtkCRFDPX+EA6ByxCdTmlQ2HtN1ZfGAylZAQ6o+YIJWLQgnQ/GiJozH6zyD7ZC32iBLWs8gx2vLPMFUz8SmHDVccu0l6iTAtsZHa+osOeEXXXcmtdLlLFH6CgkBxsHZ4VZjjpuPbqB4+QGy2jHK8fvIbDNiMVm2HELX/IZSIwfKkAnuoHzxjYVOA2tDBPe4GqKcwNEoOPS+WAVyAEX3O+/SaiD+yiJGQAZPNweeIhpa34uFsW5KbMwQMosDJAy/hlgZaXFXmGtHCyE4RV4iJEcnSQc7+mChN5zRsFbA0RYZeSI6ckk8d4AiMl7uijvOUuDTBggYmZGjtDZME0yZYCI0dIZSv3PAiLYJAoyzv89tWhmDg3RawAAAABJRU5ErkJggg=="})]})]})}function ComboIcon(o){return jsxRuntimeExports.jsxs("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",...o,children:[jsxRuntimeExports.jsx("rect",{width:"26",height:"26",fill:"url(#ComboIconPattern0)"}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsx("pattern",{id:"ComboIconPattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:jsxRuntimeExports.jsx("use",{xlinkHref:"#image0_1252_60936",transform:"translate(0 0.066875) scale(0.00125)"})}),jsxRuntimeExports.jsx("image",{id:"image0_1252_60936",width:"800",height:"693",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAK1CAYAAAAwrIosAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGuXSURBVHgB7d3Jc1zXle/7dTIBEGBnybd8x766I0VREZLvP0BZUk1EqEzfkUKlsKg/4KkZlCQPrij/ASW6pi/iSfYzx9IzbauiHFFkDe7I8UzqhchQj5RFCQRBgGgTTZ48+511EgmCIJpsTrOb7yeKBTWkbFPIzL3OWuu3IwGwrz/+LX5J2vJe9KO6RGMCAEBfzO3EtGc3fzr5xMQVAZCpCYB9RWPR22YhkeSLliTftcVsCgAAPUmLD0lm21Ek9f8lALZRgAD7+Khl3jYryY+7f04hAgDo1Vbx0f3T07+/uvEzAZCJBMADPlozP07L88vtL+IfS8s8+BNGI6k9HImOZgEAsNOu4qPz10SmYhn9ydknogUBAkcHBNiDqcl5s2H2Lj5U+teT9AOm/XmcdUYAAFB7FR8qfeL730aSzVcFAB0QYLes+1GXqWzk6rt2b79IOyL/tSbRQ9T0ABCq/YqPHe62ZPQRuiAIHaclYBdTlw+yr6um91+kHZG0WMk6Iv38OgCAF3ooPtTDo9L6FwECRwEC7JB2P15K24KP6x8PVEhoIdKIWVQHgID0WHx0vXTp6tppAQJGAQLsVJO39UtWPLQG72SQmAUAYeiz+FDE8iJ4FCDAFo3dlUh+nP1JM5/FcgoRAPDXAMVHF7G8CBpL6IDcWzzv/nlWMOSdbkV0LwB4Y4jio/PrieVFwOiAANKJ3b3vz4tYJCe6FwC8MGzxoYjlRcjogCB4u7sfOiqlY1OFI7oXAJyTR/GxA7G8CBInH6Aml+/782ZJ3YludO9XRPcCgAtyLj4UsbwIEgUIgqaxu9uL51tKLwbWie4F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X0Q6e3+V8AgMfW1/caxTJikt9w6SBAAQLsKa5Fr6cfHgsHRvGub1B4AAAetHcqVmPyrWfeEQAUIMBezj7/aCMx8us9OyBaeNy+IzI7R+EBANjb/aNYxO4CO1CAAPtI4s0L6SfG1PZf2Fl4bGwKAAAH2h7FMleI3QXuIQULOMCl//Mvp2Vl7T+yVCuKDgBAv8bGTHzk6H9n9wO45/8Hi/dXXGlvAp0AAAAASUVORK5CYII="})]})]})}function EthereumIcon(o){return jsxRuntimeExports.jsxs("svg",{width:24,height:24,viewBox:"0 0 512 512",...o,children:[jsxRuntimeExports.jsx("rect",{width:"512",height:"512",rx:"15%",fill:"#ffffff"}),jsxRuntimeExports.jsx("path",{fill:"#3C3C3B",d:"m256 362v107l131-185z"}),jsxRuntimeExports.jsx("path",{fill:"#343434",d:"m256 41l131 218-131 78-132-78"}),jsxRuntimeExports.jsx("path",{fill:"#8C8C8C",d:"m256 41v158l-132 60m0 25l132 78v107"}),jsxRuntimeExports.jsx("path",{fill:"#141414",d:"m256 199v138l131-78"}),jsxRuntimeExports.jsx("path",{fill:"#393939",d:"m124 259l132-60v138"})]})}const chainsConfig=[{id:1,name:"Ethereum",logo:jsxRuntimeExports.jsx(EthereumIcon,{width:24,height:24})},{id:56,name:"BSC",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:97,name:"BSC Testnet",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:91715,name:"Combo Testnet",logo:jsxRuntimeExports.jsx(ComboIcon,{width:24,height:24})},{id:204,name:"opBNB",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:1017,name:"BNB Greenfield",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:5600,name:"BNB Greenfield Testnet",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})},{id:9e3,name:"BNB Greenfield Devnet",logo:jsxRuntimeExports.jsx(BscIcon,{width:24,height:24})}];function getSupportedChains(){return chainsConfig}const UnknownChainIcon=o=>jsxRuntimeExports.jsxs("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",...o,children:[jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5611 8.12948C21.0082 7.90729 21.5007 7.79167 22 7.79167C22.4993 7.79167 22.9919 7.90729 23.439 8.12948L23.4408 8.1304L33.0387 12.9293C33.577 13.197 34.031 13.61 34.3478 14.121C34.6649 14.6323 34.833 15.2218 34.8333 15.8234V27.2595C34.833 27.8611 34.6649 28.4511 34.3478 28.9624C34.031 29.4733 33.578 29.8858 33.0398 30.1535L23.4411 34.9528C22.9919 35.1775 22.4963 35.2947 21.994 35.2947C21.4918 35.2947 20.9964 35.1777 20.5472 34.9529L10.9475 30.1531L10.9452 30.1519C10.4071 29.8808 9.95535 29.4646 9.6411 28.9504C9.32739 28.437 9.16312 27.8464 9.16673 27.2448L9.16675 27.2417L10.0004 27.2475H9.16673V27.2448V15.8239C9.16705 15.2223 9.33518 14.6322 9.65222 14.121C9.96906 13.61 10.4221 13.1976 10.9604 12.9298L20.5592 8.1304L20.5611 8.12948ZM21.3031 9.62267L11.8706 14.3389L22 19.4036L32.1294 14.3389L22.697 9.62267C22.4806 9.51531 22.2416 9.45905 22 9.45905C21.7585 9.45905 21.5194 9.51534 21.3031 9.62267ZM10.8341 15.8241C10.8341 15.7785 10.8362 15.733 10.8401 15.6878L21.1663 20.8509V33.3983L11.6955 28.6629C11.4352 28.5315 11.2159 28.3297 11.0638 28.0809C10.9116 27.8318 10.8321 27.5452 10.8341 27.2533L10.8341 27.2475V15.8241ZM22.8337 33.3923L32.2967 28.6608C32.5576 28.5312 32.7772 28.3313 32.9308 28.0836C33.0844 27.836 33.1658 27.5504 33.166 27.259V15.8243C33.1659 15.7786 33.1639 15.7331 33.1599 15.6878L22.8337 20.8509V33.3923Z",fill:"url(#paint0_linear_3546_7073)"}),jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8341 15.8241C10.8341 15.7785 10.8362 15.733 10.8401 15.6878L21.1663 20.8509V33.3983L11.6955 28.6629C11.4352 28.5315 11.2159 28.3297 11.0638 28.0809C10.9116 27.8318 10.8321 27.5452 10.8341 27.2533L10.8341 27.2475V15.8241Z",fill:"url(#paint1_linear_3546_7073)",fillOpacity:"0.3"}),jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsxs("linearGradient",{id:"paint0_linear_3546_7073",x1:"22",y1:"7.79167",x2:"22",y2:"35.2947",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:"black"}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:"black",stopOpacity:"0.7"})]}),jsxRuntimeExports.jsxs("linearGradient",{id:"paint1_linear_3546_7073",x1:"22",y1:"7.79167",x2:"22",y2:"35.2947",gradientUnits:"userSpaceOnUse",children:[jsxRuntimeExports.jsx("stop",{stopColor:"black"}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:"black",stopOpacity:"0.7"})]})]})]});function getDefaultSupportedChains(o,s){const a=mergeList(getSupportedChains(),o.chainsConfig);return s.map(ot=>{const tr=a.find(Ut=>Ut.id===ot.id);return{id:ot.id,name:ot.name??(tr==null?void 0:tr.name),logo:(tr==null?void 0:tr.logo)??jsxRuntimeExports.jsx(UnknownChainIcon,{})}})}function useChains(){var s;const{connectors:o}=useConnect();return(s=o==null?void 0:o[0])==null?void 0:s.chains}function useDisclosure(){const[o,s]=reactExports.useState(!1),a=reactExports.useCallback(()=>{s(!0)},[]),rt=reactExports.useCallback(()=>{s(!1)},[]);return{isOpen:o,onOpen:a,onClose:rt}}function ModalProvider(o){const{children:s}=o,[a,rt]=reactExports.useState(!0),{isOpen:ot,onClose:tr,onOpen:Ut}=useDisclosure(),{isConnected:rr}=useAccount(),{chain:nr}=useNetwork(),ir=useRouter(),{options:sr}=useWalletKitContext(),{closeModalAfterConnected:ar,closeModalOnEsc:cr,closeModalOnOverlayClick:ur}=sr;reactExports.useEffect(()=>{ir.route===routes.SWITCH_NETWORK&&rr&&!(nr!=null&&nr.unsupported)&&rt(!0)},[nr==null?void 0:nr.unsupported,rr,ir.route]);const lr=reactExports.useMemo(()=>({isClosable:a,closeOnEsc:cr,closeOnOverlayClick:ur,isOpen:ot,onClose(){tr(),setTimeout(()=>{rt(!0),ir.reset()},300)},onOpen(){ir.push(routes.CONNECTORS),Ut()},onOpenProfile(){rr?(ir.push(routes.CONNECTED),Ut()):toast.info({description:"Please connect a wallet first."})},onOpenSwitchNetwork(dr){const{isClosable:vr=!0}=dr??{};rr?(ir.push(routes.SWITCH_NETWORK),rt(vr),Ut()):toast.info({description:"Please connect a wallet first."})}}),[cr,ur,a,rr,ot,tr,Ut,ir]);return reactExports.useEffect(()=>{[routes.CONNECTING,routes.CONNECT_WITH_QRCODE].includes(ir.route)&&rr&&ar&&tr()},[rr,tr,ar,ir.route]),jsxRuntimeExports.jsx(ModalContext.Provider,{value:lr,children:s})}function isObject(o){return o&&typeof o=="object"&&!Array.isArray(o)&&o!==null}function deepMerge(o,s){if(isObject(o)&&isObject(s))for(const a in s)isObject(s[a])?(o[a]||Object.assign(o,{[a]:{}}),deepMerge(o[a],s[a])):Object.assign(o,{[a]:s[a]});return o}const radii={common:"8px",modal:"12px",navButton:"4px",button:"var(--wk-radii-common)",connectButton:"var(--wk-radii-common)",disconnectButton:"var(--wk-radii-common)",noWalletButton:"var(--wk-radii-common)",walletOption:"var(--wk-radii-common)",walletOptionIcon:"var(--wk-radii-common)",chainOption:"var(--wk-radii-common)",toast:"var(--wk-radii-common)",qrCode:"var(--wk-radii-common)"},zIndices={modal:1300,toast:1500},base={light:{colors:{text:"#1E2026",textSecondary:"#76808F",primary:"#CC9D09",primaryActive:"#F0B90B",error:"#D9304E",errorActive:"#B82942",border:"#E6E8EA",disabled:"#AEB4BC",modalBackground:"#FFFFFF",modalOverlay:"rgba(0, 0, 0, 0.5)",buttonText:"var(--wk-colors-text)",buttonTextHover:"var(--wk-colors-text)",buttonBackground:"#f5f5f5",buttonBackgroundHover:rgba("#F0B90B",.1),connectButtonText:"var(--wk-colors-text)",connectButtonTextHover:"var(--wk-colors-text)",connectButtonBackground:"#f5f5f5",connectButtonBackgroundHover:"#e6e8ea",navButtonText:"var(--wk-colors-textSecondary)",navButtonBackgroundHover:"var(--wk-colors-border)",optionText:"var(--wk-colors-text)",optionTextHover:"var(--wk-colors-text)",optionBackground:"#f5f5f5",optionBackgroundHover:rgba("#F0B90B",.1),walletOptionText:"var(--wk-colors-optionText)",walletOptionTextHover:"var(--wk-colors-optionTextHover)",walletOptionBackground:"var(--wk-colors-optionBackground)",walletOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",chainOptionText:"var(--wk-colors-optionText)",chainOptionTextHover:"var(--wk-colors-optionTextHover)",chainOptionBackground:"var(--wk-colors-optionBackground)",chainOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",toastBackground:"var(--wk-colors-modalBackground)",qrCodeDot:"var(--wk-colors-text)",qrCodeBorder:"var(--wk-colors-border)",noWalletButtonBackgroundText:"var(--wk-colors-text)",noWalletButtonBackgroundTextHover:"var(--wk-colors-text)",noWalletButtonBackground:"transparent",noWalletButtonBackgroundHover:"var(--wk-colors-border)",noWalletButtonBorder:"var(--wk-colors-border)",noWalletButtonBorderHover:"var(--wk-colors-border)",disconnectButtonBackgroundText:"var(--wk-colors-text)",disconnectButtonBackgroundTextHover:"var(--wk-colors-text)",disconnectButtonBackground:"transparent",disconnectButtonBackgroundHover:"var(--wk-colors-border)",disconnectButtonBorder:"var(--wk-colors-border)",disconnectButtonBorderHover:"var(--wk-colors-border)"},shadows:{toast:"0px 4px 24px rgba(0, 0, 0, 0.08)"},radii,zIndices},dark:{colors:{text:"#FFF",textSecondary:"#76808F",primary:"#CC9D09",primaryActive:"#F0B90B",error:"#D9304E",errorActive:"#B82942",border:"#2e323a",disabled:"#5E6673",modalBackground:"#1E2026",modalOverlay:rgba("#000",.5),buttonText:"var(--wk-colors-text)",buttonTextHover:"var(--wk-colors-text)",buttonBackground:"#14151a",buttonBackgroundHover:rgba("#F0B90B",.1),connectButtonText:"var(--wk-colors-text)",connectButtonTextHover:"var(--wk-colors-text)",connectButtonBackground:"#2b2f36",connectButtonBackgroundHover:"#2e323a",navButtonText:"var(--wk-colors-textSecondary)",navButtonBackgroundHover:"var(--wk-colors-border)",optionText:"var(--wk-colors-text)",optionTextHover:"var(--wk-colors-text)",optionBackground:"#14151a",optionBackgroundHover:rgba("#F0B90B",.1),walletOptionText:"var(--wk-colors-optionText)",walletOptionTextHover:"var(--wk-colors-optionTextHover)",walletOptionBackground:"var(--wk-colors-optionBackground)",walletOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",chainOptionText:"var(--wk-colors-optionText)",chainOptionTextHover:"var(--wk-colors-optionTextHover)",chainOptionBackground:"var(--wk-colors-optionBackground)",chainOptionBackgroundHover:"var(--wk-colors-optionBackgroundHover)",toastBackground:"var(--wk-colors-modalBackground)",qrCodeDot:"var(--wk-colors-text)",qrCodeBorder:"var(--wk-colors-border)",noWalletButtonBackgroundText:"var(--wk-colors-text)",noWalletButtonBackgroundTextHover:"var(--wk-colors-text)",noWalletButtonBackground:"transparent",noWalletButtonBackgroundHover:"var(--wk-colors-border)",noWalletButtonBorder:"var(--wk-colors-border)",noWalletButtonBorderHover:"var(--wk-colors-border)",disconnectButtonBackgroundText:"var(--wk-colors-text)",disconnectButtonBackgroundTextHover:"var(--wk-colors-text)",disconnectButtonBackground:"transparent",disconnectButtonBackgroundHover:"var(--wk-colors-border)",disconnectButtonBorder:"var(--wk-colors-border)",disconnectButtonBorderHover:"var(--wk-colors-border)"},shadows:{toast:"0px 4px 24px rgba(0, 0, 0, 0.08)"},radii,zIndices}},themeMap={base};function ThemeProvider(o){const{variant:s,mode:a,customTheme:rt,children:ot}=o,tr=reactExports.useMemo(()=>{const ir=themeMap[s],sr=deepMerge(ir.light??ir,(rt==null?void 0:rt.light)??rt),ar=deepMerge(ir.dark??ir,(rt==null?void 0:rt.dark)??rt),cr=createCssVars(sr,"--wk-light"),ur=createCssVars(ar,"--wk-dark"),lr=createPointer(cr),dr=createPointer(ur),vr=createStyleContent(cr),mr=createStyleContent(ur),pr=createStyleContent(lr),br=createStyleContent(dr);return a==="light"?`body { ${pr}; ${vr}; }`:a==="dark"?`body { diff --git a/assets/index-8eb6d603.js b/assets/index-25d6fbfd.js similarity index 99% rename from assets/index-8eb6d603.js rename to assets/index-25d6fbfd.js index 4e6f321c..51d8407e 100644 --- a/assets/index-8eb6d603.js +++ b/assets/index-25d6fbfd.js @@ -1,4 +1,4 @@ -import{n as ve,s as qe,T as k,t as W,a as u,o as Q,R as jr,p as U,y as ne}from"./index-fb581b18.js";import{aL as Nr}from"./index-47c29602.js";/** +import{n as ve,s as qe,T as k,t as W,a as u,o as Q,R as jr,p as U,y as ne}from"./index-c7085530.js";import{aL as Nr}from"./index-183d29bc.js";/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause diff --git a/assets/index-fb581b18.js b/assets/index-c7085530.js similarity index 98% rename from assets/index-fb581b18.js rename to assets/index-c7085530.js index 0f43f98d..014acff1 100644 --- a/assets/index-fb581b18.js +++ b/assets/index-c7085530.js @@ -1 +1 @@ -import{az as pe}from"./index-47c29602.js";const fe=Symbol(),Z=Object.getPrototypeOf,F=new WeakMap,me=e=>e&&(F.has(e)?F.get(e):Z(e)===Object.prototype||Z(e)===Array.prototype),ge=e=>me(e)&&e[fe]||null,ee=(e,t=!0)=>{F.set(e,t)},J=e=>typeof e=="object"&&e!==null,C=new WeakMap,x=new WeakSet,he=(e=Object.is,t=(o,h)=>new Proxy(o,h),s=o=>J(o)&&!x.has(o)&&(Array.isArray(o)||!(Symbol.iterator in o))&&!(o instanceof WeakMap)&&!(o instanceof WeakSet)&&!(o instanceof Error)&&!(o instanceof Number)&&!(o instanceof Date)&&!(o instanceof String)&&!(o instanceof RegExp)&&!(o instanceof ArrayBuffer),r=o=>{switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:throw o}},l=new WeakMap,c=(o,h,I=r)=>{const b=l.get(o);if((b==null?void 0:b[0])===h)return b[1];const y=Array.isArray(o)?[]:Object.create(Object.getPrototypeOf(o));return ee(y,!0),l.set(o,[h,y]),Reflect.ownKeys(o).forEach(P=>{if(Object.getOwnPropertyDescriptor(y,P))return;const L=Reflect.get(o,P),D={value:L,enumerable:!0,configurable:!0};if(x.has(L))ee(L,!1);else if(L instanceof Promise)delete D.value,D.get=()=>I(L);else if(C.has(L)){const[v,z]=C.get(L);D.value=c(v,z(),I)}Object.defineProperty(y,P,D)}),Object.preventExtensions(y)},m=new WeakMap,f=[1,1],W=o=>{if(!J(o))throw new Error("object required");const h=m.get(o);if(h)return h;let I=f[0];const b=new Set,y=(i,a=++f[0])=>{I!==a&&(I=a,b.forEach(n=>n(i,a)))};let P=f[1];const L=(i=++f[1])=>(P!==i&&!b.size&&(P=i,v.forEach(([a])=>{const n=a[1](i);n>I&&(I=n)})),I),D=i=>(a,n)=>{const g=[...a];g[1]=[i,...g[1]],y(g,n)},v=new Map,z=(i,a)=>{if(b.size){const n=a[3](D(i));v.set(i,[a,n])}else v.set(i,[a])},Y=i=>{var a;const n=v.get(i);n&&(v.delete(i),(a=n[1])==null||a.call(n))},de=i=>(b.add(i),b.size===1&&v.forEach(([n,g],R)=>{const N=n[3](D(R));v.set(R,[n,N])}),()=>{b.delete(i),b.size===0&&v.forEach(([n,g],R)=>{g&&(g(),v.set(R,[n]))})}),H=Array.isArray(o)?[]:Object.create(Object.getPrototypeOf(o)),V=t(H,{deleteProperty(i,a){const n=Reflect.get(i,a);Y(a);const g=Reflect.deleteProperty(i,a);return g&&y(["delete",[a],n]),g},set(i,a,n,g){const R=Reflect.has(i,a),N=Reflect.get(i,a,g);if(R&&(e(N,n)||m.has(n)&&e(N,m.get(n))))return!0;Y(a),J(n)&&(n=ge(n)||n);let $=n;if(n instanceof Promise)n.then(A=>{n.status="fulfilled",n.value=A,y(["resolve",[a],A])}).catch(A=>{n.status="rejected",n.reason=A,y(["reject",[a],A])});else{!C.has(n)&&s(n)&&($=W(n));const A=!x.has($)&&C.get($);A&&z(a,A)}return Reflect.set(i,a,$,g),y(["set",[a],n,N]),!0}});m.set(o,V);const ue=[H,L,c,de];return C.set(V,ue),Reflect.ownKeys(o).forEach(i=>{const a=Object.getOwnPropertyDescriptor(o,i);"value"in a&&(V[i]=o[i],delete a.value,delete a.writable),Object.defineProperty(H,i,a)}),V})=>[W,C,x,e,t,s,r,l,c,m,f],[be]=he();function S(e={}){return be(e)}function U(e,t,s){const r=C.get(e);let l;const c=[],m=r[3];let f=!1;const o=m(h=>{if(c.push(h),s){t(c.splice(0));return}l||(l=Promise.resolve().then(()=>{l=void 0,f&&t(c.splice(0))}))});return f=!0,()=>{f=!1,o()}}function ye(e,t){const s=C.get(e),[r,l,c]=s;return c(r,l(),t)}const d=S({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),ce={state:d,subscribe(e){return U(d,()=>e(d))},push(e,t){e!==d.view&&(d.view=e,t&&(d.data=t),d.history.push(e))},reset(e){d.view=e,d.history=[e]},replace(e){d.history.length>1&&(d.history[d.history.length-1]=e,d.view=e)},goBack(){if(d.history.length>1){d.history.pop();const[e]=d.history.slice(-1);d.view=e}},setData(e){d.data=e}},p={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return p.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return p.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(p.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let r=e;r.includes("://")||(r=e.replaceAll("/","").replaceAll(":",""),r=`${r}://`),r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},formatUniversalUrl(e,t,s){if(!p.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let r=e;r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},async wait(e){return new Promise(t=>{setTimeout(t,e)})},openHref(e,t){window.open(e,t,"noreferrer noopener")},setWalletConnectDeepLink(e,t){try{localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(p.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(p.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var e;const t=(e=ce.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},ve=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),u=S({enabled:ve,userSessionId:"",events:[],connectedWalletId:void 0}),we={state:u,subscribe(e){return U(u.events,()=>e(ye(u.events[u.events.length-1])))},initialize(){u.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(u.userSessionId=crypto.randomUUID())},setConnectedWalletId(e){u.connectedWalletId=e},click(e){if(u.enabled){const t={type:"CLICK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},track(e){if(u.enabled){const t={type:"TRACK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},view(e){if(u.enabled){const t={type:"VIEW",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}}},E=S({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),w={state:E,subscribe(e){return U(E,()=>e(E))},setChains(e){E.chains=e},setWalletConnectUri(e){E.walletConnectUri=e},setIsCustomDesktop(e){E.isCustomDesktop=e},setIsCustomMobile(e){E.isCustomMobile=e},setIsDataLoaded(e){E.isDataLoaded=e},setIsUiLoaded(e){E.isUiLoaded=e},setIsAuth(e){E.isAuth=e}},B=S({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),k={state:B,subscribe(e){return U(B,()=>e(B))},setConfig(e){var t,s;we.initialize(),w.setChains(e.chains),w.setIsAuth(!!e.enableAuthMode),w.setIsCustomMobile(!!((t=e.mobileWallets)!=null&&t.length)),w.setIsCustomDesktop(!!((s=e.desktopWallets)!=null&&s.length)),p.setModalVersionInStorage(),Object.assign(B,e)}};var Ie=Object.defineProperty,te=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,se=(e,t,s)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Le=(e,t)=>{for(var s in t||(t={}))Ee.call(t,s)&&se(e,s,t[s]);if(te)for(var s of te(t))Oe.call(t,s)&&se(e,s,t[s]);return e};const G="https://explorer-api.walletconnect.com",Q="wcm",X="js-2.6.2";async function K(e,t){const s=Le({sdkType:Q,sdkVersion:X},t),r=new URL(e,G);return r.searchParams.append("projectId",k.state.projectId),Object.entries(s).forEach(([l,c])=>{c&&r.searchParams.append(l,String(c))}),(await fetch(r)).json()}const j={async getDesktopListings(e){return K("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return K("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return K("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return K("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return`${G}/w3m/v1/getWalletImage/${e}?projectId=${k.state.projectId}&sdkType=${Q}&sdkVersion=${X}`},getAssetImageUrl(e){return`${G}/w3m/v1/getAssetImage/${e}?projectId=${k.state.projectId}&sdkType=${Q}&sdkVersion=${X}`}};var We=Object.defineProperty,oe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,ne=(e,t,s)=>t in e?We(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Se=(e,t)=>{for(var s in t||(t={}))Ae.call(t,s)&&ne(e,s,t[s]);if(oe)for(var s of oe(t))Ce.call(t,s)&&ne(e,s,t[s]);return e};const re=p.isMobile(),O=S({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),Ne={state:O,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=k.state;if(e==="NONE"||t==="ALL"&&!e)return O.recomendedWallets;if(p.isArray(e)){const s={recommendedIds:e.join(",")},{listings:r}=await j.getAllListings(s),l=Object.values(r);l.sort((c,m)=>{const f=e.indexOf(c.id),W=e.indexOf(m.id);return f-W}),O.recomendedWallets=l}else{const{chains:s,isAuth:r}=w.state,l=s==null?void 0:s.join(","),c=p.isArray(t),m={page:1,sdks:r?"auth_v1":void 0,entries:p.RECOMMENDED_WALLET_AMOUNT,chains:l,version:2,excludedIds:c?t.join(","):void 0},{listings:f}=re?await j.getMobileListings(m):await j.getDesktopListings(m);O.recomendedWallets=Object.values(f)}return O.recomendedWallets},async getWallets(e){const t=Se({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:r}=k.state,{recomendedWallets:l}=O;if(r==="ALL")return O.wallets;l.length?t.excludedIds=l.map(I=>I.id).join(","):p.isArray(s)&&(t.excludedIds=s.join(",")),p.isArray(r)&&(t.excludedIds=[t.excludedIds,r].filter(Boolean).join(",")),w.state.isAuth&&(t.sdks="auth_v1");const{page:c,search:m}=e,{listings:f,total:W}=re?await j.getMobileListings(t):await j.getDesktopListings(t),o=Object.values(f),h=m?"search":"wallets";return O[h]={listings:[...O[h].listings,...o],total:W,page:c??1},{listings:o,total:W}},getWalletImageUrl(e){return j.getWalletImageUrl(e)},getAssetImageUrl(e){return j.getAssetImageUrl(e)},resetSearch(){O.search={listings:[],total:0,page:1}}},_=S({open:!1}),q={state:_,subscribe(e){return U(_,()=>e(_))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:r}=w.state;if(p.removeWalletConnectDeepLink(),w.setWalletConnectUri(e==null?void 0:e.uri),w.setChains(e==null?void 0:e.chains),ce.reset("ConnectWallet"),s&&r)_.open=!0,t();else{const l=setInterval(()=>{const c=w.state;c.isUiLoaded&&c.isDataLoaded&&(clearInterval(l),_.open=!0,t())},200)}})},close(){_.open=!1}};var De=Object.defineProperty,ae=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ie=(e,t,s)=>t in e?De(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ue=(e,t)=>{for(var s in t||(t={}))je.call(t,s)&&ie(e,s,t[s]);if(ae)for(var s of ae(t))Me.call(t,s)&&ie(e,s,t[s]);return e};function Pe(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const T=S({themeMode:Pe()?"dark":"light"}),le={state:T,subscribe(e){return U(T,()=>e(T))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(T.themeMode=t),s&&(T.themeVariables=Ue({},s))}},M=S({open:!1,message:"",variant:"success"}),Te={state:M,subscribe(e){return U(M,()=>e(M))},openToast(e,t){M.open=!0,M.message=e,M.variant=t},closeToast(){M.open=!1}};class Re{constructor(t){this.openModal=q.open,this.closeModal=q.close,this.subscribeModal=q.subscribe,this.setTheme=le.setThemeConfig,le.setThemeConfig(t),k.setConfig(t),this.initUi()}async initUi(){if(typeof window<"u"){await pe(()=>import("./index-8eb6d603.js"),["./index-8eb6d603.js","./index-47c29602.js","./index-a0525cbb.css"],import.meta.url);const t=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",t),w.setIsUiLoaded(!0)}}}const Ve=Object.freeze(Object.defineProperty({__proto__:null,WalletConnectModal:Re},Symbol.toStringTag,{value:"Module"}));export{we as R,ce as T,p as a,Ve as i,le as n,Te as o,w as p,q as s,Ne as t,k as y}; +import{az as pe}from"./index-183d29bc.js";const fe=Symbol(),Z=Object.getPrototypeOf,F=new WeakMap,me=e=>e&&(F.has(e)?F.get(e):Z(e)===Object.prototype||Z(e)===Array.prototype),ge=e=>me(e)&&e[fe]||null,ee=(e,t=!0)=>{F.set(e,t)},J=e=>typeof e=="object"&&e!==null,C=new WeakMap,x=new WeakSet,he=(e=Object.is,t=(o,h)=>new Proxy(o,h),s=o=>J(o)&&!x.has(o)&&(Array.isArray(o)||!(Symbol.iterator in o))&&!(o instanceof WeakMap)&&!(o instanceof WeakSet)&&!(o instanceof Error)&&!(o instanceof Number)&&!(o instanceof Date)&&!(o instanceof String)&&!(o instanceof RegExp)&&!(o instanceof ArrayBuffer),r=o=>{switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:throw o}},l=new WeakMap,c=(o,h,I=r)=>{const b=l.get(o);if((b==null?void 0:b[0])===h)return b[1];const y=Array.isArray(o)?[]:Object.create(Object.getPrototypeOf(o));return ee(y,!0),l.set(o,[h,y]),Reflect.ownKeys(o).forEach(P=>{if(Object.getOwnPropertyDescriptor(y,P))return;const L=Reflect.get(o,P),D={value:L,enumerable:!0,configurable:!0};if(x.has(L))ee(L,!1);else if(L instanceof Promise)delete D.value,D.get=()=>I(L);else if(C.has(L)){const[v,z]=C.get(L);D.value=c(v,z(),I)}Object.defineProperty(y,P,D)}),Object.preventExtensions(y)},m=new WeakMap,f=[1,1],W=o=>{if(!J(o))throw new Error("object required");const h=m.get(o);if(h)return h;let I=f[0];const b=new Set,y=(i,a=++f[0])=>{I!==a&&(I=a,b.forEach(n=>n(i,a)))};let P=f[1];const L=(i=++f[1])=>(P!==i&&!b.size&&(P=i,v.forEach(([a])=>{const n=a[1](i);n>I&&(I=n)})),I),D=i=>(a,n)=>{const g=[...a];g[1]=[i,...g[1]],y(g,n)},v=new Map,z=(i,a)=>{if(b.size){const n=a[3](D(i));v.set(i,[a,n])}else v.set(i,[a])},Y=i=>{var a;const n=v.get(i);n&&(v.delete(i),(a=n[1])==null||a.call(n))},de=i=>(b.add(i),b.size===1&&v.forEach(([n,g],R)=>{const N=n[3](D(R));v.set(R,[n,N])}),()=>{b.delete(i),b.size===0&&v.forEach(([n,g],R)=>{g&&(g(),v.set(R,[n]))})}),H=Array.isArray(o)?[]:Object.create(Object.getPrototypeOf(o)),V=t(H,{deleteProperty(i,a){const n=Reflect.get(i,a);Y(a);const g=Reflect.deleteProperty(i,a);return g&&y(["delete",[a],n]),g},set(i,a,n,g){const R=Reflect.has(i,a),N=Reflect.get(i,a,g);if(R&&(e(N,n)||m.has(n)&&e(N,m.get(n))))return!0;Y(a),J(n)&&(n=ge(n)||n);let $=n;if(n instanceof Promise)n.then(A=>{n.status="fulfilled",n.value=A,y(["resolve",[a],A])}).catch(A=>{n.status="rejected",n.reason=A,y(["reject",[a],A])});else{!C.has(n)&&s(n)&&($=W(n));const A=!x.has($)&&C.get($);A&&z(a,A)}return Reflect.set(i,a,$,g),y(["set",[a],n,N]),!0}});m.set(o,V);const ue=[H,L,c,de];return C.set(V,ue),Reflect.ownKeys(o).forEach(i=>{const a=Object.getOwnPropertyDescriptor(o,i);"value"in a&&(V[i]=o[i],delete a.value,delete a.writable),Object.defineProperty(H,i,a)}),V})=>[W,C,x,e,t,s,r,l,c,m,f],[be]=he();function S(e={}){return be(e)}function U(e,t,s){const r=C.get(e);let l;const c=[],m=r[3];let f=!1;const o=m(h=>{if(c.push(h),s){t(c.splice(0));return}l||(l=Promise.resolve().then(()=>{l=void 0,f&&t(c.splice(0))}))});return f=!0,()=>{f=!1,o()}}function ye(e,t){const s=C.get(e),[r,l,c]=s;return c(r,l(),t)}const d=S({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),ce={state:d,subscribe(e){return U(d,()=>e(d))},push(e,t){e!==d.view&&(d.view=e,t&&(d.data=t),d.history.push(e))},reset(e){d.view=e,d.history=[e]},replace(e){d.history.length>1&&(d.history[d.history.length-1]=e,d.view=e)},goBack(){if(d.history.length>1){d.history.pop();const[e]=d.history.slice(-1);d.view=e}},setData(e){d.data=e}},p={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return p.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return p.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(p.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let r=e;r.includes("://")||(r=e.replaceAll("/","").replaceAll(":",""),r=`${r}://`),r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},formatUniversalUrl(e,t,s){if(!p.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let r=e;r.endsWith("/")||(r=`${r}/`),this.setWalletConnectDeepLink(r,s);const l=encodeURIComponent(t);return`${r}wc?uri=${l}`},async wait(e){return new Promise(t=>{setTimeout(t,e)})},openHref(e,t){window.open(e,t,"noreferrer noopener")},setWalletConnectDeepLink(e,t){try{localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(p.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(p.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(p.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var e;const t=(e=ce.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},ve=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),u=S({enabled:ve,userSessionId:"",events:[],connectedWalletId:void 0}),we={state:u,subscribe(e){return U(u.events,()=>e(ye(u.events[u.events.length-1])))},initialize(){u.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(u.userSessionId=crypto.randomUUID())},setConnectedWalletId(e){u.connectedWalletId=e},click(e){if(u.enabled){const t={type:"CLICK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},track(e){if(u.enabled){const t={type:"TRACK",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}},view(e){if(u.enabled){const t={type:"VIEW",name:e.name,userSessionId:u.userSessionId,timestamp:Date.now(),data:e};u.events.push(t)}}},E=S({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),w={state:E,subscribe(e){return U(E,()=>e(E))},setChains(e){E.chains=e},setWalletConnectUri(e){E.walletConnectUri=e},setIsCustomDesktop(e){E.isCustomDesktop=e},setIsCustomMobile(e){E.isCustomMobile=e},setIsDataLoaded(e){E.isDataLoaded=e},setIsUiLoaded(e){E.isUiLoaded=e},setIsAuth(e){E.isAuth=e}},B=S({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),k={state:B,subscribe(e){return U(B,()=>e(B))},setConfig(e){var t,s;we.initialize(),w.setChains(e.chains),w.setIsAuth(!!e.enableAuthMode),w.setIsCustomMobile(!!((t=e.mobileWallets)!=null&&t.length)),w.setIsCustomDesktop(!!((s=e.desktopWallets)!=null&&s.length)),p.setModalVersionInStorage(),Object.assign(B,e)}};var Ie=Object.defineProperty,te=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,se=(e,t,s)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Le=(e,t)=>{for(var s in t||(t={}))Ee.call(t,s)&&se(e,s,t[s]);if(te)for(var s of te(t))Oe.call(t,s)&&se(e,s,t[s]);return e};const G="https://explorer-api.walletconnect.com",Q="wcm",X="js-2.6.2";async function K(e,t){const s=Le({sdkType:Q,sdkVersion:X},t),r=new URL(e,G);return r.searchParams.append("projectId",k.state.projectId),Object.entries(s).forEach(([l,c])=>{c&&r.searchParams.append(l,String(c))}),(await fetch(r)).json()}const j={async getDesktopListings(e){return K("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return K("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return K("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return K("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return`${G}/w3m/v1/getWalletImage/${e}?projectId=${k.state.projectId}&sdkType=${Q}&sdkVersion=${X}`},getAssetImageUrl(e){return`${G}/w3m/v1/getAssetImage/${e}?projectId=${k.state.projectId}&sdkType=${Q}&sdkVersion=${X}`}};var We=Object.defineProperty,oe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,ne=(e,t,s)=>t in e?We(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Se=(e,t)=>{for(var s in t||(t={}))Ae.call(t,s)&&ne(e,s,t[s]);if(oe)for(var s of oe(t))Ce.call(t,s)&&ne(e,s,t[s]);return e};const re=p.isMobile(),O=S({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),Ne={state:O,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=k.state;if(e==="NONE"||t==="ALL"&&!e)return O.recomendedWallets;if(p.isArray(e)){const s={recommendedIds:e.join(",")},{listings:r}=await j.getAllListings(s),l=Object.values(r);l.sort((c,m)=>{const f=e.indexOf(c.id),W=e.indexOf(m.id);return f-W}),O.recomendedWallets=l}else{const{chains:s,isAuth:r}=w.state,l=s==null?void 0:s.join(","),c=p.isArray(t),m={page:1,sdks:r?"auth_v1":void 0,entries:p.RECOMMENDED_WALLET_AMOUNT,chains:l,version:2,excludedIds:c?t.join(","):void 0},{listings:f}=re?await j.getMobileListings(m):await j.getDesktopListings(m);O.recomendedWallets=Object.values(f)}return O.recomendedWallets},async getWallets(e){const t=Se({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:r}=k.state,{recomendedWallets:l}=O;if(r==="ALL")return O.wallets;l.length?t.excludedIds=l.map(I=>I.id).join(","):p.isArray(s)&&(t.excludedIds=s.join(",")),p.isArray(r)&&(t.excludedIds=[t.excludedIds,r].filter(Boolean).join(",")),w.state.isAuth&&(t.sdks="auth_v1");const{page:c,search:m}=e,{listings:f,total:W}=re?await j.getMobileListings(t):await j.getDesktopListings(t),o=Object.values(f),h=m?"search":"wallets";return O[h]={listings:[...O[h].listings,...o],total:W,page:c??1},{listings:o,total:W}},getWalletImageUrl(e){return j.getWalletImageUrl(e)},getAssetImageUrl(e){return j.getAssetImageUrl(e)},resetSearch(){O.search={listings:[],total:0,page:1}}},_=S({open:!1}),q={state:_,subscribe(e){return U(_,()=>e(_))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:r}=w.state;if(p.removeWalletConnectDeepLink(),w.setWalletConnectUri(e==null?void 0:e.uri),w.setChains(e==null?void 0:e.chains),ce.reset("ConnectWallet"),s&&r)_.open=!0,t();else{const l=setInterval(()=>{const c=w.state;c.isUiLoaded&&c.isDataLoaded&&(clearInterval(l),_.open=!0,t())},200)}})},close(){_.open=!1}};var De=Object.defineProperty,ae=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ie=(e,t,s)=>t in e?De(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ue=(e,t)=>{for(var s in t||(t={}))je.call(t,s)&&ie(e,s,t[s]);if(ae)for(var s of ae(t))Me.call(t,s)&&ie(e,s,t[s]);return e};function Pe(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const T=S({themeMode:Pe()?"dark":"light"}),le={state:T,subscribe(e){return U(T,()=>e(T))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(T.themeMode=t),s&&(T.themeVariables=Ue({},s))}},M=S({open:!1,message:"",variant:"success"}),Te={state:M,subscribe(e){return U(M,()=>e(M))},openToast(e,t){M.open=!0,M.message=e,M.variant=t},closeToast(){M.open=!1}};class Re{constructor(t){this.openModal=q.open,this.closeModal=q.close,this.subscribeModal=q.subscribe,this.setTheme=le.setThemeConfig,le.setThemeConfig(t),k.setConfig(t),this.initUi()}async initUi(){if(typeof window<"u"){await pe(()=>import("./index-25d6fbfd.js"),["./index-25d6fbfd.js","./index-183d29bc.js","./index-a0525cbb.css"],import.meta.url);const t=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",t),w.setIsUiLoaded(!0)}}}const Ve=Object.freeze(Object.defineProperty({__proto__:null,WalletConnectModal:Re},Symbol.toStringTag,{value:"Module"}));export{we as R,ce as T,p as a,Ve as i,le as n,Te as o,w as p,q as s,Ne as t,k as y}; diff --git a/assets/index-697c89d0.js b/assets/index-cad034e9.js similarity index 99% rename from assets/index-697c89d0.js rename to assets/index-cad034e9.js index a033868c..29f0baa2 100644 --- a/assets/index-697c89d0.js +++ b/assets/index-cad034e9.js @@ -1 +1 @@ -import{g as ce,a as Be,b as ie,c as Qe,d as Ee,l as fe,n as ge}from"./index-47c29602.js";var dA="AEEUdwmgDS8BxQKKAP4BOgDjATAAngDUAIMAoABoAOAAagCOAEQAhABMAHIAOwA9ACsANgAmAGIAHgAuACgAJwAXAC0AGgAjAB8ALwAUACkAEgAeAAkAGwARABkAFgA5ACgALQArADcAFQApABAAHgAiABAAGgAeABMAGAUhBe8BFxREN8sF2wC5AK5HAW8ArQkDzQCuhzc3NzcBP68NEfMABQdHBuw5BV8FYAA9MzkI9r4ZBg7QyQAWA9CeOwLNCjcCjqkChuA/lm+RAsXTAoP6ASfnEQDytQFJAjWVCkeXAOsA6godAB/cwdAUE0WlBCN/AQUCQRjFD/MRBjHxDQSJbw0jBzUAswBxme+tnIcAYwabAysG8QAjAEMMmxcDqgPKQyDXCMMxA7kUQwD3NXOrAKmFIAAfBC0D3x4BJQDBGdUFAhEgVD8JnwmQJiNWYUzrg0oAGwAUAB0AFnNcACkAFgBP9h3gPfsDOWDKneY2ChglX1UDYD30ABsAFAAdABZzIGRAnwDD8wAjAEEMzRbDqgMB2sAFYwXqAtCnAsS4AwpUJKRtFHsadUz9AMMVbwLpABM1NJEX0ZkCgYMBEyMAxRVvAukAEzUBUFAtmUwSAy4DBTER33EftQHfSwB5MxJ/AjkWKQLzL8E/cwBB6QH9LQDPDtO9ASNriQC5DQANAwCK21EFI91zHwCoL9kBqQcHBwcHKzUDowBvAQohPvU3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wuGeO06DIXa6QlKJ3puIyiuAVfPr736vzo2pBirS+Vxel3TMm3JKhz9o2ZoRvaFVpIkykb0Hcm4oHFBMcNSNj7/4GJt43ogonY2Vg4nsDQIWxAcorpXACzgBqQPjYsE/VUpXpwNManEru4NwMCFPkXvMoqvoeLN3qyu/N1eWEHttMD65v19l/0kH2mR35iv/FI+yjoHJ9gPMz67af3Mq/BoWXqu3rphiWMXVkmnPSEkpGpUI2h1MThideGFEOK6YZHPwYzMBvpNC7+ZHxPb7epfefGyIB4JzO9DTNEYnDLVVHdQyvOEVefrk6Uv5kTQYVYWWdqrdcIl7yljwwIWdfQ/y+2QB3eR/qxYObuYyB4gTbo2in4PzarU1sO9nETkmj9/AoxDA+JM3GMqQtJR4jtduHtnoCLxd1gQUscHRB/MoRYIEsP2pDZ9KvHgtlk1iTbWWbHhohwFEYX7y51fUV2nuUmnoUcqnWIQAAgl9LTVX+Bc0QGNEhChxHR4YjfE51PUdGfsSFE6ck7BL3/hTf9jLq4G1IafINxOLKeAtO7quulYvH5YOBc+zX7CrMgWnW47/jfRsWnJjYYoE7xMfWV2HN2iyIqLI";const AA=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]),eA=4;function UA(A){let e=0;function t(){return A[e++]<<8|A[e++]}let l=t(),n=1,r=[0,1];for(let D=1;D>--C&1}const c=31,B=2**c,i=B>>>1,g=i>>1,E=B-1;let f=0;for(let D=0;D1;){let b=p+Z>>>1;D>>1|s(),u=u<<1^i,h=(h^i)<<1|i|1;I=u,S=1+h-u}let P=l-4;return M.map(D=>{switch(D-P){case 3:return P+65792+(A[w++]<<16|A[w++]<<8|A[w++]);case 2:return P+256+(A[w++]<<8|A[w++]);case 1:return P+A[w++];default:return D-1}})}function NA(A){let e=0;return()=>A[e++]}function rA(A){return NA(UA(kA(A)))}function kA(A){let e=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((n,r)=>e[n.charCodeAt(0)]=r);let t=A.length,l=new Uint8Array(6*t>>3);for(let n=0,r=0,o=0,w=0;n=8&&(l[r++]=w>>(o-=8));return l}function FA(A){return A&1?~A>>1:A>>1}function JA(A,e){let t=Array(A);for(let l=0,n=0;l{let e=H(A);if(e.length)return e})}function wA(A){let e=[];for(;;){let t=A();if(t==0)break;e.push(HA(t,A))}for(;;){let t=A()-1;if(t<0)break;e.push(OA(t,A))}return e.flat()}function O(A){let e=[];for(;;){let t=A(e.length);if(!t)break;e.push(t)}return e}function sA(A,e,t){let l=Array(A).fill().map(()=>[]);for(let n=0;nl[o].push(r));return l}function HA(A,e){let t=1+e(),l=e(),n=O(e);return sA(n.length,1+A,e).flatMap((o,w)=>{let[C,...Q]=o;return Array(n[w]).fill().map((s,c)=>{let B=c*l;return[C+c*t,Q.map(i=>i+B)]})})}function OA(A,e){let t=1+e();return sA(t,1+A,e).map(n=>[n[0],n.slice(1)])}function mA(A){let e=[],t=H(A);return n(l([]),[]),e;function l(r){let o=A(),w=O(()=>{let C=H(A).map(Q=>t[Q]);if(C.length)return l(C)});return{S:o,B:w,Q:r}}function n({S:r,B:o},w,C){if(!(r&4&&C===w[w.length-1])){r&2&&(C=w[w.length-1]),r&1&&e.push(w);for(let Q of o)for(let s of Q.Q)n(Q,[...w,s],C)}}}function GA(A){return A.toString(16).toUpperCase().padStart(2,"0")}function CA(A){return`{${GA(A)}}`}function SA(A){let e=[];for(let t=0,l=A.length;t>24&255}function iA(A){return A&16777215}let j,tA,X,V;function ZA(){let A=rA(VA);j=new Map(oA(A).flatMap((e,t)=>e.map(l=>[l,t+1<<24]))),tA=new Set(H(A)),X=new Map,V=new Map;for(let[e,t]of wA(A)){if(!tA.has(e)&&t.length==2){let[l,n]=t,r=V.get(l);r||(r=new Map,V.set(l,r)),r.set(n,e)}X.set(e,t.reverse())}}function QA(A){return A>=m&&A=L&&A=K&&ex&&e0&&n(x+Q)}else{let o=X.get(r);o?t.push(...o):n(r)}if(!t.length)break;r=t.pop()}if(l&&e.length>1){let r=F(e[0]);for(let o=1;o0&&n>=o)o==0?(e.push(l,...t),t.length=0,l=w):t.push(w),n=o;else{let C=bA(l,w);C>=0?l=C:n==0&&o==0?(e.push(l),l=w):(t.push(w),n=o)}}return l>=0&&e.push(l,...t),e}function fA(A){return EA(A).map(iA)}function jA(A){return TA(EA(A))}const nA=45,gA=".",MA=65039,DA=1,d=A=>Array.from(A);function G(A,e){return A.P.has(e)||A.Q.has(e)}class XA extends Array{get is_emoji(){return!0}}let v,uA,a,W,pA,U,T,R,hA,lA,q;function y(){if(v)return;let A=rA(dA);const e=()=>H(A),t=()=>new Set(e());v=new Map(wA(A)),uA=t(),a=e(),W=new Set(e().map(s=>a[s])),a=new Set(a),pA=t(),t();let l=oA(A),n=A();const r=()=>new Set(e().flatMap(s=>l[s]).concat(e()));U=O(s=>{let c=O(A).map(B=>B+96);if(c.length){let B=s>=n;c[0]-=32,c=N(c),B&&(c=`Restricted[${c}]`);let i=r(),g=r(),E=!A();return{N:c,P:i,Q:g,M:E,R:B}}}),T=t(),R=new Map;let o=e().concat(d(T)).sort((s,c)=>s-c);o.forEach((s,c)=>{let B=A(),i=o[c]=B?o[c-B]:{V:[],M:new Map};i.V.push(s),T.has(s)||R.set(s,i)});for(let{V:s,M:c}of new Set(R.values())){let B=[];for(let g of s){let E=U.filter(M=>G(M,g)),f=B.find(({G:M})=>E.some(I=>M.has(I)));f||(f={G:new Set,V:[]},B.push(f)),f.V.push(g),E.forEach(M=>f.G.add(M))}let i=B.flatMap(g=>d(g.G));for(let{G:g,V:E}of B){let f=new Set(i.filter(M=>!g.has(M)));for(let M of E)c.set(M,f)}}let w=new Set,C=new Set;const Q=s=>w.has(s)?C.add(s):w.add(s);for(let s of U){for(let c of s.P)Q(c);for(let c of s.Q)Q(c)}for(let s of w)!R.has(s)&&!C.has(s)&&R.set(s,DA);hA=new Set(d(w).concat(d(fA(w)))),lA=mA(A).map(s=>XA.from(s)).sort(PA),q=new Map;for(let s of lA){let c=[q];for(let B of s){let i=c.map(g=>{let E=g.get(B);return E||(E=new Map,g.set(B,E)),E});B===MA?c.push(...i):c=i}for(let B of c)B.V=s}}function _(A){return(aA(A)?"":`${$(Y([A]))} `)+CA(A)}function $(A){return`"${A}"‎`}function vA(A){if(A.length>=4&&A[2]==nA&&A[3]==nA)throw new Error(`invalid label extension: "${N(A.slice(0,4))}"`)}function WA(A){for(let t=A.lastIndexOf(95);t>0;)if(A[--t]!==95)throw new Error("underscore allowed only at start")}function qA(A){let e=A[0],t=AA.get(e);if(t)throw J(`leading ${t}`);let l=A.length,n=-1;for(let r=1;r{let r=SA(n),o={input:r,offset:l};l+=r.length+1;try{let w=o.tokens=le(r,e,t),C=w.length,Q;if(!C)throw new Error("empty label");let s=o.output=w.flat();if(WA(s),!(o.emoji=C>1||w[0].is_emoji)&&s.every(B=>B<128))vA(s),Q="ASCII";else{let B=w.flatMap(i=>i.is_emoji?[]:i);if(!B.length)Q="Emoji";else{if(a.has(s[0]))throw J("leading combining mark");for(let E=1;Eo.has(w)):d(o),!t.length)return}else l.push(n)}if(t){for(let n of t)if(l.every(r=>G(n,r)))throw new Error(`whole-script confusable: ${A.N}/${n.N}`)}}function ee(A){let e=U;for(let t of A){let l=e.filter(n=>G(n,t));if(!l.length)throw U.some(n=>G(n,t))?RA(e[0],t):IA(t);if(e=l,l.length==1)break}return e}function te(A){return A.map(({input:e,error:t,output:l})=>{if(t){let n=t.message;throw new Error(A.length==1?n:`Invalid label ${$(Y(e))}: ${n}`)}return N(l)}).join(gA)}function IA(A){return new Error(`disallowed character: ${_(A)}`)}function RA(A,e){let t=_(e),l=U.find(n=>n.P.has(e));return l&&(t=`${l.N} ${t}`),new Error(`illegal mixture: ${A.N} + ${t}`)}function J(A){return new Error(`illegal placement: ${A}`)}function ne(A,e){for(let t of e)if(!G(A,t))throw RA(A,t);if(A.M){let t=fA(e);for(let l=1,n=t.length;leA)throw new Error(`excessive non-spacing marks: ${$(Y(t.slice(l-1,r)))} (${r-l}/${eA})`);l=r}}}function le(A,e,t){let l=[],n=[];for(A=A.slice().reverse();A.length;){let r=oe(A);if(r)n.length&&(l.push(e(n)),n=[]),l.push(t(r));else{let o=A.pop();if(hA.has(o))n.push(o);else{let w=v.get(o);if(w)n.push(...w);else if(!uA.has(o))throw IA(o)}}}return n.length&&l.push(e(n)),l}function re(A){return A.filter(e=>e!=MA)}function oe(A,e){let t=q,l,n=A.length;for(;n&&(t=t.get(A[--n]),!!t);){let{V:r}=t;r&&(l=r,e&&e.push(...A.slice(n).reverse()),A.length=n)}return l}function we(A){return _A(A)}export{ce as getEnsAddress,Be as getEnsAvatar,ie as getEnsName,Qe as getEnsResolver,Ee as getEnsText,fe as labelhash,ge as namehash,we as normalize}; +import{g as ce,a as Be,b as ie,c as Qe,d as Ee,l as fe,n as ge}from"./index-183d29bc.js";var dA="AEEUdwmgDS8BxQKKAP4BOgDjATAAngDUAIMAoABoAOAAagCOAEQAhABMAHIAOwA9ACsANgAmAGIAHgAuACgAJwAXAC0AGgAjAB8ALwAUACkAEgAeAAkAGwARABkAFgA5ACgALQArADcAFQApABAAHgAiABAAGgAeABMAGAUhBe8BFxREN8sF2wC5AK5HAW8ArQkDzQCuhzc3NzcBP68NEfMABQdHBuw5BV8FYAA9MzkI9r4ZBg7QyQAWA9CeOwLNCjcCjqkChuA/lm+RAsXTAoP6ASfnEQDytQFJAjWVCkeXAOsA6godAB/cwdAUE0WlBCN/AQUCQRjFD/MRBjHxDQSJbw0jBzUAswBxme+tnIcAYwabAysG8QAjAEMMmxcDqgPKQyDXCMMxA7kUQwD3NXOrAKmFIAAfBC0D3x4BJQDBGdUFAhEgVD8JnwmQJiNWYUzrg0oAGwAUAB0AFnNcACkAFgBP9h3gPfsDOWDKneY2ChglX1UDYD30ABsAFAAdABZzIGRAnwDD8wAjAEEMzRbDqgMB2sAFYwXqAtCnAsS4AwpUJKRtFHsadUz9AMMVbwLpABM1NJEX0ZkCgYMBEyMAxRVvAukAEzUBUFAtmUwSAy4D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IaBZadxJmRzVS/o4yA65RTSViq60oa395Lqw0pzY4SipwE0SXXsKV+GZraGSkr/RW08wPRvqvSUkYBMA9lPx4m24az+IHmCbXA+0faxTRE9wuGeO06DIXa6QlKJ3puIyiuAVfPr736vzo2pBirS+Vxel3TMm3JKhz9o2ZoRvaFVpIkykb0Hcm4oHFBMcNSNj7/4GJt43ogonY2Vg4nsDQIWxAcorpXACzgBqQPjYsE/VUpXpwNManEru4NwMCFPkXvMoqvoeLN3qyu/N1eWEHttMD65v19l/0kH2mR35iv/FI+yjoHJ9gPMz67af3Mq/BoWXqu3rphiWMXVkmnPSEkpGpUI2h1MThideGFEOK6YZHPwYzMBvpNC7+ZHxPb7epfefGyIB4JzO9DTNEYnDLVVHdQyvOEVefrk6Uv5kTQYVYWWdqrdcIl7yljwwIWdfQ/y+2QB3eR/qxYObuYyB4gTbo2in4PzarU1sO9nETkmj9/AoxDA+JM3GMqQtJR4jtduHtnoCLxd1gQUscHRB/MoRYIEsP2pDZ9KvHgtlk1iTbWWbHhohwFEYX7y51fUV2nuUmnoUcqnWIQAAgl9LTVX+Bc0QGNEhChxHR4YjfE51PUdGfsSFE6ck7BL3/hTf9jLq4G1IafINxOLKeAtO7quulYvH5YOBc+zX7CrMgWnW47/jfRsWnJjYYoE7xMfWV2HN2iyIqLI";const AA=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]),eA=4;function UA(A){let e=0;function t(){return A[e++]<<8|A[e++]}let l=t(),n=1,r=[0,1];for(let D=1;D>--C&1}const c=31,B=2**c,i=B>>>1,g=i>>1,E=B-1;let f=0;for(let D=0;D1;){let b=p+Z>>>1;D>>1|s(),u=u<<1^i,h=(h^i)<<1|i|1;I=u,S=1+h-u}let P=l-4;return M.map(D=>{switch(D-P){case 3:return P+65792+(A[w++]<<16|A[w++]<<8|A[w++]);case 2:return P+256+(A[w++]<<8|A[w++]);case 1:return P+A[w++];default:return D-1}})}function NA(A){let e=0;return()=>A[e++]}function rA(A){return NA(UA(kA(A)))}function kA(A){let e=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((n,r)=>e[n.charCodeAt(0)]=r);let t=A.length,l=new Uint8Array(6*t>>3);for(let n=0,r=0,o=0,w=0;n=8&&(l[r++]=w>>(o-=8));return l}function FA(A){return A&1?~A>>1:A>>1}function JA(A,e){let t=Array(A);for(let l=0,n=0;l{let e=H(A);if(e.length)return e})}function wA(A){let e=[];for(;;){let t=A();if(t==0)break;e.push(HA(t,A))}for(;;){let t=A()-1;if(t<0)break;e.push(OA(t,A))}return e.flat()}function O(A){let e=[];for(;;){let t=A(e.length);if(!t)break;e.push(t)}return e}function sA(A,e,t){let l=Array(A).fill().map(()=>[]);for(let n=0;nl[o].push(r));return l}function HA(A,e){let t=1+e(),l=e(),n=O(e);return sA(n.length,1+A,e).flatMap((o,w)=>{let[C,...Q]=o;return Array(n[w]).fill().map((s,c)=>{let B=c*l;return[C+c*t,Q.map(i=>i+B)]})})}function OA(A,e){let t=1+e();return sA(t,1+A,e).map(n=>[n[0],n.slice(1)])}function mA(A){let e=[],t=H(A);return n(l([]),[]),e;function l(r){let o=A(),w=O(()=>{let C=H(A).map(Q=>t[Q]);if(C.length)return l(C)});return{S:o,B:w,Q:r}}function n({S:r,B:o},w,C){if(!(r&4&&C===w[w.length-1])){r&2&&(C=w[w.length-1]),r&1&&e.push(w);for(let Q of o)for(let s of Q.Q)n(Q,[...w,s],C)}}}function GA(A){return A.toString(16).toUpperCase().padStart(2,"0")}function CA(A){return`{${GA(A)}}`}function SA(A){let e=[];for(let t=0,l=A.length;t>24&255}function iA(A){return A&16777215}let j,tA,X,V;function ZA(){let A=rA(VA);j=new Map(oA(A).flatMap((e,t)=>e.map(l=>[l,t+1<<24]))),tA=new Set(H(A)),X=new Map,V=new Map;for(let[e,t]of wA(A)){if(!tA.has(e)&&t.length==2){let[l,n]=t,r=V.get(l);r||(r=new Map,V.set(l,r)),r.set(n,e)}X.set(e,t.reverse())}}function QA(A){return A>=m&&A=L&&A=K&&ex&&e0&&n(x+Q)}else{let o=X.get(r);o?t.push(...o):n(r)}if(!t.length)break;r=t.pop()}if(l&&e.length>1){let r=F(e[0]);for(let o=1;o0&&n>=o)o==0?(e.push(l,...t),t.length=0,l=w):t.push(w),n=o;else{let C=bA(l,w);C>=0?l=C:n==0&&o==0?(e.push(l),l=w):(t.push(w),n=o)}}return l>=0&&e.push(l,...t),e}function fA(A){return EA(A).map(iA)}function jA(A){return TA(EA(A))}const nA=45,gA=".",MA=65039,DA=1,d=A=>Array.from(A);function G(A,e){return A.P.has(e)||A.Q.has(e)}class XA extends Array{get is_emoji(){return!0}}let v,uA,a,W,pA,U,T,R,hA,lA,q;function y(){if(v)return;let A=rA(dA);const e=()=>H(A),t=()=>new Set(e());v=new Map(wA(A)),uA=t(),a=e(),W=new Set(e().map(s=>a[s])),a=new Set(a),pA=t(),t();let l=oA(A),n=A();const r=()=>new Set(e().flatMap(s=>l[s]).concat(e()));U=O(s=>{let c=O(A).map(B=>B+96);if(c.length){let B=s>=n;c[0]-=32,c=N(c),B&&(c=`Restricted[${c}]`);let i=r(),g=r(),E=!A();return{N:c,P:i,Q:g,M:E,R:B}}}),T=t(),R=new Map;let o=e().concat(d(T)).sort((s,c)=>s-c);o.forEach((s,c)=>{let B=A(),i=o[c]=B?o[c-B]:{V:[],M:new Map};i.V.push(s),T.has(s)||R.set(s,i)});for(let{V:s,M:c}of new Set(R.values())){let B=[];for(let g of s){let E=U.filter(M=>G(M,g)),f=B.find(({G:M})=>E.some(I=>M.has(I)));f||(f={G:new Set,V:[]},B.push(f)),f.V.push(g),E.forEach(M=>f.G.add(M))}let i=B.flatMap(g=>d(g.G));for(let{G:g,V:E}of B){let f=new Set(i.filter(M=>!g.has(M)));for(let M of E)c.set(M,f)}}let w=new Set,C=new Set;const Q=s=>w.has(s)?C.add(s):w.add(s);for(let s of U){for(let c of s.P)Q(c);for(let c of s.Q)Q(c)}for(let s of w)!R.has(s)&&!C.has(s)&&R.set(s,DA);hA=new Set(d(w).concat(d(fA(w)))),lA=mA(A).map(s=>XA.from(s)).sort(PA),q=new Map;for(let s of lA){let c=[q];for(let B of s){let i=c.map(g=>{let E=g.get(B);return E||(E=new Map,g.set(B,E)),E});B===MA?c.push(...i):c=i}for(let B of c)B.V=s}}function _(A){return(aA(A)?"":`${$(Y([A]))} `)+CA(A)}function $(A){return`"${A}"‎`}function vA(A){if(A.length>=4&&A[2]==nA&&A[3]==nA)throw new Error(`invalid label extension: "${N(A.slice(0,4))}"`)}function WA(A){for(let t=A.lastIndexOf(95);t>0;)if(A[--t]!==95)throw new Error("underscore allowed only at start")}function qA(A){let e=A[0],t=AA.get(e);if(t)throw J(`leading ${t}`);let l=A.length,n=-1;for(let r=1;r{let r=SA(n),o={input:r,offset:l};l+=r.length+1;try{let w=o.tokens=le(r,e,t),C=w.length,Q;if(!C)throw new Error("empty label");let s=o.output=w.flat();if(WA(s),!(o.emoji=C>1||w[0].is_emoji)&&s.every(B=>B<128))vA(s),Q="ASCII";else{let B=w.flatMap(i=>i.is_emoji?[]:i);if(!B.length)Q="Emoji";else{if(a.has(s[0]))throw J("leading combining mark");for(let E=1;Eo.has(w)):d(o),!t.length)return}else l.push(n)}if(t){for(let n of t)if(l.every(r=>G(n,r)))throw new Error(`whole-script confusable: ${A.N}/${n.N}`)}}function ee(A){let e=U;for(let t of A){let l=e.filter(n=>G(n,t));if(!l.length)throw U.some(n=>G(n,t))?RA(e[0],t):IA(t);if(e=l,l.length==1)break}return e}function te(A){return A.map(({input:e,error:t,output:l})=>{if(t){let n=t.message;throw new Error(A.length==1?n:`Invalid label ${$(Y(e))}: ${n}`)}return N(l)}).join(gA)}function IA(A){return new Error(`disallowed character: ${_(A)}`)}function RA(A,e){let t=_(e),l=U.find(n=>n.P.has(e));return l&&(t=`${l.N} ${t}`),new Error(`illegal mixture: ${A.N} + ${t}`)}function J(A){return new Error(`illegal placement: ${A}`)}function ne(A,e){for(let t of e)if(!G(A,t))throw RA(A,t);if(A.M){let t=fA(e);for(let l=1,n=t.length;leA)throw new Error(`excessive non-spacing marks: ${$(Y(t.slice(l-1,r)))} (${r-l}/${eA})`);l=r}}}function le(A,e,t){let l=[],n=[];for(A=A.slice().reverse();A.length;){let r=oe(A);if(r)n.length&&(l.push(e(n)),n=[]),l.push(t(r));else{let o=A.pop();if(hA.has(o))n.push(o);else{let w=v.get(o);if(w)n.push(...w);else if(!uA.has(o))throw IA(o)}}}return n.length&&l.push(e(n)),l}function re(A){return A.filter(e=>e!=MA)}function oe(A,e){let t=q,l,n=A.length;for(;n&&(t=t.get(A[--n]),!!t);){let{V:r}=t;r&&(l=r,e&&e.push(...A.slice(n).reverse()),A.length=n)}return l}function we(A){return _A(A)}export{ce as getEnsAddress,Be as getEnsAvatar,ie as getEnsName,Qe as getEnsResolver,Ee as getEnsText,fe as labelhash,ge as namehash,we as normalize}; diff --git a/assets/index.es-ccbead0d.js b/assets/index.es-fd383fed.js similarity index 99% rename from assets/index.es-ccbead0d.js rename to assets/index.es-fd383fed.js index 7322b0b3..edaeb940 100644 --- a/assets/index.es-ccbead0d.js +++ b/assets/index.es-fd383fed.js @@ -1,4 +1,4 @@ -import{e as ur,r as Ii,f as o1,h as se,i as Sr,j as a1,w as ql,k as Ml,m as yc,t as yo,o as c1,p as jl,q as bi,D as u1,s as h1,N as Z,u as l1,v as cc,x as f1,V as p1,R as d1,F as Rh,K as g1,y as y1,L as v1,z as Oh,$ as m1,A as w1,B as Qs,Z as Ch,J as _1,X as b1,C as vc,_ as zl,E as Fr,G as E1,H as x1,I as hs,M as Dt,U as er,O as _i,P as cr,Q as I1,S as ls,T as Ul,W as P1,Y as S1,a0 as A1,a1 as Hl,a2 as R1,a3 as kl,a4 as Bl,a5 as ps,a6 as uc,a7 as uo,a8 as gs,a9 as O1,aa as ho,ab as C1,ac as T1,ad as N1,ae as no,af as D1,ag as F1,ah as Ka,ai as Th,aj as $1,ak as L1,al as q1,am as Nh,an as M1,ao as j1,ap as z1,aq as U1,ar as H1,as as k1,at as B1,au as Ks,av as Vl,aw as Ga,ax as V1,ay as K1,az as G1}from"./index-47c29602.js";var vo={},Xs={};Object.defineProperty(Xs,"__esModule",{value:!0});function W1(u){if(typeof u!="string")throw new Error(`Cannot safe json parse value of type ${typeof u}`);try{return JSON.parse(u)}catch{return u}}Xs.safeJsonParse=W1;function J1(u){return typeof u=="string"?u:JSON.stringify(u,(i,r)=>typeof r>"u"?null:r)}Xs.safeJsonStringify=J1;var Ls={exports:{}},Dh;function Q1(){return Dh||(Dh=1,function(){let u;function i(){}u=i,u.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},u.prototype.setItem=function(r,n){this[r]=String(n)},u.prototype.removeItem=function(r){delete this[r]},u.prototype.clear=function(){const r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},u.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},u.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof ur<"u"&&ur.localStorage?Ls.exports=ur.localStorage:typeof window<"u"&&window.localStorage?Ls.exports=window.localStorage:Ls.exports=new i}()),Ls.exports}var Wa={},qs={},Fh;function Y1(){if(Fh)return qs;Fh=1,Object.defineProperty(qs,"__esModule",{value:!0}),qs.IKeyValueStorage=void 0;class u{}return qs.IKeyValueStorage=u,qs}var Ms={},$h;function X1(){if($h)return Ms;$h=1,Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.parseEntry=void 0;const u=Xs;function i(r){var n;return[r[0],u.safeJsonParse((n=r[1])!==null&&n!==void 0?n:"")]}return Ms.parseEntry=i,Ms}var Lh;function Z1(){return Lh||(Lh=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});const i=Ii;i.__exportStar(Y1(),u),i.__exportStar(X1(),u)}(Wa)),Wa}Object.defineProperty(vo,"__esModule",{value:!0});vo.KeyValueStorage=void 0;const fs=Ii,qh=Xs,em=fs.__importDefault(Q1()),tm=Z1();class Kl{constructor(){this.localStorage=em.default}getKeys(){return fs.__awaiter(this,void 0,void 0,function*(){return Object.keys(this.localStorage)})}getEntries(){return fs.__awaiter(this,void 0,void 0,function*(){return Object.entries(this.localStorage).map(tm.parseEntry)})}getItem(i){return fs.__awaiter(this,void 0,void 0,function*(){const r=this.localStorage.getItem(i);if(r!==null)return qh.safeJsonParse(r)})}setItem(i,r){return fs.__awaiter(this,void 0,void 0,function*(){this.localStorage.setItem(i,qh.safeJsonStringify(r))})}removeItem(i){return fs.__awaiter(this,void 0,void 0,function*(){this.localStorage.removeItem(i)})}}vo.KeyValueStorage=Kl;var rm=vo.default=Kl,ys={},js={},Ja={},zs={};let Hi=class{};const im=Object.freeze(Object.defineProperty({__proto__:null,IEvents:Hi},Symbol.toStringTag,{value:"Module"})),sm=o1(im);var Mh;function nm(){if(Mh)return zs;Mh=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.IHeartBeat=void 0;const u=sm;class i extends u.IEvents{constructor(n){super()}}return zs.IHeartBeat=i,zs}var jh;function Gl(){return jh||(jh=1,function(u){Object.defineProperty(u,"__esModule",{value:!0}),Ii.__exportStar(nm(),u)}(Ja)),Ja}var Qa={},zi={},zh;function om(){if(zh)return zi;zh=1,Object.defineProperty(zi,"__esModule",{value:!0}),zi.HEARTBEAT_EVENTS=zi.HEARTBEAT_INTERVAL=void 0;const u=se;return zi.HEARTBEAT_INTERVAL=u.FIVE_SECONDS,zi.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"},zi}var Uh;function Wl(){return Uh||(Uh=1,function(u){Object.defineProperty(u,"__esModule",{value:!0}),Ii.__exportStar(om(),u)}(Qa)),Qa}var Hh;function am(){if(Hh)return js;Hh=1,Object.defineProperty(js,"__esModule",{value:!0}),js.HeartBeat=void 0;const u=Ii,i=Sr,r=se,n=Gl(),o=Wl();class l extends n.IHeartBeat{constructor(v){super(v),this.events=new i.EventEmitter,this.interval=o.HEARTBEAT_INTERVAL,this.interval=(v==null?void 0:v.interval)||o.HEARTBEAT_INTERVAL}static init(v){return u.__awaiter(this,void 0,void 0,function*(){const _=new l(v);return yield _.init(),_})}init(){return u.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(v,_){this.events.on(v,_)}once(v,_){this.events.once(v,_)}off(v,_){this.events.off(v,_)}removeListener(v,_){this.events.removeListener(v,_)}initialize(){return u.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),r.toMiliseconds(this.interval))})}pulse(){this.events.emit(o.HEARTBEAT_EVENTS.pulse)}}return js.HeartBeat=l,js}(function(u){Object.defineProperty(u,"__esModule",{value:!0});const i=Ii;i.__exportStar(am(),u),i.__exportStar(Gl(),u),i.__exportStar(Wl(),u)})(ys);var Ce={},Ya,kh;function cm(){if(kh)return Ya;kh=1;function u(r){try{return JSON.stringify(r)}catch{return'"[Circular]"'}}Ya=i;function i(r,n,o){var l=o&&o.stringify||u,d=1;if(typeof r=="object"&&r!==null){var v=n.length+d;if(v===1)return r;var _=new Array(v);_[0]=l(r);for(var S=1;S-1?K:0,r.charCodeAt(W+1)){case 100:case 102:if(B>=D||n[B]==null)break;K=D||n[B]==null)break;K=D||n[B]===void 0)break;K",K=W+2,W++;break}H+=l(n[B]),K=W+2,W++;break;case 115:if(B>=D)break;K-1&&(ue=!1);const Te=["error","fatal","warn","info","debug","trace"];typeof G=="function"&&(G.error=G.fatal=G.warn=G.info=G.debug=G.trace=G),T.enabled===!1&&(T.level="silent");const ze=T.level||"info",y=Object.create(G);y.log||(y.log=ie),Object.defineProperty(y,"levelVal",{get:Y}),Object.defineProperty(y,"level",{get:ce,set:k});const E={transmit:M,serialize:re,asObject:T.browser.asObject,levels:Te,timestamp:K(T)};y.levels=o.levels,y.level=ze,y.setMaxListeners=y.getMaxListeners=y.emit=y.addListener=y.on=y.prependListener=y.once=y.prependOnceListener=y.removeListener=y.removeAllListeners=y.listeners=y.listenerCount=y.eventNames=y.write=y.flush=ie,y.serializers=ye,y._serialize=re,y._stdErrSerialize=ue,y.child=j,M&&(y._logEvent=H());function Y(){return this.level==="silent"?1/0:this.levels.values[this.level]}function ce(){return this._level}function k(U){if(U!=="silent"&&!this.levels.values[U])throw Error("unknown level "+U);this._level=U,l(E,y,"error","log"),l(E,y,"fatal","error"),l(E,y,"warn","error"),l(E,y,"info","log"),l(E,y,"debug","log"),l(E,y,"trace","log")}function j(U,V){if(!U)throw new Error("missing bindings for child Pino");V=V||{},re&&U.serializers&&(V.serializers=U.serializers);const Je=V.serializers;if(re&&Je){var ke=Object.assign({},ye,Je),Lr=T.browser.serialize===!0?Object.keys(ke):re;delete U.serializers,_([U],Lr,ke,this._stdErrSerialize)}function xe(xt){this._childLevel=(xt._childLevel|0)+1,this.error=S(xt,U,"error"),this.fatal=S(xt,U,"fatal"),this.warn=S(xt,U,"warn"),this.info=S(xt,U,"info"),this.debug=S(xt,U,"debug"),this.trace=S(xt,U,"trace"),ke&&(this.serializers=ke,this._serialize=Lr),M&&(this._logEvent=H([].concat(xt._logEvent.bindings,U)))}return xe.prototype=this,new xe(this)}return y}o.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"}},o.stdSerializers=r,o.stdTimeFunctions=Object.assign({},{nullTime:Ee,epochTime:ge,unixTime:pe,isoTime:he});function l(T,M,G,ye){const re=Object.getPrototypeOf(M);M[G]=M.levelVal>M.levels.values[G]?ie:re[G]?re[G]:i[G]||i[ye]||ie,d(T,M,G)}function d(T,M,G){!T.transmit&&M[G]===ie||(M[G]=function(ye){return function(){const ue=T.timestamp(),Te=new Array(arguments.length),ze=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var y=0;y-1&&ue in G&&(T[re][ue]=G[ue](T[re][ue]))}function S(T,M,G){return function(){const ye=new Array(1+arguments.length);ye[0]=M;for(var re=1;re"u"?S=r(v,_):S=v.bindings().context||"",S}Zt.getLoggerContext=o;function l(v,_,S=u.PINO_CUSTOM_CONTEXT_KEY){const D=o(v,S);return D.trim()?`${D}/${_}`:_}Zt.formatChildLoggerContext=l;function d(v,_,S=u.PINO_CUSTOM_CONTEXT_KEY){const D=l(v,_,S),H=v.child({context:D});return n(H,D,S)}return Zt.generateChildLogger=d,Zt}(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.pino=void 0;const i=Ii,r=i.__importDefault(um());Object.defineProperty(u,"pino",{enumerable:!0,get:function(){return r.default}}),i.__exportStar(Jl(),u),i.__exportStar(hm(),u)})(Ce);class lm extends Hi{constructor(i){super(),this.opts=i,this.protocol="wc",this.version=2}}class fm extends Hi{constructor(i,r){super(),this.core=i,this.logger=r,this.records=new Map}}class pm{constructor(i,r){this.logger=i,this.core=r}}let dm=class extends Hi{constructor(i,r){super(),this.relayer=i,this.logger=r}},gm=class extends Hi{constructor(i){super()}},ym=class{constructor(i,r,n,o){this.core=i,this.logger=r,this.name=n}};class vm extends Hi{constructor(i,r){super(),this.relayer=i,this.logger=r}}let mm=class extends Hi{constructor(i,r){super(),this.core=i,this.logger=r}},wm=class{constructor(i,r){this.projectId=i,this.logger=r}},_m=class{constructor(i){this.opts=i,this.protocol="wc",this.version=2}},bm=class{constructor(i){this.client=i}};const Em=u=>JSON.stringify(u,(i,r)=>typeof r=="bigint"?r.toString()+"n":r),xm=u=>{const i=/([\[:])?(\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,r=u.replace(i,'$1"$2n"$3');return JSON.parse(r,(n,o)=>typeof o=="string"&&o.match(/^\d+n$/)?BigInt(o.substring(0,o.length-1)):o)};function mc(u){if(typeof u!="string")throw new Error(`Cannot safe json parse value of type ${typeof u}`);try{return xm(u)}catch{return u}}function Ys(u){return typeof u=="string"?u:Em(u)||""}var wc={},Ql={};(function(u){Object.defineProperty(u,"__esModule",{value:!0});var i=a1,r=ql;u.DIGEST_LENGTH=64,u.BLOCK_SIZE=128;var n=function(){function v(){this.digestLength=u.DIGEST_LENGTH,this.blockSize=u.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return v.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},v.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},v.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._tempHi),r.wipe(this._tempLo),this.reset()},v.prototype.update=function(_,S){if(S===void 0&&(S=_.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var D=0;if(this._bytesHashed+=S,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=_[D++],S--;this._bufferLength===this.blockSize&&(l(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(S>=this.blockSize&&(D=l(this._tempHi,this._tempLo,this._stateHi,this._stateLo,_,D,S),S%=this.blockSize);S>0;)this._buffer[this._bufferLength++]=_[D++],S--;return this},v.prototype.finish=function(_){if(!this._finished){var S=this._bytesHashed,D=this._bufferLength,H=S/536870912|0,B=S<<3,K=S%128<112?128:256;this._buffer[D]=128;for(var q=D+1;q0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},v.prototype.restoreState=function(_){return this._stateHi.set(_.stateHi),this._stateLo.set(_.stateLo),this._bufferLength=_.bufferLength,_.buffer&&this._buffer.set(_.buffer),this._bytesHashed=_.bytesHashed,this._finished=!1,this},v.prototype.cleanSavedState=function(_){r.wipe(_.stateHi),r.wipe(_.stateLo),_.buffer&&r.wipe(_.buffer),_.bufferLength=0,_.bytesHashed=0},v}();u.SHA512=n;var o=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function l(v,_,S,D,H,B,K){for(var q=S[0],W=S[1],ie=S[2],Ee=S[3],ge=S[4],pe=S[5],he=S[6],le=S[7],T=D[0],M=D[1],G=D[2],ye=D[3],re=D[4],ue=D[5],Te=D[6],ze=D[7],y,E,Y,ce,k,j,U,V;K>=128;){for(var Je=0;Je<16;Je++){var ke=8*Je+B;v[Je]=i.readUint32BE(H,ke),_[Je]=i.readUint32BE(H,ke+4)}for(var Je=0;Je<80;Je++){var Lr=q,xe=W,xt=ie,C=Ee,O=ge,A=pe,c=he,b=le,ee=T,fe=M,_e=G,Ne=ye,Fe=re,Se=ue,It=Te,mt=ze;if(y=le,E=ze,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=(ge>>>14|re<<32-14)^(ge>>>18|re<<32-18)^(re>>>41-32|ge<<32-(41-32)),E=(re>>>14|ge<<32-14)^(re>>>18|ge<<32-18)^(ge>>>41-32|re<<32-(41-32)),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=ge&pe^~ge&he,E=re&ue^~re&Te,k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=o[Je*2],E=o[Je*2+1],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=v[Je%16],E=_[Je%16],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,Y=U&65535|V<<16,ce=k&65535|j<<16,y=Y,E=ce,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=(q>>>28|T<<32-28)^(T>>>34-32|q<<32-(34-32))^(T>>>39-32|q<<32-(39-32)),E=(T>>>28|q<<32-28)^(q>>>34-32|T<<32-(34-32))^(q>>>39-32|T<<32-(39-32)),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=q&W^q&ie^W&ie,E=T&M^T&G^M&G,k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,b=U&65535|V<<16,mt=k&65535|j<<16,y=C,E=Ne,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=Y,E=ce,k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,C=U&65535|V<<16,Ne=k&65535|j<<16,W=Lr,ie=xe,Ee=xt,ge=C,pe=O,he=A,le=c,q=b,M=ee,G=fe,ye=_e,re=Ne,ue=Fe,Te=Se,ze=It,T=mt,Je%16===15)for(var ke=0;ke<16;ke++)y=v[ke],E=_[ke],k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=v[(ke+9)%16],E=_[(ke+9)%16],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,Y=v[(ke+1)%16],ce=_[(ke+1)%16],y=(Y>>>1|ce<<32-1)^(Y>>>8|ce<<32-8)^Y>>>7,E=(ce>>>1|Y<<32-1)^(ce>>>8|Y<<32-8)^(ce>>>7|Y<<32-7),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,Y=v[(ke+14)%16],ce=_[(ke+14)%16],y=(Y>>>19|ce<<32-19)^(ce>>>61-32|Y<<32-(61-32))^Y>>>6,E=(ce>>>19|Y<<32-19)^(Y>>>61-32|ce<<32-(61-32))^(ce>>>6|Y<<32-6),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,v[ke]=U&65535|V<<16,_[ke]=k&65535|j<<16}y=q,E=T,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[0],E=D[0],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[0]=q=U&65535|V<<16,D[0]=T=k&65535|j<<16,y=W,E=M,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[1],E=D[1],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[1]=W=U&65535|V<<16,D[1]=M=k&65535|j<<16,y=ie,E=G,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[2],E=D[2],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[2]=ie=U&65535|V<<16,D[2]=G=k&65535|j<<16,y=Ee,E=ye,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[3],E=D[3],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[3]=Ee=U&65535|V<<16,D[3]=ye=k&65535|j<<16,y=ge,E=re,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[4],E=D[4],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[4]=ge=U&65535|V<<16,D[4]=re=k&65535|j<<16,y=pe,E=ue,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[5],E=D[5],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[5]=pe=U&65535|V<<16,D[5]=ue=k&65535|j<<16,y=he,E=Te,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[6],E=D[6],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[6]=he=U&65535|V<<16,D[6]=Te=k&65535|j<<16,y=le,E=ze,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[7],E=D[7],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[7]=le=U&65535|V<<16,D[7]=ze=k&65535|j<<16,B+=128,K-=128}return B}function d(v){var _=new n;_.update(v);var S=_.digest();return _.clean(),S}u.hash=d})(Ql);(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.convertSecretKeyToX25519=u.convertPublicKeyToX25519=u.verify=u.sign=u.extractPublicKeyFromSecretKey=u.generateKeyPair=u.generateKeyPairFromSeed=u.SEED_LENGTH=u.SECRET_KEY_LENGTH=u.PUBLIC_KEY_LENGTH=u.SIGNATURE_LENGTH=void 0;const i=Ml,r=Ql,n=ql;u.SIGNATURE_LENGTH=64,u.PUBLIC_KEY_LENGTH=32,u.SECRET_KEY_LENGTH=64,u.SEED_LENGTH=32;function o(C){const O=new Float64Array(16);if(C)for(let A=0;A>16&1),A[fe-1]&=65535;A[15]=c[15]-32767-(A[14]>>16&1);const ee=A[15]>>16&1;A[14]&=65535,W(c,A,1-ee)}for(let b=0;b<16;b++)C[2*b]=c[b]&255,C[2*b+1]=c[b]>>8}function Ee(C,O){let A=0;for(let c=0;c<32;c++)A|=C[c]^O[c];return(1&A-1>>>8)-1}function ge(C,O){const A=new Uint8Array(32),c=new Uint8Array(32);return ie(A,C),ie(c,O),Ee(A,c)}function pe(C){const O=new Uint8Array(32);return ie(O,C),O[0]&1}function he(C,O){for(let A=0;A<16;A++)C[A]=O[2*A]+(O[2*A+1]<<8);C[15]&=32767}function le(C,O,A){for(let c=0;c<16;c++)C[c]=O[c]+A[c]}function T(C,O,A){for(let c=0;c<16;c++)C[c]=O[c]-A[c]}function M(C,O,A){let c,b,ee=0,fe=0,_e=0,Ne=0,Fe=0,Se=0,It=0,mt=0,ot=0,Le=0,Ye=0,Xe=0,at=0,Ue=0,Ze=0,De=0,Be=0,ht=0,Me=0,Pt=0,Ft=0,zt=0,Ut=0,qt=0,Gt=0,tr=0,qr=0,Wt=0,Br=0,ui=0,Si=0,lt=A[0],rt=A[1],ft=A[2],pt=A[3],ct=A[4],it=A[5],St=A[6],At=A[7],dt=A[8],Rt=A[9],gt=A[10],wt=A[11],yt=A[12],Qe=A[13],Ot=A[14],Ct=A[15];c=O[0],ee+=c*lt,fe+=c*rt,_e+=c*ft,Ne+=c*pt,Fe+=c*ct,Se+=c*it,It+=c*St,mt+=c*At,ot+=c*dt,Le+=c*Rt,Ye+=c*gt,Xe+=c*wt,at+=c*yt,Ue+=c*Qe,Ze+=c*Ot,De+=c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Be+=c*ft,ht+=c*pt,Me+=c*ct,Pt+=c*it,Ft+=c*St,zt+=c*At,Ut+=c*dt,qt+=c*Rt,Gt+=c*gt,tr+=c*wt,qr+=c*yt,Wt+=c*Qe,Br+=c*Ot,ui+=c*Ct,c=O[15],De+=c*lt,Be+=c*rt,ht+=c*ft,Me+=c*pt,Pt+=c*ct,Ft+=c*it,zt+=c*St,Ut+=c*At,qt+=c*dt,Gt+=c*Rt,tr+=c*gt,qr+=c*wt,Wt+=c*yt,Br+=c*Qe,ui+=c*Ot,Si+=c*Ct,ee+=38*Be,fe+=38*ht,_e+=38*Me,Ne+=38*Pt,Fe+=38*Ft,Se+=38*zt,It+=38*Ut,mt+=38*qt,ot+=38*Gt,Le+=38*tr,Ye+=38*qr,Xe+=38*Wt,at+=38*Br,Ue+=38*ui,Ze+=38*Si,b=1,c=ee+b+65535,b=Math.floor(c/65536),ee=c-b*65536,c=fe+b+65535,b=Math.floor(c/65536),fe=c-b*65536,c=_e+b+65535,b=Math.floor(c/65536),_e=c-b*65536,c=Ne+b+65535,b=Math.floor(c/65536),Ne=c-b*65536,c=Fe+b+65535,b=Math.floor(c/65536),Fe=c-b*65536,c=Se+b+65535,b=Math.floor(c/65536),Se=c-b*65536,c=It+b+65535,b=Math.floor(c/65536),It=c-b*65536,c=mt+b+65535,b=Math.floor(c/65536),mt=c-b*65536,c=ot+b+65535,b=Math.floor(c/65536),ot=c-b*65536,c=Le+b+65535,b=Math.floor(c/65536),Le=c-b*65536,c=Ye+b+65535,b=Math.floor(c/65536),Ye=c-b*65536,c=Xe+b+65535,b=Math.floor(c/65536),Xe=c-b*65536,c=at+b+65535,b=Math.floor(c/65536),at=c-b*65536,c=Ue+b+65535,b=Math.floor(c/65536),Ue=c-b*65536,c=Ze+b+65535,b=Math.floor(c/65536),Ze=c-b*65536,c=De+b+65535,b=Math.floor(c/65536),De=c-b*65536,ee+=b-1+37*(b-1),b=1,c=ee+b+65535,b=Math.floor(c/65536),ee=c-b*65536,c=fe+b+65535,b=Math.floor(c/65536),fe=c-b*65536,c=_e+b+65535,b=Math.floor(c/65536),_e=c-b*65536,c=Ne+b+65535,b=Math.floor(c/65536),Ne=c-b*65536,c=Fe+b+65535,b=Math.floor(c/65536),Fe=c-b*65536,c=Se+b+65535,b=Math.floor(c/65536),Se=c-b*65536,c=It+b+65535,b=Math.floor(c/65536),It=c-b*65536,c=mt+b+65535,b=Math.floor(c/65536),mt=c-b*65536,c=ot+b+65535,b=Math.floor(c/65536),ot=c-b*65536,c=Le+b+65535,b=Math.floor(c/65536),Le=c-b*65536,c=Ye+b+65535,b=Math.floor(c/65536),Ye=c-b*65536,c=Xe+b+65535,b=Math.floor(c/65536),Xe=c-b*65536,c=at+b+65535,b=Math.floor(c/65536),at=c-b*65536,c=Ue+b+65535,b=Math.floor(c/65536),Ue=c-b*65536,c=Ze+b+65535,b=Math.floor(c/65536),Ze=c-b*65536,c=De+b+65535,b=Math.floor(c/65536),De=c-b*65536,ee+=b-1+37*(b-1),C[0]=ee,C[1]=fe,C[2]=_e,C[3]=Ne,C[4]=Fe,C[5]=Se,C[6]=It,C[7]=mt,C[8]=ot,C[9]=Le,C[10]=Ye,C[11]=Xe,C[12]=at,C[13]=Ue,C[14]=Ze,C[15]=De}function G(C,O){M(C,O,O)}function ye(C,O){const A=o();let c;for(c=0;c<16;c++)A[c]=O[c];for(c=253;c>=0;c--)G(A,A),c!==2&&c!==4&&M(A,A,O);for(c=0;c<16;c++)C[c]=A[c]}function re(C,O){const A=o();let c;for(c=0;c<16;c++)A[c]=O[c];for(c=250;c>=0;c--)G(A,A),c!==1&&M(A,A,O);for(c=0;c<16;c++)C[c]=A[c]}function ue(C,O){const A=o(),c=o(),b=o(),ee=o(),fe=o(),_e=o(),Ne=o(),Fe=o(),Se=o();T(A,C[1],C[0]),T(Se,O[1],O[0]),M(A,A,Se),le(c,C[0],C[1]),le(Se,O[0],O[1]),M(c,c,Se),M(b,C[3],O[3]),M(b,b,S),M(ee,C[2],O[2]),le(ee,ee,ee),T(fe,c,A),T(_e,ee,b),le(Ne,ee,b),le(Fe,c,A),M(C[0],fe,_e),M(C[1],Fe,Ne),M(C[2],Ne,_e),M(C[3],fe,Fe)}function Te(C,O,A){for(let c=0;c<4;c++)W(C[c],O[c],A)}function ze(C,O){const A=o(),c=o(),b=o();ye(b,O[2]),M(A,O[0],b),M(c,O[1],b),ie(C,c),C[31]^=pe(A)<<7}function y(C,O,A){K(C[0],d),K(C[1],v),K(C[2],v),K(C[3],d);for(let c=255;c>=0;--c){const b=A[c/8|0]>>(c&7)&1;Te(C,O,b),ue(O,C),ue(C,C),Te(C,O,b)}}function E(C,O){const A=[o(),o(),o(),o()];K(A[0],D),K(A[1],H),K(A[2],v),M(A[3],D,H),y(C,A,O)}function Y(C){if(C.length!==u.SEED_LENGTH)throw new Error(`ed25519: seed must be ${u.SEED_LENGTH} bytes`);const O=(0,r.hash)(C);O[0]&=248,O[31]&=127,O[31]|=64;const A=new Uint8Array(32),c=[o(),o(),o(),o()];E(c,O),ze(A,c);const b=new Uint8Array(64);return b.set(C),b.set(A,32),{publicKey:A,secretKey:b}}u.generateKeyPairFromSeed=Y;function ce(C){const O=(0,i.randomBytes)(32,C),A=Y(O);return(0,n.wipe)(O),A}u.generateKeyPair=ce;function k(C){if(C.length!==u.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${u.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(C.subarray(32))}u.extractPublicKeyFromSecretKey=k;const j=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function U(C,O){let A,c,b,ee;for(c=63;c>=32;--c){for(A=0,b=c-32,ee=c-12;b>4)*j[b],A=O[b]>>8,O[b]&=255;for(b=0;b<32;b++)O[b]-=A*j[b];for(c=0;c<32;c++)O[c+1]+=O[c]>>8,C[c]=O[c]&255}function V(C){const O=new Float64Array(64);for(let A=0;A<64;A++)O[A]=C[A];for(let A=0;A<64;A++)C[A]=0;U(C,O)}function Je(C,O){const A=new Float64Array(64),c=[o(),o(),o(),o()],b=(0,r.hash)(C.subarray(0,32));b[0]&=248,b[31]&=127,b[31]|=64;const ee=new Uint8Array(64);ee.set(b.subarray(32),32);const fe=new r.SHA512;fe.update(ee.subarray(32)),fe.update(O);const _e=fe.digest();fe.clean(),V(_e),E(c,_e),ze(ee,c),fe.reset(),fe.update(ee.subarray(0,32)),fe.update(C.subarray(32)),fe.update(O);const Ne=fe.digest();V(Ne);for(let Fe=0;Fe<32;Fe++)A[Fe]=_e[Fe];for(let Fe=0;Fe<32;Fe++)for(let Se=0;Se<32;Se++)A[Fe+Se]+=Ne[Fe]*b[Se];return U(ee.subarray(32),A),ee}u.sign=Je;function ke(C,O){const A=o(),c=o(),b=o(),ee=o(),fe=o(),_e=o(),Ne=o();return K(C[2],v),he(C[1],O),G(b,C[1]),M(ee,b,_),T(b,b,C[2]),le(ee,C[2],ee),G(fe,ee),G(_e,fe),M(Ne,_e,fe),M(A,Ne,b),M(A,A,ee),re(A,A),M(A,A,b),M(A,A,ee),M(A,A,ee),M(C[0],A,ee),G(c,C[0]),M(c,c,ee),ge(c,b)&&M(C[0],C[0],B),G(c,C[0]),M(c,c,ee),ge(c,b)?-1:(pe(C[0])===O[31]>>7&&T(C[0],d,C[0]),M(C[3],C[0],C[1]),0)}function Lr(C,O,A){const c=new Uint8Array(32),b=[o(),o(),o(),o()],ee=[o(),o(),o(),o()];if(A.length!==u.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${u.SIGNATURE_LENGTH} bytes`);if(ke(ee,C))return!1;const fe=new r.SHA512;fe.update(A.subarray(0,32)),fe.update(C),fe.update(O);const _e=fe.digest();return V(_e),y(b,ee,_e),E(ee,A.subarray(32)),ue(b,ee),ze(c,b),!Ee(A,c)}u.verify=Lr;function xe(C){let O=[o(),o(),o(),o()];if(ke(O,C))throw new Error("Ed25519: invalid public key");let A=o(),c=o(),b=O[1];le(A,v,b),T(c,v,b),ye(c,c),M(A,A,c);let ee=new Uint8Array(32);return ie(ee,A),ee}u.convertPublicKeyToX25519=xe;function xt(C){const O=(0,r.hash)(C.subarray(0,32));O[0]&=248,O[31]&=127,O[31]|=64;const A=new Uint8Array(O.subarray(0,32));return(0,n.wipe)(O),A}u.convertSecretKeyToX25519=xt})(wc);const Im="EdDSA",Pm="JWT",Yl=".",Xl="base64url",Sm="utf8",Am="utf8",Rm=":",Om="did",Cm="key",Gh="base58btc",Tm="z",Nm="K36",Dm=32;function fo(u){return yo(yc(Ys(u),Sm),Xl)}function Zl(u){const i=yc(Nm,Gh),r=Tm+yo(c1([i,u]),Gh);return[Om,Cm,r].join(Rm)}function Fm(u){return yo(u,Xl)}function $m(u){return yc([fo(u.header),fo(u.payload)].join(Yl),Am)}function Lm(u){return[fo(u.header),fo(u.payload),Fm(u.signature)].join(Yl)}function Wh(u=Ml.randomBytes(Dm)){return wc.generateKeyPairFromSeed(u)}async function qm(u,i,r,n,o=se.fromMiliseconds(Date.now())){const l={alg:Im,typ:Pm},d=Zl(n.publicKey),v=o+r,_={iss:d,sub:u,aud:i,iat:o,exp:v},S=$m({header:l,payload:_}),D=wc.sign(n.secretKey,S);return Lm({header:l,payload:_,signature:D})}const Mm="PARSE_ERROR",jm="INVALID_REQUEST",zm="METHOD_NOT_FOUND",Um="INVALID_PARAMS",ef="INTERNAL_ERROR",_c="SERVER_ERROR",Hm=[-32700,-32600,-32601,-32602,-32603],Js={[Mm]:{code:-32700,message:"Parse error"},[jm]:{code:-32600,message:"Invalid Request"},[zm]:{code:-32601,message:"Method not found"},[Um]:{code:-32602,message:"Invalid params"},[ef]:{code:-32603,message:"Internal error"},[_c]:{code:-32e3,message:"Server error"}},tf=_c;function km(u){return Hm.includes(u)}function Jh(u){return Object.keys(Js).includes(u)?Js[u]:Js[tf]}function Bm(u){const i=Object.values(Js).find(r=>r.code===u);return i||Js[tf]}function rf(u,i,r){return u.message.includes("getaddrinfo ENOTFOUND")||u.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${r} RPC url at ${i}`):u}var sf={},ri={},Qh;function Vm(){if(Qh)return ri;Qh=1,Object.defineProperty(ri,"__esModule",{value:!0}),ri.isBrowserCryptoAvailable=ri.getSubtleCrypto=ri.getBrowerCrypto=void 0;function u(){return(ur===null||ur===void 0?void 0:ur.crypto)||(ur===null||ur===void 0?void 0:ur.msCrypto)||{}}ri.getBrowerCrypto=u;function i(){const n=u();return n.subtle||n.webkitSubtle}ri.getSubtleCrypto=i;function r(){return!!u()&&!!i()}return ri.isBrowserCryptoAvailable=r,ri}var ii={},Yh;function Km(){if(Yh)return ii;Yh=1,Object.defineProperty(ii,"__esModule",{value:!0}),ii.isBrowser=ii.isNode=ii.isReactNative=void 0;function u(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}ii.isReactNative=u;function i(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}ii.isNode=i;function r(){return!u()&&!i()}return ii.isBrowser=r,ii}(function(u){Object.defineProperty(u,"__esModule",{value:!0});const i=Ii;i.__exportStar(Vm(),u),i.__exportStar(Km(),u)})(sf);function bc(u=3){const i=Date.now()*Math.pow(10,u),r=Math.floor(Math.random()*Math.pow(10,u));return i+r}function nf(u=6){return BigInt(bc(u))}function ds(u,i,r){return{id:r||bc(),jsonrpc:"2.0",method:u,params:i}}function Ec(u,i){return{id:u,jsonrpc:"2.0",result:i}}function mo(u,i,r){return{id:u,jsonrpc:"2.0",error:Gm(i,r)}}function Gm(u,i){return typeof u>"u"?Jh(ef):(typeof u=="string"&&(u=Object.assign(Object.assign({},Jh(_c)),{message:u})),typeof i<"u"&&(u.data=i),km(u.code)&&(u=Bm(u.code)),u)}class Wm{}class Jm extends Wm{constructor(){super()}}class Qm extends Jm{constructor(i){super()}}const Ym="^https?:",Xm="^wss?:";function Zm(u){const i=u.match(new RegExp(/^\w+:/,"gi"));if(!(!i||!i.length))return i[0]}function of(u,i){const r=Zm(u);return typeof r>"u"?!1:new RegExp(i).test(r)}function Xh(u){return of(u,Ym)}function Zh(u){return of(u,Xm)}function ew(u){return new RegExp("wss?://localhost(:d{2,5})?").test(u)}function af(u){return typeof u=="object"&&"id"in u&&"jsonrpc"in u&&u.jsonrpc==="2.0"}function xc(u){return af(u)&&"method"in u}function wo(u){return af(u)&&(oi(u)||$r(u))}function oi(u){return"result"in u}function $r(u){return"error"in u}class ai extends Qm{constructor(i){super(i),this.events=new Sr.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(i),this.connection.connected&&this.registerEventListeners()}async connect(i=this.connection){await this.open(i)}async disconnect(){await this.close()}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async request(i,r){return this.requestStrict(ds(i.method,i.params||[],i.id||nf().toString()),r)}async requestStrict(i,r){return new Promise(async(n,o)=>{if(!this.connection.connected)try{await this.open()}catch(l){o(l)}this.events.on(`${i.id}`,l=>{$r(l)?o(l.error):n(l.result)});try{await this.connection.send(i,r)}catch(l){o(l)}})}setConnection(i=this.connection){return i}onPayload(i){this.events.emit("payload",i),wo(i)?this.events.emit(`${i.id}`,i):this.events.emit("message",{type:i.method,data:i.params})}onClose(i){i&&i.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${i.code} ${i.reason?`(${i.reason})`:""}`)),this.events.emit("disconnect")}async open(i=this.connection){this.connection===i&&this.connection.connected||(this.connection.connected&&this.close(),typeof i=="string"&&(await this.connection.open(i),i=this.connection),this.connection=this.setConnection(i),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",i=>this.onPayload(i)),this.connection.on("close",i=>this.onClose(i)),this.connection.on("error",i=>this.events.emit("error",i)),this.connection.on("register_error",i=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const tw=()=>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"),rw=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",el=u=>u.split("?")[0],tl=10,iw=tw();class sw{constructor(i){if(this.url=i,this.events=new Sr.EventEmitter,this.registering=!1,!Zh(i))throw new Error(`Provided URL is not compatible with WebSocket connection: ${i}`);this.url=i}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async open(i=this.url){await this.register(i)}async close(){return new Promise((i,r)=>{if(typeof this.socket>"u"){r(new Error("Connection already closed"));return}this.socket.onclose=n=>{this.onClose(n),i()},this.socket.close()})}async send(i,r){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(Ys(i))}catch(n){this.onError(i.id,n)}}register(i=this.url){if(!Zh(i))throw new Error(`Provided URL is not compatible with WebSocket connection: ${i}`);if(this.registering){const r=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=r||this.events.listenerCount("open")>=r)&&this.events.setMaxListeners(r+1),new Promise((n,o)=>{this.events.once("register_error",l=>{this.resetMaxListeners(),o(l)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return o(new Error("WebSocket connection is missing or invalid"));n(this.socket)})})}return this.url=i,this.registering=!0,new Promise((r,n)=>{const o=sf.isReactNative()?void 0:{rejectUnauthorized:!ew(i)},l=new iw(i,[],o);rw()?l.onerror=d=>{const v=d;n(this.emitError(v.error))}:l.on("error",d=>{n(this.emitError(d))}),l.onopen=()=>{this.onOpen(l),r(l)}})}onOpen(i){i.onmessage=r=>this.onPayload(r),i.onclose=r=>this.onClose(r),this.socket=i,this.registering=!1,this.events.emit("open")}onClose(i){this.socket=void 0,this.registering=!1,this.events.emit("close",i)}onPayload(i){if(typeof i.data>"u")return;const r=typeof i.data=="string"?mc(i.data):i.data;this.events.emit("payload",r)}onError(i,r){const n=this.parseError(r),o=n.message||n.toString(),l=mo(i,o);this.events.emit("payload",l)}parseError(i,r=this.url){return rf(i,el(r),"WS")}resetMaxListeners(){this.events.getMaxListeners()>tl&&this.events.setMaxListeners(tl)}emitError(i){const r=this.parseError(new Error((i==null?void 0:i.message)||`WebSocket connection failed for host: ${el(this.url)}`));return this.events.emit("register_error",r),r}}var po={exports:{}};po.exports;(function(u,i){var r=200,n="__lodash_hash_undefined__",o=1,l=2,d=9007199254740991,v="[object Arguments]",_="[object Array]",S="[object AsyncFunction]",D="[object Boolean]",H="[object Date]",B="[object Error]",K="[object Function]",q="[object GeneratorFunction]",W="[object Map]",ie="[object Number]",Ee="[object Null]",ge="[object Object]",pe="[object Promise]",he="[object Proxy]",le="[object RegExp]",T="[object Set]",M="[object String]",G="[object Symbol]",ye="[object Undefined]",re="[object WeakMap]",ue="[object ArrayBuffer]",Te="[object DataView]",ze="[object Float32Array]",y="[object Float64Array]",E="[object Int8Array]",Y="[object Int16Array]",ce="[object Int32Array]",k="[object Uint8Array]",j="[object Uint8ClampedArray]",U="[object Uint16Array]",V="[object Uint32Array]",Je=/[\\^$.*+?()[\]{}|]/g,ke=/^\[object .+?Constructor\]$/,Lr=/^(?:0|[1-9]\d*)$/,xe={};xe[ze]=xe[y]=xe[E]=xe[Y]=xe[ce]=xe[k]=xe[j]=xe[U]=xe[V]=!0,xe[v]=xe[_]=xe[ue]=xe[D]=xe[Te]=xe[H]=xe[B]=xe[K]=xe[W]=xe[ie]=xe[ge]=xe[le]=xe[T]=xe[M]=xe[re]=!1;var xt=typeof ur=="object"&&ur&&ur.Object===Object&&ur,C=typeof self=="object"&&self&&self.Object===Object&&self,O=xt||C||Function("return this")(),A=i&&!i.nodeType&&i,c=A&&!0&&u&&!u.nodeType&&u,b=c&&c.exports===A,ee=b&&xt.process,fe=function(){try{return ee&&ee.binding&&ee.binding("util")}catch{}}(),_e=fe&&fe.isTypedArray;function Ne(g,x){for(var L=-1,Q=g==null?0:g.length,Ke=0,ve=[];++L-1}function Oo(g,x){var L=this.__data__,Q=Ai(L,g);return Q<0?(++this.size,L.push([g,x])):L[Q][1]=x,this}yr.prototype.clear=Po,yr.prototype.delete=So,yr.prototype.get=Ao,yr.prototype.has=Ro,yr.prototype.set=Oo;function Vr(g){var x=-1,L=g==null?0:g.length;for(this.clear();++xTt))return!1;var Ge=ve.get(g);if(Ge&&ve.get(x))return Ge==x;var _t=-1,rr=!0,Nt=L&l?new Ki:void 0;for(ve.set(g,x),ve.set(x,g);++_t-1&&g%1==0&&g-1&&g%1==0&&g<=d}function mn(g){var x=typeof g;return g!=null&&(x=="object"||x=="function")}function Ci(g){return g!=null&&typeof g=="object"}var wn=_e?mt(_e):on;function Ho(g){return zo(g)?sn(g):an(g)}function Ve(){return[]}function He(){return!1}u.exports=Uo})(po,po.exports);var nw=po.exports;const ow=jl(nw);function aw(u,i){if(u.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n>>0,he=new Uint8Array(pe);Ee!==ge;){for(var le=q[Ee],T=0,M=pe-1;(le!==0||T>>0,he[M]=le%v>>>0,le=le/v>>>0;if(le!==0)throw new Error("Non-zero carry");ie=T,Ee++}for(var G=pe-ie;G!==pe&&he[G]===0;)G++;for(var ye=_.repeat(W);G>>0,pe=new Uint8Array(ge);q[W];){var he=r[q.charCodeAt(W)];if(he===255)return;for(var le=0,T=ge-1;(he!==0||le>>0,pe[T]=he%256>>>0,he=he/256>>>0;if(he!==0)throw new Error("Non-zero carry");Ee=le,W++}if(q[W]!==" "){for(var M=ge-Ee;M!==ge&&pe[M]===0;)M++;for(var G=new Uint8Array(ie+(ge-M)),ye=ie;M!==ge;)G[ye++]=pe[M++];return G}}}function K(q){var W=B(q);if(W)return W;throw new Error(`Non-${i} character`)}return{encode:H,decodeUnsafe:B,decode:K}}var cw=aw,uw=cw;const cf=u=>{if(u instanceof Uint8Array&&u.constructor.name==="Uint8Array")return u;if(u instanceof ArrayBuffer)return new Uint8Array(u);if(ArrayBuffer.isView(u))return new Uint8Array(u.buffer,u.byteOffset,u.byteLength);throw new Error("Unknown type, must be binary type")},hw=u=>new TextEncoder().encode(u),lw=u=>new TextDecoder().decode(u);class fw{constructor(i,r,n){this.name=i,this.prefix=r,this.baseEncode=n}encode(i){if(i instanceof Uint8Array)return`${this.prefix}${this.baseEncode(i)}`;throw Error("Unknown type, must be binary type")}}class pw{constructor(i,r,n){if(this.name=i,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(i){if(typeof i=="string"){if(i.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(i)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(i.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(i){return uf(this,i)}}class dw{constructor(i){this.decoders=i}or(i){return uf(this,i)}decode(i){const r=i[0],n=this.decoders[r];if(n)return n.decode(i);throw RangeError(`Unable to decode multibase string ${JSON.stringify(i)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const uf=(u,i)=>new dw({...u.decoders||{[u.prefix]:u},...i.decoders||{[i.prefix]:i}});class gw{constructor(i,r,n,o){this.name=i,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new fw(i,r,n),this.decoder=new pw(i,r,o)}encode(i){return this.encoder.encode(i)}decode(i){return this.decoder.decode(i)}}const _o=({name:u,prefix:i,encode:r,decode:n})=>new gw(u,i,r,n),Zs=({prefix:u,name:i,alphabet:r})=>{const{encode:n,decode:o}=uw(r,i);return _o({prefix:u,name:i,encode:n,decode:l=>cf(o(l))})},yw=(u,i,r,n)=>{const o={};for(let D=0;D=8&&(v-=8,d[S++]=255&_>>v)}if(v>=r||255&_<<8-v)throw new SyntaxError("Unexpected end of data");return d},vw=(u,i,r)=>{const n=i[i.length-1]==="=",o=(1<r;)d-=r,l+=i[o&v>>d];if(d&&(l+=i[o&v<_o({prefix:i,name:u,encode(o){return vw(o,n,r)},decode(o){return yw(o,n,r,u)}}),mw=_o({prefix:"\0",name:"identity",encode:u=>lw(u),decode:u=>hw(u)});var ww=Object.freeze({__proto__:null,identity:mw});const _w=kt({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var bw=Object.freeze({__proto__:null,base2:_w});const Ew=kt({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var xw=Object.freeze({__proto__:null,base8:Ew});const Iw=Zs({prefix:"9",name:"base10",alphabet:"0123456789"});var Pw=Object.freeze({__proto__:null,base10:Iw});const Sw=kt({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Aw=kt({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var Rw=Object.freeze({__proto__:null,base16:Sw,base16upper:Aw});const Ow=kt({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Cw=kt({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Tw=kt({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Nw=kt({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Dw=kt({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Fw=kt({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),$w=kt({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Lw=kt({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),qw=kt({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var Mw=Object.freeze({__proto__:null,base32:Ow,base32upper:Cw,base32pad:Tw,base32padupper:Nw,base32hex:Dw,base32hexupper:Fw,base32hexpad:$w,base32hexpadupper:Lw,base32z:qw});const jw=Zs({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),zw=Zs({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var Uw=Object.freeze({__proto__:null,base36:jw,base36upper:zw});const Hw=Zs({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),kw=Zs({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var Bw=Object.freeze({__proto__:null,base58btc:Hw,base58flickr:kw});const Vw=kt({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Kw=kt({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Gw=kt({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Ww=kt({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var Jw=Object.freeze({__proto__:null,base64:Vw,base64pad:Kw,base64url:Gw,base64urlpad:Ww});const hf=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),Qw=hf.reduce((u,i,r)=>(u[r]=i,u),[]),Yw=hf.reduce((u,i,r)=>(u[i.codePointAt(0)]=r,u),[]);function Xw(u){return u.reduce((i,r)=>(i+=Qw[r],i),"")}function Zw(u){const i=[];for(const r of u){const n=Yw[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);i.push(n)}return new Uint8Array(i)}const e_=_o({prefix:"🚀",name:"base256emoji",encode:Xw,decode:Zw});var t_=Object.freeze({__proto__:null,base256emoji:e_}),r_=lf,rl=128,i_=127,s_=~i_,n_=Math.pow(2,31);function lf(u,i,r){i=i||[],r=r||0;for(var n=r;u>=n_;)i[r++]=u&255|rl,u/=128;for(;u&s_;)i[r++]=u&255|rl,u>>>=7;return i[r]=u|0,lf.bytes=r-n+1,i}var o_=hc,a_=128,il=127;function hc(u,n){var r=0,n=n||0,o=0,l=n,d,v=u.length;do{if(l>=v)throw hc.bytes=0,new RangeError("Could not decode varint");d=u[l++],r+=o<28?(d&il)<=a_);return hc.bytes=l-n,r}var c_=Math.pow(2,7),u_=Math.pow(2,14),h_=Math.pow(2,21),l_=Math.pow(2,28),f_=Math.pow(2,35),p_=Math.pow(2,42),d_=Math.pow(2,49),g_=Math.pow(2,56),y_=Math.pow(2,63),v_=function(u){return u(ff.encode(u,i,r),i),nl=u=>ff.encodingLength(u),lc=(u,i)=>{const r=i.byteLength,n=nl(u),o=n+nl(r),l=new Uint8Array(o+r);return sl(u,l,0),sl(r,l,n),l.set(i,o),new w_(u,r,i,l)};class w_{constructor(i,r,n,o){this.code=i,this.size=r,this.digest=n,this.bytes=o}}const pf=({name:u,code:i,encode:r})=>new __(u,i,r);class __{constructor(i,r,n){this.name=i,this.code=r,this.encode=n}digest(i){if(i instanceof Uint8Array){const r=this.encode(i);return r instanceof Uint8Array?lc(this.code,r):r.then(n=>lc(this.code,n))}else throw Error("Unknown type, must be binary type")}}const df=u=>async i=>new Uint8Array(await crypto.subtle.digest(u,i)),b_=pf({name:"sha2-256",code:18,encode:df("SHA-256")}),E_=pf({name:"sha2-512",code:19,encode:df("SHA-512")});var x_=Object.freeze({__proto__:null,sha256:b_,sha512:E_});const gf=0,I_="identity",yf=cf,P_=u=>lc(gf,yf(u)),S_={code:gf,name:I_,encode:yf,digest:P_};var A_=Object.freeze({__proto__:null,identity:S_});new TextEncoder,new TextDecoder;const ol={...ww,...bw,...xw,...Pw,...Rw,...Mw,...Uw,...Bw,...Jw,...t_};({...x_,...A_});function vf(u){return globalThis.Buffer!=null?new Uint8Array(u.buffer,u.byteOffset,u.byteLength):u}function R_(u=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?vf(globalThis.Buffer.allocUnsafe(u)):new Uint8Array(u)}function mf(u,i,r,n){return{name:u,prefix:i,encoder:{name:u,prefix:i,encode:r},decoder:{decode:n}}}const al=mf("utf8","u",u=>"u"+new TextDecoder("utf8").decode(u),u=>new TextEncoder().encode(u.substring(1))),Za=mf("ascii","a",u=>{let i="a";for(let r=0;r{u=u.substring(1);const i=R_(u.length);for(let r=0;r{if(!this.initialized){const n=await this.getKeyChain();typeof n<"u"&&(this.keychain=n),this.initialized=!0}},this.has=n=>(this.isInitialized(),this.keychain.has(n)),this.set=async(n,o)=>{this.isInitialized(),this.keychain.set(n,o),await this.persist()},this.get=n=>{this.isInitialized();const o=this.keychain.get(n);if(typeof o>"u"){const{message:l}=Z("NO_MATCHING_KEY",`${this.name}: ${n}`);throw new Error(l)}return o},this.del=async n=>{this.isInitialized(),this.keychain.delete(n),await this.persist()},this.core=i,this.logger=Ce.generateChildLogger(r,this.name)}get context(){return Ce.getLoggerContext(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(i){await this.core.storage.setItem(this.storageKey,kl(i))}async getKeyChain(){const i=await this.core.storage.getItem(this.storageKey);return typeof i<"u"?Bl(i):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class ob{constructor(i,r,n){this.core=i,this.logger=r,this.name=F_,this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=o=>(this.isInitialized(),this.keychain.has(o)),this.getClientId=async()=>{this.isInitialized();const o=await this.getClientSeed(),l=Wh(o);return Zl(l.publicKey)},this.generateKeyPair=()=>{this.isInitialized();const o=l1();return this.setPrivateKey(o.publicKey,o.privateKey)},this.signJWT=async o=>{this.isInitialized();const l=await this.getClientSeed(),d=Wh(l),v=cc();return await qm(v,o,$_,d)},this.generateSharedKey=(o,l,d)=>{this.isInitialized();const v=this.getPrivateKey(o),_=f1(v,l);return this.setSymKey(_,d)},this.setSymKey=async(o,l)=>{this.isInitialized();const d=l||p1(o);return await this.keychain.set(d,o),d},this.deleteKeyPair=async o=>{this.isInitialized(),await this.keychain.del(o)},this.deleteSymKey=async o=>{this.isInitialized(),await this.keychain.del(o)},this.encode=async(o,l,d)=>{this.isInitialized();const v=d1(d),_=Ys(l);if(Rh(v)){const B=v.senderPublicKey,K=v.receiverPublicKey;o=await this.generateSharedKey(B,K)}const S=this.getSymKey(o),{type:D,senderPublicKey:H}=v;return g1({type:D,symKey:S,message:_,senderPublicKey:H})},this.decode=async(o,l,d)=>{this.isInitialized();const v=y1(l,d);if(Rh(v)){const _=v.receiverPublicKey,S=v.senderPublicKey;o=await this.generateSharedKey(_,S)}try{const _=this.getSymKey(o),S=v1({symKey:_,encoded:l});return mc(S)}catch(_){this.logger.error(`Failed to decode message from topic: '${o}', clientId: '${await this.getClientId()}'`),this.logger.error(_)}},this.getPayloadType=o=>{const l=Oh(o);return m1(l.type)},this.getPayloadSenderPublicKey=o=>{const l=Oh(o);return l.senderPublicKey?yo(l.senderPublicKey,w1):void 0},this.core=i,this.logger=Ce.generateChildLogger(r,this.name),this.keychain=n||new nb(this.core,this.logger)}get context(){return Ce.getLoggerContext(this.logger)}async setPrivateKey(i,r){return await this.keychain.set(i,r),i}getPrivateKey(i){return this.keychain.get(i)}async getClientSeed(){let i="";try{i=this.keychain.get(cl)}catch{i=cc(),await this.keychain.set(cl,i)}return C_(i,"base16")}getSymKey(i){return this.keychain.get(i)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class ab extends pm{constructor(i,r){super(i,r),this.logger=i,this.core=r,this.messages=new Map,this.name=M_,this.version=j_,this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const n=await this.getRelayerMessages();typeof n<"u"&&(this.messages=n),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(n){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(n)}finally{this.initialized=!0}}},this.set=async(n,o)=>{this.isInitialized();const l=ps(o);let d=this.messages.get(n);return typeof d>"u"&&(d={}),typeof d[l]<"u"||(d[l]=o,this.messages.set(n,d),await this.persist()),l},this.get=n=>{this.isInitialized();let o=this.messages.get(n);return typeof o>"u"&&(o={}),o},this.has=(n,o)=>{this.isInitialized();const l=this.get(n),d=ps(o);return typeof l[d]<"u"},this.del=async n=>{this.isInitialized(),this.messages.delete(n),await this.persist()},this.logger=Ce.generateChildLogger(i,this.name),this.core=r}get context(){return Ce.getLoggerContext(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(i){await this.core.storage.setItem(this.storageKey,kl(i))}async getRelayerMessages(){const i=await this.core.storage.getItem(this.storageKey);return typeof i<"u"?Bl(i):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class cb extends dm{constructor(i,r){super(i,r),this.relayer=i,this.logger=r,this.events=new Sr.EventEmitter,this.name=U_,this.queue=new Map,this.publishTimeout=se.toMiliseconds(se.TEN_SECONDS),this.needsTransportRestart=!1,this.publish=async(n,o,l)=>{var d;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:n,message:o,opts:l}});try{const v=(l==null?void 0:l.ttl)||z_,_=uc(l),S=(l==null?void 0:l.prompt)||!1,D=(l==null?void 0:l.tag)||0,H=(l==null?void 0:l.id)||nf().toString(),B={topic:n,message:o,opts:{ttl:v,relay:_,prompt:S,tag:D,id:H}},K=setTimeout(()=>this.queue.set(H,B),this.publishTimeout);try{await await Qs(this.rpcPublish(n,o,v,_,S,D,H),this.publishTimeout,"Failed to publish payload, please try again."),this.removeRequestFromQueue(H),this.relayer.events.emit(Kt.publish,B)}catch(q){if(this.logger.debug("Publishing Payload stalled"),this.needsTransportRestart=!0,(d=l==null?void 0:l.internal)!=null&&d.throwOnFailedPublish)throw this.removeRequestFromQueue(H),q;return}finally{clearTimeout(K)}this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:n,message:o,opts:l}})}catch(v){throw this.logger.debug("Failed to Publish Payload"),this.logger.error(v),v}},this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.relayer=i,this.logger=Ce.generateChildLogger(r,this.name),this.registerEventListeners()}get context(){return Ce.getLoggerContext(this.logger)}rpcPublish(i,r,n,o,l,d,v){var _,S,D,H;const B={method:uo(o.protocol).publish,params:{topic:i,message:r,ttl:n,prompt:l,tag:d},id:v};return bi((_=B.params)==null?void 0:_.prompt)&&((S=B.params)==null||delete S.prompt),bi((D=B.params)==null?void 0:D.tag)&&((H=B.params)==null||delete H.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:B}),this.relayer.request(B)}removeRequestFromQueue(i){this.queue.delete(i)}checkQueue(){this.queue.forEach(async i=>{const{topic:r,message:n,opts:o}=i;await this.publish(r,n,o)})}registerEventListeners(){this.relayer.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(Kt.connection_stalled);return}this.checkQueue()}),this.relayer.on(Kt.message_ack,i=>{this.removeRequestFromQueue(i.id.toString())})}}class ub{constructor(){this.map=new Map,this.set=(i,r)=>{const n=this.get(i);this.exists(i,r)||this.map.set(i,[...n,r])},this.get=i=>this.map.get(i)||[],this.exists=(i,r)=>this.get(i).includes(r),this.delete=(i,r)=>{if(typeof r>"u"){this.map.delete(i);return}if(!this.map.has(i))return;const n=this.get(i);if(!this.exists(i,r))return;const o=n.filter(l=>l!==r);if(!o.length){this.map.delete(i);return}this.map.set(i,o)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}}var hb=Object.defineProperty,lb=Object.defineProperties,fb=Object.getOwnPropertyDescriptors,ll=Object.getOwnPropertySymbols,pb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,fl=(u,i,r)=>i in u?hb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,Hs=(u,i)=>{for(var r in i||(i={}))pb.call(i,r)&&fl(u,r,i[r]);if(ll)for(var r of ll(i))db.call(i,r)&&fl(u,r,i[r]);return u},tc=(u,i)=>lb(u,fb(i));class gb extends vm{constructor(i,r){super(i,r),this.relayer=i,this.logger=r,this.subscriptions=new Map,this.topicMap=new ub,this.events=new Sr.EventEmitter,this.name=Q_,this.version=Y_,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=Ei,this.subscribeTimeout=1e4,this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(n,o)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:n,opts:o}});try{const l=uc(o),d={topic:n,relay:l};this.pending.set(n,d);const v=await this.rpcSubscribe(n,l);return this.onSubscribe(v,d),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:n,opts:o}}),v}catch(l){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(l),l}},this.unsubscribe=async(n,o)=>{await this.restartToComplete(),this.isInitialized(),typeof(o==null?void 0:o.id)<"u"?await this.unsubscribeById(n,o.id,o):await this.unsubscribeByTopic(n,o)},this.isSubscribed=async n=>this.topics.includes(n)?!0:await new Promise((o,l)=>{const d=new se.Watch;d.start(this.pendingSubscriptionWatchLabel);const v=setInterval(()=>{!this.pending.has(n)&&this.topics.includes(n)&&(clearInterval(v),d.stop(this.pendingSubscriptionWatchLabel),o(!0)),d.elapsed(this.pendingSubscriptionWatchLabel)>=X_&&(clearInterval(v),d.stop(this.pendingSubscriptionWatchLabel),l(new Error("Subscription resolution timeout")))},this.pollingInterval)}).catch(()=>!1),this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=i,this.logger=Ce.generateChildLogger(r,this.name),this.clientId=""}get context(){return Ce.getLoggerContext(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}hasSubscription(i,r){let n=!1;try{n=this.getSubscription(i).topic===r}catch{}return n}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(i,r){const n=this.topicMap.get(i);await Promise.all(n.map(async o=>await this.unsubscribeById(i,o,r)))}async unsubscribeById(i,r,n){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:i,id:r,opts:n}});try{const o=uc(n);await this.rpcUnsubscribe(i,r,o);const l=er("USER_DISCONNECTED",`${this.name}, ${i}`);await this.onUnsubscribe(i,r,l),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:i,id:r,opts:n}})}catch(o){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(o),o}}async rpcSubscribe(i,r){const n={method:uo(r.protocol).subscribe,params:{topic:i}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:n});try{await await Qs(this.relayer.request(n),this.subscribeTimeout)}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Kt.connection_stalled)}return ps(i+this.clientId)}async rpcBatchSubscribe(i){if(!i.length)return;const r=i[0].relay,n={method:uo(r.protocol).batchSubscribe,params:{topics:i.map(o=>o.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:n});try{return await await Qs(this.relayer.request(n),this.subscribeTimeout)}catch{this.logger.debug("Outgoing Relay Payload stalled"),this.relayer.events.emit(Kt.connection_stalled)}}rpcUnsubscribe(i,r,n){const o={method:uo(n.protocol).unsubscribe,params:{topic:i,id:r}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:o}),this.relayer.request(o)}onSubscribe(i,r){this.setSubscription(i,tc(Hs({},r),{id:i})),this.pending.delete(r.topic)}onBatchSubscribe(i){i.length&&i.forEach(r=>{this.setSubscription(r.id,Hs({},r)),this.pending.delete(r.topic)})}async onUnsubscribe(i,r,n){this.events.removeAllListeners(r),this.hasSubscription(r,i)&&this.deleteSubscription(r,n),await this.relayer.messages.del(i)}async setRelayerSubscriptions(i){await this.relayer.core.storage.setItem(this.storageKey,i)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(i,r){this.subscriptions.has(i)||(this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:i,subscription:r}),this.addSubscription(i,r))}addSubscription(i,r){this.subscriptions.set(i,Hs({},r)),this.topicMap.set(r.topic,i),this.events.emit(Dr.created,r)}getSubscription(i){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:i});const r=this.subscriptions.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw new Error(n)}return r}deleteSubscription(i,r){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:i,reason:r});const n=this.getSubscription(i);this.subscriptions.delete(i),this.topicMap.delete(n.topic,i),this.events.emit(Dr.deleted,tc(Hs({},n),{reason:r}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Dr.sync)}async reset(){if(this.cached.length){const i=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let r=0;r"u"||!i.length)return;if(this.subscriptions.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(i){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(i)}}async batchSubscribe(i){if(!i.length)return;const r=await this.rpcBatchSubscribe(i);gs(r)&&this.onBatchSubscribe(r.map((n,o)=>tc(Hs({},i[o]),{id:n})))}async onConnect(){this.restartInProgress||(await this.restart(),this.onEnable())}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||this.relayer.transportExplicitlyClosed)return;const i=[];this.pending.forEach(r=>{i.push(r)}),await this.batchSubscribe(i)}registerEventListeners(){this.relayer.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.relayer.on(Kt.connect,async()=>{await this.onConnect()}),this.relayer.on(Kt.disconnect,()=>{this.onDisconnect()}),this.events.on(Dr.created,async i=>{const r=Dr.created;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),await this.persist()}),this.events.on(Dr.deleted,async i=>{const r=Dr.deleted;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),await this.persist()})}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}async restartToComplete(){this.restartInProgress&&await new Promise(i=>{const r=setInterval(()=>{this.restartInProgress||(clearInterval(r),i())},this.pollingInterval)})}}var yb=Object.defineProperty,pl=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,mb=Object.prototype.propertyIsEnumerable,dl=(u,i,r)=>i in u?yb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,wb=(u,i)=>{for(var r in i||(i={}))vb.call(i,r)&&dl(u,r,i[r]);if(pl)for(var r of pl(i))mb.call(i,r)&&dl(u,r,i[r]);return u};class _b extends gm{constructor(i){super(i),this.protocol="wc",this.version=2,this.events=new Sr.EventEmitter,this.name=k_,this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","socket stalled"],this.hasExperiencedNetworkDisruption=!1,this.request=async r=>{this.logger.debug("Publishing Request Payload");try{return await this.toEstablishConnection(),await this.provider.request(r)}catch(n){throw this.logger.debug("Failed to Publish Request"),this.logger.error(n),n}},this.onPayloadHandler=r=>{this.onProviderPayload(r)},this.onConnectHandler=()=>{this.events.emit(Kt.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=r=>{this.logger.error(r),this.events.emit(Kt.error,r),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(si.payload,this.onPayloadHandler),this.provider.on(si.connect,this.onConnectHandler),this.provider.on(si.disconnect,this.onDisconnectHandler),this.provider.on(si.error,this.onProviderErrorHandler)},this.core=i.core,this.logger=typeof i.logger<"u"&&typeof i.logger!="string"?Ce.generateChildLogger(i.logger,this.name):Ce.pino(Ce.getDefaultLoggerOptions({level:i.logger||H_})),this.messages=new ab(this.logger,i.core),this.subscriber=new gb(this,this.logger),this.publisher=new cb(this,this.logger),this.relayUrl=(i==null?void 0:i.relayUrl)||bf,this.projectId=i.projectId,this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await this.createProvider(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn(`Connection via ${this.relayUrl} failed, attempting to connect via failover domain ${ul}...`),await this.restartTransport(ul)}this.initialized=!0,setTimeout(async()=>{this.subscriber.topics.length===0&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)},G_)}get context(){return Ce.getLoggerContext(this.logger)}get connected(){return this.provider.connection.connected}get connecting(){return this.provider.connection.connecting}async publish(i,r,n){this.isInitialized(),await this.publisher.publish(i,r,n),await this.recordMessageEvent({topic:i,message:r,publishedAt:Date.now()})}async subscribe(i,r){var n;this.isInitialized();let o=((n=this.subscriber.topicMap.get(i))==null?void 0:n[0])||"";if(o)return o;let l;const d=v=>{v.topic===i&&(this.subscriber.off(Dr.created,d),l())};return await Promise.all([new Promise(v=>{l=v,this.subscriber.on(Dr.created,d)}),new Promise(async v=>{o=await this.subscriber.subscribe(i,r),v()})]),o}async unsubscribe(i,r){this.isInitialized(),await this.subscriber.unsubscribe(i,r)}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async transportClose(){this.transportExplicitlyClosed=!0,this.hasExperiencedNetworkDisruption&&this.connected?await Qs(this.provider.disconnect(),1e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.connected&&await this.provider.disconnect()}async transportOpen(i){if(this.transportExplicitlyClosed=!1,await this.confirmOnlineStateOrThrow(),!this.connectionAttemptInProgress){i&&i!==this.relayUrl&&(this.relayUrl=i,await this.transportClose(),await this.createProvider()),this.connectionAttemptInProgress=!0;try{await Promise.all([new Promise(r=>{if(!this.initialized)return r();this.subscriber.once(Dr.resubscribed,()=>{r()})}),new Promise(async(r,n)=>{try{await Qs(this.provider.connect(),1e4,`Socket stalled when trying to connect to ${this.relayUrl}`)}catch(o){n(o);return}r()})])}catch(r){this.logger.error(r);const n=r;if(!this.isConnectionStalled(n.message))throw r;this.provider.events.emit(si.disconnect)}finally{this.connectionAttemptInProgress=!1,this.hasExperiencedNetworkDisruption=!1}}}async restartTransport(i){await this.confirmOnlineStateOrThrow(),!this.connectionAttemptInProgress&&(this.relayUrl=i||this.relayUrl,await this.transportClose(),await this.createProvider(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await Ch())throw new Error("No internet connection detected. Please restart your network and try again.")}isConnectionStalled(i){return this.staleConnectionErrors.some(r=>i.includes(r))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const i=await this.core.crypto.signJWT(this.relayUrl);this.provider=new ai(new sw(_1({sdkVersion:K_,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:i,useOnCloseEvent:!0}))),this.registerProviderListeners()}async recordMessageEvent(i){const{topic:r,message:n}=i;await this.messages.set(r,n)}async shouldIgnoreMessageEvent(i){const{topic:r,message:n}=i;if(!n||n.length===0)return this.logger.debug(`Ignoring invalid/empty message: ${n}`),!0;if(!await this.subscriber.isSubscribed(r))return this.logger.debug(`Ignoring message for non-subscribed topic ${r}`),!0;const o=this.messages.has(r,n);return o&&this.logger.debug(`Ignoring duplicate message: ${n}`),o}async onProviderPayload(i){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:i}),xc(i)){if(!i.method.endsWith(B_))return;const r=i.params,{topic:n,message:o,publishedAt:l}=r.data,d={topic:n,message:o,publishedAt:l};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(wb({type:"event",event:r.id},d)),this.events.emit(r.id,d),await this.acknowledgePayload(i),await this.onMessageEvent(d)}else wo(i)&&this.events.emit(Kt.message_ack,i)}async onMessageEvent(i){await this.shouldIgnoreMessageEvent(i)||(this.events.emit(Kt.message,i),await this.recordMessageEvent(i))}async acknowledgePayload(i){const r=Ec(i.id,!0);await this.provider.connection.send(r)}unregisterProviderListeners(){this.provider.off(si.payload,this.onPayloadHandler),this.provider.off(si.connect,this.onConnectHandler),this.provider.off(si.disconnect,this.onDisconnectHandler),this.provider.off(si.error,this.onProviderErrorHandler)}async registerEventListeners(){this.events.on(Kt.connection_stalled,()=>{this.restartTransport().catch(r=>this.logger.error(r))});let i=await Ch();b1(async r=>{this.initialized&&i!==r&&(i=r,r?await this.restartTransport().catch(n=>this.logger.error(n)):(this.hasExperiencedNetworkDisruption=!0,await this.transportClose().catch(n=>this.logger.error(n))))})}onProviderDisconnect(){this.events.emit(Kt.disconnect),this.attemptToReconnect()}attemptToReconnect(){this.transportExplicitlyClosed||(this.logger.info("attemptToReconnect called. Connecting..."),setTimeout(async()=>{await this.restartTransport().catch(i=>this.logger.error(i))},se.toMiliseconds(V_)))}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}async toEstablishConnection(){if(await this.confirmOnlineStateOrThrow(),!this.connected){if(this.connectionAttemptInProgress)return await new Promise(i=>{const r=setInterval(()=>{this.connected&&(clearInterval(r),i())},this.connectionStatusPollingInterval)});await this.restartTransport()}}}var bb=Object.defineProperty,gl=Object.getOwnPropertySymbols,Eb=Object.prototype.hasOwnProperty,xb=Object.prototype.propertyIsEnumerable,yl=(u,i,r)=>i in u?bb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,vl=(u,i)=>{for(var r in i||(i={}))Eb.call(i,r)&&yl(u,r,i[r]);if(gl)for(var r of gl(i))xb.call(i,r)&&yl(u,r,i[r]);return u};class bo extends ym{constructor(i,r,n,o=Ei,l=void 0){super(i,r,n,o),this.core=i,this.logger=r,this.name=n,this.map=new Map,this.version=W_,this.cached=[],this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(d=>{this.getKey&&d!==null&&!bi(d)?this.map.set(this.getKey(d),d):u1(d)?this.map.set(d.id,d):h1(d)&&this.map.set(d.topic,d)}),this.cached=[],this.initialized=!0)},this.set=async(d,v)=>{this.isInitialized(),this.map.has(d)?await this.update(d,v):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:d,value:v}),this.map.set(d,v),await this.persist())},this.get=d=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:d}),this.getData(d)),this.getAll=d=>(this.isInitialized(),d?this.values.filter(v=>Object.keys(d).every(_=>ow(v[_],d[_]))):this.values),this.update=async(d,v)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:d,update:v});const _=vl(vl({},this.getData(d)),v);this.map.set(d,_),await this.persist()},this.delete=async(d,v)=>{this.isInitialized(),this.map.has(d)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:d,reason:v}),this.map.delete(d),await this.persist())},this.logger=Ce.generateChildLogger(r,this.name),this.storagePrefix=o,this.getKey=l}get context(){return Ce.getLoggerContext(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())}async setDataStore(i){await this.core.storage.setItem(this.storageKey,i)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(i){const r=this.map.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw this.logger.error(n),new Error(n)}return r}async persist(){await this.setDataStore(this.values)}async restore(){try{const i=await this.getDataStore();if(typeof i>"u"||!i.length)return;if(this.map.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(i){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(i)}}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class Ib{constructor(i,r){this.core=i,this.logger=r,this.name=Z_,this.version=eb,this.events=new vc,this.initialized=!1,this.storagePrefix=Ei,this.ignoredPayloadTypes=[zl],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=({methods:n})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...n])]},this.create=async()=>{this.isInitialized();const n=cc(),o=await this.core.crypto.setSymKey(n),l=Fr(se.FIVE_MINUTES),d={protocol:_f},v={topic:o,expiry:l,relay:d,active:!1},_=E1({protocol:this.core.protocol,version:this.core.version,topic:o,symKey:n,relay:d});return await this.pairings.set(o,v),await this.core.relayer.subscribe(o),this.core.expirer.set(o,l),{topic:o,uri:_}},this.pair=async n=>{this.isInitialized(),this.isValidPair(n);const{topic:o,symKey:l,relay:d}=x1(n.uri);let v;if(this.pairings.keys.includes(o)&&(v=this.pairings.get(o),v.active))throw new Error(`Pairing already exists: ${o}. Please try again with a new connection URI.`);this.core.crypto.keychain.has(o)||(await this.core.crypto.setSymKey(l,o),await this.core.relayer.subscribe(o,{relay:d}));const _=Fr(se.FIVE_MINUTES),S={topic:o,relay:d,expiry:_,active:!1};return await this.pairings.set(o,S),this.core.expirer.set(o,_),n.activatePairing&&await this.activate({topic:o}),this.events.emit(Gs.create,S),S},this.activate=async({topic:n})=>{this.isInitialized();const o=Fr(se.THIRTY_DAYS);await this.pairings.update(n,{active:!0,expiry:o}),this.core.expirer.set(n,o)},this.ping=async n=>{this.isInitialized(),await this.isValidPing(n);const{topic:o}=n;if(this.pairings.keys.includes(o)){const l=await this.sendRequest(o,"wc_pairingPing",{}),{done:d,resolve:v,reject:_}=hs();this.events.once(Dt("pairing_ping",l),({error:S})=>{S?_(S):v()}),await d()}},this.updateExpiry=async({topic:n,expiry:o})=>{this.isInitialized(),await this.pairings.update(n,{expiry:o})},this.updateMetadata=async({topic:n,metadata:o})=>{this.isInitialized(),await this.pairings.update(n,{peerMetadata:o})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async n=>{this.isInitialized(),await this.isValidDisconnect(n);const{topic:o}=n;this.pairings.keys.includes(o)&&(await this.sendRequest(o,"wc_pairingDelete",er("USER_DISCONNECTED")),await this.deletePairing(o))},this.sendRequest=async(n,o,l)=>{const d=ds(o,l),v=await this.core.crypto.encode(n,d),_=Us[o].req;return this.core.history.set(n,d),this.core.relayer.publish(n,v,_),d.id},this.sendResult=async(n,o,l)=>{const d=Ec(n,l),v=await this.core.crypto.encode(o,d),_=await this.core.history.get(o,n),S=Us[_.request.method].res;await this.core.relayer.publish(o,v,S),await this.core.history.resolve(d)},this.sendError=async(n,o,l)=>{const d=mo(n,l),v=await this.core.crypto.encode(o,d),_=await this.core.history.get(o,n),S=Us[_.request.method]?Us[_.request.method].res:Us.unregistered_method.res;await this.core.relayer.publish(o,v,S),await this.core.history.resolve(d)},this.deletePairing=async(n,o)=>{await this.core.relayer.unsubscribe(n),await Promise.all([this.pairings.delete(n,er("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(n),o?Promise.resolve():this.core.expirer.del(n)])},this.cleanup=async()=>{const n=this.pairings.getAll().filter(o=>_i(o.expiry));await Promise.all(n.map(o=>this.deletePairing(o.topic)))},this.onRelayEventRequest=n=>{const{topic:o,payload:l}=n;switch(l.method){case"wc_pairingPing":return this.onPairingPingRequest(o,l);case"wc_pairingDelete":return this.onPairingDeleteRequest(o,l);default:return this.onUnknownRpcMethodRequest(o,l)}},this.onRelayEventResponse=async n=>{const{topic:o,payload:l}=n,d=(await this.core.history.get(o,l.id)).request.method;switch(d){case"wc_pairingPing":return this.onPairingPingResponse(o,l);default:return this.onUnknownRpcMethodResponse(d)}},this.onPairingPingRequest=async(n,o)=>{const{id:l}=o;try{this.isValidPing({topic:n}),await this.sendResult(l,n,!0),this.events.emit(Gs.ping,{id:l,topic:n})}catch(d){await this.sendError(l,n,d),this.logger.error(d)}},this.onPairingPingResponse=(n,o)=>{const{id:l}=o;setTimeout(()=>{oi(o)?this.events.emit(Dt("pairing_ping",l),{}):$r(o)&&this.events.emit(Dt("pairing_ping",l),{error:o.error})},500)},this.onPairingDeleteRequest=async(n,o)=>{const{id:l}=o;try{this.isValidDisconnect({topic:n}),await this.deletePairing(n),this.events.emit(Gs.delete,{id:l,topic:n})}catch(d){await this.sendError(l,n,d),this.logger.error(d)}},this.onUnknownRpcMethodRequest=async(n,o)=>{const{id:l,method:d}=o;try{if(this.registeredMethods.includes(d))return;const v=er("WC_METHOD_UNSUPPORTED",d);await this.sendError(l,n,v),this.logger.error(v)}catch(v){await this.sendError(l,n,v),this.logger.error(v)}},this.onUnknownRpcMethodResponse=n=>{this.registeredMethods.includes(n)||this.logger.error(er("WC_METHOD_UNSUPPORTED",n))},this.isValidPair=n=>{if(!cr(n)){const{message:o}=Z("MISSING_OR_INVALID",`pair() params: ${n}`);throw new Error(o)}if(!I1(n.uri)){const{message:o}=Z("MISSING_OR_INVALID",`pair() uri: ${n.uri}`);throw new Error(o)}},this.isValidPing=async n=>{if(!cr(n)){const{message:l}=Z("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(l)}const{topic:o}=n;await this.isValidPairingTopic(o)},this.isValidDisconnect=async n=>{if(!cr(n)){const{message:l}=Z("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(l)}const{topic:o}=n;await this.isValidPairingTopic(o)},this.isValidPairingTopic=async n=>{if(!ls(n,!1)){const{message:o}=Z("MISSING_OR_INVALID",`pairing topic should be a string: ${n}`);throw new Error(o)}if(!this.pairings.keys.includes(n)){const{message:o}=Z("NO_MATCHING_KEY",`pairing topic doesn't exist: ${n}`);throw new Error(o)}if(_i(this.pairings.get(n).expiry)){await this.deletePairing(n);const{message:o}=Z("EXPIRED",`pairing topic: ${n}`);throw new Error(o)}},this.core=i,this.logger=Ce.generateChildLogger(r,this.name),this.pairings=new bo(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Ce.getLoggerContext(this.logger)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}registerRelayerEvents(){this.core.relayer.on(Kt.message,async i=>{const{topic:r,message:n}=i;if(!this.pairings.keys.includes(r)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(n)))return;const o=await this.core.crypto.decode(r,n);try{xc(o)?(this.core.history.set(r,o),this.onRelayEventRequest({topic:r,payload:o})):wo(o)&&(await this.core.history.resolve(o),await this.onRelayEventResponse({topic:r,payload:o}),this.core.history.delete(r,o.id))}catch(l){this.logger.error(l)}})}registerExpirerEvents(){this.core.expirer.on(Pr.expired,async i=>{const{topic:r}=Ul(i.target);r&&this.pairings.keys.includes(r)&&(await this.deletePairing(r,!0),this.events.emit(Gs.expire,{topic:r}))})}}class Pb extends fm{constructor(i,r){super(i,r),this.core=i,this.logger=r,this.records=new Map,this.events=new Sr.EventEmitter,this.name=tb,this.version=rb,this.cached=[],this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(n=>this.records.set(n.id,n)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(n,o,l)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:n,request:o,chainId:l}),this.records.has(o.id))return;const d={id:o.id,topic:n,request:{method:o.method,params:o.params||null},chainId:l,expiry:Fr(se.THIRTY_DAYS)};this.records.set(d.id,d),this.events.emit(kr.created,d)},this.resolve=async n=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:n}),!this.records.has(n.id))return;const o=await this.getRecord(n.id);typeof o.response>"u"&&(o.response=$r(n)?{error:n.error}:{result:n.result},this.records.set(o.id,o),this.events.emit(kr.updated,o))},this.get=async(n,o)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:n,id:o}),await this.getRecord(o)),this.delete=(n,o)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:o}),this.values.forEach(l=>{if(l.topic===n){if(typeof o<"u"&&l.id!==o)return;this.records.delete(l.id),this.events.emit(kr.deleted,l)}})},this.exists=async(n,o)=>(this.isInitialized(),this.records.has(o)?(await this.getRecord(o)).topic===n:!1),this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.logger=Ce.generateChildLogger(r,this.name)}get context(){return Ce.getLoggerContext(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 i=[];return this.values.forEach(r=>{if(typeof r.response<"u")return;const n={topic:r.topic,request:ds(r.request.method,r.request.params,r.id),chainId:r.chainId};return i.push(n)}),i}async setJsonRpcRecords(i){await this.core.storage.setItem(this.storageKey,i)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(i){this.isInitialized();const r=this.records.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw new Error(n)}return r}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(kr.sync)}async restore(){try{const i=await this.getJsonRpcRecords();if(typeof i>"u"||!i.length)return;if(this.records.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(i){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(i)}}registerEventListeners(){this.events.on(kr.created,i=>{const r=kr.created;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,record:i}),this.persist()}),this.events.on(kr.updated,i=>{const r=kr.updated;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,record:i}),this.persist()}),this.events.on(kr.deleted,i=>{const r=kr.deleted;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,record:i}),this.persist()}),this.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,()=>{this.cleanup()})}cleanup(){try{this.records.forEach(i=>{se.toMiliseconds(i.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${i.id}`),this.delete(i.topic,i.id))})}catch(i){this.logger.warn(i)}}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class Sb extends mm{constructor(i,r){super(i,r),this.core=i,this.logger=r,this.expirations=new Map,this.events=new Sr.EventEmitter,this.name=ib,this.version=sb,this.cached=[],this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(n=>this.expirations.set(n.target,n)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=n=>{try{const o=this.formatTarget(n);return typeof this.getExpiration(o)<"u"}catch{return!1}},this.set=(n,o)=>{this.isInitialized();const l=this.formatTarget(n),d={target:l,expiry:o};this.expirations.set(l,d),this.checkExpiry(l,d),this.events.emit(Pr.created,{target:l,expiration:d})},this.get=n=>{this.isInitialized();const o=this.formatTarget(n);return this.getExpiration(o)},this.del=n=>{if(this.isInitialized(),this.has(n)){const o=this.formatTarget(n),l=this.getExpiration(o);this.expirations.delete(o),this.events.emit(Pr.deleted,{target:o,expiration:l})}},this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.logger=Ce.generateChildLogger(r,this.name)}get context(){return Ce.getLoggerContext(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(i){if(typeof i=="string")return P1(i);if(typeof i=="number")return S1(i);const{message:r}=Z("UNKNOWN_TYPE",`Target type: ${typeof i}`);throw new Error(r)}async setExpirations(i){await this.core.storage.setItem(this.storageKey,i)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(Pr.sync)}async restore(){try{const i=await this.getExpirations();if(typeof i>"u"||!i.length)return;if(this.expirations.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(i){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(i)}}getExpiration(i){const r=this.expirations.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw this.logger.error(n),new Error(n)}return r}checkExpiry(i,r){const{expiry:n}=r;se.toMiliseconds(n)-Date.now()<=0&&this.expire(i,r)}expire(i,r){this.expirations.delete(i),this.events.emit(Pr.expired,{target:i,expiration:r})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((i,r)=>this.checkExpiry(r,i))}registerEventListeners(){this.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(Pr.created,i=>{const r=Pr.created;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),this.persist()}),this.events.on(Pr.expired,i=>{const r=Pr.expired;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),this.persist()}),this.events.on(Pr.deleted,i=>{const r=Pr.deleted;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),this.persist()})}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class Ab extends wm{constructor(i,r){super(i,r),this.projectId=i,this.logger=r,this.name=ec,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async()=>{if(this.verifyDisabled||A1()||!Hl())return;const n=lo;this.verifyUrl!==n&&this.removeIframe(),this.verifyUrl=n;try{await this.createIframe()}catch(o){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(o)}if(!this.initialized){this.removeIframe(),this.verifyUrl=hl;try{await this.createIframe()}catch(o){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(o),this.verifyDisabled=!0}}},this.register=async n=>{this.initialized?this.sendPost(n.attestationId):(this.addToQueue(n.attestationId),await this.init())},this.resolve=async n=>{if(this.isDevEnv)return"";const o=(n==null?void 0:n.verifyUrl)||lo;let l;try{l=await this.fetchAttestation(n.attestationId,o)}catch(d){this.logger.info(`failed to resolve attestation: ${n.attestationId} from url: ${o}`),this.logger.info(d),l=await this.fetchAttestation(n.attestationId,hl)}return l},this.fetchAttestation=async(n,o)=>{this.logger.info(`resolving attestation: ${n} from url: ${o}`);const l=this.startAbortTimer(se.ONE_SECOND*2),d=await fetch(`${o}/attestation/${n}`,{signal:this.abortController.signal});return clearTimeout(l),d.status===200?await d.json():void 0},this.addToQueue=n=>{this.queue.push(n)},this.processQueue=()=>{this.queue.length!==0&&(this.queue.forEach(n=>this.sendPost(n)),this.queue=[])},this.sendPost=n=>{var o;try{if(!this.iframe)return;(o=this.iframe.contentWindow)==null||o.postMessage(n,"*"),this.logger.info(`postMessage sent: ${n} ${this.verifyUrl}`)}catch{}},this.createIframe=async()=>{let n;const o=l=>{l.data==="verify_ready"&&(this.initialized=!0,this.processQueue(),window.removeEventListener("message",o),n())};await Promise.race([new Promise(l=>{if(document.getElementById(ec))return l();window.addEventListener("message",o);const d=document.createElement("iframe");d.id=ec,d.src=`${this.verifyUrl}/${this.projectId}`,d.style.display="none",document.body.append(d),this.iframe=d,n=l}),new Promise((l,d)=>setTimeout(()=>{window.removeEventListener("message",o),d("verify iframe load timeout")},se.toMiliseconds(se.FIVE_SECONDS)))])},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.logger=Ce.generateChildLogger(r,this.name),this.verifyUrl=lo,this.abortController=new AbortController,this.isDevEnv=R1()&&{}.IS_VITEST}get context(){return Ce.getLoggerContext(this.logger)}startAbortTimer(i){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),se.toMiliseconds(i))}}var Rb=Object.defineProperty,ml=Object.getOwnPropertySymbols,Ob=Object.prototype.hasOwnProperty,Cb=Object.prototype.propertyIsEnumerable,wl=(u,i,r)=>i in u?Rb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,_l=(u,i)=>{for(var r in i||(i={}))Ob.call(i,r)&&wl(u,r,i[r]);if(ml)for(var r of ml(i))Cb.call(i,r)&&wl(u,r,i[r]);return u};class Pc extends lm{constructor(i){super(i),this.protocol=wf,this.version=T_,this.name=Ic,this.events=new Sr.EventEmitter,this.initialized=!1,this.on=(n,o)=>this.events.on(n,o),this.once=(n,o)=>this.events.once(n,o),this.off=(n,o)=>this.events.off(n,o),this.removeListener=(n,o)=>this.events.removeListener(n,o),this.projectId=i==null?void 0:i.projectId,this.relayUrl=(i==null?void 0:i.relayUrl)||bf,this.customStoragePrefix=i!=null&&i.customStoragePrefix?`:${i.customStoragePrefix}`:"";const r=typeof(i==null?void 0:i.logger)<"u"&&typeof(i==null?void 0:i.logger)!="string"?i.logger:Ce.pino(Ce.getDefaultLoggerOptions({level:(i==null?void 0:i.logger)||N_.logger}));this.logger=Ce.generateChildLogger(r,this.name),this.heartbeat=new ys.HeartBeat,this.crypto=new ob(this,this.logger,i==null?void 0:i.keychain),this.history=new Pb(this,this.logger),this.expirer=new Sb(this,this.logger),this.storage=i!=null&&i.storage?i.storage:new rm(_l(_l({},D_),i==null?void 0:i.storageOptions)),this.relayer=new _b({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new Ib(this,this.logger),this.verify=new Ab(this.projectId||"",this.logger)}static async init(i){const r=new Pc(i);await r.initialize();const n=await r.crypto.getClientId();return await r.storage.setItem(J_,n),r}get context(){return Ce.getLoggerContext(this.logger)}async start(){this.initialized||await this.initialize()}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.initialized=!0,this.logger.info("Core Initialization Success")}catch(i){throw this.logger.warn(`Core Initialization Failure at epoch ${Date.now()}`,i),this.logger.error(i.message),i}}}const Tb=Pc,Ef="wc",xf=2,If="client",Sc=`${Ef}@${xf}:${If}:`,rc={name:If,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},bl="WALLETCONNECT_DEEPLINK_CHOICE",Nb="proposal",Pf="Proposal expired",Db="session",oo=se.SEVEN_DAYS,Fb="engine",ks={wc_sessionPropose:{req:{ttl:se.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1101}},wc_sessionSettle:{req:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:se.ONE_DAY,prompt:!1,tag:1104},res:{ttl:se.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:se.ONE_DAY,prompt:!1,tag:1106},res:{ttl:se.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:se.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:se.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:se.ONE_DAY,prompt:!1,tag:1112},res:{ttl:se.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:se.THIRTY_SECONDS,prompt:!1,tag:1114},res:{ttl:se.THIRTY_SECONDS,prompt:!1,tag:1115}}},ic={min:se.FIVE_MINUTES,max:se.SEVEN_DAYS},ni={idle:"IDLE",active:"ACTIVE"},$b="request",Lb=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"];var qb=Object.defineProperty,Mb=Object.defineProperties,jb=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,zb=Object.prototype.hasOwnProperty,Ub=Object.prototype.propertyIsEnumerable,xl=(u,i,r)=>i in u?qb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,ar=(u,i)=>{for(var r in i||(i={}))zb.call(i,r)&&xl(u,r,i[r]);if(El)for(var r of El(i))Ub.call(i,r)&&xl(u,r,i[r]);return u},Bs=(u,i)=>Mb(u,jb(i));class Hb extends bm{constructor(i){super(i),this.name=Fb,this.events=new vc,this.initialized=!1,this.ignoredPayloadTypes=[zl],this.requestQueue={state:ni.idle,queue:[]},this.sessionRequestQueue={state:ni.idle,queue:[]},this.requestQueueDelay=se.ONE_SECOND,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(ks)}),this.initialized=!0,setTimeout(()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},se.toMiliseconds(this.requestQueueDelay)))},this.connect=async r=>{await this.isInitialized();const n=Bs(ar({},r),{requiredNamespaces:r.requiredNamespaces||{},optionalNamespaces:r.optionalNamespaces||{}});await this.isValidConnect(n);const{pairingTopic:o,requiredNamespaces:l,optionalNamespaces:d,sessionProperties:v,relays:_}=n;let S=o,D,H=!1;if(S&&(H=this.client.core.pairing.pairings.get(S).active),!S||!H){const{topic:pe,uri:he}=await this.client.core.pairing.create();S=pe,D=he}const B=await this.client.core.crypto.generateKeyPair(),K=ar({requiredNamespaces:l,optionalNamespaces:d,relays:_??[{protocol:_f}],proposer:{publicKey:B,metadata:this.client.metadata}},v&&{sessionProperties:v}),{reject:q,resolve:W,done:ie}=hs(se.FIVE_MINUTES,Pf);if(this.events.once(Dt("session_connect"),async({error:pe,session:he})=>{if(pe)q(pe);else if(he){he.self.publicKey=B;const le=Bs(ar({},he),{requiredNamespaces:he.requiredNamespaces,optionalNamespaces:he.optionalNamespaces});await this.client.session.set(he.topic,le),await this.setExpiry(he.topic,he.expiry),S&&await this.client.core.pairing.updateMetadata({topic:S,metadata:he.peer.metadata}),W(le)}}),!S){const{message:pe}=Z("NO_MATCHING_KEY",`connect() pairing topic: ${S}`);throw new Error(pe)}const Ee=await this.sendRequest({topic:S,method:"wc_sessionPropose",params:K}),ge=Fr(se.FIVE_MINUTES);return await this.setProposal(Ee,ar({id:Ee,expiry:ge},K)),{uri:D,approval:ie}},this.pair=async r=>(await this.isInitialized(),await this.client.core.pairing.pair(r)),this.approve=async r=>{await this.isInitialized(),await this.isValidApprove(r);const{id:n,relayProtocol:o,namespaces:l,sessionProperties:d}=r,v=this.client.proposal.get(n);let{pairingTopic:_,proposer:S,requiredNamespaces:D,optionalNamespaces:H}=v;_=_||"",ho(D)||(D=C1(l,"approve()"));const B=await this.client.core.crypto.generateKeyPair(),K=S.publicKey,q=await this.client.core.crypto.generateSharedKey(B,K);_&&n&&(await this.client.core.pairing.updateMetadata({topic:_,metadata:S.metadata}),await this.sendResult({id:n,topic:_,result:{relay:{protocol:o??"irn"},responderPublicKey:B}}),await this.client.proposal.delete(n,er("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:_}));const W=ar({relay:{protocol:o??"irn"},namespaces:l,requiredNamespaces:D,optionalNamespaces:H,pairingTopic:_,controller:{publicKey:B,metadata:this.client.metadata},expiry:Fr(oo)},d&&{sessionProperties:d});await this.client.core.relayer.subscribe(q),await this.sendRequest({topic:q,method:"wc_sessionSettle",params:W,throwOnFailedPublish:!0});const ie=Bs(ar({},W),{topic:q,pairingTopic:_,acknowledged:!1,self:W.controller,peer:{publicKey:S.publicKey,metadata:S.metadata},controller:B});return await this.client.session.set(q,ie),await this.setExpiry(q,Fr(oo)),{topic:q,acknowledged:()=>new Promise(Ee=>setTimeout(()=>Ee(this.client.session.get(q)),500))}},this.reject=async r=>{await this.isInitialized(),await this.isValidReject(r);const{id:n,reason:o}=r,{pairingTopic:l}=this.client.proposal.get(n);l&&(await this.sendError(n,l,o),await this.client.proposal.delete(n,er("USER_DISCONNECTED")))},this.update=async r=>{await this.isInitialized(),await this.isValidUpdate(r);const{topic:n,namespaces:o}=r,l=await this.sendRequest({topic:n,method:"wc_sessionUpdate",params:{namespaces:o}}),{done:d,resolve:v,reject:_}=hs();return this.events.once(Dt("session_update",l),({error:S})=>{S?_(S):v()}),await this.client.session.update(n,{namespaces:o}),{acknowledged:d}},this.extend=async r=>{await this.isInitialized(),await this.isValidExtend(r);const{topic:n}=r,o=await this.sendRequest({topic:n,method:"wc_sessionExtend",params:{}}),{done:l,resolve:d,reject:v}=hs();return this.events.once(Dt("session_extend",o),({error:_})=>{_?v(_):d()}),await this.setExpiry(n,Fr(oo)),{acknowledged:l}},this.request=async r=>{await this.isInitialized(),await this.isValidRequest(r);const{chainId:n,request:o,topic:l,expiry:d}=r,v=bc(),{done:_,resolve:S,reject:D}=hs(d,"Request expired. Please try again.");return this.events.once(Dt("session_request",v),({error:H,result:B})=>{H?D(H):S(B)}),await Promise.all([new Promise(async H=>{await this.sendRequest({clientRpcId:v,topic:l,method:"wc_sessionRequest",params:{request:o,chainId:n},expiry:d,throwOnFailedPublish:!0}).catch(B=>D(B)),this.client.events.emit("session_request_sent",{topic:l,request:o,chainId:n,id:v}),H()}),new Promise(async H=>{const B=await this.client.core.storage.getItem(bl);T1({id:v,topic:l,wcDeepLink:B}),H()}),_()]).then(H=>H[2])},this.respond=async r=>{await this.isInitialized(),await this.isValidRespond(r);const{topic:n,response:o}=r,{id:l}=o;oi(o)?await this.sendResult({id:l,topic:n,result:o.result,throwOnFailedPublish:!0}):$r(o)&&await this.sendError(l,n,o.error),this.cleanupAfterResponse(r)},this.ping=async r=>{await this.isInitialized(),await this.isValidPing(r);const{topic:n}=r;if(this.client.session.keys.includes(n)){const o=await this.sendRequest({topic:n,method:"wc_sessionPing",params:{}}),{done:l,resolve:d,reject:v}=hs();this.events.once(Dt("session_ping",o),({error:_})=>{_?v(_):d()}),await l()}else this.client.core.pairing.pairings.keys.includes(n)&&await this.client.core.pairing.ping({topic:n})},this.emit=async r=>{await this.isInitialized(),await this.isValidEmit(r);const{topic:n,event:o,chainId:l}=r;await this.sendRequest({topic:n,method:"wc_sessionEvent",params:{event:o,chainId:l}})},this.disconnect=async r=>{await this.isInitialized(),await this.isValidDisconnect(r);const{topic:n}=r;this.client.session.keys.includes(n)?(await this.sendRequest({topic:n,method:"wc_sessionDelete",params:er("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession(n)):await this.client.core.pairing.disconnect({topic:n})},this.find=r=>(this.isInitialized(),this.client.session.getAll().filter(n=>N1(n,r))),this.getPendingSessionRequests=()=>(this.isInitialized(),this.client.pendingRequest.getAll()),this.cleanupDuplicatePairings=async r=>{if(r.pairingTopic)try{const n=this.client.core.pairing.pairings.get(r.pairingTopic),o=this.client.core.pairing.pairings.getAll().filter(l=>{var d,v;return((d=l.peerMetadata)==null?void 0:d.url)&&((v=l.peerMetadata)==null?void 0:v.url)===r.peer.metadata.url&&l.topic&&l.topic!==n.topic});if(o.length===0)return;this.client.logger.info(`Cleaning up ${o.length} duplicate pairing(s)`),await Promise.all(o.map(l=>this.client.core.pairing.disconnect({topic:l.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(n){this.client.logger.error(n)}},this.deleteSession=async(r,n)=>{const{self:o}=this.client.session.get(r);await this.client.core.relayer.unsubscribe(r),this.client.session.delete(r,er("USER_DISCONNECTED")),this.client.core.crypto.keychain.has(o.publicKey)&&await this.client.core.crypto.deleteKeyPair(o.publicKey),this.client.core.crypto.keychain.has(r)&&await this.client.core.crypto.deleteSymKey(r),n||this.client.core.expirer.del(r),this.client.core.storage.removeItem(bl).catch(l=>this.client.logger.warn(l))},this.deleteProposal=async(r,n)=>{await Promise.all([this.client.proposal.delete(r,er("USER_DISCONNECTED")),n?Promise.resolve():this.client.core.expirer.del(r)])},this.deletePendingSessionRequest=async(r,n,o=!1)=>{await Promise.all([this.client.pendingRequest.delete(r,n),o?Promise.resolve():this.client.core.expirer.del(r)]),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(l=>l.id!==r),o&&(this.sessionRequestQueue.state=ni.idle)},this.setExpiry=async(r,n)=>{this.client.session.keys.includes(r)&&await this.client.session.update(r,{expiry:n}),this.client.core.expirer.set(r,n)},this.setProposal=async(r,n)=>{await this.client.proposal.set(r,n),this.client.core.expirer.set(r,n.expiry)},this.setPendingSessionRequest=async r=>{const n=ks.wc_sessionRequest.req.ttl,{id:o,topic:l,params:d,verifyContext:v}=r;await this.client.pendingRequest.set(o,{id:o,topic:l,params:d,verifyContext:v}),n&&this.client.core.expirer.set(o,Fr(n))},this.sendRequest=async r=>{const{topic:n,method:o,params:l,expiry:d,relayRpcId:v,clientRpcId:_,throwOnFailedPublish:S}=r,D=ds(o,l,_);if(Hl()&&Lb.includes(o)){const K=ps(JSON.stringify(D));this.client.core.verify.register({attestationId:K})}const H=await this.client.core.crypto.encode(n,D),B=ks[o].req;return d&&(B.ttl=d),v&&(B.id=v),this.client.core.history.set(n,D),S?(B.internal=Bs(ar({},B.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(n,H,B)):this.client.core.relayer.publish(n,H,B).catch(K=>this.client.logger.error(K)),D.id},this.sendResult=async r=>{const{id:n,topic:o,result:l,throwOnFailedPublish:d}=r,v=Ec(n,l),_=await this.client.core.crypto.encode(o,v),S=await this.client.core.history.get(o,n),D=ks[S.request.method].res;d?(D.internal=Bs(ar({},D.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(o,_,D)):this.client.core.relayer.publish(o,_,D).catch(H=>this.client.logger.error(H)),await this.client.core.history.resolve(v)},this.sendError=async(r,n,o)=>{const l=mo(r,o),d=await this.client.core.crypto.encode(n,l),v=await this.client.core.history.get(n,r),_=ks[v.request.method].res;this.client.core.relayer.publish(n,d,_),await this.client.core.history.resolve(l)},this.cleanup=async()=>{const r=[],n=[];this.client.session.getAll().forEach(o=>{_i(o.expiry)&&r.push(o.topic)}),this.client.proposal.getAll().forEach(o=>{_i(o.expiry)&&n.push(o.id)}),await Promise.all([...r.map(o=>this.deleteSession(o)),...n.map(o=>this.deleteProposal(o))])},this.onRelayEventRequest=async r=>{this.requestQueue.queue.push(r),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state===ni.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=ni.active;const r=this.requestQueue.queue.shift();if(r)try{this.processRequest(r),await new Promise(n=>setTimeout(n,300))}catch(n){this.client.logger.warn(n)}}this.requestQueue.state=ni.idle},this.processRequest=r=>{const{topic:n,payload:o}=r,l=o.method;switch(l){case"wc_sessionPropose":return this.onSessionProposeRequest(n,o);case"wc_sessionSettle":return this.onSessionSettleRequest(n,o);case"wc_sessionUpdate":return this.onSessionUpdateRequest(n,o);case"wc_sessionExtend":return this.onSessionExtendRequest(n,o);case"wc_sessionPing":return this.onSessionPingRequest(n,o);case"wc_sessionDelete":return this.onSessionDeleteRequest(n,o);case"wc_sessionRequest":return this.onSessionRequest(n,o);case"wc_sessionEvent":return this.onSessionEventRequest(n,o);default:return this.client.logger.info(`Unsupported request method ${l}`)}},this.onRelayEventResponse=async r=>{const{topic:n,payload:o}=r,l=(await this.client.core.history.get(n,o.id)).request.method;switch(l){case"wc_sessionPropose":return this.onSessionProposeResponse(n,o);case"wc_sessionSettle":return this.onSessionSettleResponse(n,o);case"wc_sessionUpdate":return this.onSessionUpdateResponse(n,o);case"wc_sessionExtend":return this.onSessionExtendResponse(n,o);case"wc_sessionPing":return this.onSessionPingResponse(n,o);case"wc_sessionRequest":return this.onSessionRequestResponse(n,o);default:return this.client.logger.info(`Unsupported response method ${l}`)}},this.onRelayEventUnknownPayload=r=>{const{topic:n}=r,{message:o}=Z("MISSING_OR_INVALID",`Decoded payload on topic ${n} is not identifiable as a JSON-RPC request or a response.`);throw new Error(o)},this.onSessionProposeRequest=async(r,n)=>{const{params:o,id:l}=n;try{this.isValidConnect(ar({},n.params));const d=Fr(se.FIVE_MINUTES),v=ar({id:l,pairingTopic:r,expiry:d},o);await this.setProposal(l,v);const _=ps(JSON.stringify(n)),S=await this.getVerifyContext(_,v.proposer.metadata);this.client.events.emit("session_proposal",{id:l,params:v,verifyContext:S})}catch(d){await this.sendError(l,r,d),this.client.logger.error(d)}},this.onSessionProposeResponse=async(r,n)=>{const{id:o}=n;if(oi(n)){const{result:l}=n;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:l});const d=this.client.proposal.get(o);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:d});const v=d.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:v});const _=l.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:_});const S=await this.client.core.crypto.generateSharedKey(v,_);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:S});const D=await this.client.core.relayer.subscribe(S);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:D}),await this.client.core.pairing.activate({topic:r})}else $r(n)&&(await this.client.proposal.delete(o,er("USER_DISCONNECTED")),this.events.emit(Dt("session_connect"),{error:n.error}))},this.onSessionSettleRequest=async(r,n)=>{const{id:o,params:l}=n;try{this.isValidSessionSettleRequest(l);const{relay:d,controller:v,expiry:_,namespaces:S,requiredNamespaces:D,optionalNamespaces:H,sessionProperties:B,pairingTopic:K}=n.params,q=ar({topic:r,relay:d,expiry:_,namespaces:S,acknowledged:!0,pairingTopic:K,requiredNamespaces:D,optionalNamespaces:H,controller:v.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:v.publicKey,metadata:v.metadata}},B&&{sessionProperties:B});await this.sendResult({id:n.id,topic:r,result:!0}),this.events.emit(Dt("session_connect"),{session:q}),this.cleanupDuplicatePairings(q)}catch(d){await this.sendError(o,r,d),this.client.logger.error(d)}},this.onSessionSettleResponse=async(r,n)=>{const{id:o}=n;oi(n)?(await this.client.session.update(r,{acknowledged:!0}),this.events.emit(Dt("session_approve",o),{})):$r(n)&&(await this.client.session.delete(r,er("USER_DISCONNECTED")),this.events.emit(Dt("session_approve",o),{error:n.error}))},this.onSessionUpdateRequest=async(r,n)=>{const{params:o,id:l}=n;try{const d=`${r}_session_update`,v=no.get(d);if(v&&this.isRequestOutOfSync(v,l)){this.client.logger.info(`Discarding out of sync request - ${l}`);return}this.isValidUpdate(ar({topic:r},o)),await this.client.session.update(r,{namespaces:o.namespaces}),await this.sendResult({id:l,topic:r,result:!0}),this.client.events.emit("session_update",{id:l,topic:r,params:o}),no.set(d,l)}catch(d){await this.sendError(l,r,d),this.client.logger.error(d)}},this.isRequestOutOfSync=(r,n)=>parseInt(n.toString().slice(0,-3))<=parseInt(r.toString().slice(0,-3)),this.onSessionUpdateResponse=(r,n)=>{const{id:o}=n;oi(n)?this.events.emit(Dt("session_update",o),{}):$r(n)&&this.events.emit(Dt("session_update",o),{error:n.error})},this.onSessionExtendRequest=async(r,n)=>{const{id:o}=n;try{this.isValidExtend({topic:r}),await this.setExpiry(r,Fr(oo)),await this.sendResult({id:o,topic:r,result:!0}),this.client.events.emit("session_extend",{id:o,topic:r})}catch(l){await this.sendError(o,r,l),this.client.logger.error(l)}},this.onSessionExtendResponse=(r,n)=>{const{id:o}=n;oi(n)?this.events.emit(Dt("session_extend",o),{}):$r(n)&&this.events.emit(Dt("session_extend",o),{error:n.error})},this.onSessionPingRequest=async(r,n)=>{const{id:o}=n;try{this.isValidPing({topic:r}),await this.sendResult({id:o,topic:r,result:!0}),this.client.events.emit("session_ping",{id:o,topic:r})}catch(l){await this.sendError(o,r,l),this.client.logger.error(l)}},this.onSessionPingResponse=(r,n)=>{const{id:o}=n;setTimeout(()=>{oi(n)?this.events.emit(Dt("session_ping",o),{}):$r(n)&&this.events.emit(Dt("session_ping",o),{error:n.error})},500)},this.onSessionDeleteRequest=async(r,n)=>{const{id:o}=n;try{this.isValidDisconnect({topic:r,reason:n.params}),await Promise.all([new Promise(l=>{this.client.core.relayer.once(Kt.publish,async()=>{l(await this.deleteSession(r))})}),this.sendResult({id:o,topic:r,result:!0})]),this.client.events.emit("session_delete",{id:o,topic:r})}catch(l){this.client.logger.error(l)}},this.onSessionRequest=async(r,n)=>{const{id:o,params:l}=n;try{this.isValidRequest(ar({topic:r},l));const d=ps(JSON.stringify(ds("wc_sessionRequest",l,o))),v=this.client.session.get(r),_=await this.getVerifyContext(d,v.peer.metadata),S={id:o,topic:r,params:l,verifyContext:_};await this.setPendingSessionRequest(S),this.addSessionRequestToSessionRequestQueue(S),this.processSessionRequestQueue()}catch(d){await this.sendError(o,r,d),this.client.logger.error(d)}},this.onSessionRequestResponse=(r,n)=>{const{id:o}=n;oi(n)?this.events.emit(Dt("session_request",o),{result:n.result}):$r(n)&&this.events.emit(Dt("session_request",o),{error:n.error})},this.onSessionEventRequest=async(r,n)=>{const{id:o,params:l}=n;try{const d=`${r}_session_event_${l.event.name}`,v=no.get(d);if(v&&this.isRequestOutOfSync(v,o)){this.client.logger.info(`Discarding out of sync request - ${o}`);return}this.isValidEmit(ar({topic:r},l)),this.client.events.emit("session_event",{id:o,topic:r,params:l}),no.set(d,o)}catch(d){await this.sendError(o,r,d),this.client.logger.error(d)}},this.addSessionRequestToSessionRequestQueue=r=>{this.sessionRequestQueue.queue.push(r)},this.cleanupAfterResponse=r=>{this.deletePendingSessionRequest(r.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=ni.idle,this.processSessionRequestQueue()},se.toMiliseconds(this.requestQueueDelay))},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===ni.active){this.client.logger.info("session request queue is already active.");return}const r=this.sessionRequestQueue.queue[0];if(!r){this.client.logger.info("session request queue is empty.");return}try{this.sessionRequestQueue.state=ni.active,this.client.events.emit("session_request",r)}catch(n){this.client.logger.error(n)}},this.onPairingCreated=r=>{if(r.active)return;const n=this.client.proposal.getAll().find(o=>o.pairingTopic===r.topic);n&&this.onSessionProposeRequest(r.topic,ds("wc_sessionPropose",{requiredNamespaces:n.requiredNamespaces,optionalNamespaces:n.optionalNamespaces,relays:n.relays,proposer:n.proposer},n.id))},this.isValidConnect=async r=>{if(!cr(r)){const{message:_}=Z("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(r)}`);throw new Error(_)}const{pairingTopic:n,requiredNamespaces:o,optionalNamespaces:l,sessionProperties:d,relays:v}=r;if(bi(n)||await this.isValidPairingTopic(n),!D1(v,!0)){const{message:_}=Z("MISSING_OR_INVALID",`connect() relays: ${v}`);throw new Error(_)}!bi(o)&&ho(o)!==0&&this.validateNamespaces(o,"requiredNamespaces"),!bi(l)&&ho(l)!==0&&this.validateNamespaces(l,"optionalNamespaces"),bi(d)||this.validateSessionProps(d,"sessionProperties")},this.validateNamespaces=(r,n)=>{const o=F1(r,"connect()",n);if(o)throw new Error(o.message)},this.isValidApprove=async r=>{if(!cr(r))throw new Error(Z("MISSING_OR_INVALID",`approve() params: ${r}`).message);const{id:n,namespaces:o,relayProtocol:l,sessionProperties:d}=r;await this.isValidProposalId(n);const v=this.client.proposal.get(n),_=Ka(o,"approve()");if(_)throw new Error(_.message);const S=Th(v.requiredNamespaces,o,"approve()");if(S)throw new Error(S.message);if(!ls(l,!0)){const{message:D}=Z("MISSING_OR_INVALID",`approve() relayProtocol: ${l}`);throw new Error(D)}bi(d)||this.validateSessionProps(d,"sessionProperties")},this.isValidReject=async r=>{if(!cr(r)){const{message:l}=Z("MISSING_OR_INVALID",`reject() params: ${r}`);throw new Error(l)}const{id:n,reason:o}=r;if(await this.isValidProposalId(n),!$1(o)){const{message:l}=Z("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(o)}`);throw new Error(l)}},this.isValidSessionSettleRequest=r=>{if(!cr(r)){const{message:S}=Z("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${r}`);throw new Error(S)}const{relay:n,controller:o,namespaces:l,expiry:d}=r;if(!L1(n)){const{message:S}=Z("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(S)}const v=q1(o,"onSessionSettleRequest()");if(v)throw new Error(v.message);const _=Ka(l,"onSessionSettleRequest()");if(_)throw new Error(_.message);if(_i(d)){const{message:S}=Z("EXPIRED","onSessionSettleRequest()");throw new Error(S)}},this.isValidUpdate=async r=>{if(!cr(r)){const{message:_}=Z("MISSING_OR_INVALID",`update() params: ${r}`);throw new Error(_)}const{topic:n,namespaces:o}=r;await this.isValidSessionTopic(n);const l=this.client.session.get(n),d=Ka(o,"update()");if(d)throw new Error(d.message);const v=Th(l.requiredNamespaces,o,"update()");if(v)throw new Error(v.message)},this.isValidExtend=async r=>{if(!cr(r)){const{message:o}=Z("MISSING_OR_INVALID",`extend() params: ${r}`);throw new Error(o)}const{topic:n}=r;await this.isValidSessionTopic(n)},this.isValidRequest=async r=>{if(!cr(r)){const{message:_}=Z("MISSING_OR_INVALID",`request() params: ${r}`);throw new Error(_)}const{topic:n,request:o,chainId:l,expiry:d}=r;await this.isValidSessionTopic(n);const{namespaces:v}=this.client.session.get(n);if(!Nh(v,l)){const{message:_}=Z("MISSING_OR_INVALID",`request() chainId: ${l}`);throw new Error(_)}if(!M1(o)){const{message:_}=Z("MISSING_OR_INVALID",`request() ${JSON.stringify(o)}`);throw new Error(_)}if(!j1(v,l,o.method)){const{message:_}=Z("MISSING_OR_INVALID",`request() method: ${o.method}`);throw new Error(_)}if(d&&!z1(d,ic)){const{message:_}=Z("MISSING_OR_INVALID",`request() expiry: ${d}. Expiry must be a number (in seconds) between ${ic.min} and ${ic.max}`);throw new Error(_)}},this.isValidRespond=async r=>{if(!cr(r)){const{message:l}=Z("MISSING_OR_INVALID",`respond() params: ${r}`);throw new Error(l)}const{topic:n,response:o}=r;if(await this.isValidSessionTopic(n),!U1(o)){const{message:l}=Z("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(o)}`);throw new Error(l)}},this.isValidPing=async r=>{if(!cr(r)){const{message:o}=Z("MISSING_OR_INVALID",`ping() params: ${r}`);throw new Error(o)}const{topic:n}=r;await this.isValidSessionOrPairingTopic(n)},this.isValidEmit=async r=>{if(!cr(r)){const{message:v}=Z("MISSING_OR_INVALID",`emit() params: ${r}`);throw new Error(v)}const{topic:n,event:o,chainId:l}=r;await this.isValidSessionTopic(n);const{namespaces:d}=this.client.session.get(n);if(!Nh(d,l)){const{message:v}=Z("MISSING_OR_INVALID",`emit() chainId: ${l}`);throw new Error(v)}if(!H1(o)){const{message:v}=Z("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(o)}`);throw new Error(v)}if(!k1(d,l,o.name)){const{message:v}=Z("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(o)}`);throw new Error(v)}},this.isValidDisconnect=async r=>{if(!cr(r)){const{message:o}=Z("MISSING_OR_INVALID",`disconnect() params: ${r}`);throw new Error(o)}const{topic:n}=r;await this.isValidSessionOrPairingTopic(n)},this.getVerifyContext=async(r,n)=>{const o={verified:{verifyUrl:n.verifyUrl||lo,validation:"UNKNOWN",origin:n.url||""}};try{const l=await this.client.core.verify.resolve({attestationId:r,verifyUrl:n.verifyUrl});l&&(o.verified.origin=l.origin,o.verified.isScam=l.isScam,o.verified.validation=l.origin===new URL(n.url).origin?"VALID":"INVALID")}catch(l){this.client.logger.info(l)}return this.client.logger.info(`Verify context: ${JSON.stringify(o)}`),o},this.validateSessionProps=(r,n)=>{Object.values(r).forEach(o=>{if(!ls(o,!1)){const{message:l}=Z("MISSING_OR_INVALID",`${n} must be in Record format. Received: ${JSON.stringify(o)}`);throw new Error(l)}})}}async isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Kt.message,async i=>{const{topic:r,message:n}=i;if(this.ignoredPayloadTypes.includes(this.client.core.crypto.getPayloadType(n)))return;const o=await this.client.core.crypto.decode(r,n);try{xc(o)?(this.client.core.history.set(r,o),this.onRelayEventRequest({topic:r,payload:o})):wo(o)?(await this.client.core.history.resolve(o),await this.onRelayEventResponse({topic:r,payload:o}),this.client.core.history.delete(r,o.id)):this.onRelayEventUnknownPayload({topic:r,payload:o})}catch(l){this.client.logger.error(l)}})}registerExpirerEvents(){this.client.core.expirer.on(Pr.expired,async i=>{const{topic:r,id:n}=Ul(i.target);if(n&&this.client.pendingRequest.keys.includes(n))return await this.deletePendingSessionRequest(n,Z("EXPIRED"),!0);r?this.client.session.keys.includes(r)&&(await this.deleteSession(r,!0),this.client.events.emit("session_expire",{topic:r})):n&&(await this.deleteProposal(n,!0),this.client.events.emit("proposal_expire",{id:n}))})}registerPairingEvents(){this.client.core.pairing.events.on(Gs.create,i=>this.onPairingCreated(i))}isValidPairingTopic(i){if(!ls(i,!1)){const{message:r}=Z("MISSING_OR_INVALID",`pairing topic should be a string: ${i}`);throw new Error(r)}if(!this.client.core.pairing.pairings.keys.includes(i)){const{message:r}=Z("NO_MATCHING_KEY",`pairing topic doesn't exist: ${i}`);throw new Error(r)}if(_i(this.client.core.pairing.pairings.get(i).expiry)){const{message:r}=Z("EXPIRED",`pairing topic: ${i}`);throw new Error(r)}}async isValidSessionTopic(i){if(!ls(i,!1)){const{message:r}=Z("MISSING_OR_INVALID",`session topic should be a string: ${i}`);throw new Error(r)}if(!this.client.session.keys.includes(i)){const{message:r}=Z("NO_MATCHING_KEY",`session topic doesn't exist: ${i}`);throw new Error(r)}if(_i(this.client.session.get(i).expiry)){await this.deleteSession(i);const{message:r}=Z("EXPIRED",`session topic: ${i}`);throw new Error(r)}}async isValidSessionOrPairingTopic(i){if(this.client.session.keys.includes(i))await this.isValidSessionTopic(i);else if(this.client.core.pairing.pairings.keys.includes(i))this.isValidPairingTopic(i);else if(ls(i,!1)){const{message:r}=Z("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${i}`);throw new Error(r)}else{const{message:r}=Z("MISSING_OR_INVALID",`session or pairing topic should be a string: ${i}`);throw new Error(r)}}async isValidProposalId(i){if(!B1(i)){const{message:r}=Z("MISSING_OR_INVALID",`proposal id should be a number: ${i}`);throw new Error(r)}if(!this.client.proposal.keys.includes(i)){const{message:r}=Z("NO_MATCHING_KEY",`proposal id doesn't exist: ${i}`);throw new Error(r)}if(_i(this.client.proposal.get(i).expiry)){await this.deleteProposal(i);const{message:r}=Z("EXPIRED",`proposal id: ${i}`);throw new Error(r)}}}class kb extends bo{constructor(i,r){super(i,r,Nb,Sc),this.core=i,this.logger=r}}class Bb extends bo{constructor(i,r){super(i,r,Db,Sc),this.core=i,this.logger=r}}class Vb extends bo{constructor(i,r){super(i,r,$b,Sc,n=>n.id),this.core=i,this.logger=r}}let Kb=class Sf extends _m{constructor(i){super(i),this.protocol=Ef,this.version=xf,this.name=rc.name,this.events=new Sr.EventEmitter,this.on=(n,o)=>this.events.on(n,o),this.once=(n,o)=>this.events.once(n,o),this.off=(n,o)=>this.events.off(n,o),this.removeListener=(n,o)=>this.events.removeListener(n,o),this.removeAllListeners=n=>this.events.removeAllListeners(n),this.connect=async n=>{try{return await this.engine.connect(n)}catch(o){throw this.logger.error(o.message),o}},this.pair=async n=>{try{return await this.engine.pair(n)}catch(o){throw this.logger.error(o.message),o}},this.approve=async n=>{try{return await this.engine.approve(n)}catch(o){throw this.logger.error(o.message),o}},this.reject=async n=>{try{return await this.engine.reject(n)}catch(o){throw this.logger.error(o.message),o}},this.update=async n=>{try{return await this.engine.update(n)}catch(o){throw this.logger.error(o.message),o}},this.extend=async n=>{try{return await this.engine.extend(n)}catch(o){throw this.logger.error(o.message),o}},this.request=async n=>{try{return await this.engine.request(n)}catch(o){throw this.logger.error(o.message),o}},this.respond=async n=>{try{return await this.engine.respond(n)}catch(o){throw this.logger.error(o.message),o}},this.ping=async n=>{try{return await this.engine.ping(n)}catch(o){throw this.logger.error(o.message),o}},this.emit=async n=>{try{return await this.engine.emit(n)}catch(o){throw this.logger.error(o.message),o}},this.disconnect=async n=>{try{return await this.engine.disconnect(n)}catch(o){throw this.logger.error(o.message),o}},this.find=n=>{try{return this.engine.find(n)}catch(o){throw this.logger.error(o.message),o}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(n){throw this.logger.error(n.message),n}},this.name=(i==null?void 0:i.name)||rc.name,this.metadata=(i==null?void 0:i.metadata)||O1();const r=typeof(i==null?void 0:i.logger)<"u"&&typeof(i==null?void 0:i.logger)!="string"?i.logger:Ce.pino(Ce.getDefaultLoggerOptions({level:(i==null?void 0:i.logger)||rc.logger}));this.core=(i==null?void 0:i.core)||new Tb(i),this.logger=Ce.generateChildLogger(r,this.name),this.session=new Bb(this.core,this.logger),this.proposal=new kb(this.core,this.logger),this.pendingRequest=new Vb(this.core,this.logger),this.engine=new Hb(this)}static async init(i){const r=new Sf(i);return await r.initialize(),r}get context(){return Ce.getLoggerContext(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.engine.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(i){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(i.message),i}}};var fc={exports:{}};(function(u,i){var r=typeof self<"u"?self:ur,n=function(){function l(){this.fetch=!1,this.DOMException=r.DOMException}return l.prototype=r,new l}();(function(l){(function(d){var v={searchParams:"URLSearchParams"in l,iterable:"Symbol"in l&&"iterator"in Symbol,blob:"FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in l,arrayBuffer:"ArrayBuffer"in l};function _(y){return y&&DataView.prototype.isPrototypeOf(y)}if(v.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],D=ArrayBuffer.isView||function(y){return y&&S.indexOf(Object.prototype.toString.call(y))>-1};function H(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(y))throw new TypeError("Invalid character in header field name");return y.toLowerCase()}function B(y){return typeof y!="string"&&(y=String(y)),y}function K(y){var E={next:function(){var Y=y.shift();return{done:Y===void 0,value:Y}}};return v.iterable&&(E[Symbol.iterator]=function(){return E}),E}function q(y){this.map={},y instanceof q?y.forEach(function(E,Y){this.append(Y,E)},this):Array.isArray(y)?y.forEach(function(E){this.append(E[0],E[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(E){this.append(E,y[E])},this)}q.prototype.append=function(y,E){y=H(y),E=B(E);var Y=this.map[y];this.map[y]=Y?Y+", "+E:E},q.prototype.delete=function(y){delete this.map[H(y)]},q.prototype.get=function(y){return y=H(y),this.has(y)?this.map[y]:null},q.prototype.has=function(y){return this.map.hasOwnProperty(H(y))},q.prototype.set=function(y,E){this.map[H(y)]=B(E)},q.prototype.forEach=function(y,E){for(var Y in this.map)this.map.hasOwnProperty(Y)&&y.call(E,this.map[Y],Y,this)},q.prototype.keys=function(){var y=[];return this.forEach(function(E,Y){y.push(Y)}),K(y)},q.prototype.values=function(){var y=[];return this.forEach(function(E){y.push(E)}),K(y)},q.prototype.entries=function(){var y=[];return this.forEach(function(E,Y){y.push([Y,E])}),K(y)},v.iterable&&(q.prototype[Symbol.iterator]=q.prototype.entries);function W(y){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}function ie(y){return new Promise(function(E,Y){y.onload=function(){E(y.result)},y.onerror=function(){Y(y.error)}})}function Ee(y){var E=new FileReader,Y=ie(E);return E.readAsArrayBuffer(y),Y}function ge(y){var E=new FileReader,Y=ie(E);return E.readAsText(y),Y}function pe(y){for(var E=new Uint8Array(y),Y=new Array(E.length),ce=0;ce-1?E:y}function G(y,E){E=E||{};var Y=E.body;if(y instanceof G){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,E.headers||(this.headers=new q(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!Y&&y._bodyInit!=null&&(Y=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new q(E.headers)),this.method=M(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Y)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Y)}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})};function ye(y){var E=new FormData;return y.trim().split("&").forEach(function(Y){if(Y){var ce=Y.split("="),k=ce.shift().replace(/\+/g," "),j=ce.join("=").replace(/\+/g," ");E.append(decodeURIComponent(k),decodeURIComponent(j))}}),E}function re(y){var E=new q,Y=y.replace(/\r?\n[\t ]+/g," ");return Y.split(/\r?\n/).forEach(function(ce){var k=ce.split(":"),j=k.shift().trim();if(j){var U=k.join(":").trim();E.append(j,U)}}),E}le.call(G.prototype);function ue(y,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new q(E.headers),this.url=E.url||"",this._initBody(y)}le.call(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},ue.error=function(){var y=new ue(null,{status:0,statusText:""});return y.type="error",y};var Te=[301,302,303,307,308];ue.redirect=function(y,E){if(Te.indexOf(E)===-1)throw new RangeError("Invalid status code");return new ue(null,{status:E,headers:{location:y}})},d.DOMException=l.DOMException;try{new d.DOMException}catch{d.DOMException=function(E,Y){this.message=E,this.name=Y;var ce=Error(E);this.stack=ce.stack},d.DOMException.prototype=Object.create(Error.prototype),d.DOMException.prototype.constructor=d.DOMException}function ze(y,E){return new Promise(function(Y,ce){var k=new G(y,E);if(k.signal&&k.signal.aborted)return ce(new d.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function U(){j.abort()}j.onload=function(){var V={status:j.status,statusText:j.statusText,headers:re(j.getAllResponseHeaders()||"")};V.url="responseURL"in j?j.responseURL:V.headers.get("X-Request-URL");var Je="response"in j?j.response:j.responseText;Y(new ue(Je,V))},j.onerror=function(){ce(new TypeError("Network request failed"))},j.ontimeout=function(){ce(new TypeError("Network request failed"))},j.onabort=function(){ce(new d.DOMException("Aborted","AbortError"))},j.open(k.method,k.url,!0),k.credentials==="include"?j.withCredentials=!0:k.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&v.blob&&(j.responseType="blob"),k.headers.forEach(function(V,Je){j.setRequestHeader(Je,V)}),k.signal&&(k.signal.addEventListener("abort",U),j.onreadystatechange=function(){j.readyState===4&&k.signal.removeEventListener("abort",U)}),j.send(typeof k._bodyInit>"u"?null:k._bodyInit)})}return ze.polyfill=!0,l.fetch||(l.fetch=ze,l.Headers=q,l.Request=G,l.Response=ue),d.Headers=q,d.Request=G,d.Response=ue,d.fetch=ze,Object.defineProperty(d,"__esModule",{value:!0}),d})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var o=n;i=o.fetch,i.default=o.fetch,i.fetch=o.fetch,i.Headers=o.Headers,i.Request=o.Request,i.Response=o.Response,u.exports=i})(fc,fc.exports);var Gb=fc.exports;const Il=jl(Gb),Wb={Accept:"application/json","Content-Type":"application/json"},Jb="POST",Pl={headers:Wb,method:Jb},Sl=10;class Pi{constructor(i,r=!1){if(this.url=i,this.disableProviderPing=r,this.events=new Sr.EventEmitter,this.isAvailable=!1,this.registering=!1,!Xh(i))throw new Error(`Provided URL is not compatible with HTTP connection: ${i}`);this.url=i,this.disableProviderPing=r}get connected(){return this.isAvailable}get connecting(){return this.registering}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async open(i=this.url){await this.register(i)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(i,r){this.isAvailable||await this.register();try{const n=Ys(i),l=await(await Il(this.url,Object.assign(Object.assign({},Pl),{body:n}))).json();this.onPayload({data:l})}catch(n){this.onError(i.id,n)}}async register(i=this.url){if(!Xh(i))throw new Error(`Provided URL is not compatible with HTTP connection: ${i}`);if(this.registering){const r=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=r||this.events.listenerCount("open")>=r)&&this.events.setMaxListeners(r+1),new Promise((n,o)=>{this.events.once("register_error",l=>{this.resetMaxListeners(),o(l)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return o(new Error("HTTP connection is missing or invalid"));n()})})}this.url=i,this.registering=!0;try{if(!this.disableProviderPing){const r=Ys({id:1,jsonrpc:"2.0",method:"test",params:[]});await Il(i,Object.assign(Object.assign({},Pl),{body:r}))}this.onOpen()}catch(r){const n=this.parseError(r);throw this.events.emit("register_error",n),this.onClose(),n}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(i){if(typeof i.data>"u")return;const r=typeof i.data=="string"?mc(i.data):i.data;this.events.emit("payload",r)}onError(i,r){const n=this.parseError(r),o=n.message||n.toString(),l=mo(i,o);this.events.emit("payload",l)}parseError(i,r=this.url){return rf(i,r,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>Sl&&this.events.setMaxListeners(Sl)}}const Al="error",Qb="wss://relay.walletconnect.com",Yb="wc",Xb="universal_provider",Rl=`${Yb}@2:${Xb}:`,Zb="https://rpc.walletconnect.com/v1/",ci={DEFAULT_CHAIN_CHANGED:"default_chain_changed"};var Vs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pc={exports:{}};/** +import{e as ur,r as Ii,f as o1,h as se,i as Sr,j as a1,w as ql,k as Ml,m as yc,t as yo,o as c1,p as jl,q as bi,D as u1,s as h1,N as Z,u as l1,v as cc,x as f1,V as p1,R as d1,F as Rh,K as g1,y as y1,L as v1,z as Oh,$ as m1,A as w1,B as Qs,Z as Ch,J as _1,X as b1,C as vc,_ as zl,E as Fr,G as E1,H as x1,I as hs,M as Dt,U as er,O as _i,P as cr,Q as I1,S as ls,T as Ul,W as P1,Y as S1,a0 as A1,a1 as Hl,a2 as R1,a3 as kl,a4 as Bl,a5 as ps,a6 as uc,a7 as uo,a8 as gs,a9 as O1,aa as ho,ab as C1,ac as T1,ad as N1,ae as no,af as D1,ag as F1,ah as Ka,ai as Th,aj as $1,ak as L1,al as q1,am as Nh,an as M1,ao as j1,ap as z1,aq as U1,ar as H1,as as k1,at as B1,au as Ks,av as Vl,aw as Ga,ax as V1,ay as K1,az as G1}from"./index-183d29bc.js";var vo={},Xs={};Object.defineProperty(Xs,"__esModule",{value:!0});function W1(u){if(typeof u!="string")throw new Error(`Cannot safe json parse value of type ${typeof u}`);try{return JSON.parse(u)}catch{return u}}Xs.safeJsonParse=W1;function J1(u){return typeof u=="string"?u:JSON.stringify(u,(i,r)=>typeof r>"u"?null:r)}Xs.safeJsonStringify=J1;var Ls={exports:{}},Dh;function Q1(){return Dh||(Dh=1,function(){let u;function i(){}u=i,u.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},u.prototype.setItem=function(r,n){this[r]=String(n)},u.prototype.removeItem=function(r){delete this[r]},u.prototype.clear=function(){const r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},u.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},u.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof ur<"u"&&ur.localStorage?Ls.exports=ur.localStorage:typeof window<"u"&&window.localStorage?Ls.exports=window.localStorage:Ls.exports=new i}()),Ls.exports}var Wa={},qs={},Fh;function Y1(){if(Fh)return qs;Fh=1,Object.defineProperty(qs,"__esModule",{value:!0}),qs.IKeyValueStorage=void 0;class u{}return qs.IKeyValueStorage=u,qs}var Ms={},$h;function X1(){if($h)return Ms;$h=1,Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.parseEntry=void 0;const u=Xs;function i(r){var n;return[r[0],u.safeJsonParse((n=r[1])!==null&&n!==void 0?n:"")]}return Ms.parseEntry=i,Ms}var Lh;function Z1(){return Lh||(Lh=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});const i=Ii;i.__exportStar(Y1(),u),i.__exportStar(X1(),u)}(Wa)),Wa}Object.defineProperty(vo,"__esModule",{value:!0});vo.KeyValueStorage=void 0;const fs=Ii,qh=Xs,em=fs.__importDefault(Q1()),tm=Z1();class Kl{constructor(){this.localStorage=em.default}getKeys(){return fs.__awaiter(this,void 0,void 0,function*(){return Object.keys(this.localStorage)})}getEntries(){return fs.__awaiter(this,void 0,void 0,function*(){return Object.entries(this.localStorage).map(tm.parseEntry)})}getItem(i){return fs.__awaiter(this,void 0,void 0,function*(){const r=this.localStorage.getItem(i);if(r!==null)return qh.safeJsonParse(r)})}setItem(i,r){return fs.__awaiter(this,void 0,void 0,function*(){this.localStorage.setItem(i,qh.safeJsonStringify(r))})}removeItem(i){return fs.__awaiter(this,void 0,void 0,function*(){this.localStorage.removeItem(i)})}}vo.KeyValueStorage=Kl;var rm=vo.default=Kl,ys={},js={},Ja={},zs={};let Hi=class{};const im=Object.freeze(Object.defineProperty({__proto__:null,IEvents:Hi},Symbol.toStringTag,{value:"Module"})),sm=o1(im);var Mh;function nm(){if(Mh)return zs;Mh=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.IHeartBeat=void 0;const u=sm;class i extends u.IEvents{constructor(n){super()}}return zs.IHeartBeat=i,zs}var jh;function Gl(){return jh||(jh=1,function(u){Object.defineProperty(u,"__esModule",{value:!0}),Ii.__exportStar(nm(),u)}(Ja)),Ja}var Qa={},zi={},zh;function om(){if(zh)return zi;zh=1,Object.defineProperty(zi,"__esModule",{value:!0}),zi.HEARTBEAT_EVENTS=zi.HEARTBEAT_INTERVAL=void 0;const u=se;return zi.HEARTBEAT_INTERVAL=u.FIVE_SECONDS,zi.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"},zi}var Uh;function Wl(){return Uh||(Uh=1,function(u){Object.defineProperty(u,"__esModule",{value:!0}),Ii.__exportStar(om(),u)}(Qa)),Qa}var Hh;function am(){if(Hh)return js;Hh=1,Object.defineProperty(js,"__esModule",{value:!0}),js.HeartBeat=void 0;const u=Ii,i=Sr,r=se,n=Gl(),o=Wl();class l extends n.IHeartBeat{constructor(v){super(v),this.events=new i.EventEmitter,this.interval=o.HEARTBEAT_INTERVAL,this.interval=(v==null?void 0:v.interval)||o.HEARTBEAT_INTERVAL}static init(v){return u.__awaiter(this,void 0,void 0,function*(){const _=new l(v);return yield _.init(),_})}init(){return u.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(v,_){this.events.on(v,_)}once(v,_){this.events.once(v,_)}off(v,_){this.events.off(v,_)}removeListener(v,_){this.events.removeListener(v,_)}initialize(){return u.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),r.toMiliseconds(this.interval))})}pulse(){this.events.emit(o.HEARTBEAT_EVENTS.pulse)}}return js.HeartBeat=l,js}(function(u){Object.defineProperty(u,"__esModule",{value:!0});const i=Ii;i.__exportStar(am(),u),i.__exportStar(Gl(),u),i.__exportStar(Wl(),u)})(ys);var Ce={},Ya,kh;function cm(){if(kh)return Ya;kh=1;function u(r){try{return JSON.stringify(r)}catch{return'"[Circular]"'}}Ya=i;function i(r,n,o){var l=o&&o.stringify||u,d=1;if(typeof r=="object"&&r!==null){var v=n.length+d;if(v===1)return r;var _=new Array(v);_[0]=l(r);for(var S=1;S-1?K:0,r.charCodeAt(W+1)){case 100:case 102:if(B>=D||n[B]==null)break;K=D||n[B]==null)break;K=D||n[B]===void 0)break;K",K=W+2,W++;break}H+=l(n[B]),K=W+2,W++;break;case 115:if(B>=D)break;K-1&&(ue=!1);const Te=["error","fatal","warn","info","debug","trace"];typeof G=="function"&&(G.error=G.fatal=G.warn=G.info=G.debug=G.trace=G),T.enabled===!1&&(T.level="silent");const ze=T.level||"info",y=Object.create(G);y.log||(y.log=ie),Object.defineProperty(y,"levelVal",{get:Y}),Object.defineProperty(y,"level",{get:ce,set:k});const E={transmit:M,serialize:re,asObject:T.browser.asObject,levels:Te,timestamp:K(T)};y.levels=o.levels,y.level=ze,y.setMaxListeners=y.getMaxListeners=y.emit=y.addListener=y.on=y.prependListener=y.once=y.prependOnceListener=y.removeListener=y.removeAllListeners=y.listeners=y.listenerCount=y.eventNames=y.write=y.flush=ie,y.serializers=ye,y._serialize=re,y._stdErrSerialize=ue,y.child=j,M&&(y._logEvent=H());function Y(){return this.level==="silent"?1/0:this.levels.values[this.level]}function ce(){return this._level}function k(U){if(U!=="silent"&&!this.levels.values[U])throw Error("unknown level "+U);this._level=U,l(E,y,"error","log"),l(E,y,"fatal","error"),l(E,y,"warn","error"),l(E,y,"info","log"),l(E,y,"debug","log"),l(E,y,"trace","log")}function j(U,V){if(!U)throw new Error("missing bindings for child Pino");V=V||{},re&&U.serializers&&(V.serializers=U.serializers);const Je=V.serializers;if(re&&Je){var ke=Object.assign({},ye,Je),Lr=T.browser.serialize===!0?Object.keys(ke):re;delete U.serializers,_([U],Lr,ke,this._stdErrSerialize)}function xe(xt){this._childLevel=(xt._childLevel|0)+1,this.error=S(xt,U,"error"),this.fatal=S(xt,U,"fatal"),this.warn=S(xt,U,"warn"),this.info=S(xt,U,"info"),this.debug=S(xt,U,"debug"),this.trace=S(xt,U,"trace"),ke&&(this.serializers=ke,this._serialize=Lr),M&&(this._logEvent=H([].concat(xt._logEvent.bindings,U)))}return xe.prototype=this,new xe(this)}return y}o.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"}},o.stdSerializers=r,o.stdTimeFunctions=Object.assign({},{nullTime:Ee,epochTime:ge,unixTime:pe,isoTime:he});function l(T,M,G,ye){const re=Object.getPrototypeOf(M);M[G]=M.levelVal>M.levels.values[G]?ie:re[G]?re[G]:i[G]||i[ye]||ie,d(T,M,G)}function d(T,M,G){!T.transmit&&M[G]===ie||(M[G]=function(ye){return function(){const ue=T.timestamp(),Te=new Array(arguments.length),ze=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var y=0;y-1&&ue in G&&(T[re][ue]=G[ue](T[re][ue]))}function S(T,M,G){return function(){const ye=new Array(1+arguments.length);ye[0]=M;for(var re=1;re"u"?S=r(v,_):S=v.bindings().context||"",S}Zt.getLoggerContext=o;function l(v,_,S=u.PINO_CUSTOM_CONTEXT_KEY){const D=o(v,S);return D.trim()?`${D}/${_}`:_}Zt.formatChildLoggerContext=l;function d(v,_,S=u.PINO_CUSTOM_CONTEXT_KEY){const D=l(v,_,S),H=v.child({context:D});return n(H,D,S)}return Zt.generateChildLogger=d,Zt}(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.pino=void 0;const i=Ii,r=i.__importDefault(um());Object.defineProperty(u,"pino",{enumerable:!0,get:function(){return r.default}}),i.__exportStar(Jl(),u),i.__exportStar(hm(),u)})(Ce);class lm extends Hi{constructor(i){super(),this.opts=i,this.protocol="wc",this.version=2}}class fm extends Hi{constructor(i,r){super(),this.core=i,this.logger=r,this.records=new Map}}class pm{constructor(i,r){this.logger=i,this.core=r}}let dm=class extends Hi{constructor(i,r){super(),this.relayer=i,this.logger=r}},gm=class extends Hi{constructor(i){super()}},ym=class{constructor(i,r,n,o){this.core=i,this.logger=r,this.name=n}};class vm extends Hi{constructor(i,r){super(),this.relayer=i,this.logger=r}}let mm=class extends Hi{constructor(i,r){super(),this.core=i,this.logger=r}},wm=class{constructor(i,r){this.projectId=i,this.logger=r}},_m=class{constructor(i){this.opts=i,this.protocol="wc",this.version=2}},bm=class{constructor(i){this.client=i}};const Em=u=>JSON.stringify(u,(i,r)=>typeof r=="bigint"?r.toString()+"n":r),xm=u=>{const i=/([\[:])?(\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,r=u.replace(i,'$1"$2n"$3');return JSON.parse(r,(n,o)=>typeof o=="string"&&o.match(/^\d+n$/)?BigInt(o.substring(0,o.length-1)):o)};function mc(u){if(typeof u!="string")throw new Error(`Cannot safe json parse value of type ${typeof u}`);try{return xm(u)}catch{return u}}function Ys(u){return typeof u=="string"?u:Em(u)||""}var wc={},Ql={};(function(u){Object.defineProperty(u,"__esModule",{value:!0});var i=a1,r=ql;u.DIGEST_LENGTH=64,u.BLOCK_SIZE=128;var n=function(){function v(){this.digestLength=u.DIGEST_LENGTH,this.blockSize=u.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return v.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},v.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},v.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._tempHi),r.wipe(this._tempLo),this.reset()},v.prototype.update=function(_,S){if(S===void 0&&(S=_.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var D=0;if(this._bytesHashed+=S,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=_[D++],S--;this._bufferLength===this.blockSize&&(l(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(S>=this.blockSize&&(D=l(this._tempHi,this._tempLo,this._stateHi,this._stateLo,_,D,S),S%=this.blockSize);S>0;)this._buffer[this._bufferLength++]=_[D++],S--;return this},v.prototype.finish=function(_){if(!this._finished){var S=this._bytesHashed,D=this._bufferLength,H=S/536870912|0,B=S<<3,K=S%128<112?128:256;this._buffer[D]=128;for(var q=D+1;q0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},v.prototype.restoreState=function(_){return this._stateHi.set(_.stateHi),this._stateLo.set(_.stateLo),this._bufferLength=_.bufferLength,_.buffer&&this._buffer.set(_.buffer),this._bytesHashed=_.bytesHashed,this._finished=!1,this},v.prototype.cleanSavedState=function(_){r.wipe(_.stateHi),r.wipe(_.stateLo),_.buffer&&r.wipe(_.buffer),_.bufferLength=0,_.bytesHashed=0},v}();u.SHA512=n;var o=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function l(v,_,S,D,H,B,K){for(var q=S[0],W=S[1],ie=S[2],Ee=S[3],ge=S[4],pe=S[5],he=S[6],le=S[7],T=D[0],M=D[1],G=D[2],ye=D[3],re=D[4],ue=D[5],Te=D[6],ze=D[7],y,E,Y,ce,k,j,U,V;K>=128;){for(var Je=0;Je<16;Je++){var ke=8*Je+B;v[Je]=i.readUint32BE(H,ke),_[Je]=i.readUint32BE(H,ke+4)}for(var Je=0;Je<80;Je++){var Lr=q,xe=W,xt=ie,C=Ee,O=ge,A=pe,c=he,b=le,ee=T,fe=M,_e=G,Ne=ye,Fe=re,Se=ue,It=Te,mt=ze;if(y=le,E=ze,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=(ge>>>14|re<<32-14)^(ge>>>18|re<<32-18)^(re>>>41-32|ge<<32-(41-32)),E=(re>>>14|ge<<32-14)^(re>>>18|ge<<32-18)^(ge>>>41-32|re<<32-(41-32)),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=ge&pe^~ge&he,E=re&ue^~re&Te,k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=o[Je*2],E=o[Je*2+1],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=v[Je%16],E=_[Je%16],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,Y=U&65535|V<<16,ce=k&65535|j<<16,y=Y,E=ce,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=(q>>>28|T<<32-28)^(T>>>34-32|q<<32-(34-32))^(T>>>39-32|q<<32-(39-32)),E=(T>>>28|q<<32-28)^(q>>>34-32|T<<32-(34-32))^(q>>>39-32|T<<32-(39-32)),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,y=q&W^q&ie^W&ie,E=T&M^T&G^M&G,k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,b=U&65535|V<<16,mt=k&65535|j<<16,y=C,E=Ne,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=Y,E=ce,k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,C=U&65535|V<<16,Ne=k&65535|j<<16,W=Lr,ie=xe,Ee=xt,ge=C,pe=O,he=A,le=c,q=b,M=ee,G=fe,ye=_e,re=Ne,ue=Fe,Te=Se,ze=It,T=mt,Je%16===15)for(var ke=0;ke<16;ke++)y=v[ke],E=_[ke],k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=v[(ke+9)%16],E=_[(ke+9)%16],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,Y=v[(ke+1)%16],ce=_[(ke+1)%16],y=(Y>>>1|ce<<32-1)^(Y>>>8|ce<<32-8)^Y>>>7,E=(ce>>>1|Y<<32-1)^(ce>>>8|Y<<32-8)^(ce>>>7|Y<<32-7),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,Y=v[(ke+14)%16],ce=_[(ke+14)%16],y=(Y>>>19|ce<<32-19)^(ce>>>61-32|Y<<32-(61-32))^Y>>>6,E=(ce>>>19|Y<<32-19)^(Y>>>61-32|ce<<32-(61-32))^(ce>>>6|Y<<32-6),k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,v[ke]=U&65535|V<<16,_[ke]=k&65535|j<<16}y=q,E=T,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[0],E=D[0],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[0]=q=U&65535|V<<16,D[0]=T=k&65535|j<<16,y=W,E=M,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[1],E=D[1],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[1]=W=U&65535|V<<16,D[1]=M=k&65535|j<<16,y=ie,E=G,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[2],E=D[2],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[2]=ie=U&65535|V<<16,D[2]=G=k&65535|j<<16,y=Ee,E=ye,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[3],E=D[3],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[3]=Ee=U&65535|V<<16,D[3]=ye=k&65535|j<<16,y=ge,E=re,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[4],E=D[4],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[4]=ge=U&65535|V<<16,D[4]=re=k&65535|j<<16,y=pe,E=ue,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[5],E=D[5],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[5]=pe=U&65535|V<<16,D[5]=ue=k&65535|j<<16,y=he,E=Te,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[6],E=D[6],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[6]=he=U&65535|V<<16,D[6]=Te=k&65535|j<<16,y=le,E=ze,k=E&65535,j=E>>>16,U=y&65535,V=y>>>16,y=S[7],E=D[7],k+=E&65535,j+=E>>>16,U+=y&65535,V+=y>>>16,j+=k>>>16,U+=j>>>16,V+=U>>>16,S[7]=le=U&65535|V<<16,D[7]=ze=k&65535|j<<16,B+=128,K-=128}return B}function d(v){var _=new n;_.update(v);var S=_.digest();return _.clean(),S}u.hash=d})(Ql);(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.convertSecretKeyToX25519=u.convertPublicKeyToX25519=u.verify=u.sign=u.extractPublicKeyFromSecretKey=u.generateKeyPair=u.generateKeyPairFromSeed=u.SEED_LENGTH=u.SECRET_KEY_LENGTH=u.PUBLIC_KEY_LENGTH=u.SIGNATURE_LENGTH=void 0;const i=Ml,r=Ql,n=ql;u.SIGNATURE_LENGTH=64,u.PUBLIC_KEY_LENGTH=32,u.SECRET_KEY_LENGTH=64,u.SEED_LENGTH=32;function o(C){const O=new Float64Array(16);if(C)for(let A=0;A>16&1),A[fe-1]&=65535;A[15]=c[15]-32767-(A[14]>>16&1);const ee=A[15]>>16&1;A[14]&=65535,W(c,A,1-ee)}for(let b=0;b<16;b++)C[2*b]=c[b]&255,C[2*b+1]=c[b]>>8}function Ee(C,O){let A=0;for(let c=0;c<32;c++)A|=C[c]^O[c];return(1&A-1>>>8)-1}function ge(C,O){const A=new Uint8Array(32),c=new Uint8Array(32);return ie(A,C),ie(c,O),Ee(A,c)}function pe(C){const O=new Uint8Array(32);return ie(O,C),O[0]&1}function he(C,O){for(let A=0;A<16;A++)C[A]=O[2*A]+(O[2*A+1]<<8);C[15]&=32767}function le(C,O,A){for(let c=0;c<16;c++)C[c]=O[c]+A[c]}function T(C,O,A){for(let c=0;c<16;c++)C[c]=O[c]-A[c]}function M(C,O,A){let c,b,ee=0,fe=0,_e=0,Ne=0,Fe=0,Se=0,It=0,mt=0,ot=0,Le=0,Ye=0,Xe=0,at=0,Ue=0,Ze=0,De=0,Be=0,ht=0,Me=0,Pt=0,Ft=0,zt=0,Ut=0,qt=0,Gt=0,tr=0,qr=0,Wt=0,Br=0,ui=0,Si=0,lt=A[0],rt=A[1],ft=A[2],pt=A[3],ct=A[4],it=A[5],St=A[6],At=A[7],dt=A[8],Rt=A[9],gt=A[10],wt=A[11],yt=A[12],Qe=A[13],Ot=A[14],Ct=A[15];c=O[0],ee+=c*lt,fe+=c*rt,_e+=c*ft,Ne+=c*pt,Fe+=c*ct,Se+=c*it,It+=c*St,mt+=c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t,Gt+=c*wt,tr+=c*yt,qr+=c*Qe,Wt+=c*Ot,Br+=c*Ct,c=O[14],Ze+=c*lt,De+=c*rt,Be+=c*ft,ht+=c*pt,Me+=c*ct,Pt+=c*it,Ft+=c*St,zt+=c*At,Ut+=c*dt,qt+=c*Rt,Gt+=c*gt,tr+=c*wt,qr+=c*yt,Wt+=c*Qe,Br+=c*Ot,ui+=c*Ct,c=O[15],De+=c*lt,Be+=c*rt,ht+=c*ft,Me+=c*pt,Pt+=c*ct,Ft+=c*it,zt+=c*St,Ut+=c*At,qt+=c*dt,Gt+=c*Rt,tr+=c*gt,qr+=c*wt,Wt+=c*yt,Br+=c*Qe,ui+=c*Ot,Si+=c*Ct,ee+=38*Be,fe+=38*ht,_e+=38*Me,Ne+=38*Pt,Fe+=38*Ft,Se+=38*zt,It+=38*Ut,mt+=38*qt,ot+=38*Gt,Le+=38*tr,Ye+=38*qr,Xe+=38*Wt,at+=38*Br,Ue+=38*ui,Ze+=38*Si,b=1,c=ee+b+65535,b=Math.floor(c/65536),ee=c-b*65536,c=fe+b+65535,b=Math.floor(c/65536),fe=c-b*65536,c=_e+b+65535,b=Math.floor(c/65536),_e=c-b*65536,c=Ne+b+65535,b=Math.floor(c/65536),Ne=c-b*65536,c=Fe+b+65535,b=Math.floor(c/65536),Fe=c-b*65536,c=Se+b+65535,b=Math.floor(c/65536),Se=c-b*65536,c=It+b+65535,b=Math.floor(c/65536),It=c-b*65536,c=mt+b+65535,b=Math.floor(c/65536),mt=c-b*65536,c=ot+b+65535,b=Math.floor(c/65536),ot=c-b*65536,c=Le+b+65535,b=Math.floor(c/65536),Le=c-b*65536,c=Ye+b+65535,b=Math.floor(c/65536),Ye=c-b*65536,c=Xe+b+65535,b=Math.floor(c/65536),Xe=c-b*65536,c=at+b+65535,b=Math.floor(c/65536),at=c-b*65536,c=Ue+b+65535,b=Math.floor(c/65536),Ue=c-b*65536,c=Ze+b+65535,b=Math.floor(c/65536),Ze=c-b*65536,c=De+b+65535,b=Math.floor(c/65536),De=c-b*65536,ee+=b-1+37*(b-1),b=1,c=ee+b+65535,b=Math.floor(c/65536),ee=c-b*65536,c=fe+b+65535,b=Math.floor(c/65536),fe=c-b*65536,c=_e+b+65535,b=Math.floor(c/65536),_e=c-b*65536,c=Ne+b+65535,b=Math.floor(c/65536),Ne=c-b*65536,c=Fe+b+65535,b=Math.floor(c/65536),Fe=c-b*65536,c=Se+b+65535,b=Math.floor(c/65536),Se=c-b*65536,c=It+b+65535,b=Math.floor(c/65536),It=c-b*65536,c=mt+b+65535,b=Math.floor(c/65536),mt=c-b*65536,c=ot+b+65535,b=Math.floor(c/65536),ot=c-b*65536,c=Le+b+65535,b=Math.floor(c/65536),Le=c-b*65536,c=Ye+b+65535,b=Math.floor(c/65536),Ye=c-b*65536,c=Xe+b+65535,b=Math.floor(c/65536),Xe=c-b*65536,c=at+b+65535,b=Math.floor(c/65536),at=c-b*65536,c=Ue+b+65535,b=Math.floor(c/65536),Ue=c-b*65536,c=Ze+b+65535,b=Math.floor(c/65536),Ze=c-b*65536,c=De+b+65535,b=Math.floor(c/65536),De=c-b*65536,ee+=b-1+37*(b-1),C[0]=ee,C[1]=fe,C[2]=_e,C[3]=Ne,C[4]=Fe,C[5]=Se,C[6]=It,C[7]=mt,C[8]=ot,C[9]=Le,C[10]=Ye,C[11]=Xe,C[12]=at,C[13]=Ue,C[14]=Ze,C[15]=De}function G(C,O){M(C,O,O)}function ye(C,O){const A=o();let c;for(c=0;c<16;c++)A[c]=O[c];for(c=253;c>=0;c--)G(A,A),c!==2&&c!==4&&M(A,A,O);for(c=0;c<16;c++)C[c]=A[c]}function re(C,O){const A=o();let c;for(c=0;c<16;c++)A[c]=O[c];for(c=250;c>=0;c--)G(A,A),c!==1&&M(A,A,O);for(c=0;c<16;c++)C[c]=A[c]}function ue(C,O){const A=o(),c=o(),b=o(),ee=o(),fe=o(),_e=o(),Ne=o(),Fe=o(),Se=o();T(A,C[1],C[0]),T(Se,O[1],O[0]),M(A,A,Se),le(c,C[0],C[1]),le(Se,O[0],O[1]),M(c,c,Se),M(b,C[3],O[3]),M(b,b,S),M(ee,C[2],O[2]),le(ee,ee,ee),T(fe,c,A),T(_e,ee,b),le(Ne,ee,b),le(Fe,c,A),M(C[0],fe,_e),M(C[1],Fe,Ne),M(C[2],Ne,_e),M(C[3],fe,Fe)}function Te(C,O,A){for(let c=0;c<4;c++)W(C[c],O[c],A)}function ze(C,O){const A=o(),c=o(),b=o();ye(b,O[2]),M(A,O[0],b),M(c,O[1],b),ie(C,c),C[31]^=pe(A)<<7}function y(C,O,A){K(C[0],d),K(C[1],v),K(C[2],v),K(C[3],d);for(let c=255;c>=0;--c){const b=A[c/8|0]>>(c&7)&1;Te(C,O,b),ue(O,C),ue(C,C),Te(C,O,b)}}function E(C,O){const A=[o(),o(),o(),o()];K(A[0],D),K(A[1],H),K(A[2],v),M(A[3],D,H),y(C,A,O)}function Y(C){if(C.length!==u.SEED_LENGTH)throw new Error(`ed25519: seed must be ${u.SEED_LENGTH} bytes`);const O=(0,r.hash)(C);O[0]&=248,O[31]&=127,O[31]|=64;const A=new Uint8Array(32),c=[o(),o(),o(),o()];E(c,O),ze(A,c);const b=new Uint8Array(64);return b.set(C),b.set(A,32),{publicKey:A,secretKey:b}}u.generateKeyPairFromSeed=Y;function ce(C){const O=(0,i.randomBytes)(32,C),A=Y(O);return(0,n.wipe)(O),A}u.generateKeyPair=ce;function k(C){if(C.length!==u.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${u.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(C.subarray(32))}u.extractPublicKeyFromSecretKey=k;const j=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function U(C,O){let A,c,b,ee;for(c=63;c>=32;--c){for(A=0,b=c-32,ee=c-12;b>4)*j[b],A=O[b]>>8,O[b]&=255;for(b=0;b<32;b++)O[b]-=A*j[b];for(c=0;c<32;c++)O[c+1]+=O[c]>>8,C[c]=O[c]&255}function V(C){const O=new Float64Array(64);for(let A=0;A<64;A++)O[A]=C[A];for(let A=0;A<64;A++)C[A]=0;U(C,O)}function Je(C,O){const A=new Float64Array(64),c=[o(),o(),o(),o()],b=(0,r.hash)(C.subarray(0,32));b[0]&=248,b[31]&=127,b[31]|=64;const ee=new Uint8Array(64);ee.set(b.subarray(32),32);const fe=new r.SHA512;fe.update(ee.subarray(32)),fe.update(O);const _e=fe.digest();fe.clean(),V(_e),E(c,_e),ze(ee,c),fe.reset(),fe.update(ee.subarray(0,32)),fe.update(C.subarray(32)),fe.update(O);const Ne=fe.digest();V(Ne);for(let Fe=0;Fe<32;Fe++)A[Fe]=_e[Fe];for(let Fe=0;Fe<32;Fe++)for(let Se=0;Se<32;Se++)A[Fe+Se]+=Ne[Fe]*b[Se];return U(ee.subarray(32),A),ee}u.sign=Je;function ke(C,O){const A=o(),c=o(),b=o(),ee=o(),fe=o(),_e=o(),Ne=o();return K(C[2],v),he(C[1],O),G(b,C[1]),M(ee,b,_),T(b,b,C[2]),le(ee,C[2],ee),G(fe,ee),G(_e,fe),M(Ne,_e,fe),M(A,Ne,b),M(A,A,ee),re(A,A),M(A,A,b),M(A,A,ee),M(A,A,ee),M(C[0],A,ee),G(c,C[0]),M(c,c,ee),ge(c,b)&&M(C[0],C[0],B),G(c,C[0]),M(c,c,ee),ge(c,b)?-1:(pe(C[0])===O[31]>>7&&T(C[0],d,C[0]),M(C[3],C[0],C[1]),0)}function Lr(C,O,A){const c=new Uint8Array(32),b=[o(),o(),o(),o()],ee=[o(),o(),o(),o()];if(A.length!==u.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${u.SIGNATURE_LENGTH} bytes`);if(ke(ee,C))return!1;const fe=new r.SHA512;fe.update(A.subarray(0,32)),fe.update(C),fe.update(O);const _e=fe.digest();return V(_e),y(b,ee,_e),E(ee,A.subarray(32)),ue(b,ee),ze(c,b),!Ee(A,c)}u.verify=Lr;function xe(C){let O=[o(),o(),o(),o()];if(ke(O,C))throw new Error("Ed25519: invalid public key");let A=o(),c=o(),b=O[1];le(A,v,b),T(c,v,b),ye(c,c),M(A,A,c);let ee=new Uint8Array(32);return ie(ee,A),ee}u.convertPublicKeyToX25519=xe;function xt(C){const O=(0,r.hash)(C.subarray(0,32));O[0]&=248,O[31]&=127,O[31]|=64;const A=new Uint8Array(O.subarray(0,32));return(0,n.wipe)(O),A}u.convertSecretKeyToX25519=xt})(wc);const Im="EdDSA",Pm="JWT",Yl=".",Xl="base64url",Sm="utf8",Am="utf8",Rm=":",Om="did",Cm="key",Gh="base58btc",Tm="z",Nm="K36",Dm=32;function fo(u){return yo(yc(Ys(u),Sm),Xl)}function Zl(u){const i=yc(Nm,Gh),r=Tm+yo(c1([i,u]),Gh);return[Om,Cm,r].join(Rm)}function Fm(u){return yo(u,Xl)}function $m(u){return yc([fo(u.header),fo(u.payload)].join(Yl),Am)}function Lm(u){return[fo(u.header),fo(u.payload),Fm(u.signature)].join(Yl)}function Wh(u=Ml.randomBytes(Dm)){return wc.generateKeyPairFromSeed(u)}async function qm(u,i,r,n,o=se.fromMiliseconds(Date.now())){const l={alg:Im,typ:Pm},d=Zl(n.publicKey),v=o+r,_={iss:d,sub:u,aud:i,iat:o,exp:v},S=$m({header:l,payload:_}),D=wc.sign(n.secretKey,S);return Lm({header:l,payload:_,signature:D})}const Mm="PARSE_ERROR",jm="INVALID_REQUEST",zm="METHOD_NOT_FOUND",Um="INVALID_PARAMS",ef="INTERNAL_ERROR",_c="SERVER_ERROR",Hm=[-32700,-32600,-32601,-32602,-32603],Js={[Mm]:{code:-32700,message:"Parse error"},[jm]:{code:-32600,message:"Invalid Request"},[zm]:{code:-32601,message:"Method not found"},[Um]:{code:-32602,message:"Invalid params"},[ef]:{code:-32603,message:"Internal error"},[_c]:{code:-32e3,message:"Server error"}},tf=_c;function km(u){return Hm.includes(u)}function Jh(u){return Object.keys(Js).includes(u)?Js[u]:Js[tf]}function Bm(u){const i=Object.values(Js).find(r=>r.code===u);return i||Js[tf]}function rf(u,i,r){return u.message.includes("getaddrinfo ENOTFOUND")||u.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${r} RPC url at ${i}`):u}var sf={},ri={},Qh;function Vm(){if(Qh)return ri;Qh=1,Object.defineProperty(ri,"__esModule",{value:!0}),ri.isBrowserCryptoAvailable=ri.getSubtleCrypto=ri.getBrowerCrypto=void 0;function u(){return(ur===null||ur===void 0?void 0:ur.crypto)||(ur===null||ur===void 0?void 0:ur.msCrypto)||{}}ri.getBrowerCrypto=u;function i(){const n=u();return n.subtle||n.webkitSubtle}ri.getSubtleCrypto=i;function r(){return!!u()&&!!i()}return ri.isBrowserCryptoAvailable=r,ri}var ii={},Yh;function Km(){if(Yh)return ii;Yh=1,Object.defineProperty(ii,"__esModule",{value:!0}),ii.isBrowser=ii.isNode=ii.isReactNative=void 0;function u(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}ii.isReactNative=u;function i(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}ii.isNode=i;function r(){return!u()&&!i()}return ii.isBrowser=r,ii}(function(u){Object.defineProperty(u,"__esModule",{value:!0});const i=Ii;i.__exportStar(Vm(),u),i.__exportStar(Km(),u)})(sf);function bc(u=3){const i=Date.now()*Math.pow(10,u),r=Math.floor(Math.random()*Math.pow(10,u));return i+r}function nf(u=6){return BigInt(bc(u))}function ds(u,i,r){return{id:r||bc(),jsonrpc:"2.0",method:u,params:i}}function Ec(u,i){return{id:u,jsonrpc:"2.0",result:i}}function mo(u,i,r){return{id:u,jsonrpc:"2.0",error:Gm(i,r)}}function Gm(u,i){return typeof u>"u"?Jh(ef):(typeof u=="string"&&(u=Object.assign(Object.assign({},Jh(_c)),{message:u})),typeof i<"u"&&(u.data=i),km(u.code)&&(u=Bm(u.code)),u)}class Wm{}class Jm extends Wm{constructor(){super()}}class Qm extends Jm{constructor(i){super()}}const Ym="^https?:",Xm="^wss?:";function Zm(u){const i=u.match(new RegExp(/^\w+:/,"gi"));if(!(!i||!i.length))return i[0]}function of(u,i){const r=Zm(u);return typeof r>"u"?!1:new RegExp(i).test(r)}function Xh(u){return of(u,Ym)}function Zh(u){return of(u,Xm)}function ew(u){return new RegExp("wss?://localhost(:d{2,5})?").test(u)}function af(u){return typeof u=="object"&&"id"in u&&"jsonrpc"in u&&u.jsonrpc==="2.0"}function xc(u){return af(u)&&"method"in u}function wo(u){return af(u)&&(oi(u)||$r(u))}function oi(u){return"result"in u}function $r(u){return"error"in u}class ai extends Qm{constructor(i){super(i),this.events=new Sr.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(i),this.connection.connected&&this.registerEventListeners()}async connect(i=this.connection){await this.open(i)}async disconnect(){await this.close()}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async request(i,r){return this.requestStrict(ds(i.method,i.params||[],i.id||nf().toString()),r)}async requestStrict(i,r){return new Promise(async(n,o)=>{if(!this.connection.connected)try{await this.open()}catch(l){o(l)}this.events.on(`${i.id}`,l=>{$r(l)?o(l.error):n(l.result)});try{await this.connection.send(i,r)}catch(l){o(l)}})}setConnection(i=this.connection){return i}onPayload(i){this.events.emit("payload",i),wo(i)?this.events.emit(`${i.id}`,i):this.events.emit("message",{type:i.method,data:i.params})}onClose(i){i&&i.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${i.code} ${i.reason?`(${i.reason})`:""}`)),this.events.emit("disconnect")}async open(i=this.connection){this.connection===i&&this.connection.connected||(this.connection.connected&&this.close(),typeof i=="string"&&(await this.connection.open(i),i=this.connection),this.connection=this.setConnection(i),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",i=>this.onPayload(i)),this.connection.on("close",i=>this.onClose(i)),this.connection.on("error",i=>this.events.emit("error",i)),this.connection.on("register_error",i=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const tw=()=>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"),rw=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",el=u=>u.split("?")[0],tl=10,iw=tw();class sw{constructor(i){if(this.url=i,this.events=new Sr.EventEmitter,this.registering=!1,!Zh(i))throw new Error(`Provided URL is not compatible with WebSocket connection: ${i}`);this.url=i}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async open(i=this.url){await this.register(i)}async close(){return new Promise((i,r)=>{if(typeof this.socket>"u"){r(new Error("Connection already closed"));return}this.socket.onclose=n=>{this.onClose(n),i()},this.socket.close()})}async send(i,r){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(Ys(i))}catch(n){this.onError(i.id,n)}}register(i=this.url){if(!Zh(i))throw new Error(`Provided URL is not compatible with WebSocket connection: ${i}`);if(this.registering){const r=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=r||this.events.listenerCount("open")>=r)&&this.events.setMaxListeners(r+1),new Promise((n,o)=>{this.events.once("register_error",l=>{this.resetMaxListeners(),o(l)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return o(new Error("WebSocket connection is missing or invalid"));n(this.socket)})})}return this.url=i,this.registering=!0,new Promise((r,n)=>{const o=sf.isReactNative()?void 0:{rejectUnauthorized:!ew(i)},l=new iw(i,[],o);rw()?l.onerror=d=>{const v=d;n(this.emitError(v.error))}:l.on("error",d=>{n(this.emitError(d))}),l.onopen=()=>{this.onOpen(l),r(l)}})}onOpen(i){i.onmessage=r=>this.onPayload(r),i.onclose=r=>this.onClose(r),this.socket=i,this.registering=!1,this.events.emit("open")}onClose(i){this.socket=void 0,this.registering=!1,this.events.emit("close",i)}onPayload(i){if(typeof i.data>"u")return;const r=typeof i.data=="string"?mc(i.data):i.data;this.events.emit("payload",r)}onError(i,r){const n=this.parseError(r),o=n.message||n.toString(),l=mo(i,o);this.events.emit("payload",l)}parseError(i,r=this.url){return rf(i,el(r),"WS")}resetMaxListeners(){this.events.getMaxListeners()>tl&&this.events.setMaxListeners(tl)}emitError(i){const r=this.parseError(new Error((i==null?void 0:i.message)||`WebSocket connection failed for host: ${el(this.url)}`));return this.events.emit("register_error",r),r}}var po={exports:{}};po.exports;(function(u,i){var r=200,n="__lodash_hash_undefined__",o=1,l=2,d=9007199254740991,v="[object Arguments]",_="[object Array]",S="[object AsyncFunction]",D="[object Boolean]",H="[object Date]",B="[object Error]",K="[object Function]",q="[object GeneratorFunction]",W="[object Map]",ie="[object Number]",Ee="[object Null]",ge="[object Object]",pe="[object Promise]",he="[object Proxy]",le="[object RegExp]",T="[object Set]",M="[object String]",G="[object Symbol]",ye="[object Undefined]",re="[object WeakMap]",ue="[object ArrayBuffer]",Te="[object DataView]",ze="[object Float32Array]",y="[object Float64Array]",E="[object Int8Array]",Y="[object Int16Array]",ce="[object Int32Array]",k="[object Uint8Array]",j="[object Uint8ClampedArray]",U="[object Uint16Array]",V="[object Uint32Array]",Je=/[\\^$.*+?()[\]{}|]/g,ke=/^\[object .+?Constructor\]$/,Lr=/^(?:0|[1-9]\d*)$/,xe={};xe[ze]=xe[y]=xe[E]=xe[Y]=xe[ce]=xe[k]=xe[j]=xe[U]=xe[V]=!0,xe[v]=xe[_]=xe[ue]=xe[D]=xe[Te]=xe[H]=xe[B]=xe[K]=xe[W]=xe[ie]=xe[ge]=xe[le]=xe[T]=xe[M]=xe[re]=!1;var xt=typeof ur=="object"&&ur&&ur.Object===Object&&ur,C=typeof self=="object"&&self&&self.Object===Object&&self,O=xt||C||Function("return this")(),A=i&&!i.nodeType&&i,c=A&&!0&&u&&!u.nodeType&&u,b=c&&c.exports===A,ee=b&&xt.process,fe=function(){try{return ee&&ee.binding&&ee.binding("util")}catch{}}(),_e=fe&&fe.isTypedArray;function Ne(g,x){for(var L=-1,Q=g==null?0:g.length,Ke=0,ve=[];++L-1}function Oo(g,x){var L=this.__data__,Q=Ai(L,g);return Q<0?(++this.size,L.push([g,x])):L[Q][1]=x,this}yr.prototype.clear=Po,yr.prototype.delete=So,yr.prototype.get=Ao,yr.prototype.has=Ro,yr.prototype.set=Oo;function Vr(g){var x=-1,L=g==null?0:g.length;for(this.clear();++xTt))return!1;var Ge=ve.get(g);if(Ge&&ve.get(x))return Ge==x;var _t=-1,rr=!0,Nt=L&l?new Ki:void 0;for(ve.set(g,x),ve.set(x,g);++_t-1&&g%1==0&&g-1&&g%1==0&&g<=d}function mn(g){var x=typeof g;return g!=null&&(x=="object"||x=="function")}function Ci(g){return g!=null&&typeof g=="object"}var wn=_e?mt(_e):on;function Ho(g){return zo(g)?sn(g):an(g)}function Ve(){return[]}function He(){return!1}u.exports=Uo})(po,po.exports);var nw=po.exports;const ow=jl(nw);function aw(u,i){if(u.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n>>0,he=new Uint8Array(pe);Ee!==ge;){for(var le=q[Ee],T=0,M=pe-1;(le!==0||T>>0,he[M]=le%v>>>0,le=le/v>>>0;if(le!==0)throw new Error("Non-zero carry");ie=T,Ee++}for(var G=pe-ie;G!==pe&&he[G]===0;)G++;for(var ye=_.repeat(W);G>>0,pe=new Uint8Array(ge);q[W];){var he=r[q.charCodeAt(W)];if(he===255)return;for(var le=0,T=ge-1;(he!==0||le>>0,pe[T]=he%256>>>0,he=he/256>>>0;if(he!==0)throw new Error("Non-zero carry");Ee=le,W++}if(q[W]!==" "){for(var M=ge-Ee;M!==ge&&pe[M]===0;)M++;for(var G=new Uint8Array(ie+(ge-M)),ye=ie;M!==ge;)G[ye++]=pe[M++];return G}}}function K(q){var W=B(q);if(W)return W;throw new Error(`Non-${i} character`)}return{encode:H,decodeUnsafe:B,decode:K}}var cw=aw,uw=cw;const cf=u=>{if(u instanceof Uint8Array&&u.constructor.name==="Uint8Array")return u;if(u instanceof ArrayBuffer)return new Uint8Array(u);if(ArrayBuffer.isView(u))return new Uint8Array(u.buffer,u.byteOffset,u.byteLength);throw new Error("Unknown type, must be binary type")},hw=u=>new TextEncoder().encode(u),lw=u=>new TextDecoder().decode(u);class fw{constructor(i,r,n){this.name=i,this.prefix=r,this.baseEncode=n}encode(i){if(i instanceof Uint8Array)return`${this.prefix}${this.baseEncode(i)}`;throw Error("Unknown type, must be binary type")}}class pw{constructor(i,r,n){if(this.name=i,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(i){if(typeof i=="string"){if(i.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(i)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(i.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(i){return uf(this,i)}}class dw{constructor(i){this.decoders=i}or(i){return uf(this,i)}decode(i){const r=i[0],n=this.decoders[r];if(n)return n.decode(i);throw RangeError(`Unable to decode multibase string ${JSON.stringify(i)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const uf=(u,i)=>new dw({...u.decoders||{[u.prefix]:u},...i.decoders||{[i.prefix]:i}});class gw{constructor(i,r,n,o){this.name=i,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new fw(i,r,n),this.decoder=new pw(i,r,o)}encode(i){return this.encoder.encode(i)}decode(i){return this.decoder.decode(i)}}const _o=({name:u,prefix:i,encode:r,decode:n})=>new gw(u,i,r,n),Zs=({prefix:u,name:i,alphabet:r})=>{const{encode:n,decode:o}=uw(r,i);return _o({prefix:u,name:i,encode:n,decode:l=>cf(o(l))})},yw=(u,i,r,n)=>{const o={};for(let D=0;D=8&&(v-=8,d[S++]=255&_>>v)}if(v>=r||255&_<<8-v)throw new SyntaxError("Unexpected end of data");return d},vw=(u,i,r)=>{const n=i[i.length-1]==="=",o=(1<r;)d-=r,l+=i[o&v>>d];if(d&&(l+=i[o&v<_o({prefix:i,name:u,encode(o){return vw(o,n,r)},decode(o){return yw(o,n,r,u)}}),mw=_o({prefix:"\0",name:"identity",encode:u=>lw(u),decode:u=>hw(u)});var ww=Object.freeze({__proto__:null,identity:mw});const _w=kt({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var bw=Object.freeze({__proto__:null,base2:_w});const Ew=kt({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var xw=Object.freeze({__proto__:null,base8:Ew});const Iw=Zs({prefix:"9",name:"base10",alphabet:"0123456789"});var Pw=Object.freeze({__proto__:null,base10:Iw});const Sw=kt({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Aw=kt({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var Rw=Object.freeze({__proto__:null,base16:Sw,base16upper:Aw});const Ow=kt({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Cw=kt({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Tw=kt({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Nw=kt({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Dw=kt({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Fw=kt({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),$w=kt({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Lw=kt({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),qw=kt({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var Mw=Object.freeze({__proto__:null,base32:Ow,base32upper:Cw,base32pad:Tw,base32padupper:Nw,base32hex:Dw,base32hexupper:Fw,base32hexpad:$w,base32hexpadupper:Lw,base32z:qw});const jw=Zs({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),zw=Zs({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var Uw=Object.freeze({__proto__:null,base36:jw,base36upper:zw});const Hw=Zs({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),kw=Zs({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var Bw=Object.freeze({__proto__:null,base58btc:Hw,base58flickr:kw});const Vw=kt({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Kw=kt({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Gw=kt({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Ww=kt({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var Jw=Object.freeze({__proto__:null,base64:Vw,base64pad:Kw,base64url:Gw,base64urlpad:Ww});const hf=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),Qw=hf.reduce((u,i,r)=>(u[r]=i,u),[]),Yw=hf.reduce((u,i,r)=>(u[i.codePointAt(0)]=r,u),[]);function Xw(u){return u.reduce((i,r)=>(i+=Qw[r],i),"")}function Zw(u){const i=[];for(const r of u){const n=Yw[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);i.push(n)}return new Uint8Array(i)}const e_=_o({prefix:"🚀",name:"base256emoji",encode:Xw,decode:Zw});var t_=Object.freeze({__proto__:null,base256emoji:e_}),r_=lf,rl=128,i_=127,s_=~i_,n_=Math.pow(2,31);function lf(u,i,r){i=i||[],r=r||0;for(var n=r;u>=n_;)i[r++]=u&255|rl,u/=128;for(;u&s_;)i[r++]=u&255|rl,u>>>=7;return i[r]=u|0,lf.bytes=r-n+1,i}var o_=hc,a_=128,il=127;function hc(u,n){var r=0,n=n||0,o=0,l=n,d,v=u.length;do{if(l>=v)throw hc.bytes=0,new RangeError("Could not decode varint");d=u[l++],r+=o<28?(d&il)<=a_);return hc.bytes=l-n,r}var c_=Math.pow(2,7),u_=Math.pow(2,14),h_=Math.pow(2,21),l_=Math.pow(2,28),f_=Math.pow(2,35),p_=Math.pow(2,42),d_=Math.pow(2,49),g_=Math.pow(2,56),y_=Math.pow(2,63),v_=function(u){return u(ff.encode(u,i,r),i),nl=u=>ff.encodingLength(u),lc=(u,i)=>{const r=i.byteLength,n=nl(u),o=n+nl(r),l=new Uint8Array(o+r);return sl(u,l,0),sl(r,l,n),l.set(i,o),new w_(u,r,i,l)};class w_{constructor(i,r,n,o){this.code=i,this.size=r,this.digest=n,this.bytes=o}}const pf=({name:u,code:i,encode:r})=>new __(u,i,r);class __{constructor(i,r,n){this.name=i,this.code=r,this.encode=n}digest(i){if(i instanceof Uint8Array){const r=this.encode(i);return r instanceof Uint8Array?lc(this.code,r):r.then(n=>lc(this.code,n))}else throw Error("Unknown type, must be binary type")}}const df=u=>async i=>new Uint8Array(await crypto.subtle.digest(u,i)),b_=pf({name:"sha2-256",code:18,encode:df("SHA-256")}),E_=pf({name:"sha2-512",code:19,encode:df("SHA-512")});var x_=Object.freeze({__proto__:null,sha256:b_,sha512:E_});const gf=0,I_="identity",yf=cf,P_=u=>lc(gf,yf(u)),S_={code:gf,name:I_,encode:yf,digest:P_};var A_=Object.freeze({__proto__:null,identity:S_});new TextEncoder,new TextDecoder;const ol={...ww,...bw,...xw,...Pw,...Rw,...Mw,...Uw,...Bw,...Jw,...t_};({...x_,...A_});function vf(u){return globalThis.Buffer!=null?new Uint8Array(u.buffer,u.byteOffset,u.byteLength):u}function R_(u=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?vf(globalThis.Buffer.allocUnsafe(u)):new Uint8Array(u)}function mf(u,i,r,n){return{name:u,prefix:i,encoder:{name:u,prefix:i,encode:r},decoder:{decode:n}}}const al=mf("utf8","u",u=>"u"+new TextDecoder("utf8").decode(u),u=>new TextEncoder().encode(u.substring(1))),Za=mf("ascii","a",u=>{let i="a";for(let r=0;r{u=u.substring(1);const i=R_(u.length);for(let r=0;r{if(!this.initialized){const n=await this.getKeyChain();typeof n<"u"&&(this.keychain=n),this.initialized=!0}},this.has=n=>(this.isInitialized(),this.keychain.has(n)),this.set=async(n,o)=>{this.isInitialized(),this.keychain.set(n,o),await this.persist()},this.get=n=>{this.isInitialized();const o=this.keychain.get(n);if(typeof o>"u"){const{message:l}=Z("NO_MATCHING_KEY",`${this.name}: ${n}`);throw new Error(l)}return o},this.del=async n=>{this.isInitialized(),this.keychain.delete(n),await this.persist()},this.core=i,this.logger=Ce.generateChildLogger(r,this.name)}get context(){return Ce.getLoggerContext(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(i){await this.core.storage.setItem(this.storageKey,kl(i))}async getKeyChain(){const i=await this.core.storage.getItem(this.storageKey);return typeof i<"u"?Bl(i):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class ob{constructor(i,r,n){this.core=i,this.logger=r,this.name=F_,this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=o=>(this.isInitialized(),this.keychain.has(o)),this.getClientId=async()=>{this.isInitialized();const o=await this.getClientSeed(),l=Wh(o);return Zl(l.publicKey)},this.generateKeyPair=()=>{this.isInitialized();const o=l1();return this.setPrivateKey(o.publicKey,o.privateKey)},this.signJWT=async o=>{this.isInitialized();const l=await this.getClientSeed(),d=Wh(l),v=cc();return await qm(v,o,$_,d)},this.generateSharedKey=(o,l,d)=>{this.isInitialized();const v=this.getPrivateKey(o),_=f1(v,l);return this.setSymKey(_,d)},this.setSymKey=async(o,l)=>{this.isInitialized();const d=l||p1(o);return await this.keychain.set(d,o),d},this.deleteKeyPair=async o=>{this.isInitialized(),await this.keychain.del(o)},this.deleteSymKey=async o=>{this.isInitialized(),await this.keychain.del(o)},this.encode=async(o,l,d)=>{this.isInitialized();const v=d1(d),_=Ys(l);if(Rh(v)){const B=v.senderPublicKey,K=v.receiverPublicKey;o=await this.generateSharedKey(B,K)}const S=this.getSymKey(o),{type:D,senderPublicKey:H}=v;return g1({type:D,symKey:S,message:_,senderPublicKey:H})},this.decode=async(o,l,d)=>{this.isInitialized();const v=y1(l,d);if(Rh(v)){const _=v.receiverPublicKey,S=v.senderPublicKey;o=await this.generateSharedKey(_,S)}try{const _=this.getSymKey(o),S=v1({symKey:_,encoded:l});return mc(S)}catch(_){this.logger.error(`Failed to decode message from topic: '${o}', clientId: '${await this.getClientId()}'`),this.logger.error(_)}},this.getPayloadType=o=>{const l=Oh(o);return m1(l.type)},this.getPayloadSenderPublicKey=o=>{const l=Oh(o);return l.senderPublicKey?yo(l.senderPublicKey,w1):void 0},this.core=i,this.logger=Ce.generateChildLogger(r,this.name),this.keychain=n||new nb(this.core,this.logger)}get context(){return Ce.getLoggerContext(this.logger)}async setPrivateKey(i,r){return await this.keychain.set(i,r),i}getPrivateKey(i){return this.keychain.get(i)}async getClientSeed(){let i="";try{i=this.keychain.get(cl)}catch{i=cc(),await this.keychain.set(cl,i)}return C_(i,"base16")}getSymKey(i){return this.keychain.get(i)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class ab extends pm{constructor(i,r){super(i,r),this.logger=i,this.core=r,this.messages=new Map,this.name=M_,this.version=j_,this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const n=await this.getRelayerMessages();typeof n<"u"&&(this.messages=n),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(n){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(n)}finally{this.initialized=!0}}},this.set=async(n,o)=>{this.isInitialized();const l=ps(o);let d=this.messages.get(n);return typeof d>"u"&&(d={}),typeof d[l]<"u"||(d[l]=o,this.messages.set(n,d),await this.persist()),l},this.get=n=>{this.isInitialized();let o=this.messages.get(n);return typeof o>"u"&&(o={}),o},this.has=(n,o)=>{this.isInitialized();const l=this.get(n),d=ps(o);return typeof l[d]<"u"},this.del=async n=>{this.isInitialized(),this.messages.delete(n),await this.persist()},this.logger=Ce.generateChildLogger(i,this.name),this.core=r}get context(){return Ce.getLoggerContext(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(i){await this.core.storage.setItem(this.storageKey,kl(i))}async getRelayerMessages(){const i=await this.core.storage.getItem(this.storageKey);return typeof i<"u"?Bl(i):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class cb extends dm{constructor(i,r){super(i,r),this.relayer=i,this.logger=r,this.events=new Sr.EventEmitter,this.name=U_,this.queue=new Map,this.publishTimeout=se.toMiliseconds(se.TEN_SECONDS),this.needsTransportRestart=!1,this.publish=async(n,o,l)=>{var d;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:n,message:o,opts:l}});try{const v=(l==null?void 0:l.ttl)||z_,_=uc(l),S=(l==null?void 0:l.prompt)||!1,D=(l==null?void 0:l.tag)||0,H=(l==null?void 0:l.id)||nf().toString(),B={topic:n,message:o,opts:{ttl:v,relay:_,prompt:S,tag:D,id:H}},K=setTimeout(()=>this.queue.set(H,B),this.publishTimeout);try{await await Qs(this.rpcPublish(n,o,v,_,S,D,H),this.publishTimeout,"Failed to publish payload, please try again."),this.removeRequestFromQueue(H),this.relayer.events.emit(Kt.publish,B)}catch(q){if(this.logger.debug("Publishing Payload stalled"),this.needsTransportRestart=!0,(d=l==null?void 0:l.internal)!=null&&d.throwOnFailedPublish)throw this.removeRequestFromQueue(H),q;return}finally{clearTimeout(K)}this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:n,message:o,opts:l}})}catch(v){throw this.logger.debug("Failed to Publish Payload"),this.logger.error(v),v}},this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.relayer=i,this.logger=Ce.generateChildLogger(r,this.name),this.registerEventListeners()}get context(){return Ce.getLoggerContext(this.logger)}rpcPublish(i,r,n,o,l,d,v){var _,S,D,H;const B={method:uo(o.protocol).publish,params:{topic:i,message:r,ttl:n,prompt:l,tag:d},id:v};return bi((_=B.params)==null?void 0:_.prompt)&&((S=B.params)==null||delete S.prompt),bi((D=B.params)==null?void 0:D.tag)&&((H=B.params)==null||delete H.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:B}),this.relayer.request(B)}removeRequestFromQueue(i){this.queue.delete(i)}checkQueue(){this.queue.forEach(async i=>{const{topic:r,message:n,opts:o}=i;await this.publish(r,n,o)})}registerEventListeners(){this.relayer.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(Kt.connection_stalled);return}this.checkQueue()}),this.relayer.on(Kt.message_ack,i=>{this.removeRequestFromQueue(i.id.toString())})}}class ub{constructor(){this.map=new Map,this.set=(i,r)=>{const n=this.get(i);this.exists(i,r)||this.map.set(i,[...n,r])},this.get=i=>this.map.get(i)||[],this.exists=(i,r)=>this.get(i).includes(r),this.delete=(i,r)=>{if(typeof r>"u"){this.map.delete(i);return}if(!this.map.has(i))return;const n=this.get(i);if(!this.exists(i,r))return;const o=n.filter(l=>l!==r);if(!o.length){this.map.delete(i);return}this.map.set(i,o)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}}var hb=Object.defineProperty,lb=Object.defineProperties,fb=Object.getOwnPropertyDescriptors,ll=Object.getOwnPropertySymbols,pb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,fl=(u,i,r)=>i in u?hb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,Hs=(u,i)=>{for(var r in i||(i={}))pb.call(i,r)&&fl(u,r,i[r]);if(ll)for(var r of ll(i))db.call(i,r)&&fl(u,r,i[r]);return u},tc=(u,i)=>lb(u,fb(i));class gb extends vm{constructor(i,r){super(i,r),this.relayer=i,this.logger=r,this.subscriptions=new Map,this.topicMap=new ub,this.events=new Sr.EventEmitter,this.name=Q_,this.version=Y_,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=Ei,this.subscribeTimeout=1e4,this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(n,o)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:n,opts:o}});try{const l=uc(o),d={topic:n,relay:l};this.pending.set(n,d);const v=await this.rpcSubscribe(n,l);return this.onSubscribe(v,d),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:n,opts:o}}),v}catch(l){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(l),l}},this.unsubscribe=async(n,o)=>{await this.restartToComplete(),this.isInitialized(),typeof(o==null?void 0:o.id)<"u"?await this.unsubscribeById(n,o.id,o):await this.unsubscribeByTopic(n,o)},this.isSubscribed=async n=>this.topics.includes(n)?!0:await new Promise((o,l)=>{const d=new se.Watch;d.start(this.pendingSubscriptionWatchLabel);const v=setInterval(()=>{!this.pending.has(n)&&this.topics.includes(n)&&(clearInterval(v),d.stop(this.pendingSubscriptionWatchLabel),o(!0)),d.elapsed(this.pendingSubscriptionWatchLabel)>=X_&&(clearInterval(v),d.stop(this.pendingSubscriptionWatchLabel),l(new Error("Subscription resolution timeout")))},this.pollingInterval)}).catch(()=>!1),this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=i,this.logger=Ce.generateChildLogger(r,this.name),this.clientId=""}get context(){return Ce.getLoggerContext(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}hasSubscription(i,r){let n=!1;try{n=this.getSubscription(i).topic===r}catch{}return n}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(i,r){const n=this.topicMap.get(i);await Promise.all(n.map(async o=>await this.unsubscribeById(i,o,r)))}async unsubscribeById(i,r,n){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:i,id:r,opts:n}});try{const o=uc(n);await this.rpcUnsubscribe(i,r,o);const l=er("USER_DISCONNECTED",`${this.name}, ${i}`);await this.onUnsubscribe(i,r,l),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:i,id:r,opts:n}})}catch(o){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(o),o}}async rpcSubscribe(i,r){const n={method:uo(r.protocol).subscribe,params:{topic:i}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:n});try{await await Qs(this.relayer.request(n),this.subscribeTimeout)}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Kt.connection_stalled)}return ps(i+this.clientId)}async rpcBatchSubscribe(i){if(!i.length)return;const r=i[0].relay,n={method:uo(r.protocol).batchSubscribe,params:{topics:i.map(o=>o.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:n});try{return await await Qs(this.relayer.request(n),this.subscribeTimeout)}catch{this.logger.debug("Outgoing Relay Payload stalled"),this.relayer.events.emit(Kt.connection_stalled)}}rpcUnsubscribe(i,r,n){const o={method:uo(n.protocol).unsubscribe,params:{topic:i,id:r}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:o}),this.relayer.request(o)}onSubscribe(i,r){this.setSubscription(i,tc(Hs({},r),{id:i})),this.pending.delete(r.topic)}onBatchSubscribe(i){i.length&&i.forEach(r=>{this.setSubscription(r.id,Hs({},r)),this.pending.delete(r.topic)})}async onUnsubscribe(i,r,n){this.events.removeAllListeners(r),this.hasSubscription(r,i)&&this.deleteSubscription(r,n),await this.relayer.messages.del(i)}async setRelayerSubscriptions(i){await this.relayer.core.storage.setItem(this.storageKey,i)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(i,r){this.subscriptions.has(i)||(this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:i,subscription:r}),this.addSubscription(i,r))}addSubscription(i,r){this.subscriptions.set(i,Hs({},r)),this.topicMap.set(r.topic,i),this.events.emit(Dr.created,r)}getSubscription(i){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:i});const r=this.subscriptions.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw new Error(n)}return r}deleteSubscription(i,r){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:i,reason:r});const n=this.getSubscription(i);this.subscriptions.delete(i),this.topicMap.delete(n.topic,i),this.events.emit(Dr.deleted,tc(Hs({},n),{reason:r}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Dr.sync)}async reset(){if(this.cached.length){const i=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let r=0;r"u"||!i.length)return;if(this.subscriptions.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(i){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(i)}}async batchSubscribe(i){if(!i.length)return;const r=await this.rpcBatchSubscribe(i);gs(r)&&this.onBatchSubscribe(r.map((n,o)=>tc(Hs({},i[o]),{id:n})))}async onConnect(){this.restartInProgress||(await this.restart(),this.onEnable())}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||this.relayer.transportExplicitlyClosed)return;const i=[];this.pending.forEach(r=>{i.push(r)}),await this.batchSubscribe(i)}registerEventListeners(){this.relayer.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.relayer.on(Kt.connect,async()=>{await this.onConnect()}),this.relayer.on(Kt.disconnect,()=>{this.onDisconnect()}),this.events.on(Dr.created,async i=>{const r=Dr.created;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),await this.persist()}),this.events.on(Dr.deleted,async i=>{const r=Dr.deleted;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),await this.persist()})}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}async restartToComplete(){this.restartInProgress&&await new Promise(i=>{const r=setInterval(()=>{this.restartInProgress||(clearInterval(r),i())},this.pollingInterval)})}}var yb=Object.defineProperty,pl=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,mb=Object.prototype.propertyIsEnumerable,dl=(u,i,r)=>i in u?yb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,wb=(u,i)=>{for(var r in i||(i={}))vb.call(i,r)&&dl(u,r,i[r]);if(pl)for(var r of pl(i))mb.call(i,r)&&dl(u,r,i[r]);return u};class _b extends gm{constructor(i){super(i),this.protocol="wc",this.version=2,this.events=new Sr.EventEmitter,this.name=k_,this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","socket stalled"],this.hasExperiencedNetworkDisruption=!1,this.request=async r=>{this.logger.debug("Publishing Request Payload");try{return await this.toEstablishConnection(),await this.provider.request(r)}catch(n){throw this.logger.debug("Failed to Publish Request"),this.logger.error(n),n}},this.onPayloadHandler=r=>{this.onProviderPayload(r)},this.onConnectHandler=()=>{this.events.emit(Kt.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=r=>{this.logger.error(r),this.events.emit(Kt.error,r),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(si.payload,this.onPayloadHandler),this.provider.on(si.connect,this.onConnectHandler),this.provider.on(si.disconnect,this.onDisconnectHandler),this.provider.on(si.error,this.onProviderErrorHandler)},this.core=i.core,this.logger=typeof i.logger<"u"&&typeof i.logger!="string"?Ce.generateChildLogger(i.logger,this.name):Ce.pino(Ce.getDefaultLoggerOptions({level:i.logger||H_})),this.messages=new ab(this.logger,i.core),this.subscriber=new gb(this,this.logger),this.publisher=new cb(this,this.logger),this.relayUrl=(i==null?void 0:i.relayUrl)||bf,this.projectId=i.projectId,this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await this.createProvider(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn(`Connection via ${this.relayUrl} failed, attempting to connect via failover domain ${ul}...`),await this.restartTransport(ul)}this.initialized=!0,setTimeout(async()=>{this.subscriber.topics.length===0&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)},G_)}get context(){return Ce.getLoggerContext(this.logger)}get connected(){return this.provider.connection.connected}get connecting(){return this.provider.connection.connecting}async publish(i,r,n){this.isInitialized(),await this.publisher.publish(i,r,n),await this.recordMessageEvent({topic:i,message:r,publishedAt:Date.now()})}async subscribe(i,r){var n;this.isInitialized();let o=((n=this.subscriber.topicMap.get(i))==null?void 0:n[0])||"";if(o)return o;let l;const d=v=>{v.topic===i&&(this.subscriber.off(Dr.created,d),l())};return await Promise.all([new Promise(v=>{l=v,this.subscriber.on(Dr.created,d)}),new Promise(async v=>{o=await this.subscriber.subscribe(i,r),v()})]),o}async unsubscribe(i,r){this.isInitialized(),await this.subscriber.unsubscribe(i,r)}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async transportClose(){this.transportExplicitlyClosed=!0,this.hasExperiencedNetworkDisruption&&this.connected?await Qs(this.provider.disconnect(),1e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.connected&&await this.provider.disconnect()}async transportOpen(i){if(this.transportExplicitlyClosed=!1,await this.confirmOnlineStateOrThrow(),!this.connectionAttemptInProgress){i&&i!==this.relayUrl&&(this.relayUrl=i,await this.transportClose(),await this.createProvider()),this.connectionAttemptInProgress=!0;try{await Promise.all([new Promise(r=>{if(!this.initialized)return r();this.subscriber.once(Dr.resubscribed,()=>{r()})}),new Promise(async(r,n)=>{try{await Qs(this.provider.connect(),1e4,`Socket stalled when trying to connect to ${this.relayUrl}`)}catch(o){n(o);return}r()})])}catch(r){this.logger.error(r);const n=r;if(!this.isConnectionStalled(n.message))throw r;this.provider.events.emit(si.disconnect)}finally{this.connectionAttemptInProgress=!1,this.hasExperiencedNetworkDisruption=!1}}}async restartTransport(i){await this.confirmOnlineStateOrThrow(),!this.connectionAttemptInProgress&&(this.relayUrl=i||this.relayUrl,await this.transportClose(),await this.createProvider(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await Ch())throw new Error("No internet connection detected. Please restart your network and try again.")}isConnectionStalled(i){return this.staleConnectionErrors.some(r=>i.includes(r))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const i=await this.core.crypto.signJWT(this.relayUrl);this.provider=new ai(new sw(_1({sdkVersion:K_,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:i,useOnCloseEvent:!0}))),this.registerProviderListeners()}async recordMessageEvent(i){const{topic:r,message:n}=i;await this.messages.set(r,n)}async shouldIgnoreMessageEvent(i){const{topic:r,message:n}=i;if(!n||n.length===0)return this.logger.debug(`Ignoring invalid/empty message: ${n}`),!0;if(!await this.subscriber.isSubscribed(r))return this.logger.debug(`Ignoring message for non-subscribed topic ${r}`),!0;const o=this.messages.has(r,n);return o&&this.logger.debug(`Ignoring duplicate message: ${n}`),o}async onProviderPayload(i){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:i}),xc(i)){if(!i.method.endsWith(B_))return;const r=i.params,{topic:n,message:o,publishedAt:l}=r.data,d={topic:n,message:o,publishedAt:l};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(wb({type:"event",event:r.id},d)),this.events.emit(r.id,d),await this.acknowledgePayload(i),await this.onMessageEvent(d)}else wo(i)&&this.events.emit(Kt.message_ack,i)}async onMessageEvent(i){await this.shouldIgnoreMessageEvent(i)||(this.events.emit(Kt.message,i),await this.recordMessageEvent(i))}async acknowledgePayload(i){const r=Ec(i.id,!0);await this.provider.connection.send(r)}unregisterProviderListeners(){this.provider.off(si.payload,this.onPayloadHandler),this.provider.off(si.connect,this.onConnectHandler),this.provider.off(si.disconnect,this.onDisconnectHandler),this.provider.off(si.error,this.onProviderErrorHandler)}async registerEventListeners(){this.events.on(Kt.connection_stalled,()=>{this.restartTransport().catch(r=>this.logger.error(r))});let i=await Ch();b1(async r=>{this.initialized&&i!==r&&(i=r,r?await this.restartTransport().catch(n=>this.logger.error(n)):(this.hasExperiencedNetworkDisruption=!0,await this.transportClose().catch(n=>this.logger.error(n))))})}onProviderDisconnect(){this.events.emit(Kt.disconnect),this.attemptToReconnect()}attemptToReconnect(){this.transportExplicitlyClosed||(this.logger.info("attemptToReconnect called. Connecting..."),setTimeout(async()=>{await this.restartTransport().catch(i=>this.logger.error(i))},se.toMiliseconds(V_)))}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}async toEstablishConnection(){if(await this.confirmOnlineStateOrThrow(),!this.connected){if(this.connectionAttemptInProgress)return await new Promise(i=>{const r=setInterval(()=>{this.connected&&(clearInterval(r),i())},this.connectionStatusPollingInterval)});await this.restartTransport()}}}var bb=Object.defineProperty,gl=Object.getOwnPropertySymbols,Eb=Object.prototype.hasOwnProperty,xb=Object.prototype.propertyIsEnumerable,yl=(u,i,r)=>i in u?bb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,vl=(u,i)=>{for(var r in i||(i={}))Eb.call(i,r)&&yl(u,r,i[r]);if(gl)for(var r of gl(i))xb.call(i,r)&&yl(u,r,i[r]);return u};class bo extends ym{constructor(i,r,n,o=Ei,l=void 0){super(i,r,n,o),this.core=i,this.logger=r,this.name=n,this.map=new Map,this.version=W_,this.cached=[],this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(d=>{this.getKey&&d!==null&&!bi(d)?this.map.set(this.getKey(d),d):u1(d)?this.map.set(d.id,d):h1(d)&&this.map.set(d.topic,d)}),this.cached=[],this.initialized=!0)},this.set=async(d,v)=>{this.isInitialized(),this.map.has(d)?await this.update(d,v):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:d,value:v}),this.map.set(d,v),await this.persist())},this.get=d=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:d}),this.getData(d)),this.getAll=d=>(this.isInitialized(),d?this.values.filter(v=>Object.keys(d).every(_=>ow(v[_],d[_]))):this.values),this.update=async(d,v)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:d,update:v});const _=vl(vl({},this.getData(d)),v);this.map.set(d,_),await this.persist()},this.delete=async(d,v)=>{this.isInitialized(),this.map.has(d)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:d,reason:v}),this.map.delete(d),await this.persist())},this.logger=Ce.generateChildLogger(r,this.name),this.storagePrefix=o,this.getKey=l}get context(){return Ce.getLoggerContext(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())}async setDataStore(i){await this.core.storage.setItem(this.storageKey,i)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(i){const r=this.map.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw this.logger.error(n),new Error(n)}return r}async persist(){await this.setDataStore(this.values)}async restore(){try{const i=await this.getDataStore();if(typeof i>"u"||!i.length)return;if(this.map.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(i){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(i)}}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class Ib{constructor(i,r){this.core=i,this.logger=r,this.name=Z_,this.version=eb,this.events=new vc,this.initialized=!1,this.storagePrefix=Ei,this.ignoredPayloadTypes=[zl],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=({methods:n})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...n])]},this.create=async()=>{this.isInitialized();const n=cc(),o=await this.core.crypto.setSymKey(n),l=Fr(se.FIVE_MINUTES),d={protocol:_f},v={topic:o,expiry:l,relay:d,active:!1},_=E1({protocol:this.core.protocol,version:this.core.version,topic:o,symKey:n,relay:d});return await this.pairings.set(o,v),await this.core.relayer.subscribe(o),this.core.expirer.set(o,l),{topic:o,uri:_}},this.pair=async n=>{this.isInitialized(),this.isValidPair(n);const{topic:o,symKey:l,relay:d}=x1(n.uri);let v;if(this.pairings.keys.includes(o)&&(v=this.pairings.get(o),v.active))throw new Error(`Pairing already exists: ${o}. Please try again with a new connection URI.`);this.core.crypto.keychain.has(o)||(await this.core.crypto.setSymKey(l,o),await this.core.relayer.subscribe(o,{relay:d}));const _=Fr(se.FIVE_MINUTES),S={topic:o,relay:d,expiry:_,active:!1};return await this.pairings.set(o,S),this.core.expirer.set(o,_),n.activatePairing&&await this.activate({topic:o}),this.events.emit(Gs.create,S),S},this.activate=async({topic:n})=>{this.isInitialized();const o=Fr(se.THIRTY_DAYS);await this.pairings.update(n,{active:!0,expiry:o}),this.core.expirer.set(n,o)},this.ping=async n=>{this.isInitialized(),await this.isValidPing(n);const{topic:o}=n;if(this.pairings.keys.includes(o)){const l=await this.sendRequest(o,"wc_pairingPing",{}),{done:d,resolve:v,reject:_}=hs();this.events.once(Dt("pairing_ping",l),({error:S})=>{S?_(S):v()}),await d()}},this.updateExpiry=async({topic:n,expiry:o})=>{this.isInitialized(),await this.pairings.update(n,{expiry:o})},this.updateMetadata=async({topic:n,metadata:o})=>{this.isInitialized(),await this.pairings.update(n,{peerMetadata:o})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async n=>{this.isInitialized(),await this.isValidDisconnect(n);const{topic:o}=n;this.pairings.keys.includes(o)&&(await this.sendRequest(o,"wc_pairingDelete",er("USER_DISCONNECTED")),await this.deletePairing(o))},this.sendRequest=async(n,o,l)=>{const d=ds(o,l),v=await this.core.crypto.encode(n,d),_=Us[o].req;return this.core.history.set(n,d),this.core.relayer.publish(n,v,_),d.id},this.sendResult=async(n,o,l)=>{const d=Ec(n,l),v=await this.core.crypto.encode(o,d),_=await this.core.history.get(o,n),S=Us[_.request.method].res;await this.core.relayer.publish(o,v,S),await this.core.history.resolve(d)},this.sendError=async(n,o,l)=>{const d=mo(n,l),v=await this.core.crypto.encode(o,d),_=await this.core.history.get(o,n),S=Us[_.request.method]?Us[_.request.method].res:Us.unregistered_method.res;await this.core.relayer.publish(o,v,S),await this.core.history.resolve(d)},this.deletePairing=async(n,o)=>{await this.core.relayer.unsubscribe(n),await Promise.all([this.pairings.delete(n,er("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(n),o?Promise.resolve():this.core.expirer.del(n)])},this.cleanup=async()=>{const n=this.pairings.getAll().filter(o=>_i(o.expiry));await Promise.all(n.map(o=>this.deletePairing(o.topic)))},this.onRelayEventRequest=n=>{const{topic:o,payload:l}=n;switch(l.method){case"wc_pairingPing":return this.onPairingPingRequest(o,l);case"wc_pairingDelete":return this.onPairingDeleteRequest(o,l);default:return this.onUnknownRpcMethodRequest(o,l)}},this.onRelayEventResponse=async n=>{const{topic:o,payload:l}=n,d=(await this.core.history.get(o,l.id)).request.method;switch(d){case"wc_pairingPing":return this.onPairingPingResponse(o,l);default:return this.onUnknownRpcMethodResponse(d)}},this.onPairingPingRequest=async(n,o)=>{const{id:l}=o;try{this.isValidPing({topic:n}),await this.sendResult(l,n,!0),this.events.emit(Gs.ping,{id:l,topic:n})}catch(d){await this.sendError(l,n,d),this.logger.error(d)}},this.onPairingPingResponse=(n,o)=>{const{id:l}=o;setTimeout(()=>{oi(o)?this.events.emit(Dt("pairing_ping",l),{}):$r(o)&&this.events.emit(Dt("pairing_ping",l),{error:o.error})},500)},this.onPairingDeleteRequest=async(n,o)=>{const{id:l}=o;try{this.isValidDisconnect({topic:n}),await this.deletePairing(n),this.events.emit(Gs.delete,{id:l,topic:n})}catch(d){await this.sendError(l,n,d),this.logger.error(d)}},this.onUnknownRpcMethodRequest=async(n,o)=>{const{id:l,method:d}=o;try{if(this.registeredMethods.includes(d))return;const v=er("WC_METHOD_UNSUPPORTED",d);await this.sendError(l,n,v),this.logger.error(v)}catch(v){await this.sendError(l,n,v),this.logger.error(v)}},this.onUnknownRpcMethodResponse=n=>{this.registeredMethods.includes(n)||this.logger.error(er("WC_METHOD_UNSUPPORTED",n))},this.isValidPair=n=>{if(!cr(n)){const{message:o}=Z("MISSING_OR_INVALID",`pair() params: ${n}`);throw new Error(o)}if(!I1(n.uri)){const{message:o}=Z("MISSING_OR_INVALID",`pair() uri: ${n.uri}`);throw new Error(o)}},this.isValidPing=async n=>{if(!cr(n)){const{message:l}=Z("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(l)}const{topic:o}=n;await this.isValidPairingTopic(o)},this.isValidDisconnect=async n=>{if(!cr(n)){const{message:l}=Z("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(l)}const{topic:o}=n;await this.isValidPairingTopic(o)},this.isValidPairingTopic=async n=>{if(!ls(n,!1)){const{message:o}=Z("MISSING_OR_INVALID",`pairing topic should be a string: ${n}`);throw new Error(o)}if(!this.pairings.keys.includes(n)){const{message:o}=Z("NO_MATCHING_KEY",`pairing topic doesn't exist: ${n}`);throw new Error(o)}if(_i(this.pairings.get(n).expiry)){await this.deletePairing(n);const{message:o}=Z("EXPIRED",`pairing topic: ${n}`);throw new Error(o)}},this.core=i,this.logger=Ce.generateChildLogger(r,this.name),this.pairings=new bo(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Ce.getLoggerContext(this.logger)}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}registerRelayerEvents(){this.core.relayer.on(Kt.message,async i=>{const{topic:r,message:n}=i;if(!this.pairings.keys.includes(r)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(n)))return;const o=await this.core.crypto.decode(r,n);try{xc(o)?(this.core.history.set(r,o),this.onRelayEventRequest({topic:r,payload:o})):wo(o)&&(await this.core.history.resolve(o),await this.onRelayEventResponse({topic:r,payload:o}),this.core.history.delete(r,o.id))}catch(l){this.logger.error(l)}})}registerExpirerEvents(){this.core.expirer.on(Pr.expired,async i=>{const{topic:r}=Ul(i.target);r&&this.pairings.keys.includes(r)&&(await this.deletePairing(r,!0),this.events.emit(Gs.expire,{topic:r}))})}}class Pb extends fm{constructor(i,r){super(i,r),this.core=i,this.logger=r,this.records=new Map,this.events=new Sr.EventEmitter,this.name=tb,this.version=rb,this.cached=[],this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(n=>this.records.set(n.id,n)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(n,o,l)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:n,request:o,chainId:l}),this.records.has(o.id))return;const d={id:o.id,topic:n,request:{method:o.method,params:o.params||null},chainId:l,expiry:Fr(se.THIRTY_DAYS)};this.records.set(d.id,d),this.events.emit(kr.created,d)},this.resolve=async n=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:n}),!this.records.has(n.id))return;const o=await this.getRecord(n.id);typeof o.response>"u"&&(o.response=$r(n)?{error:n.error}:{result:n.result},this.records.set(o.id,o),this.events.emit(kr.updated,o))},this.get=async(n,o)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:n,id:o}),await this.getRecord(o)),this.delete=(n,o)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:o}),this.values.forEach(l=>{if(l.topic===n){if(typeof o<"u"&&l.id!==o)return;this.records.delete(l.id),this.events.emit(kr.deleted,l)}})},this.exists=async(n,o)=>(this.isInitialized(),this.records.has(o)?(await this.getRecord(o)).topic===n:!1),this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.logger=Ce.generateChildLogger(r,this.name)}get context(){return Ce.getLoggerContext(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 i=[];return this.values.forEach(r=>{if(typeof r.response<"u")return;const n={topic:r.topic,request:ds(r.request.method,r.request.params,r.id),chainId:r.chainId};return i.push(n)}),i}async setJsonRpcRecords(i){await this.core.storage.setItem(this.storageKey,i)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(i){this.isInitialized();const r=this.records.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw new Error(n)}return r}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(kr.sync)}async restore(){try{const i=await this.getJsonRpcRecords();if(typeof i>"u"||!i.length)return;if(this.records.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(i){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(i)}}registerEventListeners(){this.events.on(kr.created,i=>{const r=kr.created;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,record:i}),this.persist()}),this.events.on(kr.updated,i=>{const r=kr.updated;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,record:i}),this.persist()}),this.events.on(kr.deleted,i=>{const r=kr.deleted;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,record:i}),this.persist()}),this.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,()=>{this.cleanup()})}cleanup(){try{this.records.forEach(i=>{se.toMiliseconds(i.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${i.id}`),this.delete(i.topic,i.id))})}catch(i){this.logger.warn(i)}}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class Sb extends mm{constructor(i,r){super(i,r),this.core=i,this.logger=r,this.expirations=new Map,this.events=new Sr.EventEmitter,this.name=ib,this.version=sb,this.cached=[],this.initialized=!1,this.storagePrefix=Ei,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(n=>this.expirations.set(n.target,n)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=n=>{try{const o=this.formatTarget(n);return typeof this.getExpiration(o)<"u"}catch{return!1}},this.set=(n,o)=>{this.isInitialized();const l=this.formatTarget(n),d={target:l,expiry:o};this.expirations.set(l,d),this.checkExpiry(l,d),this.events.emit(Pr.created,{target:l,expiration:d})},this.get=n=>{this.isInitialized();const o=this.formatTarget(n);return this.getExpiration(o)},this.del=n=>{if(this.isInitialized(),this.has(n)){const o=this.formatTarget(n),l=this.getExpiration(o);this.expirations.delete(o),this.events.emit(Pr.deleted,{target:o,expiration:l})}},this.on=(n,o)=>{this.events.on(n,o)},this.once=(n,o)=>{this.events.once(n,o)},this.off=(n,o)=>{this.events.off(n,o)},this.removeListener=(n,o)=>{this.events.removeListener(n,o)},this.logger=Ce.generateChildLogger(r,this.name)}get context(){return Ce.getLoggerContext(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(i){if(typeof i=="string")return P1(i);if(typeof i=="number")return S1(i);const{message:r}=Z("UNKNOWN_TYPE",`Target type: ${typeof i}`);throw new Error(r)}async setExpirations(i){await this.core.storage.setItem(this.storageKey,i)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(Pr.sync)}async restore(){try{const i=await this.getExpirations();if(typeof i>"u"||!i.length)return;if(this.expirations.size){const{message:r}=Z("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(r),new Error(r)}this.cached=i,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(i){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(i)}}getExpiration(i){const r=this.expirations.get(i);if(!r){const{message:n}=Z("NO_MATCHING_KEY",`${this.name}: ${i}`);throw this.logger.error(n),new Error(n)}return r}checkExpiry(i,r){const{expiry:n}=r;se.toMiliseconds(n)-Date.now()<=0&&this.expire(i,r)}expire(i,r){this.expirations.delete(i),this.events.emit(Pr.expired,{target:i,expiration:r})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((i,r)=>this.checkExpiry(r,i))}registerEventListeners(){this.core.heartbeat.on(ys.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(Pr.created,i=>{const r=Pr.created;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),this.persist()}),this.events.on(Pr.expired,i=>{const r=Pr.expired;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),this.persist()}),this.events.on(Pr.deleted,i=>{const r=Pr.deleted;this.logger.info(`Emitting ${r}`),this.logger.debug({type:"event",event:r,data:i}),this.persist()})}isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}}}class Ab extends wm{constructor(i,r){super(i,r),this.projectId=i,this.logger=r,this.name=ec,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async()=>{if(this.verifyDisabled||A1()||!Hl())return;const n=lo;this.verifyUrl!==n&&this.removeIframe(),this.verifyUrl=n;try{await this.createIframe()}catch(o){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(o)}if(!this.initialized){this.removeIframe(),this.verifyUrl=hl;try{await this.createIframe()}catch(o){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(o),this.verifyDisabled=!0}}},this.register=async n=>{this.initialized?this.sendPost(n.attestationId):(this.addToQueue(n.attestationId),await this.init())},this.resolve=async n=>{if(this.isDevEnv)return"";const o=(n==null?void 0:n.verifyUrl)||lo;let l;try{l=await this.fetchAttestation(n.attestationId,o)}catch(d){this.logger.info(`failed to resolve attestation: ${n.attestationId} from url: ${o}`),this.logger.info(d),l=await this.fetchAttestation(n.attestationId,hl)}return l},this.fetchAttestation=async(n,o)=>{this.logger.info(`resolving attestation: ${n} from url: ${o}`);const l=this.startAbortTimer(se.ONE_SECOND*2),d=await fetch(`${o}/attestation/${n}`,{signal:this.abortController.signal});return clearTimeout(l),d.status===200?await d.json():void 0},this.addToQueue=n=>{this.queue.push(n)},this.processQueue=()=>{this.queue.length!==0&&(this.queue.forEach(n=>this.sendPost(n)),this.queue=[])},this.sendPost=n=>{var o;try{if(!this.iframe)return;(o=this.iframe.contentWindow)==null||o.postMessage(n,"*"),this.logger.info(`postMessage sent: ${n} ${this.verifyUrl}`)}catch{}},this.createIframe=async()=>{let n;const o=l=>{l.data==="verify_ready"&&(this.initialized=!0,this.processQueue(),window.removeEventListener("message",o),n())};await Promise.race([new Promise(l=>{if(document.getElementById(ec))return l();window.addEventListener("message",o);const d=document.createElement("iframe");d.id=ec,d.src=`${this.verifyUrl}/${this.projectId}`,d.style.display="none",document.body.append(d),this.iframe=d,n=l}),new Promise((l,d)=>setTimeout(()=>{window.removeEventListener("message",o),d("verify iframe load timeout")},se.toMiliseconds(se.FIVE_SECONDS)))])},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.logger=Ce.generateChildLogger(r,this.name),this.verifyUrl=lo,this.abortController=new AbortController,this.isDevEnv=R1()&&{}.IS_VITEST}get context(){return Ce.getLoggerContext(this.logger)}startAbortTimer(i){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),se.toMiliseconds(i))}}var Rb=Object.defineProperty,ml=Object.getOwnPropertySymbols,Ob=Object.prototype.hasOwnProperty,Cb=Object.prototype.propertyIsEnumerable,wl=(u,i,r)=>i in u?Rb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,_l=(u,i)=>{for(var r in i||(i={}))Ob.call(i,r)&&wl(u,r,i[r]);if(ml)for(var r of ml(i))Cb.call(i,r)&&wl(u,r,i[r]);return u};class Pc extends lm{constructor(i){super(i),this.protocol=wf,this.version=T_,this.name=Ic,this.events=new Sr.EventEmitter,this.initialized=!1,this.on=(n,o)=>this.events.on(n,o),this.once=(n,o)=>this.events.once(n,o),this.off=(n,o)=>this.events.off(n,o),this.removeListener=(n,o)=>this.events.removeListener(n,o),this.projectId=i==null?void 0:i.projectId,this.relayUrl=(i==null?void 0:i.relayUrl)||bf,this.customStoragePrefix=i!=null&&i.customStoragePrefix?`:${i.customStoragePrefix}`:"";const r=typeof(i==null?void 0:i.logger)<"u"&&typeof(i==null?void 0:i.logger)!="string"?i.logger:Ce.pino(Ce.getDefaultLoggerOptions({level:(i==null?void 0:i.logger)||N_.logger}));this.logger=Ce.generateChildLogger(r,this.name),this.heartbeat=new ys.HeartBeat,this.crypto=new ob(this,this.logger,i==null?void 0:i.keychain),this.history=new Pb(this,this.logger),this.expirer=new Sb(this,this.logger),this.storage=i!=null&&i.storage?i.storage:new rm(_l(_l({},D_),i==null?void 0:i.storageOptions)),this.relayer=new _b({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new Ib(this,this.logger),this.verify=new Ab(this.projectId||"",this.logger)}static async init(i){const r=new Pc(i);await r.initialize();const n=await r.crypto.getClientId();return await r.storage.setItem(J_,n),r}get context(){return Ce.getLoggerContext(this.logger)}async start(){this.initialized||await this.initialize()}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.initialized=!0,this.logger.info("Core Initialization Success")}catch(i){throw this.logger.warn(`Core Initialization Failure at epoch ${Date.now()}`,i),this.logger.error(i.message),i}}}const Tb=Pc,Ef="wc",xf=2,If="client",Sc=`${Ef}@${xf}:${If}:`,rc={name:If,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},bl="WALLETCONNECT_DEEPLINK_CHOICE",Nb="proposal",Pf="Proposal expired",Db="session",oo=se.SEVEN_DAYS,Fb="engine",ks={wc_sessionPropose:{req:{ttl:se.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1101}},wc_sessionSettle:{req:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:se.ONE_DAY,prompt:!1,tag:1104},res:{ttl:se.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:se.ONE_DAY,prompt:!1,tag:1106},res:{ttl:se.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:se.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:se.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:se.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:se.ONE_DAY,prompt:!1,tag:1112},res:{ttl:se.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:se.THIRTY_SECONDS,prompt:!1,tag:1114},res:{ttl:se.THIRTY_SECONDS,prompt:!1,tag:1115}}},ic={min:se.FIVE_MINUTES,max:se.SEVEN_DAYS},ni={idle:"IDLE",active:"ACTIVE"},$b="request",Lb=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"];var qb=Object.defineProperty,Mb=Object.defineProperties,jb=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,zb=Object.prototype.hasOwnProperty,Ub=Object.prototype.propertyIsEnumerable,xl=(u,i,r)=>i in u?qb(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,ar=(u,i)=>{for(var r in i||(i={}))zb.call(i,r)&&xl(u,r,i[r]);if(El)for(var r of El(i))Ub.call(i,r)&&xl(u,r,i[r]);return u},Bs=(u,i)=>Mb(u,jb(i));class Hb extends bm{constructor(i){super(i),this.name=Fb,this.events=new vc,this.initialized=!1,this.ignoredPayloadTypes=[zl],this.requestQueue={state:ni.idle,queue:[]},this.sessionRequestQueue={state:ni.idle,queue:[]},this.requestQueueDelay=se.ONE_SECOND,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(ks)}),this.initialized=!0,setTimeout(()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},se.toMiliseconds(this.requestQueueDelay)))},this.connect=async r=>{await this.isInitialized();const n=Bs(ar({},r),{requiredNamespaces:r.requiredNamespaces||{},optionalNamespaces:r.optionalNamespaces||{}});await this.isValidConnect(n);const{pairingTopic:o,requiredNamespaces:l,optionalNamespaces:d,sessionProperties:v,relays:_}=n;let S=o,D,H=!1;if(S&&(H=this.client.core.pairing.pairings.get(S).active),!S||!H){const{topic:pe,uri:he}=await this.client.core.pairing.create();S=pe,D=he}const B=await this.client.core.crypto.generateKeyPair(),K=ar({requiredNamespaces:l,optionalNamespaces:d,relays:_??[{protocol:_f}],proposer:{publicKey:B,metadata:this.client.metadata}},v&&{sessionProperties:v}),{reject:q,resolve:W,done:ie}=hs(se.FIVE_MINUTES,Pf);if(this.events.once(Dt("session_connect"),async({error:pe,session:he})=>{if(pe)q(pe);else if(he){he.self.publicKey=B;const le=Bs(ar({},he),{requiredNamespaces:he.requiredNamespaces,optionalNamespaces:he.optionalNamespaces});await this.client.session.set(he.topic,le),await this.setExpiry(he.topic,he.expiry),S&&await this.client.core.pairing.updateMetadata({topic:S,metadata:he.peer.metadata}),W(le)}}),!S){const{message:pe}=Z("NO_MATCHING_KEY",`connect() pairing topic: ${S}`);throw new Error(pe)}const Ee=await this.sendRequest({topic:S,method:"wc_sessionPropose",params:K}),ge=Fr(se.FIVE_MINUTES);return await this.setProposal(Ee,ar({id:Ee,expiry:ge},K)),{uri:D,approval:ie}},this.pair=async r=>(await this.isInitialized(),await this.client.core.pairing.pair(r)),this.approve=async r=>{await this.isInitialized(),await this.isValidApprove(r);const{id:n,relayProtocol:o,namespaces:l,sessionProperties:d}=r,v=this.client.proposal.get(n);let{pairingTopic:_,proposer:S,requiredNamespaces:D,optionalNamespaces:H}=v;_=_||"",ho(D)||(D=C1(l,"approve()"));const B=await this.client.core.crypto.generateKeyPair(),K=S.publicKey,q=await this.client.core.crypto.generateSharedKey(B,K);_&&n&&(await this.client.core.pairing.updateMetadata({topic:_,metadata:S.metadata}),await this.sendResult({id:n,topic:_,result:{relay:{protocol:o??"irn"},responderPublicKey:B}}),await this.client.proposal.delete(n,er("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:_}));const W=ar({relay:{protocol:o??"irn"},namespaces:l,requiredNamespaces:D,optionalNamespaces:H,pairingTopic:_,controller:{publicKey:B,metadata:this.client.metadata},expiry:Fr(oo)},d&&{sessionProperties:d});await this.client.core.relayer.subscribe(q),await this.sendRequest({topic:q,method:"wc_sessionSettle",params:W,throwOnFailedPublish:!0});const ie=Bs(ar({},W),{topic:q,pairingTopic:_,acknowledged:!1,self:W.controller,peer:{publicKey:S.publicKey,metadata:S.metadata},controller:B});return await this.client.session.set(q,ie),await this.setExpiry(q,Fr(oo)),{topic:q,acknowledged:()=>new Promise(Ee=>setTimeout(()=>Ee(this.client.session.get(q)),500))}},this.reject=async r=>{await this.isInitialized(),await this.isValidReject(r);const{id:n,reason:o}=r,{pairingTopic:l}=this.client.proposal.get(n);l&&(await this.sendError(n,l,o),await this.client.proposal.delete(n,er("USER_DISCONNECTED")))},this.update=async r=>{await this.isInitialized(),await this.isValidUpdate(r);const{topic:n,namespaces:o}=r,l=await this.sendRequest({topic:n,method:"wc_sessionUpdate",params:{namespaces:o}}),{done:d,resolve:v,reject:_}=hs();return this.events.once(Dt("session_update",l),({error:S})=>{S?_(S):v()}),await this.client.session.update(n,{namespaces:o}),{acknowledged:d}},this.extend=async r=>{await this.isInitialized(),await this.isValidExtend(r);const{topic:n}=r,o=await this.sendRequest({topic:n,method:"wc_sessionExtend",params:{}}),{done:l,resolve:d,reject:v}=hs();return this.events.once(Dt("session_extend",o),({error:_})=>{_?v(_):d()}),await this.setExpiry(n,Fr(oo)),{acknowledged:l}},this.request=async r=>{await this.isInitialized(),await this.isValidRequest(r);const{chainId:n,request:o,topic:l,expiry:d}=r,v=bc(),{done:_,resolve:S,reject:D}=hs(d,"Request expired. Please try again.");return this.events.once(Dt("session_request",v),({error:H,result:B})=>{H?D(H):S(B)}),await Promise.all([new Promise(async H=>{await this.sendRequest({clientRpcId:v,topic:l,method:"wc_sessionRequest",params:{request:o,chainId:n},expiry:d,throwOnFailedPublish:!0}).catch(B=>D(B)),this.client.events.emit("session_request_sent",{topic:l,request:o,chainId:n,id:v}),H()}),new Promise(async H=>{const B=await this.client.core.storage.getItem(bl);T1({id:v,topic:l,wcDeepLink:B}),H()}),_()]).then(H=>H[2])},this.respond=async r=>{await this.isInitialized(),await this.isValidRespond(r);const{topic:n,response:o}=r,{id:l}=o;oi(o)?await this.sendResult({id:l,topic:n,result:o.result,throwOnFailedPublish:!0}):$r(o)&&await this.sendError(l,n,o.error),this.cleanupAfterResponse(r)},this.ping=async r=>{await this.isInitialized(),await this.isValidPing(r);const{topic:n}=r;if(this.client.session.keys.includes(n)){const o=await this.sendRequest({topic:n,method:"wc_sessionPing",params:{}}),{done:l,resolve:d,reject:v}=hs();this.events.once(Dt("session_ping",o),({error:_})=>{_?v(_):d()}),await l()}else this.client.core.pairing.pairings.keys.includes(n)&&await this.client.core.pairing.ping({topic:n})},this.emit=async r=>{await this.isInitialized(),await this.isValidEmit(r);const{topic:n,event:o,chainId:l}=r;await this.sendRequest({topic:n,method:"wc_sessionEvent",params:{event:o,chainId:l}})},this.disconnect=async r=>{await this.isInitialized(),await this.isValidDisconnect(r);const{topic:n}=r;this.client.session.keys.includes(n)?(await this.sendRequest({topic:n,method:"wc_sessionDelete",params:er("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession(n)):await this.client.core.pairing.disconnect({topic:n})},this.find=r=>(this.isInitialized(),this.client.session.getAll().filter(n=>N1(n,r))),this.getPendingSessionRequests=()=>(this.isInitialized(),this.client.pendingRequest.getAll()),this.cleanupDuplicatePairings=async r=>{if(r.pairingTopic)try{const n=this.client.core.pairing.pairings.get(r.pairingTopic),o=this.client.core.pairing.pairings.getAll().filter(l=>{var d,v;return((d=l.peerMetadata)==null?void 0:d.url)&&((v=l.peerMetadata)==null?void 0:v.url)===r.peer.metadata.url&&l.topic&&l.topic!==n.topic});if(o.length===0)return;this.client.logger.info(`Cleaning up ${o.length} duplicate pairing(s)`),await Promise.all(o.map(l=>this.client.core.pairing.disconnect({topic:l.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(n){this.client.logger.error(n)}},this.deleteSession=async(r,n)=>{const{self:o}=this.client.session.get(r);await this.client.core.relayer.unsubscribe(r),this.client.session.delete(r,er("USER_DISCONNECTED")),this.client.core.crypto.keychain.has(o.publicKey)&&await this.client.core.crypto.deleteKeyPair(o.publicKey),this.client.core.crypto.keychain.has(r)&&await this.client.core.crypto.deleteSymKey(r),n||this.client.core.expirer.del(r),this.client.core.storage.removeItem(bl).catch(l=>this.client.logger.warn(l))},this.deleteProposal=async(r,n)=>{await Promise.all([this.client.proposal.delete(r,er("USER_DISCONNECTED")),n?Promise.resolve():this.client.core.expirer.del(r)])},this.deletePendingSessionRequest=async(r,n,o=!1)=>{await Promise.all([this.client.pendingRequest.delete(r,n),o?Promise.resolve():this.client.core.expirer.del(r)]),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(l=>l.id!==r),o&&(this.sessionRequestQueue.state=ni.idle)},this.setExpiry=async(r,n)=>{this.client.session.keys.includes(r)&&await this.client.session.update(r,{expiry:n}),this.client.core.expirer.set(r,n)},this.setProposal=async(r,n)=>{await this.client.proposal.set(r,n),this.client.core.expirer.set(r,n.expiry)},this.setPendingSessionRequest=async r=>{const n=ks.wc_sessionRequest.req.ttl,{id:o,topic:l,params:d,verifyContext:v}=r;await this.client.pendingRequest.set(o,{id:o,topic:l,params:d,verifyContext:v}),n&&this.client.core.expirer.set(o,Fr(n))},this.sendRequest=async r=>{const{topic:n,method:o,params:l,expiry:d,relayRpcId:v,clientRpcId:_,throwOnFailedPublish:S}=r,D=ds(o,l,_);if(Hl()&&Lb.includes(o)){const K=ps(JSON.stringify(D));this.client.core.verify.register({attestationId:K})}const H=await this.client.core.crypto.encode(n,D),B=ks[o].req;return d&&(B.ttl=d),v&&(B.id=v),this.client.core.history.set(n,D),S?(B.internal=Bs(ar({},B.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(n,H,B)):this.client.core.relayer.publish(n,H,B).catch(K=>this.client.logger.error(K)),D.id},this.sendResult=async r=>{const{id:n,topic:o,result:l,throwOnFailedPublish:d}=r,v=Ec(n,l),_=await this.client.core.crypto.encode(o,v),S=await this.client.core.history.get(o,n),D=ks[S.request.method].res;d?(D.internal=Bs(ar({},D.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(o,_,D)):this.client.core.relayer.publish(o,_,D).catch(H=>this.client.logger.error(H)),await this.client.core.history.resolve(v)},this.sendError=async(r,n,o)=>{const l=mo(r,o),d=await this.client.core.crypto.encode(n,l),v=await this.client.core.history.get(n,r),_=ks[v.request.method].res;this.client.core.relayer.publish(n,d,_),await this.client.core.history.resolve(l)},this.cleanup=async()=>{const r=[],n=[];this.client.session.getAll().forEach(o=>{_i(o.expiry)&&r.push(o.topic)}),this.client.proposal.getAll().forEach(o=>{_i(o.expiry)&&n.push(o.id)}),await Promise.all([...r.map(o=>this.deleteSession(o)),...n.map(o=>this.deleteProposal(o))])},this.onRelayEventRequest=async r=>{this.requestQueue.queue.push(r),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state===ni.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=ni.active;const r=this.requestQueue.queue.shift();if(r)try{this.processRequest(r),await new Promise(n=>setTimeout(n,300))}catch(n){this.client.logger.warn(n)}}this.requestQueue.state=ni.idle},this.processRequest=r=>{const{topic:n,payload:o}=r,l=o.method;switch(l){case"wc_sessionPropose":return this.onSessionProposeRequest(n,o);case"wc_sessionSettle":return this.onSessionSettleRequest(n,o);case"wc_sessionUpdate":return this.onSessionUpdateRequest(n,o);case"wc_sessionExtend":return this.onSessionExtendRequest(n,o);case"wc_sessionPing":return this.onSessionPingRequest(n,o);case"wc_sessionDelete":return this.onSessionDeleteRequest(n,o);case"wc_sessionRequest":return this.onSessionRequest(n,o);case"wc_sessionEvent":return this.onSessionEventRequest(n,o);default:return this.client.logger.info(`Unsupported request method ${l}`)}},this.onRelayEventResponse=async r=>{const{topic:n,payload:o}=r,l=(await this.client.core.history.get(n,o.id)).request.method;switch(l){case"wc_sessionPropose":return this.onSessionProposeResponse(n,o);case"wc_sessionSettle":return this.onSessionSettleResponse(n,o);case"wc_sessionUpdate":return this.onSessionUpdateResponse(n,o);case"wc_sessionExtend":return this.onSessionExtendResponse(n,o);case"wc_sessionPing":return this.onSessionPingResponse(n,o);case"wc_sessionRequest":return this.onSessionRequestResponse(n,o);default:return this.client.logger.info(`Unsupported response method ${l}`)}},this.onRelayEventUnknownPayload=r=>{const{topic:n}=r,{message:o}=Z("MISSING_OR_INVALID",`Decoded payload on topic ${n} is not identifiable as a JSON-RPC request or a response.`);throw new Error(o)},this.onSessionProposeRequest=async(r,n)=>{const{params:o,id:l}=n;try{this.isValidConnect(ar({},n.params));const d=Fr(se.FIVE_MINUTES),v=ar({id:l,pairingTopic:r,expiry:d},o);await this.setProposal(l,v);const _=ps(JSON.stringify(n)),S=await this.getVerifyContext(_,v.proposer.metadata);this.client.events.emit("session_proposal",{id:l,params:v,verifyContext:S})}catch(d){await this.sendError(l,r,d),this.client.logger.error(d)}},this.onSessionProposeResponse=async(r,n)=>{const{id:o}=n;if(oi(n)){const{result:l}=n;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:l});const d=this.client.proposal.get(o);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:d});const v=d.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:v});const _=l.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:_});const S=await this.client.core.crypto.generateSharedKey(v,_);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:S});const D=await this.client.core.relayer.subscribe(S);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:D}),await this.client.core.pairing.activate({topic:r})}else $r(n)&&(await this.client.proposal.delete(o,er("USER_DISCONNECTED")),this.events.emit(Dt("session_connect"),{error:n.error}))},this.onSessionSettleRequest=async(r,n)=>{const{id:o,params:l}=n;try{this.isValidSessionSettleRequest(l);const{relay:d,controller:v,expiry:_,namespaces:S,requiredNamespaces:D,optionalNamespaces:H,sessionProperties:B,pairingTopic:K}=n.params,q=ar({topic:r,relay:d,expiry:_,namespaces:S,acknowledged:!0,pairingTopic:K,requiredNamespaces:D,optionalNamespaces:H,controller:v.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:v.publicKey,metadata:v.metadata}},B&&{sessionProperties:B});await this.sendResult({id:n.id,topic:r,result:!0}),this.events.emit(Dt("session_connect"),{session:q}),this.cleanupDuplicatePairings(q)}catch(d){await this.sendError(o,r,d),this.client.logger.error(d)}},this.onSessionSettleResponse=async(r,n)=>{const{id:o}=n;oi(n)?(await this.client.session.update(r,{acknowledged:!0}),this.events.emit(Dt("session_approve",o),{})):$r(n)&&(await this.client.session.delete(r,er("USER_DISCONNECTED")),this.events.emit(Dt("session_approve",o),{error:n.error}))},this.onSessionUpdateRequest=async(r,n)=>{const{params:o,id:l}=n;try{const d=`${r}_session_update`,v=no.get(d);if(v&&this.isRequestOutOfSync(v,l)){this.client.logger.info(`Discarding out of sync request - ${l}`);return}this.isValidUpdate(ar({topic:r},o)),await this.client.session.update(r,{namespaces:o.namespaces}),await this.sendResult({id:l,topic:r,result:!0}),this.client.events.emit("session_update",{id:l,topic:r,params:o}),no.set(d,l)}catch(d){await this.sendError(l,r,d),this.client.logger.error(d)}},this.isRequestOutOfSync=(r,n)=>parseInt(n.toString().slice(0,-3))<=parseInt(r.toString().slice(0,-3)),this.onSessionUpdateResponse=(r,n)=>{const{id:o}=n;oi(n)?this.events.emit(Dt("session_update",o),{}):$r(n)&&this.events.emit(Dt("session_update",o),{error:n.error})},this.onSessionExtendRequest=async(r,n)=>{const{id:o}=n;try{this.isValidExtend({topic:r}),await this.setExpiry(r,Fr(oo)),await this.sendResult({id:o,topic:r,result:!0}),this.client.events.emit("session_extend",{id:o,topic:r})}catch(l){await this.sendError(o,r,l),this.client.logger.error(l)}},this.onSessionExtendResponse=(r,n)=>{const{id:o}=n;oi(n)?this.events.emit(Dt("session_extend",o),{}):$r(n)&&this.events.emit(Dt("session_extend",o),{error:n.error})},this.onSessionPingRequest=async(r,n)=>{const{id:o}=n;try{this.isValidPing({topic:r}),await this.sendResult({id:o,topic:r,result:!0}),this.client.events.emit("session_ping",{id:o,topic:r})}catch(l){await this.sendError(o,r,l),this.client.logger.error(l)}},this.onSessionPingResponse=(r,n)=>{const{id:o}=n;setTimeout(()=>{oi(n)?this.events.emit(Dt("session_ping",o),{}):$r(n)&&this.events.emit(Dt("session_ping",o),{error:n.error})},500)},this.onSessionDeleteRequest=async(r,n)=>{const{id:o}=n;try{this.isValidDisconnect({topic:r,reason:n.params}),await Promise.all([new Promise(l=>{this.client.core.relayer.once(Kt.publish,async()=>{l(await this.deleteSession(r))})}),this.sendResult({id:o,topic:r,result:!0})]),this.client.events.emit("session_delete",{id:o,topic:r})}catch(l){this.client.logger.error(l)}},this.onSessionRequest=async(r,n)=>{const{id:o,params:l}=n;try{this.isValidRequest(ar({topic:r},l));const d=ps(JSON.stringify(ds("wc_sessionRequest",l,o))),v=this.client.session.get(r),_=await this.getVerifyContext(d,v.peer.metadata),S={id:o,topic:r,params:l,verifyContext:_};await this.setPendingSessionRequest(S),this.addSessionRequestToSessionRequestQueue(S),this.processSessionRequestQueue()}catch(d){await this.sendError(o,r,d),this.client.logger.error(d)}},this.onSessionRequestResponse=(r,n)=>{const{id:o}=n;oi(n)?this.events.emit(Dt("session_request",o),{result:n.result}):$r(n)&&this.events.emit(Dt("session_request",o),{error:n.error})},this.onSessionEventRequest=async(r,n)=>{const{id:o,params:l}=n;try{const d=`${r}_session_event_${l.event.name}`,v=no.get(d);if(v&&this.isRequestOutOfSync(v,o)){this.client.logger.info(`Discarding out of sync request - ${o}`);return}this.isValidEmit(ar({topic:r},l)),this.client.events.emit("session_event",{id:o,topic:r,params:l}),no.set(d,o)}catch(d){await this.sendError(o,r,d),this.client.logger.error(d)}},this.addSessionRequestToSessionRequestQueue=r=>{this.sessionRequestQueue.queue.push(r)},this.cleanupAfterResponse=r=>{this.deletePendingSessionRequest(r.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=ni.idle,this.processSessionRequestQueue()},se.toMiliseconds(this.requestQueueDelay))},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===ni.active){this.client.logger.info("session request queue is already active.");return}const r=this.sessionRequestQueue.queue[0];if(!r){this.client.logger.info("session request queue is empty.");return}try{this.sessionRequestQueue.state=ni.active,this.client.events.emit("session_request",r)}catch(n){this.client.logger.error(n)}},this.onPairingCreated=r=>{if(r.active)return;const n=this.client.proposal.getAll().find(o=>o.pairingTopic===r.topic);n&&this.onSessionProposeRequest(r.topic,ds("wc_sessionPropose",{requiredNamespaces:n.requiredNamespaces,optionalNamespaces:n.optionalNamespaces,relays:n.relays,proposer:n.proposer},n.id))},this.isValidConnect=async r=>{if(!cr(r)){const{message:_}=Z("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(r)}`);throw new Error(_)}const{pairingTopic:n,requiredNamespaces:o,optionalNamespaces:l,sessionProperties:d,relays:v}=r;if(bi(n)||await this.isValidPairingTopic(n),!D1(v,!0)){const{message:_}=Z("MISSING_OR_INVALID",`connect() relays: ${v}`);throw new Error(_)}!bi(o)&&ho(o)!==0&&this.validateNamespaces(o,"requiredNamespaces"),!bi(l)&&ho(l)!==0&&this.validateNamespaces(l,"optionalNamespaces"),bi(d)||this.validateSessionProps(d,"sessionProperties")},this.validateNamespaces=(r,n)=>{const o=F1(r,"connect()",n);if(o)throw new Error(o.message)},this.isValidApprove=async r=>{if(!cr(r))throw new Error(Z("MISSING_OR_INVALID",`approve() params: ${r}`).message);const{id:n,namespaces:o,relayProtocol:l,sessionProperties:d}=r;await this.isValidProposalId(n);const v=this.client.proposal.get(n),_=Ka(o,"approve()");if(_)throw new Error(_.message);const S=Th(v.requiredNamespaces,o,"approve()");if(S)throw new Error(S.message);if(!ls(l,!0)){const{message:D}=Z("MISSING_OR_INVALID",`approve() relayProtocol: ${l}`);throw new Error(D)}bi(d)||this.validateSessionProps(d,"sessionProperties")},this.isValidReject=async r=>{if(!cr(r)){const{message:l}=Z("MISSING_OR_INVALID",`reject() params: ${r}`);throw new Error(l)}const{id:n,reason:o}=r;if(await this.isValidProposalId(n),!$1(o)){const{message:l}=Z("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(o)}`);throw new Error(l)}},this.isValidSessionSettleRequest=r=>{if(!cr(r)){const{message:S}=Z("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${r}`);throw new Error(S)}const{relay:n,controller:o,namespaces:l,expiry:d}=r;if(!L1(n)){const{message:S}=Z("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(S)}const v=q1(o,"onSessionSettleRequest()");if(v)throw new Error(v.message);const _=Ka(l,"onSessionSettleRequest()");if(_)throw new Error(_.message);if(_i(d)){const{message:S}=Z("EXPIRED","onSessionSettleRequest()");throw new Error(S)}},this.isValidUpdate=async r=>{if(!cr(r)){const{message:_}=Z("MISSING_OR_INVALID",`update() params: ${r}`);throw new Error(_)}const{topic:n,namespaces:o}=r;await this.isValidSessionTopic(n);const l=this.client.session.get(n),d=Ka(o,"update()");if(d)throw new Error(d.message);const v=Th(l.requiredNamespaces,o,"update()");if(v)throw new Error(v.message)},this.isValidExtend=async r=>{if(!cr(r)){const{message:o}=Z("MISSING_OR_INVALID",`extend() params: ${r}`);throw new Error(o)}const{topic:n}=r;await this.isValidSessionTopic(n)},this.isValidRequest=async r=>{if(!cr(r)){const{message:_}=Z("MISSING_OR_INVALID",`request() params: ${r}`);throw new Error(_)}const{topic:n,request:o,chainId:l,expiry:d}=r;await this.isValidSessionTopic(n);const{namespaces:v}=this.client.session.get(n);if(!Nh(v,l)){const{message:_}=Z("MISSING_OR_INVALID",`request() chainId: ${l}`);throw new Error(_)}if(!M1(o)){const{message:_}=Z("MISSING_OR_INVALID",`request() ${JSON.stringify(o)}`);throw new Error(_)}if(!j1(v,l,o.method)){const{message:_}=Z("MISSING_OR_INVALID",`request() method: ${o.method}`);throw new Error(_)}if(d&&!z1(d,ic)){const{message:_}=Z("MISSING_OR_INVALID",`request() expiry: ${d}. Expiry must be a number (in seconds) between ${ic.min} and ${ic.max}`);throw new Error(_)}},this.isValidRespond=async r=>{if(!cr(r)){const{message:l}=Z("MISSING_OR_INVALID",`respond() params: ${r}`);throw new Error(l)}const{topic:n,response:o}=r;if(await this.isValidSessionTopic(n),!U1(o)){const{message:l}=Z("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(o)}`);throw new Error(l)}},this.isValidPing=async r=>{if(!cr(r)){const{message:o}=Z("MISSING_OR_INVALID",`ping() params: ${r}`);throw new Error(o)}const{topic:n}=r;await this.isValidSessionOrPairingTopic(n)},this.isValidEmit=async r=>{if(!cr(r)){const{message:v}=Z("MISSING_OR_INVALID",`emit() params: ${r}`);throw new Error(v)}const{topic:n,event:o,chainId:l}=r;await this.isValidSessionTopic(n);const{namespaces:d}=this.client.session.get(n);if(!Nh(d,l)){const{message:v}=Z("MISSING_OR_INVALID",`emit() chainId: ${l}`);throw new Error(v)}if(!H1(o)){const{message:v}=Z("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(o)}`);throw new Error(v)}if(!k1(d,l,o.name)){const{message:v}=Z("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(o)}`);throw new Error(v)}},this.isValidDisconnect=async r=>{if(!cr(r)){const{message:o}=Z("MISSING_OR_INVALID",`disconnect() params: ${r}`);throw new Error(o)}const{topic:n}=r;await this.isValidSessionOrPairingTopic(n)},this.getVerifyContext=async(r,n)=>{const o={verified:{verifyUrl:n.verifyUrl||lo,validation:"UNKNOWN",origin:n.url||""}};try{const l=await this.client.core.verify.resolve({attestationId:r,verifyUrl:n.verifyUrl});l&&(o.verified.origin=l.origin,o.verified.isScam=l.isScam,o.verified.validation=l.origin===new URL(n.url).origin?"VALID":"INVALID")}catch(l){this.client.logger.info(l)}return this.client.logger.info(`Verify context: ${JSON.stringify(o)}`),o},this.validateSessionProps=(r,n)=>{Object.values(r).forEach(o=>{if(!ls(o,!1)){const{message:l}=Z("MISSING_OR_INVALID",`${n} must be in Record format. Received: ${JSON.stringify(o)}`);throw new Error(l)}})}}async isInitialized(){if(!this.initialized){const{message:i}=Z("NOT_INITIALIZED",this.name);throw new Error(i)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Kt.message,async i=>{const{topic:r,message:n}=i;if(this.ignoredPayloadTypes.includes(this.client.core.crypto.getPayloadType(n)))return;const o=await this.client.core.crypto.decode(r,n);try{xc(o)?(this.client.core.history.set(r,o),this.onRelayEventRequest({topic:r,payload:o})):wo(o)?(await this.client.core.history.resolve(o),await this.onRelayEventResponse({topic:r,payload:o}),this.client.core.history.delete(r,o.id)):this.onRelayEventUnknownPayload({topic:r,payload:o})}catch(l){this.client.logger.error(l)}})}registerExpirerEvents(){this.client.core.expirer.on(Pr.expired,async i=>{const{topic:r,id:n}=Ul(i.target);if(n&&this.client.pendingRequest.keys.includes(n))return await this.deletePendingSessionRequest(n,Z("EXPIRED"),!0);r?this.client.session.keys.includes(r)&&(await this.deleteSession(r,!0),this.client.events.emit("session_expire",{topic:r})):n&&(await this.deleteProposal(n,!0),this.client.events.emit("proposal_expire",{id:n}))})}registerPairingEvents(){this.client.core.pairing.events.on(Gs.create,i=>this.onPairingCreated(i))}isValidPairingTopic(i){if(!ls(i,!1)){const{message:r}=Z("MISSING_OR_INVALID",`pairing topic should be a string: ${i}`);throw new Error(r)}if(!this.client.core.pairing.pairings.keys.includes(i)){const{message:r}=Z("NO_MATCHING_KEY",`pairing topic doesn't exist: ${i}`);throw new Error(r)}if(_i(this.client.core.pairing.pairings.get(i).expiry)){const{message:r}=Z("EXPIRED",`pairing topic: ${i}`);throw new Error(r)}}async isValidSessionTopic(i){if(!ls(i,!1)){const{message:r}=Z("MISSING_OR_INVALID",`session topic should be a string: ${i}`);throw new Error(r)}if(!this.client.session.keys.includes(i)){const{message:r}=Z("NO_MATCHING_KEY",`session topic doesn't exist: ${i}`);throw new Error(r)}if(_i(this.client.session.get(i).expiry)){await this.deleteSession(i);const{message:r}=Z("EXPIRED",`session topic: ${i}`);throw new Error(r)}}async isValidSessionOrPairingTopic(i){if(this.client.session.keys.includes(i))await this.isValidSessionTopic(i);else if(this.client.core.pairing.pairings.keys.includes(i))this.isValidPairingTopic(i);else if(ls(i,!1)){const{message:r}=Z("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${i}`);throw new Error(r)}else{const{message:r}=Z("MISSING_OR_INVALID",`session or pairing topic should be a string: ${i}`);throw new Error(r)}}async isValidProposalId(i){if(!B1(i)){const{message:r}=Z("MISSING_OR_INVALID",`proposal id should be a number: ${i}`);throw new Error(r)}if(!this.client.proposal.keys.includes(i)){const{message:r}=Z("NO_MATCHING_KEY",`proposal id doesn't exist: ${i}`);throw new Error(r)}if(_i(this.client.proposal.get(i).expiry)){await this.deleteProposal(i);const{message:r}=Z("EXPIRED",`proposal id: ${i}`);throw new Error(r)}}}class kb extends bo{constructor(i,r){super(i,r,Nb,Sc),this.core=i,this.logger=r}}class Bb extends bo{constructor(i,r){super(i,r,Db,Sc),this.core=i,this.logger=r}}class Vb extends bo{constructor(i,r){super(i,r,$b,Sc,n=>n.id),this.core=i,this.logger=r}}let Kb=class Sf extends _m{constructor(i){super(i),this.protocol=Ef,this.version=xf,this.name=rc.name,this.events=new Sr.EventEmitter,this.on=(n,o)=>this.events.on(n,o),this.once=(n,o)=>this.events.once(n,o),this.off=(n,o)=>this.events.off(n,o),this.removeListener=(n,o)=>this.events.removeListener(n,o),this.removeAllListeners=n=>this.events.removeAllListeners(n),this.connect=async n=>{try{return await this.engine.connect(n)}catch(o){throw this.logger.error(o.message),o}},this.pair=async n=>{try{return await this.engine.pair(n)}catch(o){throw this.logger.error(o.message),o}},this.approve=async n=>{try{return await this.engine.approve(n)}catch(o){throw this.logger.error(o.message),o}},this.reject=async n=>{try{return await this.engine.reject(n)}catch(o){throw this.logger.error(o.message),o}},this.update=async n=>{try{return await this.engine.update(n)}catch(o){throw this.logger.error(o.message),o}},this.extend=async n=>{try{return await this.engine.extend(n)}catch(o){throw this.logger.error(o.message),o}},this.request=async n=>{try{return await this.engine.request(n)}catch(o){throw this.logger.error(o.message),o}},this.respond=async n=>{try{return await this.engine.respond(n)}catch(o){throw this.logger.error(o.message),o}},this.ping=async n=>{try{return await this.engine.ping(n)}catch(o){throw this.logger.error(o.message),o}},this.emit=async n=>{try{return await this.engine.emit(n)}catch(o){throw this.logger.error(o.message),o}},this.disconnect=async n=>{try{return await this.engine.disconnect(n)}catch(o){throw this.logger.error(o.message),o}},this.find=n=>{try{return this.engine.find(n)}catch(o){throw this.logger.error(o.message),o}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(n){throw this.logger.error(n.message),n}},this.name=(i==null?void 0:i.name)||rc.name,this.metadata=(i==null?void 0:i.metadata)||O1();const r=typeof(i==null?void 0:i.logger)<"u"&&typeof(i==null?void 0:i.logger)!="string"?i.logger:Ce.pino(Ce.getDefaultLoggerOptions({level:(i==null?void 0:i.logger)||rc.logger}));this.core=(i==null?void 0:i.core)||new Tb(i),this.logger=Ce.generateChildLogger(r,this.name),this.session=new Bb(this.core,this.logger),this.proposal=new kb(this.core,this.logger),this.pendingRequest=new Vb(this.core,this.logger),this.engine=new Hb(this)}static async init(i){const r=new Sf(i);return await r.initialize(),r}get context(){return Ce.getLoggerContext(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.engine.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(i){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(i.message),i}}};var fc={exports:{}};(function(u,i){var r=typeof self<"u"?self:ur,n=function(){function l(){this.fetch=!1,this.DOMException=r.DOMException}return l.prototype=r,new l}();(function(l){(function(d){var v={searchParams:"URLSearchParams"in l,iterable:"Symbol"in l&&"iterator"in Symbol,blob:"FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in l,arrayBuffer:"ArrayBuffer"in l};function _(y){return y&&DataView.prototype.isPrototypeOf(y)}if(v.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],D=ArrayBuffer.isView||function(y){return y&&S.indexOf(Object.prototype.toString.call(y))>-1};function H(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(y))throw new TypeError("Invalid character in header field name");return y.toLowerCase()}function B(y){return typeof y!="string"&&(y=String(y)),y}function K(y){var E={next:function(){var Y=y.shift();return{done:Y===void 0,value:Y}}};return v.iterable&&(E[Symbol.iterator]=function(){return E}),E}function q(y){this.map={},y instanceof q?y.forEach(function(E,Y){this.append(Y,E)},this):Array.isArray(y)?y.forEach(function(E){this.append(E[0],E[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(E){this.append(E,y[E])},this)}q.prototype.append=function(y,E){y=H(y),E=B(E);var Y=this.map[y];this.map[y]=Y?Y+", "+E:E},q.prototype.delete=function(y){delete this.map[H(y)]},q.prototype.get=function(y){return y=H(y),this.has(y)?this.map[y]:null},q.prototype.has=function(y){return this.map.hasOwnProperty(H(y))},q.prototype.set=function(y,E){this.map[H(y)]=B(E)},q.prototype.forEach=function(y,E){for(var Y in this.map)this.map.hasOwnProperty(Y)&&y.call(E,this.map[Y],Y,this)},q.prototype.keys=function(){var y=[];return this.forEach(function(E,Y){y.push(Y)}),K(y)},q.prototype.values=function(){var y=[];return this.forEach(function(E){y.push(E)}),K(y)},q.prototype.entries=function(){var y=[];return this.forEach(function(E,Y){y.push([Y,E])}),K(y)},v.iterable&&(q.prototype[Symbol.iterator]=q.prototype.entries);function W(y){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}function ie(y){return new Promise(function(E,Y){y.onload=function(){E(y.result)},y.onerror=function(){Y(y.error)}})}function Ee(y){var E=new FileReader,Y=ie(E);return E.readAsArrayBuffer(y),Y}function ge(y){var E=new FileReader,Y=ie(E);return E.readAsText(y),Y}function pe(y){for(var E=new Uint8Array(y),Y=new Array(E.length),ce=0;ce-1?E:y}function G(y,E){E=E||{};var Y=E.body;if(y instanceof G){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,E.headers||(this.headers=new q(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!Y&&y._bodyInit!=null&&(Y=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new q(E.headers)),this.method=M(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Y)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Y)}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})};function ye(y){var E=new FormData;return y.trim().split("&").forEach(function(Y){if(Y){var ce=Y.split("="),k=ce.shift().replace(/\+/g," "),j=ce.join("=").replace(/\+/g," ");E.append(decodeURIComponent(k),decodeURIComponent(j))}}),E}function re(y){var E=new q,Y=y.replace(/\r?\n[\t ]+/g," ");return Y.split(/\r?\n/).forEach(function(ce){var k=ce.split(":"),j=k.shift().trim();if(j){var U=k.join(":").trim();E.append(j,U)}}),E}le.call(G.prototype);function ue(y,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new q(E.headers),this.url=E.url||"",this._initBody(y)}le.call(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},ue.error=function(){var y=new ue(null,{status:0,statusText:""});return y.type="error",y};var Te=[301,302,303,307,308];ue.redirect=function(y,E){if(Te.indexOf(E)===-1)throw new RangeError("Invalid status code");return new ue(null,{status:E,headers:{location:y}})},d.DOMException=l.DOMException;try{new d.DOMException}catch{d.DOMException=function(E,Y){this.message=E,this.name=Y;var ce=Error(E);this.stack=ce.stack},d.DOMException.prototype=Object.create(Error.prototype),d.DOMException.prototype.constructor=d.DOMException}function ze(y,E){return new Promise(function(Y,ce){var k=new G(y,E);if(k.signal&&k.signal.aborted)return ce(new d.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function U(){j.abort()}j.onload=function(){var V={status:j.status,statusText:j.statusText,headers:re(j.getAllResponseHeaders()||"")};V.url="responseURL"in j?j.responseURL:V.headers.get("X-Request-URL");var Je="response"in j?j.response:j.responseText;Y(new ue(Je,V))},j.onerror=function(){ce(new TypeError("Network request failed"))},j.ontimeout=function(){ce(new TypeError("Network request failed"))},j.onabort=function(){ce(new d.DOMException("Aborted","AbortError"))},j.open(k.method,k.url,!0),k.credentials==="include"?j.withCredentials=!0:k.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&v.blob&&(j.responseType="blob"),k.headers.forEach(function(V,Je){j.setRequestHeader(Je,V)}),k.signal&&(k.signal.addEventListener("abort",U),j.onreadystatechange=function(){j.readyState===4&&k.signal.removeEventListener("abort",U)}),j.send(typeof k._bodyInit>"u"?null:k._bodyInit)})}return ze.polyfill=!0,l.fetch||(l.fetch=ze,l.Headers=q,l.Request=G,l.Response=ue),d.Headers=q,d.Request=G,d.Response=ue,d.fetch=ze,Object.defineProperty(d,"__esModule",{value:!0}),d})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var o=n;i=o.fetch,i.default=o.fetch,i.fetch=o.fetch,i.Headers=o.Headers,i.Request=o.Request,i.Response=o.Response,u.exports=i})(fc,fc.exports);var Gb=fc.exports;const Il=jl(Gb),Wb={Accept:"application/json","Content-Type":"application/json"},Jb="POST",Pl={headers:Wb,method:Jb},Sl=10;class Pi{constructor(i,r=!1){if(this.url=i,this.disableProviderPing=r,this.events=new Sr.EventEmitter,this.isAvailable=!1,this.registering=!1,!Xh(i))throw new Error(`Provided URL is not compatible with HTTP connection: ${i}`);this.url=i,this.disableProviderPing=r}get connected(){return this.isAvailable}get connecting(){return this.registering}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}off(i,r){this.events.off(i,r)}removeListener(i,r){this.events.removeListener(i,r)}async open(i=this.url){await this.register(i)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(i,r){this.isAvailable||await this.register();try{const n=Ys(i),l=await(await Il(this.url,Object.assign(Object.assign({},Pl),{body:n}))).json();this.onPayload({data:l})}catch(n){this.onError(i.id,n)}}async register(i=this.url){if(!Xh(i))throw new Error(`Provided URL is not compatible with HTTP connection: ${i}`);if(this.registering){const r=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=r||this.events.listenerCount("open")>=r)&&this.events.setMaxListeners(r+1),new Promise((n,o)=>{this.events.once("register_error",l=>{this.resetMaxListeners(),o(l)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return o(new Error("HTTP connection is missing or invalid"));n()})})}this.url=i,this.registering=!0;try{if(!this.disableProviderPing){const r=Ys({id:1,jsonrpc:"2.0",method:"test",params:[]});await Il(i,Object.assign(Object.assign({},Pl),{body:r}))}this.onOpen()}catch(r){const n=this.parseError(r);throw this.events.emit("register_error",n),this.onClose(),n}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(i){if(typeof i.data>"u")return;const r=typeof i.data=="string"?mc(i.data):i.data;this.events.emit("payload",r)}onError(i,r){const n=this.parseError(r),o=n.message||n.toString(),l=mo(i,o);this.events.emit("payload",l)}parseError(i,r=this.url){return rf(i,r,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>Sl&&this.events.setMaxListeners(Sl)}}const Al="error",Qb="wss://relay.walletconnect.com",Yb="wc",Xb="universal_provider",Rl=`${Yb}@2:${Xb}:`,Zb="https://rpc.walletconnect.com/v1/",ci={DEFAULT_CHAIN_CHANGED:"default_chain_changed"};var Vs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pc={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors @@ -24,4 +24,4 @@ __p += '`),Oe&&(z+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+z+`return __p -}`;var be=Ph(function(){return $e(p,te+"return "+z).apply(r,m)});if(be.source=z,$a(be))throw be;return be}function p0(e){return qe(e).toLowerCase()}function d0(e){return qe(e).toUpperCase()}function g0(e,t,s){if(e=qe(e),e&&(s||t===r))return Fc(e);if(!e||!(t=fr(t)))return e;var a=Or(e),h=Or(t),p=$c(a,h),m=Lc(a,h)+1;return mi(a,p,m).join("")}function y0(e,t,s){if(e=qe(e),e&&(s||t===r))return e.slice(0,Mc(e)+1);if(!e||!(t=fr(t)))return e;var a=Or(e),h=Lc(a,Or(t))+1;return mi(a,0,h).join("")}function v0(e,t,s){if(e=qe(e),e&&(s||t===r))return e.replace(gt,"");if(!e||!(t=fr(t)))return e;var a=Or(e),h=$c(a,Or(t));return mi(a,h).join("")}function m0(e,t){var s=re,a=ue;if(ut(t)){var h="separator"in t?t.separator:h;s="length"in t?we(t.length):s,a="omission"in t?fr(t.omission):a}e=qe(e);var p=e.length;if(Xi(e)){var m=Or(e);p=m.length}if(s>=p)return e;var w=s-Zi(a);if(w<1)return a;var P=m?mi(m,0,w).join(""):e.slice(0,w);if(h===r)return P+a;if(m&&(w+=P.length-w),La(h)){if(e.slice(w).search(h)){var F,$=P;for(h.global||(h=Xo(h.source,qe(yr.exec(h))+"g")),h.lastIndex=0;F=h.exec($);)var z=F.index;P=P.slice(0,z===r?w:z)}}else if(e.indexOf(fr(h),w)!=w){var J=P.lastIndexOf(h);J>-1&&(P=P.slice(0,J))}return P+a}function w0(e){return e=qe(e),e&<.test(e)?e.replace(ui,Wf):e}var _0=os(function(e,t,s){return e+(s?" ":"")+t.toUpperCase()}),ja=Su("toUpperCase");function Ih(e,t,s){return e=qe(e),t=s?r:t,t===r?kf(e)?Yf(e):Ff(e):e.match(t)||[]}var Ph=Ie(function(e,t){try{return Mt(e,r,t)}catch(s){return $a(s)?s:new de(s)}}),b0=Yr(function(e,t){return mr(t,function(s){s=Hr(s),Jr(e,s,Da(e[s],e))}),e});function E0(e){var t=e==null?0:e.length,s=ne();return e=t?st(e,function(a){if(typeof a[1]!="function")throw new wr(d);return[s(a[0]),a[1]]}):[],Ie(function(a){for(var h=-1;++hk)return[];var s=V,a=Bt(e,V);t=ne(t),e-=V;for(var h=Jo(a,t);++s0||t<0)?new Ae(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),t!==r&&(t=we(t),s=t<0?s.dropRight(-t):s.take(t-e)),s)},Ae.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ae.prototype.toArray=function(){return this.take(V)},zr(Ae.prototype,function(e,t){var s=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),h=f[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);h&&(f.prototype[t]=function(){var m=this.__wrapped__,w=a?[1]:arguments,P=m instanceof Ae,F=w[0],$=P||me(m),z=function(Pe){var Oe=h.apply(f,fi([Pe],w));return a&&J?Oe[0]:Oe};$&&s&&typeof F=="function"&&F.length!=1&&(P=$=!1);var J=this.__chain__,te=!!this.__actions__.length,oe=p&&!J,be=P&&!te;if(!p&&$){m=be?m:new Ae(this);var ae=e.apply(m,w);return ae.__actions__.push({func:Yn,args:[z],thisArg:r}),new _r(ae,J)}return oe&&be?e.apply(this,w):(ae=this.thru(z),oe?a?ae.value()[0]:ae.value():ae)})}),mr(["pop","push","shift","sort","splice","unshift"],function(e){var t=xn[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var h=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(me(p)?p:[],h)}return this[s](function(m){return t.apply(me(m)?m:[],h)})}}),zr(Ae.prototype,function(e,t){var s=f[t];if(s){var a=s.name+"";je.call(is,a)||(is[a]=[]),is[a].push({name:t,func:s})}}),is[Bn(r,Ee).name]=[{name:"wrapper",func:r}],Ae.prototype.clone=wp,Ae.prototype.reverse=_p,Ae.prototype.value=bp,f.prototype.at=Qg,f.prototype.chain=Yg,f.prototype.commit=Xg,f.prototype.next=Zg,f.prototype.plant=ty,f.prototype.reverse=ry,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=iy,f.prototype.first=f.prototype.head,Es&&(f.prototype[Es]=ey),f},es=Xf();_t?((_t.exports=es)._=es,Ge._=es):Re._=es}).call(Vs)})(pc,pc.exports);var eE=Object.defineProperty,tE=Object.defineProperties,rE=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,iE=Object.prototype.hasOwnProperty,sE=Object.prototype.propertyIsEnumerable,Cl=(u,i,r)=>i in u?eE(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,ao=(u,i)=>{for(var r in i||(i={}))iE.call(i,r)&&Cl(u,r,i[r]);if(Ol)for(var r of Ol(i))sE.call(i,r)&&Cl(u,r,i[r]);return u},nE=(u,i)=>tE(u,rE(i));function xi(u,i,r){var n;const o=V1(u);return((n=i.rpcMap)==null?void 0:n[o.reference])||`${Zb}?chainId=${o.namespace}:${o.reference}&projectId=${r}`}function ki(u){return u.includes(":")?u.split(":")[1]:u}function Af(u){return u.map(i=>`${i.split(":")[0]}:${i.split(":")[1]}`)}function oE(u,i){const r=Object.keys(i.namespaces).filter(o=>o.includes(u));if(!r.length)return[];const n=[];return r.forEach(o=>{const l=i.namespaces[o].accounts;n.push(...l)}),n}function aE(u={},i={}){const r=Tl(u),n=Tl(i);return pc.exports.merge(r,n)}function Tl(u){var i,r,n,o;const l={};if(!ho(u))return l;for(const[d,v]of Object.entries(u)){const _=Vl(d)?[d]:v.chains,S=v.methods||[],D=v.events||[],H=v.rpcMap||{},B=Ks(d);l[B]=nE(ao(ao({},l[B]),v),{chains:Ga(_,(i=l[B])==null?void 0:i.chains),methods:Ga(S,(r=l[B])==null?void 0:r.methods),events:Ga(D,(n=l[B])==null?void 0:n.events),rpcMap:ao(ao({},H),(o=l[B])==null?void 0:o.rpcMap)})}return l}function cE(u){return u.includes(":")?u.split(":")[2]:u}function uE(u){const i={};for(const[r,n]of Object.entries(u)){const o=n.methods||[],l=n.events||[],d=n.accounts||[],v=Vl(r)?[r]:n.chains?n.chains:Af(n.accounts);i[r]={chains:v,methods:o,events:l,accounts:d}}return i}function sc(u){return typeof u=="number"?u:u.includes("0x")?parseInt(u,16):u.includes(":")?Number(u.split(":")[1]):Number(u)}const Rf={},nt=u=>Rf[u],nc=(u,i)=>{Rf[u]=i};class hE{constructor(i){this.name="polkadot",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getAccounts(){const i=this.namespace.accounts;return i?i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2])||[]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class lE{constructor(i){this.name="eip155",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.httpProviders=this.createHttpProviders(),this.chainId=parseInt(this.getDefaultChain())}async request(i){switch(i.request.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"wallet_switchEthereumChain":return await this.handleSwitchChain(i);case"eth_chainId":return parseInt(this.getDefaultChain())}return this.namespace.methods.includes(i.request.method)?await this.client.request(i):this.getHttpProvider().request(i.request)}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(parseInt(i),r),this.chainId=parseInt(i),this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}createHttpProvider(i,r){const n=r||xi(`${this.name}:${i}`,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=parseInt(ki(r));i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}getHttpProvider(){const i=this.chainId,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}async handleSwitchChain(i){var r,n;let o=i.request.params?(r=i.request.params[0])==null?void 0:r.chainId:"0x0";o=o.startsWith("0x")?o:`0x${o}`;const l=parseInt(o,16);if(this.isChainApproved(l))this.setDefaultChain(`${l}`);else if(this.namespace.methods.includes("wallet_switchEthereumChain"))await this.client.request({topic:i.topic,request:{method:i.request.method,params:[{chainId:o}]},chainId:(n=this.namespace.chains)==null?void 0:n[0]}),this.setDefaultChain(`${l}`);else throw new Error(`Failed to switch to chain 'eip155:${l}'. The chain is not approved or the wallet does not support 'wallet_switchEthereumChain' method.`);return null}isChainApproved(i){return this.namespace.chains.includes(`${this.name}:${i}`)}}class fE{constructor(i){this.name="solana",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class pE{constructor(i){this.name="cosmos",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class dE{constructor(i){this.name="cip34",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{const n=this.getCardanoRPCUrl(r),o=ki(r);i[o]=this.createHttpProvider(o,n)}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}getCardanoRPCUrl(i){const r=this.namespace.rpcMap;if(r)return r[i]}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||this.getCardanoRPCUrl(i);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class gE{constructor(i){this.name="elrond",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class yE{constructor(i){this.name="multiversx",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class vE{constructor(i){this.name="near",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){if(this.chainId=i,!this.httpProviders[i]){const n=r||xi(`${this.name}:${i}`,this.namespace);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);this.setHttpProvider(i,n)}this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){const i=this.namespace.accounts;return i?i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2])||[]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;i[r]=this.createHttpProvider(r,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace);return typeof n>"u"?void 0:new ai(new Pi(n,nt("disableProviderPing")))}}var mE=Object.defineProperty,wE=Object.defineProperties,_E=Object.getOwnPropertyDescriptors,Nl=Object.getOwnPropertySymbols,bE=Object.prototype.hasOwnProperty,EE=Object.prototype.propertyIsEnumerable,Dl=(u,i,r)=>i in u?mE(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,co=(u,i)=>{for(var r in i||(i={}))bE.call(i,r)&&Dl(u,r,i[r]);if(Nl)for(var r of Nl(i))EE.call(i,r)&&Dl(u,r,i[r]);return u},oc=(u,i)=>wE(u,_E(i));class Ac{constructor(i){this.events=new vc,this.rpcProviders={},this.shouldAbortPairingAttempt=!1,this.maxPairingAttempts=10,this.disableProviderPing=!1,this.providerOpts=i,this.logger=typeof(i==null?void 0:i.logger)<"u"&&typeof(i==null?void 0:i.logger)!="string"?i.logger:Ce.pino(Ce.getDefaultLoggerOptions({level:(i==null?void 0:i.logger)||Al})),this.disableProviderPing=(i==null?void 0:i.disableProviderPing)||!1}static async init(i){const r=new Ac(i);return await r.initialize(),r}async request(i,r){const[n,o]=this.validateChain(r);if(!this.session)throw new Error("Please call connect() before request()");return await this.getProvider(n).request({request:co({},i),chainId:`${n}:${o}`,topic:this.session.topic})}sendAsync(i,r,n){this.request(i,n).then(o=>r(null,o)).catch(o=>r(o,void 0))}async enable(){if(!this.client)throw new Error("Sign Client not initialized");return this.session||await this.connect({namespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties}),await this.requestAccounts()}async disconnect(){var i;if(!this.session)throw new Error("Please call connect() before enable()");await this.client.disconnect({topic:(i=this.session)==null?void 0:i.topic,reason:er("USER_DISCONNECTED")}),await this.cleanup()}async connect(i){if(!this.client)throw new Error("Sign Client not initialized");if(this.setNamespaces(i),await this.cleanupPendingPairings(),!i.skipPairing)return await this.pair(i.pairingTopic)}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}removeListener(i,r){this.events.removeListener(i,r)}off(i,r){this.events.off(i,r)}get isWalletConnect(){return!0}async pair(i){this.shouldAbortPairingAttempt=!1;let r=0;do{if(this.shouldAbortPairingAttempt)throw new Error("Pairing aborted");if(r>=this.maxPairingAttempts)throw new Error("Max auto pairing attempts reached");const{uri:n,approval:o}=await this.client.connect({pairingTopic:i,requiredNamespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties});n&&(this.uri=n,this.events.emit("display_uri",n)),await o().then(l=>{this.session=l,this.namespaces||(this.namespaces=uE(l.namespaces),this.persist("namespaces",this.namespaces))}).catch(l=>{if(l.message!==Pf)throw l;r++})}while(!this.session);return this.onConnect(),this.session}setDefaultChain(i,r){try{if(!this.session)return;const[n,o]=this.validateChain(i);this.getProvider(n).setDefaultChain(o,r)}catch(n){if(!/Please call connect/.test(n.message))throw n}}async cleanupPendingPairings(i={}){this.logger.info("Cleaning up inactive pairings...");const r=this.client.pairing.getAll();if(gs(r)){for(const n of r)i.deletePairings?this.client.core.expirer.set(n.topic,0):await this.client.core.relayer.subscriber.unsubscribe(n.topic);this.logger.info(`Inactive pairings cleared: ${r.length}`)}}abortPairingAttempt(){this.shouldAbortPairingAttempt=!0}async checkStorage(){if(this.namespaces=await this.getFromStore("namespaces"),this.optionalNamespaces=await this.getFromStore("optionalNamespaces")||{},this.client.session.length){const i=this.client.session.keys.length-1;this.session=this.client.session.get(this.client.session.keys[i]),this.createProviders()}}async initialize(){this.logger.trace("Initialized"),await this.createClient(),await this.checkStorage(),this.registerEventListeners()}async createClient(){this.client=this.providerOpts.client||await Kb.init({logger:this.providerOpts.logger||Al,relayUrl:this.providerOpts.relayUrl||Qb,projectId:this.providerOpts.projectId,metadata:this.providerOpts.metadata,storageOptions:this.providerOpts.storageOptions,storage:this.providerOpts.storage,name:this.providerOpts.name}),this.logger.trace("SignClient Initialized")}createProviders(){if(!this.client)throw new Error("Sign Client not initialized");if(!this.session)throw new Error("Session not initialized. Please call connect() before enable()");const i=[...new Set(Object.keys(this.session.namespaces).map(r=>Ks(r)))];nc("client",this.client),nc("events",this.events),nc("disableProviderPing",this.disableProviderPing),i.forEach(r=>{if(!this.session)return;const n=oE(r,this.session),o=Af(n),l=aE(this.namespaces,this.optionalNamespaces),d=oc(co({},l[r]),{accounts:n,chains:o});switch(r){case"eip155":this.rpcProviders[r]=new lE({namespace:d});break;case"solana":this.rpcProviders[r]=new fE({namespace:d});break;case"cosmos":this.rpcProviders[r]=new pE({namespace:d});break;case"polkadot":this.rpcProviders[r]=new hE({namespace:d});break;case"cip34":this.rpcProviders[r]=new dE({namespace:d});break;case"elrond":this.rpcProviders[r]=new gE({namespace:d});break;case"multiversx":this.rpcProviders[r]=new yE({namespace:d});break;case"near":this.rpcProviders[r]=new vE({namespace:d});break}})}registerEventListeners(){if(typeof this.client>"u")throw new Error("Sign Client is not initialized");this.client.on("session_ping",i=>{this.events.emit("session_ping",i)}),this.client.on("session_event",i=>{const{params:r}=i,{event:n}=r;if(n.name==="accountsChanged"){const o=n.data;o&&gs(o)&&this.events.emit("accountsChanged",o.map(cE))}else if(n.name==="chainChanged"){const o=r.chainId,l=r.event.data,d=Ks(o),v=sc(o)!==sc(l)?`${d}:${sc(l)}`:o;this.onChainChanged(v)}else this.events.emit(n.name,n.data);this.events.emit("session_event",i)}),this.client.on("session_update",({topic:i,params:r})=>{var n;const{namespaces:o}=r,l=(n=this.client)==null?void 0:n.session.get(i);this.session=oc(co({},l),{namespaces:o}),this.onSessionUpdate(),this.events.emit("session_update",{topic:i,params:r})}),this.client.on("session_delete",async i=>{await this.cleanup(),this.events.emit("session_delete",i),this.events.emit("disconnect",oc(co({},er("USER_DISCONNECTED")),{data:i.topic}))}),this.on(ci.DEFAULT_CHAIN_CHANGED,i=>{this.onChainChanged(i,!0)})}getProvider(i){if(!this.rpcProviders[i])throw new Error(`Provider not found: ${i}`);return this.rpcProviders[i]}onSessionUpdate(){Object.keys(this.rpcProviders).forEach(i=>{var r;this.getProvider(i).updateNamespace((r=this.session)==null?void 0:r.namespaces[i])})}setNamespaces(i){const{namespaces:r,optionalNamespaces:n,sessionProperties:o}=i;r&&Object.keys(r).length&&(this.namespaces=r),n&&Object.keys(n).length&&(this.optionalNamespaces=n),this.sessionProperties=o,this.persist("namespaces",r),this.persist("optionalNamespaces",n)}validateChain(i){const[r,n]=(i==null?void 0:i.split(":"))||["",""];if(!this.namespaces||!Object.keys(this.namespaces).length)return[r,n];if(r&&!Object.keys(this.namespaces||{}).map(d=>Ks(d)).includes(r))throw new Error(`Namespace '${r}' is not configured. Please call connect() first with namespace config.`);if(r&&n)return[r,n];const o=Ks(Object.keys(this.namespaces)[0]),l=this.rpcProviders[o].getDefaultChain();return[o,l]}async requestAccounts(){const[i]=this.validateChain();return await this.getProvider(i).requestAccounts()}onChainChanged(i,r=!1){var n;if(!this.namespaces)return;const[o,l]=this.validateChain(i);r||this.getProvider(o).setDefaultChain(l),((n=this.namespaces[o])!=null?n:this.namespaces[`${o}:${l}`]).defaultChain=l,this.persist("namespaces",this.namespaces),this.events.emit("chainChanged",l)}onConnect(){this.createProviders(),this.events.emit("connect",{session:this.session})}async cleanup(){this.session=void 0,this.namespaces=void 0,this.optionalNamespaces=void 0,this.sessionProperties=void 0,this.persist("namespaces",void 0),this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),await this.cleanupPendingPairings({deletePairings:!0})}persist(i,r){this.client.core.storage.setItem(`${Rl}/${i}`,r)}async getFromStore(i){return await this.client.core.storage.getItem(`${Rl}/${i}`)}}const xE=Ac,IE="wc",PE="ethereum_provider",SE=`${IE}@2:${PE}:`,AE="https://rpc.walletconnect.com/v1/",dc=["eth_sendTransaction","personal_sign"],RE=["eth_accounts","eth_requestAccounts","eth_sendRawTransaction","eth_sign","eth_signTransaction","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","eth_sendTransaction","personal_sign","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"],gc=["chainChanged","accountsChanged"],OE=["chainChanged","accountsChanged","message","disconnect","connect"];var CE=Object.defineProperty,TE=Object.defineProperties,NE=Object.getOwnPropertyDescriptors,Fl=Object.getOwnPropertySymbols,DE=Object.prototype.hasOwnProperty,FE=Object.prototype.propertyIsEnumerable,$l=(u,i,r)=>i in u?CE(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,Ws=(u,i)=>{for(var r in i||(i={}))DE.call(i,r)&&$l(u,r,i[r]);if(Fl)for(var r of Fl(i))FE.call(i,r)&&$l(u,r,i[r]);return u},Ll=(u,i)=>TE(u,NE(i));function go(u){return Number(u[0].split(":")[1])}function ac(u){return`0x${u.toString(16)}`}function $E(u){const{chains:i,optionalChains:r,methods:n,optionalMethods:o,events:l,optionalEvents:d,rpcMap:v}=u;if(!gs(i))throw new Error("Invalid chains");const _={chains:i,methods:n||dc,events:l||gc,rpcMap:Ws({},i.length?{[go(i)]:v[go(i)]}:{})},S=l==null?void 0:l.filter(K=>!gc.includes(K)),D=n==null?void 0:n.filter(K=>!dc.includes(K));if(!r&&!d&&!o&&!(S!=null&&S.length)&&!(D!=null&&D.length))return{required:i.length?_:void 0};const H=(S==null?void 0:S.length)&&(D==null?void 0:D.length)||!r,B={chains:[...new Set(H?_.chains.concat(r||[]):r)],methods:[...new Set(_.methods.concat(o!=null&&o.length?o:RE))],events:[...new Set(_.events.concat(d!=null&&d.length?d:OE))],rpcMap:v};return{required:i.length?_:void 0,optional:r.length?B:void 0}}class Rc{constructor(){this.events=new Sr.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=SE,this.on=(i,r)=>(this.events.on(i,r),this),this.once=(i,r)=>(this.events.once(i,r),this),this.removeListener=(i,r)=>(this.events.removeListener(i,r),this),this.off=(i,r)=>(this.events.off(i,r),this),this.parseAccount=i=>this.isCompatibleChainId(i)?this.parseAccountId(i).address:i,this.signer={},this.rpc={}}static async init(i){const r=new Rc;return await r.initialize(i),r}async request(i){return await this.signer.request(i,this.formatChainId(this.chainId))}sendAsync(i,r){this.signer.sendAsync(i,r,this.formatChainId(this.chainId))}get connected(){return this.signer.client?this.signer.client.core.relayer.connected:!1}get connecting(){return this.signer.client?this.signer.client.core.relayer.connecting:!1}async enable(){return this.session||await this.connect(),await this.request({method:"eth_requestAccounts"})}async connect(i){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts(i);const{required:r,optional:n}=$E(this.rpc);try{const o=await new Promise(async(d,v)=>{var _;this.rpc.showQrModal&&((_=this.modal)==null||_.subscribeModal(S=>{!S.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),v(new Error("Connection request reset. Please try again.")))})),await this.signer.connect(Ll(Ws({namespaces:Ws({},r&&{[this.namespace]:r})},n&&{optionalNamespaces:{[this.namespace]:n}}),{pairingTopic:i==null?void 0:i.pairingTopic})).then(S=>{d(S)}).catch(S=>{v(new Error(S.message))})});if(!o)return;const l=K1(o.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:l),this.setAccounts(l),this.events.emit("connect",{chainId:ac(this.chainId)})}catch(o){throw this.signer.logger.error(o),o}finally{this.modal&&this.modal.closeModal()}}async disconnect(){this.session&&await this.signer.disconnect(),this.reset()}get isWalletConnect(){return!0}get session(){return this.signer.session}registerEventListeners(){this.signer.on("session_event",i=>{const{params:r}=i,{event:n}=r;n.name==="accountsChanged"?(this.accounts=this.parseAccounts(n.data),this.events.emit("accountsChanged",this.accounts)):n.name==="chainChanged"?this.setChainId(this.formatChainId(n.data)):this.events.emit(n.name,n.data),this.events.emit("session_event",i)}),this.signer.on("chainChanged",i=>{const r=parseInt(i);this.chainId=r,this.events.emit("chainChanged",ac(this.chainId)),this.persist()}),this.signer.on("session_update",i=>{this.events.emit("session_update",i)}),this.signer.on("session_delete",i=>{this.reset(),this.events.emit("session_delete",i),this.events.emit("disconnect",Ll(Ws({},er("USER_DISCONNECTED")),{data:i.topic,name:"USER_DISCONNECTED"}))}),this.signer.on("display_uri",i=>{var r,n;this.rpc.showQrModal&&((r=this.modal)==null||r.closeModal(),(n=this.modal)==null||n.openModal({uri:i})),this.events.emit("display_uri",i)})}switchEthereumChain(i){this.request({method:"wallet_switchEthereumChain",params:[{chainId:i.toString(16)}]})}isCompatibleChainId(i){return typeof i=="string"?i.startsWith(`${this.namespace}:`):!1}formatChainId(i){return`${this.namespace}:${i}`}parseChainId(i){return Number(i.split(":")[1])}setChainIds(i){const r=i.filter(n=>this.isCompatibleChainId(n)).map(n=>this.parseChainId(n));r.length&&(this.chainId=r[0],this.events.emit("chainChanged",ac(this.chainId)),this.persist())}setChainId(i){if(this.isCompatibleChainId(i)){const r=this.parseChainId(i);this.chainId=r,this.switchEthereumChain(r)}}parseAccountId(i){const[r,n,o]=i.split(":");return{chainId:`${r}:${n}`,address:o}}setAccounts(i){this.accounts=i.filter(r=>this.parseChainId(this.parseAccountId(r).chainId)===this.chainId).map(r=>this.parseAccountId(r).address),this.events.emit("accountsChanged",this.accounts)}getRpcConfig(i){var r,n;const o=(r=i==null?void 0:i.chains)!=null?r:[],l=(n=i==null?void 0:i.optionalChains)!=null?n:[],d=o.concat(l);if(!d.length)throw new Error("No chains specified in either `chains` or `optionalChains`");const v=o.length?(i==null?void 0:i.methods)||dc:[],_=o.length?(i==null?void 0:i.events)||gc:[],S=(i==null?void 0:i.optionalMethods)||[],D=(i==null?void 0:i.optionalEvents)||[],H=(i==null?void 0:i.rpcMap)||this.buildRpcMap(d,i.projectId),B=(i==null?void 0:i.qrModalOptions)||void 0;return{chains:o==null?void 0:o.map(K=>this.formatChainId(K)),optionalChains:l.map(K=>this.formatChainId(K)),methods:v,events:_,optionalMethods:S,optionalEvents:D,rpcMap:H,showQrModal:!!(i!=null&&i.showQrModal),qrModalOptions:B,projectId:i.projectId,metadata:i.metadata}}buildRpcMap(i,r){const n={};return i.forEach(o=>{n[o]=this.getRpcUrl(o,r)}),n}async initialize(i){if(this.rpc=this.getRpcConfig(i),this.chainId=this.rpc.chains.length?go(this.rpc.chains):go(this.rpc.optionalChains),this.signer=await xE.init({projectId:this.rpc.projectId,metadata:this.rpc.metadata,disableProviderPing:i.disableProviderPing,relayUrl:i.relayUrl,storageOptions:i.storageOptions}),this.registerEventListeners(),await this.loadPersistedSession(),this.rpc.showQrModal){let r;try{const{WalletConnectModal:n}=await G1(()=>import("./index-fb581b18.js").then(o=>o.i),["./index-fb581b18.js","./index-47c29602.js","./index-a0525cbb.css"],import.meta.url);r=n}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(r)try{this.modal=new r(Ws({walletConnectVersion:2,projectId:this.rpc.projectId,standaloneChains:this.rpc.chains},this.rpc.qrModalOptions))}catch(n){throw this.signer.logger.error(n),new Error("Could not generate WalletConnectModal Instance")}}}loadConnectOpts(i){if(!i)return;const{chains:r,optionalChains:n,rpcMap:o}=i;r&&gs(r)&&(this.rpc.chains=r.map(l=>this.formatChainId(l)),r.forEach(l=>{this.rpc.rpcMap[l]=(o==null?void 0:o[l])||this.getRpcUrl(l)})),n&&gs(n)&&(this.rpc.optionalChains=[],this.rpc.optionalChains=n==null?void 0:n.map(l=>this.formatChainId(l)),n.forEach(l=>{this.rpc.rpcMap[l]=(o==null?void 0:o[l])||this.getRpcUrl(l)}))}getRpcUrl(i,r){var n;return((n=this.rpc.rpcMap)==null?void 0:n[i])||`${AE}?chainId=eip155:${i}&projectId=${r||this.rpc.projectId}`}async loadPersistedSession(){if(!this.session)return;const i=await this.signer.client.core.storage.getItem(`${this.STORAGE_KEY}/chainId`),r=this.session.namespaces[`${this.namespace}:${i}`]?this.session.namespaces[`${this.namespace}:${i}`]:this.session.namespaces[this.namespace];this.setChainIds(i?[this.formatChainId(i)]:r==null?void 0:r.accounts),this.setAccounts(r==null?void 0:r.accounts)}reset(){this.chainId=1,this.accounts=[]}persist(){this.session&&this.signer.client.core.storage.setItem(`${this.STORAGE_KEY}/chainId`,this.chainId)}parseAccounts(i){return typeof i=="string"||i instanceof String?[this.parseAccount(i)]:i.map(r=>this.parseAccount(r))}}const VE=Rc;export{VE as EthereumProvider,OE as OPTIONAL_EVENTS,RE as OPTIONAL_METHODS,gc as REQUIRED_EVENTS,dc as REQUIRED_METHODS,Rc as default}; +}`;var be=Ph(function(){return $e(p,te+"return "+z).apply(r,m)});if(be.source=z,$a(be))throw be;return be}function p0(e){return qe(e).toLowerCase()}function d0(e){return qe(e).toUpperCase()}function g0(e,t,s){if(e=qe(e),e&&(s||t===r))return Fc(e);if(!e||!(t=fr(t)))return e;var a=Or(e),h=Or(t),p=$c(a,h),m=Lc(a,h)+1;return mi(a,p,m).join("")}function y0(e,t,s){if(e=qe(e),e&&(s||t===r))return e.slice(0,Mc(e)+1);if(!e||!(t=fr(t)))return e;var a=Or(e),h=Lc(a,Or(t))+1;return mi(a,0,h).join("")}function v0(e,t,s){if(e=qe(e),e&&(s||t===r))return e.replace(gt,"");if(!e||!(t=fr(t)))return e;var a=Or(e),h=$c(a,Or(t));return mi(a,h).join("")}function m0(e,t){var s=re,a=ue;if(ut(t)){var h="separator"in t?t.separator:h;s="length"in t?we(t.length):s,a="omission"in t?fr(t.omission):a}e=qe(e);var p=e.length;if(Xi(e)){var m=Or(e);p=m.length}if(s>=p)return e;var w=s-Zi(a);if(w<1)return a;var P=m?mi(m,0,w).join(""):e.slice(0,w);if(h===r)return P+a;if(m&&(w+=P.length-w),La(h)){if(e.slice(w).search(h)){var F,$=P;for(h.global||(h=Xo(h.source,qe(yr.exec(h))+"g")),h.lastIndex=0;F=h.exec($);)var z=F.index;P=P.slice(0,z===r?w:z)}}else if(e.indexOf(fr(h),w)!=w){var J=P.lastIndexOf(h);J>-1&&(P=P.slice(0,J))}return P+a}function w0(e){return e=qe(e),e&<.test(e)?e.replace(ui,Wf):e}var _0=os(function(e,t,s){return e+(s?" ":"")+t.toUpperCase()}),ja=Su("toUpperCase");function Ih(e,t,s){return e=qe(e),t=s?r:t,t===r?kf(e)?Yf(e):Ff(e):e.match(t)||[]}var Ph=Ie(function(e,t){try{return Mt(e,r,t)}catch(s){return $a(s)?s:new de(s)}}),b0=Yr(function(e,t){return mr(t,function(s){s=Hr(s),Jr(e,s,Da(e[s],e))}),e});function E0(e){var t=e==null?0:e.length,s=ne();return e=t?st(e,function(a){if(typeof a[1]!="function")throw new wr(d);return[s(a[0]),a[1]]}):[],Ie(function(a){for(var h=-1;++hk)return[];var s=V,a=Bt(e,V);t=ne(t),e-=V;for(var h=Jo(a,t);++s0||t<0)?new Ae(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),t!==r&&(t=we(t),s=t<0?s.dropRight(-t):s.take(t-e)),s)},Ae.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ae.prototype.toArray=function(){return this.take(V)},zr(Ae.prototype,function(e,t){var s=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),h=f[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);h&&(f.prototype[t]=function(){var m=this.__wrapped__,w=a?[1]:arguments,P=m instanceof Ae,F=w[0],$=P||me(m),z=function(Pe){var Oe=h.apply(f,fi([Pe],w));return a&&J?Oe[0]:Oe};$&&s&&typeof F=="function"&&F.length!=1&&(P=$=!1);var J=this.__chain__,te=!!this.__actions__.length,oe=p&&!J,be=P&&!te;if(!p&&$){m=be?m:new Ae(this);var ae=e.apply(m,w);return ae.__actions__.push({func:Yn,args:[z],thisArg:r}),new _r(ae,J)}return oe&&be?e.apply(this,w):(ae=this.thru(z),oe?a?ae.value()[0]:ae.value():ae)})}),mr(["pop","push","shift","sort","splice","unshift"],function(e){var t=xn[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var h=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(me(p)?p:[],h)}return this[s](function(m){return t.apply(me(m)?m:[],h)})}}),zr(Ae.prototype,function(e,t){var s=f[t];if(s){var a=s.name+"";je.call(is,a)||(is[a]=[]),is[a].push({name:t,func:s})}}),is[Bn(r,Ee).name]=[{name:"wrapper",func:r}],Ae.prototype.clone=wp,Ae.prototype.reverse=_p,Ae.prototype.value=bp,f.prototype.at=Qg,f.prototype.chain=Yg,f.prototype.commit=Xg,f.prototype.next=Zg,f.prototype.plant=ty,f.prototype.reverse=ry,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=iy,f.prototype.first=f.prototype.head,Es&&(f.prototype[Es]=ey),f},es=Xf();_t?((_t.exports=es)._=es,Ge._=es):Re._=es}).call(Vs)})(pc,pc.exports);var eE=Object.defineProperty,tE=Object.defineProperties,rE=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,iE=Object.prototype.hasOwnProperty,sE=Object.prototype.propertyIsEnumerable,Cl=(u,i,r)=>i in u?eE(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,ao=(u,i)=>{for(var r in i||(i={}))iE.call(i,r)&&Cl(u,r,i[r]);if(Ol)for(var r of Ol(i))sE.call(i,r)&&Cl(u,r,i[r]);return u},nE=(u,i)=>tE(u,rE(i));function xi(u,i,r){var n;const o=V1(u);return((n=i.rpcMap)==null?void 0:n[o.reference])||`${Zb}?chainId=${o.namespace}:${o.reference}&projectId=${r}`}function ki(u){return u.includes(":")?u.split(":")[1]:u}function Af(u){return u.map(i=>`${i.split(":")[0]}:${i.split(":")[1]}`)}function oE(u,i){const r=Object.keys(i.namespaces).filter(o=>o.includes(u));if(!r.length)return[];const n=[];return r.forEach(o=>{const l=i.namespaces[o].accounts;n.push(...l)}),n}function aE(u={},i={}){const r=Tl(u),n=Tl(i);return pc.exports.merge(r,n)}function Tl(u){var i,r,n,o;const l={};if(!ho(u))return l;for(const[d,v]of Object.entries(u)){const _=Vl(d)?[d]:v.chains,S=v.methods||[],D=v.events||[],H=v.rpcMap||{},B=Ks(d);l[B]=nE(ao(ao({},l[B]),v),{chains:Ga(_,(i=l[B])==null?void 0:i.chains),methods:Ga(S,(r=l[B])==null?void 0:r.methods),events:Ga(D,(n=l[B])==null?void 0:n.events),rpcMap:ao(ao({},H),(o=l[B])==null?void 0:o.rpcMap)})}return l}function cE(u){return u.includes(":")?u.split(":")[2]:u}function uE(u){const i={};for(const[r,n]of Object.entries(u)){const o=n.methods||[],l=n.events||[],d=n.accounts||[],v=Vl(r)?[r]:n.chains?n.chains:Af(n.accounts);i[r]={chains:v,methods:o,events:l,accounts:d}}return i}function sc(u){return typeof u=="number"?u:u.includes("0x")?parseInt(u,16):u.includes(":")?Number(u.split(":")[1]):Number(u)}const Rf={},nt=u=>Rf[u],nc=(u,i)=>{Rf[u]=i};class hE{constructor(i){this.name="polkadot",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getAccounts(){const i=this.namespace.accounts;return i?i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2])||[]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class lE{constructor(i){this.name="eip155",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.httpProviders=this.createHttpProviders(),this.chainId=parseInt(this.getDefaultChain())}async request(i){switch(i.request.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"wallet_switchEthereumChain":return await this.handleSwitchChain(i);case"eth_chainId":return parseInt(this.getDefaultChain())}return this.namespace.methods.includes(i.request.method)?await this.client.request(i):this.getHttpProvider().request(i.request)}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(parseInt(i),r),this.chainId=parseInt(i),this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}createHttpProvider(i,r){const n=r||xi(`${this.name}:${i}`,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=parseInt(ki(r));i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}getHttpProvider(){const i=this.chainId,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}async handleSwitchChain(i){var r,n;let o=i.request.params?(r=i.request.params[0])==null?void 0:r.chainId:"0x0";o=o.startsWith("0x")?o:`0x${o}`;const l=parseInt(o,16);if(this.isChainApproved(l))this.setDefaultChain(`${l}`);else if(this.namespace.methods.includes("wallet_switchEthereumChain"))await this.client.request({topic:i.topic,request:{method:i.request.method,params:[{chainId:o}]},chainId:(n=this.namespace.chains)==null?void 0:n[0]}),this.setDefaultChain(`${l}`);else throw new Error(`Failed to switch to chain 'eip155:${l}'. The chain is not approved or the wallet does not support 'wallet_switchEthereumChain' method.`);return null}isChainApproved(i){return this.namespace.chains.includes(`${this.name}:${i}`)}}class fE{constructor(i){this.name="solana",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class pE{constructor(i){this.name="cosmos",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class dE{constructor(i){this.name="cip34",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{const n=this.getCardanoRPCUrl(r),o=ki(r);i[o]=this.createHttpProvider(o,n)}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}getCardanoRPCUrl(i){const r=this.namespace.rpcMap;if(r)return r[i]}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||this.getCardanoRPCUrl(i);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class gE{constructor(i){this.name="elrond",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class yE{constructor(i){this.name="multiversx",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){this.httpProviders[i]||this.setHttpProvider(i,r),this.chainId=i,this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${i}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}getAccounts(){const i=this.namespace.accounts;return i?[...new Set(i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2]))]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;const o=ki(r);i[o]=this.createHttpProvider(o,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace,this.client.core.projectId);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);return new ai(new Pi(n,nt("disableProviderPing")))}}class vE{constructor(i){this.name="near",this.namespace=i.namespace,this.events=nt("events"),this.client=nt("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(i){this.namespace=Object.assign(this.namespace,i)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;const i=this.namespace.chains[0];if(!i)throw new Error("ChainId not found");return i.split(":")[1]}request(i){return this.namespace.methods.includes(i.request.method)?this.client.request(i):this.getHttpProvider().request(i.request)}setDefaultChain(i,r){if(this.chainId=i,!this.httpProviders[i]){const n=r||xi(`${this.name}:${i}`,this.namespace);if(!n)throw new Error(`No RPC url provided for chainId: ${i}`);this.setHttpProvider(i,n)}this.events.emit(ci.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){const i=this.namespace.accounts;return i?i.filter(r=>r.split(":")[1]===this.chainId.toString()).map(r=>r.split(":")[2])||[]:[]}createHttpProviders(){const i={};return this.namespace.chains.forEach(r=>{var n;i[r]=this.createHttpProvider(r,(n=this.namespace.rpcMap)==null?void 0:n[r])}),i}getHttpProvider(){const i=`${this.name}:${this.chainId}`,r=this.httpProviders[i];if(typeof r>"u")throw new Error(`JSON-RPC provider for ${i} not found`);return r}setHttpProvider(i,r){const n=this.createHttpProvider(i,r);n&&(this.httpProviders[i]=n)}createHttpProvider(i,r){const n=r||xi(i,this.namespace);return typeof n>"u"?void 0:new ai(new Pi(n,nt("disableProviderPing")))}}var mE=Object.defineProperty,wE=Object.defineProperties,_E=Object.getOwnPropertyDescriptors,Nl=Object.getOwnPropertySymbols,bE=Object.prototype.hasOwnProperty,EE=Object.prototype.propertyIsEnumerable,Dl=(u,i,r)=>i in u?mE(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,co=(u,i)=>{for(var r in i||(i={}))bE.call(i,r)&&Dl(u,r,i[r]);if(Nl)for(var r of Nl(i))EE.call(i,r)&&Dl(u,r,i[r]);return u},oc=(u,i)=>wE(u,_E(i));class Ac{constructor(i){this.events=new vc,this.rpcProviders={},this.shouldAbortPairingAttempt=!1,this.maxPairingAttempts=10,this.disableProviderPing=!1,this.providerOpts=i,this.logger=typeof(i==null?void 0:i.logger)<"u"&&typeof(i==null?void 0:i.logger)!="string"?i.logger:Ce.pino(Ce.getDefaultLoggerOptions({level:(i==null?void 0:i.logger)||Al})),this.disableProviderPing=(i==null?void 0:i.disableProviderPing)||!1}static async init(i){const r=new Ac(i);return await r.initialize(),r}async request(i,r){const[n,o]=this.validateChain(r);if(!this.session)throw new Error("Please call connect() before request()");return await this.getProvider(n).request({request:co({},i),chainId:`${n}:${o}`,topic:this.session.topic})}sendAsync(i,r,n){this.request(i,n).then(o=>r(null,o)).catch(o=>r(o,void 0))}async enable(){if(!this.client)throw new Error("Sign Client not initialized");return this.session||await this.connect({namespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties}),await this.requestAccounts()}async disconnect(){var i;if(!this.session)throw new Error("Please call connect() before enable()");await this.client.disconnect({topic:(i=this.session)==null?void 0:i.topic,reason:er("USER_DISCONNECTED")}),await this.cleanup()}async connect(i){if(!this.client)throw new Error("Sign Client not initialized");if(this.setNamespaces(i),await this.cleanupPendingPairings(),!i.skipPairing)return await this.pair(i.pairingTopic)}on(i,r){this.events.on(i,r)}once(i,r){this.events.once(i,r)}removeListener(i,r){this.events.removeListener(i,r)}off(i,r){this.events.off(i,r)}get isWalletConnect(){return!0}async pair(i){this.shouldAbortPairingAttempt=!1;let r=0;do{if(this.shouldAbortPairingAttempt)throw new Error("Pairing aborted");if(r>=this.maxPairingAttempts)throw new Error("Max auto pairing attempts reached");const{uri:n,approval:o}=await this.client.connect({pairingTopic:i,requiredNamespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties});n&&(this.uri=n,this.events.emit("display_uri",n)),await o().then(l=>{this.session=l,this.namespaces||(this.namespaces=uE(l.namespaces),this.persist("namespaces",this.namespaces))}).catch(l=>{if(l.message!==Pf)throw l;r++})}while(!this.session);return this.onConnect(),this.session}setDefaultChain(i,r){try{if(!this.session)return;const[n,o]=this.validateChain(i);this.getProvider(n).setDefaultChain(o,r)}catch(n){if(!/Please call connect/.test(n.message))throw n}}async cleanupPendingPairings(i={}){this.logger.info("Cleaning up inactive pairings...");const r=this.client.pairing.getAll();if(gs(r)){for(const n of r)i.deletePairings?this.client.core.expirer.set(n.topic,0):await this.client.core.relayer.subscriber.unsubscribe(n.topic);this.logger.info(`Inactive pairings cleared: ${r.length}`)}}abortPairingAttempt(){this.shouldAbortPairingAttempt=!0}async checkStorage(){if(this.namespaces=await this.getFromStore("namespaces"),this.optionalNamespaces=await this.getFromStore("optionalNamespaces")||{},this.client.session.length){const i=this.client.session.keys.length-1;this.session=this.client.session.get(this.client.session.keys[i]),this.createProviders()}}async initialize(){this.logger.trace("Initialized"),await this.createClient(),await this.checkStorage(),this.registerEventListeners()}async createClient(){this.client=this.providerOpts.client||await Kb.init({logger:this.providerOpts.logger||Al,relayUrl:this.providerOpts.relayUrl||Qb,projectId:this.providerOpts.projectId,metadata:this.providerOpts.metadata,storageOptions:this.providerOpts.storageOptions,storage:this.providerOpts.storage,name:this.providerOpts.name}),this.logger.trace("SignClient Initialized")}createProviders(){if(!this.client)throw new Error("Sign Client not initialized");if(!this.session)throw new Error("Session not initialized. Please call connect() before enable()");const i=[...new Set(Object.keys(this.session.namespaces).map(r=>Ks(r)))];nc("client",this.client),nc("events",this.events),nc("disableProviderPing",this.disableProviderPing),i.forEach(r=>{if(!this.session)return;const n=oE(r,this.session),o=Af(n),l=aE(this.namespaces,this.optionalNamespaces),d=oc(co({},l[r]),{accounts:n,chains:o});switch(r){case"eip155":this.rpcProviders[r]=new lE({namespace:d});break;case"solana":this.rpcProviders[r]=new fE({namespace:d});break;case"cosmos":this.rpcProviders[r]=new pE({namespace:d});break;case"polkadot":this.rpcProviders[r]=new hE({namespace:d});break;case"cip34":this.rpcProviders[r]=new dE({namespace:d});break;case"elrond":this.rpcProviders[r]=new gE({namespace:d});break;case"multiversx":this.rpcProviders[r]=new yE({namespace:d});break;case"near":this.rpcProviders[r]=new vE({namespace:d});break}})}registerEventListeners(){if(typeof this.client>"u")throw new Error("Sign Client is not initialized");this.client.on("session_ping",i=>{this.events.emit("session_ping",i)}),this.client.on("session_event",i=>{const{params:r}=i,{event:n}=r;if(n.name==="accountsChanged"){const o=n.data;o&&gs(o)&&this.events.emit("accountsChanged",o.map(cE))}else if(n.name==="chainChanged"){const o=r.chainId,l=r.event.data,d=Ks(o),v=sc(o)!==sc(l)?`${d}:${sc(l)}`:o;this.onChainChanged(v)}else this.events.emit(n.name,n.data);this.events.emit("session_event",i)}),this.client.on("session_update",({topic:i,params:r})=>{var n;const{namespaces:o}=r,l=(n=this.client)==null?void 0:n.session.get(i);this.session=oc(co({},l),{namespaces:o}),this.onSessionUpdate(),this.events.emit("session_update",{topic:i,params:r})}),this.client.on("session_delete",async i=>{await this.cleanup(),this.events.emit("session_delete",i),this.events.emit("disconnect",oc(co({},er("USER_DISCONNECTED")),{data:i.topic}))}),this.on(ci.DEFAULT_CHAIN_CHANGED,i=>{this.onChainChanged(i,!0)})}getProvider(i){if(!this.rpcProviders[i])throw new Error(`Provider not found: ${i}`);return this.rpcProviders[i]}onSessionUpdate(){Object.keys(this.rpcProviders).forEach(i=>{var r;this.getProvider(i).updateNamespace((r=this.session)==null?void 0:r.namespaces[i])})}setNamespaces(i){const{namespaces:r,optionalNamespaces:n,sessionProperties:o}=i;r&&Object.keys(r).length&&(this.namespaces=r),n&&Object.keys(n).length&&(this.optionalNamespaces=n),this.sessionProperties=o,this.persist("namespaces",r),this.persist("optionalNamespaces",n)}validateChain(i){const[r,n]=(i==null?void 0:i.split(":"))||["",""];if(!this.namespaces||!Object.keys(this.namespaces).length)return[r,n];if(r&&!Object.keys(this.namespaces||{}).map(d=>Ks(d)).includes(r))throw new Error(`Namespace '${r}' is not configured. Please call connect() first with namespace config.`);if(r&&n)return[r,n];const o=Ks(Object.keys(this.namespaces)[0]),l=this.rpcProviders[o].getDefaultChain();return[o,l]}async requestAccounts(){const[i]=this.validateChain();return await this.getProvider(i).requestAccounts()}onChainChanged(i,r=!1){var n;if(!this.namespaces)return;const[o,l]=this.validateChain(i);r||this.getProvider(o).setDefaultChain(l),((n=this.namespaces[o])!=null?n:this.namespaces[`${o}:${l}`]).defaultChain=l,this.persist("namespaces",this.namespaces),this.events.emit("chainChanged",l)}onConnect(){this.createProviders(),this.events.emit("connect",{session:this.session})}async cleanup(){this.session=void 0,this.namespaces=void 0,this.optionalNamespaces=void 0,this.sessionProperties=void 0,this.persist("namespaces",void 0),this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),await this.cleanupPendingPairings({deletePairings:!0})}persist(i,r){this.client.core.storage.setItem(`${Rl}/${i}`,r)}async getFromStore(i){return await this.client.core.storage.getItem(`${Rl}/${i}`)}}const xE=Ac,IE="wc",PE="ethereum_provider",SE=`${IE}@2:${PE}:`,AE="https://rpc.walletconnect.com/v1/",dc=["eth_sendTransaction","personal_sign"],RE=["eth_accounts","eth_requestAccounts","eth_sendRawTransaction","eth_sign","eth_signTransaction","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","eth_sendTransaction","personal_sign","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"],gc=["chainChanged","accountsChanged"],OE=["chainChanged","accountsChanged","message","disconnect","connect"];var CE=Object.defineProperty,TE=Object.defineProperties,NE=Object.getOwnPropertyDescriptors,Fl=Object.getOwnPropertySymbols,DE=Object.prototype.hasOwnProperty,FE=Object.prototype.propertyIsEnumerable,$l=(u,i,r)=>i in u?CE(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,Ws=(u,i)=>{for(var r in i||(i={}))DE.call(i,r)&&$l(u,r,i[r]);if(Fl)for(var r of Fl(i))FE.call(i,r)&&$l(u,r,i[r]);return u},Ll=(u,i)=>TE(u,NE(i));function go(u){return Number(u[0].split(":")[1])}function ac(u){return`0x${u.toString(16)}`}function $E(u){const{chains:i,optionalChains:r,methods:n,optionalMethods:o,events:l,optionalEvents:d,rpcMap:v}=u;if(!gs(i))throw new Error("Invalid chains");const _={chains:i,methods:n||dc,events:l||gc,rpcMap:Ws({},i.length?{[go(i)]:v[go(i)]}:{})},S=l==null?void 0:l.filter(K=>!gc.includes(K)),D=n==null?void 0:n.filter(K=>!dc.includes(K));if(!r&&!d&&!o&&!(S!=null&&S.length)&&!(D!=null&&D.length))return{required:i.length?_:void 0};const H=(S==null?void 0:S.length)&&(D==null?void 0:D.length)||!r,B={chains:[...new Set(H?_.chains.concat(r||[]):r)],methods:[...new Set(_.methods.concat(o!=null&&o.length?o:RE))],events:[...new Set(_.events.concat(d!=null&&d.length?d:OE))],rpcMap:v};return{required:i.length?_:void 0,optional:r.length?B:void 0}}class Rc{constructor(){this.events=new Sr.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=SE,this.on=(i,r)=>(this.events.on(i,r),this),this.once=(i,r)=>(this.events.once(i,r),this),this.removeListener=(i,r)=>(this.events.removeListener(i,r),this),this.off=(i,r)=>(this.events.off(i,r),this),this.parseAccount=i=>this.isCompatibleChainId(i)?this.parseAccountId(i).address:i,this.signer={},this.rpc={}}static async init(i){const r=new Rc;return await r.initialize(i),r}async request(i){return await this.signer.request(i,this.formatChainId(this.chainId))}sendAsync(i,r){this.signer.sendAsync(i,r,this.formatChainId(this.chainId))}get connected(){return this.signer.client?this.signer.client.core.relayer.connected:!1}get connecting(){return this.signer.client?this.signer.client.core.relayer.connecting:!1}async enable(){return this.session||await this.connect(),await this.request({method:"eth_requestAccounts"})}async connect(i){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts(i);const{required:r,optional:n}=$E(this.rpc);try{const o=await new Promise(async(d,v)=>{var _;this.rpc.showQrModal&&((_=this.modal)==null||_.subscribeModal(S=>{!S.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),v(new Error("Connection request reset. Please try again.")))})),await this.signer.connect(Ll(Ws({namespaces:Ws({},r&&{[this.namespace]:r})},n&&{optionalNamespaces:{[this.namespace]:n}}),{pairingTopic:i==null?void 0:i.pairingTopic})).then(S=>{d(S)}).catch(S=>{v(new Error(S.message))})});if(!o)return;const l=K1(o.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:l),this.setAccounts(l),this.events.emit("connect",{chainId:ac(this.chainId)})}catch(o){throw this.signer.logger.error(o),o}finally{this.modal&&this.modal.closeModal()}}async disconnect(){this.session&&await this.signer.disconnect(),this.reset()}get isWalletConnect(){return!0}get session(){return this.signer.session}registerEventListeners(){this.signer.on("session_event",i=>{const{params:r}=i,{event:n}=r;n.name==="accountsChanged"?(this.accounts=this.parseAccounts(n.data),this.events.emit("accountsChanged",this.accounts)):n.name==="chainChanged"?this.setChainId(this.formatChainId(n.data)):this.events.emit(n.name,n.data),this.events.emit("session_event",i)}),this.signer.on("chainChanged",i=>{const r=parseInt(i);this.chainId=r,this.events.emit("chainChanged",ac(this.chainId)),this.persist()}),this.signer.on("session_update",i=>{this.events.emit("session_update",i)}),this.signer.on("session_delete",i=>{this.reset(),this.events.emit("session_delete",i),this.events.emit("disconnect",Ll(Ws({},er("USER_DISCONNECTED")),{data:i.topic,name:"USER_DISCONNECTED"}))}),this.signer.on("display_uri",i=>{var r,n;this.rpc.showQrModal&&((r=this.modal)==null||r.closeModal(),(n=this.modal)==null||n.openModal({uri:i})),this.events.emit("display_uri",i)})}switchEthereumChain(i){this.request({method:"wallet_switchEthereumChain",params:[{chainId:i.toString(16)}]})}isCompatibleChainId(i){return typeof i=="string"?i.startsWith(`${this.namespace}:`):!1}formatChainId(i){return`${this.namespace}:${i}`}parseChainId(i){return Number(i.split(":")[1])}setChainIds(i){const r=i.filter(n=>this.isCompatibleChainId(n)).map(n=>this.parseChainId(n));r.length&&(this.chainId=r[0],this.events.emit("chainChanged",ac(this.chainId)),this.persist())}setChainId(i){if(this.isCompatibleChainId(i)){const r=this.parseChainId(i);this.chainId=r,this.switchEthereumChain(r)}}parseAccountId(i){const[r,n,o]=i.split(":");return{chainId:`${r}:${n}`,address:o}}setAccounts(i){this.accounts=i.filter(r=>this.parseChainId(this.parseAccountId(r).chainId)===this.chainId).map(r=>this.parseAccountId(r).address),this.events.emit("accountsChanged",this.accounts)}getRpcConfig(i){var r,n;const o=(r=i==null?void 0:i.chains)!=null?r:[],l=(n=i==null?void 0:i.optionalChains)!=null?n:[],d=o.concat(l);if(!d.length)throw new Error("No chains specified in either `chains` or `optionalChains`");const v=o.length?(i==null?void 0:i.methods)||dc:[],_=o.length?(i==null?void 0:i.events)||gc:[],S=(i==null?void 0:i.optionalMethods)||[],D=(i==null?void 0:i.optionalEvents)||[],H=(i==null?void 0:i.rpcMap)||this.buildRpcMap(d,i.projectId),B=(i==null?void 0:i.qrModalOptions)||void 0;return{chains:o==null?void 0:o.map(K=>this.formatChainId(K)),optionalChains:l.map(K=>this.formatChainId(K)),methods:v,events:_,optionalMethods:S,optionalEvents:D,rpcMap:H,showQrModal:!!(i!=null&&i.showQrModal),qrModalOptions:B,projectId:i.projectId,metadata:i.metadata}}buildRpcMap(i,r){const n={};return i.forEach(o=>{n[o]=this.getRpcUrl(o,r)}),n}async initialize(i){if(this.rpc=this.getRpcConfig(i),this.chainId=this.rpc.chains.length?go(this.rpc.chains):go(this.rpc.optionalChains),this.signer=await xE.init({projectId:this.rpc.projectId,metadata:this.rpc.metadata,disableProviderPing:i.disableProviderPing,relayUrl:i.relayUrl,storageOptions:i.storageOptions}),this.registerEventListeners(),await this.loadPersistedSession(),this.rpc.showQrModal){let r;try{const{WalletConnectModal:n}=await G1(()=>import("./index-c7085530.js").then(o=>o.i),["./index-c7085530.js","./index-183d29bc.js","./index-a0525cbb.css"],import.meta.url);r=n}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(r)try{this.modal=new r(Ws({walletConnectVersion:2,projectId:this.rpc.projectId,standaloneChains:this.rpc.chains},this.rpc.qrModalOptions))}catch(n){throw this.signer.logger.error(n),new Error("Could not generate WalletConnectModal Instance")}}}loadConnectOpts(i){if(!i)return;const{chains:r,optionalChains:n,rpcMap:o}=i;r&&gs(r)&&(this.rpc.chains=r.map(l=>this.formatChainId(l)),r.forEach(l=>{this.rpc.rpcMap[l]=(o==null?void 0:o[l])||this.getRpcUrl(l)})),n&&gs(n)&&(this.rpc.optionalChains=[],this.rpc.optionalChains=n==null?void 0:n.map(l=>this.formatChainId(l)),n.forEach(l=>{this.rpc.rpcMap[l]=(o==null?void 0:o[l])||this.getRpcUrl(l)}))}getRpcUrl(i,r){var n;return((n=this.rpc.rpcMap)==null?void 0:n[i])||`${AE}?chainId=eip155:${i}&projectId=${r||this.rpc.projectId}`}async loadPersistedSession(){if(!this.session)return;const i=await this.signer.client.core.storage.getItem(`${this.STORAGE_KEY}/chainId`),r=this.session.namespaces[`${this.namespace}:${i}`]?this.session.namespaces[`${this.namespace}:${i}`]:this.session.namespaces[this.namespace];this.setChainIds(i?[this.formatChainId(i)]:r==null?void 0:r.accounts),this.setAccounts(r==null?void 0:r.accounts)}reset(){this.chainId=1,this.accounts=[]}persist(){this.session&&this.signer.client.core.storage.setItem(`${this.STORAGE_KEY}/chainId`,this.chainId)}parseAccounts(i){return typeof i=="string"||i instanceof String?[this.parseAccount(i)]:i.map(r=>this.parseAccount(r))}}const VE=Rc;export{VE as EthereumProvider,OE as OPTIONAL_EVENTS,RE as OPTIONAL_METHODS,gc as REQUIRED_EVENTS,dc as REQUIRED_METHODS,Rc as default}; diff --git a/index.html b/index.html index 545a3bf2..806a0c89 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ WalletKit - +