1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6636],{270:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(27493),i=n(54335),o=n(1405),a=n(59742),s=n(70030),c=n(77136);function l(e){return"number"==typeof e?e:"wei"===e?0:Math.abs(c.pj[e])}var u=n(35109),d=n(6083);async function f(e,t){let{allowFailure:n=!0,chainId:r,contracts:i,...o}=t,a=e.getClient({chainId:r});return(0,s.T)(a,d.C,"multicall")({allowFailure:n,contracts:i,...o})}var p=n(3488);async function h(e,t){let{allowFailure:n=!0,blockNumber:r,blockTag:i,...o}=t,a=t.contracts;try{let t={};for(let[n,r]of a.entries()){let i=r.chainId??e.state.chainId;t[i]||(t[i]=[]),t[i]?.push({contract:r,index:n})}let s=(await Promise.all(Object.entries(t).map(([t,a])=>f(e,{...o,allowFailure:n,blockNumber:r,blockTag:i,chainId:Number.parseInt(t),contracts:a.map(({contract:e})=>e)})))).flat(),c=Object.values(t).flatMap(e=>e.map(({index:e})=>e));return s.reduce((e,t,n)=>(e&&(e[c[n]]=t),e),[])}catch(o){if(o instanceof u.bG)throw o;let t=()=>a.map(t=>(function(e,t){let{chainId:n,...r}=t,i=e.getClient({chainId:n});return(0,s.T)(i,p.J,"readContract")(r)})(e,{...t,blockNumber:r,blockTag:i}));if(n)return(await Promise.allSettled(t())).map(e=>"fulfilled"===e.status?{result:e.value,status:"success"}:{error:e.reason,result:void 0,status:"failure"});return await Promise.all(t())}}async function m(e,t){let{address:n,blockNumber:c,blockTag:u,chainId:d,token:f,unit:p="ether"}=t;if(f)try{return await b(e,{balanceAddress:n,chainId:d,symbolType:"string",tokenAddress:f})}catch(t){if("ContractFunctionExecutionError"===t.name){let t=await b(e,{balanceAddress:n,chainId:d,symbolType:"bytes32",tokenAddress:f}),o=(0,r.IQ)((0,i.B)(t.symbol,{dir:"right"}));return{...t,symbol:o}}throw t}let h=e.getClient({chainId:d}),m=(0,s.T)(h,a.r,"getBalance"),g=await m(c?{address:n,blockNumber:c}:{address:n,blockTag:u}),y=e.chains.find(e=>e.id===d)??h.chain;return{decimals:y.nativeCurrency.decimals,formatted:(0,o.J)(g,l(p)),symbol:y.nativeCurrency.symbol,value:g}}async function b(e,t){let{balanceAddress:n,chainId:r,symbolType:i,tokenAddress:a,unit:s}=t,c={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:i}]}],address:a},[u,d,f]=await h(e,{allowFailure:!1,contracts:[{...c,functionName:"balanceOf",args:[n],chainId:r},{...c,functionName:"decimals",chainId:r},{...c,functionName:"symbol",chainId:r}]}),p=(0,o.J)(u??"0",l(s??d));return{decimals:d,formatted:p,symbol:f,value:u}}var g=n(62108),y=n(43484),w=n(18224),v=n(53031);function A(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:i={}}=n,o=(0,v.U)(n),a=(0,w.i)({config:o}),s=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:r,...i}=t[1];if(!n)throw Error("address is required");return await m(e,{...i,address:n})??null},queryKey:function(e={}){return["balance",(0,g.xO)(e)]}(t)}}(o,{...n,chainId:null!=(e=n.chainId)?e:a}),c=!!(r&&(null==(t=i.enabled)||t));return(0,y.IT)({...i,...s,enabled:c})}},399:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});let r=n(49204).k},575:(e,t,n)=>{"use strict";function r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:()=>r})},645:(e,t,n)=>{let r=n(46087).getSymbolSize;t.getPositions=function(e){let t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},1125:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(91208);function i(e){return function(t){if((0,r.T)(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}},1405:(e,t,n)=>{"use strict";function r(e,t){let n=e.toString(),r=n.startsWith("-");r&&(n=n.slice(1));let[i,o]=[(n=n.padStart(t,"0")).slice(0,n.length-t),n.slice(n.length-t)];return o=o.replace(/(0+)$/,""),`${r?"-":""}${i||"0"}${o?`.${o}`:""}`}n.d(t,{J:()=>r})},1607:(e,t,n)=>{"use strict";n.d(t,{b:()=>d});var r=n(35883),i=n(81379),o=n(78519),a=n(42142),s=n(67622),c=n(77752),l=n(90113),u=n(9894);function d(e={}){let t,n,h,m,{shimDisconnect:b=!0,unstable_shimAsyncInject:g}=e;function y(){let t=e.target;if("function"==typeof t){let e=t();if(e)return e}return"object"==typeof t?t:"string"==typeof t?{...f[t]??{id:t,name:`${t[0].toUpperCase()}${t.slice(1)}`,provider:`is${t[0].toUpperCase()}${t.slice(1)}`}}:{id:"injected",name:"Injected",provider:e=>e?.ethereum}}return(0,u.U)(u=>({get icon(){return y().icon},get id(){return y().id},get name(){return y().name},get supportsSimulation(){return!0},type:d.type,async setup(){let n=await this.getProvider();n?.on&&e.target&&(h||(h=this.onConnect.bind(this),n.on("connect",h)),t||(t=this.onAccountsChanged.bind(this),n.on("accountsChanged",t)))},async connect({chainId:o,isReconnecting:a}={}){let s=await this.getProvider();if(!s)throw new l.N;let c=[];if(a)c=await this.getAccounts().catch(()=>[]);else if(b)try{let e=await s.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]});(c=e[0]?.caveats?.[0]?.value?.map(e=>(0,r.b)(e))).length>0&&(c=await this.getAccounts())}catch(e){if(e.code===i.vx.code)throw new i.vx(e);if(e.code===i.qZ.code)throw e}try{c?.length||a||(c=(await s.request({method:"eth_requestAccounts"})).map(e=>(0,r.b)(e))),h&&(s.removeListener("connect",h),h=void 0),t||(t=this.onAccountsChanged.bind(this),s.on("accountsChanged",t)),n||(n=this.onChainChanged.bind(this),s.on("chainChanged",n)),m||(m=this.onDisconnect.bind(this),s.on("disconnect",m));let l=await this.getChainId();if(o&&l!==o){let e=await this.switchChain({chainId:o}).catch(e=>{if(e.code===i.vx.code)throw e;return{id:l}});l=e?.id??l}return b&&await u.storage?.removeItem(`${this.id}.disconnected`),e.target||await u.storage?.setItem("injected.connected",!0),{accounts:c,chainId:l}}catch(e){if(e.code===i.vx.code)throw new i.vx(e);if(e.code===i.qZ.code)throw new i.qZ(e);throw e}},async disconnect(){let t=await this.getProvider();if(!t)throw new l.N;n&&(t.removeListener("chainChanged",n),n=void 0),m&&(t.removeListener("disconnect",m),m=void 0),h||(h=this.onConnect.bind(this),t.on("connect",h));try{await (0,o.w)(()=>t.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}b&&await u.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await u.storage?.removeItem("injected.connected")},async getAccounts(){let e=await this.getProvider();if(!e)throw new l.N;return(await e.request({method:"eth_accounts"})).map(e=>(0,r.b)(e))},async getChainId(){let e=await this.getProvider();if(!e)throw new l.N;return Number(await e.request({method:"eth_chainId"}))},async getProvider(){let e;if("undefined"==typeof window)return;let t=y();return(e="function"==typeof t.provider?t.provider(window):"string"==typeof t.provider?p(window,t.provider):t.provider)&&!e.removeListener&&("off"in e&&"function"==typeof e.off?e.removeListener=e.off:e.removeListener=()=>{}),e}
1,async isAuthorized(){try{if(b&&await u.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await u.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(void 0!==g&&!1!==g){let e=async()=>("undefined"!=typeof window&&window.removeEventListener("ethereum#initialized",e),!!await this.getProvider()),t="number"==typeof g?g:1e3;if(await Promise.race([..."undefined"!=typeof window?[new Promise(t=>window.addEventListener("ethereum#initialized",()=>t(e()),{once:!0}))]:[],new Promise(n=>setTimeout(()=>n(e()),t))]))return!0}throw new l.N}return!!(await (0,a.b)(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=await this.getProvider();if(!n)throw new l.N;let r=u.chains.find(e=>e.id===t);if(!r)throw new i.ch(new c.nk);let o=new Promise(e=>{let n=r=>{"chainId"in r&&r.chainId===t&&(u.emitter.off("change",n),e())};u.emitter.on("change",n)});try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(t)}]}).then(async()=>{await this.getChainId()===t&&u.emitter.emit("change",{chainId:t})}),o]),r}catch(a){if(4902===a.code||a?.data?.originalError?.code===4902)try{let a,c,{default:l,...d}=r.blockExplorers??{};e?.blockExplorerUrls?a=e.blockExplorerUrls:l&&(a=[l.url,...Object.values(d).map(e=>e.url)]),c=e?.rpcUrls?.length?e.rpcUrls:[r.rpcUrls.default?.http[0]??""];let f={blockExplorerUrls:a,chainId:(0,s.cK)(t),chainName:e?.chainName??r.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??r.nativeCurrency,rpcUrls:c};return await Promise.all([n.request({method:"wallet_addEthereumChain",params:[f]}).then(async()=>{if(await this.getChainId()===t)u.emitter.emit("change",{chainId:t});else throw new i.vx(Error("User rejected switch after adding network."))}),o]),r}catch(e){throw new i.vx(e)}if(a.code===i.vx.code)throw new i.vx(a);throw new i.ch(a)}},async onAccountsChanged(e){if(0===e.length)this.onDisconnect();else if(u.emitter.listenerCount("connect")){let e=(await this.getChainId()).toString();this.onConnect({chainId:e}),b&&await u.storage?.removeItem(`${this.id}.disconnected`)}else u.emitter.emit("change",{accounts:e.map(e=>(0,r.b)(e))})},onChainChanged(e){let t=Number(e);u.emitter.emit("change",{chainId:t})},async onConnect(e){let r=await this.getAccounts();if(0===r.length)return;let i=Number(e.chainId);u.emitter.emit("connect",{accounts:r,chainId:i});let o=await this.getProvider();o&&(h&&(o.removeListener("connect",h),h=void 0),t||(t=this.onAccountsChanged.bind(this),o.on("accountsChanged",t)),n||(n=this.onChainChanged.bind(this),o.on("chainChanged",n)),m||(m=this.onDisconnect.bind(this),o.on("disconnect",m)))},async onDisconnect(e){let t=await this.getProvider();e&&1013===e.code&&t&&(await this.getAccounts()).length||(u.emitter.emit("disconnect"),t&&(n&&(t.removeListener("chainChanged",n),n=void 0),m&&(t.removeListener("disconnect",m),m=void 0),h||(h=this.onConnect.bind(this),t.on("connect",h))))}}))}d.type="injected";let f={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider:e=>e?.coinbaseWalletExtension?e.coinbaseWalletExtension:p(e,"isCoinbaseWallet")},metaMask:{id:"metaMask",name:"MetaMask",provider:e=>p(e,e=>{if(!e.isMetaMask||e.isBraveWallet&&!e._events&&!e._state)return!1;for(let t of["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"])if(e[t])return!1;return!0})},phantom:{id:"phantom",name:"Phantom",provider:e=>e?.phantom?.ethereum?e.phantom?.ethereum:p(e,"isPhantom")}};function p(e,t){function n(e){return"function"==typeof t?t(e):"string"!=typeof t||e[t]}let r=e.ethereum;return r?.providers?r.providers.find(e=>n(e)):r&&n(r)?r:void 0}},2091:(e,t,n)=>{"use strict";let r,i,o,a,s,c,l,u,d,f,p,h,m,b,g,y;n.d(t,{S:()=>V});let w=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function v(e){var t;let n;return t=function(e){let t=0;function n(){return e[t++]<<8|e[t++]}let r=n(),i=1,o=[0,1];for(let e=1;e<r;e++)o.push(i+=n());let a=n(),s=t;t+=a;let c=0,l=0;function u(){return 0==c&&(l=l<<8|e[t++],c=8),l>>--c&1}let d=0x80000000-1,f=0;for(let e=0;e<31;e++)f=f<<1|u();let p=[],h=0,m=0x80000000;for(;;){let e=Math.floor(((f-h+1)*i-1)/m),t=0,n=r;for(;n-t>1;){let r=t+n>>>1;e<o[r]?n=r:t=r}if(0==t)break;p.push(t);let a=h+Math.floor(m*o[t]/i),s=h+Math.floor(m*o[t+1]/i)-1;for(;((a^s)&0x40000000)==0;)f=f<<1&d|u(),a=a<<1&d,s=s<<1&d|1;for(;a&~s&0x20000000;)f=0x40000000&f|f<<1&d>
1>>1|u(),a=a<<1^0x40000000,s=(0x40000000^s)<<1|0x40000001;h=a,m=1+s-a}let b=r-4;return p.map(t=>{switch(t-b){case 3:return b+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return b+256+(e[s++]<<8|e[s++]);case 1:return b+e[s++];default:return t-1}})}(function(e){let t=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((e,n)=>t[e.charCodeAt(0)]=n);let n=e.length,r=new Uint8Array(6*n>>3);for(let i=0,o=0,a=0,s=0;i<n;i++)s=s<<6|t[e.charCodeAt(i)],(a+=6)>=8&&(r[o++]=s>>(a-=8));return r}(e)),n=0,()=>t[n++]}function A(e,t=0){let n=[];for(;;){let r=e(),i=e();if(!i)break;t+=r;for(let e=0;e<i;e++)n.push(t+e);t+=i+1}return n}function x(e){return E(()=>{let t=A(e);if(t.length)return t})}function C(e){let t=[];for(;;){let n=e();if(0==n)break;t.push(function(e,t){let n=1+t(),r=t(),i=E(t);return B(i.length,1+e,t).flatMap((e,t)=>{let[o,...a]=e;return Array(i[t]).fill().map((e,t)=>{let i=t*r;return[o+t*n,a.map(e=>e+i)]})})}(n,e))}for(;;){var n,r;let i=e()-1;if(i<0)break;t.push((n=i,B(1+(r=e)(),1+n,r).map(e=>[e[0],e.slice(1)])))}return t.flat()}function E(e){let t=[];for(;;){let n=e(t.length);if(!n)break;t.push(n)}return t}function B(e,t,n){let r=Array(e).fill().map(()=>[]);for(let i=0;i<t;i++)(function(e,t){let n=Array(e);for(let i=0,o=0;i<e;i++){var r;n[i]=o+=1&(r=t())?~r>>1:r>>1}return n})(e,n).forEach((e,t)=>r[t].push(e));return r}function I(e){return`{${e.toString(16).toUpperCase().padStart(2,"0")}}`}function k(e){let t=e.length;if(t<4096)return String.fromCodePoint(...e);let n=[];for(let r=0;r<t;)n.push(String.fromCodePoint(...e.slice(r,r+=4096)));return n.join("")}function P(e,t){let n=e.length,r=n-t.length;for(let i=0;0==r&&i<n;i++)r=e[i]-t[i];return r}let M=55204;function S(e){return e>>24&255}function O(e){return 0xffffff&e}function T(e){return e>=44032&&e<M}function N(e){r||function(){let e=v("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");for(let[t,n]of(r=new Map(x(e).flatMap((e,t)=>e.map(e=>[e,t+1<<24]))),i=new Set(A(e)),o=new Map,a=new Map,C(e))){if(!i.has(t)&&2==n.length){let[e,r]=n,i=a.get(e);i||(i=new Map,a.set(e,i)),i.set(r,t)}o.set(t,n.reverse())}}();let t=[],n=[],s=!1;function c(e){let n=r.get(e);n&&(s=!0,e|=n),t.push(e)}for(let r of e)for(;;){if(r<128)t.push(r);else if(T(r)){let e=r-44032,t=e/588|0,n=e%588/28|0,i=e%28;c(4352+t),c(4449+n),i>0&&c(4519+i)}else{let e=o.get(r);e?n.push(...e):c(r)}if(!n.length)break;r=n.pop()}if(s&&t.length>1){let e=S(t[0]);for(let n=1;n<t.length;n++){let r=S(t[n]);if(0==r||e<=r){e=r;continue}let i=n-1;for(;;){let n=t[i+1];if(t[i+1]=t[i],t[i]=n,!i||(e=S(t[--i]))<=r)break}e=S(t[n])}}return t}function F(e){return N(e).map(O)}function R(e){return function(e){let t=[],n=[],r=-1,i=0;for(let o of e){let e=S(o),s=O(o);if(-1==r)0==e?r=s:t.push(s);else if(i>0&&i>=e)0==e?(t.push(r,...n),n.length=0,r=s):n.push(s),i=e;else{let o=function(e,t){if(e>=4352&&e<4371&&t>=4449&&t<4470)return 44032+(e-4352)*588+(t-4449)*28;{if(T(e)&&t>4519&&t<4547&&(e-44032)%28==0)return e+(t-4519);let n=a.get(e);return n&&(n=n.get(t))?n:-1}}(r,s);o>=0?r=o:0==i&&0==e?(t.push(r),r=s):(n.push(s),i=e)}}return r>=0&&t.push(r,...n),t}(N(e))}let U=e=>Array.from(e);function q(e,t){return e.P.has(t)||e.Q.has(t)}class D extends Array{get is_emoji(){return!0}}function L(){let e,t;if(s)return;let n=v("AEkU4AngDVgB0QKRAQYBOwDqATEAnwDbAIUApABsAOAAbwCRAEYAiQBPAHYAPgA+ACsANwAlAGMAHwAvACsAJQAWAC8AGwAiACIALwAUACsAEQAiAAsAGwARABcAGAA6ACkALAAsADUAFgAsABEAHQAhAA8AGwAdABUAFgAZAA0ADQAXABAAGQAUABIEqgYJAR4UFjfDBdMAsQCuPwFnAKUBA10jAK5/Ly8vLwE/pwUJ6/0HPwbkMQVXBVgAPSs5APa2EQbIwQuUCkEDyJ4zAsUKLwKOoQKG2D+Ob4kCxcsCg/IBH98JAPKtAUECLY0KP48A4wDiChUAF9S5yAwLPZ0EG3cA/QI5GL0P6wkGKekFBIFnDRsHLQCrAGmR76WcfwBbBpMjBukAGwA7DJMAWxVbqfu75wzbIM8IuykDsRQ7APcta6MAoX0YABcEJdcWAR0AuRnNBPoJIEw3CZcJiB4bVllM44NCABMADAAVAA5rVAAhAA4AR+4V2D3zOVjKleYuChAdX01YPewAEwAMABUADmsgXECXAMPrABsAOQzFABsVW6n7Adq4HB0FWwXiAtCfAsSwCkwcpGUUcxptTPUAuw1nAuEACy00iRfJkQKBewETGwC9DWcC4QALLQFIUCWRTAoDLfsFMgnXaRetAddDAEkrEncCMRYhAusnuTdrADnhAfUlAMcOy7UBG2OBALEFAAUAitNJBRvDHwcXAKgn0QGhKy0DmwBnAQoZPu03dAQYFwCqAccCIQDTKxJzOvNQsAWQOncnNUgF+icFWQVYr7gFaTtdQhI6WEGXe5NmX6H4CxMDxQcl8XcjBKNLAlNTAnUbqycBj6OlNVsDRRcEg2EJANEGqz8vIwcpAjldAGsBYR9xAIMdGQCVAUm3ACdpFwGvxQM3LSFDUwFvWQZlAmUA8UkXAykBBQBJQQCrAF0AcwArtQYH8+8ZjX8ACSEAKQCzG0cB0QHbBwsxl3iB6AAKABEANAA9ADgzd3nTwBBfEFwBTQlMbDoVCwKsD6YL5REVDNEqy9PYADSpB+sDUwfrA1MDUwfrB+sDUwfrA1MDUwNTA1McCvAa08AQXw9IBG0FjgWLBNYIgyZJEYEHKAjSVA10HhxHA0UA/CMlSRw7kzMLJUJMDE0DB/w2QmynfTgDRzGrVPWQogPLMk85bAEecRKgACoPcxw1tU5+ekdxoApLT661f0liTmcCvjqoP/gKIQmTb7t3TgY9EBcnoRDzDC8BsQE3DelL1ATtBjcExR95GRUPyZWYCKEt2QzpJt8unYBWI/EqfwXpS/A82QtJUWQPVQthCd86X4FKAx0BCSKHCtkNNQhpEO8KxWcN4RFBBzUD0UmWAKEG/QsNHTEVsSYMYqgLBTlzBvca8guLJqsTJXr4Bc8aHQZJASUa+wDLLuOFrFotXBhPWwX/CyEjwxSkUBwNIUCzeEQaFwcRJaUCjUNsSoNRMh6PIfI8OQ1iLg9ReAfxPAEZSwt9PJpGp0UKEc4+iT1EIkVMKAQxeywrJ4cJyw+BDLV8bgFVCR0JrQxtEy0REzfBCDUHFSmXICcRCB1GkWCWBPObA+8TzQMHBTsJPQcPA7EcKRMqFSUFCYEg0wLvNtEurwKLVnwBEwXHDyEf2xBMR9wO5QiXAmEDfyXnACkVHQATIpcIP18AW4/UUwEuxwjDamgjcANjFONdEW8HjQ5TB6McLxW7HN1wxF4HhgQon6sJVwFxCZUBWwTfCAU1V4ycID1nT4tUGJcgXUE7XfgCLQxhFZtEuYd0AocPZxIXATEBbwc1DP0CcxHpEWcQkQjnhgA1sTP0OiEESyF/IA0KIwNLbMoLIyb1DPRlAZ8SXgMINDl36menYLIgF/kHFTLBQVwh7QuOT8kMmBq9GD5UKhngB7sD7xrvJ+ZBUwX7A58POkkz6gS5C2UIhwk7AEUOnxMH0xhmCm2MzAEthwGzlQNTjX8Ca4sGMwcHAGMHgwV14QAZAqMInwABAMsDUwA1AqkHmQAVAIE9ATkDIysBHeECiwOPCC3HAZErAe8lBBe/DBEA8zNuRgLDrQKAZmaeBdlUAooCRTEBSSEEAUpDTQOrbd0A1wBHBg/bQwERp0bHFt8/AdtrJwDDAPcAATEHAT0ByQHvaQCzAVsLLQmer7EBSeUlAH8AEWcB0wKFANkAMQB77QFPAEkFVfUFzwJLRQENLRQnU10BtwMbAS8BCQB1BseJocUDGwRpB88CEBcV3QLvKgexAyLbE8lCwQK92lEAMhIKNAq1CrQfX/NcLwItbj1MAAofpD7DP0oFTTtPO1Q7TztUO087VDtPO1Q7TztUA5O73rve
1CmhfQWHnDKIN0ETEOkUT12BNYC4TxC2zFL0VyiVSGTkauCcBJeBVBQ8ALc9mLAgoNHEXuAA7KWSDPWOCHiwKRxzjU41U9C0XAK1LnjOrDagbEUQ8BUN16WImFgoKHgJkfQJiPldJq1c3HAKh8wJolAJmBQKfgDgXBwJmNwJmIgRqBHsDfw8Dfo45AjlzEzl+Oh8fAmwZAjIyOAYCbcMCbarrhi9jQScBYwDaAN0ARgEHlAyJAPoHvgAJsQJ3KwJ2njsCeUc/Ani2GVjXRapG0wJ8OwJ6xAJ9BQJ87AVVBRxH/Eh5XyAAJxFJVEpXERNKyALQ/QLQyEsjA4hLA4fiRMGRLgLynVz/AwOqS8pMKSHLTUhNqwKLOwKK1L0XAxk/YwGzAo4zAo5YPJN9Ao7VAo5YdFGwUzEGUtBUgQKT9wKTCADlABhVGlWrVcwCLBcpkYIy3XhiRTc1ApebAu+uWB2kAFUhApaLApZ4mAClWahaBX1JADcClrEClkpcQFzNApnHAplgXMZdAxUCnJc5vjqZApwSAp+XAp60hgAZCy0mCwKd7QKejgCxOWEwYesCns8CoGoBpQKemxsCnkqhY8RkIyEnAierAiZ6AqD3AqBIAqLZAqHAAqYrAqXKAqf7AHkCp+5oeGit/0VqGGrNAqzfAqyqAq1jAqz+AlcZAlXYArHd0wMfSmyTArK5CQKy5BNs3G1fbURbAyXJArZYNztujAMpQQK4WgK5QxECuSZzcDJw3QK9FQK71nCSAzINAr6Ecf4DM20CvhZzHnNLAsPHAsMAc350RzFBdNwDPKMDPJYDPbsCxXgCxkMCxgyFAshlTQLIQALJSwLJKgJkmQLdznh1XXiqeSFLzAMYn2b+AmHwGe+VIHsHXo5etw0Cz2cCz2grR0/O7w+bAMKpAs9vASXmA04OfkcBAtwjAtuGAtJLA1JYA1NbAP0DVYiAhTvHEulcQYIYgs+CyoOJAtrDAtnahAyERac4A4ahACsDZAqGbVX1AFEC32EC3rRvcwLiK+0QAfMsIwH0lwHyzoMC6+8C6Wx1Aur1AurgAPVDAbUC7oUC65iWppb/Au47A4XcmHVw3HGdAvL/AGUDjhKZjwL3DwORagOSgwL3lAL51QL4YpoYmqe3M5saA51/Av72ARcANZ8Yn68DBYkDpmYDptUAzcEDBmahhKIBBQMMRQELARsHaQZdtWMBALcEZ7sNhx6vCQATcTUAHwMvEkkDhXsBXyMdAIzrAB0A5p8Dm40IswYbn8EApwURu+kdPT4WeAVoNz5AK0IhQrRfcRFfvACWxQUyAJBMGZu5OyZgMhG6zw4vGMYYicn2BVcFWAVXBVgFYwVYBVcFWAVXBVgFVwVYBVcFWEYVCNeFZwICAgpkXukrBMkDsQYvu7sAuwSnuwDnQCkWsgVGPmk+cEI/QrZfdTdf6ABYETOrAIz+zGvL/KbnRno9JiMEKxYnNjV+bd9qwfEZwixpAWvXbjAXBV8FasnBybgIz0lbAAAACnxefYu+ADM/gQADFtEG5a0jBQCMwwsDAQ0A5WUdPSQfSkKxQrxBOCNfJ2A2JzgjCcE9CkQ/Qz54PoE+cD5xAolCvElCO1/LTk9qTQosa1QvagtuH1/gMzobCWebCmIjKzwdJkKrQrwrzAHL/F/JDh8uCQgJIn6d32o6LUoXyavJrAllwcvMCmBBXw/lEKMRAJONHUVCJRupbTnOOAozP0M+cEI/HAcKHUxHbFssLVrhvBIKfe0dK0I/HF0ISgkOM1RDQjcEO0OcLAqBGy1CPxv1CFMiIxgwMQAFj2HwXgpxZMlgC2AtI25DYBk5AhseYLMGAmsQZU5gTREBZOdgFWCVYH1gs2BLYJFoFhcGtQ7cVam8WgtDFqsBuyvNwQIfFQAcAx4BeQJsLzCVUoABigq4RxoA5CN0jgrKDaZN6gGbAoecTwVAXwD39wkANBZXDAulDCQfuq9HAE8MNAAVE58rggh6AtILS2URGwDYTgZ1BAoeWgAxALa4AZonCxZvqyQ4nxkBWwGGCfwD2e0PBqoGSga5AB3LValaCbthE4kLLT8OuwG7ASICR1ooKCggHh8hLBImBiEMjQBUAm5XkEmVAW4fD3FHAdN1D85RIBmpsE3qBxEFTF8A9/cKAHoGJGwKKwulODAtx69WDQsAX7wLAGNAlQh6AOpN7yIbvwAxALa4AZonLTsOzgKQGHtQu1jIdHKO16WbDvWZFT0b7AEpEFwSBg8bAccJOhCTBRArDDYLABEAs84BAgCkAOEAmIIABWtXLwAUAFsbxi5sdioNwRACOyQz0+EcHgsbfQJ7Ls6hHATBCqrxbAA3OS0Opge7CQAQOi7OERkAfavaHA+7GkcczaF3HgE9Kl8cAuugCAHCAULz5B9lAb4Jtwz6CDwKPgAFwAs9AksNuwi8DTwKvC7OoSoJPA67BZgBG2sKD4sa4QHDARELuxY7AKALOxC7BBige9wAO2sMPAACpgm8BRvQ9QUBvgH6bsoGewAHuwG7D00RErwBAQDqAQAAdBVbBhbLFPxvF7sYOwAuuwLrDlaouwAeuwJVICp/AAG7AALjAAg7FTwVuwAbuwG9KOClWw6/xAD0AGj7L7ZtvgNIo7vIqDsDAbuVJ0sAAlsACrsEAOfdGbsIGnsIoQUK/3AA37unuxjbGruji3lyBvupm4MAErsGGwsBvAAAhgBtuwYAC7unOwEaO7oIoZzKAbsL7QfAqTsA4XsBvwAA5QAVuwAG+wAJuwBpiwAauwAOuwIYu45pFfsAAVsADmsALkseAAa7ABe7CCEADUoBwgC3ryYBwAAAtAAOmwG+J+QAsloAHBsBv/7hCqEABcYLFRXbAAebAEK7AQIAabsAC3sAHbsACLsJoQAFygBunxnVAJEIIQAFygABOwAH2wAdmwghAAaaAAl7ABsrAG0bAOa7gAAIWwAUuwkhAAbKAOOLAAk7C6EOxPtfAAc7AG6cQEgARwADOwAJrQM3AAcbABl7Abv/Aab7AAobAAo7AAn7p+sGuwAJGwADCwAQOwAAFDsAEWsAD4sADesADbsAGQsGFhsAFTsAbpsWswG7ALoAEzsDAGkrCgDhSwACOwAEUgAXewUbAAbQABi7AAv7AF+7AGv7AOSLAbsAF3YBvAABcguhAAVKHgF7KFIAOUUA/gcNDHIAKCpwAaQFCF4BvF4jDAkHb0tsXyqJHzwUYi02A6EKtAHYABYC0QNuAXZyR1IUIQNPAhU+ASwGA3NGvHtSekAAKQAxAfsAUwrbAHuQLAErAHblDREyRgFKAFcFAAFQAQeKzAB4OwQgpQBaANYVAJVoNx+LAM1rsQDP1BYIwnVzGxhWHQnRAYiQqyJTU01IEjzCifkAfxw3QCkr4BGXTwByASksMClCGQ8DMFUE98XuAEtl3ABqAnECPxF6Osd4LjXVBgUAEBsdCggMKgQfHSlOU04IuboAChLNACYAARoAhgCJAI41AO4AtADgAJ08ALsAqwCmAKEA8gCfANMAnADrAQwBBwDAAHkAWgDLAM0BBwDXAOsAiACiATUA4wDYANUDAQcqM9TU1NS2wNzN0M5DMhcBTQFXL0cBVQFkAWMBVgFHS0NFaA0BThUHCAMyNgwHACINJCYpLDg6Oj09PT4/DkAeUVFRUVNTUlMpVFVXVlYcXWFhYGJhI2ZocG9ycnJycnJ0dHR0dHR0dHR0dHZ2d3Z1WwBA7ABFAJYAdAAuAGLyAIoAUwBTADMCc+kAh//y8gBgAI/sAJsASwBeAGD5+aoAgQCBAGUAUgCtAB4AsgB/AjwCPwD4AOMA+gD6AOQA+wDlAOUA5ADiACkCdwFNATwBOgFQAToBOgE6ATUBNAE0ATQBGAFUDwArCAAATRcKFgMVFg4AigCSAKIASwBkGAItAHAAaQCRAxIDJCoDHkE+RykAiwJLAMMCUwKgALoCkgKSApICkgKSApIChwKSApICkgKSApICkgKRApEClAKcApMCkgKSApACkAKQApACjgKRAnEB0AKTApsCkgKSApEWeQsA+gUDpwJdAjYXAVAQNQLeEQorEwFKNxNNkQF3pDwBZVkA/wM9RwEAAJMpHhiPagApYABpAC4AiQOUzIvwroRaBborDsIRAZ3VdCoLBCMxbAEzWmwBsgDdfoB/foB+gYKCfoOGhH6FiIaAh4KIgol+in6LfoyKjX6Ofo+CkH6RfpJ+k36Ug5WIloKXftoC2WzhAtdsAIJsJGygAINsbARCBD8EQQREBEIESARFBEAERgRIBEcEQwRFBEgAlmZsAKMDh2wAtGYBBWwAyVFsbADPbAIMbAD2WmwA9gEZAPYA9AD0APUA9AN8XmzUhCNlvwD2APQA9AD1APQcbGwAiVpsAPYAiQEZAPYAiQLsAPYAiQN8XmzUhCNlvxxsAPdabAEZAPYA9gD0APQA9QD0APcA9AD0APUA9AN8XmzUhCNlvxxsbACJWmwBGQD2AIkA9gCJAuwA9gCJA3xebNSEI2W/HGwCQwE2bAJKATlsAkvBbGwCV2xsA54C7AOeA54DnwOfA58DnwN8XmzUhCNlvxxsbACJWmwBGQOeAIkDngCJAuwDngCJA3xebNSEI2W/HGwEN2wAiQQ4AIkGjTFtIC9s1m4DJmwA/QDGWgJsbABVWv4UMgJsbACJAmwAVAEAuV5sAmxebGwAiV5sAmxebD3YAEls1gJsbEZFNiJ9FGVAe8xvEZKvxVfKZszAVTBzYBH2d1iyUXEHH7twNw7eZF5JJRHI5EgaRr5D20/3dfONrFLSq5qSrrgd2
1CEUq722WBQ/LzpA+bx1oREI5xy4BDSZNun0ZWORUJqInZSyMaioyvfSI0l5uFDzbWaQ28/zdB0hwR4OQZ0/jn9ALSLNikjFYGfqR389qtFlhD3a6KdIh97rhZYpywuLc7o8ql5/X8KCbPU3L/QlmCowhRXhsGDvg6wUNprA9bM/49uxlAj7ZVy3ouEY/BgFXBNyK0TLrSjZWeJm/T4nz6QGLT3cJNtWRZVZTvIdtaxMMJRHgig9+S11LjBh7Inr06ykoch1U097Rw0hvgmOrydQyaWcEQDg0RavuMuT0zYabUZl1e33HNSK1oNUCS03eh+9C2EvF3fq9h+XBaAMFuoWeZf+mfZgL4HzyiKDIUtfNU4oFu0aE9qt3VA3U4D3fOSrAcYVnjG3cSkp1vhXZnp3JQm4JknKdBitO2NVnGCYQwU3YMWHWB87NEd+4AHuOKI8BSIH92reW0pfs+kWCTJxDCbRjFv8Cfc4/DSBYJScJYTeAEgg9wTEvcwd/QuHRHqGzAQ4fXf5FUI1lPrO+fvEcPl4JInM1z9AtBT2bL4QYEREe7KiSnnxTwtmAFjn8lqT3mND8qTktX2F16Ae9cakqJ6/pEQsHURqyqWlRMCzKXRKfCHT7sYHWx9/T/ugYTFY6iVN3Btm58ATJR5alYZybKMWojwOw3HbFn23NFyeLl7+Er82RchyYuBoGQ3j7SAWNxiYvp5U+Fq/DEzB9cG5DlJWsqkosRze92OVlCtQEYo1S1lF72Z8xWc4ld/+fFcfTEDTFb9d8tJGQ75dpJEvcWyGmGBiTbiWDdGOcw93Dmxq5ISUrmasygONfHLvhgo83HQZenbdBtSzBkvYrCEQ/xEDMhMZsN6gqplx5jGG9mSQLhM81UEdEeJ59sdNJDAFy/gPyJoKlwPZgB/MkC/kICLiCB8va+nCdO2ry4aDfkmPFpF/H/SGQ3LJ6aAv9dtJ8DniHtLOckZix0BVb0iR5V3LAp521LBSIi6AtV7r2ZB/hQEvAw54EFNOQcFnl1xGUIc67tqK1INNwD2n/RbwgzO9h45LM6VMuN8V1ZNIQ6t+Xy3lTqyVCD5kqLy/t3/b8MLbgDg8JIWDkSZ+LrGhhr+gYpH+pr1TnCUnZPjpUdw6bSL6MWVXoDDciQDWECwU2e6VEpfrcOBbrSOijqGkEIoJPbpmeJLkcwbvA0yWIixQVjo0HnYh7fji+Dfdq1mtV1lG2Zz9R7eFMHS+FK7nybutu2fwzDpFldO2pZBshsHJWaltn3PWOoGJpCT2jE8EHOuC6FkejNWcfsWCqNqMLP9xTwcWArj2EiiI7D+EaDi7/2cqHL1gPiF6C/J7aUo7RQqogPZ11WqbyP97nsoMxPOC78wZMF7B1Y0g7JNXJV/nN1m4xx8hbqWz07KSaqr5hE4icB326DMR/vUKX9LoNjle/ZWtbUhrTAcsdgrLlG5Ne8aiR0bS/2ZhpNOVVxavWIZsEM/rd68EB4vjbbD13NkMK1qvMk74vGbSkL7ULO0sZ9R6APSCo6KH+Xn98wEdw1bCPAnDTaBsD6sidAGN58uiH4a3ovG1KyZAu2XtyGgF/vgWKGxw9R1lfAVcfuYE71DHuxtTzfGZnHaDpDGWmfEq0N4GawE7yIkaoz8jcmVmzJe1ydM8q0p08YIxFcY1YcqQc1djWBEoNETDFcgk5waRftEJasPREkrV++N/TOKkERF1fCLrXS8DFGYGRBeECMQRNEs0ES3FzUtXCcNxpYEM3Uei6XodZruXUIRnn+UXf2b/r7n1vQutoi6WoIbW7svDNWBbUWcDUc7F9SJK3bvSy9KIqhgyJHoW2Kpvv0J4ob14HFXGWWVsYXJzjwxS+SADShTgCRjhoDgjAYRGxwJ1Vonw+cpnCKhz8NQPrb0SFxHIRbmG95Q2hlC4mDxvPBRbkFa60cvWakd7f0kVBxxktzZ9agPJEWyA63RSHYVqt8cPrs2uFJ3rS3k9ETGKn5+A6F9IOrdZHfT1biEyUJKEvwzuscwshGCBJvd16TrefW03xVnJf4xvs72PdxrMidjJO8EiWyN/VWyB3fv9kc34YIuZTFtXGo9DuG3H1Uka5FgBMwDPEvRcSabi3WakNQkXFecJlFk6buLVk5YHpuKWTw6oF632FPPSVIVl5hgUAeHhj0t/sw/PEEvThLQDDFE34eCg/rLOyXT3r+L98oRKrlTO0MdALYQ3rRQqC7d822dJPGxF1K4J2TtfPSMFaCAg0n0NGk9yiaKKOJD1v2aBX9HUOIawjjfvwCmjHZJTR62R9c9x33JnBjWrN4QYEOmehy0oZMP9XM9Zyi6TYoe07PaLceRXcCWZiY/imRUWW6+mci7+wMxSdwMdbXckXtvhJH8sc4iQcTwm7yp+3f7CaesTTQB2qkgeXh+wFiSMXfMlH7Yil0OoZ2QTtRLTip2O0cLZ4SstqWHZ6H+8A2kZXhpm0kPbL9dUanTOvziqIUh6Ambwa3WrCb2eWbuCN3L1hgWUmjRC3JoL3dBhR3imSQI8xuCMfsszlji7cSShNSYdqCXPxEVwbqO9i5B6hf93YI7aeyI8jxgcVXK0I/klbvhSXjkjOIwZgPdVwmsFW7HGPLUAvDRuKm+itybRg7c8+Yqqjg824Qf+/NxsBSUNAK9KCoJpauFqK0XQULrWYj4FnxeKDuvr54iokpi+D57e6Y1zxRJJdsHnDR3JyraCUufHBRTKODWBVzthjm4k3/Hv+Q990XDVR+KW+TcJX045LW86EKhz/97aqj89A8ZvTk1//tczosU90loIPVaHuWegJU3wP//7XHcO7c0yQM2jM/IhQKrf8hiObHWiWDZManF8Uf/HzbmDfC2wT//aiZ4hGTv/xzgKwdb1sD6cGEkceow0s3b89/zg+3plyRm0HlZi886j5wUwFhdHiDTaBidZRo5cx/tMeLyguOATbzq17ydhzbrpxunuHx6lbFGiO97gsd4dk//7iCIo+Ew+hG2so5kvv+ITG4c1fzHPtu1Xn5QfUnqY3/uByVmB7gmnE/E+5zdm+6nDmoews5fr+NzThdSHzK4bBQOL9c4O8OI0xLSqjJ4lbniLJg1aFpQRLwaSMZmpkC9e/j6FOVrTQ6a/a4alGgfrl2ZL1sbHUQ3DOI7ntq9diHFfm3t1mul3rdJEJCHnlW/hlQntipMrpeMs7fUr6wK370D7VbXH0DUHzdYfRg/6Z11Ult1sffJS+heHbco15Sxy3+rDnPesqH1lajk0yu02hPUvEUqvcUXWXL7Ad0wNGMx5gOle4XJxq/r/YY0xdco2wRSEGwcT7YADlBrHc9ZbvzOL0QwyWCWWChB9Obg800v7tyBWaNvdwz+fL7Ph9i2irEeJkRgOzeEDw+JiD/V93vH9FgMEoFIJMoIuogmicZohf94SBuPn6hXaV9jP4VVVA/bu+Wg8S88GLtmEPSNRLdtlXx2XL/nuM8nKkhnlnjaropiKKLIH94pLIASci0pDBfj9Hi5BfaTSXQg5+PMjQX91Ktk4MOqK1K99l4BRPv5+vNovGZ3IxQv8ICvjV4/diThpoaM8uvd3D9d/DE477w3yAbW3IDm2i73pZ9aEj38JqS6h/s8/xgmUIVcuq2JTgefAyuoafzQxAuRASeg3NtG3ach/JEkyuX+JDt2PnDZTShUhyHHG3ttBg/6lhAchGjLJBtopj4e01MlCp2yqQRTr4sBBXru+lKaoanwYX8y2aWCJiR3KnhCOkYVFSvsO0oDRujUFOEptiNDTYrJoUbvOyvl4AhC9h3wORiTXK1MrpMfnvdnndnR/HRVSusMBgIxwrLdn3vq1VcncPiD0SquTx/kNmxeFyCT4uXVUd9AL+rSGmuq7OOCzDKeVPjiNWVaoP5KOFqYq5Xcuf/xW9S+u9eIq9GAtZWtQlgkRecjRtvG1NR4WXXpn+pwsTBTIy079Ikg8rSef1aVapIFcXCd6C2wHVjLXR+N0tw4Taw6x6H90BFRgNrtlq2up6hHKuV3inM5RJaQWZHd84e6RsKkk9po3dk9by54tpPw7cBkFas/G+GbHwuG+AwP55BZyXILTHCIVrPpXHEaUPYfL6nphJP1Rc10xG4UaCeY4IHCwuur8xmSQDgY4aVwhzWhjbtSHG8JO6P2i2nC9/0Bfx0zk6dYQq3aw7k5vIObD7SEKrxhz0fQ0+YTOfHW23CBNeZci1qNsUDhoeqmfyP6PvjoEjHk8QbrFyQVZPHVWijnb8YCM65iYNoEbvnchStZ/9cKg5Vd45j8KnB6UjzXl/bkyZx7VoD47ocUUi117WwgySSb4rXgLJ52Mv5XJbp3I+uBP81BUvOjy4Cacgi+GWWlC/8dwgqwiojjUBDnEOxyRyowwLQfytFra1OZS4XvRYr4uoamAfG3I/p2bA7G90yqKThH8Ke00Tqd+3l3dmJpaCZelBMYjGqNLVa3SM4+LQeL56gY6Bymy2LQPVOxjWfj5tq4o74swcxhyGJPynkS5xAjOXZP1/FAYcBT3u6qLoIkEfErwo4gozmyI1YCvM0oyI3ghjGPQSsof2sKUhq91WsKy9cYWN+4A2v4pG/Mxpdc6w6kI/HX7Xb0TuihmsiOy2wQIsrZbUmr3OBSUo6oDJNgQp+YqYkgTgYcWZDgawJw3DFfdzT//PhVUidgB2qa8uw/j9ToHBAS33iT8YLhhAfyXG0bQUFp7QmH7oQ3i6Flf4OTZLvJdh8pfuflmWu2ohm5pTiSg1pl3vq9uluTJwqXfh1hqy8e2iHoD+Y35gCIViTo6VOtK5dD8HYClucJucXASzwe2kPj4S4eYQtmkYHagXhAzp/F541xE8YFYqSPszDuz3soWzHy0p3E2jwZNQaIcGU9FNQwQxeDw0ZlK9dxXrj9IUHGUPTOyib8CqXmbZ7Ex54bn1rLx3qqAavu/gh6XjV0GmN1p+yyMK9HN5uYEvxgbAk43tsheREhyI+Q5WLIneKTGPmYiM/lxOp8fvqHy8YgXK0TlMiX0tliLI2JtfmWZP8eVV732sdYm+pcWzDzEmKLJZyeelyaZKkjPnnUO9keDwtgiLnmd5+t+Sr5y8brRnlvxcWEWfCqIALQYHvaXx6jTg4dAlye469uGwwOZVZCILLfGjaMg4LUCNMTtMSp1aC2y/3wR2t1v3w/iNBRQ+bNbtDqL2NAr7K4rUcyqbSpNrXZgAWXvjxBBtfYLK1uRYt3q2pfXJOAL0HtWcEwJLddOSJKV1SwvcvEuzg/4MPnA8MIUJOLqm3qI6wFyN99Ck6zYaV/zGSAzF/PGsaNa4vPLe5QnyuqVUnVQ6xELA6gbe53aGgeke+R/ycb2LJVyc7BhuzI90zA+c6wUDTb7NH//gdDSl2u/aW7lRJm8m1fLtPxcNuEM5JbkOCZKPM88HUsLRoC1pmKKlvWyeAXuxILbu0snpSxf8N+RgtLUSe5n2gdjOjoSTaN7mM
1Z7bF+cWk/MS8mFD4pcyl5UN7CbpFZH2a+Pm1VAnUTVfbw8qrmz1G9m5aKmRzY1SMhhPrlCn2t4uNUXNA3IFe6NOjSC1DEaAFZAfDlEkQCsbNhsZPj6NQPDSB3tLiTo0ZYoEbIeEIaKtU3Wk60rEszawTFuyHVd365LA/c/uarABN5M5rGq/dqTG3Ilye/5EKiYisisuzqNaZjmWv0z9TORc0CKbaTea214oNM9u2sXUZub/eqM3Pi/PjRSyQiOSwPWif2asTgu6hS6fb5UGosCWxdedMqdViIUUSSdIJx+qQ4KShfTT39VAWZbi+mB+iKICNwpt6cflY57Rcbs6d1kA26Iru73cuxYVlSvuJdcR5VfDYZRk8X0AXePROyw3Le6LaUdmTLzYsoNhhgQpd67xVNiHgk3pakmndeIAtTC4DCXy9oS6eU4CWxDdVmY53pKNbdAKmQsP37lrJZC6iDXMELGKcHjNuuZgcDyY8W/yv6ha3DX7OWm/35fpvhw55oitf4V+GULlcPWYyGGuVBdro19c8u0RDddDun40W7G5cSIzHLh/qZxb59R+EPY+wZ2XerkUim92hhXpKyW6WtAh6zQS97DrPyjCvKi3pCw96LeKynOpyjtsMQc2RmI/20zFOZcSa2AK++PoRcT6zeJyxlBZ7kk5mhqXGkLlM2hFKc+/T544xXP0Ua38Q6xdPTLTeG1PHnLMaOvksUQMrEFTB/lizCirmFQL8zYVU+OTeYQEFaITsBSMMYexS9HkajO2gGIf2micvntCZJsZQEwIH3/4JGJQGflBuH5rNXmnRRYXDQs3ZoEQoMtYDr1kFKUS/siiQSUxcTH9XYeBZiKDDFQoExREO9dddKQLO3BwMHvymCSTFyY+vxn3D27NDx6OlU092D5EDUwilttqVHpjJQDUceJYCLsK2swfXeNUVrBJT/w/sk+7si8rPtiMFis+oxvGdGQxirMBID700T39mULuNHzOyN+xBfcFACZcyngF1aSpv0JPkNUrAZTqfplv509cGXFUiEEm5dZb+OsP/blizqdK45/dSsIrufYTrCPY2lgJD6k6QljTfXVlHfYKSq+MsagyUcaMintyr95bD8kdTAeYNLNsMmo/Wdd8a2nStBP49ARIjqqpUHWY4q4mvO5Cq/CgCP+4/B+5zutGwX5pssgVLr1+fIM7WWLfiUQDk4c6ZdHZOWv5hG3g2dgQ5NXnpIY+BWwJpaouf25bXnjDzbHnQNofH/c6m+dEAS9Gs2h7pFRPKOBDnqswZ8KZjhId1ytHUTs533KwBoSiImoxKQUgZ7z6pA9QB3sZ8Cq0vwutJTTkfbX8AzCpm2cFXx/P22niUMHauU8IGc+78R6TsutoonoqFuoNA3l80t387YHMoL5KGAT1JO4zmx+vJ0LbLHlicHraSVYvJjnO9p++qnWgKw9OwFVVUagvZuf9qfiuum+hIicxP1q4zDnzkHsCNriLxBpxY9N+UOmqzdY1MunLMDgkMyi3uvnN3UBXJeZ8YLs5xr8QrOhimYoKuGBebZHAiBIkViv3DG8k2oNpp5OIgX6ulqaRN8V62QUPjn5tl1kPXhT9bcd8qIm8gi4or/FGbvQ6pgGSHmnayrugmf5E0upGxPRf/3xOtitGMaHLKJVm5zhglmVfI91o0yxhJZVS/5wQ8zfxK8Ylw0WmHXoGfRkoBRx9Hsnl/6sgTjAVwpmNuSeZtBwlX4qB8Bh8lxjqBDIuFGJ4I1wxN0XRlAAslzqMKwQfyA7OkuivCXfv+i+3XmhcBFM2n4jdT+NyUmBnQJPV3F2sZfKvJhUlXzSosFR4VevVVcOkFnnjdiRWc0TeSYxj41sJGYMbZTeLI3GvyZ8/gAAudQ1+4oFX+enX5V49MczGCYVBuoC4kHjp7ZVxj+clBwPr9k+v05SsezQK3enxLs1Nt/N7c7AImVUysjGou4iOohHo83Zs9/MI/OWB+OyXzOBD93NbApGHXrv8CVRHp2bwH+xB55cfNrdqFD35HSMx4iVmtzYAmSCIV8kXsHoq3DIb93riTWbubnjxbBW5zConVtbxLRStXHkIyAByaozME952Gc9aAdAbBpZSVCH88Uwb/4bPTVOVl+WoMYD7JIvK8VcMrJ8zHV4bbG0Dg7Kx17A4ej/ZcZ2Z5pVuVLUH1E/AccUTKm81SE+LQ6STTUDscUk0x2OWIbEORhg69tdoTGNkA1RfkGIRZHr5mCXOpLC55WWzCZoGPFUVtZRHwh0nq039CDdjEPo+JyaxSQAvDgR6Iqvxy0frrtEG1A385N81l05SSzN+IDm9bypF9m92EUqblnauZ5sjc37wRykOdl7w4o8WMgQsjii3EE/aJYDfHs1cH6DNBEujjcCc8qAefYFyIAURDcDnzun5UmkbBQsU4eu/W8I9nBE0qJKTdg2hwjq0+XV7a3TJ7R+alvJZCRia9lJ+grNB9dbrOmWEvUotMjvDhq4wV/kq4fvIBkzUGpDeYH74rne8uU3dgoNZdR9pUL6q9YDNRfOiF6Dyk+SYXQIghTjm9qR4tBHh0gnmF/9q3Qv22EzaLhSvDlDOxMrrCNRmLCl1jApzLrBCPn2mjn5zqK7OYK7VxOfQ5GfBfoPdyQwqFEgCVHkJ9oTnagRM3R0+rsuN5jQv9icCav/p1WqiEXSzCdLd/WEA6z6dDP7tPqPbeDYKAkVcz1lLGbFOC9b7cBd3MV0Ve8dZ89oR7OnxGS7uVpSry8banVZwpJg+nkH1jRBYa2BvBMY2xITH9ERXCjHzdZxs+ipdXP2DY7X+eWiBhtT2L0RRGTLPeazn5tpl4tu8iE2rWig731iuJDRbCHHy+g/Mb9+miAyVqfIpXT/iZeOxOxODO0hEpLM78I1+G2Z45yi3lS1K3m4WMQ559Lp4UML5vZUjYGJuxl+OPpUH5klpyBujkjprhei0TmUik10gjvNUp8mDkWlNKikmYspaVTqewbnOzJrmz8FLIpsT67EJLHIIfeDcWEfiP+DJrZ1jfxpoAb2abeMqLx+9RuZGzQoYtYVGgAWwEM9Kek2vPIeBNAKD6ao7nw6sgvfeLZPoXkbYO/tStHJdKzk+WFSFEU2NcALJAEP6S8pcnqqBBt57dwTrzQNCIdk2SocK4dLRbD/pu/VryKnm65ZYXiJCfHJk3mx9MRSl+nSK6OqEBSoGjz0/LADddwF/HqcfK3K3O+6YUGQcmj8pZL4PhZ6KrGkb8B38FmDvvLd3XQXbvS/FQmrXFTvJNkaN/FGo83KuS43BK1UfVnIqigGkCoP5fBda2MwAGTGNKX9K9t4Bx83pMFc5KSORmWKv+8VoVggWxoaBz3/9IBh6RwLd1tebwy89xvE5z6EEpXpDfrXWfRsMs6+ekUHH6idVosno55+xQ8Zqzelh0bxtJTgCcH3Z3/Cxlx9eNIS4JIFKOAVrDqbrXRszmY55a5+niJGHtkO3b6mnIDxLa1WXc7BAe33mt2KyM4Fbc3R6/WVTQN8QhlqAtave2WsQTqzWeSlKuGUVIJRqtObpv294rS0kDN1RKzdstZTXJebR2HlzsQ4P3NbMHUqFZMZw+/IKXnh4t+lY8qocp/B1oMszR03EFs3bPeND8QkItMvllObeCz3SZAjqZrobmLcrpFyQV7mwBjg3C3C8/bc5goQhv8j/IXMLGnt4mF7tybRDG5G0polxoUScQkPvmnga2/K+aapKeqSL0BTmo1Cm5g+booNOtdyKva2KoefRURaBk7113QKo3y+WTuFKtgETIK8HRluYS9DvlcciCDvnG8UaJRfZE2siZsiTHvRmN80xkUIInHeRZl5Re/+ATL6VhKFi8CZ/n/jbFV6T5pZ+Uoppvsi3qjacVFOJgWWfdlwVHKPW/TJO3na9hRM9bS2yo2rEsC6IBzRReVO6IesJU7PItzOamr+ROFfwGZmZ7ue8HNxAgLJKb7P3p8dMqk6Be5PJaT/5Rdc1deYVihWH9cjVKc9uz5EnfHqxLUkOO8iJUENBNVf5LyNy8zjLu/78k5WNTywiPfYeX3CPk7yc6CI3lum/CEZwfUaNpcI3KsPqfn2lmz3kd/acQjKA1ebkJaiuLD+epQ/Fc1llHXXMzofWzz/Kd29SNmOhcjMWw1jq1g3YfrXZ9rzXDYW4ZttfgfMi6oCUtBs0PkMVuxmq5lxEoCaSXPSqCJJ7MlKdRDidVt0AFlxk5cTdX++sBF2+E35mjwfm8ERVxH0FvuAQtsfA4V2G0T
1KTUxeyRGVjd/u6F1SvuAiU2/WaQjcNCU4Ep7VunXCYSbZj3U3wzu/LWM5MPlYuyQ3FOOCD/zt7K295hY2JhwF+ODDIZ676vGQFKveEQYkWj7lkK7rVmD7MhU0Y/tF8EcTTpo4/yqOufbd/zWIpMajnbDuWK2vn6OPPtz2rc9MIBNlPd8tt+yf+7SC4wqEPbozKMCwY5Bygx4JmoIEDsixWRDcdHd6S3/dZMHXOJAAv7+NIstl00crgSqHZKAEe4g3G4dzIV51EeZB01r7p8GNlfUnG/GjZgNGsqXZdYMBVtAtFNv3hJWPve4GvqZ2XxuiNkHTz5kxWgr0PjQdJlVywJ9Zf2ZvqeeTbolKtvK54re2Lq5BoyzfsRtvDfyao3kmyFzDQ88nM+qx83w74RDlkngtYiArI05Epre3GgBeSlMig0pE6RGQaFznKkGeb0SozLCyiOtxh7hgwZlbKbClzUUfC8ntMiHUOZE375RhTy9c4DA+oMLkUDkztSybZbdmP1xpaIbjUpPAHBq3cIq+CBFzbMlMMCCkUQ6d9LGV6GYCsYiEWZIy3nBnuxOYXeU4YTGDSin9e4/pCjPtQSHlg5LMEvIlF0ElthqrF129iK2RPBEWd3XWOl3SWV5uz5VUyZYp5kEFmz7QfP/B1W1BBzQ2iTGbSVT79lUHzcGXz3PJceSgz4uknETUwo0xffpr2KUvZF0i/r2sL3IFIClYx8CbIZE6Qt7MDJbOPB3xMScwaOcWG66IJfCnDkb0D2Mb+PHzX+oiCbxeTIogtyN+s2NJirNACk/OACSOTtV6vscwbzW4M168xqaI+RzR47S1nlV/rOoZnid87n/Ima2XYa3un3BuGAisNjb8eLMT9OnMtazQROFCuO1HiZXaOc0oUDbNC4eKLToOx8DzVhMgGA8XIAQ2x3b6I0uEyLssQjJX3QphcUMx4KsMgJ+72km4N2aqkBF2coKmUEt1eqIMGn+5txMT4kYVGd3ALO+y9Z4PP3d3l48JQK8s9ZZ/Qx/+NBKgBEJFlQ32psoJiihGO7FSYM5L81q72kaAYcilEFMG+ZK1BcMqELkflyCV7v8JEXLO4Rf/oZYNZHZVjJhfL6fnpP9Tio3Euue5uS7FMkfGOeRCTrBZ06Caev7tgufeTrX34Ur/Vvc+b8ksiIShNJtuF9WmYxOZ4xg8y6zTdy3KAB2y5kYkcRnXsptWwAFyKZ2I/QGySNeoQLkINUMloC+5L3WuMMx297Q1xUYLKqZ9XHavaobo6QQv4auMm+i84IhxRpPt9nUmcav9NcjCcP+TcMmxsQZ/F3mgeoA0fQgwvTsyXuuTaM3Sqtv2jaaajmaFQpK9W6uIbeqwvSDo34ZrY6elDUHwSCjHRRmlwmyy+eOra64Ssq0XSXYljMHtKY+FShcMkHsEUY/4Bw63dJ6KpwDaxmthlDdbdE+TvYF3v33cGSKqO+1H1pKYhJMvZD5ckQcHyNF8zrtiR5b0ko6NPGoRexUZTYP6VbUdn3zzxGBOi8Z0OqHjGqYxRXwN3mYi0GYEEZYq+Q3QvdKcEHILLLj8S+VFepSfErtmfZCdvxbfIifFSpEzKi+7VJsLMT+zEFeyp1OdwRC1VZrfTLIyR7xTPUcZFYPD9qI7D70uTb4hdpqPXsJIRNYbZtNwch1OI3trh3u2ScoQyM9POnInsUa+OovcwkUP1UfIzPb95n4BaF2ev57NHAej0+BVMF9/Cj9663HN2/JN3SQgslL914bKfiTTDFAz9PlQEL/dSv1H8xl3mtWxh1McFO9EJXlRDaKQDsyKO4vOJW90NFE6yw2tjbc2GeF95sbs0I9enAa6QwQVf/kJQhAD2BzUDKggOyjy1TEhED6sfk+418lQy3c/uj8aw8UEzZ6hIMCd8RohAkumMtIj9m73l2yPWoGHVTPaywkC7Yj9tBM1NxMgcrDwRtk4RO2WHT7Ql5kQCKdJj6kNuOTeyEBYBjLMhGz+O5/YGa84HEiTYEpZ6fFzy26GG2hWtTyteuYrhSyG56BjsT/wQeLRytpTY3D7sIMqZnJ9z1FDrfyjFlGl2TNw9BQysbaxOuwYYZs/7I6BANgkqCknWZC7/BBXvaeKwAmC959I+G39BUE9bExkNlbRoFRyEtNzv+NJ91FuisG3JCS6uYBeRnfv8AkAfKTeg9EYamqnsGfAV7d0f9DghHEQ5IsPGDIUhgoSj7obM4Bu5uhQ3/CYEDTHc92AsFvDK4XGrwUeGBWBHPlS+f4x+CxmmHz2sAGmSFNt65kwZC64mnaoWlu2310laYn8r62AqsR5dfjyK18MEdurdagldzfJtjFXlZs7St4QhdPiye6TPh2/ZAQLU/Fip5s7TDEM16KtRWrK9hmxnQ7bmfa/+7pa10Z8WDPK3NuJ+NN/RAbQ5vHx2uX0Lm7/w7cAEH/hvZA+mt7J7zGw7YtQYwnNN6dpgwkGjjrS3yQoeoYt1EnczmtmJfQZWzUlP3Hlg9Wzlr9IH23q3thGth+QNEANFettxKfskkGOlLk8AqoKJ
1wDqOxAa6UzAx07plSSyNBJSGco9zjnC5gGbDoKvsMDuBR6bGRlGzJ+hFsGa/Izt78aI+WZ6dJlZKp4pGISuv9rV0sAS0MWEwCmfauO7oQZMiakHU35LBxiyJoOMddhUWgcZuC8r4Ksvn75TTcQXLJ7kWtYhGuGqPd9dZuFjBWQHNwosXY5snbHFQq72CvHXhIg+shQxycuLOuWYErwCLZeF24b7F78pO7xw4X6lIAR02hUOf5087Rl0nOaeb6CK4i/KA/EZv76ftOWZtjwxslNr0E/u8rWUmnf3amfg6UZmBAluuoj3Dd7UV+9IAJ6iYcDfSJlgmIImohjfIUMJ27z+opj50Ak9af2LCNrWrBJvMovA1OeNO+MF/MwZvnaCxTgG7Cw4QfSPF6AYCGFt21M8PySZFeV3t2Rqqs5JMzMYzGRgq4o+UaKRgBf9GHi/9X9HXA3wxkCsd/UhnHSh2zUVDiraio/6nP4y3XJqs8ABfALAtCYU7DHPMPRjgcM6Ad/HiSXDAbOdSMkvGZPAkHs8wuQTy6X2Ov/JFvcPuKfV3/r9Q28"),r=()=>A(n),i=()=>new Set(r()),o=(e,t)=>t.forEach(t=>e.add(t));s=new Map(C(n)),c=i(),l=r(),u=new Set(r().map(e=>l[e])),l=new Set(l),d=i(),f=i();let a=x(n),w=n(),B=()=>{let e=new Set;return r().forEach(t=>o(e,a[t])),o(e,r()),e};p=E(e=>{let t=E(n).map(e=>e+96);if(t.length){let r=e>=w;t[0]-=32,t=k(t),r&&(t=`Restricted[${t}]`);let i=B();return{N:t,P:i,Q:B(),M:!n(),R:r}}}),h=i(),m=new Map;let I=r().concat(U(h)).sort((e,t)=>e-t);for(let{V:e,M:t}of(I.forEach((e,t)=>{let r=n(),i=I[t]=r?I[t-r]:{V:[],M:new Map};i.V.push(e),h.has(e)||m.set(e,i)}),new Set(m.values()))){let n=[];for(let t of e){let e=p.filter(e=>q(e,t)),r=n.find(({G:t})=>e.some(e=>t.has(e)));r||(r={G:new Set,V:[]},n.push(r)),r.V.push(t),o(r.G,e)}let r=n.flatMap(e=>U(e.G));for(let{G:e,V:i}of n){let n=new Set(r.filter(t=>!e.has(t)));for(let e of i)t.set(e,n)}}b=new Set;let M=new Set,S=e=>b.has(e)?M.add(e):b.add(e);for(let e of p){for(let t of e.P)S(t);for(let t of e.Q)S(t)}for(let e of b)m.has(e)||M.has(e)||m.set(e,1);for(let r of(o(b,N(b).map(O)),g=(e=[],t=A(n),function t({S:n,B:r},i,o){if(!(4&n)||o!==i[i.length-1])for(let a of(2&n&&(o=i[i.length-1]),1&n&&e.push(i),r))for(let e of a.Q)t(a,[...i,e],o)}(function e(r){return{S:n(),B:E(()=>{let r=A(n).map(e=>t[e]);if(r.length)return e(r)}),Q:r}}([]),[]),e).map(e=>D.from(e)).sort(P),y=new Map,g)){let e=[y];for(let t of r){let n=e.map(e=>{let n=e.get(t);return n||(n=new Map,e.set(t,n)),n});65039===t?e.push(...n):e=n}for(let t of e)t.V=r}}function j(e){return(Q(e)?"":`${z(W([e]))} `)+I(e)}function z(e){return`"${e}"\u200E`}function W(e,t=1/0,n=I){var r,i;let o=[];r=e[0],L(),l.has(r)&&o.push("â"),e.length>t&&(t>>=1,e=[...e.slice(0,t),8230,...e.slice(-t)]);let a=0,s=e.length;for(let t=0;t<s;t++){let r=e[t];Q(r)&&(o.push(k(e.slice(a,t))),o.push(n(r)),a=t+1)}return o.push(k(e.slice(a,s))),o.join("")}function Q(e){return L(),d.has(e)}function _(e){return Error(`disallowed character: ${j(e)}`)}function G(e,t){let n=j(t),r=p.find(e=>e.P.has(t));return r&&(n=`${r.N} ${n}`),Error(`illegal mixture: ${e.N} + ${n}`)}function H(e){return Error(`illegal placement: ${e}`)}function K(e){return e.filter(e=>65039!=e)}let $="valid";function V(e){var t;return(t=function(e,t,n){if(!e)return[];L();let r=0;return e.split(".").map(e=>{let i=function(e){let t=[];for(let n=0,r=e.length;n<r;){let r=e.codePointAt(n);n+=r<65536?1:2,t.push(r)}return t}(e),o={input:i,offset:r};r+=i.length+1;try{let e,r=o.tokens=function(e,t,n){let r=[],i=[];for(e=e.slice().reverse();e.length;){let o=function(e,t){let n,r=y,i=e.length;for(;i&&(r=r.get(e[--i]));){let{V:o}=r;o&&(n=o,t&&t.push(...e.slice(i).reverse()),e.length=i)}return n}(e);if(o)i.length&&(r.push(t(i)),i=[]),r.push(n(o));else{let t=e.pop();if(b.has(t))i.push(t);else{let e=s.get(t);if(e)i.push(...e);else if(!c.has(t))throw _(t)}}}return i.length&&r.push(t(i)),r}(i,t,n),a=r.length;if(!a)throw Error("empty label");let d=o.output=r.flat();for(let e=d.lastIndexOf(95);e>0;)if(95!==d[--e])throw Error("underscore allowed only at start");if(!(o.emoji=a>1||r[0].is_emoji)&&d.every(e=>e<128)){if(d.length>=4&&45==d[2]&&45==d[3])throw Error(`invalid label extension: "${k(d.slice(0,4))}"`);e="ASCII"}else{let t=r.flatMap(e=>e.is_emoji?[]:e);if(t.length){if(l.has(d[0]))throw H("leading combining mark");for(let e=1;e<a;e++){let t=r[e];
1if(!t.is_emoji&&l.has(t[0]))throw H(`emoji + combining mark: "${k(r[e-1])} + ${W([t[0]])}"`)}!function(e){let t=e[0],n=w.get(t);if(n)throw H(`leading ${n}`);let r=e.length,i=-1;for(let o=1;o<r;o++){t=e[o];let r=w.get(t);if(r){if(i==o)throw H(`${n} + ${r}`);i=o+1,n=r}}if(i==r)throw H(`trailing ${n}`)}(d);let n=U(new Set(t)),[i]=function(e){let t=p;for(let n of e){let e=t.filter(e=>q(e,n));if(!e.length)if(p.some(e=>q(e,n)))throw G(t[0],n);else throw _(n);if(t=e,1==e.length)break}return t}(n);(function(e,t){for(let n of t)if(!q(e,n))throw G(e,n);if(e.M){var n;let e=(n=t,N(n).map(O));for(let t=1,n=e.length;t<n;t++)if(u.has(e[t])){let r=t+1;for(let i;r<n&&u.has(i=e[r]);r++)for(let n=t;n<r;n++)if(e[n]==i)throw Error(`duplicate non-spacing marks: ${j(i)}`);if(r-t>4)throw Error(`excessive non-spacing marks: ${z(W(e.slice(t-1,r)))} (${r-t}/4)`);t=r}}})(i,t),function(e,t){let n,r=[];for(let e of t){let t=m.get(e);if(1===t)return;if(t){let r=t.M.get(e);if(!(n=n?n.filter(e=>r.has(e)):U(r)).length)return}else r.push(e)}if(n){for(let t of n)if(r.every(e=>q(t,e)))throw Error(`whole-script confusable: ${e.N}/${t.N}`)}}(i,n),e=i.N}else e="Emoji"}o.type=e}catch(e){o.error=e}return o})}(e,R,K)).map(({input:e,error:n,output:r})=>{if(n){let r=n.message;throw Error(1==t.length?r:`Invalid label ${z(W(e,63))}: ${r}`)}return k(r)}).join(".")}},2401:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",c="object",l="string",u="major",d="model",f="name",p="type",h="vendor",m="version",b="architecture",g="console",y="mobile",w="tablet",v="smarttv",A="wearable",x="embedded",C="Amazon",E="Apple",B="ASUS",I="BlackBerry",k="Browser",P="Chrome",M="Firefox",S="Google",O="Huawei",T="Microsoft",N="Motorola",F="Opera",R="Samsung",U="Sharp",q="Sony",D="Xiaomi",L="Zebra",j="Facebook",z="Chromium OS",W="Mac OS",Q=" Browser",_=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===l&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},$=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},V=function(e,t){for(var n,r,i,s,l,u,d=0;d<t.length&&!l;){var f=t[d],p=t[d+1];for(n=r=0;n<f.length&&!l&&f[n];)if(l=f[n++].exec(e))for(i=0;i<p.length;i++)u=l[++r],typeof(s=p[i])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):void 0:this[s[0]]=u?s[1].call(this,u,s[2]):void 0:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):o):this[s]=u||o;d+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?o:n}else if(H(t[n],e))return"?"===n?o:n;return t.hasOwnProperty("*")?t["*"]:e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,F+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[f,F+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[f,F]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[m,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,m],[/quark(?:pc)?\/([-\w\.]+)/i],[m,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[m,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UC"+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[f,"Smart Lenovo "+k]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+k],m],[/\bfocus\/([\w\.]+)/i],[m,[f,M+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,F+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,F+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI"+Q]],[/fxios\/([\w\.-]+)/i],[m,[f,M]],[/\bqihoobrowser\/?([\w\.]*)/i],[m,[f,"3
160"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],m],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+Q],m],[/samsungbrowser\/([\w\.]+)/i],[m,[f,R+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[m,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,m],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[m,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,j],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,P+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android "+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,J,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,M+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[f,[m,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,K]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,R],[p,w]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,R],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,E],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,E],[p,w]],[/(macintosh);/i],[d,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,U],[p,y]],[/(?:honor)([-\w ]+)[;\)]/i],[d,[h,"Honor"],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,O],[p,w]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,O],[p,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[d,/_/g," "],[h,D],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,D],[p,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[p,y]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[p,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[p,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,N],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,N],[p,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,"LG"],[p,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,"LG"],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[p,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[p,y]],[/(pixel c)\b/i],[d,[h,S],[p,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,S],[p,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,q],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,q],[p,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,C],[p,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,C],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[p,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,I],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,B],[p,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,B],[p,y]],[/(nexus 9)/i],[d,[h,"HTC"],[p,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[p,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[h,"TCL"],[p,w]],[/(itel) ((\w+))/i],[[h,K],d,[p,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[p,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[p,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[d,[h,"Energizer"],[p,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[d,[h,"Cat"],[p,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[d,[h,"Smartfren"],[p,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[h,"Nothing"],[p,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/;
vendor: 7,475 bytes, line 1
1 (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[p,y]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[p,w]],[/(surface duo)/i],[d,[h,T],[p,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[p,y]],[/(u304aa)/i],[d,[h,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[p,w]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[p,w]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[p,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[p,w]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[p,w]],[/\b(k88) b/i],[d,[h,"ZTE"],[p,w]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[p,w]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[p,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[p,w]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[p,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[p,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[p,y]],[/\b(ph-1) /i],[d,[h,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[p,w]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[p,w]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[p,w]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[p,w]],[/(sprint) (\w+)/i],[h,d,[p,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,T],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,L],[p,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,L],[p,y]],[/smart-tv.+(samsung)/i],[h,[p,v]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,R],[p,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,"LG"],[p,v]],[/(apple) ?tv/i],[h,[d,E+" TV"],[p,v]],[/crkey/i],[[d,P+"cast"],[h,S],[p,v]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,C],[p,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,U],[p,v]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,q],[p,v]],[/(mitv-\w{5}) bui/i],[d,[h,D],[p,v]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[p,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,$],[d,$],[p,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[p,g]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[d,[h,q],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,T],[p,g]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[d,[h,R],[p,A]],[/((pebble))app/i],[h,d,[p,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,E],[p,A]],[/droid.+; (glass) \d/i],[d,[h,S],[p,A]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,L],[p,A]],[/droid.+; (glass) \d/i],[d,[h,S],[p,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,d,[p,A]],[/; (quest( \d| pro)?)/i],[d,[h,j],[p,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,x]],[/(aeobc)\b/i],[d,[h,C],[p,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,m],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[m,J,Y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,J,Y],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[f,M+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[f,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,m]]},X=function(e,t){if(typeof e===c&&(t=e,e=o),!(this instanceof X))return new X(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),g=n&&n.userAgentData?n.userAgentData:o,v=t?_(Z,t):Z,A=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=o,t[m]=o,V.call(t,r,v.browser),t[u]=typeof(e=t[m])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:o,A&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[b]=o,V.call(e,r,v.cpu),e},this.getDevice=function(){var e={};return e[h]=o,e[d]=o,e[p]=o,V.call(e,r,v.device),A&&!e[p]&&g&&g.mobile&&(e[p]=y),A&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[p]=w),e},this.getEngine=function(){var e={};return e[f]=o,e[m]=o,V.call(e,r,v.engine),e},this.getOS=function(){var e={};return e[f]=o,e[m]=o,V.call(e,r,v.os),A&&!e[f]&&g&&g.platform&&"Unknown"!=g.platform&&(e[f]=g.platform.replace(/chrome os/i,z).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===l&&e.length>500?$(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.40",X.BROWSER=G([f,m,u]),X.CPU=G([b]),X.DEVICE=G([d,h,p,g,y,v,w,A,x]),X.ENGINE=X.OS=G([f,m]),typeof t!==s?(e.exp
1orts&&(t=e.exports=X),t.UAParser=X):n.amdO?o===(r=(function(){return X}).call(t,n,t,e))||(e.exports=r):typeof i!==s&&(i.UAParser=X);var ee=typeof i!==s&&(i.jQuery||i.Zepto);if(ee&&!ee.ua){var et=new X;ee.ua=et.getResult(),ee.ua.get=function(){return et.getUA()},ee.ua.set=function(e){et.setUA(e);var t=et.getResult();for(var n in t)ee.ua[n]=t[n]}}}("object"==typeof window?window:this)},3488:(e,t,n)=>{"use strict";n.d(t,{J:()=>c});var r=n(69330),i=n(60367),o=n(54842),a=n(34524),s=n(96635);async function c(e,t){let{abi:n,address:c,args:l,functionName:u,...d}=t,f=(0,i.p)({abi:n,args:l,functionName:u});try{let{data:t}=await (0,a.T)(e,s.T,"call")({...d,data:f,to:c});return(0,r.e)({abi:n,args:l,functionName:u,data:t||"0x"})}catch(e){throw(0,o.j)(e,{abi:n,address:c,args:l,docsPath:"/docs/contract/readContract",functionName:u})}}},4805:(e,t,n)=>{"use strict";n.d(t,{Hi:()=>i,ft:()=>o,uj:()=>s});var r=n(7441);class i extends r.C{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class o extends r.C{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function a(e){return e.reduce((e,{slot:t,value:n})=>`${e} ${t}: ${n} 2`,"")}function s(e){return e.reduce((e,{address:t,...n})=>{let r=`${e} ${t}: 3`;return n.nonce&&(r+=` nonce: ${n.nonce} 4`),n.balance&&(r+=` balance: ${n.balance} 5`),n.code&&(r+=` code: ${n.code} 6`),n.state&&(r+=" state:\n",r+=a(n.state)),n.stateDiff&&(r+=" stateDiff:\n",r+=a(n.stateDiff)),r}," State Override:\n").slice(0,-1)}},6083:(e,t,n)=>{"use strict";n.d(t,{C:()=>p});var r=n(14493),i=n(99702),o=n(7441),a=n(35109),s=n(69330),c=n(60367),l=n(13861),u=n(54842),d=n(34524),f=n(3488);async function p(e,t){let{account:n,allowFailure:p=!0,batchSize:h,blockNumber:m,blockTag:b,multicallAddress:g,stateOverride:y}=t,w=t.contracts,v=h??("object"==typeof e.batch?.multicall&&e.batch.multicall.batchSize||1024),A=g;if(!A){if(!e.chain)throw Error("client chain not configured. multicallAddress is required.");A=(0,l.M)({blockNumber:m,chain:e.chain,contract:"multicall3"})}let x=[[]],C=0,E=0;for(let e=0;e<w.length;e++){let{abi:t,address:r,args:i,functionName:o}=w[e];try{let e=(0,c.p)({abi:t,args:i,functionName:o});E+=(e.length-2)/2,v>0&&E>v&&x[C].length>0&&(C++,E=(e.length-2)/2,x[C]=[]),x[C]=[...x[C],{allowFailure:!0,callData:e,target:r}]}catch(a){let e=(0,u.j)(a,{abi:t,address:r,args:i,docsPath:"/docs/contract/multicall",functionName:o,sender:n});if(!p)throw e;x[C]=[...x[C],{allowFailure:!0,callData:"0x",target:r}]}}let B=await Promise.allSettled(x.map(t=>(0,d.T)(e,f.J,"readContract")({abi:r.v2,account:n,address:A,args:[t],blockNumber:m,blockTag:b,functionName:"aggregate3",stateOverride:y}))),I=[];for(let e=0;e<B.length;e++){let t=B[e];if("rejected"===t.status){if(!p)throw t.reason;for(let n=0;n<x[e].length;n++)I.push({status:"failure",error:t.reason,result:void 0});continue}let n=t.value;for(let t=0;t<n.length;t++){let{returnData:r,success:o}=n[t],{callData:c}=x[e][t],{abi:l,address:d,functionName:f,args:h}=w[I.length];try{if("0x"===c)throw new i.O;if(!o)throw new a.$S({data:r});let e=(0,s.e)({abi:l,args:h,data:r,functionName:f});I.push(p?{result:e,status:"success"}:e)}catch(t){let e=(0,u.j)(t,{abi:l,address:d,args:h,docsPath:"/docs/contract/multicall",functionName:f});if(!p)throw e;I.push({error:e,result:void 0,status:"failure"})}}}if(I.length!==w.length)throw new o.C("multicall results mismatch");return I}},7441:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});let r="2.31.0",i={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${r}`};class o extends Error{constructor(e,t={}){let n=t.cause instanceof o?t.cause.details:t.cause?.message?t.cause.message:t.details,a=t.cause instanceof o&&t.cause.docsPath||t.docsPath,s=i.getDocsUrl?.({...t,docsPath:a});super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...s?[`Docs: ${s}`]:[],...n?[`Details: ${n}`]:[],...i.version?[`Version: ${i.version}`]:[]].join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=n,this.docsPath=a,this.metaMessages=t.metaMessages,this.name=t.name??this.name,this.shortMessage=e,this.version=r}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&void 0!==t.cause?e(t.cause,n):n?null:t}(this,e)}}}
6,7612:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});var r=n(80844),i=n(67622),o=n(24578),a=n(70872);function s(e){let t=e.replace(/^\.|\.$/gm,"");if(0===t.length)return new Uint8Array(1);let n=new Uint8Array((0,r.Af)(t).byteLength+2),s=0,c=t.split(".");for(let e=0;e<c.length;e++){var l;let t=(0,r.Af)(c[e]);t.byteLength>255&&(t=(0,r.Af)((l=function(e){let t=new Uint8Array(32).fill(0);return e?(0,a.q)(e)||(0,o.S)((0,r.Af)(e)):(0,i.My)(t)}(c[e]),`[${l.slice(2)}]`))),n[s]=t.length,n.set(t,s+1),s+=t.length+1}return n.byteLength!==s+1?n.slice(0,s+1):n}},7671:(e,t,n)=>{"use strict";function r(e,{format:t}){if(!t)return{};let n={};return!function t(r){for(let i of Object.keys(r))i in e&&(n[i]=e[i]),r[i]&&"object"==typeof r[i]&&!Array.isArray(r[i])&&t(r[i])}(t(e||{})),n}n.d(t,{o:()=>r})},8512:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{lY:()=>C});var a=n(48701),s=n(19989);let c=BigInt(0),l=BigInt(1),u=BigInt(2),d=BigInt(7),f=BigInt(256),p=BigInt(113),h=[],m=[],b=[];for(let e=0,t=l,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],h.push(2*(5*r+n)),m.push((e+1)*(e+2)/2%64);let i=c;for(let e=0;e<7;e++)(t=(t<<l^(t>>d)*p)%f)&u&&(i^=l<<(l<<BigInt(e))-l);b.push(i)}let g=(0,a.lD)(b,!0),y=g[0],w=g[1],v=(e,t,n)=>n>32?(0,a.WM)(e,t,n):(0,a.P5)(e,t,n),A=(e,t,n)=>n>32?(0,a.im)(e,t,n):(0,a.B4)(e,t,n);class x extends s.Vw{constructor(e,t,n,r=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=r,this.rounds=i,(0,s.Fe)(n),!(0<e&&e<200))throw Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,s.DH)(this.state)}clone(){return this._cloneInto()}keccak(){(0,s.fd)(this.state32),function(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let t=0;t<10;t++)n[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let r=(t+8)%10,i=(t+2)%10,o=n[i],a=n[i+1],s=v(o,a,1)^n[r],c=A(o,a,1)^n[r+1];for(let n=0;n<50;n+=10)e[t+n]^=s,e[t+n+1]^=c}let t=e[2],i=e[3];for(let n=0;n<24;n++){let r=m[n],o=v(t,i,r),a=A(t,i,r),s=h[n];t=e[s],i=e[s+1],e[s]=o,e[s+1]=a}for(let t=0;t<50;t+=10){for(let r=0;r<10;r++)n[r]=e[t+r];for(let r=0;r<10;r++)e[t+r]^=~n[(r+2)%10]&n[(r+4)%10]}e[0]^=y[r],e[1]^=w[r]}(0,s.uH)(n)}(this.state32,this.rounds),(0,s.fd)(this.state32),this.posOut=0,this.pos=0}update(e){(0,s.CC)(this),e=(0,s.ZJ)(e),(0,s.DO)(e);let{blockLen:t,state:n}=this,r=e.length;for(let i=0;i<r;){let o=Math.min(t-this.pos,r-i);for(let t=0;t<o;t++)n[this.pos++]^=e[i++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:n,blockLen:r}=this;e[n]^=t,(128&t)!=0&&n===r-1&&this.keccak(),e[r-1]^=128,this.keccak()}writeInto(e){(0,s.CC)(this,!1),(0,s.DO)(e),this.finish();let t=this.state,{blockLen:n}=this;for(let r=0,i=e.length;r<i;){this.posOut>=n&&this.keccak();let o=Math.min(n-this.posOut,i-r);e.set(t.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,s.Fe)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,s.Ht)(e,this),this.finished)throw Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,s.uH)(this.state)}_cloneInto(e){let{blockLen:t,suffix:n,outputLen:r,rounds:i,enableXOF:o}=this;return e||(e=new x(t,n,r,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=n,e.outputLen=r,e.enableXOF=o,e.destroyed=this.destroyed,e}}let C=(r=1,i=136,o=32,(0,s.qj)(()=>new x(i,r,o)))},8527:(e,t)=>{function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;
6return{width:r,scale:r?4:i,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){let r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){let i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),c=r.margin*a,l=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let u=(t*s+n)*4,d=r.color.light;t>=c&&n>=c&&t<s-c&&n<s-c&&(d=l[+!!o[Math.floor((t-c)/a)*i+Math.floor((n-c)/a)]]),e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}},9894:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{U:()=>r})},10231:(e,t,n)=>{"use strict";async function r(e){return new Promise(t=>setTimeout(t,e))}n.d(t,{u:()=>r})},10678:(e,t,n)=>{"use strict";function r(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function i(e,t){var n={};if("object"==typeof t)!function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={};for(var o in t){var a=t[o],s=[...r,o];"string"==typeof a||"number"==typeof a||null==a?i[o]=n(a,s):"object"!=typeof a||Array.isArray(a)?console.warn('Skipping invalid key "'.concat(s.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(a)?"Array":typeof a,'"')):i[o]=e(a,n,s)}return i}(t,(t,i)=>{null!=t&&(n[r(function(e,t){var n=e;for(var r of t){if(!(r in n))throw Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}(e,i))]=String(t))});else for(var i in e){var o=e[i];null!=o&&(n[r(i)]=o)}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(e=>"".concat(e,":").concat(this[e])).join(";")},writable:!1}),n}n.d(t,{D:()=>i})},13423:(e,t,n)=>{"use strict";n.d(t,{h:()=>h,k:()=>b});var r=n(99702),i=n(36444),o=n(7441),a=n(94201),s=n(81757),c=n(79731),l=n(36984),u=n(87094),d=n(93727),f=n(67622),p=n(38697);function h(e,t){if(e.length!==t.length)throw new r.YE({expectedLength:e.length,givenLength:t.length});let n=m(function({params:e,values:t}){let n=[];for(let h=0;h<e.length;h++)n.push(function e({param:t,value:n}){let h=b(t.type);if(h){let[i,o]=h;return function(t,{length:n,param:i}){let o=null===n;if(!Array.isArray(t))throw new r.dm(t);if(!o&&t.length!==n)throw new r.Nc({expectedLength:n,givenLength:t.length,type:`${i.type}[${n}]`});let a=!1,s=[];for(let n=0;n<t.length;n++){let r=e({param:i,value:t[n]});r.dynamic&&(a=!0),s.push(r)}if(o||a){let e=m(s);if(o){let t=(0,f.cK)(s.length,{size:32});return{dynamic:!0,encoded:s.length>0?(0,c.xW)([t,e]):t}}if(a)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,c.xW)(s.map(({encoded:e})=>e))}}(n,{length:i,param:{...t,type:o}})}if("tuple"===t.type)return function(t,{param:n}){let r=!1,i=[];for(let o=0;o<n.components.length;o++){let a=n.components[o],s=Array.isArray(t)?o:a.name,c=e({param:a,value:t[s]});i.push(c),c.dynamic&&(r=!0)}return{dynamic:r,encoded:r?m(i):(0,c.xW)(i.map(({encoded:e})=>e))}}(n,{param:t});if("address"===t.type){var g=n;if(!(0,s.P)(g))throw new i.M({address:g});return{dynamic:!1,encoded:(0,l.db)(g.toLowerCase())}}if("bool"===t.type){var y=n;if("boolean"!=typeof y)throw new o.C(`Invalid boolean value: "${y}" (type: ${typeof y}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,l.db)((0,f.$P)(y))}}if(t.type.startsWith("uint")||t.type.startsWith("int")){let e=t.type.startsWith("int"),[,,r="256"]=p.Ge.exec(t.type)??[];return function(e,{signed:t,size:n=256}){if("number"==typeof n){let r=2n**(BigInt(n)-(t?1n:0n))-1n,i=t?-r-1n:0n;if(e>r||e<i)throw new a.Ty({max:r.toString(),min:i.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:(0,f.cK)(e,{size:32,signed:t})}}(n,{signed:e,size:Number(r)})}if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,n]=t.type.split("bytes"),i=(0,u.E)(e);if(!n){let t=e;return i%32!=0&&(t=(0,l.db)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,c.xW)([(0,l.db)((0,f.cK)(i,{size:32})),t])}}if(i!==Number.parseInt(n))throw new r.gH({expectedSize:Number.parseInt(n),value:e});return{dynamic:!1,encoded:(0,l.db)(e,{dir:"right"})}}(n,{param:t});if("string"===t.type){var w=n;let e=(0,f.i3)(w),t=Math.ceil((0,u.E)(e)/32),r=[];for(let n=0;n<t;n++)r.push((0,l.db)((0,d.di)(e,32*n,(n+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,c.xW)([(0,l.db)((0,f.cK)((0,u.E)(e),{size:32})),...r])}}throw new r.nK(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[h],value:t[h]}));return n}({params:e,values:t}));return 0===n.length?"0x":n}function m(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:i}=e[n];r?t+=32:t+=(0,u.E)(i)}let n=[],r=[],i=0;for(let o=0;o<e.length;o++){let{dynamic:a,encoded:s}=e[o];a?(n.push((0,f.cK)(t+i,{size:32})),r.push(s),i+=(0,u.E)(s)):n.push(s)}return(0,c.xW)([...n,...r])}function b(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},13861:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(30445);function i({blockNumber:e,chain:t,contract:n}){let i=t?.contracts?.[n];if(!i)throw new r.rj({chain:t,contract:{name:n}});if(e&&i.blockCreated&&i.blockCreated>e)throw new r.rj({blockNumber:e,chain:t,contract:{name:n,blockCreated:i.blockCreated}});return i.address}}
6,14493:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>a,Rm:()=>l,SJ:()=>c,_:()=>u,b2:()=>i,oX:()=>s,v2:()=>r});let r=[{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"}],i=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],o=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"},{inputs:[],name:"ResolverNotContract",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{components:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"errors",type:"tuple[]"}],name:"HttpError",type:"error"}],a=[...o,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]},{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],s=[...o,{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"}]},{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],c=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],l=[{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"}]}],u=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}]},15071:(e,t,n)=>{"use strict";n.d(t,{v:()=>l});var r=n(55394),i=n(70030),o=n(62108),a=n(43484),s=n(18224),c=n(53031);function l(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:l,query:u={}}=n,d=(0,c.U)(n),f=(0,s.i)({config:d}),p=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:o,...a}=t[1];if(!n)throw Error("address is required");let{chainId:s,...c}={...a,address:n},l=e.getClient({chainId:s});return(0,i.T)(l,r.s,"getEnsName")(c)},queryKey:function(e={}){return["ensName",(0,o.xO)(e)]}(t)}}(d,{...n,chainId:null!=(e=n.chainId)?e:f}),h=!!(l&&(null==(t=u.enabled)||t));return(0,a.IT)({...u,...p,enabled:h})}},15313:(e,t,n)=>{"use strict";n.d(t,{LX:()=>r,WN:()=>i,nP:()=>o});let r="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b
6602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",i="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",o="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
6603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"},15484:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,b:()=>r});var r=n(82661);let i=r},15580:(e,t,n)=>{let r=n(43585),i=n(46087);function o(e){this.mode=r.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=i.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),e.put(n,13)}},e.exports=o},16862:(e,t,n)=>{let r=n(94676),i=n(55908),o=n(46514),a=n(62013);function s(e,t,n,o,a){let s=[].slice.call(arguments,1),c=s.length,l="function"==typeof s[c-1];if(!l&&!r())throw Error("Callback required as last argument");if(l){if(c<2)throw Error("Too few arguments provided");2===c?(a=n,n=t,t=o=void 0):3===c&&(t.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=t,t=void 0))}else{if(c<1)throw Error("Too few arguments provided");return 1===c?(n=t,t=o=void 0):2!==c||t.getContext||(o=n,n=t,t=void 0),new Promise(function(r,a){try{let a=i.create(n,o);r(e(a,t,o))}catch(e){a(e)}})}try{let r=i.create(n,o);a(null,e(r,t,o))}catch(e){a(e)}}t.create=i.create,t.toCanvas=s.bind(null,o.render),t.toDataURL=s.bind(null,o.renderToDataURL),t.toString=s.bind(null,function(e,t,n){return a.render(e,n)})},17255:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var r=n(36444),i=n(81757);function o(e,t){if(!(0,i.P)(e,{strict:!1}))throw new r.M({address:e});if(!(0,i.P)(t,{strict:!1}))throw new r.M({address:t});return e.toLowerCase()===t.toLowerCase()}},18224:(e,t,n)=>{"use strict";function r(e){return e.state.chainId}n.d(t,{i:()=>a});var i=n(12115),o=n(53031);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.U)(e);return(0,i.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(e=>e.chainId,n)})(t,{onChange:e}),()=>r(t),()=>r(t))}},19405:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}n.d(t,{J:()=>r})}
6,19989:(e,t,n)=>{"use strict";n.d(t,{Vw:()=>E,DO:()=>o,CC:()=>s,sd:()=>a,Fe:()=>i,Ht:()=>c,My:()=>g,uH:()=>u,Id:()=>C,qj:()=>B,O8:()=>d,aT:()=>v,po:()=>I,aZ:()=>p,Ow:()=>f,fd:()=>h,ZJ:()=>x,DH:()=>l,AI:()=>A});let r="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error("positive integer expected, got "+e)}function o(e,...t){if(!(e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error("Uint8Array expected of length "+t+", got length="+e.length)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.createHasher");i(e.outputLen),i(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function c(e,t){o(e);let n=t.outputLen;if(e.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}function l(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function u(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function d(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function f(e,t){return e<<32-t|e>>>t}function p(e,t){return e<<t|e>>>32-t>>>0}let h=68===new Uint8Array(new Uint32Array([0x11223344]).buffer)[0]?e=>e:function(e){for(let n=0;n<e.length;n++){var t;e[n]=(t=e[n])<<24&0xff000000|t<<8&0xff0000|t>>>8&65280|t>>>24&255}return e},m="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,b=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function g(e){if(o(e),m)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=b[e[n]];return t}let y={_0:48,_9:57,A:65,F:70,a:97,f:102};function w(e){return e>=y._0&&e<=y._9?e-y._0:e>=y.A&&e<=y.F?e-(y.A-10):e>=y.a&&e<=y.f?e-(y.a-10):void 0}function v(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(m)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){let n=w(e.charCodeAt(i)),o=w(e.charCodeAt(i+1));if(void 0===n||void 0===o)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);r[t]=16*n+o}return r}function A(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function x(e){return"string"==typeof e&&(e=A(e)),o(e),e}function C(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];o(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}class E{}function B(e){let t=t=>e().update(x(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function I(e=32){if(r&&"function"==typeof r.getRandomValues)return r.getRandomValues(new Uint8Array(e));if(r&&"function"==typeof r.randomBytes)return Uint8Array.from(r.randomBytes(e));throw Error("crypto.getRandomValues must be defined")}},20760:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(99702),i=n(79731),o=n(13423);let a="/docs/contract/encodeDeployData";function s(e){let{abi:t,args:n,bytecode:s}=e;if(!n||0===n.length)return s;let c=t.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new r.YW({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new r.YF({docsPath:a});let l=(0,o.h)(c.inputs,n);return(0,i.aP)([s,l])}},21135:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var r=n(93727),i=n(49204);let o=e=>(0,r.di)((0,i.k)(e),0,4)},21159:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,B:()=>i});var r=n(99702);function i(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new r.d_(e.type);return`${e.name}(${o(e.inputs,{includeName:t})})`}function o(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${o(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},22732:(e,t,n)=>{"use strict";function r(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}n.d(t,{x:()=>r})},23008:(e,t,n)=>{"use strict";n.d(t,{iY:()=>c});var r=n(99702),i=n(32840),o=n(81757),a=n(399),s=n(21135);function c(e){let t,{abi:n,args:c=[],name:l}=e,u=(0,i.q)(l,{strict:!1}),d=n.filter(e=>u?"function"===e.type?(0,s.V)(e)===l:"event"===e.type&&(0,a.h)(e)===l:"name"in e&&e.name===l);if(0!==d.length){if(1===d.length)return d[0];for(let e of d){if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}
6if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,i=n.type;switch(i){case"address":return(0,o.P)(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===i&&"components"in n)return Object.values(n.components).every((n,r)=>e(Object.values(t)[r],n));if(/^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)?$/.test(i))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===r||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(t&&"inputs"in t&&t.inputs){let n=function e(t,n,r){for(let i in t){let a=t[i],s=n[i];if("tuple"===a.type&&"tuple"===s.type&&"components"in a&&"components"in s)return e(a.components,s.components,r[i]);let c=[a.type,s.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,o.P)(r[i],{strict:!1}))return c}}(e.inputs,t.inputs,c);if(n)throw new r.nM({abiItem:e,type:n[0]},{abiItem:t,type:n[1]})}t=e}}}return t||d[0]}}},23058:(e,t,n)=>{"use strict";n.d(t,{Y:()=>g});var r=n(5041),i=n(19405),o=n(7441);class a extends o.C{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}o.C;var s=n(67622);async function c(e,{account:t=e.account,message:n}){if(!t)throw new a({docsPath:"/docs/actions/wallet/signMessage"});let r=(0,i.J)(t);if(r.signMessage)return r.signMessage({message:n});let o="string"==typeof n?(0,s.i3)(n):n.raw instanceof Uint8Array?(0,s.nj)(n.raw):n.raw;return e.request({method:"personal_sign",params:[o,r.address]},{retryCount:0})}var l=n(70030),u=n(98078),d=n(54315),f=n(35883),p=n(77752);async function h(e,t={}){let n;if(t.connector){let{connector:r}=t;if("reconnecting"===e.state.status&&!r.getAccounts&&!r.getChainId)throw new p.HF({connector:r});let[i,o]=await Promise.all([r.getAccounts().catch(e=>{if(null===t.account)return[];throw e}),r.getChainId()]);n={accounts:i,chainId:o,connector:r}}else n=e.state.connections.get(e.state.current);if(!n)throw new p.gC;let r=t.chainId??n.chainId,o=await n.connector.getChainId();if(o!==n.chainId)throw new p.xU({connectionChainId:n.chainId,connectorChainId:o});let a=n.connector;if(a.getClient)return a.getClient({chainId:r});let s=(0,i.J)(t.account??n.accounts[0]);if(s&&(s.address=(0,f.b)(s.address)),t.account&&!n.accounts.some(e=>e.toLowerCase()===s.address.toLowerCase()))throw new p.aj({address:s.address,connector:a});let c=e.chains.find(e=>e.id===r),l=await n.connector.getProvider({chainId:r});return(0,u.U)({account:s,chain:c,name:"Connector Client",transport:e=>(function(e,t={}){let{key:n="custom",methods:r,name:i="Custom Provider",retryDelay:o}=t;return({retryCount:a})=>(0,d.o)({key:n,methods:r,name:i,request:e.request.bind(e),retryCount:t.retryCount??a,retryDelay:o,type:"custom"})})(l)({...e,retryCount:0})})}async function m(e,t){let n,{account:r,connector:i,...o}=t;return n="object"==typeof r&&"local"===r.type?e.getClient():await h(e,{account:r,connector:i}),(0,l.T)(n,c,"signMessage")({...o,...r?{account:r}:{}})}var b=n(53031);function g(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:n}=t,i=(e=(0,b.U)(t),{mutationFn:t=>m(e,t),mutationKey:["signMessage"]}),{mutate:o,mutateAsync:a,...s}=(0,r.n)({...n,...i});return{...s,signMessage:o,signMessageAsync:a}}},23360:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(35109),i=n(42264),o=n(35020);function a(e,{docsPath:t,...n}){let a=(()=>{let t=(0,o.l)(e,n);return t instanceof i.RM?e:t})();return new r.zX(a,{docsPath:t,...n})}},24578:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r=n(8512),i=n(32840),o=n(80844),a=n(67622);function s(e,t){let n=(0,r.lY)((0,i.q)(e,{strict:!1})?(0,o.ZJ)(e):e);return"bytes"===(t||"hex")?n:(0,a.nj)(n)}},24611:(e,t,n)=>{"use strict";n.d(t,{Id:()=>A,My:()=>f,OG:()=>I,Ph:()=>b,Q5:()=>O,aK:()=>E,aT:()=>m,aY:()=>o,dJ:()=>B,e8:()=>s,fg:()=>M,lX:()=>g,lq:()=>y,qj:()=>v,r4:()=>C,x:()=>T,z:()=>w,zW:()=>c});let r=BigInt(0),i=BigInt(1);function o(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function a(e){if(!o(e))throw Error("Uint8Array expected")}function s(e,t){if("boolean"!=typeof t)throw Error(e+" boolean expected, got "+t)}function c(e){let t=e.toString(16);return 1&t.length?"0"+t:t}function l(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return""===e?r:BigInt("0x"+e)}let u="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,d=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function f(e){if(a(e),u)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=d[e[n]];return t}let p={_0:48,_9:57,A:65,F:70,a:97,f:102};function h(e){return e>=p._0&&e<=p._9?e-p._0:e>=p.A&&e<=p.F?e-(p.A-10):e>=p.a&&e<=p.f?e-(p.a-10):void 0}function m(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(u)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){let n=h(e.charCodeAt(i)),o=h(e.charCodeAt(i+1));if(void 0===n||void 0===o)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);r[t]=16*n+o}return r}function b(e){return l(f(e))}function g(e){return a(e),l(f(Uint8Array.from(e).reverse()))}function y(e,t){return m(e.toString(16).padStart(2*t,"0"))}function w(e,t){return y(e,t).reverse()}function v(e,t,n){let r;if("string"==typeof t)try{r=m(t)}catch(t){throw Error(e+" must be hex string or Uint8Array, cause: "+t)}else if(o(t))r=Uint8Array.from(t);else throw Error(e+" must be hex string or Uint8Array");let i=r.length;if("number"==typeof n&&i!==n)throw Error(e+" of length "+n+" expected, got "+i);return r}function A(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];a(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}let x=e=>"bigint"==typeof e&&r<=e;
6function C(e,t,n){return x(e)&&x(t)&&x(n)&&t<=e&&e<n}function E(e,t,n,r){if(!C(t,n,r))throw Error("expected valid "+e+": "+n+" <= n < "+r+", got "+t)}function B(e){let t;for(t=0;e>r;e>>=i,t+=1);return t}let I=e=>(i<<BigInt(e))-i,k=e=>new Uint8Array(e),P=e=>Uint8Array.from(e);function M(e,t,n){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof n)throw Error("hmacFn must be a function");let r=k(e),i=k(e),o=0,a=()=>{r.fill(1),i.fill(0),o=0},s=(...e)=>n(i,r,...e),c=(e=k(0))=>{i=s(P([0]),e),r=s(),0!==e.length&&(i=s(P([1]),e),r=s())},l=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,n=[];for(;e<t;){let t=(r=s()).slice();n.push(t),e+=r.length}return A(...n)};return(e,t)=>{let n;for(a(),c(e);!(n=t(l()));)c();return a(),n}}let S={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||o(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function O(e,t,n={}){let r=(t,n,r)=>{let i=S[n];if("function"!=typeof i)throw Error("invalid validator function");let o=e[t];if((!r||void 0!==o)&&!i(o,e))throw Error("param "+String(t)+" is invalid. Expected "+n+", got "+o)};for(let[e,n]of Object.entries(t))r(e,n,!1);for(let[e,t]of Object.entries(n))r(e,t,!0);return e}function T(e){let t=new WeakMap;return(n,...r)=>{let i=t.get(n);if(void 0!==i)return i;let o=e(n,...r);return t.set(n,o),o}}},25507:(e,t,n)=>{"use strict";n.d(t,{yH:()=>l});var r=n(36444),i=n(58980),o=n(4805),a=n(81757),s=n(67622);function c(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new i.NV({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new i.NV({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function l(e){if(!e)return;let t={};for(let{address:n,...i}of e){if(!(0,a.P)(n,{strict:!1}))throw new r.M({address:n});if(t[n])throw new o.Hi({address:n});t[n]=function(e){let{balance:t,nonce:n,state:r,stateDiff:i,code:a}=e,l={};if(void 0!==a&&(l.code=a),void 0!==t&&(l.balance=(0,s.cK)(t)),void 0!==n&&(l.nonce=(0,s.cK)(n)),void 0!==r&&(l.state=c(r)),void 0!==i){if(l.state)throw new o.ft;l.stateDiff=c(i)}return l}(i)}return t}},26719:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(5041);async function i(e,t={}){let n;if(t.connector)n=t.connector;else{let{connections:t,current:r}=e.state,i=t.get(r);n=i?.connector}let r=e.state.connections;n&&(await n.disconnect(),n.emitter.off("change",e._internal.events.change),n.emitter.off("disconnect",e._internal.events.disconnect),n.emitter.on("connect",e._internal.events.connect),r.delete(n.uid)),e.setState(e=>{if(0===r.size)return{...e,connections:new Map,current:null,status:"disconnected"};let t=r.values().next().value;return{...e,connections:new Map(r),current:t.connector.uid}});{let t=e.state.current;if(!t)return;let n=e.state.connections.get(t)?.connector;if(!n)return;await e.storage?.setItem("recentConnectorId",n.id)}}var o=n(53031),a=n(34250);let s=[];function c(e){let t=[...e.state.connections.values()];return"reconnecting"===e.state.status||(0,a.b)(s,t)?s:(s=t,t)}var l=n(12115);function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,o.U)(e),s={mutationFn:e=>i(n,e),mutationKey:["disconnect"]},{mutate:u,mutateAsync:d,...f}=(0,r.n)({...t,...s});return{...f,connectors:(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.U)(e);return(0,l.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>c(e),n,{equalityFn:a.b})})(t,{onChange:e}),()=>c(t),()=>c(t))})({config:n}).map(e=>e.connector),disconnect:u,disconnectAsync:d}}},27493:(e,t,n)=>{"use strict";n.d(t,{IQ:()=>d,ME:()=>u,Nx:()=>l,Sl:()=>s,uU:()=>c});var r=n(94201),i=n(87094),o=n(54335),a=n(80844);function s(e,{size:t}){if((0,i.E)(e)>t)throw new r.u({givenSize:(0,i.E)(e),maxSize:t})}function c(e,t={}){let{signed:n}=t;t.size&&s(e,{size:t.size});let r=BigInt(e);if(!n)return r;let i=(e.length-2)/2;return r<=(1n<<8n*BigInt(i)-1n)-1n?r:r-BigInt(`0x${"f".padStart(2*i,"f")}`)-1n}function l(e,t={}){let n=e;if(t.size&&(s(n,{size:t.size}),n=(0,o.B)(n)),"0x00"===(0,o.B)(n))return!1;if("0x01"===(0,o.B)(n))return!0;throw new r.H2(n)}function u(e,t={}){return Number(c(e,t))}function d(e,t={}){let n=(0,a.aT)(e);return t.size&&(s(n,{size:t.size}),n=(0,o.B)(n,{dir:"right"})),new TextDecoder().decode(n)}},27593:function(e){e.exports=function(){var e={17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18);t.default=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";
6case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,c=e.map([t,n],function(t){var n=a-e.getVersionPrecision(t),r=t+Array(n+1).join(".0");return e.map(r.split("."),function(e){return Array(20-e.length).join("0")+e}).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(c[0][a]>c[1][a])return 1;if(c[0][a]===c[1][a]){if(a===s)return 0;a-=1}else if(c[0][a]<c[1][a])return -1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.find=function(e,t){var n,r;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,r=e.length;n<r;n+=1){var i=e[n];if(t(i,n))return i}},e.assign=function(e){for(var t,n,r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(Object.assign)return Object.assign.apply(Object,[e].concat(i));for(t=0,n=i.length;t<n;t+=1)!function(){var n=i[t];"object"==typeof n&&null!==n&&Object.keys(n).forEach(function(t){e[t]=n[t]})}();return e},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}(),e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);t.default=function(){function e(){}return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw Error("UserAgent should be a string");return new i.default(e,t)},e.parse=function(e){return new i.default(e).getResult()},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e,[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}]),e}(),e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(92)),i=c(n(93)),o=c(n(94)),a=c(n(95)),s=c(n(17));
vendor: 6,963 bytes, line 6
6function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=s.default.find(r.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=s.default.find(i.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=s.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=s.default.find(a.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return s.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,i={},o=0;if(Object.keys(e).forEach(function(t){var a=e[t];"string"==typeof a?(i[t]=a,o+=1):"object"==typeof a&&(n[t]=a,r+=1)}),r>0){var a=Object.keys(n),c=s.default.find(a,function(e){return t.isOS(e)});if(c){var l=this.satisfies(n[c]);if(void 0!==l)return l}var u=s.default.find(a,function(e){return t.isPlatform(e)});if(u){var d=this.satisfies(n[u]);if(void 0!==d)return d}}if(o>0){var f=Object.keys(i),p=s.default.find(f,function(e){return t.isBrowser(e,!0)});if(void 0!==p)return this.compareVersion(i[p])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}(),e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i;t.default=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"}
vendor: 7,814 bytes, line 6
6,n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}],e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18);t.default=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);
6return{name:o.OS_MAP.PlayStation4,version:t}}}],e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18);t.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}],e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18);t.default=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}],e.exports=t.default}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
6),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}()},28452:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});class r extends Error{constructor(e,t={}){let n=(()=>{if(t.cause instanceof r){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause&&"details"in t.cause&&"string"==typeof t.cause.details?t.cause.details:t.cause?.message?t.cause.message:t.details})(),i=t.cause instanceof r&&t.cause.docsPath||t.docsPath,o=`https://oxlib.sh${i??""}`;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...n||i?["",n?`Details: ${n}`:void 0,i?`See: ${o}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:"[email protected]"}),this.cause=t.cause,this.details=n,this.docs=o,this.docsPath=i,this.shortMessage=e}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,n):n?null:t}(this,e)}}},29300:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},29343:(e,t)=>{t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},29995:(e,t,n)=>{"use strict";n.d(t,{J9:()=>o,Mc:()=>i,fD:()=>r});let r={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},i={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},o={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},30445:(e,t,n)=>{"use strict";n.d(t,{YE:()=>o,rj:()=>i});var r=n(7441);class i extends r.C{constructor({blockNumber:e,chain:t,contract:n}){super(`Chain "${t.name}" does not support contract "${n.name}".`,{metaMessages:["This could be due to any of the following:",...e&&n.blockCreated&&n.blockCreated>e?[`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${n.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}r.C,r.C;class o extends r.C{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}r.C},30456:(e,t,n)=>{"use strict";n.d(t,{B8:()=>h,D0:()=>function e(t,n,r=!1,p={}){let g;if(t<=o)throw Error("invalid field: expected ORDER > 0, got "+t);let{nBitLength:y,nByteLength:x}=A(t,n);if(x>2048)throw Error("invalid field: expected ORDER of <= 2048 bytes");let C=Object.freeze({ORDER:t,isLE:r,BITS:y,BYTES:x,MASK:(0,i.OG)(y),ZERO:o,ONE:a,create:e=>f(e,t),isValid:e=>{if("bigint"!=typeof e)throw Error("invalid field element: expected bigint, got "+typeof e);return o<=e&&e<t},is0:e=>e===o,isOdd:e=>(e&a)===a,neg:e=>f(-e,t),eql:(e,t)=>
6e===t,sqr:e=>f(e*e,t),add:(e,n)=>f(e+n,t),sub:(e,n)=>f(e-n,t),mul:(e,n)=>f(e*n,t),pow:(e,t)=>(function(e,t,n){if(n<o)throw Error("invalid exponent, negatives unsupported");if(n===o)return e.ONE;if(n===a)return t;let r=e.ONE,i=t;for(;n>o;)n&a&&(r=e.mul(r,i)),i=e.sqr(i),n>>=a;return r})(C,e,t),div:(e,n)=>f(e*h(n,t),t),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:e=>h(e,t),sqrt:p.sqrt||(n=>(g||(g=t%l===c?m:t%d===u?b:function(t){if(t<BigInt(3))throw Error("sqrt is not defined for small field");let n=t-a,r=0;for(;n%s===o;)n/=s,r++;let i=s,c=e(t);for(;1===v(c,i);)if(i++>1e3)throw Error("Cannot find square root: probably non-prime P");if(1===r)return m;let l=c.pow(i,n),u=(n+a)/s;return function(e,t){if(e.is0(t))return t;if(1!==v(e,t))throw Error("Cannot find square root");let i=r,o=e.mul(e.ONE,l),s=e.pow(t,n),c=e.pow(t,u);for(;!e.eql(s,e.ONE);){if(e.is0(s))return e.ZERO;let t=1,n=e.sqr(s);for(;!e.eql(n,e.ONE);)if(t++,n=e.sqr(n),t===i)throw Error("Cannot find square root");let r=a<<BigInt(i-t-1),l=e.pow(o,r);i=t,o=e.sqr(l),s=e.mul(s,o),c=e.mul(c,l)}return c}}(t)),g(C,n))),toBytes:e=>r?(0,i.z)(e,x):(0,i.lq)(e,x),fromBytes:e=>{if(e.length!==x)throw Error("Field.fromBytes: expected "+x+" bytes, got "+e.length);return r?(0,i.lX)(e):(0,i.Ph)(e)},invertBatch:e=>w(C,e),cmov:(e,t,n)=>n?t:e});return Object.freeze(C)},LH:()=>A,Tp:()=>C,jr:()=>y,pS:()=>w,qy:()=>E,zH:()=>p,zi:()=>f});var r=n(19989),i=n(24611);let o=BigInt(0),a=BigInt(1),s=BigInt(2),c=BigInt(3),l=BigInt(4),u=BigInt(5),d=BigInt(8);function f(e,t){let n=e%t;return n>=o?n:t+n}function p(e,t,n){let r=e;for(;t-- >o;)r*=r,r%=n;return r}function h(e,t){if(e===o)throw Error("invert: expected non-zero number");if(t<=o)throw Error("invert: expected positive modulus, got "+t);let n=f(e,t),r=t,i=o,s=a,c=a,l=o;for(;n!==o;){let e=r/n,t=r%n,o=i-c*e,a=s-l*e;r=n,n=t,i=c,s=l,c=o,l=a}if(r!==a)throw Error("invert: does not exist");return f(i,t)}function m(e,t){let n=(e.ORDER+a)/l,r=e.pow(t,n);if(!e.eql(e.sqr(r),t))throw Error("Cannot find square root");return r}function b(e,t){let n=(e.ORDER-u)/d,r=e.mul(t,s),i=e.pow(r,n),o=e.mul(t,i),a=e.mul(e.mul(o,s),i),c=e.mul(o,e.sub(a,e.ONE));if(!e.eql(e.sqr(c),t))throw Error("Cannot find square root");return c}let g=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function y(e){let t=g.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,i.Q5)(e,t)}function w(e,t,n=!1){let r=Array(t.length).fill(n?e.ZERO:void 0),i=t.reduce((t,n,i)=>e.is0(n)?t:(r[i]=t,e.mul(t,n)),e.ONE),o=e.inv(i);return t.reduceRight((t,n,i)=>e.is0(n)?t:(r[i]=e.mul(t,r[i]),e.mul(t,n)),o),r}function v(e,t){let n=(e.ORDER-a)/s,r=e.pow(t,n),i=e.eql(r,e.ONE),o=e.eql(r,e.ZERO),c=e.eql(r,e.neg(e.ONE));if(!i&&!o&&!c)throw Error("invalid Legendre symbol result");return i?1:o?0:-1}function A(e,t){void 0!==t&&(0,r.Fe)(t);let n=void 0!==t?t:e.toString(2).length,i=Math.ceil(n/8);return{nBitLength:n,nByteLength:i}}function x(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function C(e){let t=x(e);return t+Math.ceil(t/2)}function E(e,t,n=!1){let r=e.length,o=x(t),s=C(t);if(r<16||r<s||r>1024)throw Error("expected "+s+"-1024 bytes of input, got "+r);let c=f(n?(0,i.lX)(e):(0,i.Ph)(e),t-a)+a;return n?(0,i.z)(c,o):(0,i.lq)(c,o)}},31461:(e,t,n)=>{"use strict";function r(e,t){let n=e.exec(t);return n?.groups}n.d(t,{BD:()=>i,Ge:()=>o,Yv:()=>r,wj:()=>a});let i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,o=/^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)?$/,a=/^\(.+?\).*?$/},31942:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});var r=n(77136),i=n(1405);function o(e,t="wei"){return(0,i.J)(e,r.sz[t])}},32160:(e,t,n)=>{"use strict";n.d(t,{k:()=>c});var r=n(79731),i=n(80844),o=n(67622),a=n(24578),s=n(70872);function c(e){let t=new Uint8Array(32).fill(0);if(!e)return(0,o.My)(t);let n=e.split(".");for(let e=n.length-1;e>=0;e-=1){let o=(0,s.q)(n[e]),c=o?(0,i.ZJ)(o):(0,a.S)((0,i.Af)(n[e]),"bytes");t=(0,a.S)((0,r.xW)([t,c]),"bytes")}return(0,o.My)(t)}},32840:(e,t,n)=>{"use strict";function r(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}n.d(t,{q:()=>r})},34122:e=>{function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},34524:(e,t,n)=>{"use strict";function r(e,t,n){let r=e[t.name];if("function"==typeof r)return r;let i=e[n];return"function"==typeof i?i:n=>t(e,n)}n.d(t,{T:()=>r})},35020:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(7441),i=n(42264);function o(e,t){let n=(e.details||"").toLowerCase(),o=e instanceof r.C?e.walk(e=>e?.code===i.A7.code):e;return o instanceof r.C?new i.A7({cause:e,message:o.details}):i.A7.nodeMessage.test(n)?new i.A7({cause:e,message:e.details}):i.BG.nodeMessage.test(n)?new i.BG({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.jj.nodeMessage.test(n)?new i.jj({cause:e,maxFeePerGas:t?.maxFeePerGas}):i.K0.nodeMessage.test(n)?new i.K0({cause:e,nonce:t?.nonce}):i.Oh.nodeMessage.test(n)?new i.Oh({cause:e,nonce:t?.nonce}):i.vW.nodeMessage.test(n)?new i.vW({cause:e,nonce:t?.nonce}):i.k5.nodeMessage.test(n)?new i.k5({cause:e}):i.lY.nodeMessage.test(n)?new i.lY({cause:e,gas:t?.gas}):i.Fo.nodeMessage.test(n)?new i.Fo({cause:e,gas:t?.gas}):i.uC.nodeMessage.test(n)?new i.uC({cause:e}):i.lN.nodeMessage.test(n)?new i.lN({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new i.RM({cause:e})}},35109:(e,t,n)=>{"use strict";n.d(t,{zX:()=>g,bG:()=>y,M:()=>w,rR:()=>v,Po:()=>A,$S:()=>x});var r=n(19405),i=n(29995),o=n(47826),a=n(21159),s=n(79183);function c({abiItem:e,args:t,includeFunctionName:n=!0,includeName:r=!1}
vendor: 5,000 bytes, lines 6-7
6){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${r&&e.name?`${e.name}: `:""}${"object"==typeof t[n]?(0,s.A)(t[n]):t[n]}`).join(", ")})`}var l=n(23008),u=n(44494),d=n(31942),f=n(99702),p=n(7441),h=n(4805),m=n(69432),b=n(41514);class g extends p.C{constructor(e,{account:t,docsPath:n,chain:i,data:o,gas:a,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:l,nonce:f,to:p,value:b,stateOverride:g}){let y=t?(0,r.J)(t):void 0,w=(0,m.aO)({from:y?.address,to:p,value:void 0!==b&&`${(0,u.c)(b)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:a,gasPrice:void 0!==s&&`${(0,d.Q)(s)} gwei`,maxFeePerGas:void 0!==c&&`${(0,d.Q)(c)} gwei`,maxPriorityFeePerGas:void 0!==l&&`${(0,d.Q)(l)} gwei`,nonce:f});g&&(w+=` 7${(0,h.uj)(g)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",w].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class y extends p.C{constructor(e,{abi:t,args:n,contractAddress:r,docsPath:i,functionName:o,sender:s}){let u=(0,l.iY)({abi:t,args:n,name:o}),d=u?c({abiItem:u,args:n,includeFunctionName:!1,includeName:!1}):void 0,f=u?(0,a.B)(u,{includeName:!0}):void 0,p=(0,m.aO)({address:r&&(0,b.R)(r),function:f,args:d&&"()"!==d&&`${[...Array(o?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:s});super(e.shortMessage||`An unknown error occurred while executing the contract function "${o}".`,{cause:e,docsPath:i,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],p&&"Contract Call:",p].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=t,this.args=n,this.cause=e,this.contractAddress=r,this.functionName=o,this.sender=s}}class w extends p.C{constructor({abi:e,data:t,functionName:n,message:r}){let s,l,u,d,p;if(t&&"0x"!==t)try{let{abiItem:n,errorName:r,args:s}=p=(0,o.W)({abi:e,data:t});if("Error"===r)u=s[0];else if("Panic"===r){let[e]=s;u=i.fD[e]}else{let e=n?(0,a.B)(n,{includeName:!0}):void 0,t=n&&s?c({abiItem:n,args:s,includeFunctionName:!1,includeName:!1}):void 0;l=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(r?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){s=e}else r&&(u=r);s instanceof f.Wq&&(d=s.signature,l=[`Unable to decode signature "${d}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${d}.`]),super(u&&"execution reverted"!==u||d?[`The contract function "${n}" reverted with the following ${d?"signature":"reason"}:`,u||d].join("\n"):`The contract function "${n}" reverted.`,{cause:s,metaMessages:l,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=p,this.raw=t,this.reason=u,this.signature=d}}class v extends p.C{constructor({functionName:e}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${e}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class A extends p.C{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class x extends p.C{constructor({data:e,message:t}){super(t||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}},35791:(e,t,n)=>{"use strict";n.d(t,{J:()=>
7o});var r=n(86205);function i(e){return{address:e.address,amount:r.oB(e.amount),index:r.oB(e.index),validatorIndex:r.oB(e.validatorIndex)}}function o(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:r.oB(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:r.oB(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient},..."bigint"==typeof e.gasLimit&&{gasLimit:r.oB(e.gasLimit)},..."bigint"==typeof e.number&&{number:r.oB(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:r.oB(e.prevRandao)},..."bigint"==typeof e.time&&{time:r.oB(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(i)}}}},35883:(e,t,n)=>{"use strict";n.d(t,{b:()=>u,o:()=>l});var r=n(36444),i=n(80844),o=n(24578),a=n(65003),s=n(81757);let c=new a.A(8192);function l(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let n=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),r=(0,o.S)((0,i.Af)(n),"bytes"),a=(t?n.substring(`${t}0x`.length):n).split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&a[e]&&(a[e]=a[e].toUpperCase()),(15&r[e>>1])>=8&&a[e+1]&&(a[e+1]=a[e+1].toUpperCase());let s=`0x${a.join("")}`;return c.set(`${e}.${t}`,s),s}function u(e,t){if(!(0,s.P)(e,{strict:!1}))throw new r.M({address:e});return l(e,t)}},36241:(e,t,n)=>{"use strict";n.d(t,{L:()=>d});var r=n(90557),i=n(7441);class o extends i.C{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}var a=n(85569),s=n(78519),c=n(79183);let l={current:0,take(){return this.current++},reset(){this.current=0}};var u=n(54315);function d(e,t={}){let{batch:n,fetchOptions:i,key:f="http",methods:p,name:h="HTTP JSON-RPC",onFetchRequest:m,onFetchResponse:b,retryDelay:g,raw:y}=t;return({chain:d,retryCount:w,timeout:v})=>{let{batchSize:A=1e3,wait:x=0}="object"==typeof n?n:{},C=t.retryCount??w,E=v??t.timeout??1e4,B=e||d?.rpcUrls.default.http[0];if(!B)throw new o;let I=function(e,t={}){return{async request(n){let{body:i,onRequest:o=t.onRequest,onResponse:a=t.onResponse,timeout:u=t.timeout??1e4}=n,d={...t.fetchOptions??{},...n.fetchOptions??{}},{headers:f,method:p,signal:h}=d;try{let t,n=await (0,s.w)(async({signal:t})=>{let n={...d,body:Array.isArray(i)?(0,c.A)(i.map(e=>({jsonrpc:"2.0",id:e.id??l.take(),...e}))):(0,c.A)({jsonrpc:"2.0",id:i.id??l.take(),...i}),headers:{"Content-Type":"application/json",...f},method:p||"POST",signal:h||(u>0?t:null)},r=new Request(e,n),a=await o?.(r,n)??{...n,url:e};return await fetch(a.url??e,a)},{errorInstance:new r.MU({body:i,url:e}),timeout:u,signal:!0});if(a&&await a(n),n.headers.get("Content-Type")?.startsWith("application/json"))t=await n.json();else{t=await n.text();try{t=JSON.parse(t||"{}")}catch(e){if(n.ok)throw e;t={error:t}}}if(!n.ok)throw new r.Ci({body:i,details:(0,c.A)(t.error)||n.statusText,headers:n.headers,status:n.status,url:e});return t}catch(t){if(t instanceof r.Ci||t instanceof r.MU)throw t;throw new r.Ci({body:i,cause:t,url:e})}}}}(B,{fetchOptions:i,onRequest:m,onResponse:b,timeout:E});return(0,u.o)({key:f,methods:p,name:h,async request({method:e,params:t}){let i={method:e,params:t},{schedule:o}=(0,a.u)({id:B,wait:x,shouldSplitBatch:e=>e.length>A,fn:e=>I.request({body:e}),sort:(e,t)=>e.id-t.id}),s=async e=>n?o(e):[await I.request({body:e})],[{error:c,result:l}]=await s(i);if(y)return{error:c,result:l};if(c)throw new r.J8({body:i,error:c,url:B});return l},retryCount:C,retryDelay:g,timeout:E,type:"http"},{fetchOptions:i,url:B})}}},36444:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(7441);class i extends r.C{constructor({address:e}){super(`Address "${e}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}},36517:(e,t)=>{t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){let t=e.size,r=0,i=0,o=0,a=null,s=null;for(let c=0;c<t;c++){i=o=0,a=s=null;for(let l=0;l<t;l++){let t=e.get(c,l);t===a?i++:(i>=5&&(r+=n.N1+(i-5)),a=t,i=1),(t=e.get(l,c))===s?o++:(o>=5&&(r+=n.N1+(o-5)),s=t,o=1)}i>=5&&(r+=n.N1+(i-5)),o>=5&&(r+=n.N1+(o-5))}return r},t.getPenaltyN2=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let i=0;i<t-1;i++){let t=e.get(n,i)+e.get(n,i+1)+e.get(n+1,i)+e.get(n+1,i+1);(4===t||0===t)&&r++}return r*n.N2},t.getPenaltyN3=function(e){let t=e.size,r=0,i=0,o=0;for(let n=0;n<t;n++){i=o=0;for(let a=0;a<t;a++)i=i<<1&2047|e.get(n,a),a>=10&&(1488===i||93===i)&&r++,o=o<<1&2047|e.get(a,n),a>=10&&(1488===o||93===o)&&r++}return r*n.N3},t.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*n.N4}
7,t.applyMask=function(e,n){let r=n.size;for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,function(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}(e,o,i))},t.getBestMask=function(e,n){let r=Object.keys(t.Patterns).length,i=0,o=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);let r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<o&&(o=r,i=a)}return i}},36549:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(75244),i={blue:{accentColor:"#2B6BFF",accentColorForeground:"#FFF"},green:{accentColor:"#1DB847",accentColorForeground:"#FFF"},orange:{accentColor:"#FF801F",accentColorForeground:"#FFF"},pink:{accentColor:"#FF5CA0",accentColorForeground:"#FFF"},purple:{accentColor:"#5F5AFA",accentColorForeground:"#FFF"},red:{accentColor:"#FA423C",accentColorForeground:"#FFF"}},o=i.blue,a=function(){let{accentColor:e=o.accentColor,accentColorForeground:t=o.accentColorForeground,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r.$)(n),colors:{accentColor:e,accentColorForeground:t,actionButtonBorder:"rgba(0, 0, 0, 0.04)",actionButtonBorderMobile:"rgba(0, 0, 0, 0.06)",actionButtonSecondaryBackground:"rgba(0, 0, 0, 0.06)",closeButton:"rgba(60, 66, 66, 0.8)",closeButtonBackground:"rgba(0, 0, 0, 0.06)",connectButtonBackground:"#FFF",connectButtonBackgroundError:"#FF494A",connectButtonInnerBackground:"linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06))",connectButtonText:"#25292E",connectButtonTextError:"#FFF",connectionIndicator:"#30E000",downloadBottomCardBackground:"linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF",downloadTopCardBackground:"linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF",error:"#FF494A",generalBorder:"rgba(0, 0, 0, 0.06)",generalBorderDim:"rgba(0, 0, 0, 0.03)",menuItemBackgroun
7d:"rgba(60, 66, 66, 0.1)",modalBackdrop:"rgba(0, 0, 0, 0.3)",modalBackground:"#FFF",modalBorder:"transparent",modalText:"#25292E",modalTextDim:"rgba(60, 66, 66, 0.3)",modalTextSecondary:"rgba(60, 66, 66, 0.6)",profileAction:"#FFF",profileActionHover:"rgba(255, 255, 255, 0.5)",profileForeground:"rgba(60, 66, 66, 0.06)",selectedOptionBorder:"rgba(60, 66, 66, 0.1)",standby:"#FFD641"},shadows:{connectButton:"0px 4px 12px rgba(0, 0, 0, 0.1)",dialog:"0px 8px 32px rgba(0, 0, 0, 0.32)",profileDetailsAction:"0px 2px 6px rgba(37, 41, 46, 0.04)",selectedOption:"0px 2px 6px rgba(0, 0, 0, 0.24)",selectedWallet:"0px 2px 6px rgba(0, 0, 0, 0.12)",walletLogo:"0px 2px 16px rgba(0, 0, 0, 0.16)"},mode:"light"}};a.accentColors=i},36984:(e,t,n)=>{"use strict";n.d(t,{db:()=>o,eV:()=>i});var r=n(58980);function i(e,{dir:t,size:n=32}={}){return"string"==typeof e?o(e,{dir:t,size:n}):function(e,{dir:t,size:n=32}={}){if(null===n)return e;if(e.length>n)throw new r.Fl({size:e.length,targetSize:n,type:"bytes"});let i=new Uint8Array(n);for(let r=0;r<n;r++){let o="right"===t;i[o?r:n-r-1]=e[o?r:e.length-r-1]}return i}(e,{dir:t,size:n})}function o(e,{dir:t,size:n=32}={}){if(null===n)return e;let i=e.replace("0x","");if(i.length>2*n)throw new r.Fl({size:Math.ceil(i.length/2),targetSize:n,type:"hex"});return`0x${i["right"===t?"padEnd":"padStart"](2*n,"0")}`}},37136:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{U:()=>s});var o=e=>function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Object.assign({},...n.map(e=>e.styles)),a=Object.keys(o),s=a.filter(e=>"mappings"in o[e]);return Object.assign(t=>{var n=[],r={},a=i({},t),c=!1;for(var l of s){var u=t[l];if(null!=u)for(var d of(c=!0,o[l].mappings))r[d]=u,null==a[d]&&delete a[d]}var f=c?i(i({},r),a):t;for(var p in f)if(function(){var e=f[p],t=o[p];try{if(t.mappings)return 1;if("string"==typeof e||"number"==typeof e)n.push(t.values[e].defaultClass);else if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=e[r];if(null!=i){var a=t.responsiveArray[r];n.push(t.values[i].conditions[a])}}else for(var s in e){var c=e[s];null!=c&&n.push(t.values[c].conditions[s])}}catch(e){throw e}}())continue;return e(n.join(" "))},{properties:new Set(a)})},a=e=>e,s=function(){return o(a)(...arguments)}},37200:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});let r=(0,n(22732).x)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://eth.merkle.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:0x125db65},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xdb04c1}}})},37788:(e,t,n)=>{let r=n(46087).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,n=r(e),i=145===n?26:2*Math.ceil((n-13)/(2*t-2)),o=[n-7];for(let e=1;e<t-1;e++)o[e]=o[e-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){let n=[],r=t.getRowColCoords(e),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)(0!==e||0!==t)&&(0!==e||t!==i-1)&&(e!==i-1||0!==t)&&n.push([r[e],r[t]]);return n}},38277:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");
7i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}},38697:(e,t,n)=>{"use strict";n.d(t,{BD:()=>r,Ge:()=>i});let r=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,i=/^(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)?$/},39833:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,l:()=>a});var r=n(80329),i=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var n=i,o=n.errorThrown,a=n.error;if(i=null,o)throw a}}else e()}function a(e){r.$.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},39975:(e,t,n)=>{"use strict";let r;n.d(t,{Z:()=>A});var i=n(98078);let o=e=>(t,n,r)=>{let i=r.subscribe;return r.subscribe=(e,t,n)=>{let o=e;if(t){let i=(null==n?void 0:n.equalityFn)||Object.is,a=e(r.getState());o=n=>{let r=e(n);if(!i(a,r)){let e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return i(o)},e(t,n,r)},a=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>a(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>a(t)(e)}}},s=(e,t)=>(n,r,i)=>{let o,s={storage:function(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var t;let r=e=>null===e?null:JSON.parse(e,void 0),i=null!=(t=n.getItem(e))?t:null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,t)=>n.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>n.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},c=!1,l=new Set,u=new Set,d=s.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...e)},r,i);let f=()=>{let e=s.partialize({...r()});return d.setItem(s.name,{state:e,version:s.version})},p=i.setState;i.setState=(e,t)=>{p(e,t),f()};let h=e((...e)=>{n(...e),f()},r,i);i.getInitialState=()=>h;let m=()=>{var e,t;if(!d)return;c=!1,l.forEach(e=>{var t;return e(null!=(t=r())?t:h)});let i=(null==(t=s.onRehydrateStorage)?void 0:t.call(s,null!=(e=r())?e:h))||void 0;return a(d.getItem.bind(d))(s.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===s.version)return[!1,e.state];else{if(s.migrate)return[!0,s.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;let[i,a]=e;if(n(o=s.merge(a,null!=(t=r())?t:h),!0),i)return f()}).then(()=>{null==i||i(o,void 0),o=r(),c=!0,u.forEach(e=>e(o))}).catch(e=>{null==i||i(void 0,e)})};return i.persist={setOptions:e=>{s={...s,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>m(),hasHydrated:()=>c,onHydrate:e=>(l.add(e),()=>{l.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},s.skipHydration||m(),o||h},c=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e))},a=t=e(r,i,o);return o},l=e=>e?c(e):c;var u=n(1607),d=n(15484);class f{constructor(e){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new d.b})}on(e,t){this._emitter.on(e,t)}once(e,t){this._emitter.once(e,t)}off(e,t){this._emitter.off(e,t)}emit(e,...t){let n=t[0];this._emitter.emit(e,{uid:this.uid,...n})}listenerCount(e){return this._emitter.listenerCount(e)}}function p(e,t){return JSON.parse(e,(e,n)=>{let r=n;return r?.__type==="bigint"&&(r=BigInt(r.value)),r?.__type==="Map"&&(r=new Map(r.value)),t?.(e,r)??r})}function h(e,t){return e.slice(0,t).join(".")||"."}function m(e,t){let{length:n}=e;for(let r=0;r<n;++r)if(e[r]===t)return r+1;return 0}function b(e,t,n,r){return JSON.stringify(e,function(e,t){let n="function"==typeof e,r="function"==typeof t,i=[],o=[];return function(a,s){if("object"==typeof s)if(i.length){let e=m(i,this);0===e?i[i.length]=this:(i.splice(e),o.splice(e)),o[o.length]=a;let n=m(i,s);if(0!==n)return r?t.call(this,a,s,h(o,n)):`[ref=${h(o,n)}]`}else i[0]=s,o[0]=a;return n?e.call(this,a,s):s}}((e,n)=>{let r=n;return"bigint"==typeof r&&(r={__type:"bigint",value:n.toString()}),r instanceof Map&&(r={__type:"Map",value:Array.from(n.entries())}),t?.(e,r)??r},r),n??void 0)}let g={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};var y=n(77752);let w=256;var v=n(40194);function A(e){let t,{multiInjectedProviderDiscovery:n=!0,storage:a=function(e){let{deserialize:t=p,key:n="wagmi",serialize:r=b,storage:i=g}=e;function o(e){return e instanceof Promise?e.then(e=>e).catch(()=>null):e}return{...i,key:n,async getItem(e,r){let a=i.getItem(`${n}.${e}`),s=await o(a);return s?t(s)??null:r??null},async setItem(e,t){let a=`${n}.${e}`;null===t?await o(i.removeItem(a)):await o(i.setItem(a,r(t)))},async removeItem(e){await o(i.removeItem(`${n}.${e}`))}}}({storage:function(){let e="undefined"!=typeof window&&window.localStorage?window.localStorage:g;return{getItem:t=>e.getItem(t),removeItem(t){e.removeItem(t)},setItem(t,n){try{e.setItem(t,n)}catch{}}}}()}),syncConnectedChain:c=!0,ssr:d=!1,...h}=e,m="undefined"!=typeof window&&n?function(){let e=new Set,t=[],n=()=>(function(e){if("undefined"==typeof window)return;let t=t=>e(t.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)})(n=>{t.some(({info:e})=>
7e.uuid===n.info.uuid)||(t=[...t,n],e.forEach(e=>e(t,{added:[n]})))}),r=n();return{_listeners:()=>e,clear(){e.forEach(e=>e([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),r?.()},findProvider:({rdns:e})=>t.find(t=>t.info.rdns===e),getProviders:()=>t,reset(){this.clear(),r?.(),r=n()},subscribe:(n,{emitImmediately:r}={})=>(e.add(n),r&&n(t,{added:t}),()=>e.delete(n))}}():void 0,A=l(()=>h.chains),x=l(()=>{let e=[],t=new Set;for(let n of h.connectors??[]){let r=C(n);if(e.push(r),!d&&r.rdns)for(let e of"string"==typeof r.rdns?[r.rdns]:r.rdns)t.add(e)}if(!d&&m)for(let n of m.getProviders())t.has(n.info.rdns)||e.push(C(E(n)));return e});function C(e){let t=new f(function(e=11){if(!r||w+e>512){r="",w=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(w,w+++e)}()),n={...e({emitter:t,chains:A.getState(),storage:a,transports:h.transports}),emitter:t,uid:t.uid};return t.on("connect",O),n.setup?.(),n}function E(e){let{info:t}=e,n=e.provider;return(0,u.b)({target:{...t,id:t.rdns,provider:n}})}let B=new Map;function I(){return{chainId:A.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let k="0.0.0-canary-";t=v.r.startsWith(k)?Number.parseInt(v.r.replace(k,"")):Number.parseInt(v.r.split(".")[0]??"0");let P=l(o(a?s(I,{migrate(e,n){if(n===t)return e;let r=I(),i=M(e,r.chainId);return{...r,chainId:i}},name:"store",partialize:e=>({connections:{__type:"Map",value:Array.from(e.connections.entries()).map(([e,t])=>{let{id:n,name:r,type:i,uid:o}=t.connector;return[e,{...t,connector:{id:n,name:r,type:i,uid:o}}]})},chainId:e.chainId,current:e.current}),merge(e,t){"object"==typeof e&&e&&"status"in e&&delete e.status;let n=M(e,t.chainId);return{...t,...e,chainId:n}},skipHydration:d,storage:a,version:t}):I));function M(e,t){return e&&"object"==typeof e&&"chainId"in e&&"number"==typeof e.chainId&&A.getState().some(t=>t.id===e.chainId)?e.chainId:t}function S(e){P.setState(t=>{let n=t.connections.get(e.uid);return n?{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts??n.accounts,chainId:e.chainId??n.chainId,connector:n.connector})}:t})}function O(e){"connecting"!==P.getState().status&&"reconnecting"!==P.getState().status&&P.setState(t=>{let n=x.getState().find(t=>t.uid===e.uid);return n?(n.emitter.listenerCount("connect")&&n.emitter.off("connect",S),n.emitter.listenerCount("change")||n.emitter.on("change",S),n.emitter.listenerCount("disconnect")||n.emitter.on("disconnect",T),{...t,connections:new Map(t.connections).set(e.uid,{accounts:e.accounts,chainId:e.chainId,connector:n}),current:e.uid,status:"connected"}):t})}function T(e){P.setState(t=>{let n=t.connections.get(e.uid);if(n){let e=n.connector;e.emitter.listenerCount("change")&&n.connector.emitter.off("change",S),e.emitter.listenerCount("disconnect")&&n.connector.emitter.off("disconnect",T),e.emitter.listenerCount("connect")||n.connector.emitter.on("connect",O)}if(t.connections.delete(e.uid),0===t.connections.size)return{...t,connections:new Map,current:null,status:"disconnected"};let r=t.connections.values().next().value;return{...t,connections:new Map(t.connections),current:r.connector.uid}})}return P.setState(I()),c&&P.subscribe(({connections:e,current:t})=>t?e.get(t)?.chainId:void 0,e=>{if(A.getState().some(t=>t.id===e))return P.setState(t=>({...t,chainId:e??t.chainId}))}),m?.subscribe(e=>{let t=new Set,n=new Set;for(let e of x.getState())if(t.add(e.id),e.rdns)for(let t of"string"==typeof e.rdns?[e.rdns]:e.rdns)n.add(t);let r=[];for(let i of e){if(n.has(i.info.rdns))continue;let e=C(E(i));t.has(e.id)||r.push(e)}(!a||P.persist.hasHydrated())&&x.setState(e=>[...e,...r],!0)}),{get chains(){return A.getState()},get connectors(){return x.getState()},storage:a,getClient:function(e={}){let t,n=e.chainId??P.getState().chainId,r=A.getState().find(e=>e.id===n);if(e.chainId&&!r)throw new y.nk;{let e=B.get(P.getState().chainId);if(e&&!r)return e;if(!r)throw new y.nk}{let e=B.get(n);if(e)return e}if(h.client)t=h.client({chain:r});else{let e=r.id,n=A.getState().map(e=>e.id),o={};for(let[t,r]of Object.entries(h))if("chains"!==t&&"client"!==t&&"connectors"!==t&&"transports"!==t)if("object"==typeof r)if(e in r)o[t]=r[e];else{if(n.some(e=>e in r))continue;o[t]=r}else o[t]=r;t=(0,i.U)({...o,chain:r,batch:o.batch??{multicall:!0},transport:t=>h.transports[e]({...t,connectors:x})})}return B.set(n,t),t},get state(){return P.getState()},setState(e){let t;t="function"==typeof e?e(P.getState()):e;let n=I();"object"!=typeof t&&(t=n),Object.keys(n).some(e=>!(e in t))&&(t=n),P.setState(t,!0)}
7,subscribe:(e,t,n)=>P.subscribe(e,t,n?{...n,fireImmediately:n.emitImmediately}:void 0),_internal:{mipd:m,store:P,ssr:!!d,syncConnectedChain:c,transports:h.transports,chains:{setState(e){let t="function"==typeof e?e(A.getState()):e;if(0!==t.length)return A.setState(t,!0)},subscribe:e=>A.subscribe(e)},connectors:{providerDetailToConnector:E,setup:C,setState:e=>x.setState("function"==typeof e?e(x.getState()):e,!0),subscribe:e=>x.subscribe(e)},events:{change:S,connect:O,disconnect:T}}}}},40345:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(78906),i=n(1125),o=n(98175);function a(e,t){return e===t}function s(e,t){var n,s;return n=function(n,r){return t?t(n[e],r[e]):n[e]===r[e]},void 0===s&&(s=r.D),n=null!=n?n:a,(0,i.N)(function(e,t){var r,i=!0;e.subscribe((0,o._)(t,function(e){var o=s(e);(i||!n(r,o))&&(i=!1,r=o,t.next(e))}))})}},40363:(e,t,n)=>{"use strict";n.d(t,{q:()=>o,f:()=>i});var r=function(e,t){return Object.defineProperty(e,"__recipe__",{value:t,writable:!1}),e};function i(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");return r(function(e){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return{[t.defaultCondition]:e}}if(Array.isArray(e)){if(!("responsiveArray"in t))throw Error("Responsive arrays are not supported");var n={};for(var r in t.responsiveArray)null!=e[r]&&(n[t.responsiveArray[r]]=e[r]);return n}return e},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createNormalizeValueFn",args:[{conditions:e.conditions}]})}function o(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");var n=i(e);return r(function(e,r){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return r(e,t.defaultCondition)}var i=Array.isArray(e)?n(e):e,o={};for(var a in i)null!=i[a]&&(o[a]=r(i[a],a));return o},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createMapValueFn",args:[{conditions:e.conditions}]})}},41052:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(29995),i=n(7441),o=n(35109);function a(e,t){if(!(e instanceof i.C))return!1;let n=e.walk(e=>e instanceof o.M);return n instanceof o.M&&(!!(n.data?.errorName==="ResolverNotFound"||n.data?.errorName==="ResolverWildcardNotSupported"||n.data?.errorName==="ResolverNotContract"||n.data?.errorName==="ResolverError"||n.data?.errorName==="HttpError"||n.reason?.includes("Wildcard on non-extended resolvers is not supported"))||"reverse"===t&&n.reason===r.fD[50])}},41096:(e,t,n)=>{"use strict";n.d(t,{e:()=>d});var r=n(5041),i=n(77752);async function o(e,t){let n;if((n="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector).uid===e.state.current)throw new i.nM;try{e.setState(e=>({...e,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let{connector:r,...i}=t,o=await n.connect(i),a=o.accounts;return n.emitter.off("connect",e._internal.events.connect),n.emitter.on("change",e._internal.events.change),n.emitter.on("disconnect",e._internal.events.disconnect),await e.storage?.setItem("recentConnectorId",n.id),e.setState(e=>({...e,connections:new Map(e.connections).set(n.uid,{accounts:a,chainId:o.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:a,chainId:o.chainId}}catch(t){throw e.setState(e=>({...e,status:e.current?"connected":"disconnected"})),t}}var a=n(12115),s=n(53031),c=n(34250);let l=[];function u(e){let t=e.connectors;return(0,c.b)(l,t)?l:(l=t,t)}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,s.U)(e),i={mutationFn:e=>o(n,e),mutationKey:["connect"]},{mutate:c,mutateAsync:l,...d}=(0,r.n)({...t,...i});return(0,a.useEffect)(()=>n.subscribe(e=>{let{status:t}=e;return t},(e,t)=>{"connected"===t&&"disconnected"===e&&d.reset()}),[n,d.reset]),{...d,connect:c,connectAsync:l,connectors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.U)(e);return(0,a.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.connectors.subscribe((e,t)=>{n(Object.values(e),t)})})(t,{onChange:e}),()=>u(t),()=>u(t))}({config:n})}}}
7,41514:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,R:()=>r});let r=e=>e,i=e=>e},42142:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(10231);function i(e,{delay:t=100,retryCount:n=2,shouldRetry:o=()=>!0}={}){return new Promise((i,a)=>{let s=async({count:c=0}={})=>{let l=async({error:e})=>{let n="function"==typeof t?t({count:c,error:e}):t;n&&await (0,r.u)(n),s({count:c+1})};try{let t=await e();i(t)}catch(e){if(c<n&&await o({count:c,error:e}))return l({error:e});a(e)}};s()})}},42264:(e,t,n)=>{"use strict";n.d(t,{A7:()=>o,BG:()=>a,Fo:()=>p,K0:()=>c,Oh:()=>l,RM:()=>b,jj:()=>s,k5:()=>d,lN:()=>m,lY:()=>f,uC:()=>h,vW:()=>u});var r=n(31942),i=n(7441);class o extends i.C{constructor({cause:e,message:t}={}){let n=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(o,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(o,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class a extends i.C{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.Q)(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class s extends i.C{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,r.Q)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(s,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class c extends i.C{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class l extends i.C{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account. 8Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class u extends i.C{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends i.C{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class f extends i.C{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class p extends i.C{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class h extends i.C{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(h,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class m extends i.C{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:n}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,r.Q)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${(0,r.Q)(n)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(m,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class b extends i.C{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}},43484:(e,t,n)=>{"use strict";n.d(t,{IT:()=>o});var r=n(32960),i=n(62108);function o(e){let t=(0,r.I)({...e,queryKeyHashFn:i.Zi});return t.queryKey=e.queryKey,t}},43585:(e,t,n)=>{let r=n(29343),i=n(81685);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!r.isValid(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw Error("Unknown mode: "+e)}}catch(e){return n}}},43935:(e,t,n)=>{"use strict";n.d(t,{n:()=>m});var r=n(99702),i=n(35883),o=n(87456),a=n(87094),s=n(93727),c=n(54335),l=n(94201),u=n(27493),d=n(67622);function f(e,t={}){void 0!==t.size&&(0,u.Sl)(e,{size:t.size});let n=(0,d.My)(e,t);return(0,u.ME)(n,t)}var p=n(80844),h=n(13423);function m(e,t){let n="string"==typeof t?(0,p.aT)(t):t,m=(0,o.l)(n);if(0===(0,a.E)(n)&&e.length>0)throw new r.O;if((0,a.E)(t)&&32>(0,a.E)(t))throw new r.Iy({data:"string"==typeof t?t:(0,d.My)(t),params:e,size:(0,a.E)(t)});let g=0,y=[];for(let t=0;t<e.length;++t){let n=e[t];m.setPosition(g);let[o,a]=function e(t,n,{staticPosition:o}){let a=(0,h.k)(n.type);if(a){let[r,i]=a;return function(t,n,{length:r,staticPosition:i}){if(!r){let r=i+f(t.readBytes(32)),o=r+32;t.setPosition(r);let a=f(t.readBytes(32)),s=b(n),c=0,l=[];for(let r=0;r<a;++r){t.setPosition(o+(s?32*r:c));let[i,a]=e(t,n,{staticPosition:o});c+=a,l.push(i)}return t.setPosition(i+32),[l,32]}if(b(n)){let o=i+f(t.readBytes(32)),a=[];for(let i=0;i<r;++i){t.setPosition(o+32*i);let[r]=e(t,n,{staticPosition:o});a.push(r)}return t.setPosition(i+32),[a,32]}let o=0,a=[];for(let s=0;s<r;++s){let[r,s]=e(t,n,{staticPosition:i+o});o+=s,a.push(r)}return[a,o]}(t,{...n,type:i},{length:r,staticPosition:o})}if("tuple"===n.type)return function(t,n,{staticPosition:r}
8){let i=0===n.components.length||n.components.some(({name:e})=>!e),o=i?[]:{},a=0;if(b(n)){let s=r+f(t.readBytes(32));for(let r=0;r<n.components.length;++r){let c=n.components[r];t.setPosition(s+a);let[l,u]=e(t,c,{staticPosition:s});a+=u,o[i?r:c?.name]=l}return t.setPosition(r+32),[o,32]}for(let s=0;s<n.components.length;++s){let c=n.components[s],[l,u]=e(t,c,{staticPosition:r});o[i?s:c?.name]=l,a+=u}return[o,a]}(t,n,{staticPosition:o});if("address"===n.type){var p=t;let e=p.readBytes(32);return[(0,i.o)((0,d.My)((0,s.A1)(e,-20))),32]}if("bool"===n.type)return[function(e,t={}){let n=e;if(void 0!==t.size&&((0,u.Sl)(n,{size:t.size}),n=(0,c.B)(n)),n.length>1||n[0]>1)throw new l.xO(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(e,t,{staticPosition:n}){let[r,i]=t.type.split("bytes");if(!i){let t=f(e.readBytes(32));e.setPosition(n+t);let r=f(e.readBytes(32));if(0===r)return e.setPosition(n+32),["0x",32];let i=e.readBytes(r);return e.setPosition(n+32),[(0,d.My)(i),32]}return[(0,d.My)(e.readBytes(Number.parseInt(i),32)),32]}(t,n,{staticPosition:o});if(n.type.startsWith("uint")||n.type.startsWith("int")){var m=t,g=n;let e=g.type.startsWith("int"),r=Number.parseInt(g.type.split("int")[1]||"256"),i=m.readBytes(32);return[r>48?function(e,t={}){void 0!==t.size&&(0,u.Sl)(e,{size:t.size});let n=(0,d.My)(e,t);return(0,u.uU)(n,t)}(i,{signed:e}):f(i,{signed:e}),32]}if("string"===n.type)return function(e,{staticPosition:t}){let n=f(e.readBytes(32));e.setPosition(t+n);let r=f(e.readBytes(32));if(0===r)return e.setPosition(t+32),["",32];let i=e.readBytes(r,32),o=function(e,t={}){let n=e;return void 0!==t.size&&((0,u.Sl)(n,{size:t.size}),n=(0,c.B)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,c.B)(i));return e.setPosition(t+32),[o,32]}(t,{staticPosition:o});throw new r.j(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(m,n,{staticPosition:0});g+=a,y.push(o)}return y}function b(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(b);let n=(0,h.k)(e.type);return!!(n&&b({...e,type:n[1]}))}},44494:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(77136),i=n(1405);function o(e,t="wei"){return(0,i.J)(e,r.eL[t])}},46056:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(9894),i=n(90113),o=n(77752),a=n(35883),s=n(81379),c=n(67622);function l(e){let t,u,d,f,p,h,m,b,g=e.isNewChainsStale??!0;return(0,r.U)(r=>({id:"walletConnect",name:"WalletConnect",type:l.type,async setup(){let e=await this.getProvider().catch(()=>null);e&&(p||(p=this.onConnect.bind(this),e.on("connect",p)),m||(m=this.onSessionDelete.bind(this),e.on("session_delete",m)))},async connect({chainId:e,...t}={}){try{let n=await this.getProvider();if(!n)throw new i.N;h||(h=this.onDisplayUri,n.on("display_uri",h));let o=e;if(!o){let e=await r.storage?.getItem("state")??{};o=r.chains.some(t=>t.id===e.chainId)?e.chainId:r.chains[0]?.id}if(!o)throw Error("No chains found on connector.");let s=await this.isChainsStale();if(n.session&&s&&await n.disconnect(),!n.session||s){let e=r.chains.filter(e=>e.id!==o).map(e=>e.id);await n.connect({optionalChains:[o,...e],..."pairingTopic"in t?{pairingTopic:t.pairingTopic}:{}}),this.setRequestedChainsIds(r.chains.map(e=>e.id))}let c=(await n.enable()).map(e=>(0,a.b)(e)),l=await this.getChainId();return h&&(n.removeListener("display_uri",h),h=void 0),p&&(n.removeListener("connect",p),p=void 0),d||(d=this.onAccountsChanged.bind(this),n.on("accountsChanged",d)),f||(f=this.onChainChanged.bind(this),n.on("chainChanged",f)),b||(b=this.onDisconnect.bind(this),n.on("disconnect",b)),m||(m=this.onSessionDelete.bind(this),n.on("session_delete",m)),{accounts:c,chainId:l}}catch(e){if(/(user rejected|connection request reset)/i.test(e?.message))throw new s.vx(e);throw e}},async disconnect(){let e=await this.getProvider();try{await e?.disconnect()}catch(e){if(!/No matching key/i.test(e.message))throw e}finally{f&&(e?.removeListener("chainChanged",f),f=void 0),b&&(e?.removeListener("disconnect",b),b=void 0),p||(p=this.onConnect.bind(this),e?.on("connect",p)),d&&(e?.removeListener("accountsChanged",d),d=void 0),m&&(e?.removeListener("session_delete",m),m=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(e=>(0,a.b)(e))},async getProvider({chainId:i}={}){async function o(){let t=r.chains.map(e=>e.id);if(!t.length)return;let{EthereumProvider:i}=await Promise.all([n.e(4134),n.e(1750),n.e(2071),n.e(9631)]).then(n.bind(n,39631));return await i.init({...e,disableProviderPing:!0,optionalChains:t,projectId:e.projectId,rpcMap:Object.fromEntries(r.chains.map(e=>{let[t]=function(e){let{chain:t}=e,n=t.rpcUrls.default.http[0];if(!e.transports)return[n];let r=e.transports?.[t.id]?.({chain:t});return(r?.value?.transports||[r]).map(({value:e})=>e?.url||n)}({chain:e,transports:r.transports});return[e.id,t]})),showQrModal:e.showQrModal??!0})}
8return t||(u||(u=o()),t=await u,t?.events.setMaxListeners(Number.POSITIVE_INFINITY)),i&&await this.switchChain?.({chainId:i}),t},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{let[e,t]=await Promise.all([this.getAccounts(),this.getProvider()]);if(!e.length)return!1;if(await this.isChainsStale()&&t.session)return await t.disconnect().catch(()=>{}),!1;return!0}catch{return!1}},async switchChain({addEthereumChainParameter:e,chainId:t}){let n=await this.getProvider();if(!n)throw new i.N;let a=r.chains.find(e=>e.id===t);if(!a)throw new s.ch(new o.nk);try{await Promise.all([new Promise(e=>{let n=({chainId:i})=>{i===t&&(r.emitter.off("change",n),e())};r.emitter.on("change",n)}),n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,c.cK)(t)}]})]);let e=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...e,t]),a}catch(r){if(/(user rejected)/i.test(r.message))throw new s.vx(r);try{let r,i;r=e?.blockExplorerUrls?e.blockExplorerUrls:a.blockExplorers?.default.url?[a.blockExplorers?.default.url]:[],i=e?.rpcUrls?.length?e.rpcUrls:[...a.rpcUrls.default.http];let o={blockExplorerUrls:r,chainId:(0,c.cK)(t),chainName:e?.chainName??a.name,iconUrls:e?.iconUrls,nativeCurrency:e?.nativeCurrency??a.nativeCurrency,rpcUrls:i};await n.request({method:"wallet_addEthereumChain",params:[o]});let s=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...s,t]),a}catch(e){throw new s.vx(e)}}},onAccountsChanged(e){0===e.length?this.onDisconnect():r.emitter.emit("change",{accounts:e.map(e=>(0,a.b)(e))})},onChainChanged(e){let t=Number(e);r.emitter.emit("change",{chainId:t})},async onConnect(e){let t=Number(e.chainId),n=await this.getAccounts();r.emitter.emit("connect",{accounts:n,chainId:t})},async onDisconnect(e){this.setRequestedChainsIds([]),r.emitter.emit("disconnect");let t=await this.getProvider();d&&(t.removeListener("accountsChanged",d),d=void 0),f&&(t.removeListener("chainChanged",f),f=void 0),b&&(t.removeListener("disconnect",b),b=void 0),m&&(t.removeListener("session_delete",m),m=void 0),p||(p=this.onConnect.bind(this),t.on("connect",p))},onDisplayUri(e){r.emitter.emit("message",{type:"display_uri",data:e})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds:()=>t?t.session?.namespaces.eip155?.accounts?.map(e=>Number.parseInt(e.split(":")[1]||""))??[]:[],async getRequestedChainsIds(){return await r.storage?.getItem(this.requestedChainsStorageKey)??[]},async isChainsStale(){if(!g)return!1;let e=r.chains.map(e=>e.id),t=this.getNamespaceChainsIds();if(t.length&&!t.some(t=>e.includes(t)))return!1;let n=await this.getRequestedChainsIds();return!e.every(e=>n.includes(e))},async setRequestedChainsIds(e){await r.storage?.setItem(this.requestedChainsStorageKey,e)},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}l.type="walletConnect"},46087:(e,t)=>{let n,r=[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];t.getSymbolSize=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},46514:(e,t,n)=>{let r=n(8527);t.render=function(e,t,n){var i;let o=n,a=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}()),o=r.getOptions(o);let s=r.getImageWidth(e.modules.size,o),c=a.getContext("2d"),l=c.createImageData(s,s);return r.qrToImageData(l.data,e,o),i=a,c.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px",c.putImageData(l,0,0),a},t.renderToDataURL=function(e,n,r){let i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});
8let o=t.render(e,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},47826:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var r=n(29995),i=n(99702),o=n(93727),a=n(21135),s=n(43935),c=n(21159);function l(e){let{abi:t,data:n}=e,l=(0,o.di)(n,0,4);if("0x"===l)throw new i.O;let u=[...t||[],r.Mc,r.J9].find(e=>"error"===e.type&&l===(0,a.V)((0,c.B)(e)));if(!u)throw new i.Wq(l,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:u,args:"inputs"in u&&u.inputs&&u.inputs.length>0?(0,s.n)(u.inputs,(0,o.di)(n,4)):void 0,errorName:u.name}}},48701:(e,t,n)=>{"use strict";n.d(t,{B4:()=>p,CQ:()=>v,CW:()=>w,Ei:()=>d,F8:()=>A,P5:()=>f,TH:()=>x,Vl:()=>g,Vr:()=>y,WM:()=>h,WQ:()=>b,im:()=>m,jm:()=>s,lD:()=>o,qh:()=>u,rE:()=>c,ry:()=>l,xn:()=>a});let r=BigInt(0x100000000-1),i=BigInt(32);function o(e,t=!1){let n=e.length,a=new Uint32Array(n),s=new Uint32Array(n);for(let o=0;o<n;o++){let{h:n,l:c}=function(e,t=!1){return t?{h:Number(e&r),l:Number(e>>i&r)}:{h:0|Number(e>>i&r),l:0|Number(e&r)}}(e[o],t);[a[o],s[o]]=[n,c]}return[a,s]}let a=(e,t,n)=>e>>>n,s=(e,t,n)=>e<<32-n|t>>>n,c=(e,t,n)=>e>>>n|t<<32-n,l=(e,t,n)=>e<<32-n|t>>>n,u=(e,t,n)=>e<<64-n|t>>>n-32,d=(e,t,n)=>e>>>n-32|t<<64-n,f=(e,t,n)=>e<<n|t>>>32-n,p=(e,t,n)=>t<<n|e>>>32-n,h=(e,t,n)=>t<<n-32|e>>>64-n,m=(e,t,n)=>e<<n-32|t>>>64-n;function b(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/0x100000000|0)|0,l:0|i}}let g=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),y=(e,t,n,r)=>t+n+r+(e/0x100000000|0)|0,w=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),v=(e,t,n,r,i)=>t+n+r+i+(e/0x100000000|0)|0,A=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),x=(e,t,n,r,i,o)=>t+n+r+i+o+(e/0x100000000|0)|0},48913:()=>{},49204:(e,t,n)=>{"use strict";n.d(t,{k:()=>d});var r=n(80844),i=n(24578);let o=e=>(0,i.S)((0,r.ZJ)(e));var a=n(31461);let s=/^tuple(?<array>(\[(\d*)\])*)$/;function c(e){let t="",n=e.length;for(let r=0;r<n;r++)t+=function e(t){let n=t.type;if(s.test(t.type)&&"components"in t){n="(";let r=t.components.length;for(let i=0;i<r;i++)n+=e(t.components[i]),i<r-1&&(n+=", ");let i=(0,a.Yv)(s,t.type);return n+=`)${i?.array??""}`,e({...t,type:n})}return("indexed"in t&&t.indexed&&(n=`${n}
8 indexed`),t.name)?`${n} ${t.name}`:n}(e[r]),r!==n-1&&(t+=", ");return t}var l=n(7441);let u=e=>(function(e){let t=!0,n="",r=0,i="",o=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&r++,")"===s&&r--,t){if(0===r){if(" "===s&&["event","function",""].includes(i))i="";else if(i+=s,")"===s){o=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}i+=s,n+=s}}if(!o)throw new l.C("Unable to normalize signature.");return i})("string"==typeof e?e:function(e){return"function"===e.type?`function ${e.name}(${c(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${c(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${c(e.inputs)})`:"error"===e.type?`error ${e.name}(${c(e.inputs)})`:"constructor"===e.type?`constructor(${c(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}(e));function d(e){return o(u(e))}},50793:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(1125),i=n(98175);function o(e,t){return(0,r.N)(function(n,r){var o=0;n.subscribe((0,i._)(r,function(n){r.next(e.call(t,n,o++))}))})}},53970:(e,t,n)=>{"use strict";n.d(t,{secp256k1:()=>N});var r=n(70787),i=n(98984),o=n(19989),a=n(30456),s=n(24611);let c=BigInt(0),l=BigInt(1);function u(e,t){let n=t.negate();return e?n:t}function d(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw Error("invalid window size, expected [1.."+t+"], got W="+e)}function f(e,t){d(e,t);let n=Math.ceil(t/e)+1,r=2**(e-1),i=2**e;return{windows:n,windowSize:r,mask:(0,s.OG)(e),maxNumber:i,shiftBy:BigInt(e)}}function p(e,t,n){let{windowSize:r,mask:i,maxNumber:o,shiftBy:a}=n,s=Number(e&i),c=e>>a;s>r&&(s-=o,c+=l);let u=t*r,d=u+Math.abs(s)-1,f=0===s;return{nextN:c,offset:d,isZero:f,isNeg:s<0,isNegF:t%2!=0,offsetF:u}}let h=new WeakMap,m=new WeakMap;function b(e){return m.get(e)||1}function g(e){return(0,a.jr)(e.Fp),(0,s.Q5)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,a.LH)(e.n,e.nBitLength),...e,...{p:e.Fp.ORDER}})}function y(e){void 0!==e.lowS&&(0,s.e8)("lowS",e.lowS),void 0!==e.prehash&&(0,s.e8)("prehash",e.prehash)}class w extends Error{constructor(e=""){super(e)}}let v={Err:w,_tlv:{encode:(e,t)=>{let{Err:n}=v;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(1&t.length)throw new n("tlv.encode: unpadded data");let r=t.length/2,i=(0,s.zW)(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");let o=r>127?(0,s.zW)(i.length/2|128):"";return(0,s.zW)(e)+o+i+t},decode(e,t){let{Err:n}=v,r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");let i=t[r++],o=0;if(128&i){let e=127&i;if(!e)throw new n("tlv.decode(long): indefinite length not supported");if(e>4)throw new n("tlv.decode(long): byte length is too big");let a=t.subarray(r,r+e);if(a.length!==e)throw new n("tlv.decode: length bytes not complete");if(0===a[0])throw new n("tlv.decode(long): zero leftmost byte");for(let e of a)o=o<<8|e;if(r+=e,o<128)throw new n("tlv.decode(long): not minimal encoding")}else o=i;let a=t.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:t.subarray(r+o)}}},_int:{encode(e){let{Err:t}=v;if(e<x)throw new t("integer: negative integers are not allowed");let n=(0,s.zW)(e);if(8&Number.parseInt(n[0],16)&&(n="00"+n),1&n.length)throw new t("unexpected DER parsing assertion: unpadded hex");return n},decode(e){let{Err:t}=v;if(128&e[0])throw new t("invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new t("invalid signature integer: unnecessary leading zero");return(0,s.Ph)(e)}},toSig(e){let{Err:t,_int:n,_tlv:r}=v,i=(0,s.qj)("signature",e),{v:o,l:a}=r.decode(48,i);if(a.length)throw new t("invalid signature: left bytes after parsing");let{v:c,l:l}=r.decode(2,o),{v:u,l:d}=r.decode(2,l);if(d.length)throw new t("invalid signature: left bytes after parsing");return{r:n.decode(c),s:n.decode(u)}},hexFromSig(e){let{_tlv:t,_int:n}=v,r=t.encode(2,n.encode(e.r)),i=t.encode(2,n.encode(e.s));return t.encode(48,r+i)}};function A(e,t){return(0,s.My)((0,s.lq)(e,t))}let x=BigInt(0),C=BigInt(1),E=(BigInt(2),BigInt(3)),B=BigInt(4),I=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),k=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),P=BigInt(0),M=BigInt(1),S=BigInt(2),O=(e,t)=>(e+t/S)/t,T=(0,a.D0)(I,void 0,void 0,{sqrt:function(e){let t=BigInt(3),n=BigInt(6),r=BigInt(11),i=BigInt(22),o=BigInt(23),s=BigInt(44),c=BigInt(88),l=e*e*e%I,u=l*l*e%I,d=(0,a.zH)(u,t,I)*u%I,f=(0,a.zH)(d,t,I)*u%I,p=(0,a.zH)(f,S,I)*l%I,h=(0,a.zH)(p,r,I)*p%I,m=(0,a.zH)(h,i,I)*h%I,b=(0,a.zH)(m,s,I)*m%I,g=(0,a.zH)(b,c,I)*b%I,y=(0,a.zH)(g,s,I)*m%I,w=(0,a.zH)(y,t,I)*u%I,v=(0,a.zH)(w,o,I)*h%I,A=(0,a.zH)(v,n,I)*l%I,x=(0,a.zH)(A,S,I);if(!T.eql(T.sqr(x),e))throw Error("Cannot find square root");return x}}),N=function(e,t){let n=t=>(function(e){let t=function(e){let t=g(e);return(0,s.Q5)(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:n,n:r,nByteLength:i,nBitLength:o}=t,w=n.BYTES+1,I=2*n.BYTES+1;function k(e){return(0,a.zi)(e,r)}function P(e){return(0,a.B8)(e,r)}let{ProjectivePoint:M,normPrivateKeyToScalar:S,weierstrassEquation:O,isWithinCurveOrder:T}=function(e){var t;let n=function(e){let t=g(e);(0,s.Q5)(t,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});
8let{endo:n,Fp:r,a:i}=t;if(n){if(!r.eql(i,r.ZERO))throw Error("invalid endo: CURVE.a must be 0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...t})}(e),{Fp:r}=n,i=(0,a.D0)(n.n,n.nBitLength),o=n.toBytes||((e,t,n)=>{let i=t.toAffine();return(0,s.Id)(Uint8Array.from([4]),r.toBytes(i.x),r.toBytes(i.y))}),y=n.fromBytes||(e=>{let t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function w(e){let{a:t,b:i}=n,o=r.sqr(e),a=r.mul(o,e);return r.add(r.add(a,r.mul(e,t)),i)}function v(e,t){let n=r.sqr(t),i=w(e);return r.eql(n,i)}if(!v(n.Gx,n.Gy))throw Error("bad curve params: generator point");let A=r.mul(r.pow(n.a,E),B),I=r.mul(r.sqr(n.b),BigInt(27));if(r.is0(r.add(A,I)))throw Error("bad curve params: a or b");function k(e){let t,{allowedPrivateKeyLengths:r,nByteLength:i,wrapPrivateKey:o,n:c}=n;if(r&&"bigint"!=typeof e){if((0,s.aY)(e)&&(e=(0,s.My)(e)),"string"!=typeof e||!r.includes(e.length))throw Error("invalid private key");e=e.padStart(2*i,"0")}try{t="bigint"==typeof e?e:(0,s.Ph)((0,s.qj)("private key",e,i))}catch(t){throw Error("invalid private key, expected hex or "+i+" bytes, got "+typeof e)}return o&&(t=(0,a.zi)(t,c)),(0,s.aK)("private key",t,C,c),t}function P(e){if(!(e instanceof O))throw Error("ProjectivePoint expected")}let M=(0,s.x)((e,t)=>{let{px:n,py:i,pz:o}=e;if(r.eql(o,r.ONE))return{x:n,y:i};let a=e.is0();null==t&&(t=a?r.ONE:r.inv(o));let s=r.mul(n,t),c=r.mul(i,t),l=r.mul(o,t);if(a)return{x:r.ZERO,y:r.ZERO};if(!r.eql(l,r.ONE))throw Error("invZ was invalid");return{x:s,y:c}}),S=(0,s.x)(e=>{if(e.is0()){if(n.allowInfinityPoint&&!r.is0(e.py))return;throw Error("bad point: ZERO")}let{x:t,y:i}=e.toAffine();if(!r.isValid(t)||!r.isValid(i))throw Error("bad point: x or y not FE");if(!v(t,i))throw Error("bad point: equation left != right");if(!e.isTorsionFree())throw Error("bad point: not in prime-order subgroup");return!0});class O{constructor(e,t,n){if(null==e||!r.isValid(e))throw Error("x required");if(null==t||!r.isValid(t)||r.is0(t))throw Error("y required");if(null==n||!r.isValid(n))throw Error("z required");this.px=e,this.py=t,this.pz=n,Object.freeze(this)}static fromAffine(e){let{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw Error("invalid affine point");if(e instanceof O)throw Error("projective point not allowed");let i=e=>r.eql(e,r.ZERO);return i(t)&&i(n)?O.ZERO:new O(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=(0,a.pS)(r,e.map(e=>e.pz));return e.map((e,n)=>e.toAffine(t[n])).map(O.fromAffine)}static fromHex(e){let t=O.fromAffine(y((0,s.qj)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return O.BASE.multiply(k(e))}static msm(e,t){return function(e,t,n,r){(function(e,t){if(!Array.isArray(e))throw Error("array expected");e.forEach((e,n)=>{if(!(e instanceof t))throw Error("invalid point at index "+n)})})(n,e),function(e,t){if(!Array.isArray(e))throw Error("array of scalars expected");e.forEach((e,n)=>{if(!t.isValid(e))throw Error("invalid scalar at index "+n)})}(r,t);let i=n.length,o=r.length;if(i!==o)throw Error("arrays of points and scalars must have equal length");let a=e.ZERO,c=(0,s.dJ)(BigInt(i)),l=1;c>12?l=c-3:c>4?l=c-2:c>0&&(l=2);let u=(0,s.OG)(l),d=Array(Number(u)+1).fill(a),f=Math.floor((t.BITS-1)/l)*l,p=a;for(let e=f;e>=0;e-=l){d.fill(a);for(let t=0;t<o;t++){let i=Number(r[t]>>BigInt(e)&u);d[i]=d[i].add(n[t])}let t=a;for(let e=d.length-1,n=a;e>0;e--)n=n.add(d[e]),t=t.add(n);if(p=p.add(t),0!==e)for(let e=0;e<l;e++)p=p.double()}return p}(O,i,e,t)}_setWindowSize(e){F.setWindowSize(this,e)}assertValidity(){S(this)}hasEvenY(){let{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){P(e);let{px:t,py:n,pz:i}=this,{px:o,py:a,pz:s}=e,c=r.eql(r.mul(t,s),r.mul(o,i)),l=r.eql(r.mul(n,s),r.mul(a,i));return c&&l}negate(){return new O(this.px,r.neg(this.py),this.pz)}double(){let{a:e,b:t}=n,i=r.mul(t,E),{px:o,py:a,pz:s}
vendor: 3,397 bytes, line 8
8=this,c=r.ZERO,l=r.ZERO,u=r.ZERO,d=r.mul(o,o),f=r.mul(a,a),p=r.mul(s,s),h=r.mul(o,a);return h=r.add(h,h),u=r.mul(o,s),u=r.add(u,u),c=r.mul(e,u),l=r.mul(i,p),l=r.add(c,l),c=r.sub(f,l),l=r.add(f,l),l=r.mul(c,l),c=r.mul(h,c),u=r.mul(i,u),p=r.mul(e,p),h=r.sub(d,p),h=r.mul(e,h),h=r.add(h,u),u=r.add(d,d),d=r.add(u,d),d=r.add(d,p),d=r.mul(d,h),l=r.add(l,d),p=r.mul(a,s),p=r.add(p,p),d=r.mul(p,h),c=r.sub(c,d),u=r.mul(p,f),u=r.add(u,u),new O(c,l,u=r.add(u,u))}add(e){P(e);let{px:t,py:i,pz:o}=this,{px:a,py:s,pz:c}=e,l=r.ZERO,u=r.ZERO,d=r.ZERO,f=n.a,p=r.mul(n.b,E),h=r.mul(t,a),m=r.mul(i,s),b=r.mul(o,c),g=r.add(t,i),y=r.add(a,s);g=r.mul(g,y),y=r.add(h,m),g=r.sub(g,y),y=r.add(t,o);let w=r.add(a,c);return y=r.mul(y,w),w=r.add(h,b),y=r.sub(y,w),w=r.add(i,o),l=r.add(s,c),w=r.mul(w,l),l=r.add(m,b),w=r.sub(w,l),d=r.mul(f,y),l=r.mul(p,b),d=r.add(l,d),l=r.sub(m,d),d=r.add(m,d),u=r.mul(l,d),m=r.add(h,h),m=r.add(m,h),b=r.mul(f,b),y=r.mul(p,y),m=r.add(m,b),b=r.sub(h,b),b=r.mul(f,b),y=r.add(y,b),h=r.mul(m,y),u=r.add(u,h),h=r.mul(w,y),l=r.mul(g,l),l=r.sub(l,h),h=r.mul(g,m),d=r.mul(w,d),new O(l,u,d=r.add(d,h))}subtract(e){return this.add(e.negate())}is0(){return this.equals(O.ZERO)}wNAF(e){return F.wNAFCached(this,e,O.normalizeZ)}multiplyUnsafe(e){let{endo:t,n:i}=n;(0,s.aK)("scalar",e,x,i);let o=O.ZERO;if(e===x)return o;if(this.is0()||e===C)return this;if(!t||F.hasPrecomputes(this))return F.wNAFCachedUnsafe(this,e,O.normalizeZ);let{k1neg:a,k1:c,k2neg:l,k2:u}=t.splitScalar(e),d=o,f=o,p=this;for(;c>x||u>x;)c&C&&(d=d.add(p)),u&C&&(f=f.add(p)),p=p.double(),c>>=C,u>>=C;return a&&(d=d.negate()),l&&(f=f.negate()),f=new O(r.mul(f.px,t.beta),f.py,f.pz),d.add(f)}multiply(e){let t,i,{endo:o,n:a}=n;if((0,s.aK)("scalar",e,C,a),o){let{k1neg:n,k1:a,k2neg:s,k2:c}=o.splitScalar(e),{p:l,f:u}=this.wNAF(a),{p:d,f:f}=this.wNAF(c);l=F.constTimeNegate(n,l),d=F.constTimeNegate(s,d),d=new O(r.mul(d.px,o.beta),d.py,d.pz),t=l.add(d),i=u.add(f)}else{let{p:n,f:r}=this.wNAF(e);t=n,i=r}return O.normalizeZ([t,i])[0]}multiplyAndAddUnsafe(e,t,n){let r=O.BASE,i=(e,t)=>t!==x&&t!==C&&e.equals(r)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,n));return o.is0()?void 0:o}toAffine(e){return M(this,e)}isTorsionFree(){let{h:e,isTorsionFree:t}=n;if(e===C)return!0;if(t)return t(O,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:t}=n;return e===C?this:t?t(O,this):this.multiplyUnsafe(n.h)}toRawBytes(e=!0){return(0,s.e8)("isCompressed",e),this.assertValidity(),o(O,this,e)}toHex(e=!0){return(0,s.e8)("isCompressed",e),(0,s.My)(this.toRawBytes(e))}}O.BASE=new O(n.Gx,n.Gy,r.ONE),O.ZERO=new O(r.ZERO,r.ONE,r.ZERO);let{endo:T,nBitLength:N}=n,F=(t=T?Math.ceil(N/2):N,{constTimeNegate:u,hasPrecomputes:e=>1!==b(e),unsafeLadder(e,t,n=O.ZERO){let r=e;for(;t>c;)t&l&&(n=n.add(r)),r=r.double(),t>>=l;return n},precomputeWindow(e,n){let{windows:r,windowSize:i}=f(n,t),o=[],a=e,s=a;for(let e=0;e<r;e++){s=a,o.push(s);for(let e=1;e<i;e++)s=s.add(a),o.push(s);a=s.double()}return o},wNAF(e,n,r){let i=O.ZERO,o=O.BASE,a=f(e,t);for(let e=0;e<a.windows;e++){let{nextN:t,offset:s,isZero:c,isNeg:l,isNegF:d,offsetF:f}=p(r,e,a);r=t,c?o=o.add(u(d,n[f])):i=i.add(u(l,n[s]))}return{p:i,f:o}},wNAFUnsafe(e,n,r,i=O.ZERO){let o=f(e,t);for(let e=0;e<o.windows&&r!==c;e++){let{nextN:t,offset:a,isZero:s,isNeg:c}=p(r,e,o);if(r=t,!s){let e=n[a];i=i.add(c?e.negate():e)}}return i}
8,getPrecomputes(e,t,n){let r=h.get(t);return r||(r=this.precomputeWindow(t,e),1!==e&&h.set(t,n(r))),r},wNAFCached(e,t,n){let r=b(e);return this.wNAF(r,this.getPrecomputes(r,e,n),t)},wNAFCachedUnsafe(e,t,n,r){let i=b(e);return 1===i?this.unsafeLadder(e,t,r):this.wNAFUnsafe(i,this.getPrecomputes(i,e,n),t,r)},setWindowSize(e,n){d(n,t),m.set(e,n),h.delete(e)}});return{CURVE:n,ProjectivePoint:O,normPrivateKeyToScalar:k,weierstrassEquation:w,isWithinCurveOrder:function(e){return(0,s.r4)(e,C,n.n)}}}({...t,toBytes(e,t,r){let i=t.toAffine(),o=n.toBytes(i.x),a=s.Id;return((0,s.e8)("isCompressed",r),r)?a(Uint8Array.from([t.hasEvenY()?2:3]),o):a(Uint8Array.from([4]),o,n.toBytes(i.y))},fromBytes(e){let t=e.length,r=e[0],i=e.subarray(1);if(t===w&&(2===r||3===r)){let e,t=(0,s.Ph)(i);if(!(0,s.r4)(t,C,n.ORDER))throw Error("Point is not on curve");let o=O(t);try{e=n.sqrt(o)}catch(e){throw Error("Point is not on curve"+(e instanceof Error?": "+e.message:""))}return(1&r)==1!=((e&C)===C)&&(e=n.neg(e)),{x:t,y:e}}if(t===I&&4===r)return{x:n.fromBytes(i.subarray(0,n.BYTES)),y:n.fromBytes(i.subarray(n.BYTES,2*n.BYTES))};throw Error("invalid Point, expected length of "+w+", or uncompressed "+I+", got "+t)}}),N=(e,t,n)=>(0,s.Ph)(e.slice(t,n));class F{constructor(e,t,n){(0,s.aK)("r",e,C,r),(0,s.aK)("s",t,C,r),this.r=e,this.s=t,null!=n&&(this.recovery=n),Object.freeze(this)}static fromCompact(e){return new F(N(e=(0,s.qj)("compactSignature",e,2*i),0,i),N(e,i,2*i))}static fromDER(e){let{r:t,s:n}=v.toSig((0,s.qj)("DER",e));return new F(t,n)}assertValidity(){}addRecoveryBit(e){return new F(this.r,this.s,e)}recoverPublicKey(e){let{r,s:i,recovery:o}=this,a=q((0,s.qj)("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw Error("recovery id invalid");let c=2===o||3===o?r+t.n:r;if(c>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let l=(1&o)==0?"02":"03",u=M.fromHex(l+A(c,n.BYTES)),d=P(c),f=k(-a*d),p=k(i*d),h=M.BASE.multiplyAndAddUnsafe(u,f,p);if(!h)throw Error("point at infinify");return h.assertValidity(),h}hasHighS(){return this.s>r>>C}normalizeS(){return this.hasHighS()?new F(this.r,k(-this.s),this.recovery):this}toDERRawBytes(){return(0,s.aT)(this.toDERHex())}toDERHex(){return v.hexFromSig(this)}toCompactRawBytes(){return(0,s.aT)(this.toCompactHex())}toCompactHex(){return A(this.r,i)+A(this.s,i)}}function R(e){if("bigint"==typeof e)return!1;if(e instanceof M)return!0;let r=(0,s.qj)("key",e).length,o=n.BYTES,a=o+1;if(!t.allowedPrivateKeyLengths&&i!==a)return r===a||r===2*o+1}let U=t.bits2int||function(e){if(e.length>8192)throw Error("input is too large");let t=(0,s.Ph)(e),n=8*e.length-o;return n>0?t>>BigInt(n):t},q=t.bits2int_modN||function(e){return k(U(e))},D=(0,s.OG)(o);function L(e){return(0,s.aK)("num < 2^"+o,e,x,D),(0,s.lq)(e,i)}let j={lowS:t.lowS,prehash:!1},z={lowS:t.lowS,prehash:!1};return M.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return M.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,n=!0){if(!0===R(e))throw Error("first arg must be private key");if(!1===R(t))throw Error("second arg must be public key");return M.fromHex(t).multiply(S(e)).toRawBytes(n)},sign:function(e,i,o=j){let{seed:a,k2sig:c}=function(e,i,o=j){if(["recovered","canonical"].some(e=>e in o))throw Error("sign() legacy options not supported");let{hash:a,randomBytes:c}=t,{lowS:l,prehash:u,extraEntropy:d}=o;null==l&&(l=!0),e=(0,s.qj)("msgHash",e),y(o),u&&(e=(0,s.qj)("prehashed msgHash",a(e)));let f=q(e),p=S(i),h=[L(p),L(f)];if(null!=d&&!1!==d){let e=!0===d?c(n.BYTES):d;h.push((0,s.qj)("extraEntropy",e))}return{seed:(0,s.Id)(...h),k2sig:function(e){var t;let n=U(e);if(!T(n))return;let i=P(n),o=M.BASE.multiply(n).toAffine(),a=k(o.x);if(a===x)return;let s=k(i*k(f+a*p));if(s===x)return;let c=2*(o.x!==a)|Number(o.y&C),u=s;return l&&s>r>>C&&(u=(t=s)>r>>C?k(-t):t,c^=1),new F(a,u,c)}}}(e,i,o);return(0,s.fg)(t.hash.outputLen,t.nByteLength,t.hmac)(a,c)},verify:function(e,n,r,i=z){let o,a;n=(0,s.qj)("msgHash",n),r=(0,s.qj)("publicKey",r);let{lowS:c,prehash:l,format:u}=i;if(y(i),"strict"in i)throw Error("options.strict was renamed to lowS");if(void 0!==u&&"compact"!==u&&"der"!==u)throw Error("format must be compact or der");let d="string"==typeof e||(0,s.aY)(e),f=!d&&!u&&"object"==typeof e&&null!==e&&"bigint"==typeof e.r&&"bigint"==typeof e.s;if(!d&&!f)throw Error("invalid signature, expected Uint8Array, hex string or Signature instance");try{if(f&&(a=new F(e.r,e.s)),d){try{"compact"!==u&&(a=F.fromDER(e))}catch(e){if(!(e instanceof v.Err))throw e}a||"der"===u||(a=F.fromCompact(e))}o=M.fromHex(r)}catch(e){return!1}if(!a||c&&a.hasHighS())return!1;l&&(n=t.hash(n));
8let{r:p,s:h}=a,m=q(n),b=P(h),g=k(m*b),w=k(p*b),A=M.BASE.multiplyAndAddUnsafe(o,g,w)?.toAffine();return!!A&&k(A.x)===p},ProjectivePoint:M,Signature:F,utils:{isValidPrivateKey(e){try{return S(e),!0}catch(e){return!1}},normPrivateKeyToScalar:S,randomPrivateKey:()=>{let e=(0,a.Tp)(t.n);return(0,a.qy)(t.randomBytes(e),t.n)},precompute:(e=8,t=M.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...e,...{hash:t,hmac:(e,...n)=>(0,i.w)(t,e,(0,o.Id)(...n)),randomBytes:o.po}});return{...n(t),create:n}}({a:P,b:BigInt(7),Fp:T,n:k,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-M*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=BigInt("0x100000000000000000000000000000000"),o=O(t*e,k),s=O(-n*e,k),c=(0,a.zi)(e-o*t-s*r,k),l=(0,a.zi)(-o*n-s*t,k),u=c>i,d=l>i;if(u&&(c=k-c),d&&(l=k-l),c>i||l>i)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:u,k1:c,k2neg:d,k2:l}}}},r.sc),F={},R=e=>e.toRawBytes(!0).slice(1),U=e=>mod(e,k)},54315:(e,t,n)=>{"use strict";n.d(t,{o:()=>d});var r=n(7441),i=n(90557),o=n(81379),a=n(67622);let s=new(n(65003)).A(8192);var c=n(42142),l=n(79183),u=n(65368);function d({key:e,methods:t,name:n,request:d,retryCount:f=3,retryDelay:p=150,timeout:h,type:m},b){return{config:{key:e,methods:t,name:n,request:d,retryCount:f,retryDelay:p,timeout:h,type:m},request:function(e,t={}){return async(n,u={})=>{let{dedupe:d=!1,methods:f,retryDelay:p=150,retryCount:h=3,uid:m}={...t,...u},{method:b}=n;if(f?.exclude?.includes(b)||f?.include&&!f.include.includes(b))throw new o.ab(Error("method not supported"),{method:b});let g=d?(0,a.i3)(`${m}.${(0,l.A)(n)}`):void 0;return function(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(s.get(n))return s.get(n);let r=e().finally(()=>s.delete(n));return s.set(n,r),r}(()=>(0,c.b)(async()=>{try{return await e(n)}catch(e){switch(e.code){case o.XU.code:throw new o.XU(e);case o.CL.code:throw new o.CL(e);case o.Gi.code:throw new o.Gi(e,{method:n.method});case o.D5.code:throw new o.D5(e);case o.bq.code:throw new o.bq(e);case o.Di.code:throw new o.Di(e);case o.hA.code:throw new o.hA(e);case o.qZ.code:throw new o.qZ(e);case o.YW.code:throw new o.YW(e);case o.ab.code:throw new o.ab(e,{method:n.method});case o.s0.code:throw new o.s0(e);case o.xQ.code:throw new o.xQ(e);case o.vx.code:throw new o.vx(e);case o.sV.code:throw new o.sV(e);case o.Sf.code:throw new o.Sf(e);case o.RV.code:throw new o.RV(e);case o.xq.code:throw new o.xq(e);case o.ch.code:throw new o.ch(e);case o.L5.code:throw new o.L5(e);case o.WT.code:throw new o.WT(e);case o.hl.code:throw new o.hl(e);case o.cg.code:throw new o.cg(e);case o.uL.code:throw new o.uL(e);case o.G1.code:throw new o.G1(e);case o.jz.code:throw new o.jz(e);case 5e3:throw new o.vx(e);default:if(e instanceof r.C)throw e;throw new o.MI(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof i.Ci){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e)}return~~(1<<e)*p},retryCount:h,shouldRetry:({error:e})=>{var t;return"code"in(t=e)&&"number"==typeof t.code?-1===t.code||t.code===o.s0.code||t.code===o.bq.code:!(t instanceof i.Ci)||!t.status||403===t.status||408===t.status||413===t.status||429===t.status||500===t.status||502===t.status||503===t.status||504===t.status||!1}}),{enabled:d,id:g})}}(d,{methods:t,retryCount:f,retryDelay:p,uid:(0,u.L)()}),value:b}}},54335:(e,t,n)=>{"use strict";function r(e,{dir:t="left"}={}){let n="string"==typeof e?e.replace("0x",""):e,i=0;for(let e=0;e<n.length-1;e++)if("0"===n["left"===t?e:n.length-e-1].toString())i++;else break;return(n="left"===t?n.slice(i):n.slice(0,n.length-i),"string"==typeof e)?(1===n.length&&"right"===t&&(n=`${n}0`),`0x${n.length%2==1?`0${n}`:n}`):n}n.d(t,{B:()=>r})},54842:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(99702),i=n(7441),o=n(35109),a=n(90557),s=n(81379);function c(e,{abi:t,address:n,args:c,docsPath:l,functionName:u,sender:d}){let f=e instanceof o.$S?e:e instanceof i.C?e.walk(e=>"data"in e)||e.walk():{},{code:p,data:h,details:m,message:b,shortMessage:g}=f,y=e instanceof r.O?new o.rR({functionName:u}
8):[3,s.bq.code].includes(p)&&(h||m||b||g)?new o.M({abi:t,data:"object"==typeof h?h.data:h,functionName:u,message:f instanceof a.J8?m:g??b}):e;return new o.bG(y,{abi:t,args:c,contractAddress:n,docsPath:l,functionName:u,sender:d})}},55394:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(14493),i=n(13861),o=n(67622),a=n(41052),s=n(7612),c=n(34524),l=n(3488);async function u(e,{address:t,blockNumber:n,blockTag:u,gatewayUrls:d,strict:f,universalResolverAddress:p}){let h=p;if(!h){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");h=(0,i.M)({blockNumber:n,chain:e.chain,contract:"ensUniversalResolver"})}let m=`${t.toLowerCase().substring(2)}.addr.reverse`;try{let i={address:h,abi:r.oX,functionName:"reverse",args:[(0,o.nj)((0,s.F)(m))],blockNumber:n,blockTag:u},a=(0,c.T)(e,l.J,"readContract"),[f,p]=d?await a({...i,args:[...i.args,d]}):await a(i);if(t.toLowerCase()!==p.toLowerCase())return null;return f}catch(e){if(f)throw e;if((0,a.J)(e,"reverse"))return null;throw e}}},55908:(e,t,n)=>{let r=n(46087),i=n(58976),o=n(34122),a=n(79621),s=n(37788),c=n(645),l=n(36517),u=n(60519),d=n(60061),f=n(62202),p=n(88252),h=n(43585),m=n(72920);function b(e,t,n){let r,i,o=e.size,a=p.getEncodedBits(t,n);for(r=0;r<15;r++)i=(a>>r&1)==1,r<6?e.set(r,8,i,!0):r<8?e.set(r+1,8,i,!0):e.set(o-15+r,8,i,!0),r<8?e.set(8,o-r-1,i,!0):r<9?e.set(8,15-r-1+1,i,!0):e.set(8,15-r-1,i,!0);e.set(o-8,8,1,!0)}t.create=function(e,t){let n,p;if(void 0===e||""===e)throw Error("No input text");let g=i.M;return void 0!==t&&(g=i.from(t.errorCorrectionLevel,i.M),n=f.from(t.version),p=l.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,i){let p;if(Array.isArray(e))p=m.fromArray(e);else if("string"==typeof e){let r=t;if(!r){let t=m.rawSplit(e);r=f.getBestVersionForData(t,n)}p=m.fromString(e,r||40)}else throw Error("Invalid data");let g=f.getBestVersionForData(p,n);if(!g)throw Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<g)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+g+".\n")}else t=g;let y=function(e,t,n){let i=new o;n.forEach(function(t){i.put(t.mode.bit,4),i.put(t.getLength(),h.getCharCountIndicator(t.mode,e)),t.write(i)});let a=(r.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,t))*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);let s=(a-i.getLengthInBits())/8;for(let e=0;e<s;e++)i.put(e%2?17:236,8);return function(e,t,n){let i,o,a=r.getSymbolTotalCodewords(t),s=a-u.getTotalCodewordsCount(t,n),c=u.getBlocksCount(t,n),l=a%c,f=c-l,p=Math.floor(a/c),h=Math.floor(s/c),m=h+1,b=p-h,g=new d(b),y=0,w=Array(c),v=Array(c),A=0,x=new Uint8Array(e.buffer);for(let e=0;e<c;e++){let t=e<f?h:m;w[e]=x.slice(y,y+t),v[e]=g.encode(w[e]),y+=t,A=Math.max(A,t)}let C=new Uint8Array(a),E=0;for(i=0;i<A;i++)for(o=0;o<c;o++)i<w[o].length&&(C[E++]=w[o][i]);for(i=0;i<b;i++)for(o=0;o<c;o++)C[E++]=v[o][i];return C}(i,e,t)}(t,n,p),w=new a(r.getSymbolSize(t));!function(e,t){let n=e.size,r=c.getPositions(t);for(let t=0;t<r.length;t++){let i=r[t][0],o=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1)&&!(n<=i+t))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,o+r,!0,!0):e.set(i+t,o+r,!1,!0))}}(w,t);let v=w.size;for(let e=8;e<v-8;e++){let t=e%2==0;w.set(e,6,t,!0),w.set(6,e,t,!0)}return!function(e,t){let n=s.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}(w,t),b(w,n,0),t>=7&&function(e,t){let n,r,i,o=e.size,a=f.getEncodedBits(t);for(let t=0;t<18;t++)n=Math.floor(t/3),r=t%3+o-8-3,i=(a>>t&1)==1,e.set(n,r,i,!0),e.set(r,n,i,!0)}(w,t),!function(e,t){let n=e.size,r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;a<t.length&&(r=(t[a]>>>o&1)==1),e.set(i,s-n,r),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}
8(w,y),isNaN(i)&&(i=l.getBestMask(w,b.bind(null,w,n))),l.applyMask(i,w),b(w,n,i),{modules:w,version:t,errorCorrectionLevel:n,maskPattern:i,segments:p}}(e,n,g,p)}},57354:(e,t)=>{let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.log=function(e){if(e<1)throw Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},57856:(e,t,n)=>{"use strict";n.d(t,{e:()=>n3});var r=n(14493),i=n(69330),o=n(60367),a=n(13861),s=n(54335),c=n(67622),l=n(41052),u=n(95041),d=n(32160),f=n(7612),p=n(34524),h=n(3488);async function m(e,t){let{blockNumber:n,blockTag:m,coinType:b,name:g,gatewayUrls:y,strict:w}=t,{chain:v}=e,A=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!v)throw Error("client chain not configured. universalResolverAddress is required.");return(0,a.M)({blockNumber:n,chain:v,contract:"ensUniversalResolver"})})(),x=v?.ensTlds;if(x&&!x.some(e=>g.endsWith(e)))return null;try{let t=(0,o.p)({abi:r.Rm,functionName:"addr",...null!=b?{args:[(0,d.k)(g),BigInt(b)]}:{args:[(0,d.k)(g)]}}),a={address:A,abi:r.Ag,functionName:"resolve",args:[(0,c.nj)((0,f.F)(g)),t,y??[u.J]],blockNumber:n,blockTag:m},l=(0,p.T)(e,h.J,"readContract"),w=await l(a);if("0x"===w[0])return null;let v=(0,i.e)({abi:r.Rm,args:null!=b?[(0,d.k)(g),BigInt(b)]:void 0,functionName:"addr",data:w[0]});if("0x"===v||"0x00"===(0,s.B)(v))return null;return v}catch(e){if(w)throw e;if((0,l.J)(e,"resolve"))return null;throw e}}var b=n(75794),g=n(55394);async function y(e,t){let{blockNumber:n,blockTag:r,name:i}=t,{chain:o}=e,s=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!o)throw Error("client chain not configured. universalResolverAddress is required.");return(0,a.M)({blockNumber:n,chain:o,contract:"ensUniversalResolver"})})(),l=o?.ensTlds;if(l&&!l.some(e=>i.endsWith(e)))throw Error(`${i} is not a valid ENS TLD (${l?.join(", ")}) for chain "${o.name}" (id: ${o.id}).`);let[u]=await (0,p.T)(e,h.J,"readContract")({address:s,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,c.nj)((0,f.F)(i))],blockNumber:n,blockTag:r});return u}var w=n(65830),v=n(96635),A=n(19405),x=n(23360),C=n(7671),E=n(76743),B=n(65358);async function I(e,t){let{account:n=e.account,blockNumber:r,blockTag:i="latest",blobs:o,data:a,gas:s,gasPrice:l,maxFeePerBlobGas:u,maxFeePerGas:d,maxPriorityFeePerGas:f,to:p,value:h,...m}=t,b=n?(0,A.J)(n):void 0;try{(0,B.c)(t);let n="bigint"==typeof r?(0,c.cK)(r):void 0,g=e.chain?.formatters?.transactionRequest?.format,y=(g||E.Bv)({...(0,C.o)(m,{format:g}),from:b?.address,blobs:o,data:a,gas:s,gasPrice:l,maxFeePerBlobGas:u,maxFeePerGas:d,maxPriorityFeePerGas:f,to:p,value:h}),w=await e.request({method:"eth_createAccessList",params:[y,n||i]});return{accessList:w.accessList,gasUsed:BigInt(w.gasUsed)}}catch(n){throw(0,x.d)(n,{...t,account:b,chain:e.chain})}}function k(e,{method:t}){let n={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:r,status:i,transport:o})=>{"success"===i&&t===e&&(n[r]=o.request)}),t=>n[t]||e.request}async function P(e){let t=k(e,{method:"eth_newBlockFilter"}),n=await e.request({method:"eth_newBlockFilter"});return{id:n,request:t(n),type:"block"}}var M=n(99702),S=n(7441);class O extends S.C{constructor(e){super(`Filter type "${e}" is not supported.`,{name:"FilterTypeNotSupportedError"})}}var T=n(80844),N=n(24578),F=n(399),R=n(13423),U=n(21159),q=n(23008);let D="/docs/contract/encodeEventTopics";function L(e){let{abi:t,eventName:n,args:r}=e,i=t[0];if(n){let e=(0,q.iY)({abi:t,name:n});if(!e)throw new M.M_(n,{docsPath:D});i=e}if("event"!==i.type)throw new M.M_(void 0,{docsPath:D});let o=(0,U.B)(i),a=(0,F.h)(o),s=[];if(r&&"inputs"in i){let e=i.inputs?.filter(e=>"indexed"in e&&e.indexed),t=Array.isArray(r)?r:Object.values(r).length>0?e?.map(e=>r[e.name])??[]:[];t.length>0&&(s=e?.map((e,n)=>Array.isArray(t[n])?t[n].map((r,i)=>j({param:e,value:t[n][i]})):void 0!==t[n]&&null!==t[n]?j({param:e,value:t[n]}):null)??[])}return[a,...s]}function j({param:e,value:t}
vendor: 11,024 bytes, line 8
8){if("string"===e.type||"bytes"===e.type)return(0,N.S)((0,T.ZJ)(t));if("tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/))throw new O(e.type);return(0,R.h)([e],[t])}async function z(e,t){let{address:n,abi:r,args:i,eventName:o,fromBlock:a,strict:s,toBlock:l}=t,u=k(e,{method:"eth_newFilter"}),d=o?L({abi:r,args:i,eventName:o}):void 0,f=await e.request({method:"eth_newFilter",params:[{address:n,fromBlock:"bigint"==typeof a?(0,c.cK)(a):a,toBlock:"bigint"==typeof l?(0,c.cK)(l):l,topics:d}]});return{abi:r,args:i,eventName:o,id:f,request:u(f),strict:!!s,type:"event"}}async function W(e,{address:t,args:n,event:r,events:i,fromBlock:o,strict:a,toBlock:s}={}){let l=i??(r?[r]:void 0),u=k(e,{method:"eth_newFilter"}),d=[];l&&(d=[l.flatMap(e=>L({abi:[e],eventName:e.name,args:n}))],r&&(d=d[0]));let f=await e.request({method:"eth_newFilter",params:[{address:t,fromBlock:"bigint"==typeof o?(0,c.cK)(o):o,toBlock:"bigint"==typeof s?(0,c.cK)(s):s,...d.length?{topics:d}:{}}]});return{abi:l,args:n,eventName:r?r.name:void 0,fromBlock:o,id:f,request:u(f),strict:!!a,toBlock:s,type:"event"}}async function Q(e){let t=k(e,{method:"eth_newPendingTransactionFilter"}),n=await e.request({method:"eth_newPendingTransactionFilter"});return{id:n,request:t(n),type:"transaction"}}var _=n(54842),G=n(35883),H=n(32840),K=n(87094),$=n(27493);async function V({hash:e,signature:t}){let r=(0,H.q)(e)?e:(0,c.nj)(e),{secp256k1:i}=await Promise.resolve().then(n.bind(n,53970)),o=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:n,v:r,yParity:o}=t,a=J(Number(o??r));return new i.Signature((0,$.uU)(e),(0,$.uU)(n)).addRecoveryBit(a)}let e=(0,H.q)(t)?t:(0,c.nj)(t);if(65!==(0,K.E)(e))throw Error("invalid signature length");let n=J((0,$.ME)(`0x${e.slice(130)}`));return i.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(r.substring(2)).toHex(!1);return`0x${o}`}function J(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function Y({hash:e,signature:t}){var n=await V({hash:e,signature:t});let r=(0,N.S)(`0x${n.substring(4)}`).substring(26);return(0,G.o)(`0x${r}`)}var Z=n(79731),X=n(87456);function ee(e){if(e<256)return 1;if(e<65536)return 2;if(e<0x1000000)return 3;if(e<0x100000000)return 4;throw new S.C("Length is too large.")}async function et(e){let{authorization:t,signature:n}=e;return Y({hash:function(e){let{chainId:t,nonce:n,to:r}=e,i=e.contractAddress??e.address,o=(0,N.S)((0,Z.aP)(["0x05",function(e,t="hex"){let n=function e(t){return Array.isArray(t)?function(e){let t=e.reduce((e,t)=>e+t.length,0),n=ee(t);return{length:t<=55?1+t:1+n+t,encode(r){for(let{encode:i}of(t<=55?r.pushByte(192+t):(r.pushByte(247+n),1===n?r.pushUint8(t):2===n?r.pushUint16(t):3===n?r.pushUint24(t):r.pushUint32(t)),e))i(r)}}}(t.map(t=>e(t))):function(e){let t="string"==typeof e?(0,T.aT)(e):e,n=ee(t.length);return{length:1===t.length&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(e){1===t.length&&t[0]<128||(t.length<=55?e.pushByte(128+t.length):(e.pushByte(183+n),1===n?e.pushUint8(t.length):2===n?e.pushUint16(t.length):3===n?e.pushUint24(t.length):e.pushUint32(t.length))),e.pushBytes(t)}}}(t)}(e),r=(0,X.l)(new Uint8Array(n.length));return(n.encode(r),"hex"===t)?(0,c.My)(r.bytes):r.bytes}([t?(0,c.cK)(t):"0x",i,n?(0,c.cK)(n):"0x"])]));return"bytes"===r?(0,T.aT)(o):o}(t),signature:n??t})}var en=n(44494),er=n(31942),ei=n(69432);class eo extends S.C{constructor(e,{account:t,docsPath:n,chain:r,data:i,gas:o,gasPrice:a,maxFeePerGas:s,maxPriorityFeePerGas:c,nonce:l,to:u,value:d}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",(0,ei.aO)({from:t?.address,to:u,value:void 0!==d&&`${(0,en.c)(d)} ${r?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:o,gasPrice:void 0!==a&&`${(0,er.Q)(a)} gwei`,maxFeePerGas:void 0!==s&&`${(0,er.Q)(s)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${(0,er.Q)(c)} gwei`,nonce:l})].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var ea=n(42264),es=n(35020),ec=n(25507);class el extends S.C{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class eu extends S.C{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class ed extends S.C{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,er.Q)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}class ef extends S.C{constructor({blockHash:e,blockNumber:t}){let n="Block";e&&(n=`Block at hash "${e}"`),t&&(n=`Block at number "${t}"`),super(`${n} could not be found.`,{name:"BlockNotFoundError"})}}let ep={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function eh(e){let t={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,$.ME)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,$.ME)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?ep[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),t.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof t.v){if(0n===t.v||27n===t.v)return 0;if(1n===t.v||28n===t.v)return 1;if(t.v>=35n)return+(t.v%2n===0n)}})(),"legacy"===t.type&&(delete t.accessList,delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas,delete t.yParity),"eip2930"===t.type&&(delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),"eip1559"===t.type&&delete t.maxFeePerBlobGas,t}function em(e){let t=(e.transactions??[]).map(e=>"string"==typeof e?e:eh(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}async function eb(e,{blockHash:t,blockNumber:n,blockTag:r,includeTransactions:i}={}){let o=i??!1,a=void 0!==n?(0,c.cK)(n):void 0,s=null;if(!(s=t?await e.request({method:"eth_getBlockByHash",params:[t,o]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[a||(r??"latest"),o]},{dedupe:!!a})))throw new ef({blockHash:t,blockNumber:n});return(e.chain?.formatters?.block?.format||em)(s)}async function eg(e){return BigInt(await e.request({method:"eth_gasPrice"}))}async function ey(e,t){return ew(e,t)}async function ew(e,t){let{block:n,chain:r=e.chain,request:i}=t||{};try{let t=r?.fees?.maxPriorityFeePerGas??r?.fees?.defaultPriorityFee;if("function"==typeof t){let r=n||await (0,p.T)(e,eb,"getBlock")({}),o=await t({block:r,client:e,request:i});if(null===o)throw Error();return o}if(void 0!==t)return t;let o=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,$.uU)(o)}catch{let[t,r]=await Promise.all([n?Promise.resolve(n):(0,p.T)(e,eb,"getBlock")({}),(0,p.T)(e,eg,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new eu;let i=r-t.baseFeePerGas;if(i<0n)return 0n;return i}}async function ev(e,t){return eA(e,t)}async function eA(e,t){let{block:n,chain:r=e.chain,request:i,type:o="eip1559"}=t||{},a=await (async()=>"function"==typeof r?.fees?.baseFeeMultiplier?r.fees.baseFeeMultiplier({block:n,client:e,request:i}):r?.fees?.baseFeeMultiplier??1.2)();if(a<1)throw new el;let s=a.toString().split(".")[1]?.length??0,c=10**s,l=e=>e*BigInt(Math.ceil(a*c))/BigInt(c),u=n||await (0,p.T)(e,eb,"getBlock")({});if("function"==typeof r?.fees?.estimateFeesPerGas){let t=await r.fees.estimateFeesPerGas({block:n,client:e,multiply:l,request:i,type:o});if(null!==t)return t}if("eip1559"===o){if("bigint"!=typeof u.baseFeePerGas)throw new eu;let t="bigint"==typeof i?.maxPriorityFeePerGas?i.maxPriorityFeePerGas:await ew(e,{block:u,chain:r,request:i}),n=l(u.baseFeePerGas);return{maxFeePerGas:i?.maxFeePerGas??n+t,maxPriorityFeePerGas:t}}return{gasPrice:i?.gasPrice??l(await (0,p.T)(e,eg,"getGasPrice")({}))}}async function ex(e,{address:t,blockTag:n="latest",blockNumber:r}){let i=await e.request({method:"eth_getTransactionCount",params:[t,"bigint"==typeof r?(0,c.cK)(r):n]},{dedupe:!!r});return(0,$.ME)(i)}function eC(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),r="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,T.aT)(e)):e.blobs,i=[];for(let e of r)i.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===n?i:i.map(e=>(0,c.My)(e))}function eE(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),r="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,T.aT)(e)):e.blobs,i="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,T.aT)(e)):e.commitments,o=[];for(let e=0;e<r.length;e++){let n=r[e],a=i[e];o.push(Uint8Array.from(t.computeBlobKzgProof(n,a)))}return"bytes"===n?o:o.map(e=>(0,c.My)(e))}var eB=n(62288);class eI extends S.C{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class ek extends S.C{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}async function eP(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,$.ME)(t)}S.C,S.C;let eM=["blobVersionedHashes","chainId","fees","gas","nonce","type"],eS=new Map;async function eO(e,t){let n,r,{account:i=e.account,blobs:o,chain:a,gas:s,kzg:l,nonce:u,nonceManager:d,parameters:f=eM,type:h}=t,m=i?(0,A.J)(i):i,b={...t,...m?{from:m?.address}:{}};async function g(){return n||(n=await (0,p.T)(e,eb,"getBlock")({blockTag:"latest"}))}async function y(){return r||(a?a.id:void 0!==t.chainId?t.chainId:r=await (0,p.T)(e,eP,"getChainId")({}))}if(f.includes("nonce")&&void 0===u&&m)if(d){let t=await y();b.nonce=await d.consume({address:m.address,chainId:t,client:e})}else b.nonce=await (0,p.T)(e,ex,"getTransactionCount")({address:m.address,blockTag:"pending"});if((f.includes("blobVersionedHashes")||f.includes("sidecars"))&&o&&l){let e=eC({blobs:o,kzg:l});if(f.includes("blobVersionedHashes")&&(b.blobVersionedHashes=function(e){let{c
8ommitments:t,version:n}=e,r=e.to??("string"==typeof t[0]?"hex":"bytes"),i=[];for(let e of t)i.push(function(e){let{commitment:t,version:n=1}=e,r=e.to??("string"==typeof t?"hex":"bytes"),i=function(e,t){let n=(0,eB.sc)((0,H.q)(e,{strict:!1})?(0,T.ZJ)(e):e);return"bytes"===(t||"hex")?n:(0,c.nj)(n)}(t,"bytes");return i.set([n],0),"bytes"===r?i:(0,c.My)(i)}({commitment:e,to:r,version:n}));return i}({commitments:e,to:"hex"})),f.includes("sidecars")){let t=eE({blobs:o,commitments:e,kzg:l});b.sidecars=function(e){let{data:t,kzg:n,to:r}=e,i=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),n="string"==typeof e.data?(0,T.aT)(e.data):e.data,r=(0,K.E)(n);if(!r)throw new ek;if(r>761855)throw new eI({maxSize:761855,size:r});let i=[],o=!0,a=0;for(;o;){let e=(0,X.l)(new Uint8Array(131072)),t=0;for(;t<4096;){let r=n.slice(a,a+31);if(e.pushByte(0),e.pushBytes(r),r.length<31){e.pushByte(128),o=!1;break}t++,a+=31}i.push(e)}return"bytes"===t?i.map(e=>e.bytes):i.map(e=>(0,c.My)(e.bytes))}({data:t,to:r}),o=e.commitments??eC({blobs:i,kzg:n,to:r}),a=e.proofs??eE({blobs:i,commitments:o,kzg:n,to:r}),s=[];for(let e=0;e<i.length;e++)s.push({blob:i[e],commitment:o[e],proof:a[e]});return s}({blobs:o,commitments:e,proofs:t,to:"hex"})}}if(f.includes("chainId")&&(b.chainId=await y()),(f.includes("fees")||f.includes("type"))&&void 0===h)try{b.type=function(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new ei.Vg({transaction:e})}(b)}catch{let t=eS.get(e.uid);if(void 0===t){let n=await g();t="bigint"==typeof n?.baseFeePerGas,eS.set(e.uid,t)}b.type=t?"eip1559":"legacy"}if(f.includes("fees"))if("legacy"!==b.type&&"eip2930"!==b.type){if(void 0===b.maxFeePerGas||void 0===b.maxPriorityFeePerGas){let n=await g(),{maxFeePerGas:r,maxPriorityFeePerGas:i}=await eA(e,{block:n,chain:a,request:b});if(void 0===t.maxPriorityFeePerGas&&t.maxFeePerGas&&t.maxFeePerGas<i)throw new ed({maxPriorityFeePerGas:i});b.maxPriorityFeePerGas=i,b.maxFeePerGas=r}}else{if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)throw new eu;if(void 0===t.gasPrice){let t=await g(),{gasPrice:n}=await eA(e,{block:t,chain:a,request:b,type:"legacy"});b.gasPrice=n}}return f.includes("gas")&&void 0===s&&(b.gas=await (0,p.T)(e,eN,"estimateGas")({...b,account:m?{address:m.address,type:"json-rpc"}:m})),(0,B.c)(b),delete b.parameters,b}var eT=n(59742);async function eN(e,t){let{account:n=e.account}=t,r=n?(0,A.J)(n):void 0;try{let{accessList:n,authorizationList:o,blobs:a,blobVersionedHashes:s,blockNumber:l,blockTag:u,data:d,gas:f,gasPrice:p,maxFeePerBlobGas:h,maxFeePerGas:m,maxPriorityFeePerGas:b,nonce:g,value:y,stateOverride:w,...v}=await eO(e,{...t,parameters:r?.type==="local"?void 0:["blobVersionedHashes"]}),A=("bigint"==typeof l?(0,c.cK)(l):void 0)||u,x=(0,ec.yH)(w),I=await (async()=>v.to?v.to:o&&o.length>0?await et({authorization:o[0]}).catch(()=>{throw new S.C("`to` is required. Could not infer from `authorizationList`")}):void 0)();(0,B.c)(t);let k=e.chain?.formatters?.transactionRequest?.format,P=(k||E.Bv)({...(0,C.o)(v,{format:k}),from:r?.address,accessList:n,authorizationList:o,blobs:a,blobVersionedHashes:s,data:d,gas:f,gasPrice:p,maxFeePerBlobGas:h,maxFeePerGas:m,maxPriorityFeePerGas:b,nonce:g,to:I,value:y});function i(t){let{block:n,request:r,rpcStateOverride:i}=t;return e.request({method:"eth_estimateGas",params:i?[r,n??"latest",i]:n?[r,n]:[r]})}let M=BigInt(await i({block:A,request:P,rpcStateOverride:x}));if(o){let t=await (0,eT.r)(e,{address:P.from}),n=await Promise.all(o.map(async e=>{let{address:n}=e,o=await i({block:A,request:{authorizationList:void 0,data:d,from:r?.address,to:n,value:(0,c.cK)(t)},rpcStateOverride:x}).catch(()=>100000n);return 2n*BigInt(o)}));M+=n.reduce((e,t)=>e+t,0n)}return M}catch(n){throw function(e,{docsPath:t,...n}){return new eo((()=>{let t=(0,es.l)(e,n);return t instanceof ea.RM?e:t})(),{docsPath:t,...n})}(n,{...t,account:r,chain:e.chain})}}async function eF(e,t){let{abi:n,address:r,args:i,functionName:a,dataSuffix:s,...c}=t,l=(0,o.p)({abi:n,args:i,functionName:a});try{return await (0,p.T)(e,eN,"estimateGas")({data:`${l}${s?s.replace("0x",""):""}`,to:r,...c})}catch(t){let e=c.account?(0,A.J)(c.account):void 0;throw(0,_.j)(t,{abi:n,address:r,args:i,docsPath:"/docs/contract/estimateContractGas",functionName:a,sender:e?.address})}}async function eR(e){return BigInt(await e.request({method:"eth_blobBaseFee"}))}let eU=new Map,eq=new Map;async function eD(e,{cacheKey:t,cacheTime:n=Number.POSITIVE_INFINITY}){let r=function(e){let t=(e,t)=>({clear:()=>t.delete(e),get:()=>t.get(e),set:n=>t.set(e,n)}),n=t(e,eU),r=t(e,eq);return{clear:()=>{n.clear(),r.clear()},promise:n,response:r}}(t),i=r.response.get();if(i&&n>0&&new Date().getTime()-i.created.getTime()<n)return i.data;let o=r.promise.get();o||(o=e(),r.promise.set(o));try{let e=await o;return r.response.set({created:new Date,data:e}),e}finally{r.promise.clear()}}let eL=e=>`blockNumber.${e}`;async function ej(e,{cacheTime:t=e.cacheTime}={}){return BigInt(await eD(()=>e.request({method:"eth_blockNumber"}),{cacheKey:eL(e.uid),cacheTime:t}))}async function ez(e,{blockHash:t,blockNumber:n,blockTag:r="latest"}={}){let i,o=void 0!==n?(0,c.cK)(n):void 0;return i=t?await e.request({method:"eth_getBlockTransactionCountByHash",params:[t]},{dedupe:!0}):await e.request({method:"eth_getBlockTransactionCountByNumber",params:[o||r]},{dedupe:!!o}),(0,$.ME)(i)}async function eW(e,{address:t,blockNumber:n,blockTag:r="latest"}){let i=void 0!==n?(0,c.cK)(n):void 0,o=await e.request({method:"eth_getCode",params:[t,i||r]},{dedupe:!!i});if("0x"!==o)return o}var eQ=n(17255),e_=n(97118),eG=n(43935);let eH="/docs/contract/decodeEventLog";function eK(e){let{abi:t,data:n,strict:r,topics:i}=e,o=r??!0,[a,...s]=i;if(!a)throw new M._z({docsPath:eH});let c=t.find(e=>"event"===e.type&&a===(0,F.h)((0,U.B)(e)));if(!(c&&"name"in c)||"event"!==c.type)throw new M.kE(a,{docsPath:eH});let{name:l,inputs:u}=c,d=u?.some(e=>!("name"in e&&e.name)),f=d?[]:{},p=u.map((e,t)=>[e,t]).filter(([e])=>
vendor: 5,376 bytes, line 8
8"indexed"in e&&e.indexed);for(let e=0;e<p.length;e++){let[t,n]=p[e],r=s[e];if(!r)throw new M.l3({abiItem:c,param:t});f[d?n:t.name||n]=function({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,eG.n)([e],t)||[])[0]}({param:t,value:r})}let h=u.filter(e=>!("indexed"in e&&e.indexed));if(h.length>0){if(n&&"0x"!==n)try{let e=(0,eG.n)(h,n);if(e)if(d)for(let t=0;t<u.length;t++)f[t]=f[t]??e.shift();else for(let t=0;t<h.length;t++)f[h[t].name]=e[t]}catch(e){if(o){if(e instanceof M.Iy||e instanceof e_.SK)throw new M.fo({abiItem:c,data:n,params:h,size:(0,K.E)(n)});throw e}}else if(o)throw new M.fo({abiItem:c,data:"0x",params:h,size:0})}return{eventName:l,args:Object.values(f).length>0?f:void 0}}function e$(e){let{abi:t,args:n,logs:r,strict:i=!0}=e,o=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return r.map(e=>{try{let r=t.find(t=>"event"===t.type&&e.topics[0]===(0,F.h)(t));if(!r)return null;let a=eK({...e,abi:[r],strict:i});if(o&&!o.includes(a.eventName)||!function(e){let{args:t,inputs:n,matchArgs:r}=e;if(!r)return!0;if(!t)return!1;function i(e,t,n){try{if("address"===e.type)return(0,eQ.h)(t,n);if("string"===e.type||"bytes"===e.type)return(0,N.S)((0,T.ZJ)(t))===n;return t===n}catch{return!1}}return Array.isArray(t)&&Array.isArray(r)?r.every((e,r)=>{if(null==e)return!0;let o=n[r];return!!o&&(Array.isArray(e)?e:[e]).some(e=>i(o,e,t[r]))}):!("object"!=typeof t||Array.isArray(t)||"object"!=typeof r||Array.isArray(r))&&Object.entries(r).every(([e,r])=>{if(null==r)return!0;let o=n.find(t=>t.name===e);return!!o&&(Array.isArray(r)?r:[r]).some(n=>i(o,n,t[e]))})}({args:a.args,inputs:r.inputs,matchArgs:n}))return null;return{...a,...e}}catch(r){let t,n;if(r instanceof M.kE)return null;if(r instanceof M.fo||r instanceof M.l3){if(i)return null;t=r.abiItem.name,n=r.abiItem.inputs?.some(e=>!("name"in e&&e.name))}return{...e,args:n?[]:{},eventName:t}}}).filter(Boolean)}function eV(e,{args:t,eventName:n}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...n?{args:t,eventName:n}:{}}}async function eJ(e,{address:t,blockHash:n,fromBlock:r,toBlock:i,event:o,events:a,args:s,strict:l}={}){let u,d=a??(o?[o]:void 0),f=[];d&&(f=[d.flatMap(e=>L({abi:[e],eventName:e.name,args:a?void 0:s}))],o&&(f=f[0]));let p=(n?await e.request({method:"eth_getLogs",params:[{address:t,topics:f,blockHash:n}]}):await e.request({method:"eth_getLogs",params:[{address:t,topics:f,fromBlock:"bigint"==typeof r?(0,c.cK)(r):r,toBlock:"bigint"==typeof i?(0,c.cK)(i):i}]})).map(e=>eV(e));return d?e$({abi:d,args:s,logs:p,strict:l??!1}):p}async function eY(e,t){let{abi:n,address:r,args:i,blockHash:o,eventName:a,fromBlock:s,toBlock:c,strict:l}=t,u=a?(0,q.iY)({abi:n,name:a}):void 0,d=u?void 0:n.filter(e=>"event"===e.type);return(0,p.T)(e,eJ,"getLogs")({address:r,args:i,blockHash:o,event:u,events:d,fromBlock:s,toBlock:c,strict:l})}class eZ extends S.C{constructor({address:e}){super(`No EIP-712 domain found on contract "${e}".`,{metaMessages:["Ensure that:",`- The contract is deployed at the address "${e}".`,"- `eip712Domain()` function exists on the contract.","- `eip712Domain()` function matches signature to ERC-5267 specification."],name:"Eip712DomainNotFoundError"})}}async function eX(e,t){let{address:n,factory:r,factoryData:i}=t;try{let[t,o,a,s,c,l,u]=await (0,p.T)(e,h.J,"readContract")({abi:e0,address:n,functionName:"eip712Domain",factory:r,factoryData:i});return{domain:{name:o,version:a,chainId:Number(s),verifyingContract:c,salt:l},extensions:u,fields:t}}catch(e){if("ContractFunctionExecutionError"===e.name&&"ContractFunctionZeroDataError"===e.cause.name)throw new eZ({address:n});throw e}}let e0=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];async function e1(e,{blockCount:t,blockNumber:n,blockTag:r="latest",rewardPercentiles:i}){var o;let a="bigint"==typeof n?(0,c.cK)(n):void 0;return{baseFeePerGas:(o=await e.request({method:"eth_feeHistory",params:[(0,c.cK)(t),a||r,i]},{dedupe:!!a})).baseFeePerGas.map(e=>BigInt(e)),gasUsedRatio:o.gasUsedRatio,oldestBlock:BigInt(o.oldestBlock),reward:o.reward?.map(e=>e.map(e=>BigInt(e)))}}async function e2(e,{filter:t}){let n="strict"in t&&t.strict,r=await t.request({method:"eth_getFilterChanges",params:[t.id]});if("string"==typeof r[0])return r;let i=r.map(e=>eV(e));return"abi"in t&&t.abi?e$({abi:t.abi,logs:i,strict:n}):i}async function e6(e,{filter:t}){let n=t.strict??!1,r=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map(e=>eV(e));return t.abi?e$({abi:t.abi,logs:r,strict:n}):r}async function e5(e,{address:t,blockNumber:n,blockTag:r,storageKeys:i}){let o=void 0!==n?(0,c.cK)(n):void 0;var a=await e.request({method:"eth_getProof",params:[t,i,o||(r??"latest")]});return{...a,balance:a.balance?BigInt(a.balance):void 0,nonce:a.nonce?(0,$.ME)(a.nonce):void 0,storageProof:a.storageProof?a.storageProof.map(e=>
vendor: 7,225 bytes, line 8
8({...e,value:BigInt(e.value)})):void 0}}async function e3(e,{address:t,blockNumber:n,blockTag:r="latest",slot:i}){let o=void 0!==n?(0,c.cK)(n):void 0;return await e.request({method:"eth_getStorageAt",params:[t,i,o||r]})}async function e8(e,{blockHash:t,blockNumber:n,blockTag:r,hash:i,index:o}){let a=r||"latest",s=void 0!==n?(0,c.cK)(n):void 0,l=null;if(i?l=await e.request({method:"eth_getTransactionByHash",params:[i]},{dedupe:!0}):t?l=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[t,(0,c.cK)(o)]},{dedupe:!0}):(s||a)&&(l=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[s||a,(0,c.cK)(o)]},{dedupe:!!s})),!l)throw new ei.Kz({blockHash:t,blockNumber:n,blockTag:a,hash:i,index:o});return(e.chain?.formatters?.transaction?.format||eh)(l)}async function e4(e,{hash:t,transactionReceipt:n}){let[r,i]=await Promise.all([(0,p.T)(e,ej,"getBlockNumber")({}),t?(0,p.T)(e,e8,"getTransaction")({hash:t}):void 0]),o=n?.blockNumber||i?.blockNumber;return o?r-o+1n:0n}let e9={"0x0":"reverted","0x1":"success"};async function e7(e,{hash:t}){let n=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!n)throw new ei.Kc({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||function(e){let t={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>eV(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,$.ME)(e.transactionIndex):null,status:e.status?e9[e.status]:null,type:e.type?ep[e.type]||e.type:null};return e.blobGasPrice&&(t.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(t.blobGasUsed=BigInt(e.blobGasUsed)),t})(n)}var te=n(6083),tt=n(35791),tn=n(35109);async function tr(e,t){let{blockNumber:n,blockTag:r="latest",blocks:a,returnFullTransactions:s,traceTransfers:l,validation:u}=t;try{let t=[];for(let e of a){let n=e.blockOverrides?tt.J(e.blockOverrides):void 0,r=e.calls.map(e=>{let t=e.account?(0,A.J)(e.account):void 0,n={...e,data:e.abi?(0,o.p)(e):e.data,from:e.from??t?.address};return(0,B.c)(n),(0,E.Bv)(n)}),i=e.stateOverrides?(0,ec.yH)(e.stateOverrides):void 0;t.push({blockOverrides:n,calls:r,stateOverrides:i})}let d="bigint"==typeof n?(0,c.cK)(n):void 0;return(await e.request({method:"eth_simulateV1",params:[{blockStateCalls:t,returnFullTransactions:s,traceTransfers:l,validation:u},d||r]})).map((e,t)=>({...em(e),calls:e.calls.map((e,n)=>{let{abi:r,args:o,functionName:s,to:c}=a[t].calls[n],l=e.error?.data??e.returnData,u=BigInt(e.gasUsed),d=e.logs?.map(e=>eV(e)),f="0x1"===e.status?"success":"failure",p=r&&"success"===f&&"0x"!==l?(0,i.e)({abi:r,data:l,functionName:s}):null,h=(()=>{let t;if("success"!==f&&(e.error?.data==="0x"?t=new M.O:e.error&&(t=new tn.$S(e.error)),t))return(0,_.j)(t,{abi:r??[],address:c,args:o,functionName:s??"<unknown>"})})();return{data:l,gasUsed:u,logs:d,status:f,..."success"===f?{result:p}:{error:h}}})}))}catch(t){let e=(0,es.l)(t,{});if(e instanceof ea.RM)throw t;throw e}}class ti extends Error{constructor(e,t={}){let n=t.cause instanceof ti?t.cause.details:t.cause?.message?t.cause.message:t.details,r=t.cause instanceof ti&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...r?[`Docs: https://abitype.dev${r}`]:[],...n?[`Details: ${n}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=n,this.docsPath=r,this.metaMessages=t.metaMessages,this.shortMessage=e}}class to extends ti{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}class ta extends ti{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class ts extends ti{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}function tc(e,t){let n=e.exec(t);return n?.groups}let tl=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,tu=/^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)?$/,td=/^\(.+?\).*?$/,tf=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,tp=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,th=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/,tm=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/,tb=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/,tg=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/,ty=/^receive\(\) external payable$/,tw=new Set(["indexed"]),tv=new Set(["calldata","memory","storage"]);class tA extends ti{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class tx extends ti{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class tC extends ti{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class tE extends ti{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${n}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class tB extends ti{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invali
8d."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class tI extends ti{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class tk extends ti{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class tP extends ti{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class tM extends ti{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class tS extends ti{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let tO=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function tT(e,t={}){if(th.test(e))return function(e,t={}){let n=tc(th,e);if(!n)throw new tI({signature:e,type:"function"});let r=tq(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(tU(r[e],{modifiers:tv,structs:t,type:"function"}));let a=[];if(n.returns){let e=tq(n.returns),r=e.length;for(let n=0;n<r;n++)a.push(tU(e[n],{modifiers:tv,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:i,outputs:a}}(e,t);if(tp.test(e))return function(e,t={}){let n=tc(tp,e);if(!n)throw new tI({signature:e,type:"event"});let r=tq(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(tU(r[e],{modifiers:tw,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:i}}(e,t);if(tf.test(e))return function(e,t={}){let n=tc(tf,e);if(!n)throw new tI({signature:e,type:"error"});let r=tq(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(tU(r[e],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:i}}(e,t);if(tb.test(e))return function(e,t={}){let n=tc(tb,e);if(!n)throw new tI({signature:e,type:"constructor"});let r=tq(n.parameters),i=[],o=r.length;for(let e=0;e<o;e++)i.push(tU(r[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:i}}(e,t);if(tg.test(e)){var n=e;let t=tc(tg,n);if(!t)throw new tI({signature:n,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}if(ty.test(e))return{type:"receive",stateMutability:"payable"};throw new tk({signature:e})}let tN=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,tF=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,tR=/^u?int$/;function tU(e,t){var n,r;let i,o=function(e,t,n){let r="";if(n)for(let e of Object.entries(n)){if(!e)continue;let t="";for(let n of e[1])t+=`[${n.type}${n.name?`:${n.name}`:""}]`;r+=`(${e[0]}{${t}})`}return t?`${t}:${e}${r}`:e}(e,t?.type,t?.structs);if(tO.has(o))return tO.get(o);let a=td.test(e),s=tc(a?tF:tN,e);if(!s)throw new tA({param:e});if(s.name&&("address"===(n=s.name)||"bool"===n||"function"===n||"string"===n||"tuple"===n||tl.test(n)||tu.test(n)||tL.test(n)))throw new tx({param:e,name:s.name});let c=s.name?{name:s.name}:{},l="indexed"===s.modifier?{indexed:!0}:{},u=t?.structs??{},d={};if(a){i="tuple";let e=tq(s.type),t=[],n=e.length;for(let r=0;r<n;r++)t.push(tU(e[r],{structs:u}));d={components:t}}else if(s.type in u)i="tuple",d={components:u[s.type]};else if(tR.test(s.type))i=`${s.type}256`;else if(i=s.type,t?.type!=="struct"&&!tD(i))throw new ts({type:i});if(s.modifier){if(!t?.modifiers?.has?.(s.modifier))throw new tC({param:e,type:t?.type,modifier:s.modifier});if(tv.has(s.modifier)&&(r=i,!s.array&&"bytes"!==r&&"string"!==r&&"tuple"!==r))throw new tE({param:e,type:t?.type,modifier:s.modifier})}let f={type:`${i}${s.array??""}`,...c,...l,...d};return tO.set(o,f),f}function tq(e,t=[],n="",r=0){let i=e.trim().length;for(let o=0;o<i;o++){let i=e[o],a=e.slice(o+1);switch(i){case",":return 0===r?tq(a,[...t,n.trim()]):tq(a,t,`${n}${i}`,r);case"(":return tq(a,t,`${n}${i}`,r+1);case")":return tq(a,t,`${n}${i}`,r-1);default:return tq(a,t,`${n}${i}`,r)}}if(""===n)return t;if(0!==r)throw new tS({current:n,depth:r});return t.push(n.trim()),t}function tD(e){return"address"===e||"bool"===e||"function"===e||"string"===e||tl.test(e)||tu.test(e)}let tL=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/,tj=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/,tz=/^tuple(?<array>(\[(\d*)\])*)$/;function tW(e){let t="",n=e.length;for(let r=0;r<n;r++)t+=function e(t){let n=t.type;if(tz.test(t.type)&&"components"in t){n="(";let r=t.components.length;for(let i=0;i<r;i++)n+=e(t.components[i]),i<r-1&&(n+=", ");let i=tc(tz,t.type);return n+=`)${i?.array??""}`,e({...t,type:n})}return("indexed"in t&&t.indexed&&(n=`${n}
8 indexed`),t.name)?`${n} ${t.name}`:n}(e[r]),r!==n-1&&(t+=", ");return t}function tQ(e){return"function"===e.type?`function ${e.name}(${tW(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${tW(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${tW(e.inputs)})`:"error"===e.type?`error ${e.name}(${tW(e.inputs)})`:"constructor"===e.type?`constructor(${tW(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable"}var t_=n(28452),tG=n(8512),tH=n(86205),tK=n(97486);let t$={zero:48,nine:57,A:65,F:70,a:97,f:102};function tV(e){return e>=t$.zero&&e<=t$.nine?e-t$.zero:e>=t$.A&&e<=t$.F?e-(t$.A-10):e>=t$.a&&e<=t$.f?e-(t$.a-10):void 0}var tJ=n(93587);let tY=new TextEncoder;t_.C,t_.C;class tZ extends t_.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}t_.C;class tX extends t_.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function t0(e,t={}){var n;let{as:r="string"==typeof e?"Hex":"Bytes"}=t,i=(0,tG.lY)(e instanceof Uint8Array?e:"string"==typeof e?function(e,t={}){let{size:n}=t,r=e;n&&(tJ.Sl(e,n),r=tH.M7(e,n));let i=r.slice(2);i.length%2&&(i=`0${i}`);let o=i.length/2,a=new Uint8Array(o);for(let e=0,t=0;e<o;e++){let n=tV(i.charCodeAt(t++)),r=tV(i.charCodeAt(t++));if(void 0===n||void 0===r)throw new t_.C(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);a[e]=16*n+r}return a}(e):(n=e)instanceof Uint8Array?n:new Uint8Array(n));return"Bytes"===r?i:tH.uK(i)}class t1 extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}let t2={checksum:new t1(8192)}.checksum,t6=/^0x[a-fA-F0-9]{40}$/;function t5(e,t={}){let{strict:n=!0}=t;if(!t6.test(e))throw new t8({address:e,cause:new t4});if(n){if(e.toLowerCase()===e)return;if(function(e){if(t2.has(e))return t2.get(e);t5(e,{strict:!1});let t=e.substring(2).toLowerCase(),n=t0(function(e,t={}){let{size:n}=t,r=tY.encode(e);if("number"==typeof n){var i;if(r.length>n)throw new tZ({givenSize:r.length,maxSize:n});return i=r,function(e,t={}){let{dir:n,size:r=32}=t;if(0===r)return e;if(e.length>r)throw new tX({size:e.length,targetSize:r,type:"Bytes"});let i=new Uint8Array(r);for(let t=0;t<r;t++){let o="right"===n;i[o?t:r-t-1]=e[o?t:e.length-t-1]}return i}(i,{dir:"right",size:n})}return r}(t),{as:"Bytes"}),r=t.split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&r[e]&&(r[e]=r[e].toUpperCase()),(15&n[e>>1])>=8&&r[e+1]&&(r[e+1]=r[e+1].toUpperCase());let i=`0x${r.join("")}`;return t2.set(e,i),i}(e)!==e)throw new t8({address:e,cause:new t9})}}function t3(e,t={}){let{strict:n=!0}=t??{};try{return t5(e,{strict:n}),!0}catch{return!1}}class t8 extends t_.C{constructor({address:e,cause:t}){super(`Address "${e}" is invalid.`,{cause:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class t4 extends t_.C{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class t9 extends t_.C{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}function t7(e){let t=!0,n="",r=0,i="",o=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&r++,")"===s&&r--,t){if(0===r){if(" "===s&&["event","function","error",""].includes(i))i="";else if(i+=s,")"===s){o=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}i+=s,n+=s}}if(!o)throw new t_.C("Unable to normalize signature.");return i}function ne(e,t={}){let{prepare:n=!0}=t,r=Array.isArray(e)||"string"==typeof e?function(e){let t;if("string"==typeof e)t=tT(e);else{let n=function(e){let t={},n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!tm.test(n))continue;let i=tc(tm,n);if(!i)throw new tI({signature:n,type:"struct"});let o=i.properties.split(";"),a=[],s=o.length;for(let e=0;e<s;
vendor: 5,572 bytes, line 8
8e++){let t=o[e].trim();if(!t)continue;let n=tU(t,{type:"struct"});a.push(n)}if(!a.length)throw new tP({signature:n});t[i.name]=a}let r={},i=Object.entries(t),o=i.length;for(let e=0;e<o;e++){let[n,o]=i[e];r[n]=function e(t,n,r=new Set){let i=[],o=t.length;for(let a=0;a<o;a++){let o=t[a];if(td.test(o.type))i.push(o);else{let t=tc(tj,o.type);if(!t?.type)throw new tB({abiParameter:o});let{array:a,type:s}=t;if(s in n){if(r.has(s))throw new tM({type:s});i.push({...o,type:`tuple${a??""}`,components:e(n[s]??[],n,new Set([...r,s]))})}else if(tD(s))i.push(o);else throw new ta({type:s})}}return i}(o,t)}return r}(e),r=e.length;for(let i=0;i<r;i++){let r=e[i];if(!tm.test(r)){t=tT(r,n);break}}}if(!t)throw new to({signature:e});return t}(e):e;return{...r,...n?{hash:nn(r)}:{}}}function nt(e){return tH.di(nn(e),0,4)}function nn(e){return"string"!=typeof e&&"hash"in e&&e.hash?e.hash:t0(tH.sH(t7("string"==typeof e?e:tQ(e))))}class nr extends t_.C{constructor(e,t){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\`${e.type}\` in \`${t7(tQ(e.abiItem))}\`, and`,`\`${t.type}\` in \`${t7(tQ(t.abiItem))}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class ni extends t_.C{constructor({name:e,data:t,type:n="item"}){super(`ABI ${n}${e?` with name "${e}"`:t?` with data "${t}"`:""} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}t_.C;let no=/^(.*)\[([0-9]*)\]$/,na=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,ns=/^(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 nc(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:i}=e[n];r?t+=32:t+=tH.Ej(i)}let n=[],r=[],i=0;for(let o=0;o<e.length;o++){let{dynamic:a,encoded:s}=e[o];a?(n.push(tH.oB(t+i,{size:32})),r.push(s),i+=tH.Ej(s)):n.push(s)}return tH.xW(...n,...r)}function nl(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function nu(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(nu);let n=nl(e.type);return!!(n&&nu({...e,type:n[1]}))}function nd(e,t,n){let{checksumAddress:r=!1}=n??{};if(e.length!==t.length)throw new nm({expectedLength:e.length,givenLength:t.length});let i=nc(function({checksumAddress:e,parameters:t,values:n}){let r=[];for(let i=0;i<t.length;i++)r.push(function e({checksumAddress:t=!1,parameter:n,value:r}){let i=nl(n.type);if(i){let[o,a]=i;return function(t,n){let{checksumAddress:r,length:i,parameter:o}=n,a=null===i;if(!Array.isArray(t))throw new nb(t);if(!a&&t.length!==i)throw new np({expectedLength:i,givenLength:t.length,type:`${o.type}[${i}]`});let s=!1,c=[];for(let n=0;n<t.length;n++){let i=e({checksumAddress:r,parameter:o,value:t[n]});i.dynamic&&(s=!0),c.push(i)}if(a||s){let e=nc(c);if(a){let t=tH.oB(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?tH.xW(t,e):t}}if(s)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:tH.xW(...c.map(({encoded:e})=>e))}}(r,{checksumAddress:t,length:o,parameter:{...n,type:a}})}if("tuple"===n.type)return function(t,n){let{checksumAddress:r,parameter:i}=n,o=!1,a=[];for(let n=0;n<i.components.length;n++){let s=i.components[n],c=Array.isArray(t)?n:s.name,l=e({checksumAddress:r,parameter:s,value:t[c]});a.push(l),l.dynamic&&(o=!0)}return{dynamic:o,encoded:o?nc(a):tH.xW(...a.map(({encoded:e})=>e))}}(r,{checksumAddress:t,parameter:n});if("address"===n.type){var o=r,a={checksum:t};let{checksum:e=!1}=a;return t5(o,{strict:e}),{dynamic:!1,encoded:tH.Ho(o.toLowerCase())}}if("bool"===n.type){var s=r;if("boolean"!=typeof s)throw new t_.C(`Invalid boolean value: "${s}" (type: ${typeof s}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:tH.Ho(tH.xb(s))}}if(n.type.startsWith("uint")||n.type.startsWith("int")){let e=n.type.startsWith("int"),[,,t="256"]=ns.exec(n.type)??[];return function(e,{signed:t,size:n}){if("number"==typeof n){let r=2n**(BigInt(n)-(t?1n:0n))-1n,i=t?-r-1n:0n;if(e>r||e<i)throw new tH.Ty({max:r.toString(),min:i.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:tH.oB(e,{size:32,signed:t})}}(r,{signed:e,size:Number(t)})}if(n.type.startsWith("bytes"))return function(e,{type:t}){let[,n]=t.split("bytes"),r=tH.Ej(e);if(!n){let t=e;return r%32!=0&&(t=tH.M7(t,32*Math.ceil((e.length-2)/2/32))),{dynamic:!0,encoded:tH.xW(tH.Ho(tH.oB(r,{size:32})),t)}}if(r!==Number.parseInt(n))throw new nh({expectedSize:Number.parseInt(n),value:e});return{dynamic:!1,encoded:tH.M7(e)}}(r,{type:n.type});if("string"===n.type){var c=r;let e=tH.sH(c),t=Math.ceil(tH.Ej(e)/32),n=[];for(let r=0;r<t;r++)n.push(tH.M7(tH.di(e,32*r,(r+1)*32)));return{dynamic:!0,encoded:tH.xW(tH.M7(tH.oB(tH.Ej(e),{size:32})),...n)}}throw new ng(n.type)}({checksumAddress:e,parameter:t[i],value:n[i]}));return r}({checksumAddress:r,parameters:e,values:t}));return 0===i.length?"0x":i}function nf(e,t){if(e.length!==t.length)throw new nm({expectedLength:e.length,givenLength:t.length});let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t[r];n.push(nf.encode(i,o))}return tH.xW(...n)}(nf||(nf={})).encode=function e(t,n,r=!1){if("address"===t)return t5(n),tH.Ho(n.toLowerCase(),32*!!r);if("string"===t)return tH.sH(n);if("bytes"===t)return n;if("bool"===t)return tH.Ho(tH.xb(n),r?32:1);let i=t.match(ns);if(i){let[e,t,o="256"]=i,a=Number.parseInt(o)/8;
8return tH.oB(n,{size:r?32:a,signed:"int"===t})}let o=t.match(na);if(o){let[e,t]=o;if(Number.parseInt(t)!==(n.length-2)/2)throw new nh({expectedSize:Number.parseInt(t),value:n});return tH.M7(n,32*!!r)}let a=t.match(no);if(a&&Array.isArray(n)){let[t,r]=a,i=[];for(let t=0;t<n.length;t++)i.push(e(r,n[t],!0));return 0===i.length?"0x":tH.xW(...i)}throw new ng(t)},t_.C,t_.C;class np extends t_.C{constructor({expectedLength:e,givenLength:t,type:n}){super(`Array length mismatch for type \`${n}\`. Expected: \`${e}\`. Given: \`${t}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class nh extends t_.C{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${tH.Ej(t)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class nm extends t_.C{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding parameters/values length mismatch. 9Expected length (parameters): ${e} 10Given length (values): ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class nb extends t_.C{constructor(e){super(`Value \`${e}\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}}class ng extends t_.C{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}function ny(e,t={}){return ne(e,t)}var nw=n(61046),nv=n(15313);async function nA(e,t){let{blockNumber:n,blockTag:r,calls:i,stateOverrides:a,traceAssetChanges:s,traceTransfers:c,validation:l}=t,u=t.account?(0,A.J)(t.account):void 0;if(s&&!u)throw new S.C("`account` is required when `traceAssetChanges` is true");let d=u?function(e,t){let{bytecode:n,args:r}=t;return tH.xW(n,e.inputs?.length&&r?.length?nd(e.inputs,r):"0x")}(ne("constructor(bytes, bytes)"),{bytecode:nv.LX,args:["0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033",function(e,...t){let{overloads:n}=e,r=n?function(e,t,n){let r=function(e,t,n){let r,{args:i=[],prepare:o=!0}=n??{},a=tH.tf(t,{strict:!1}),s=e.filter(e=>a?"function"===e.type||"error"===e.type?nt(e)===tH.di(t,0,4):"event"===e.type&&nn(e)===t:"name"in e&&e.name===t);if(0===s.length)throw new ni({name:t});if(1===s.length)return{...s[0],...o?{hash:nn(s[0])}:{}};for(let e of s){if("inputs"in e){if(!i||0===i.length){if(!e.inputs||0===e.inputs.length)return{...e,...o?{hash:nn(e)}:{}};continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===i.length&&i.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,i=n.type;switch(i){case"address":return t3(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===i&&"components"in n)return Object.values(n.components).every((n,r)=>e(Object.values(t)[r],n));if(/^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)?$/.test(i))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===r||t instanceof Uint8Array;
10if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(r&&"inputs"in r&&r.inputs){let t=function e(t,n,r){for(let i in t){let o=t[i],a=n[i];if("tuple"===o.type&&"tuple"===a.type&&"components"in o&&"components"in a)return e(o.components,a.components,r[i]);let s=[o.type,a.type];if(s.includes("address")&&s.includes("bytes20")||(s.includes("address")&&s.includes("string")||s.includes("address")&&s.includes("bytes"))&&t3(r[i],{strict:!1}))return s}}(e.inputs,r.inputs,i);if(t)throw new nr({abiItem:e,type:t[0]},{abiItem:r,type:t[1]})}r=e}}}let c=(()=>{if(r)return r;let[e,...t]=s;return{...e,overloads:t}})();if(!c)throw new ni({name:t});return{...c,...o?{hash:nn(c)}:{}}}(e,t,n);if("function"!==r.type)throw new ni({name:t,type:"function"});return r}([e,...n],e.name,{args:t[0]}):e,i=nt(r),o=t.length>0?nd(r.inputs,t[0]):void 0;return o?tH.xW(i,o):i}(ny("function getBalance(address)"),[u.address])]}):void 0,f=s?await Promise.all(t.calls.map(async t=>{if(!t.data&&!t.abi)return;let{accessList:n}=await I(e,{account:u.address,...t,data:t.abi?(0,o.p)(t):t.data});return n.map(({address:e,storageKeys:t})=>t.length>0?e:null)})).then(e=>e.flat().filter(Boolean)):[],p=a?.map(e=>e.address===u?.address?{...e,nonce:0}:e),h=await tr(e,{blockNumber:n,blockTag:r,blocks:[...s?[{calls:[{data:d}],stateOverrides:a},{calls:f.map((e,t)=>({abi:[ny("function balanceOf(address) returns (uint256)")],functionName:"balanceOf",args:[u.address],to:e,from:nw.Xd,nonce:t})),stateOverrides:[{address:nw.Xd,nonce:0}]}]:[],{calls:[...i,{}].map((e,t)=>({...e,from:u?.address,nonce:t})),stateOverrides:p},...s?[{calls:[{data:d}]},{calls:f.map((e,t)=>({abi:[ny("function balanceOf(address) returns (uint256)")],functionName:"balanceOf",args:[u.address],to:e,from:nw.Xd,nonce:t})),stateOverrides:[{address:nw.Xd,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[ny("function decimals() returns (uint256)")],functionName:"decimals",from:nw.Xd,nonce:t})),stateOverrides:[{address:nw.Xd,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[ny("function tokenURI(uint256) returns (string)")],functionName:"tokenURI",args:[0n],from:nw.Xd,nonce:t})),stateOverrides:[{address:nw.Xd,nonce:0}]},{calls:f.map((e,t)=>({to:e,abi:[ny("function symbol() returns (string)")],functionName:"symbol",from:nw.Xd,nonce:t})),stateOverrides:[{address:nw.Xd,nonce:0}]}]:[]],traceTransfers:c,validation:l}),m=s?h[2]:h[0],[b,g,,y,w,v,x,C]=s?h:[],{calls:E,...B}=m,k=E.slice(0,-1)??[],P=[...b?.calls??[],...g?.calls??[]].map(e=>"success"===e.status?(0,$.uU)(e.data):null),M=[...y?.calls??[],...w?.calls??[]].map(e=>"success"===e.status?(0,$.uU)(e.data):null),O=(v?.calls??[]).map(e=>"success"===e.status?e.result:null),T=(C?.calls??[]).map(e=>"success"===e.status?e.result:null),N=(x?.calls??[]).map(e=>"success"===e.status?e.result:null),F=[];for(let[e,t]of M.entries()){let n=P[e];if("bigint"!=typeof t||"bigint"!=typeof n)continue;let r=O[e-1],i=T[e-1],o=N[e-1],a=0===e?{address:nw.m8,decimals:18,symbol:"ETH"}:{address:f[e-1],decimals:o||r?Number(r??1):void 0,symbol:i??void 0};F.some(e=>e.token.address===a.address)||F.push({token:a,value:{pre:n,post:t,diff:t-n}})}return{assetChanges:F,block:B,results:k}}async function nx(e,t){let{abi:n,address:r,args:a,dataSuffix:s,functionName:c,...l}=t,u=l.account?(0,A.J)(l.account):e.account,d=(0,o.p)({abi:n,args:a,functionName:c});try{let{data:o}=await (0,p.T)(e,v.T,"call")({batch:!1,data:`${d}${s?s.replace("0x",""):""}`,to:r,...l,account:u}),f=(0,i.e)({abi:n,args:a,functionName:c,data:o||"0x"}),h=n.filter(e=>"name"in e&&e.name===t.functionName);return{result:f,request:{abi:h,address:r,args:a,dataSuffix:s,functionName:c,...l,account:u}}}catch(e){throw(0,_.j)(e,{abi:n,address:r,args:a,docsPath:"/docs/contract/simulateContract",functionName:c,sender:u?.address})}}async function nC(e,{filter:t}){return t.request({method:"eth_uninstallFilter",params:[t.id]})}function nE(e,t){return(0,N.S)(function(e){let t="string"==typeof e?(0,c.i3)(e):"string"==typeof e.raw?e.raw:(0,c.My)(e.raw),n=(0,c.i3)(`\x19Ethereum Signed Message: 11${(0,K.E)(t)}`);return(0,Z.xW)([n,t])}(e),t)}var nB=n(20760);let nI="0x6492649264926492649264926492649264926492649264926492649264926492";var nk=n(93727),nP=n(53970);async function nM(e,t){let{address:n,factory:i,factoryData:a,hash:s,signature:l,universalSignatureVerifierAddress:u=e.chain?.contracts?.universalSignatureVerifier?.address,...d}=t,f=(0,H.q)(l)?l:"object"==typeof l&&"r"in l&&"s"in l?function({r:e,s:t,to:n="hex",v:r,yParity:i}){let o=(()=>
11{if(0===i||1===i)return i;if(r&&(27n===r||28n===r||r>=35n))return+(r%2n===0n);throw Error("Invalid `v` or `yParity` value")})(),a=`0x${new nP.secp256k1.Signature((0,$.uU)(e),(0,$.uU)(t)).toCompactHex()}${0===o?"1b":"1c"}`;return"hex"===n?a:(0,T.aT)(a)}(l):(0,c.My)(l),h=await (async()=>{if(!i&&!a||(0,nk.iN)(f,-32)===nI)return f;let{address:e,data:t,signature:n,to:r="hex"}={address:i,data:a,signature:f},o=(0,Z.aP)([(0,R.h)([{type:"address"},{type:"bytes"},{type:"bytes"}],[e,t,n]),nI]);return"hex"===r?o:(0,T.aT)(o)})();try{let t=u?{to:u,data:(0,o.p)({abi:r._,functionName:"isValidSig",args:[n,s,h]}),...d}:{data:(0,nB.m)({abi:r._,args:[n,s,h],bytecode:nv.nP}),...d},{data:i}=await (0,p.T)(e,v.T,"call")(t);return(0,$.Nx)(i??"0x0")}catch(e){try{if((0,eQ.h)((0,G.b)(n),await Y({hash:s,signature:l})))return!0}catch{}if(e instanceof tn.zX)return!1;throw e}}async function nS(e,{address:t,message:n,factory:r,factoryData:i,signature:o,...a}){return nM(e,{address:t,factory:r,factoryData:i,hash:nE(n),signature:o,...a})}var nO=n(36444),nT=n(79183);class nN extends S.C{constructor({domain:e}){super(`Invalid domain "${(0,nT.A)(e)}".`,{metaMessages:["Must be a valid EIP-712 domain."]})}}class nF extends S.C{constructor({primaryType:e,types:t}){super(`Invalid primary type \`${e}\` must be one of \`${JSON.stringify(Object.keys(t))}\`.`,{docsPath:"/api/glossary/Errors#typeddatainvalidprimarytypeerror",metaMessages:["Check that the primary type is a key in `types`."]})}}class nR extends S.C{constructor({type:e}){super(`Struct type "${e}" is invalid.`,{metaMessages:["Struct type must not be a Solidity type."],name:"InvalidStructTypeError"})}}var nU=n(81757),nq=n(38697);function nD({data:e,primaryType:t,types:n}){let r=function e({data:t,primaryType:n,types:r}){let i=[{type:"bytes32"}],o=[function({primaryType:e,types:t}){let n=(0,c.nj)(function({primaryType:e,types:t}){let n="",r=function e({primaryType:t,types:n},r=new Set){let i=t.match(/^\w*/u),o=i?.[0];if(r.has(o)||void 0===n[o])return r;for(let t of(r.add(o),n[o]))e({primaryType:t.type,types:n},r);return r}({primaryType:e,types:t});for(let i of(r.delete(e),[e,...Array.from(r).sort()]))n+=`${i}(${t[i].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`;return n}({primaryType:e,types:t}));return(0,N.S)(n)}({primaryType:n,types:r})];for(let a of r[n]){let[n,s]=function t({types:n,name:r,type:i,value:o}){if(void 0!==n[i])return[{type:"bytes32"},(0,N.S)(e({data:o,primaryType:i,types:n}))];if("bytes"===i){let e=o.length%2?"0":"";return o=`0x${e+o.slice(2)}`,[{type:"bytes32"},(0,N.S)(o)]}if("string"===i)return[{type:"bytes32"},(0,N.S)((0,c.nj)(o))];if(i.lastIndexOf("]")===i.length-1){let e=i.slice(0,i.lastIndexOf("[")),a=o.map(i=>t({name:r,type:e,types:n,value:i}));return[{type:"bytes32"},(0,N.S)((0,R.h)(a.map(([e])=>e),a.map(([,e])=>e)))]}return[{type:i},o]}({types:r,name:a.name,type:a.type,value:t[a.name]});i.push(n),o.push(s)}return(0,R.h)(i,o)}({data:e,primaryType:t,types:n});return(0,N.S)(r)}async function nL(e,t){let{address:n,factory:r,factoryData:i,signature:o,message:a,primaryType:s,types:l,domain:u,...d}=t;return nM(e,{address:n,factory:r,factoryData:i,hash:function(e){let{domain:t={},message:n,primaryType:r}=e,i={EIP712Domain:function({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},("number"==typeof e?.chainId||"bigint"==typeof e?.chainId)&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}].filter(Boolean)}({domain:t}),...e.types},{domain:o,message:a,primaryType:s,types:l}={domain:t,message:n,primaryType:r,types:i},u=(e,t)=>{for(let n of e){let{name:e,type:r}=n,i=t[e],o=r.match(nq.Ge);if(o&&("number"==typeof i||"bigint"==typeof i)){let[e,t,n]=o;(0,c.cK)(i,{signed:"int"===t,size:Number.parseInt(n)/8})}if("address"===r&&"string"==typeof i&&!(0,nU.P)(i))throw new nO.M({address:i});let a=r.match(nq.BD);if(a){let[e,t]=a;if(t&&(0,K.E)(i)!==Number.parseInt(t))throw new M.BI({expectedSize:Number.parseInt(t),givenSize:(0,K.E)(i)})}let s=l[r];s&&(function(e){if("address"===e||"bool"===e||"string"===e||e.startsWith("bytes")||e.startsWith("uint")||e.startsWith("int"))throw new nR({type:e})}(r),u(s,i))}};if(l.EIP712Domain&&o){if("object"!=typeof o)throw new nN({domain:o});u(l.EIP712Domain,o)}if("EIP712Domain"!==s)if(l[s])u(l[s],a);else throw new nF({primaryType:s,types:l});let d=["0x1901"];return t&&d.push(function({domain:e,types:t}){return nD({data:e,primaryType:"EIP712Domain",types:t})}({domain:t,types:i})),"EIP712Domain"!==r&&d.push(nD({data:n,primaryType:r,types:i})),(0,N.S)((0,Z.xW)(d))}({message:a,primaryType:s,types:l,domain:u}),signature:o,...d})}let nj=new Map,nz=new Map,nW=0;
11function nQ(e,t,n){let r=++nW,i=()=>nj.get(e)||[],o=()=>{let t=i();nj.set(e,t.filter(e=>e.id!==r))},a=()=>{let t=i();if(!t.some(e=>e.id===r))return;let n=nz.get(e);1===t.length&&n&&n(),o()},s=i();if(nj.set(e,[...s,{id:r,fns:t}]),s&&s.length>0)return a;let c={};for(let e in t)c[e]=(...t)=>{let n=i();if(0!==n.length)for(let r of n)r.fns[e]?.(...t)};let l=n(c);return"function"==typeof l&&nz.set(e,l),a}var n_=n(62739),nG=n(42142),nH=n(10231);function nK(e,{emitOnBegin:t,initialWaitTime:n,interval:r}){let i=!0,o=()=>i=!1;return(async()=>{let a;t&&(a=await e({unpoll:o}));let s=await n?.(a)??r;await (0,nH.u)(s);let c=async()=>{i&&(await e({unpoll:o}),await (0,nH.u)(r),c())};c()})(),o}function n$(e,{emitOnBegin:t=!1,emitMissed:n=!1,onBlockNumber:r,onError:i,poll:o,pollingInterval:a=e.pollingInterval}){let s;return(void 0!==o?o:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?nQ((0,nT.A)(["watchBlockNumber",e.uid,t,n,a]),{onBlockNumber:r,onError:i},r=>nK(async()=>{try{let t=await (0,p.T)(e,ej,"getBlockNumber")({cacheTime:0});if(s){if(t===s)return;if(t-s>1&&n)for(let e=s+1n;e<t;e++)r.onBlockNumber(e,s),s=e}(!s||t>s)&&(r.onBlockNumber(t,s),s=t)}catch(e){r.onError?.(e)}},{emitOnBegin:t,interval:a})):nQ((0,nT.A)(["watchBlockNumber",e.uid,t,n]),{onBlockNumber:r,onError:i},t=>{let n=!0,r=()=>n=!1;return(async()=>{try{let i=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:o}=await i.subscribe({params:["newHeads"],onData(e){if(!n)return;let r=(0,$.uU)(e.result?.number);t.onBlockNumber(r,s),s=r},onError(e){t.onError?.(e)}});r=o,n||r()}catch(e){i?.(e)}})(),()=>r()})}async function nV(e,{confirmations:t=1,hash:n,onReplaced:r,pollingInterval:i=e.pollingInterval,retryCount:o=6,retryDelay:a=({count:e})=>200*~~(1<<e),timeout:s=18e4}){let c,l,u,d,f,h=(0,nT.A)(["waitForTransactionReceipt",e.uid,n]),m=!1,{promise:b,resolve:g,reject:y}=(0,n_.Y)(),w=s?setTimeout(()=>{f(),d(),y(new ei.WA({hash:n}))},s):void 0;return d=nQ(h,{onReplaced:r,resolve:g,reject:y},r=>{f=(0,p.T)(e,n$,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:i,async onBlockNumber(i){let s=e=>{clearTimeout(w),f(),e(),d()},h=i;if(!m)try{if(u){if(t>1&&(!u.blockNumber||h-u.blockNumber+1n<t))return;s(()=>r.resolve(u));return}if(c||(m=!0,await (0,nG.b)(async()=>{(c=await (0,p.T)(e,e8,"getTransaction")({hash:n})).blockNumber&&(h=c.blockNumber)},{delay:a,retryCount:o}),m=!1),u=await (0,p.T)(e,e7,"getTransactionReceipt")({hash:n}),t>1&&(!u.blockNumber||h-u.blockNumber+1n<t))return;s(()=>r.resolve(u))}catch(n){if(n instanceof ei.Kz||n instanceof ei.Kc){if(!c){m=!1;return}try{l=c,m=!0;let n=await (0,nG.b)(()=>(0,p.T)(e,eb,"getBlock")({blockNumber:h,includeTransactions:!0}),{delay:a,retryCount:o,shouldRetry:({error:e})=>e instanceof ef});m=!1;let i=n.transactions.find(({from:e,nonce:t})=>e===l.from&&t===l.nonce);if(!i||(u=await (0,p.T)(e,e7,"getTransactionReceipt")({hash:i.hash}),t>1&&(!u.blockNumber||h-u.blockNumber+1n<t)))return;let d="replaced";i.to===l.to&&i.value===l.value&&i.input===l.input?d="repriced":i.from===i.to&&0n===i.value&&(d="cancelled"),s(()=>{r.onReplaced?.({reason:d,replacedTransaction:l,transaction:i,transactionReceipt:u}),r.resolve(u)})}catch(e){s(()=>r.reject(e))}}else s(()=>r.reject(n))}}})}),b}var nJ=n(81379);let nY=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,nZ=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;async function nX(e,t){let{address:n,domain:r,message:i,nonce:o,scheme:a,signature:s,time:c=new Date,...l}=t,u=function(e){let{scheme:t,statement:n,...r}=e.match(nY)?.groups??{},{chainId:i,expirationTime:o,issuedAt:a,notBefore:s,requestId:c,...l}=e.match(nZ)?.groups??{},u=e.split("Resources:")[1]?.split("\n- ").slice(1);return{...r,...l,...i?{chainId:Number(i)}:{},...o?{expirationTime:new Date(o)}:{},...a?{issuedAt:new Date(a)}:{},...s?{notBefore:new Date(s)}:{},...c?{requestId:c}:{},...u?{resources:u}:{},...t?{scheme:t}:{},...n?{statement:n}:{}}}(i);if(!u.address||!function(e){let{address:t,domain:n,message:r,nonce:i,scheme:o,time:a=new Date}=e;if(n&&r.domain!==n||i&&r.nonce!==i||o&&r.scheme!==o||r.expirationTime&&a>=r.expirationTime||r.notBefore&&a<r.notBefore)return!1;try{if(!r.address||!(0,nU.P)(r.address,{strict:!1})||t&&!(0,eQ.h)(r.address,t))return!1}catch{return!1}return!0}
11({address:n,domain:r,message:u,nonce:o,scheme:a,time:c}))return!1;let d=nE(i);return nM(e,{address:u.address,hash:d,signature:s,...l})}async function n0(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}function n1(e){return{call:t=>(0,v.T)(e,t),createAccessList:t=>I(e,t),createBlockFilter:()=>P(e),createContractEventFilter:t=>z(e,t),createEventFilter:t=>W(e,t),createPendingTransactionFilter:()=>Q(e),estimateContractGas:t=>eF(e,t),estimateGas:t=>eN(e,t),getBalance:t=>(0,eT.r)(e,t),getBlobBaseFee:()=>eR(e),getBlock:t=>eb(e,t),getBlockNumber:t=>ej(e,t),getBlockTransactionCount:t=>ez(e,t),getBytecode:t=>eW(e,t),getChainId:()=>eP(e),getCode:t=>eW(e,t),getContractEvents:t=>eY(e,t),getEip712Domain:t=>eX(e,t),getEnsAddress:t=>m(e,t),getEnsAvatar:t=>(0,b.i)(e,t),getEnsName:t=>(0,g.s)(e,t),getEnsResolver:t=>y(e,t),getEnsText:t=>(0,w.m)(e,t),getFeeHistory:t=>e1(e,t),estimateFeesPerGas:t=>ev(e,t),getFilterChanges:t=>e2(e,t),getFilterLogs:t=>e6(e,t),getGasPrice:()=>eg(e),getLogs:t=>eJ(e,t),getProof:t=>e5(e,t),estimateMaxPriorityFeePerGas:t=>ey(e,t),getStorageAt:t=>e3(e,t),getTransaction:t=>e8(e,t),getTransactionConfirmations:t=>e4(e,t),getTransactionCount:t=>ex(e,t),getTransactionReceipt:t=>e7(e,t),multicall:t=>(0,te.C)(e,t),prepareTransactionRequest:t=>eO(e,t),readContract:t=>(0,h.J)(e,t),sendRawTransaction:t=>n0(e,t),simulate:t=>tr(e,t),simulateBlocks:t=>tr(e,t),simulateCalls:t=>nA(e,t),simulateContract:t=>nx(e,t),verifyMessage:t=>nS(e,t),verifySiweMessage:t=>nX(e,t),verifyTypedData:t=>nL(e,t),uninstallFilter:t=>nC(e,t),waitForTransactionReceipt:t=>nV(e,t),watchBlocks:t=>(function(e,{blockTag:t="latest",emitMissed:n=!1,emitOnBegin:r=!1,onBlock:i,onError:o,includeTransactions:a,poll:s,pollingInterval:c=e.pollingInterval}){let l,u,d,f,h=void 0!==s?s:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
11onfig.type),m=a??!1;return h?nQ((0,nT.A)(["watchBlocks",e.uid,t,n,r,m,c]),{onBlock:i,onError:o},i=>nK(async()=>{try{let r=await (0,p.T)(e,eb,"getBlock")({blockTag:t,includeTransactions:m});if(null!==r.number&&l?.number!=null){if(r.number===l.number)return;if(r.number-l.number>1&&n)for(let t=l?.number+1n;t<r.number;t++){let n=await (0,p.T)(e,eb,"getBlock")({blockNumber:t,includeTransactions:m});i.onBlock(n,l),l=n}}(l?.number==null||"pending"===t&&r?.number==null||null!==r.number&&r.number>l.number)&&(i.onBlock(r,l),l=r)}catch(e){i.onError?.(e)}},{emitOnBegin:r,interval:c})):(u=!0,d=!0,f=()=>u=!1,(async()=>{try{r&&(0,p.T)(e,eb,"getBlock")({blockTag:t,includeTransactions:m}).then(e=>{u&&d&&(i(e,void 0),d=!1)}).catch(o);let n=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:a}=await n.subscribe({params:["newHeads"],async onData(t){if(!u)return;let n=await (0,p.T)(e,eb,"getBlock")({blockNumber:t.blockNumber,includeTransactions:m}).catch(()=>{});u&&(i(n,l),d=!1,l=n)},onError(e){o?.(e)}});f=a,u||f()}catch(e){o?.(e)}})(),()=>f())})(e,t),watchBlockNumber:t=>n$(e,t),watchContractEvent:t=>(function(e,t){let{abi:n,address:r,args:i,batch:o=!0,eventName:a,fromBlock:s,onError:c,onLogs:l,poll:u,pollingInterval:d=e.pollingInterval,strict:f}=t;return(void 0!==u?u:"bigint"==typeof s||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
11onfig.type))?(()=>{let t=f??!1;return nQ((0,nT.A)(["watchContractEvent",r,i,o,e.uid,a,d,t,s]),{onLogs:l,onError:c},c=>{let l,u;void 0!==s&&(l=s-1n);let f=!1,h=nK(async()=>{if(!f){try{u=await (0,p.T)(e,z,"createContractEventFilter")({abi:n,address:r,args:i,eventName:a,strict:t,fromBlock:s})}catch{}f=!0;return}try{let s;if(u)s=await (0,p.T)(e,e2,"getFilterChanges")({filter:u});else{let o=await (0,p.T)(e,ej,"getBlockNumber")({});s=l&&l<o?await (0,p.T)(e,eY,"getContractEvents")({abi:n,address:r,args:i,eventName:a,fromBlock:l+1n,toBlock:o,strict:t}):[],l=o}if(0===s.length)return;if(o)c.onLogs(s);else for(let e of s)c.onLogs([e])}catch(e){u&&e instanceof nJ.Di&&(f=!1),c.onError?.(e)}},{emitOnBegin:!0,interval:d});return async()=>{u&&await (0,p.T)(e,nC,"uninstallFilter")({filter:u}),h()}})})():(()=>{let t=(0,nT.A)(["watchContractEvent",r,i,o,e.uid,a,d,f??!1]),s=!0,u=()=>s=!1;return nQ(t,{onLogs:l,onError:c},t=>((async()=>{try{let o=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),c=a?L({abi:n,eventName:a,args:i}):[],{unsubscribe:l}=await o.subscribe({params:["logs",{address:r,topics:c}],onData(e){if(!s)return;let r=e.result;try{let{eventName:e,args:i}=eK({abi:n,data:r.data,topics:r.topics,strict:f}),o=eV(r,{args:i,eventName:e});t.onLogs([o])}catch(o){let e,n;if(o instanceof M.fo||o instanceof M.l3){if(f)return;e=o.abiItem.name,n=o.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let i=eV(r,{args:n?[]:{},eventName:e});t.onLogs([i])}},onError(e){t.onError?.(e)}});u=l,s||u()}catch(e){c?.(e)}})(),()=>u()))})()})(e,t),watchEvent:t=>(function(e,{address:t,args:n,batch:r=!0,event:i,events:o,fromBlock:a,onError:s,onLogs:c,poll:l,pollingInterval:u=e.pollingInterval,strict:d}){let f,h,m=void 0!==l?l:"bigint"==typeof a||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
11onfig.type),b=d??!1;return m?nQ((0,nT.A)(["watchEvent",t,n,r,e.uid,i,u,a]),{onLogs:c,onError:s},s=>{let c,l;void 0!==a&&(c=a-1n);let d=!1,f=nK(async()=>{if(!d){try{l=await (0,p.T)(e,W,"createEventFilter")({address:t,args:n,event:i,events:o,strict:b,fromBlock:a})}catch{}d=!0;return}try{let a;if(l)a=await (0,p.T)(e,e2,"getFilterChanges")({filter:l});else{let r=await (0,p.T)(e,ej,"getBlockNumber")({});a=c&&c!==r?await (0,p.T)(e,eJ,"getLogs")({address:t,args:n,event:i,events:o,fromBlock:c+1n,toBlock:r}):[],c=r}if(0===a.length)return;if(r)s.onLogs(a);else for(let e of a)s.onLogs([e])}catch(e){l&&e instanceof nJ.Di&&(d=!1),s.onError?.(e)}},{emitOnBegin:!0,interval:u});return async()=>{l&&await (0,p.T)(e,nC,"uninstallFilter")({filter:l}),f()}}):(f=!0,h=()=>f=!1,(async()=>{try{let r=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),a=o??(i?[i]:void 0),l=[];a&&(l=[a.flatMap(e=>L({abi:[e],eventName:e.name,args:n}))],i&&(l=l[0]));let{unsubscribe:u}=await r.subscribe({params:["logs",{address:t,topics:l}],onData(e){if(!f)return;let t=e.result;try{let{eventName:e,args:n}=eK({abi:a??[],data:t.data,topics:t.topics,strict:b}),r=eV(t,{args:n,eventName:e});c([r])}catch(i){let e,n;if(i instanceof M.fo||i instanceof M.l3){if(d)return;e=i.abiItem.name,n=i.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let r=eV(t,{args:n?[]:{},eventName:e});c([r])}},onError(e){s?.(e)}});h=u,f||h()}catch(e){s?.(e)}})(),()=>h())})(e,t),watchPendingTransactions:t=>(function(e,{batch:t=!0,onError:n,onTransactions:r,poll:i,pollingInterval:o=e.pollingInterval}){let a,s;return(void 0!==i?i:"webSocket"!==e.transport.type)?nQ((0,nT.A)(["watchPendingTransactions",e.uid,t,o]),{onTransactions:r,onError:n},n=>{let r,i=nK(async()=>{try{if(!r)try{r=await (0,p.T)(e,Q,"createPendingTransactionFilter")({});return}catch(e){throw i(),e}let o=await (0,p.T)(e,e2,"getFilterChanges")({filter:r});if(0===o.length)return;if(t)n.onTransactions(o);else for(let e of o)n.onTransactions([e])}catch(e){n.onError?.(e)}},{emitOnBegin:!0,interval:o});return async()=>{r&&await (0,p.T)(e,nC,"uninstallFilter")({filter:r}),i()}}):(a=!0,s=()=>a=!1,(async()=>{try{let{unsubscribe:t}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!a)return;let t=e.result;r([t])},onError(e){n?.(e)}});s=t,a||s()}catch(e){n?.(e)}})(),()=>s())})(e,t)}}function n2(e,t={}){let n=function(e,t={}){let n;try{n=e.getClient(t)}catch{}return n}(e,t);return n?.extend(n1)}var n6=n(45643),n5=n(53031);function n3(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n5.U)(e);return(0,n6.useSyncExternalStoreWithSelector)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>n2(e),n,{equalityFn:(e,t)=>e?.uid===t?.uid})})(t,{onChange:e}),()=>n2(t,e),()=>n2(t,e),e=>e,(e,t)=>(null==e?void 0:e.uid)===(null==t?void 0:t.uid))}},58976:(e,t)=>{t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw Error("Unknown EC Level: "+e)}}catch(e){return n}}},58980:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>o,NV:()=>a,ii:()=>i});var r=n(7441);class i extends r.C{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${n}).`,{name:"SliceOffsetOutOfBoundsError"})}}class o extends r.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`,{name:"SizeExceedsPaddingSizeError"})}}class a extends r.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} is expected to be ${t} ${n} long, but is ${e} ${n} long.`,{name:"InvalidBytesLengthError"})}}},59742:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(67622);async function i(e,{address:t,blockNumber:n,blockTag:i="latest"}){let o="bigint"==typeof n?(0,r.cK)(n):void 0;return BigInt(await e.request({method:"eth_getBalance",params:[t,o||i]}))}},60061:(e,t,n)=>{let r=n(91640);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let n=r.mod(t,this.genPoly),i=this.degree-n.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(n,i),e}return n},e.exports=i},60367:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(79731),i=n(13423),o=n(99702),a=n(21135),s=n(21159),c=n(23008);let l="/docs/contract/encodeFunctionData";function u(e){let{args:t}=e,{abi:n,functionName:u}=(()=>
11{if(1===e.abi.length&&e.functionName?.startsWith("0x"))return e;let{abi:t,args:n,functionName:r}=e,i=t[0];if(r){let e=(0,c.iY)({abi:t,args:n,name:r});if(!e)throw new o.Iz(r,{docsPath:l});i=e}if("function"!==i.type)throw new o.Iz(void 0,{docsPath:l});return{abi:[i],functionName:(0,a.V)((0,s.B)(i))}})(),d=n[0],f="inputs"in d&&d.inputs?(0,i.h)(d.inputs,t??[]):void 0;return(0,r.aP)([u,f??"0x"])}},60519:(e,t,n)=>{let r=n(58976),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}}},61046:(e,t,n)=>{"use strict";n.d(t,{Xd:()=>i,m8:()=>r});let r="0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",i="0x0000000000000000000000000000000000000000"},62013:(e,t,n)=>{let r=n(8527);function i(e,t){let n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){let a=r.getOptions(t),s=e.modules.size,c=e.modules.data,l=s+2*a.margin,u=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",d="<path "+i(a.color.dark,"stroke")+' d="'+function(e,t,n){let r="",i=0,a=!1,s=0;for(let c=0;c<e.length;c++){let l=Math.floor(c%t),u=Math.floor(c/t);l||a||(a=!0),e[c]?(s++,c>0&&l>0&&e[c-1]||(r+=a?o("M",l+n,.5+u+n):o("m",i,0),i=0,a=!1),l+1<t&&e[c+1]||(r+=o("h",s),s=0)):i++}return r}(c,s,a.margin)+'"/>',f='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewBox="0 0 '+l+" ")+l+'" shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof n&&n(null,f),f}},62108:(e,t,n)=>{"use strict";function r(e){return JSON.stringify(e,(e,t)=>!function(e){if(!i(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!i(n)&&!!n.hasOwnProperty("isPrototypeOf")}(t)?"bigint"==typeof t?t.toString():t:Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}))}function i(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){let{_defaulted:t,behavior:n,gcTime:r,initialData:i,initialDataUpdatedAt:o,maxPages:a,meta:s,networkMode:c,queryFn:l,queryHash:u,queryKey:d,queryKeyHashFn:f,retry:p,retryDelay:h,structuralSharing:m,getPreviousPageParam:b,getNextPageParam:g,initialPageParam:y,_optimisticResults:w,enabled:v,notifyOnChangeProps:A,placeholderData:x,refetchInterval:C,refetchIntervalInBackground:E,refetchOnMount:B,refetchOnReconnect:I,refetchOnWindowFocus:k,retryOnMount:P,select:M,staleTime:S,suspense:O,throwOnError:T,config:N,connector:F,query:R,...U}=e;return U}n.d(t,{Zi:()=>r,xO:()=>o})},62128:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r='{\n "connect_wallet": {\n "label": "Connect Wallet",\n "wrong_network": {\n "label": "Wrong network"\n }\n },\n\n "intro": {\n "title": "What is a Wallet?",\n "description": "A wallet is used to send, receive, store, and display digital assets. It\'s also a new way to log in, without needing to create new accounts and passwords on every website.",\n "digital_asset": {\n "title": "A Home for your Digital Assets",\n "description": "Wallets are used to send, receive, store, and display digital assets like Ethereum and NFTs."\n },\n "login": {\n "title": "A New Way to Log In",\n "description": "Instead of creating new accounts and passwords on every website, just connect your wallet."\n },\n "get": {\n "label": "Get a Wallet"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n\n "sign_in": {\n "label": "Verify your account",\n "description": "To finish connecting, you must sign a message in y
11our wallet to verify that you are the owner of this account.",\n "message": {\n "send": "Sign message",\n "preparing": "Preparing message...",\n "cancel": "Cancel",\n "preparing_error": "Error preparing message, please retry!"\n },\n "signature": {\n "waiting": "Waiting for signature...",\n "verifying": "Verifying signature...",\n "signing_error": "Error signing message, please retry!",\n "verifying_error": "Error verifying signature, please retry!",\n "oops_error": "Oops, something went wrong!"\n }\n },\n\n "connect": {\n "label": "Connect",\n "title": "Connect a Wallet",\n "new_to_ethereum": {\n "description": "New to Ethereum wallets?",\n "learn_more": {\n "label": "Learn More"\n }\n },\n "learn_more": {\n "label": "Learn more"\n },\n "recent": "Recent",\n "status": {\n "opening": "Opening %{wallet}...",\n "connecting": "Connecting",\n "connect_mobile": "Continue in %{wallet}",\n "not_installed": "%{wallet} is not installed",\n "not_available": "%{wallet} is not available",\n "confirm": "Confirm connection in the extension",\n "confirm_mobile": "Accept connection request in the wallet"\n },\n "secondary_action": {\n "get": {\n "description": "Don\'t have %{wallet}?",\n "label": "GET"\n },\n "install": {\n "label": "INSTALL"\n },\n "retry": {\n "label": "RETRY"\n }\n },\n "walletconnect": {\n "description": {\n "full": "Need the official WalletConnect modal?",\n "compact": "Need the WalletConnect modal?"\n },\n "open": {\n "label": "OPEN"\n }\n }\n },\n\n "connect_scan": {\n "title": "Scan with %{wallet}",\n "fallback_title": "Scan with your phone"\n },\n\n "connector_group": {\n "installed": "Installed",\n "recommended": "Recommended",\n "other": "Other",\n "popular": "Popular",\n "more": "More",\n "others": "Others"\n },\n\n "get": {\n "title": "Get a Wallet",\n "action": {\n "label": "GET"\n },\n "mobile": {\n "description": "Mobile Wallet"\n },\n "extension": {\n "description": "Browser Extension"\n },\n "mobile_and_extension": {\n "description": "Mobile Wallet and Extension"\n },\n "mobile_and_desktop": {\n "description": "Mobile and Desktop Wallet"\n },\n "looking_for": {\n "title": "Not what you\'re looking for?",\n "mobile": {\n "description": "Select a wallet on the main screen to get started with a different wallet provider."\n },\n "desktop": {\n "compact_description": "Select a wallet on the main screen to get started with a different wallet provider.",\n "wide_description": "Select a wallet on the left to get started with a different wallet provider."\n }\n }\n },\n\n "get_options": {\n "title": "Get started with %{wallet}",\n "short_title": "Get %{wallet}",\n "mobile": {\n "title": "%{wallet} for Mobile",\n "description": "Use the mobile wallet to explore the world of Ethereum.",\n "download": {\n "label": "Get the app"\n }\n },\n "extension": {\n "title": "%{wallet} for %{browser}",\n "description": "Access your wallet right from your favorite web browser.",\n "download": {\n "label": "Add to %{browser}"\n }\n },\n "desktop": {\n "title": "%{wallet} for %{platform}",\n "description": "Access your wallet natively from your powerful desktop.",\n "download": {\n "label": "Add to %{platform}"\n }\n }\n },\n\n "get_mobile": {\n "title": "Install %{wallet}",\n "description": "Scan with your phone to download on iOS or Android",\n "continue": {\n "label": "Continue"\n }\n },\n\n "get_instructions": {\n "mobile": {\n "connect": {\n "label": "Connect"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n "extension": {\n "refresh": {\n "label": "Refresh"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n "desktop": {\n "connect": {\n "label": "Connect"\n },\n "learn_more": {\n "label": "Learn More"\n }\n }\n },\n\n "chains": {\n "title": "Switch Networks",\n "wrong_network": "Wrong network detected, switch or disconnect to continue.",\n "confirm": "Confirm in Wallet",\n "switching_not_supported": "Your wallet does not support switching networks from %{appName}. Try switching networks from within your wallet instead.",\n "switching_not_supported_fallback": "Your wallet does not support switching networks from this app. Try switching networks from within your wallet instead.",\n "disconnect": "Disconnect",\n "connected": "Connected"\n },\n\n "profile": {\n "disconnect": {\n "label": "Disconnect"\n },\n "copy_address": {\n "label": "Copy Address",\n "copied": "Copied!"\n },\n "explorer": {\n "label": "View more on explorer"\n },\n "transactions": {\n "description": "%{appName} transactions will appear here...",\n "description_fallback": "Your transactions will appear here...",\n "recent": {\n "title": "Recent Transactions"\n },\n "clear": {\n "label": "Clear All"\n }\n }\n },\n\n "wallet_connectors": {\n "argent": {\n "qr_code": {\n "step1": {\n "description": "Put Argent on your home screen for faster access to your wallet.",\n "title": "Open the Argent app"\n },\n "step2": {\n "description": "Create a wallet and username, or import an existing wallet.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the Scan QR button"\n }\n }\n },\n\n "berasig": {\n "extension": {\n "step1": {\n "title": "Install the BeraSig extension",\n "description": "We recommend pinning BeraSig to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "best": {\n "qr_code": {\n "step1": {\n "title": "Open the Best Wallet app",\n "description": "Add Best Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "bifrost": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bifrost Wallet on your home screen for quicker access.",\n "title": "Open the Bifrost Wallet app"\n },\n "step2": {\n "description": "Create or import a wallet using your recovery phrase.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n }\n },\n\n "bitget": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bitget Wallet on your home screen for quicker access.",\n "title": "Open the Bitget Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Bitget Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Bitget Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "bitski": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Bitski to your taskbar for quicker access to your wallet.",\n "title": "Install the Bitski extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "bitverse": {\n "qr_code": {\n "step1": {\n "title": "Open the Bitverse Wallet app",\n "description": "Add Bitverse Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "bloom": {\n "desktop": {\n "step1": {\n "title": "Open the Bloom Wallet app",\n "description": "We recommend putting Bloom Wallet on your home screen for quicker access."\n },\n "step2": {\n "description": "Create or import a wallet using your recovery phrase.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.",\n "title": "Click on Connect"\n }\n }\n },\n\n "bybit": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bybit on your home screen for faster access to your wallet.",\n "title": "Open the Bybit app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "Click at the top right of your browser and pin Bybit Wallet for easy access.",\n "title": "Install the Bybit Wallet extension"\n },\n "step2": {\n "description": "Create a new wallet or import an existing one.",\n "title": "Create or Import a wallet"\n },\n "step3": {\n "description": "Once you set up Bybit Wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "binance": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Binance on your home screen for faster access to your wallet.",\n "title": "Open the Binance app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n }\n },\n\n "coin98": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Coin98 Wallet on your home screen for faster access to your wallet.",\n "title": "Open the C
11oin98 Wallet app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "Click at the top right of your browser and pin Coin98 Wallet for easy access.",\n "title": "Install the Coin98 Wallet extension"\n },\n "step2": {\n "description": "Create a new wallet or import an existing one.",\n "title": "Create or Import a wallet"\n },\n "step3": {\n "description": "Once you set up Coin98 Wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "coinbase": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Coinbase Wallet on your home screen for quicker access.",\n "title": "Open the Coinbase Wallet app"\n },\n "step2": {\n "description": "You can easily backup your wallet using the cloud backup feature.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Coinbase Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Coinbase Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "compass": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Compass Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Compass Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "core": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Core on your home screen for faster access to your wallet.",\n "title": "Open the Core app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Core to your taskbar for quicker access to your wallet.",\n "title": "Install the Core extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "fox": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting FoxWallet on your home screen for quicker access.",\n "title": "Open the FoxWallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n }\n },\n\n "frontier": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Frontier Wallet on your home screen for quicker access.",\n "title": "Open the Frontier Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Frontier Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Frontier Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "im_token": {\n "qr_code": {\n "step1": {\n "title": "Open the imToken app",\n "description": "Put imToken app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "iopay": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting ioPay on your home screen for faster access to your wallet.",\n "title": "Open the ioPay app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n }\n },\n\n "kaikas": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Kaikas to your taskbar for quicker access to your wallet.",\n "title": "Install the Kaikas extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Kaikas app",\n "description": "Put Kaikas app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "kaia": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Kaia to your taskbar for quicker access to your wallet.",\n "title": "Install the Kaia extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Kaia app",\n "description": "Put Kaia app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "kraken": {\n "qr_code": {\n "step1": {\n "title": "Open the Kraken Wallet app",\n "description": "Add Kraken Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "kresus": {\n "qr_code": {\n "step1": {\n "title": "Open the Kresus Wallet app",\n "description": "Add Kresus Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "magicEden": {\n "extension": {\n "step1": {\n "title": "Install the Magic Eden extension",\n "description": "We recommend pinning Magic Eden to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "metamask": {\n "qr_code": {\n "step1": {\n "title": "Open the MetaMask app",\n "description": "We recommend putting MetaMask on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the MetaMask extension",\n "description": "We recommend pinning MetaMask to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "nestwallet": {\n "extension": {\n "step1": {\n "title": "Install the NestWallet extension",\n "description": "We recommend pinning NestWallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n }
11,\n\n "okx": {\n "qr_code": {\n "step1": {\n "title": "Open the OKX Wallet app",\n "description": "We recommend putting OKX Wallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the OKX Wallet extension",\n "description": "We recommend pinning OKX Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "omni": {\n "qr_code": {\n "step1": {\n "title": "Open the Omni app",\n "description": "Add Omni to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your home screen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "1inch": {\n "qr_code": {\n "step1": {\n "description": "Put 1inch Wallet on your home screen for faster access to your wallet.",\n "title": "Open the 1inch Wallet app"\n },\n "step2": {\n "description": "Create a wallet and username, or import an existing wallet.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the Scan QR button"\n }\n }\n },\n\n "token_pocket": {\n "qr_code": {\n "step1": {\n "title": "Open the TokenPocket app",\n "description": "We recommend putting TokenPocket on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the TokenPocket extension",\n "description": "We recommend pinning TokenPocket to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "trust": {\n "qr_code": {\n "step1": {\n "title": "Open the Trust Wallet app",\n "description": "Put Trust Wallet on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the Trust Wallet extension",\n "description": "Click at the top right of your browser and pin Trust Wallet for easy access."\n },\n "step2": {\n "title": "Create or Import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up Trust Wallet, click below to refresh the browser and load up the extension."\n }\n }\n }
11,\n\n "uniswap": {\n "qr_code": {\n "step1": {\n "title": "Open the Uniswap app",\n "description": "Add Uniswap Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "zerion": {\n "qr_code": {\n "step1": {\n "title": "Open the Zerion app",\n "description": "We recommend putting Zerion on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the Zerion extension",\n "description": "We recommend pinning Zerion to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "rainbow": {\n "qr_code": {\n "step1": {\n "title": "Open the Rainbow app",\n "description": "We recommend putting Rainbow on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "You can easily backup your wallet using our backup feature on your phone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "enkrypt": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Enkrypt Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Enkrypt Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "frame": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Frame to your taskbar for quicker access to your wallet.",\n "title": "Install Frame & the companion extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "one_key": {\n "extension": {\n "step1": {\n "title": "Install the OneKey Wallet extension",\n "description": "We recommend pinning OneKey Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n }
11,\n\n "paraswap": {\n "qr_code": {\n "step1": {\n "title": "Open the ParaSwap app",\n "description": "Add ParaSwap Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "phantom": {\n "extension": {\n "step1": {\n "title": "Install the Phantom extension",\n "description": "We recommend pinning Phantom to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "rabby": {\n "extension": {\n "step1": {\n "title": "Install the Rabby extension",\n "description": "We recommend pinning Rabby to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "ronin": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Ronin Wallet on your home screen for quicker access.",\n "title": "Open the Ronin Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Ronin Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Ronin Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "ramper": {\n "extension": {\n "step1": {\n "title": "Install the Ramper extension",\n "description": "We recommend pinning Ramper to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "safeheron": {\n "extension": {\n "step1": {\n "title": "Install the Core extension",\n "description": "We recommend pinning Safeheron to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "taho": {\n "extension": {\n "step1": {\n "title": "Install the Taho extension",\n "description": "We recommend pinning Tah
11o to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "wigwam": {\n "extension": {\n "step1": {\n "title": "Install the Wigwam extension",\n "description": "We recommend pinning Wigwam to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "talisman": {\n "extension": {\n "step1": {\n "title": "Install the Talisman extension",\n "description": "We recommend pinning Talisman to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import an Ethereum Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "xdefi": {\n "extension": {\n "step1": {\n "title": "Install the XDEFI Wallet extension",\n "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "zeal": {\n "qr_code": {\n "step1": {\n "title": "Open the Zeal app",\n "description": "Add Zeal Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n },\n "extension": {\n "step1": {\n "title": "Install the Zeal extension",\n "description": "We recommend pinning Zeal to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "safepal": {\n "extension": {\n "step1": {\n "title": "Install the SafePal Wallet extension",\n "description": "Click at the top right of your browser and pin SafePal Wallet for easy access."\n },\n "step2": {\n "title": "Create or Import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up SafePal Wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the SafePal Wallet app",\n "description": "Put SafePal Wallet on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "desig": {\n "extension": {\n "step1": {\n "title": "Install the Desig extension",\n "description": "We recommend pinning Desig to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "subwallet": {\n "extension": {\n "step1": {\n "title": "Install the SubWallet extension",\n "description": "We recommend pinning SubWallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the SubWallet app",\n "description": "We recommend putting SubWallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "clv": {\n "extension": {\n "step1": {\n "title": "Install the CLV Wallet extension",\n "description": "We recommend pinning CLV Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the CLV Wallet app",\n "description": "We recommend putting CLV Wallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "okto": {\n "qr_code": {\n "step1": {\n "title": "Open the Okto a
11pp",\n "description": "Add Okto to your home screen for quick access"\n },\n "step2": {\n "title": "Create an MPC Wallet",\n "description": "Create an account and generate a wallet"\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Tap the Scan QR icon at the top right and confirm the prompt to connect."\n }\n }\n },\n\n "ledger": {\n "desktop": {\n "step1": {\n "title": "Open the Ledger Live app",\n "description": "We recommend putting Ledger Live on your home screen for quicker access."\n },\n "step2": {\n "title": "Set up your Ledger",\n "description": "Set up a new Ledger or connect to an existing one."\n },\n "step3": {\n "title": "Connect",\n "description": "A connection prompt will appear for you to connect your wallet."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Ledger Live app",\n "description": "We recommend putting Ledger Live on your home screen for quicker access."\n },\n "step2": {\n "title": "Set up your Ledger",\n "description": "You can either sync with the desktop app or connect your Ledger."\n },\n "step3": {\n "title": "Scan the code",\n "description": "Tap WalletConnect then Switch to Scanner. After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "valora": {\n "qr_code": {\n "step1": {\n "title": "Open the Valora app",\n "description": "We recommend putting Valora on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n }\n }\n}\n'},62202:(e,t,n)=>{let r=n(46087),i=n(60519),o=n(58976),a=n(43585),s=n(29343),c=r.getBCHDigit(7973);function l(e,t){return a.getCharCountIndicator(e,t)+4}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let o=(r.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t))*8;if(n===a.MIXED)return o;let c=o-l(n,e);switch(n){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){let r,i=o.from(n,o.M);if(Array.isArray(e)){if(e.length>1){for(let n=1;n<=40;n++)if(function(e,t){let n=0;return e.forEach(function(e){let r=l(e.mode,t);n+=r+e.getBitsLength()}),n}(e,n)<=t.getCapacity(n,i,a.MIXED))return n;return}if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let i=1;i<=40;i++)if(n<=t.getCapacity(i,r,e))return i}(r.mode,r.getLength(),i)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-c>=0;)t^=7973<<r.getBCHDigit(t)-c;return e<<12|t}},62288:(e,t,n)=>{"use strict";n.d(t,{sc:()=>r});let r=n(70787).sc},62739:(e,t,n)=>{"use strict";function r(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}n.d(t,{Y:()=>r})},65003:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&void 0!==t&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=this.keys().next().value;e&&this.delete(e)}return this}}},65358:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(19405);let i=2n**256n-1n;var o=n(36444),a=n(42264),s=n(69432),c=n(81757);function l(e){let{account:t,gasPrice:n,maxFeePerGas:l,maxPriorityFeePerGas:u,to:d}=e,f=t?(0,r.J)(t):void 0;if(f&&!(0,c.P)(f.address))throw new o.M({address:f.address});if(d&&!(0,c.P)(d))throw new o.M({address:d});if(void 0!==n&&(void 0!==l||void 0!==u))throw new s.n3;if(l&&l>i)throw new a.BG({maxFeePerGas:l});if(u&&l&&u>l)throw new a.lN({maxFeePerGas:l,maxPriorityFeePerGas:u})}},65368:(e,t,n)=>{"use strict";let r;n.d(t,{L:()=>o});let i=256;function o(e=11){if(!r||i+e>512){r="",i=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(i,i+++e)}},65830:(e,t,n)=>{"use strict";n.d(t,{m:()=>h});var r=n(14493),i=n(69330),o=n(60367),a=n(13861),s=n(67622),c=n(41052),l=n(95041),u=n(32160),d=n(7612),f=n(34524),p=n(3488);async function h(e,t){let{blockNumber:n,blockTag:h,key:m,name:b,gatewayUrls:g,strict:y}=t,{chain:w}=e,v=(()=>
11{if(t.universalResolverAddress)return t.universalResolverAddress;if(!w)throw Error("client chain not configured. universalResolverAddress is required.");return(0,a.M)({blockNumber:n,chain:w,contract:"ensUniversalResolver"})})(),A=w?.ensTlds;if(A&&!A.some(e=>b.endsWith(e)))return null;try{let t={address:v,abi:r.Ag,functionName:"resolve",args:[(0,s.nj)((0,d.F)(b)),(0,o.p)({abi:r.SJ,functionName:"text",args:[(0,u.k)(b),m]}),g??[l.J]],blockNumber:n,blockTag:h},a=(0,f.T)(e,p.J,"readContract"),c=await a(t);if("0x"===c[0])return null;let y=(0,i.e)({abi:r.SJ,functionName:"text",data:c[0]});return""===y?null:y}catch(e){if(y)throw e;if((0,c.J)(e,"resolve"))return null;throw e}}},66444:(e,t,n)=>{let r=n(43585);function i(e){this.mode=r.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)r=parseInt(this.data.substr(t,3),10),e.put(r,10);let i=this.data.length-t;i>0&&(r=parseInt(this.data.substr(t),10),e.put(r,3*i+1))},e.exports=i},67389:(e,t,n)=>{"use strict";n.d(t,{ms:()=>w,X5:()=>m,oI:()=>I,Zv:()=>x,qJ:()=>B,m0:()=>b,un:()=>g,Fr:()=>y,nr:()=>h,dI:()=>P,GS:()=>M,Hj:()=>S,Zn:()=>O});var r=n(9894),i=n(77752),o=n(35883),a=n(81379),s=n(67622);function c(e={}){var t,l;let u,d,f,p,h,m,b,g,y;return"3"===e.version||e.headlessMode?(t=e,(0,r.U)(e=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:c.type,async connect({chainId:e}={}){try{let t=await this.getProvider(),n=(await t.request({method:"eth_requestAccounts"})).map(e=>(0,o.b)(e));f||(f=this.onAccountsChanged.bind(this),t.on("accountsChanged",f)),p||(p=this.onChainChanged.bind(this),t.on("chainChanged",p)),h||(h=this.onDisconnect.bind(this),t.on("disconnect",h));let r=await this.getChainId();if(e&&r!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===a.vx.code)throw e;return{id:r}});r=t?.id??r}return{accounts:n,chainId:r}}catch(e){if(/(user closed modal|accounts received is empty|user denied account)/i.test(e.message))throw new a.vx(e);throw e}},async disconnect(){let e=await this.getProvider();f&&(e.removeListener("accountsChanged",f),f=void 0),p&&(e.removeListener("chainChanged",p),p=void 0),h&&(e.removeListener("disconnect",h),h=void 0),e.disconnect(),e.close()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,o.b)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
11,async getProvider(){if(!d){u=new(await (async()=>{let{default:e}=await Promise.all([n.e(4134),n.e(565),n.e(2524),n.e(9466)]).then(n.t.bind(n,62524,19));return"function"!=typeof e&&"function"==typeof e.default?e.default:e})())({...t,reloadOnDisconnect:!1});let r=u.walletExtension?.getChainId(),i=e.chains.find(e=>t.chainId?e.id===t.chainId:e.id===r)||e.chains[0],o=t.chainId||i?.id,a=t.jsonRpcUrl||i?.rpcUrls.default.http[0];d=u.makeWeb3Provider(a,o)}return d},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:n}){let r=e.chains.find(e=>e.id===n);if(!r)throw new a.ch(new i.nk);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(r.id)}]}),r}catch(e){if(4902===e.code)try{let e,i;e=t?.blockExplorerUrls?t.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=t?.rpcUrls?.length?t.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:e,chainId:(0,s.cK)(n),chainName:t?.chainName??r.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new a.vx(e)}throw new a.ch(e)}},onAccountsChanged(t){0===t.length?this.onDisconnect():e.emitter.emit("change",{accounts:t.map(e=>(0,o.b)(e))})},onChainChanged(t){let n=Number(t);e.emitter.emit("change",{chainId:n})},async onDisconnect(t){e.emitter.emit("disconnect");let n=await this.getProvider();f&&(n.removeListener("accountsChanged",f),f=void 0),p&&(n.removeListener("chainChanged",p),p=void 0),h&&(n.removeListener("disconnect",h),h=void 0)}}))):(l=e,(0,r.U)(e=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:c.type,async connect({chainId:e,...t}={}){try{let n=await this.getProvider(),r=(await n.request({method:"eth_requestAccounts",params:"instantOnboarding"in t&&t.instantOnboarding?[{onboarding:"instant"}]:[]})).map(e=>(0,o.b)(e));b||(b=this.onAccountsChanged.bind(this),n.on("accountsChanged",b)),g||(g=this.onChainChanged.bind(this),n.on("chainChanged",g)),y||(y=this.onDisconnect.bind(this),n.on("disconnect",y));let i=await this.getChainId();if(e&&i!==e){let t=await this.switchChain({chainId:e}).catch(e=>{if(e.code===a.vx.code)throw e;return{id:i}});i=t?.id??i}return{accounts:r,chainId:i}}catch(e){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(e.message))throw new a.vx(e);throw e}},async disconnect(){let e=await this.getProvider();b&&(e.removeListener("accountsChanged",b),b=void 0),g&&(e.removeListener("chainChanged",g),g=void 0),y&&(e.removeListener("disconnect",y),y=void 0),e.disconnect(),e.close?.()},async getAccounts(){let e=await this.getProvider();return(await e.request({method:"eth_accounts"})).map(e=>(0,o.b)(e))},async getChainId(){let e=await this.getProvider();return Number(await e.request({method:"eth_chainId"}))}
11,async getProvider(){if(!m){let t="string"==typeof l.preference?{options:l.preference}:{...l.preference,options:l.preference?.options??"all"},{createCoinbaseWalletSDK:r}=await Promise.all([n.e(4134),n.e(3746)]).then(n.bind(n,3746));m=r({...l,appChainIds:e.chains.map(e=>e.id),preference:t}).getProvider()}return m},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:n}){let r=e.chains.find(e=>e.id===n);if(!r)throw new a.ch(new i.nk);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(r.id)}]}),r}catch(e){if(4902===e.code)try{let e,i;e=t?.blockExplorerUrls?t.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=t?.rpcUrls?.length?t.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:e,chainId:(0,s.cK)(n),chainName:t?.chainName??r.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(e){throw new a.vx(e)}throw new a.ch(e)}},onAccountsChanged(t){0===t.length?this.onDisconnect():e.emitter.emit("change",{accounts:t.map(e=>(0,o.b)(e))})},onChainChanged(t){let n=Number(t);e.emitter.emit("change",{chainId:n})},async onDisconnect(t){e.emitter.emit("disconnect");let n=await this.getProvider();b&&(n.removeListener("accountsChanged",b),b=void 0),g&&(n.removeListener("chainChanged",g),g=void 0),y&&(n.removeListener("disconnect",y),y=void 0)}})))}c.type="coinbaseWallet";var l=n(46056),u=n(1607),d=n(90113),f=n(78519);function p(e={}){let t,i,{shimDisconnect:a=!1}=e;return(0,r.U)(r=>({id:"safe",name:"Safe",type:p.type,async connect(){let e=await this.getProvider();if(!e)throw new d.N;let t=await this.getAccounts(),n=await this.getChainId();return i||(i=this.onDisconnect.bind(this),e.on("disconnect",i)),a&&await r.storage?.removeItem("safe.disconnected"),{accounts:t,chainId:n}},async disconnect(){let e=await this.getProvider();if(!e)throw new d.N;i&&(e.removeListener("disconnect",i),i=void 0),a&&await r.storage?.setItem("safe.disconnected",!0)},async getAccounts(){let e=await this.getProvider();if(!e)throw new d.N;return(await e.request({method:"eth_accounts"})).map(o.b)}
11,async getProvider(){if("undefined"!=typeof window&&window?.parent!==window){if(!t){let{default:r}=await Promise.all([n.e(5242),n.e(7487)]).then(n.bind(n,47487)),i=new r(e),o=await (0,f.w)(()=>i.safe.getInfo(),{timeout:e.unstable_getInfoTimeout??10});if(!o)throw Error("Could not load Safe information");t=new(await (async()=>{let e=await Promise.all([n.e(5242),n.e(5779)]).then(n.t.bind(n,55779,19));return"function"!=typeof e.SafeAppProvider&&"function"==typeof e.default.SafeAppProvider?e.default.SafeAppProvider:e.SafeAppProvider})())(o,i)}return t}},async getChainId(){let e=await this.getProvider();if(!e)throw new d.N;return Number(e.chainId)},async isAuthorized(){try{if(a&&await r.storage?.getItem("safe.disconnected"))return!1;return!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}function h(){return"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&/Version\/([0-9._]+).*Safari/.test(navigator.userAgent)}function m(){var e,t;if("undefined"==typeof navigator)return"Browser";let n=null==(e=navigator.userAgent)?void 0:e.toLowerCase();return(null==(t=navigator.brave)?void 0:t.isBrave)?"Brave":(null==n?void 0:n.indexOf("edg/"))>-1?"Edge":(null==n?void 0:n.indexOf("op"))>-1?"Opera":"undefined"!=typeof document&&""!==getComputedStyle(document.body).getPropertyValue("--arc-palette-focus")?"Arc":(null==n?void 0:n.indexOf("chrome"))>-1?"Chrome":(null==n?void 0:n.indexOf("firefox"))>-1?"Firefox":h()?"Safari":"Browser"}function b(){return"undefined"!=typeof navigator&&/android/i.test(navigator.userAgent)}function g(){return"undefined"!=typeof navigator&&/iPhone|iPod/.test(navigator.userAgent)||"undefined"!=typeof navigator&&(/iPad/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)}function y(){return b()||g()}p.type="safe";var w=e=>{let{appName:t,appIcon:i}=e;return{id:"coinbase",name:"Coinbase Wallet",shortName:"Coinbase",rdns:"com.coinbase.wallet",iconUrl:async()=>(await n.e(1488).then(n.bind(n,41488))).default,iconAccent:"#2c5ff6",iconBackground:"#2c5ff6",installed:!0,downloadUrls:{android:"https://play.google.com/store/apps/details?id=org.toshi",ios:"https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",mobile:"https://coinbase.com/wallet/downloads",qrCode:"https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",chrome:"https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",browserExtension:"https://coinbase.com/wallet"},...g()?{}:{qrCode:{getUri:e=>e,instructions:{learnMoreUrl:"https://coinbase.com/wallet/articles/getting-started-mobile",steps:[{description:"wallet_connectors.coinbase.qr_code.step1.description",step:"install",title:"wallet_connectors.coinbase.qr_code.step1.title"},{description:"wallet_connectors.coinbase.qr_code.step2.description",step:"create",title:"wallet_connectors.coinbase.qr_code.step2.title"},{description:"wallet_connectors.coinbase.qr_code.step3.description",step:"scan",title:"wallet_connectors.coinbase.qr_code.step3.title"}]}},extension:{instructions:{learnMoreUrl:"https://coinbase.com/wallet/articles/getting-started-extension",steps:[{description:"wallet_connectors.coinbase.extension.step1.description",step:"install",title:"wallet_connectors.coinbase.extension.step1.title"},{description:"wallet_connectors.coinbase.extension.step2.description",step:"create",title:"wallet_connectors.coinbase.extension.step2.title"},{description:"wallet_connectors.coinbase.extension.step3.description",step:"refresh",title:"wallet_connectors.coinbase.extension.step3.title"}]}}},createConnector:e=>{let n=c({appName:t,appLogoUrl:i,preference:w.preference});return(0,r.U)(t=>({...n(t),...e}))}}},v=new Map,A=e=>{let{projectId:t,walletConnectParameters:n,rkDetailsShowQrModal:r}=e,i={...n||{},projectId:t,showQrModal:!1};r&&(i={...i,showQrModal:!0});let o=JSON.stringify(i),a=v.get(o);if(a)return a;let s=(0,l.u)(i);return v.set(o,s),s};function x(e){let{projectId:t,walletConnectParameters:n}=e;if(!t||""===t)throw Error("No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2 https://www.rainbowkit.com/docs/installation#configure");return"YOUR_PROJECT_ID"===t&&(t="21fef48091f12692cad574a6f7753643"),e=>(function(e){let{projectId:t,walletDetails:n,walletConnectParameters:i}=e;return(0,r.U)(e=>({...A({projectId:t,walletConnectParameters:i,rkDetailsShowQrModal:n.rkDetails.showQrModal})(e),...n}))})({projectId:t,walletDetails:e,walletConnectParameters:n})}function C(e){let t="undefined"!=typeof window?window:void 0;if(void 0===t||void 0===t.ethereum)return;let n=t.ethereum.providers;return n?n.find(t=>t[e]):t.ethereum[e]?t.ethereum:void 0}function E(e){let t=(e,n)=>{let[r,...i]=n.split("."),o=e[r];if(o)return 0===i.length?o:t(o,i.join("."))};if("undefined"!=typeof window)return t(window,e)}function B(e){let{flag:t,namespace:n}=e;return!!n&&void 0!==E(n)||!!t&&void 0!==C(t)}function I(e){var t;let{flag:n,namespace:i,target:o}=e;return t=o||function(e){var t;let{flag:n,namespace:r}=e,i="undefined"!=typeof window?window:void 0;if(void 0===i)return;if(r){let e=E(r);if(e)return e}let o=null==(t=i.ethereum)?void 0:t.providers;if(n){let e=C(n);if(e)return e}return void 0!==o&&o.length>0?o[0]:i.ethereum}({flag:n,namespace:i}),e=>{let n=t?{target:()=>({id:e.rkDetails.id,name:e.rkDetails.name,provider:t})}:{};return(0,r.U)(t=>({...(0,u.b)(n)(t),...e}))}}function k(e){return!!(null==e?void 0:e.isMetaMask)&&(!e.isBraveWallet||!!e._events||!!e._state)&&!e.isApexWallet&&!e.isAvalanche&&!e.isBackpack&&!e.isBifrost&&!e.isBitKeep&&!e.isBitski&&!e.isBlockWallet&&!e.isCoinbaseWallet&&!e.isDawn&&!e.isEnkrypt&&!e.isExodus&&!e.isFrame&&!e.isFrontier&&!e.isGamestop&&!e.isHyperPay&&!e.isImToken&&!e.isKuCoinWallet&&!e.isMathWallet&&!e.isNestWallet&&!e.isOkxWallet&&!e.isOKExWallet&&!e.isOneInchIOSWallet&&!e.isOneInchAndroidWallet&&!e.isOpera&&!e.isPhantom&&!e.isPortal&&!e.isRabby&&!e.isRainbow&&!e.isStatus&&!e.isTalisman&&!e.isTally&&!e.isTokenPocket&&!e.isTokenary&&!e.isTrust&&!e.isTrustWallet&&!e.isXDEFI&&!e.isZeal&&!e.isZerion&&!e.__seif&&!0}var P=e=>{var t,r,i;let{projectId:o,walletConnectParameters:a}=e,s=B({flag:"isMetaMask"}),c=!s,l=e=>b()?e:g()?"metamask://wc?uri=".concat(encodeURIComponent(e)):"https://metamask.app.link/wc?uri=".concat(encodeURIComponent(e));return{id:"metaMask",name:"MetaMask",rdns:"io.metamask",iconUrl:async()=>(await n.e(132).then(n.bind(n,50132))).default,iconAccent:"#f6851a",iconBackgroun
11d:"#fff",installed:c?void 0:s,downloadUrls:{android:"https://play.google.com/store/apps/details?id=io.metamask",ios:"https://apps.apple.com/us/app/metamask/id1438144202",mobile:"https://metamask.io/download",qrCode:"https://metamask.io/download",chrome:"https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",edge:"https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",firefox:"https://addons.mozilla.org/firefox/addon/ether-metamask",opera:"https://addons.opera.com/extensions/details/metamask-10",browserExtension:"https://metamask.io/download"},mobile:{getUri:c?l:void 0},qrCode:c?{getUri:l,instructions:{learnMoreUrl:"https://metamask.io/faqs/",steps:[{description:"wallet_connectors.metamask.qr_code.step1.description",step:"install",title:"wallet_connectors.metamask.qr_code.step1.title"},{description:"wallet_connectors.metamask.qr_code.step2.description",step:"create",title:"wallet_connectors.metamask.qr_code.step2.title"},{description:"wallet_connectors.metamask.qr_code.step3.description",step:"refresh",title:"wallet_connectors.metamask.qr_code.step3.title"}]}}:void 0,extension:{instructions:{learnMoreUrl:"https://metamask.io/faqs/",steps:[{description:"wallet_connectors.metamask.extension.step1.description",step:"install",title:"wallet_connectors.metamask.extension.step1.title"},{description:"wallet_connectors.metamask.extension.step2.description",step:"create",title:"wallet_connectors.metamask.extension.step2.title"},{description:"wallet_connectors.metamask.extension.step3.description",step:"refresh",title:"wallet_connectors.metamask.extension.step3.title"}]}},createConnector:c?x({projectId:o,walletConnectParameters:a}):I({target:"undefined"!=typeof window?null!=(i=null==(r=window.ethereum)||null==(t=r.providers)?void 0:t.find(k))?i:window.ethereum:void 0})}},M=e=>{let{projectId:t,walletConnectParameters:r}=e,i=B({flag:"isRainbow"}),o=!i,a=e=>b()?e:g()?"rainbow://wc?uri=".concat(encodeURIComponent(e),"&connector=rainbowkit"):"https://rnbwapp.com/wc?uri=".concat(encodeURIComponent(e),"&connector=rainbowkit");return{id:"rainbow",name:"Rainbow",rdns:"me.rainbow",iconUrl:async()=>(await n.e(9094).then(n.bind(n,29094))).default,iconBackground:"#0c2f78",installed:o?void 0:i,downloadUrls:{android:"https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",ios:"https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",mobile:"https://rainbow.download?utm_source=rainbowkit",qrCode:"https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",browserExtension:"https://rainbow.me/extension?utm_source=rainbowkit"},mobile:{getUri:o?a:void 0},qrCode:o?{getUri:a,instructions:{learnMoreUrl:"https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",steps:[{description:"wallet_connectors.rainbow.qr_code.step1.description",step:"install",title:"wallet_connectors.rainbow.qr_code.step1.title"},{description:"wallet_connectors.rainbow.qr_code.step2.description",step:"create",title:"wallet_connectors.rainbow.qr_code.step2.title"},{description:"wallet_connectors.rainbow.qr_code.step3.description",step:"scan",title:"wallet_connectors.rainbow.qr_code.step3.title"}]}}:void 0,createConnector:o?x({projectId:t,walletConnectParameters:r}):I({flag:"isRainbow"})}},S=()=>{var e,t;return{id:"safe",name:"Safe",iconAccent:"#12ff80",iconBackground:"#fff",iconUrl:async()=>(await n.e(1327).then(n.bind(n,61327))).default,installed:"undefined"!=typeof window&&(null==(e=window)?void 0:e.parent)!==window&&(null==(t=window)?void 0:t.parent.location.href.includes("open?safe=")),downloadUrls:{},createConnector:e=>(0,r.U)(t=>({...p()(t),...e}))}},O=e=>{let{projectId:t,options:r}=e;return{id:"walletConnect",name:"WalletConnect",installed:void 0,iconUrl:async()=>(await n.e(7898).then(n.bind(n,77898))).default,iconBackground:"#3b99fc",qrCode:{getUri:e=>e},createConnector:x({projectId:t,walletConnectParameters:r})}}},67622:(e,t,n)=>{"use strict";n.d(t,{$P:()=>c,My:()=>l,cK:()=>u,i3:()=>f,nj:()=>s});var r=n(94201),i=n(36984),o=n(27493);let a=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function s(e,t={}){return"number"==typeof e||"bigint"==typeof e?u(e,t):"string"==typeof e?f(e,t):"boolean"==typeof e?c(e,t):l(e,t)}function c(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?((0,o.Sl)(n,{size:t.size}),(0,i.eV)(n,{size:t.size})):n}function l(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=a[e[t]];let r=`0x${n}`;return"number"==typeof t.size?((0,o.Sl)(r,{size:t.size}),(0,i.eV)(r,{dir:"right",size:t.size})):r}function u(e,t={}){let n,{signed:o,size:a}=t,s=BigInt(e);
11a?n=o?(1n<<8n*BigInt(a)-1n)-1n:2n**(8n*BigInt(a))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let c="bigint"==typeof n&&o?-n-1n:0;if(n&&s>n||s<c){let t="bigint"==typeof e?"n":"";throw new r.Ty({max:n?`${n}${t}`:void 0,min:`${c}${t}`,signed:o,size:a,value:`${e}${t}`})}let l=`0x${(o&&s<0?(1n<<BigInt(8*a))+BigInt(s):s).toString(16)}`;return a?(0,i.eV)(l,{size:a}):l}let d=new TextEncoder;function f(e,t={}){return l(d.encode(e),t)}},68066:(e,t,n)=>{"use strict";function r(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:()=>r})},69184:(e,t,n)=>{let r=n(43585),i=["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 o(e){this.mode=r.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*i.indexOf(this.data[t]);n+=i.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=o},69330:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});var r=n(99702),i=n(43935),o=n(23008);let a="/docs/contract/decodeFunctionResult";function s(e){let{abi:t,args:n,functionName:s,data:c}=e,l=t[0];if(s){let e=(0,o.iY)({abi:t,args:n,name:s});if(!e)throw new r.Iz(s,{docsPath:a});l=e}if("function"!==l.type)throw new r.Iz(void 0,{docsPath:a});if(!l.outputs)throw new r.MR(l.name,{docsPath:a});let u=(0,i.n)(l.outputs,c);return u&&u.length>1?u:u&&1===u.length?u[0]:void 0}},69432:(e,t,n)=>{"use strict";n.d(t,{Kc:()=>c,Kz:()=>s,Vg:()=>a,WA:()=>l,aO:()=>i,n3:()=>o}),n(44494),n(31942);var r=n(7441);function i(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),n=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>` ${`${e}:`.padEnd(n+1)} ${t}`).join("\n")}class o extends r.C{constructor(){super("Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.\nUse `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.",{name:"FeeConflictError"})}}r.C;class a extends r.C{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",i(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}r.C,r.C,r.C,r.C;class s extends r.C{constructor({blockHash:e,blockNumber:t,blockTag:n,hash:r,index:i}){let o="Transaction";n&&void 0!==i&&(o=`Transaction at block time "${n}" at index "${i}"`),e&&void 0!==i&&(o=`Transaction at block hash "${e}" at index "${i}"`),t&&void 0!==i&&(o=`Transaction at block number "${t}" at index "${i}"`),r&&(o=`Transaction with hash "${r}"`),super(`${o} could not be found.`,{name:"TransactionNotFoundError"})}}class c extends r.C{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class l extends r.C{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}},69647:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(1125),i=n(98175);function o(e,t){return(0,r.N)(function(n,r){var o=0;n.subscribe((0,i._)(r,function(n){return e.call(t,n,o++)&&r.next(n)}))})}},70030:(e,t,n)=>{"use strict";function r(e,t,n){let r=e[t.name];if("function"==typeof r)return r;let i=e[n];return"function"==typeof i?i:n=>t(e,n)}n.d(t,{T:()=>r})},70787:(e,t,n)=>{"use strict";n.d(t,{Zf:()=>b,sc:()=>m});var r=n(89881),i=n(48701),o=n(19989);let a=Uint32Array.from([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
vendor: 2,290 bytes, line 11
1176c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),s=new Uint32Array(64);class c extends r.ol{constructor(e=32){super(64,e,8,!1),this.A=0|r.yc[0],this.B=0|r.yc[1],this.C=0|r.yc[2],this.D=0|r.yc[3],this.E=0|r.yc[4],this.F=0|r.yc[5],this.G=0|r.yc[6],this.H=0|r.yc[7]}get(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:a,H:s}=this;return[e,t,n,r,i,o,a,s]}set(e,t,n,r,i,o,a,s){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|r,this.E=0|i,this.F=0|o,this.G=0|a,this.H=0|s}process(e,t){for(let n=0;n<16;n++,t+=4)s[n]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=s[e-15],n=s[e-2],r=(0,o.Ow)(t,7)^(0,o.Ow)(t,18)^t>>>3,i=(0,o.Ow)(n,17)^(0,o.Ow)(n,19)^n>>>10;s[e]=i+s[e-7]+r+s[e-16]|0}let{A:n,B:i,C:c,D:l,E:u,F:d,G:f,H:p}=this;for(let e=0;e<64;e++){let t=p+((0,o.Ow)(u,6)^(0,o.Ow)(u,11)^(0,o.Ow)(u,25))+(0,r.r9)(u,d,f)+a[e]+s[e]|0,h=((0,o.Ow)(n,2)^(0,o.Ow)(n,13)^(0,o.Ow)(n,22))+(0,r.TQ)(n,i,c)|0;p=f,f=d,d=u,u=l+t|0,l=c,c=i,i=n,n=t+h|0}n=n+this.A|0,i=i+this.B|0,c=c+this.C|0,l=l+this.D|0,u=u+this.E|0,d=d+this.F|0,f=f+this.G|0,p=p+this.H|0,this.set(n,i,c,l,u,d,f,p)}roundClean(){(0,o.uH)(s)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,o.uH)(this.buffer)}}let l=i.lD(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
115771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),u=l[0],d=l[1],f=new Uint32Array(80),p=new Uint32Array(80);class h extends r.ol{constructor(e=64){super(128,e,16,!1),this.Ah=0|r.tT[0],this.Al=0|r.tT[1],this.Bh=0|r.tT[2],this.Bl=0|r.tT[3],this.Ch=0|r.tT[4],this.Cl=0|r.tT[5],this.Dh=0|r.tT[6],this.Dl=0|r.tT[7],this.Eh=0|r.tT[8],this.El=0|r.tT[9],this.Fh=0|r.tT[10],this.Fl=0|r.tT[11],this.Gh=0|r.tT[12],this.Gl=0|r.tT[13],this.Hh=0|r.tT[14],this.Hl=0|r.tT[15]}get(){let{Ah:e,Al:t,Bh:n,Bl:r,Ch:i,Cl:o,Dh:a,Dl:s,Eh:c,El:l,Fh:u,Fl:d,Gh:f,Gl:p,Hh:h,Hl:m}=this;return[e,t,n,r,i,o,a,s,c,l,u,d,f,p,h,m]}set(e,t,n,r,i,o,a,s,c,l,u,d,f,p,h,m){this.Ah=0|e,this.Al=0|t,this.Bh=0|n,this.Bl=0|r,this.Ch=0|i,this.Cl=0|o,this.Dh=0|a,this.Dl=0|s,this.Eh=0|c,this.El=0|l,this.Fh=0|u,this.Fl=0|d,this.Gh=0|f,this.Gl=0|p,this.Hh=0|h,this.Hl=0|m}process(e,t){for(let n=0;n<16;n++,t+=4)f[n]=e.getUint32(t),p[n]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|f[e-15],n=0|p[e-15],r=i.rE(t,n,1)^i.rE(t,n,8)^i.xn(t,n,7),o=i.ry(t,n,1)^i.ry(t,n,8)^i.jm(t,n,7),a=0|f[e-2],s=0|p[e-2],c=i.rE(a,s,19)^i.qh(a,s,61)^i.xn(a,s,6),l=i.ry(a,s,19)^i.Ei(a,s,61)^i.jm(a,s,6),u=i.CW(o,l,p[e-7],p[e-16]),d=i.CQ(u,r,c,f[e-7],f[e-16]);f[e]=0|d,p[e]=0|u}let{Ah:n,Al:r,Bh:o,Bl:a,Ch:s,Cl:c,Dh:l,Dl:h,Eh:m,El:b,Fh:g,Fl:y,Gh:w,Gl:v,Hh:A,Hl:x}=this;for(let e=0;e<80;e++){let t=i.rE(m,b,14)^i.rE(m,b,18)^i.qh(m,b,41),C=i.ry(m,b,14)^i.ry(m,b,18)^i.Ei(m,b,41),E=m&g^~m&w,B=b&y^~b&v,I=i.F8(x,C,B,d[e],p[e]),k=i.TH(I,A,t,E,u[e],f[e]),P=0|I,M=i.rE(n,r,28)^i.qh(n,r,34)^i.qh(n,r,39),S=i.ry(n,r,28)^i.Ei(n,r,34)^i.Ei(n,r,39),O=n&o^n&s^o&s,T=r&a^r&c^a&c;A=0|w,x=0|v,w=0|g,v=0|y,g=0|m,y=0|b,({h:m,l:b}=i.WQ(0|l,0|h,0|k,0|P)),l=0|s,h=0|c,s=0|o,c=0|a,o=0|n,a=0|r;let N=i.Vl(P,S,T);n=i.Vr(N,k,M,O),r=0|N}({h:n,l:r}=i.WQ(0|this.Ah,0|this.Al,0|n,0|r)),({h:o,l:a}=i.WQ(0|this.Bh,0|this.Bl,0|o,0|a)),({h:s,l:c}=i.WQ(0|this.Ch,0|this.Cl,0|s,0|c)),({h:l,l:h}=i.WQ(0|this.Dh,0|this.Dl,0|l,0|h)),({h:m,l:b}=i.WQ(0|this.Eh,0|this.El,0|m,0|b)),({h:g,l:y}=i.WQ(0|this.Fh,0|this.Fl,0|g,0|y)),({h:w,l:v}=i.WQ(0|this.Gh,0|this.Gl,0|w,0|v)),({h:A,l:x}=i.WQ(0|this.Hh,0|this.Hl,0|A,0|x)),this.set(n,r,o,a,s,c,l,h,m,b,g,y,w,v,A,x)}roundClean(){(0,o.uH)(f,p)}destroy(){(0,o.uH)(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}let m=(0,o.qj)(()=>new c),b=(0,o.qj)(()=>new h)},70872:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(32840);function i(e){if(66!==e.length||0!==e.indexOf("[")||65!==e.indexOf("]"))return null;let t=`0x${e.slice(1,65)}`;return(0,r.q)(t)?t:null}},72920:(e,t,n)=>{let r=n(43585),i=n(66444),o=n(69184),a=n(87487),s=n(15580),c=n(81685),l=n(46087),u=n(98521);function d(e){return unescape(encodeURIComponent(e)).length}function f(e,t,n){let r,i=[];for(;null!==(r=e.exec(n));)i.push({data:r[0],index:r.index,mode:t,length:r[0].length});return i}function p(e){let t,n,i=f(c.NUMERIC,r.NUMERIC,e),o=f(c.ALPHANUMERIC,r.ALPHANUMERIC,e);return l.isKanjiModeEnabled()?(t=f(c.BYTE,r.BYTE,e),n=f(c.KANJI,r.KANJI,e)):(t=f(c.BYTE_KANJI,r.BYTE,e),n=[]),i.concat(o,t,n).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function h(e,t){switch(t){case r.NUMERIC:return i.getBitsLength(e);case r.ALPHANUMERIC:return o.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function m(e,t){let n,c=r.getBestModeForData(e);if((n=r.from(t,c))!==r.BYTE&&n.bit<c.bit)throw Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(c));switch(n===r.KANJI&&!l.isKanjiModeEnabled()&&(n=r.BYTE),n){case r.NUMERIC:return new i(e);case r.ALPHANUMERIC:return new o(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(m(t,null)):t.data&&e.push(m(t.data,t.mode)),e},[])},t.fromString=function(e,n){let i=function(e,t){let n={},i={start:{}},o=["start"];for(let a=0;a<e.length;a++){let s=e[a],c=[];for(let e=0;e<s.length;e++){let l=s[e],u=""+a+e;
11c.push(u),n[u]={node:l,lastCount:0},i[u]={};for(let e=0;e<o.length;e++){let a=o[e];n[a]&&n[a].node.mode===l.mode?(i[a][u]=h(n[a].lastCount+l.length,l.mode)-h(n[a].lastCount,l.mode),n[a].lastCount+=l.length):(n[a]&&(n[a].lastCount=l.length),i[a][u]=h(l.length,l.mode)+4+r.getCharCountIndicator(l.mode,t))}}o=c}for(let e=0;e<o.length;e++)i[o[e]].end=0;return{map:i,table:n}}(function(e){let t=[];for(let n=0;n<e.length;n++){let i=e[n];switch(i.mode){case r.NUMERIC:t.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:t.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:t.push([i,{data:i.data,mode:r.BYTE,length:d(i.data)}]);break;case r.BYTE:t.push([{data:i.data,mode:r.BYTE,length:d(i.data)}])}}return t}(p(e,l.isKanjiModeEnabled())),n),o=u.find_path(i.map,"start","end"),a=[];for(let e=1;e<o.length-1;e++)a.push(i.table[o[e]].node);return t.fromArray(a.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[]))},t.rawSplit=function(e){return t.fromArray(p(e,l.isKanjiModeEnabled()))}},73817:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>c,yU:()=>s,Uv:()=>l});var r=n(39249),i=n(91208),o=(0,n(68066).L)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}),a=n(575),s=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,n,a,s,c=this._parentage;if(c)if(this._parentage=null,Array.isArray(c))try{for(var l=(0,r.__values)(c),d=l.next();!d.done;d=l.next())d.value.remove(this)}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}else c.remove(this);var f=this.initialTeardown;if((0,i.T)(f))try{f()}catch(e){s=e instanceof o?e.errors:[e]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var h=(0,r.__values)(p),m=h.next();!m.done;m=h.next()){var b=m.value;try{u(b)}catch(e){s=null!=s?s:[],e instanceof o?s=(0,r.__spreadArray)((0,r.__spreadArray)([],(0,r.__read)(s)),(0,r.__read)(e.errors)):s.push(e)}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}}if(s)throw new o(s)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)u(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(n=this._finalizers)?n:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,a.o)(t,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&(0,a.o)(n,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),c=s.EMPTY;function l(e){return e instanceof s||e&&"closed"in e&&(0,i.T)(e.remove)&&(0,i.T)(e.add)&&(0,i.T)(e.unsubscribe)}function u(e){(0,i.T)(e)?e():e.unsubscribe()}},74035:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(39249),i=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,r.__extends)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n.closed||t.next(this._value),n},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,n=this._value;if(e)throw t;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(99764).B)},75244:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',i={rounded:"Switzer, ".concat(r),system:r},o={large:{actionButton:"9999px",connectButton:"12px",modal:"24px",modalMobile:"28px"},medium:{actionButton:"10px",connectButton:"8px",modal:"16px",modalMobile:"18px"},none:{actionButton:"0px",connectButton:"0px",modal:"0px",modalMobile:"0px"},small:{actionButton:"4px",connectButton:"4px",modal:"8px",modalMobile:"8px"}},a={large:{modalOverlay:"blur(20px)"},none:{modalOverlay:"blur(0px)"},small:{modalOverlay:"blur(4px)"}},s=e=>{let{borderRadius:t="large",fontStack:n="rounded",overlayBlur:r="none"}=e;return{blurs:{modalOverlay:a[r].modalOverlay},fonts:{body:i[n]},radii:{actionButton:o[t].actionButton,connectButton:o[t].connectButton,menuButton:o[t].connectButton,modal:o[t].modal,modalMobile:o[t].modalMobile}}}},75794:(e,t,n)=>{"use strict";n.d(t,{i:()=>E});var r=n(3488),i=n(7441);class o extends i.C{constructor({data:e}){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(e)}`],name:"EnsAvatarInvalidMetadataError"})}}class a extends i.C{constructor({reason:e}
vendor: 1,567 bytes, line 11
11){super(`ENS NFT avatar URI is invalid. ${e}`,{name:"EnsAvatarInvalidNftUriError"})}}class s extends i.C{constructor({uri:e}){super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class c extends i.C{constructor({namespace:e}){super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}let l=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,u=/^(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,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,d=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,f=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function p(e){try{let t=await fetch(e,{method:"HEAD"});if(200===t.status){let e=t.headers.get("content-type");return e?.startsWith("image/")}return!1}catch(t){if("object"==typeof t&&void 0!==t.response||!globalThis.hasOwnProperty("Image"))return!1;return new Promise(t=>{let n=new Image;n.onload=()=>{t(!0)},n.onerror=()=>{t(!1)},n.src=e})}}function h(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function m({uri:e,gatewayUrls:t}){let n=d.test(e);if(n)return{uri:e,isOnChain:!0,isEncoded:n};let r=h(t?.ipfs,"https://ipfs.io"),i=h(t?.arweave,"https://arweave.net"),o=e.match(l),{protocol:a,subpath:c,target:p,subtarget:m=""}=o?.groups||{},b="ipns:/"===a||"ipns/"===c,g="ipfs:/"===a||"ipfs/"===c||u.test(e);
11if(e.startsWith("http")&&!b&&!g){let n=e;return t?.arweave&&(n=e.replace(/https:\/\/arweave.net/g,t?.arweave)),{uri:n,isOnChain:!1,isEncoded:!1}}if((b||g)&&p)return{uri:`${r}/${b?"ipns":"ipfs"}/${p}${m}`,isOnChain:!1,isEncoded:!1};if("ar:/"===a&&p)return{uri:`${i}/${p}${m||""}`,isOnChain:!1,isEncoded:!1};let y=e.replace(f,"");if(y.startsWith("<svg")&&(y=`data:image/svg+xml;base64,${btoa(y)}`),y.startsWith("data:")||y.startsWith("{"))return{uri:y,isOnChain:!0,isEncoded:!1};throw new s({uri:e})}function b(e){if("object"!=typeof e||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new o({data:e});return e.image||e.image_url||e.image_data}async function g({gatewayUrls:e,uri:t}){try{let n=await fetch(t).then(e=>e.json());return await y({gatewayUrls:e,uri:b(n)})}catch{throw new s({uri:t})}}async function y({gatewayUrls:e,uri:t}){let{uri:n,isOnChain:r}=m({uri:t,gatewayUrls:e});if(r||await p(n))return n;throw new s({uri:t})}async function w(e,{nft:t}){if("erc721"===t.namespace)return(0,r.J)(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if("erc1155"===t.namespace)return(0,r.J)(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new c({namespace:t.namespace})}async function v(e,{gatewayUrls:t,record:n}){return/eip155:/i.test(n)?A(e,{gatewayUrls:t,record:n}):y({uri:n,gatewayUrls:t})}async function A(e,{gatewayUrls:t,record:n}){let r=function(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));let[n,r,i]=t.split("/"),[o,s]=n.split(":"),[c,l]=r.split(":");if(!o||"eip155"!==o.toLowerCase())throw new a({reason:"Only EIP-155 supported"});if(!s)throw new a({reason:"Chain ID not found"});if(!l)throw new a({reason:"Contract address not found"});if(!i)throw new a({reason:"Token ID not found"});if(!c)throw new a({reason:"ERC namespace not found"});return{chainID:Number.parseInt(s),namespace:c.toLowerCase(),contractAddress:l,tokenID:i}}(n),{uri:i,isOnChain:o,isEncoded:s}=m({uri:await w(e,{nft:r}),gatewayUrls:t});if(o&&(i.includes("data:application/json;base64,")||i.startsWith("{")))return y({uri:b(JSON.parse(s?atob(i.replace("data:application/json;base64,","")):i)),gatewayUrls:t});let c=r.tokenID;return"erc1155"===r.namespace&&(c=c.replace("0x","").padStart(64,"0")),g({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,c)})}var x=n(34524),C=n(65830);async function E(e,{blockNumber:t,blockTag:n,assetGatewayUrls:r,name:i,gatewayUrls:o,strict:a,universalResolverAddress:s}){let c=await (0,x.T)(e,C.m,"getEnsText")({blockNumber:t,blockTag:n,key:"avatar",name:i,universalResolverAddress:s,gatewayUrls:o,strict:a});if(!c)return null;try{return await v(e,{record:c,gatewayUrls:r})}catch{return null}}},75887:(e,t,n)=>{"use strict";n.d(t,{R:()=>f});var r=n(5041),i=n(77752),o=n(90113);async function a(e,t){let{addEthereumChainParameter:n,chainId:r}=t,a=e.state.connections.get(t.connector?.uid??e.state.current);if(a){let e=a.connector;if(!e.switchChain)throw new o.V({connector:e});return await e.switchChain({addEthereumChainParameter:n,chainId:r})}let s=e.chains.find(e=>e.id===r);if(!s)throw new i.nk;return e.setState(e=>({...e,chainId:r})),s}var s=n(34250);let c=[];function l(e){let t=e.chains;return(0,s.b)(c,t)?c:(c=t,t)}var u=n(12115),d=n(53031);function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,d.U)(e),i={mutationFn:e=>a(n,e),mutationKey:["switchChain"]},{mutate:o,mutateAsync:s,...c}=(0,r.n)({...t,...i});return{...c,chains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,d.U)(e);return(0,u.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.chains.subscribe((e,t)=>{n(e,t)})})(t,{onChange:e}),()=>l(t),()=>l(t))}({config:n}),switchChain:o,switchChainAsync:s}}},76743:(e,t,n)=>{"use strict";n.d(t,{Bv:()=>o});var r=n(67622);let i={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function o(e){let t={};return void 0!==e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,r.cK)(BigInt(e.r)):e.r,s:e.s?(0,r.cK)(BigInt(e.s)):e.s,chainId:(0,r.cK)(e.chainId),nonce:(0,r.cK)(e.nonce),...void 0!==e.yParity?{yParity:(0,r.cK)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,r.cK)(e.v)}:{}}))),void 0!==e.accessList&&(t.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(t.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?t.blobs=e.blobs.map(e=>(0,r.My)(e)):t.blobs=e.blobs),void 0!==e.data&&(t.data=e.data),void 0!==e.from&&(t.from=e.from),void 0!==e.gas&&(t.gas=(0,r.cK)(e.gas)),void 0!==e.gasPrice&&(t.gasPrice=(0,r.cK)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(t.maxFeePerBlobGas=(0,r.cK)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(t.maxFeePerGas=(0,r.cK)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=(0,r.cK)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(t.nonce=(0,r.cK)(e.nonce)),void 0!==e.to&&(t.to=e.to),void 0!==e.type&&(t.type=i[e.type]),void 0!==e.value&&(t.value=(0,r.cK)(e.value)),t}},77136:(e,t,n)=>{"use strict";n.d(t,{eL:()=>r,pj:()=>o,sz:()=>i});let r={gwei:9,wei:18},i={ether:-9,wei:9},o={ether:-18,gwei:-9}}
11,77752:(e,t,n)=>{"use strict";n.d(t,{HF:()=>l,aj:()=>s,gC:()=>a,nM:()=>o,nk:()=>i,xU:()=>c});var r=n(95782);class i extends r.C{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class o extends r.C{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class a extends r.C{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}r.C;class s extends r.C{constructor({address:e,connector:t}){super(`Account "${e}" not found for connector "${t.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class c extends r.C{constructor({connectionChainId:e,connectorChainId:t}){super(`The current chain of the connector (id: ${t}) does not match the connection's chain (id: ${e}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class l extends r.C{constructor({connector:e}){super(`Connector "${e.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}},78519:(e,t,n)=>{"use strict";function r(e,{errorInstance:t=Error("timed out"),timeout:n,signal:r}){return new Promise((i,o)=>{(async()=>{let a;try{let s=new AbortController;n>0&&(a=setTimeout(()=>{r?s.abort():o(t)},n)),i(await e({signal:s?.signal||null}))}catch(e){e?.name==="AbortError"&&o(t),o(e)}finally{clearTimeout(a)}})()})}n.d(t,{w:()=>r})},78906:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{D:()=>r})},79183:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(e,t,n)=>JSON.stringify(e,(e,n)=>{let r="bigint"==typeof n?n.toString():n;return"function"==typeof t?t(e,r):r},n)},79621:e=>{function t(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},79731:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e[0]?i(e):function(e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}(e)}function i(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}n.d(t,{aP:()=>i,xW:()=>r})},80329:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},80844:(e,t,n)=>{"use strict";n.d(t,{Af:()=>p,ZJ:()=>l,aT:()=>f});var r=n(7441),i=n(32840),o=n(36984),a=n(27493),s=n(67622);let c=new TextEncoder;function l(e,t={}){var n,r;return"number"==typeof e||"bigint"==typeof e?(n=e,r=t,f((0,s.cK)(n,r))):"boolean"==typeof e?function(e,t={}){let n=new Uint8Array(1);return(n[0]=Number(e),"number"==typeof t.size)?((0,a.Sl)(n,{size:t.size}),(0,o.eV)(n,{size:t.size})):n}(e,t):(0,i.q)(e)?f(e,t):p(e,t)}let u={zero:48,nine:57,A:65,F:70,a:97,f:102};function d(e){return e>=u.zero&&e<=u.nine?e-u.zero:e>=u.A&&e<=u.F?e-(u.A-10):e>=u.a&&e<=u.f?e-(u.a-10):void 0}function f(e,t={}){let n=e;t.size&&((0,a.Sl)(n,{size:t.size}),n=(0,o.eV)(n,{dir:"right",size:t.size}));let i=n.slice(2);i.length%2&&(i=`0${i}`);let s=i.length/2,c=new Uint8Array(s);for(let e=0,t=0;e<s;e++){let n=d(i.charCodeAt(t++)),o=d(i.charCodeAt(t++));if(void 0===n||void 0===o)throw new r.C(`Invalid byte sequence ("${i[t-2]}${i[t-1]}" in "${i}").`);c[e]=16*n+o}return c}function p(e,t={}){let n=c.encode(e);return"number"==typeof t.size?((0,a.Sl)(n,{size:t.size}),(0,o.eV)(n,{dir:"right",size:t.size})):n}},81379:(e,t,n)=>{"use strict";n.d(t,{CL:()=>c,D5:()=>u,Di:()=>f,G1:()=>S,Gi:()=>l,L5:()=>B,MI:()=>T,RV:()=>x,Sf:()=>A,WT:()=>I,XU:()=>s,YW:()=>m,ab:()=>b,bq:()=>d,cg:()=>P,ch:()=>E,hA:()=>p,hl:()=>k,jz:()=>O,qZ:()=>h,s0:()=>g,sV:()=>v,uL:()=>M,vx:()=>w,xQ:()=>y,xq:()=>C});var r=n(7441),i=n(90557);class o extends r.C{constructor(e,{code:t,docsPath:n,metaMessages:r,name:o,shortMessage:a}){super(a,{cause:e,docsPath:n,metaMessages:r||e?.metaMessages,name:o||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}
vendor: 6,299 bytes, line 11
11),this.name=o||e.name,this.code=e instanceof i.J8?e.code:t??-1}}class a extends o{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class s extends o{constructor(e){super(e,{code:s.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends o{constructor(e){super(e,{code:c.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class l extends o{constructor(e,{method:t}={}){super(e,{code:l.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class u extends o{constructor(e){super(e,{code:u.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends o{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends o{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class p extends o{constructor(e){super(e,{code:p.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class h extends o{constructor(e){super(e,{code:h.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class m extends o{constructor(e){super(e,{code:m.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class b extends o{constructor(e,{method:t}={}){super(e,{code:b.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not supported.`})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class g extends o{constructor(e){super(e,{code:g.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class y extends o{constructor(e){super(e,{code:y.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class w extends a{constructor(e){super(e,{code:w.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class v extends a{constructor(e){super(e,{code:v.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class A extends a{constructor(e,{method:t}={}){super(e,{code:A.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class x extends a{constructor(e){super(e,{code:x.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class C extends a{constructor(e){super(e,{code:C.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class E extends a{constructor(e){super(e,{code:E.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class B extends a{constructor(e){super(e,{code:B.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class I extends a{constructor(e){super(e,{code:I.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class k extends a{constructor(e){super(e,{code:k.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(k,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class P extends a{constructor(e){super(e,{code:P.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class M extends a{constructor(e){super(e,{code:M.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(M,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class S extends a{constructor(e){super(e,{code:S.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750}
11);class O extends a{constructor(e){super(e,{code:O.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class T extends o{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},81685:(e,t)=>{let n="[0-9]+",r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",i="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=RegExp(r,"g"),t.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=RegExp(i,"g"),t.NUMERIC=RegExp(n,"g"),t.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let o=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return a.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},81757:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(65003),i=n(35883);let o=/^0x[a-fA-F0-9]{40}$/,a=new r.A(8192);function s(e,t){let{strict:n=!0}=t??{},r=`${e}.${n}`;if(a.has(r))return a.get(r);let s=!!o.test(e)&&(e.toLowerCase()===e||!n||(0,i.o)(e)===e);return a.set(r,s),s}},82661:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,o||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(l=1,c=Array(d-1);l<d;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var f,p=u.length;for(l=0;l<p;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),d){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,r);break;case 4:u[l].fn.call(u[l].context,t,r,i);break;default:if(!c)for(f=1,c=Array(d-1);f<d;f++)c[f-1]=arguments[f];u[l].fn.apply(u[l].context,c)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&l.push(s[c]);l.length?this._events[o]=1===l.length?l[0]:l:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},85569:(e,t,n)=>{"use strict";n.d(t,{u:()=>
11o});var r=n(62739);let i=new Map;function o({fn:e,id:t,shouldSplitBatch:n,wait:o=0,sort:a}){let s=async()=>{let t=u();c();let n=t.map(({args:e})=>e);0!==n.length&&e(n).then(e=>{a&&Array.isArray(e)&&e.sort(a);for(let n=0;n<t.length;n++){let{resolve:r}=t[n];r?.([e[n],e])}}).catch(e=>{for(let n=0;n<t.length;n++){let{reject:r}=t[n];r?.(e)}})},c=()=>i.delete(t),l=()=>u().map(({args:e})=>e),u=()=>i.get(t)||[],d=e=>i.set(t,[...u(),e]);return{flush:c,async schedule(e){let{promise:t,resolve:i,reject:a}=(0,r.Y)();return(n?.([...l(),e])&&s(),u().length>0)?d({args:e,resolve:i,reject:a}):(d({args:e,resolve:i,reject:a}),setTimeout(s,o)),t}}}},85596:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>b,vU:()=>f});var r=n(39249),i=n(91208),o=n(73817),a=n(80329),s={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=s.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,(0,r.__spreadArray)([e,t],(0,r.__read)(n))):setTimeout.apply(void 0,(0,r.__spreadArray)([e,t],(0,r.__read)(n)))},clearTimeout:function(e){var t=s.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function c(){}var l=u("C",void 0,void 0);function u(e,t,n){return{kind:e,value:t,error:n}}var d=n(39833),f=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Uv)(t)&&t.add(n)):n.destination=w,n}return(0,r.__extends)(t,e),t.create=function(e,t,n){return new b(e,t,n)},t.prototype.next=function(e){this.isStopped?y(u("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?y(u("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?y(l,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.yU),p=Function.prototype.bind;function h(e,t){return p.call(e,t)}var m=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){g(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){g(e)}else g(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){g(e)}},e}(),b=function(e){function t(t,n,r){var o,s,c=e.call(this)||this;return(0,i.T)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:c&&a.$.useDeprecatedNextContext?((s=Object.create(t)).unsubscribe=function(){return c.unsubscribe()},o={next:t.next&&h(t.next,s),error:t.error&&h(t.error,s),complete:t.complete&&h(t.complete,s)}):o=t,c.destination=new m(o),c}return(0,r.__extends)(t,e),t}(f);function g(e){if(a.$.useDeprecatedSynchronousErrorHandling)(0,d.l)(e);else s.setTimeout(function(){var t=a.$.onUnhandledError;if(t)t(e);else throw e})}function y(e,t){var n=a.$.onStoppedNotification;n&&s.setTimeout(function(){return n(e,t)})}var w={closed:!0,next:c,error:function(e){throw e},complete:c}},86205:(e,t,n)=>{"use strict";n.d(t,{Ej:()=>b,Fl:()=>C,Ho:()=>p,M7:()=>h,Ty:()=>y,di:()=>m,ii:()=>x,oB:()=>d,sH:()=>f,tf:()=>g,u:()=>A,uK:()=>u,xW:()=>c,xb:()=>l});var r=n(28452),i=n(97486),o=n(93587);let a=new TextEncoder,s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(...e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}function l(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?(o.Sl(n,t.size),p(n,t.size)):n}function u(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=s[e[t]];let r=`0x${n}`;return"number"==typeof t.size?(o.Sl(r,t.size),h(r,t.size)):r}function d(e,t={}){let n,{signed:r,size:i}=t,o=BigInt(e);i?n=r?(1n<<8n*BigInt(i)-1n)-1n:2n**(8n*BigInt(i))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let a="bigint"==typeof n&&r?-n-1n:0;if(n&&o>n||o<a){let t="bigint"==typeof e?"n":"";throw new y({max:n?`${n}${t}`:void 0,min:`${a}${t}`,signed:r,size:i,value:`${e}${t}`})}let s=(r&&o<0?(1n<<BigInt(8*i))+BigInt(o):o).toString(16),c=`0x${s}`;return i?p(c,i):c}function f(e,t={}){return u(a.encode(e),t)}function p(e,t){return o.eV(e,{dir:"left",size:t})}function h(e,t){return o.eV(e,{dir:"right",size:t})}function m(e,t,n,r={}){let{strict:i}=r;o.kK(e,t);let a=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return i&&o.X(a,t,n),a}function b(e){return Math.ceil((e.length-2)/2)}function g(e,t={}){let{strict:n=!1}=t;try{return!function(e,t={}){let{strict:n=!1}=t;if(!e||"string"!=typeof e)throw new w(e);if(n&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new v(e)}(e,{strict:n}),!0}catch{return!1}}class y extends r.C{constructor({max:e,min:t,signed:n,size:r,value:i}
11){super(`Number \`${i}\` is not in safe${r?` ${8*r}-bit`:""}${n?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}r.C;class w extends r.C{constructor(e){super(`Value \`${"object"==typeof e?i.A(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class v extends r.C{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}r.C;class A extends r.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class x extends r.C{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class C extends r.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}},87017:(e,t,n)=>{"use strict";n.d(t,{E:()=>m});var r=n(52020),i=n(39853),o=n(7165),a=n(25910),s=class extends a.Q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let o=t.queryKey,a=t.queryHash??(0,r.F$)(o,t),s=this.get(a);return s||(s=new i.X({client:e,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.MK)(e,t)):t}notify(e){o.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){o.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){o.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},c=n(34560),l=class extends a.Q{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#n=new Map,this.#r=0}#t;#n;#r;build(e,t,n){let r=new c.s({mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);let t=u(e);if("string"==typeof t){let n=this.#n.get(t);n?n.push(e):this.#n.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=u(e);if("string"==typeof t){let n=this.#n.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#n.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=u(e);if("string"!=typeof t)return!0;{let n=this.#n.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=u(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#n.get(t)?.find(t=>
11t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){o.jG.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#n.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.nJ)(e,t))}notify(e){o.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return o.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.lQ))))}};function u(e){return e.options.scope?.id}var d=n(50920),f=n(21239);function p(e){return{onFetch:(t,n)=>{let i=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],s=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},l=0,u=async()=>{let n=!1,u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)})},d=(0,r.ZM)(t.options,t.fetchOptions),f=async(e,i,o)=>{if(n)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:i,direction:o?"backward":"forward",meta:t.options.meta};return u(e),e})(),s=await d(a),{maxPages:c}=t.options,l=o?r.ZZ:r.y9;return{pages:l(e.pages,s,c),pageParams:l(e.pageParams,i,c)}};if(o&&a.length){let e="backward"===o,t={pages:a,pageParams:s},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:h)(i,t);c=await f(t,n,e)}else{let t=e??a.length;do{let e=0===l?s[0]??i.initialPageParam:h(i,c);if(l>0&&null==e)break;c=await f(c,e),l++}while(l<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=u}}}function h(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}var m=class{#i;#o;#a;#s;#c;#l;#u;#d;constructor(e={}){this.#i=e.queryCache||new s,this.#o=e.mutationCache||new l,this.#a=e.defaultOptions||{},this.#s=new Map,this.#c=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#u=d.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onFocus())}),this.#d=f.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#u?.(),this.#u=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#i.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#o.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#i.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.d2)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#i.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),o=this.#i.get(i.queryHash),a=o?.state.data,s=(0,r.Zw)(t,a);if(void 0!==s)return this.#i.build(this,i).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return o.jG.batch(()=>this.#i.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state}removeQueries(e){let t=this.#i;o.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#i;return o.jG.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(o.jG.batch(()=>this.#i.findAll(e).map(e=>e.cancel(n)))).then(r.lQ).catch(r.lQ)}invalidateQueries(e,t={}){return o.jG.batch(()=>(this.#i.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(o.jG.batch(()=>this.#i.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}
11))).then(r.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#i.build(this,t);return n.isStaleByTime((0,r.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e){return e.behavior=p(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.lQ).catch(r.lQ)}ensureInfiniteQueryData(e){return e.behavior=p(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.t.isOnline()?this.#o.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#i}getMutationCache(){return this.#o}getDefaultOptions(){return this.#a}setDefaultOptions(e){this.#a=e}setQueryDefaults(e,t){this.#s.set((0,r.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#s.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#c.set((0,r.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#c.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#a.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#a.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#i.clear(),this.#o.clear()}}},87094:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(32840);function i(e){return(0,r.q)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}},87332:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(87660),i=n(12115),o=n(53031);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onConnect:t,onDisconnect:n}=e,a=(0,o.U)(e);(0,i.useEffect)(()=>(0,r.F)(a,{onChange(e,r){if(("reconnecting"===r.status||"connecting"===r.status&&void 0===r.address)&&"connected"===e.status){let{address:n,addresses:i,chain:o,chainId:a,connector:s}=e,c="reconnecting"===r.status||void 0===r.status;null==t||t({address:n,addresses:i,chain:o,chainId:a,connector:s,isReconnected:c})}else"connected"===r.status&&"disconnected"===e.status&&(null==n||n())}}),[a,t,n])}},87456:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(97118);let i={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new r.hX({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new r.SK({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new r.B4({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new r.B4({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function o(e,{recursiveReadLimit:t=8192}={}){let n=Object.create(i);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}},87487:(e,t,n)=>{let r=n(43585);function i(e){this.mode=r.BYTE,"string"==typeof e?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=i}
11,88252:(e,t,n)=>{let r=n(46087),i=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){let n=e.bit<<3|t,o=n<<10;for(;r.getBCHDigit(o)-i>=0;)o^=1335<<r.getBCHDigit(o)-i;return(n<<10|o)^21522}},89076:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(39249),i=n(12115),o=n(56985),a=n(70464),s=(0,n(37548).f)(),c=function(){},l=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),l=o[0],u=o[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,b=e.shards,g=e.sideCar,y=e.noIsolation,w=e.inert,v=e.allowPinchZoom,A=e.as,x=e.gapMode,C=(0,r.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(0,a.S)([n,t]),B=(0,r.__assign)((0,r.__assign)({},C),l);return i.createElement(i.Fragment,null,m&&i.createElement(g,{sideCar:s,removeScrollBar:h,shards:b,noIsolation:y,inert:w,setCallbacks:u,allowPinchZoom:!!v,lockRef:n,gapMode:x}),d?i.cloneElement(i.Children.only(f),(0,r.__assign)((0,r.__assign)({},B),{ref:E})):i.createElement(void 0===A?"div":A,(0,r.__assign)({},B,{className:p,ref:E}),f))});l.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},l.classNames={fullWidth:o.pN,zeroRight:o.Mi};var u=n(50514),d=n(21515),f=n(29874),p=!1;if("undefined"!=typeof window)try{var h=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch(e){p=!1}var m=!!p&&{passive:!1},b=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},g=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),y(e,r)){var i=w(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},y=function(e,t){return"v"===e?b(t,"overflowY"):b(t,"overflowX")},w=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},v=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,c=n.target,l=t.contains(c),u=!1,d=s>0,f=0,p=0;do{var h=w(e,c),m=h[0],b=h[1]-h[2]-a*m;(m||b)&&y(e,c)&&(f+=b,p+=m),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(i&&1>Math.abs(f)||!i&&s>f)?u=!0:!d&&(i&&1>Math.abs(p)||!i&&-s>p)&&(u=!0),u},A=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},x=function(e){return[e.deltaX,e.deltaY]},C=function(e){return e&&"current"in e?e.current:e},E=0,B=[];let I=(0,u.m)(s,function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),a=i.useState(E++)[0],s=i.useState(f.T0)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.__spreadArray)([e.lockRef.current],(e.shards||[]).map(C),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var r,i=A(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-i[0],l="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=g(d,u);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=g(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(s||l)&&(o.current=r),!r)return!0;var p=o.current||r;return v(p,t,e,"h"===p?s:l,!0)},[]),u=i.useCallback(function(e){if(B.length&&B[B.length-1]===s){var n="deltaY"in e?x(e):A(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}
11if(!r){var i=(c.current.shards||[]).map(C).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=i.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),h=i.useCallback(function(e){n.current=A(e),o.current=void 0},[]),b=i.useCallback(function(t){p(t.type,x(t),t.target,l(t,e.lockRef.current))},[]),y=i.useCallback(function(t){p(t.type,A(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return B.push(s),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:y}),document.addEventListener("wheel",u,m),document.addEventListener("touchmove",u,m),document.addEventListener("touchstart",h,m),function(){B=B.filter(function(e){return e!==s}),document.removeEventListener("wheel",u,m),document.removeEventListener("touchmove",u,m),document.removeEventListener("touchstart",h,m)}},[]);var w=e.removeScrollBar,I=e.inert;return i.createElement(i.Fragment,null,I?i.createElement(s,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,w?i.createElement(d.jp,{gapMode:e.gapMode}):null)});var k=i.forwardRef(function(e,t){return i.createElement(l,(0,r.__assign)({},e,{ref:t,sideCar:I}))});k.classNames=l.classNames;let P=k},89881:(e,t,n)=>{"use strict";n.d(t,{Az:()=>l,DM:()=>c,TQ:()=>o,ol:()=>a,r9:()=>i,tT:()=>u,yc:()=>s});var r=n(19989);function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}class a extends r.Vw{constructor(e,t,n,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=i,this.buffer=new Uint8Array(e),this.view=(0,r.O8)(this.buffer)}update(e){(0,r.CC)(this),e=(0,r.ZJ)(e),(0,r.DO)(e);let{view:t,buffer:n,blockLen:i}=this,o=e.length;for(let a=0;a<o;){let s=Math.min(i-this.pos,o-a);if(s===i){let t=(0,r.O8)(e);for(;i<=o-a;a+=i)this.process(t,a);continue}n.set(e.subarray(a,a+s),this.pos),this.pos+=s,a+=s,this.pos===i&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,r.CC)(this),(0,r.Ht)(e,this),this.finished=!0;let{buffer:t,view:n,blockLen:i,isLE:o}=this,{pos:a}=this;t[a++]=128,(0,r.uH)(this.buffer.subarray(a)),this.padOffset>i-a&&(this.process(n,0),a=0);for(let e=a;e<i;e++)t[e]=0;!function(e,t,n,r){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,n,r);let i=BigInt(32),o=BigInt(0xffffffff),a=Number(n>>i&o),s=Number(n&o),c=4*!!r,l=4*!r;e.setUint32(t+c,a,r),e.setUint32(t+l,s,r)}(n,i-8,BigInt(8*this.length),o),this.process(n,0);let s=(0,r.O8)(e),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=c/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e<l;e++)s.setUint32(4*e,u[e],o)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:n,length:r,finished:i,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=i,e.length=r,e.pos=a,r%t&&e.buffer.set(n),e}clone(){return this._cloneInto()}}let s=Uint32Array.from([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),c=Uint32Array.from([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]),l=Uint32Array.from([0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]),u=Uint32Array.from([0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179])},90113:(e,t,n)=>{"use strict";n.d(t,{N:()=>i,V:()=>o});var r=n(95782);class i extends r.C{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class o extends r.C{constructor({connector:e}){super(`"${e.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}},90557:(e,t,n)=>{"use strict";n.d(t,{Ci:()=>a,J8:()=>s,MU:()=>c});var r=n(79183),i=n(7441),o=n(41514);class a extends i.C{constructor({body:e,cause:t,details:n,headers:i,status:a,url:s}){super("HTTP request failed.",{cause:t,details:n,metaMessages:[a&&`Status: ${a}`,`URL: ${(0,o.I)(s)}`,e&&`Request body: ${(0,r.A)(e)}
11`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=i,this.status=a,this.url=s}}i.C;class s extends i.C{constructor({body:e,error:t,url:n}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,o.I)(n)}`,`Request body: ${(0,r.A)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code,this.data=t.data}}i.C;class c extends i.C{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,o.I)(t)}`,`Request body: ${(0,r.A)(e)}`],name:"TimeoutError"})}}},91208:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},91640:(e,t,n)=>{let r=n(57354);t.mul=function(e,t){let n=new Uint8Array(e.length+t.length-1);for(let i=0;i<e.length;i++)for(let o=0;o<t.length;o++)n[i+o]^=r.mul(e[i],t[o]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){let e=n[0];for(let i=0;i<t.length;i++)n[i]^=r.mul(t[i],e);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let i=0;i<e;i++)n=t.mul(n,new Uint8Array([1,r.exp(i)]));return n}},92966:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(75794),i=n(70030),o=n(62108),a=n(43484),s=n(18224),c=n(53031);function l(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:l,query:u={}}=n,d=(0,c.U)(n),f=(0,s.i)({config:d}),p=function(e,t={}){return{async queryFn({queryKey:t}){let{name:n,scopeKey:o,...a}=t[1];if(!n)throw Error("name is required");let{chainId:s,...c}={...a,name:n},l=e.getClient({chainId:s});return(0,i.T)(l,r.i,"getEnsAvatar")(c)},queryKey:function(e={}){return["ensAvatar",(0,o.xO)(e)]}(t)}}(d,{...n,chainId:null!=(e=n.chainId)?e:f}),h=!!(l&&(null==(t=u.enabled)||t));return(0,a.IT)({...u,...p,enabled:h})}},93587:(e,t,n)=>{"use strict";n.d(t,{Sl:()=>i,X:()=>a,eV:()=>s,kK:()=>o});var r=n(86205);function i(e,t){if(r.Ej(e)>t)throw new r.u({givenSize:r.Ej(e),maxSize:t})}function o(e,t){if("number"==typeof t&&t>0&&t>r.Ej(e)-1)throw new r.ii({offset:t,position:"start",size:r.Ej(e)})}function a(e,t,n){if("number"==typeof t&&"number"==typeof n&&r.Ej(e)!==n-t)throw new r.ii({offset:n,position:"end",size:r.Ej(e)})}function s(e,t={}){let{dir:n,size:i=32}=t;if(0===i)return e;let o=e.replace("0x","");if(o.length>2*i)throw new r.Fl({size:Math.ceil(o.length/2),targetSize:i,type:"Hex"});return`0x${o["right"===n?"padEnd":"padStart"](2*i,"0")}`}},93727:(e,t,n)=>{"use strict";n.d(t,{A1:()=>l,di:()=>a,iN:()=>u});var r=n(58980),i=n(32840),o=n(87094);function a(e,t,n,{strict:r}={}){return(0,i.q)(e,{strict:!1})?u(e,t,n,{strict:r}):l(e,t,n,{strict:r})}function s(e,t){if("number"==typeof t&&t>0&&t>(0,o.E)(e)-1)throw new r.ii({offset:t,position:"start",size:(0,o.E)(e)})}function c(e,t,n){if("number"==typeof t&&"number"==typeof n&&(0,o.E)(e)!==n-t)throw new r.ii({offset:n,position:"end",size:(0,o.E)(e)})}function l(e,t,n,{strict:r}={}){s(e,t);let i=e.slice(t,n);return r&&c(i,t,n),i}function u(e,t,n,{strict:r}={}){s(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return r&&c(i,t,n),i}},94201:(e,t,n)=>{"use strict";n.d(t,{H2:()=>a,Ty:()=>i,u:()=>s,xO:()=>o});var r=n(7441);class i extends r.C{constructor({max:e,min:t,signed:n,size:r,value:i}){super(`Number "${i}" is not in safe ${r?`${8*r}-bit ${n?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`,{name:"IntegerOutOfRangeError"})}}class o extends r.C{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class a extends r.C{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}r.C;class s extends r.C{constructor({givenSize:e,maxSize:t}
11){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}},94676:e=>{e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},95041:(e,t,n)=>{"use strict";n.d(t,{X:()=>g,J:()=>b});var r=n(14493),i=n(29995),o=n(99702),a=n(93727),s=n(21135),c=n(43935),l=n(21159),u=n(79731),d=n(13423),f=n(23008);let p="/docs/contract/encodeErrorResult";function h(e){let{abi:t,errorName:n,args:r}=e,i=t[0];if(n){let e=(0,f.iY)({abi:t,args:r,name:n});if(!e)throw new o.yy(n,{docsPath:p});i=e}if("error"!==i.type)throw new o.yy(void 0,{docsPath:p});let a=(0,l.B)(i),c=(0,s.V)(a),h="0x";if(r&&r.length>0){if(!i.inputs)throw new o.ZP(i.name,{docsPath:p});h=(0,d.h)(i.inputs,r)}return(0,u.aP)([c,h])}let m="/docs/contract/encodeFunctionResult",b="x-batch-gateway:true";async function g(e){let{data:t,ccipRequest:n}=e,{args:[u]}=function(e){let{abi:t,data:n}=e,r=(0,a.di)(n,0,4),i=t.find(e=>"function"===e.type&&r===(0,s.V)((0,l.B)(e)));if(!i)throw new o.EB(r,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:i.name,args:"inputs"in i&&i.inputs&&i.inputs.length>0?(0,c.n)(i.inputs,(0,a.di)(n,4)):void 0}}({abi:r.b2,data:t}),p=[],b=[];return await Promise.all(u.map(async(e,t)=>{try{b[t]=await n(e),p[t]=!1}catch(e){var o;p[t]=!0,b[t]="HttpRequestError"===(o=e).name&&o.status?h({abi:r.b2,errorName:"HttpError",args:[o.status,o.shortMessage]}):h({abi:[i.Mc],errorName:"Error",args:["shortMessage"in o?o.shortMessage:o.message]})}})),function(e){let{abi:t,functionName:n,result:r}=e,i=t[0];if(n){let e=(0,f.iY)({abi:t,name:n});if(!e)throw new o.Iz(n,{docsPath:m});i=e}if("function"!==i.type)throw new o.Iz(void 0,{docsPath:m});if(!i.outputs)throw new o.MR(i.name,{docsPath:m});let a=(()=>{if(0===i.outputs.length)return[];if(1===i.outputs.length)return[r];if(Array.isArray(r))return r;throw new o.dm(r)})();return(0,d.h)(i.outputs,a)}({abi:r.b2,functionName:"query",result:[p,b]})}},96635:(e,t,n)=>{"use strict";n.d(t,{T:()=>ee});var r=n(31461);let i=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,o=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/,a=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/,s=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/,c=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/,l=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/,u=/^receive\(\) external payable$/,d=new Set(["indexed"]),f=new Set(["calldata","memory","storage"]);
vendor: 6,902 bytes, line 11
11class p extends Error{constructor(e,t={}){let n=t.cause instanceof p?t.cause.details:t.cause?.message?t.cause.message:t.details,r=t.cause instanceof p&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...r?[`Docs: https://abitype.dev${r}`]:[],...n?[`Details: ${n}`]:[],"Version: [email protected]"].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=n,this.docsPath=r,this.metaMessages=t.metaMessages,this.shortMessage=e}}class h extends p{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class m extends p{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class b extends p{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class g extends p{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class y extends p{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class w extends p{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${n}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class v extends p{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class A extends p{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class x extends p{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class C extends p{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class E extends p{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class B extends p{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let I=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),k=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,P=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,M=/^u?int$/;function S(e,t){var n,i;let o,a=function(e,t,n){let r="";if(n)for(let e of Object.entries(n)){if(!e)continue;let t="";for(let n of e[1])t+=`[${n.type}${n.name?`:${n.name}`:""}]`;r+=`(${e[0]}{${t}})`}return t?`${t}:${e}${r}`:e}(e,t?.type,t?.structs);if(I.has(a))return I.get(a);let s=r.wj.test(e),c=(0,r.Yv)(s?P:k,e);if(!c)throw new b({param:e});if(c.name&&("address"===(n=c.name)||"bool"===n||"function"===n||"string"===n||"tuple"===n||r.BD.test(n)||r.Ge.test(n)||N.test(n)))throw new g({param:e,name:c.name});let l=c.name?{name:c.name}:{},u="indexed"===c.modifier?{indexed:!0}:{},d=t?.structs??{},p={};if(s){o="tuple";let e=O(c.type),t=[],n=e.length;for(let r=0;r<n;r++)t.push(S(e[r],{structs:d}));p={components:t}}else if(c.type in d)o="tuple",p={components:d[c.type]};else if(M.test(c.type))o=`${c.type}256`;
vendor: 4,530 bytes, line 11
11else if(o=c.type,t?.type!=="struct"&&!T(o))throw new m({type:o});if(c.modifier){if(!t?.modifiers?.has?.(c.modifier))throw new y({param:e,type:t?.type,modifier:c.modifier});if(f.has(c.modifier)&&(i=o,!c.array&&"bytes"!==i&&"string"!==i&&"tuple"!==i))throw new w({param:e,type:t?.type,modifier:c.modifier})}let h={type:`${o}${c.array??""}`,...l,...u,...p};return I.set(a,h),h}function O(e,t=[],n="",r=0){let i=e.trim().length;for(let o=0;o<i;o++){let i=e[o],a=e.slice(o+1);switch(i){case",":return 0===r?O(a,[...t,n.trim()]):O(a,t,`${n}${i}`,r);case"(":return O(a,t,`${n}${i}`,r+1);case")":return O(a,t,`${n}${i}`,r-1);default:return O(a,t,`${n}${i}`,r)}}if(""===n)return t;if(0!==r)throw new B({current:n,depth:r});return t.push(n.trim()),t}function T(e){return"address"===e||"bool"===e||"function"===e||"string"===e||r.BD.test(e)||r.Ge.test(e)}let N=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/,F=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;function R(e){let t=function(e){let t={},n=e.length;for(let i=0;i<n;i++){let n=e[i];if(!s.test(n))continue;let o=(0,r.Yv)(s,n);if(!o)throw new A({signature:n,type:"struct"});let a=o.properties.split(";"),c=[],l=a.length;for(let e=0;e<l;e++){let t=a[e].trim();if(!t)continue;let n=S(t,{type:"struct"});c.push(n)}if(!c.length)throw new C({signature:n});t[o.name]=c}let i={},o=Object.entries(t),a=o.length;for(let e=0;e<a;e++){let[n,a]=o[e];i[n]=function e(t,n,i=new Set){let o=[],a=t.length;for(let s=0;s<a;s++){let a=t[s];if(r.wj.test(a.type))o.push(a);else{let t=(0,r.Yv)(F,a.type);if(!t?.type)throw new v({abiParameter:a});let{array:s,type:c}=t;if(c in n){if(i.has(c))throw new E({type:c});o.push({...a,type:`tuple${s??""}`,components:e(n[c]??[],n,new Set([...i,c]))})}else if(T(c))o.push(a);else throw new h({type:c})}}return o}(a,t)}return i}(e),n=[],p=e.length;for(let h=0;h<p;h++){let p=e[h];s.test(p)||n.push(function(e,t={}){if(a.test(e))return function(e,t={}){let n=(0,r.Yv)(a,e);if(!n)throw new A({signature:e,type:"function"});let i=O(n.parameters),o=[],s=i.length;for(let e=0;e<s;e++)o.push(S(i[e],{modifiers:f,structs:t,type:"function"}));let c=[];if(n.returns){let e=O(n.returns),r=e.length;for(let n=0;n<r;n++)c.push(S(e[n],{modifiers:f,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:o,outputs:c}}(e,t);if(o.test(e))return function(e,t={}){let n=(0,r.Yv)(o,e);if(!n)throw new A({signature:e,type:"event"});let i=O(n.parameters),a=[],s=i.length;for(let e=0;e<s;e++)a.push(S(i[e],{modifiers:d,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:a}}(e,t);if(i.test(e))return function(e,t={}){let n=(0,r.Yv)(i,e);if(!n)throw new A({signature:e,type:"error"});let o=O(n.parameters),a=[],s=o.length;for(let e=0;e<s;e++)a.push(S(o[e],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:a}}(e,t);if(c.test(e))return function(e,t={}){let n=(0,r.Yv)(c,e);if(!n)throw new A({signature:e,type:"constructor"});let i=O(n.parameters),o=[],a=i.length;for(let e=0;e<a;e++)o.push(S(i[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:o}}(e,t);if(l.test(e))return function(e){let t=(0,r.Yv)(l,e);if(!t)throw new A({signature:e,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}(e);if(u.test(e))return{type:"receive",stateMutability:"payable"};throw new x({signature:e})}(p,t))}return n}var U=n(35791),q=n(19405),D=n(14493),L=n(15313),j=n(7441),z=n(30445),W=n(35109),Q=n(69330),_=n(20760),G=n(60367),H=n(13861),K=n(67622),$=n(23360),V=n(7671),J=n(76743),Y=n(85569),Z=n(25507),X=n(65358);async function ee(e,t){let{account:r=e.account,authorizationList:i,batch:o=!!e.batch?.multicall,blockNumber:a,blockTag:s="latest",accessList:c,blobs:l,blockOverrides:u,code:d,data:f,factory:p,factoryData:h,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:y,maxPriorityFeePerGas:w,nonce:v,to:A,value:x,stateOverride:C,...E}=t,B=r?(0,q.J)(r):void 0;if(d&&(p||h))throw new j.C("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(d&&A)throw new j.C("Cannot provide both `code` & `to` as parameters.");
11let I=d&&f,k=p&&h&&A&&f,P=I||k,M=I?function(e){let{code:t,data:n}=e;return(0,_.m)({abi:R(["constructor(bytes, bytes)"]),bytecode:L.LX,args:[t,n]})}({code:d,data:f}):k?function(e){let{data:t,factory:n,factoryData:r,to:i}=e;return(0,_.m)({abi:R(["constructor(address, bytes, address, bytes)"]),bytecode:L.WN,args:[i,t,n,r]})}({data:f,factory:p,factoryData:h,to:A}):f;try{(0,X.c)(t);let n=("bigint"==typeof a?(0,K.cK)(a):void 0)||s,r=u?U.J(u):void 0,d=(0,Z.yH)(C),f=e.chain?.formatters?.transactionRequest?.format,p=(f||J.Bv)({...(0,V.o)(E,{format:f}),from:B?.address,accessList:c,authorizationList:i,blobs:l,data:M,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:y,maxPriorityFeePerGas:w,nonce:v,to:P?void 0:A,value:x});if(o&&function({request:e}){let{data:t,to:n,...r}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(r).filter(e=>void 0!==e).length>0)}({request:p})&&!d&&!r)try{return await et(e,{...p,blockNumber:a,blockTag:s})}catch(e){if(!(e instanceof z.YE)&&!(e instanceof z.rj))throw e}let h=(()=>{let e=[p,n];return d&&r?[...e,d,r]:d?[...e,d]:r?[...e,{},r]:e})(),I=await e.request({method:"eth_call",params:h});if("0x"===I)return{data:void 0};return{data:I}}catch(a){let r=function(e){if(!(e instanceof j.C))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:i,offchainLookupSignature:o}=await n.e(1026).then(n.bind(n,31026));if(!1!==e.ccipRead&&r?.slice(0,10)===o&&A)return{data:await i(e,{data:r,to:A})};if(P&&r?.slice(0,10)==="0x101bb98d")throw new W.Po({factory:p});throw(0,$.d)(a,{...t,account:B,chain:e.chain})}}async function et(e,t){let{batchSize:n=1024,wait:r=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:i,blockTag:o="latest",data:a,multicallAddress:s,to:c}=t,l=s;if(!l){if(!e.chain)throw new z.YE;l=(0,H.M)({blockNumber:i,chain:e.chain,contract:"multicall3"})}let u=("bigint"==typeof i?(0,K.cK)(i):void 0)||o,{schedule:d}=(0,Y.u)({id:`${e.uid}.${u}`,wait:r,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*n,fn:async t=>{let n=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),r=(0,G.p)({abi:D.v2,args:[n],functionName:"aggregate3"}),i=await e.request({method:"eth_call",params:[{data:r,to:l},u]});return(0,Q.e)({abi:D.v2,args:[n],functionName:"aggregate3",data:i||"0x"})}}),[{returnData:f,success:p}]=await d({data:a,to:c});if(!p)throw new W.$S({data:f});return"0x"===f?{data:void 0}:{data:f}}},97118:(e,t,n)=>{"use strict";n.d(t,{B4:()=>i,SK:()=>o,hX:()=>a});var r=n(7441);class i extends r.C{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class o extends r.C{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class a extends r.C{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},97486:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});function r(e,t,n){return JSON.stringify(e,(e,n)=>"function"==typeof t?t(e,n):"bigint"==typeof n?n.toString()+"#__bigint":n,n)}},98078:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(19405),i=n(65368);function o(e){let{batch:t,chain:n,ccipRead:o,key:a="base",name:s="Base Client",type:c="base"}=e,l=Math.min(Math.max(Math.floor((n?.blockTime??12e3)/2),500),4e3),u=e.pollingInterval??l,d=e.cacheTime??u,f=e.account?(0,r.J)(e.account):void 0,{config:p,request:h,value:m}=e.transport({chain:n,pollingInterval:u}),b={account:f,batch:t,cacheTime:d,ccipRead:o,chain:n,key:a,name:s,pollingInterval:u,request:h,transport:{...p,...m},type:c,uid:(0,i.L)()};return Object.assign(b,{extend:function e(t){return n=>{let r=n(t);for(let e in b)delete r[e];let i={...t,...r};return Object.assign(i,{extend:e(i)})}}(b)})}},98175:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(39249);function i(e,t,n,r,i){return new o(e,t,n,r,i)}var o=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return(0,r.__extends)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),n||null==(t=this.onFinalize)||t.call(this)}},t}(n(85596).vU)},98521:e=>{"use strict";var t={single_source_shortest_paths:function(e,n,r){var i,o,a,s,c,l,u,d={},f={};f[n]=0;var p=t.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(a in o=(i=p.pop()).value,s=i.cost,c=e[o]||{})c.hasOwnProperty(a)&&(l=s+c[a],u=f[a],(void 0===f[a]||u>l)&&(f[a]=l,p.push(a,l),d[a]=o));if(void 0!==r&&void 0===f[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return d},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var i=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,i={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},98984:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(19989);class i extends r.Vw{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,r.sd)(e);let n=(0,r.ZJ)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let i=this.blockLen,o=new Uint8Array(i);o.set(n.length>i?e.create().update(n).digest():n);for(let e=0;e<o.length;e++)o[e]^=54;this.iHash.update(o),this.oHash=e.create();for(let e=0;e<o.length;e++)o[e]^=106;this.oHash.update(o),(0,r.uH)(o)}update(e){return(0,r.CC)(this),this.iHash.update(e),this}digestInto(e){(0,r.CC)(this),(0,r.DO)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:n,finished:r,destroyed:i,blockLen:o,outputLen:a}=this;return e.finished=r,e.destroyed=i,e.blockLen=o,e.outputLen=a,e.oHash=t._cloneInto(e.oHash),e.iHash=n._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let o=(e,t,n)=>new i(e,t).update(n).digest();o.create=(e,t)=>
11new i(e,t)},99622:(e,t,n)=>{"use strict";var r,i,o,a;n.d(t,{Wm:()=>o}),function(e){e.REQUEST_SIGN_TRANSACTION="REQUEST_SIGN_TRANSACTION",e.SIGN_TRANSACTION_SUCCESS="SIGN_TRANSACTION_SUCCESS",e.SIGN_TRANSACTION_FAIL="SIGN_TRANSACTION_FAIL",e.SELECT_TOKEN="SELECT_TOKEN",e.TOKEN_SELECTED="TOKEN_SELECTED"}(r||(r={})),function(e){e.NAVIGATE="NAVIGATE",e.NAVIGATE_BACK="NAVIGATE_BACK",e.TOAST="TOAST"}(i||(i={})),function(e){e.ONBOARDING="onboarding",e.SWAP="swap",e.REQUEST="request",e.ONRAMP="onramp",e.SEND="send",e.RECEIVE="receive",e.CHANGE_PAY_PIN="change_pay_pin"}(o||(o={})),function(e){e.DOGE="doge",e.MOSO="moso",e.WLFI="wlfi"}(a||(a={}))},99702:(e,t,n)=>{"use strict";n.d(t,{BI:()=>C,EB:()=>A,Iy:()=>c,Iz:()=>w,MR:()=>v,M_:()=>y,Nc:()=>u,O:()=>l,Wq:()=>m,YE:()=>f,YF:()=>s,YW:()=>a,ZP:()=>p,_z:()=>b,d_:()=>M,dm:()=>P,fo:()=>E,gH:()=>d,j:()=>k,kE:()=>g,l3:()=>B,nK:()=>I,nM:()=>x,yy:()=>h});var r=n(21159),i=n(87094),o=n(7441);class a extends o.C{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class s extends o.C{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}o.C;class c extends o.C{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.A)(t,{includeName:!0})})`,`Data: ${e} (${n} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e,this.params=t,this.size=n}}class l extends o.C{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class u extends o.C{constructor({expectedLength:e,givenLength:t,type:n}){super(`ABI encoding array length mismatch for type ${n}. 12Expected length: ${e} 13Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends o.C{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,i.E)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class f extends o.C{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch. 14Expected length (params): ${e} 15Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class p extends o.C{constructor(e,{docsPath:t}){super(`Arguments (\`args\`) were provided to "${e}", but "${e}" on the ABI does not contain any parameters (\`inputs\`). 16Cannot encode error result without knowing what the parameter types are. 17Make sure you are using the correct ABI and that the inputs exist on it.`,{docsPath:t,name:"AbiErrorInputsNotFoundError"})}}class h extends o.C{constructor(e,{docsPath:t}={}){super(`Error ${e?`"${e}" `:""}not found on ABI. 18Make sure you are using the correct ABI and that the error exists on it.`,{docsPath:t,name:"AbiErrorNotFoundError"})}}class m extends o.C{constructor(e,{docsPath:t}){super(`Encoded error signature "${e}" not found on ABI. 19Make sure you are using the correct ABI and that the error exists on it. 20You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class b extends o.C{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class g extends o.C{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI. 21Make sure you are using the correct ABI and that the event exists on it. 22You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class y extends o.C{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI. 23Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class w extends o.C{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI. 24Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class v extends o.C{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI. 25Cannot decode function result without knowing what the parameter types are. 26Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class A extends o.C{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI. 27Make sure you are using the correct ABI and that the function exists on it. 28You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class x extends o.C{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,r.B)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,r.B)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class C extends o.C{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class E extends o.C{constructor({abiItem:e,data:t,params:n,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,r.A)(n,{includeName:!0})})`,`Data: ${t} (${i} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e,this.data=t,this.params=n,this.size=i}}class B extends o.C{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,r.B)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class I extends o.C{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type. 29Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class k extends o.C{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type. 30Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class P extends o.C{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class M extends o.C{constructor(e){super(`"${e}" is not a valid definition type. 31Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}o.C}
31,99764:(e,t,n)=>{"use strict";n.d(t,{B:()=>m});var r=n(39249),i=n(85596),o=n(73817),a="function"==typeof Symbol&&Symbol.observable||"@@observable",s=n(78906),c=n(80329),l=n(91208),u=n(39833),d=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this,a=!function(e){return e&&e instanceof i.vU||e&&(0,l.T)(e.next)&&(0,l.T)(e.error)&&(0,l.T)(e.complete)&&(0,o.Uv)(e)}(e)?new i.Ms(e,t,n):e;return(0,u.Y)(function(){var e=r.operator,t=r.source;a.add(e?e.call(a,t):t?r._subscribe(a):r._trySubscribe(a))}),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=f(t))(function(t,r){var o=new i.Ms({next:function(t){try{e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:t});n.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[a]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?s.D:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=f(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function f(e){var t;return null!=(t=null!=e?e:c.$.Promise)?t:Promise}var p=(0,n(68066).L)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),h=n(575),m=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,r.__extends)(t,e),t.prototype.lift=function(e){var t=new b(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new p},t.prototype.next=function(e){var t=this;(0,u.Y)(function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=(0,r.__values)(t.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;(0,u.Y)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,u.Y)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?o.Kn:(this.currentObservers=null,i.push(e),new o.yU(function(){t.currentObservers=null,(0,h.o)(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new d;return e.source=this,e},t.create=function(e,t){return new b(e,t)},t}(d),b=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.__extends)(t,e),t.prototype.next=function(e){var t,n;null==(n=null==(t=this.destination)?void 0:t.next)||n.call(t,e)},t.prototype.error=function(e){var t,n;null==(n=null==(t=this.destination)?void 0:t.error)||n.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!=(n=null==(t=this.source)?void 0:t.subscribe(e))?n:o.Kn},t}(m)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.