@privy-io/react-auth 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/cjs/abstract-smart-wallets.js +1 -1
  2. package/dist/cjs/{importWallet-BvzASqsr.js → importWallet-DnBwVibu.js} +1 -1
  3. package/dist/cjs/index.js +2 -2
  4. package/dist/cjs/{prepareFundingModalData-C8wPeHar.js → prepareFundingModalData-Cb2nv4dG.js} +1 -1
  5. package/dist/cjs/{smart-wallets-DlC_5Y5l.js → smart-wallets-CBoK3FJE.js} +1 -1
  6. package/dist/cjs/smart-wallets.js +1 -1
  7. package/dist/cjs/solana.js +1 -1
  8. package/dist/cjs/ui.js +1 -1
  9. package/dist/cjs/useActiveWallet-CcpSCPoL.js +5 -0
  10. package/dist/cjs/{useFundWallet-2Ezrz28N.js → useFundWallet-BhlJigGm.js} +1 -1
  11. package/dist/cjs/{useWallets-DobnZGpT.js → useWallets-y1wsvg5v.js} +1 -1
  12. package/dist/dts/farcaster.d.mts +1 -1
  13. package/dist/dts/farcaster.d.ts +1 -1
  14. package/dist/dts/index.d.mts +8 -7
  15. package/dist/dts/index.d.ts +8 -7
  16. package/dist/dts/smart-wallets.d.mts +1 -1
  17. package/dist/dts/smart-wallets.d.ts +1 -1
  18. package/dist/dts/solana.d.mts +4 -4
  19. package/dist/dts/solana.d.ts +4 -4
  20. package/dist/dts/{types-CjeWF_LJ.d.mts → types-vsXbDWiC.d.mts} +2 -0
  21. package/dist/dts/{types-CjeWF_LJ.d.ts → types-vsXbDWiC.d.ts} +2 -0
  22. package/dist/dts/ui.d.mts +1 -1
  23. package/dist/dts/ui.d.ts +1 -1
  24. package/dist/dts/{useSolanaWallets-CXnYSqQR.d.mts → useSolanaWallets-xlc6faTU.d.mts} +1 -1
  25. package/dist/dts/{useSolanaWallets-CXnYSqQR.d.ts → useSolanaWallets-xlc6faTU.d.ts} +1 -1
  26. package/dist/esm/abstract-smart-wallets.mjs +1 -1
  27. package/dist/esm/{importWallet-DfwAobLp.mjs → importWallet-C-D57oRC.mjs} +1 -1
  28. package/dist/esm/index.mjs +21 -21
  29. package/dist/esm/{prepareFundingModalData-R09VUVWm.mjs → prepareFundingModalData-CFokVw8r.mjs} +1 -1
  30. package/dist/esm/{smart-wallets-BKO_VzqX.mjs → smart-wallets-BvnCDN7T.mjs} +1 -1
  31. package/dist/esm/smart-wallets.mjs +1 -1
  32. package/dist/esm/solana.mjs +1 -1
  33. package/dist/esm/ui.mjs +1 -1
  34. package/dist/esm/{useActiveWallet-CRQOoJef.mjs → useActiveWallet-BzMUJJr8.mjs} +5 -5
  35. package/dist/esm/{useFundWallet-vjrQZZWa.mjs → useFundWallet-DAS_ErNP.mjs} +1 -1
  36. package/dist/esm/useWallets-0lCjD0UF.mjs +1 -0
  37. package/package.json +5 -5
  38. package/dist/cjs/useActiveWallet-DUvjidjw.js +0 -5
  39. package/dist/esm/useWallets-Bm3b-V02.mjs +0 -1
@@ -1,5 +1,5 @@
1
- import e,{useRef as t,useState as i,useMemo as a,useContext as l,createContext as o,useEffect as n,useCallback as r}from"react";import{jsx as s,jsxs as c,Fragment as d}from"react/jsx-runtime";import{a as h,ag as p,ah as u,u as g,q as w,w as m,x as f,r as C,M as y,s as v,Z as A,Y as b,ai as M,T as x,aj as N,ak as I,Q as D,U as L,X as T,al as k,E as S}from"./useWallets-Bm3b-V02.mjs";import{W as E,i as O,f as j,w as z,U as B,u as U,C as F,P as W,d as R}from"./prepareFundingModalData-R09VUVWm.mjs";import{isMobile as P}from"react-device-detect";import{styled as Q,css as _,keyframes as H}from"styled-components";import{b as Z,P as V,f as Y,j as G,a as J,n as K,u as X,g as q}from"./internal-context-DBDJ7qsa.mjs";import $ from"@heroicons/react/24/outline/ArrowLeftIcon";import ee from"@heroicons/react/24/outline/ArrowRightIcon";import te from"@heroicons/react/24/outline/QuestionMarkCircleIcon";import ie from"@heroicons/react/24/outline/XMarkIcon";import{isHex as ae,getAddress as le,formatEther as oe,createPublicClient as ne,http as re}from"viem";import{EthereumProvider as se,OPTIONAL_EVENTS as ce,OPTIONAL_METHODS as de}from"@walletconnect/ethereum-provider";import{getAddress as he,toHex as pe}from"viem/utils";import ue from"@heroicons/react/24/outline/CheckIcon";import ge from"@heroicons/react/24/outline/Square2StackIcon";import we from"qrcode";import me from"@heroicons/react/24/outline/GlobeAltIcon";import{a as fe}from"./getPublicClient-BghjDv1y.mjs";import{create as Ce}from"zustand";import{shallow as ye}from"zustand/shallow";import{createWithEqualityFn as ve}from"zustand/traditional";const Ae=e=>e.isApexWallet?"Apex Wallet":e.isAvalanche?"Core Wallet":e.isBackpack?"Backpack":e.isBifrost?"Bifrost Wallet":e.isBitKeep?"BitKeep":e.isBitski?"Bitski":e.isBlockWallet?"BlockWallet":e.isBraveWallet?"Brave Wallet":e.isClover?"Clover":e.isCoin98?"Coin98 Wallet":e.isCoinbaseWallet?"Coinbase Wallet":e.isDawn?"Dawn Wallet":e.isDefiant?"Defiant":e.isDesig?"Desig Wallet":e.isEnkrypt?"Enkrypt":e.isExodus?"Exodus":e.isFordefi?"Fordefi":e.isFrame?"Frame":e.isFrontier?"Frontier Wallet":e.isGamestop?"GameStop Wallet":e.isHaqqWallet?"HAQQ Wallet":e.isHyperPay?"HyperPay Wallet":e.isImToken?"ImToken":e.isHaloWallet?"Halo Wallet":e.isKuCoinWallet?"KuCoin Wallet":e.isMathWallet?"MathWallet":e.isNovaWallet?"Nova Wallet":e.isOkxWallet||e.isOKExWallet?"OKX Wallet":e.isOneInchIOSWallet||e.isOneInchAndroidWallet?"1inch Wallet":e.isOneKey?"OneKey Wallet":e.isOpera?"Opera":e.isPhantom||"isPhantom"in e?"Phantom":e.isPortal?"Ripio Portal":e.isRabby?"Rabby Wallet":e.isRainbow?"Rainbow":e.isSafePal?"SafePal Wallet":e.isStatus?"Status":e.isSubWallet?"SubWallet":e.isTalisman?"Talisman":e.isTally||e.isTaho?"Taho":e.isTokenPocket?"TokenPocket":e.isTokenary?"Tokenary":e.isTrust||e.isTrustWallet?"Trust Wallet":e.isTTWallet?"TTWallet":e.isXDEFI?"XDEFI Wallet":e.isZeal?"Zeal":e.isZerion?"Zerion":e.isMetaMask?"MetaMask":void 0,be=(e,t)=>{if(!e.isMetaMask)return!1;if(e.isMetaMask&&!t)return!0;if(e.isBraveWallet&&!e._events&&!e._state||"MetaMask"!==Ae(e))return!1;if(e.providers)for(let t of e.providers)if(!be(t))return!1;return!0},Me=()=>{let e=window;if(!e.ethereum)return!1;if(e.ethereum.isCoinbaseWallet)return!0;if(e.ethereum.providers)for(let t of e.ethereum.providers)if(t&&t.isCoinbaseWallet)return!0;return!1},xe=(e,t)=>{let i=[],a=[];for(let[l,o]of e.entries())l<t?i.push(o):a.push(o);return[i,a]},Ne=e=>!!String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),Ie=(e,t=3,i=4,a="ethereum")=>{if(!e)return"";let l="ethereum"===a?2:0;return t+i+l+3>=e.length?e:`${e.slice(0,l+t)}...${e.slice(e.length-i,e.length)}`},De=(e,t=3,i=4)=>Ie(e,t,i,"solana"),Le=e=>new Promise((t=>setTimeout(t,e)));const Te=(e,t={})=>{let i=t.delayMs||150,a=t.maxAttempts||270;return new Promise((async(l,o)=>{let n=!1,r=0;for(;!n&&r<a;){if(t.abortSignal?.aborted)return;e().then((e=>{n=!0,l(e)}),((...e)=>{n=!0,o(...e)})),r+=1,await Le(i)}n||o(Error("Exceeded max attempts before resolving function"))}))},ke=(e,t,i={},a={})=>{let l=new URL(t,e);for(let[e,t]of Object.entries(i))void 0!==t&&l.searchParams.set(e,t);let o=Object.entries(a);if(o.length>0){let e=new URLSearchParams;for(let[t,i]of o)e.append(t,i);l.hash=e.toString()}return l.href},Se=e=>e.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g,""),Ee=e=>"string"==typeof e?e:"0x"+e.toString(16);async function Oe({store:e,walletList:t,externalWalletConfig:i,walletChainType:a,timeout:l=3e3}){let o=!1,n=window;return new Promise((r=>{function s(){if(o)return;o=!0,window.removeEventListener("ethereum#initialized",s);let l=e.getProviders();console.debug("Detected injected providers:",l.map((e=>e.info)));let n=[];for(let e of l)t.includes("coinbase_wallet")&&"com.coinbase.wallet"===e.info.rdns||"solana-only"===a&&"app.phantom"===e.info.rdns||n.push({type:e.info.name.toLowerCase().replace(/\s/g,"_"),eip6963InjectedProvider:e});if("solana-only"!==a)for(let e of function(){let e=window,t=e.ethereum;if(!t)return[];let i=[];if(t.providers?.length)for(let e of t.providers)e&&i.push(e);return i.push(e.ethereum),i}()){let t=Ae(e);if(!l.some((e=>e.info.name===t))){if(be(e,!0)&&!n.find((e=>"metamask"===e.type))){n.push({type:"metamask",legacyInjectedProvider:e});continue}if("Phantom"===t&&!n.find((e=>"phantom"===e.type))){n.push({type:"phantom",legacyInjectedProvider:e});continue}if("Coinbase Wallet"===t&&!n.find((e=>"coinbase_wallet"===e.type&&"smartWalletOnly"!==i.coinbaseWallet?.connectionOptions))){n.push({type:"coinbase_wallet",legacyInjectedProvider:e});continue}n.find((e=>"unknown_browser_extension"===e.type))||n.push({type:"unknown_browser_extension",legacyInjectedProvider:e})}}r(n)}n.ethereum?s():(window.addEventListener("ethereum#initialized",s,{once:!0}),setTimeout((()=>{s()}),l))}))}function je(e){return`eip155:${String(Number(e))}`}const ze=(e,t,i,a)=>{let l=Number(e),o=t.find((e=>e.id===l));if(!o)throw new Z(`Unsupported chainId ${e}`,4901);return fe(o,i,a)},Be=e=>{let t={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},i=e.types.EIP712Domain??Object.entries(e.domain).map((([e,i])=>{if(null!=i&&"string"==typeof e&&e in t)return{name:e,type:t[e]}})).filter((e=>void 0!==e));return{...e,types:{...e.types,EIP712Domain:i}}};const Ue=e=>{let t;try{t=new URL(e).hostname}catch(e){return}for(let[e,i]of Object.entries(Fe))if(t.includes(i.hostname))return{walletClientType:e,entry:i}},Fe={metamask:{id:"c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96",displayName:"MetaMask",hostname:"metamask.io",mobile:{native:"metamask://",universal:"https://metamask.app.link"}},trust:{id:"4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0",displayName:"Trust",hostname:"trustwallet.com",mobile:{universal:"https://link.trustwallet.com"}},safe:{id:"225affb176778569276e484e1b92637ad061b01e13a048b35a9d280c3b58970f",displayName:"Safe",hostname:"safe.global",mobile:{universal:"https://app.safe.global/"}},rainbow:{id:"1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369",displayName:"Rainbow",hostname:"rainbow.me",mobile:{native:"rainbow://",universal:"https://rnbwapp.com"}},uniswap:{id:"c03dfee351b6fcc421b4494ea33b9d4b92a984f87aa76d1663bb28705e95034a",displayName:"Uniswap",hostname:"uniswap.org",mobile:{universal:"https://uniswap.org/app",native:"uniswap://"}},zerion:{id:"ecc4036f814562b41a5268adc86270fba1365471402006302e70169465b7ac18",displayName:"Zerion",hostname:"zerion.io",mobile:{native:"zerion://",universal:"https://wallet.zerion.io"}},argent:{id:"bc949c5d968ae81310268bf9193f9c9fb7bb4e1283e1284af8f2bd4992535fd6",displayName:"Argent",hostname:"www.argent.xyz",mobile:{universal:"https://www.argent.xyz/app"}},spot:{id:"74f8092562bd79675e276d8b2062a83601a4106d30202f2d509195e30e19673d",displayName:"Spot",hostname:"www.spot-wallet.com",mobile:{universal:"https://spot.so"}},omni:{id:"afbd95522f4041c71dd4f1a065f971fd32372865b416f95a0b1db759ae33f2a7",displayName:"Omni",hostname:"omni.app",mobile:{universal:"https://links.omni.app"}},cryptocom:{id:"f2436c67184f158d1beda5df53298ee84abfc367581e4505134b5bcf5f46697d",displayName:"Crypto.com",hostname:"crypto.com",mobile:{universal:"https://wallet.crypto.com",native:"dfw://"}},blockchain:{id:"84b43e8ddfcd18e5fcb5d21e7277733f9cccef76f7d92c836d0e481db0c70c04",displayName:"Blockchain",hostname:"www.blockchain.com",mobile:{universal:"https://www.blockchain.com"}},safepal:{id:"0b415a746fb9ee99cce155c2ceca0c6f6061b1dbca2d722b3ba16381d0562150",displayName:"SafePal",hostname:"safepal.com",mobile:{universal:"https://link.safepal.io"}},bitkeep:{id:"38f5d18bd8522c244bdd70cb4a68e0e718865155811c043f052fb9f1c51de662",displayName:"BitKeep",hostname:"bitkeep.com",mobile:{universal:"https://bkapp.vip"}},zengo:{id:"9414d5a85c8f4eabc1b5b15ebe0cd399e1a2a9d35643ab0ad22a6e4a32f596f0",displayName:"ZenGo",hostname:"zengo.com",mobile:{universal:"https://get.zengo.com/"}},"1inch":{id:"c286eebc742a537cd1d6818363e9dc53b21759a1e8e5d9b263d0c03ec7703576",displayName:"1inch",hostname:"wallet.1inch.io",mobile:{universal:"https://wallet.1inch.io/wc/"}},binance:{id:"8a0ee50d1f22f6651afcae7eb4253e52a3310b90af5daef78a8c4929a9bb99d4",displayName:"Binance",hostname:"www.binance.com",mobile:{universal:"https://app.binance.com/cedefi"}},exodus:{id:"e9ff15be73584489ca4a66f64d32c4537711797e30b6660dbcb71ea72a42b1f4",displayName:"Exodus",hostname:"exodus.com",mobile:{universal:"https://exodus.com/m"}},mew_wallet:{id:"f5b4eeb6015d66be3f5940a895cbaa49ef3439e518cd771270e6b553b48f31d2",displayName:"MEW wallet",hostname:"mewwallet.com",mobile:{universal:"https://mewwallet.com"}},alphawallet:{id:"138f51c8d00ac7b9ac9d8dc75344d096a7dfe370a568aa167eabc0a21830ed98",displayName:"AlphaWallet",hostname:"alphawallet.com",mobile:{universal:"https://aw.app"}},keyring_pro:{id:"47bb07617af518642f3413a201ec5859faa63acb1dd175ca95085d35d38afb83",displayName:"KEYRING PRO",hostname:"keyring.app",mobile:{universal:"https://keyring.app/"}},mathwallet:{id:"7674bb4e353bf52886768a3ddc2a4562ce2f4191c80831291218ebd90f5f5e26",displayName:"MathWallet",hostname:"mathwallet.org",mobile:{universal:"https://www.mathwallet.org"}},unstoppable:{id:"8308656f4548bb81b3508afe355cfbb7f0cb6253d1cc7f998080601f838ecee3",displayName:"Unstoppable",hostname:"unstoppabledomains.com",mobile:{universal:"https://unstoppabledomains.com/mobile"}},obvious:{id:"031f0187049b7f96c6f039d1c9c8138ff7a17fd75d38b34350c7182232cc29aa",displayName:"Obvious",hostname:"obvious.technology",mobile:{universal:"https://wallet.obvious.technology"}},ambire:{id:"2c81da3add65899baeac53758a07e652eea46dbb5195b8074772c62a77bbf568",displayName:"Ambire",hostname:"www.ambire.com",mobile:{universal:"https://mobile.ambire.com"}},internet_money_wallet:{id:"dd43441a6368ec9046540c46c5fdc58f79926d17ce61a176444568ca7c970dcd",displayName:"Internet Money Wallet",hostname:"internetmoney.io",mobile:{universal:"https://internetmoney.io"}},coin98:{id:"2a3c89040ac3b723a1972a33a125b1db11e258a6975d3a61252cd64e6ea5ea01",displayName:"Coin98",hostname:"coin98.com",mobile:{universal:"https://coin98.services"}},abc_wallet:{id:"b956da9052132e3dabdcd78feb596d5194c99b7345d8c4bd7a47cabdcb69a25f",displayName:"ABC Wallet",hostname:"myabcwallet.io",mobile:{universal:"https://abcwalletconnect.page.link"}},arculus_wallet:{id:"0e4915107da5b3408b38e248f7a710f4529d54cd30e9d12ff0eb886d45c18e92",displayName:"Arculus Wallet",hostname:"www.getarculus.com",mobile:{universal:"https://gw.arculus.co/app"}},haha:{id:"719bd888109f5e8dd23419b20e749900ce4d2fc6858cf588395f19c82fd036b3",displayName:"HaHa",hostname:"www.haha.me",mobile:{universal:"https://haha.me"}},cling_wallet:{id:"942d0e22a7e6b520b0a03abcafc4dbe156a1fc151876e3c4a842f914277278ef",displayName:"Cling Wallet",hostname:"clingon.io",mobile:{universal:"https://cling.carrieverse.com/apple-app-site-association"}},broearn:{id:"8ff6eccefefa7506339201bc33346f92a43118d6ff7d6e71d499d8187a1c56a2",displayName:"Broearn",hostname:"www.broearn.com",mobile:{universal:"https://www.broearn.com/link/wallet/"}},copiosa:{id:"07f99a5d9849bb049d74830012b286f8b238e72b0337933ef22b84947409db80",displayName:"Copiosa",hostname:"copiosa.io",mobile:{universal:"https://copiosa.io/action/"}},burrito_wallet:{id:"8821748c25de9dbc4f72a691b25a6ddad9d7df12fa23333fd9c8b5fdc14cc819",displayName:"Burrito Wallet",hostname:"burritowallet.com",mobile:{universal:"https://burritowallet.com/wc?uri="}},enjin_wallet:{id:"bdc9433ffdaee55d31737d83b931caa1f17e30666f5b8e03eea794bac960eb4a",displayName:"Enjin Wallet",hostname:"enjin.io",mobile:{universal:"https://deeplink.wallet.enjin.io/"}},plasma_wallet:{id:"cbe13eb482c76f1fa401ff4c84d9acd0b8bc9af311ca0620a0b192fb28359b4e",displayName:"Plasma Wallet",hostname:"plasma-wallet.com",mobile:{universal:"https://plasma-wallet.com"}},avacus:{id:"94f785c0c8fb8c4f38cd9cd704416430bcaa2137f27e1468782d624bcd155a43",displayName:"Avacus",hostname:"avacus.cc",mobile:{universal:"https://avacus.app.link"}},bee:{id:"2cca8c1b0bea04ba37dee4017991d348cdb7b826804ab2bd31073254f345b715",displayName:"Bee",hostname:"www.beewallet.app",mobile:{universal:"https://beewallet.app/wc"}},pitaka:{id:"14e5d957c6eb62d3ee8fc6239703ac2d537d7e3552154836ca0beef775f630bc",displayName:"Pitaka",hostname:"pitaka.io",mobile:{universal:"https://app.pitaka.io"}},pltwallet:{id:"576c90ceaea34f29ff0104837cf2b2e23d201be43be1433feeb18d375430e1fd",displayName:"PLTwallet",hostname:"pltwallet.io",mobile:{universal:"https://pltwallet.io/"}},minerva:{id:"49bb9d698dbdf2c3d4627d66f99dd9fe90bba1eec84b143f56c64a51473c60bd",displayName:"Minerva",hostname:"minerva.digital",mobile:{universal:"https://minerva.digital"}},kryptogo:{id:"19418ecfd44963883e4d6abca1adeb2036f3b5ffb9bee0ec61f267a9641f878b",displayName:"KryptoGO",hostname:"kryptogo.com",mobile:{universal:"https://kryptogo.page.link"}},prema:{id:"5b8e33346dfb2a532748c247876db8d596734da8977905a27b947ba1e2cf465b",displayName:"PREMA",hostname:"premanft.com",mobile:{universal:"https://premanft.com"}},slingshot:{id:"d23de318f0f56038c5edb730a083216ff0cce00c1514e619ab32231cc9ec484b",displayName:"Slingshot",hostname:"slingshot.finance",mobile:{universal:"https://app.slingshot.finance"}},kriptonio:{id:"50df7da345f84e5a79aaf617df5167335a4b6751626df2e8a38f07029b3dde7b",displayName:"Kriptonio",hostname:"kriptonio.com",mobile:{universal:"https://app.kriptonio.com/mobile"}},timeless:{id:"9751385960bca290c13b443155288f892f62ee920337eda8c5a8874135daaea8",displayName:"Timeless",hostname:"timelesswallet.xyz",mobile:{universal:"https://timelesswallet.xyz"}},secux:{id:"6464873279d46030c0b6b005b33da6be5ed57a752be3ef1f857dc10eaf8028aa",displayName:"SecuX",hostname:"secuxtech.com",mobile:{universal:"https://wsweb.secuxtech.com"}},bitizen:{id:"41f20106359ff63cf732adf1f7dc1a157176c9b02fd266b50da6dcc1e9b86071",displayName:"Bitizen",hostname:"bitizen.org",mobile:{universal:"https://bitizen.org/wallet"}},blocto:{id:"14e7176536cb3706e221daaa3cfd7b88b7da8c7dfb64d1d241044164802c6bdd",displayName:"Blocto",hostname:"blocto.io",mobile:{universal:"https://blocto.app"}},safemoon:{id:"a0e04f1086aac204d4ebdd5f985c12ed226cd0006323fd8143715f9324da58d1",displayName:"SafeMoon",hostname:"safemoon.com",mobile:{universal:"https://safemoon.com/wc"}},okx_wallet:{id:"971e689d0a5be527bac79629b4ee9b925e82208e5168b733496a09c0faed0709",displayName:"OKX Wallet",hostname:"okx.com",mobile:{native:"okex://main"}},rabby_wallet:{id:"18388be9ac2d02726dbac9777c96efaac06d744b2f6d580fccdd4127a6d01fd1",displayName:"Rabby Wallet",hostname:"rabby.io",mobile:{}},bybit_wallet:{id:"15c8b91ade1a4e58f3ce4e7a0dd7f42b47db0c8df7e0d84f63eb39bcb96c4e0f",displayName:"Bybit Wallet",hostname:"bybit.com",mobile:{}}};function We(e){return{name:e.displayName||"",universalLink:e.mobile.universal,deepLink:e.mobile.native}}let Re="WALLETCONNECT_DEEPLINK_CHOICE";function Pe(e){return e.startsWith("http://")||e.startsWith("https://")}function Qe(e,t){if(Pe(e))return _e(e,t);let i=e;return i.includes("://")||(i=e.replaceAll("/","").replaceAll(":",""),i=`${i}://`),i.endsWith("/")||(i=`${i}/`),{redirect:`${i}wc?uri=${encodeURIComponent(t)}`,href:i}}function _e(e,t){if(!Pe(e))return Qe(e,t);let i=e;return i.endsWith("/")||(i=`${i}/`),{redirect:`${i}wc?uri=${encodeURIComponent(t)}`,href:i}}function He(e,t){window.open(e,t,"noreferrer noopener")}class Ze{execute(e){return null===this.promise&&(this.promise=(async()=>{try{return await this.fn(e)}finally{this.promise=null}})()),this.promise}constructor(e){this.promise=null,this.fn=e}}const Ve=({address:e,chainId:t,nonce:i})=>`${window.location.host} wants you to sign in with your Ethereum account:\n${e}\n\nBy signing, you are proving you own this wallet and logging in. This does not initiate a transaction or cost any fees.\n\nURI: ${window.location.origin}\nVersion: 1\nChain ID: ${t}\nNonce: ${i}\nIssued At: ${(new Date).toISOString()}\nResources:\n- https://privy.io`;class Ye{get meta(){return{connectorType:this.wallet.connectorType,walletClientType:this.wallet.walletClientType,chainId:this.wallet.chainId,address:this.wallet.address,disableSignup:this._meta.disableSignup}}async authenticate(){if(!this.client)throw new V("SiweFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.authenticateWithSiweInternal({message:e,signature:t,chainId:this.wallet.chainId,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw Y(e)}}async link(){if(!this.client)throw new V("SiweFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.linkWithSiweInternal({message:e,signature:t,chainId:this.wallet.chainId,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType})}catch(e){throw Y(e)}}async sign(){if(!this.client)throw new V("SiweFlow has no client instance");if(await this.buildMessage(),!this.preparedMessage)throw new V("Could not prepare SIWE message");let e=await this.wallet.sign(this.preparedMessage);return{message:this.preparedMessage,signature:e}}async _getNonceOnce(){if(!this.client)throw new V("SiweFlow has no client instance");return await this.client.generateSiweNonce({address:this.wallet.address,captchaToken:this.captchaToken})}async buildMessage(){if(!this.client)throw new V("SiweFlow has no client instance");let e=this.wallet.address,t=this.wallet.chainId.replace("eip155:","");return this.nonce||(this.nonce=await this.getNonceOnce.execute()),this.preparedMessage=Ve({address:e,chainId:t,nonce:this.nonce}),this.preparedMessage}constructor(e,t,i,a=!1){this._meta={disableSignup:!1},this.getNonceOnce=new Ze(this._getNonceOnce.bind(this)),this.wallet=e,this.captchaToken=i,this.client=t,this._meta.disableSignup=a}}class Ge{get meta(){return{connectorType:this.wallet.connectorType,walletClientType:this.wallet.walletClientType,disableSignup:this._meta.disableSignup}}async authenticate(){if(!this.client)throw new V("SiwsFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.authenticateWithSiwsInternal({message:e,signature:t,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw Y(e)}}async link(){if(!this.client)throw new V("SiwsFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.linkWithSiwsInternal({message:e,signature:t,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType})}catch(e){throw Y(e)}}async sign(){if(!this.client)throw new V("SiwsFlow has no client instance");if(await this.buildMessage(),!this.preparedMessage)throw new V("Could not prepare SIWS message");if(!this.wallet.signMessage)throw new V("Wallet does not support signMessage");let e=await this.wallet.signMessage(Buffer.from(this.preparedMessage));return{message:this.preparedMessage,signature:Buffer.from(e).toString("base64")}}async _getNonceOnce(){if(!this.client)throw new V("SiwsFlow has no client instance");return await this.client.generateSiwsNonce({address:this.wallet.address,captchaToken:this.captchaToken})}async buildMessage(){if(!this.client)throw new V("SiwsFlow has no client instance");let e=this.wallet.address;return this.nonce||(this.nonce=await this.getNonceOnce.execute()),this.preparedMessage=(({address:e,nonce:t})=>`${window.location.host} wants you to sign in with your Solana account:\n${e}\n\nYou are proving you own ${e}.\n\nURI: ${window.location.origin}\nVersion: 1\nChain ID: mainnet\nNonce: ${t}\nIssued At: ${(new Date).toISOString()}\nResources:\n- https://privy.io`)({address:e,nonce:this.nonce}),this.preparedMessage}constructor(e,t,i,a=!1){this._meta={disableSignup:!1},this.getNonceOnce=new Ze(this._getNonceOnce.bind(this)),this.wallet=e,this.captchaToken=i,this.client=t,this._meta.disableSignup=a}}const Je=/*#__PURE__*/o({siteKey:"",enabled:!1,appId:void 0,token:void 0,error:void 0,status:"disabled",setToken:K,setError:K,setExecuting:K,waitForResult:()=>Promise.resolve(""),ref:{current:null},remove:K,reset:K,execute:K});class Ke extends G{constructor(e,t,i){super(e||"Captcha failed"),this.type="Captcha",t instanceof Error&&(this.cause=t),this.privyErrorCode=i}}const Xe=({children:e,id:l,captchaSiteKey:o,captchaEnabled:n})=>{let r=t(null),[c,d]=i(),[h,p]=i(),[u,g]=i(!1),w=a((()=>n?u||c||h?!u||c||h?c&&!h?{status:"success",token:c}:h?{status:"error",error:h}:{status:"ready"}:{status:"loading"}:{status:"ready"}:{status:"disabled"}),[n,c,h,u]);/*#__PURE__*/return s(Je.Provider,{value:{...w,ref:r,enabled:n,siteKey:o,appId:l,setToken:d,setError:p,setExecuting:g,remove(){n&&(r.current?.remove(),g(!1),p(void 0),d(void 0))},reset(){n&&(r.current?.reset(),g(!1),p(void 0),d(void 0))},execute(){n&&(g(!0),r.current?.execute())},async waitForResult(){if(!n)return"";try{return await function(e,{interval:t=100,timeout:i=5e3}={}){return new Promise(((a,l)=>{let o,n=0,r=()=>{n>=i?l("Max attempts reached without result"):(o=e(),n+=t,null==o?setTimeout(r,t):a(o))};r()}))}((()=>r.current?.getResponse()),{interval:200,timeout:2e4})}catch(e){throw new Ke("Captcha failed",null,J.CAPTCHA_TIMEOUT)}}},children:e})},qe=()=>l(Je),$e=({style:e,...t})=>/*#__PURE__*/c("svg",{viewBox:"0 0 1024 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"1024",height:"1024",fill:"#0052FF",rx:100,ry:100}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z",fill:"white"})]}),et="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTAyNCAxMDI0JyBmaWxsPSdub25lJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHN0eWxlPSdoZWlnaHQ6MjhweDt3aWR0aDoyOHB4Jz48cmVjdCB3aWR0aD0nMTAyNCcgaGVpZ2h0PScxMDI0JyBmaWxsPScjMDA1MkZGJyByeD0nMTAwJyByeT0nMTAwJz48L3JlY3Q+PHBhdGggZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIGQ9J00xNTIgNTEyQzE1MiA3MTAuODIzIDMxMy4xNzcgODcyIDUxMiA4NzJDNzEwLjgyMyA4NzIgODcyIDcxMC44MjMgODcyIDUxMkM4NzIgMzEzLjE3NyA3MTAuODIzIDE1MiA1MTIgMTUyQzMxMy4xNzcgMTUyIDE1MiAzMTMuMTc3IDE1MiA1MTJaTTQyMCAzOTZDNDA2Ljc0NSAzOTYgMzk2IDQwNi43NDUgMzk2IDQyMFY2MDRDMzk2IDYxNy4yNTUgNDA2Ljc0NSA2MjggNDIwIDYyOEg2MDRDNjE3LjI1NSA2MjggNjI4IDYxNy4yNTUgNjI4IDYwNFY0MjBDNjI4IDQwNi43NDUgNjE3LjI1NSAzOTYgNjA0IDM5Nkg0MjBaJyBmaWxsPSd3aGl0ZSc+PC9wYXRoPjwvc3ZnPg==";function tt(e){return"ethereum"===e.type}function it(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],l=t[i];if(a?.address!==l?.address||a&&l&&tt(a)&&tt(l)&&a?.chainId!==l?.chainId||a?.connectorType!==l?.connectorType||a?.connectedAt!==l?.connectedAt||a?.walletClientType!==l?.walletClientType||a?.isConnected!==l?.isConnected||a?.linked!==l?.linked)return!1}return!0}const at=(e,t)=>e.rpcTimeouts&&e.rpcTimeouts[t]||h;function lt(e){return"ethereum"===e.chainType}class ot extends E{buildConnectedWallet(e,t,i,a){let l=async()=>!!this.wallets.find((t=>he(t.address)===he(e)));return{type:"ethereum",address:he(e),chainId:t,meta:i,imported:a,switchChain:async i=>{let a,o;if(!l)throw new Z("Wallet is not currently connected.");let n=this.wallets.find((t=>he(t.address)===he(e)))?.chainId;if(!n)throw new Z("Unable to determine current chainId.");if("number"==typeof i?(a=`0x${i.toString(16)}`,o=i):(a=i,o=Number(i)),n===je(a))return;let r=this.chains.find((e=>e.id===o));if(!r)throw new Z(`Unsupported chainId: ${i}`);let s=async()=>{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]})};try{return await s()}catch(e){if(((e,t)=>{switch(t){case"coinbase_wallet":return e.message.includes("addEthereumChain");case"rabby_wallet":return e.message.includes("Unrecognized chain ID");default:return 4902===e.code||e.message?.includes("4902")}})(e,this.walletClientType))return"rabby_wallet"===this.walletClientType&&await Le(300),await this.proxyProvider.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:r.name,nativeCurrency:r.nativeCurrency,rpcUrls:[r.rpcUrls.default?.http[0]??""],blockExplorerUrls:[r.blockExplorers?.default.url??""]}]}),s();if("rainbow"===this.walletClientType&&e.message?.includes("wallet_switchEthereumChain"))throw new Z(`Rainbow does not support the chainId ${t}`);throw e}},connectedAt:Date.now(),walletClientType:this.walletClientType,connectorType:this.connectorType,isConnected:l,getEthereumProvider:async()=>{if(!await l())throw new Z("Wallet is not currently connected.");return this.proxyProvider},sign:async e=>{if(!await l())throw new Z("Wallet is not currently connected.");return await this.sign(e)},disconnect:()=>{this.disconnect()}}}async syncAccounts(e){let t,i=e;try{if(void 0===i){let e=await Te((()=>this.proxyProvider.request({method:"eth_accounts"})),{maxAttempts:10,delayMs:500});console.debug(`eth_accounts for ${this.walletClientType}:`,e),Array.isArray(e)&&(i=e)}}catch(e){console.debug("Wallet did not respond to eth_accounts. Defaulting to prefetched accounts.",e)}if(!i||!Array.isArray(i)||i.length<=0||!i[0])return;let a=i[0],l=he(a),o=[];if("privy"===this.walletClientType){let e=O.get(p(l));this.chains.find((t=>t.id===Number(e)))||(O.del(p(l)),e=null),t=e||`0x${this.defaultChain.id.toString(16)}`;try{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})}catch(e){console.warn(`Unable to switch embedded wallet to chain ID ${t} on initialization`)}}else try{let e=await Te((()=>this.proxyProvider.request({method:"eth_chainId"})),{maxAttempts:10,delayMs:500});if(console.debug(`eth_chainId for ${this.walletClientType}:`,e),"string"==typeof e)t=e;else{if("number"!=typeof e)throw Error("Invalid chainId returned from provider");t=`0x${e.toString(16)}`}}catch(e){console.warn(`Failed to get chainId from provider, defaulting to ${u}`,e),t=u}let n=je(t);if(!o.find((e=>he(e.address)===l))){let e={name:this.walletBranding.name,icon:"string"==typeof this.walletBranding.icon?this.walletBranding.icon:void 0,id:this.walletBranding.id};o.push(this.buildConnectedWallet(he(a),n,e,"embedded_imported"===this.connectorType))}it(o,this.wallets)||(this.wallets=o,this.emit("walletsUpdated"))}async getConnectedWallet(){let e=await this.proxyProvider.request({method:"eth_accounts"});return this.wallets.sort(((e,t)=>t.connectedAt-e.connectedAt)).find((t=>e.find((e=>he(e)===he(t.address)))))||null}async isConnected(){let e=await this.proxyProvider.request({method:"eth_accounts"});return Array.isArray(e)&&e.length>0}async sign(e){return await this.connect({showPrompt:!1}),this.proxyProvider.request({method:"personal_sign",params:[pe(e),this.wallets[0]?.address]})}subscribeListeners(){this.proxyProvider.on("accountsChanged",this.onAccountsChanged),this.proxyProvider.on("chainChanged",this.onChainChanged),this.proxyProvider.on("disconnect",this.onDisconnect),this.proxyProvider.on("connect",this.onConnect)}unsubscribeListeners(){this.proxyProvider.removeListener("accountsChanged",this.onAccountsChanged),this.proxyProvider.removeListener("chainChanged",this.onChainChanged),this.proxyProvider.removeListener("disconnect",this.onDisconnect),this.proxyProvider.removeListener("connect",this.onConnect)}constructor(e,t,i,a){super(e),this.chainType="ethereum",this.onAccountsChanged=e=>{0===e.length?this.onDisconnect():this.syncAccounts(e)},this.onChainChanged=e=>{this.wallets.forEach((t=>{t.chainId=je(e),"privy"===this.walletClientType&&O.put(p(t.address),e)})),this.emit("walletsUpdated")},this.onDisconnect=()=>{this.connected=!1,this.wallets=[],this.emit("walletsUpdated")},this.onConnect=()=>{this.connected=!0,this.syncAccounts()},this.wallets=[],this.walletClientType=e,this.chains=t,this.defaultChain=i,this.rpcConfig=a,this.rpcTimeoutDuration=at(a,e),this.connected=!1,this.initialized=!1}}class nt{on(e,t){if(this.walletProvider)return this.walletProvider.on(e,t);this._subscriptions.push({eventName:e,listener:t})}async request(e){if(!this.walletProvider)throw new Z(`A wallet request of type ${e.method} was made before setting a wallet provider.`);return Promise.race([this.walletProvider.request(e),this.walletTimeout()]).catch((e=>{throw j(e)}))}constructor(e,t){this.removeListener=(e,t)=>{if(this.walletProvider)try{return this.walletProvider.removeListener(e,t)}catch(e){console.warn("Unable to remove wallet provider listener")}},this.walletTimeout=(e=new z,t=this.rpcTimeoutDuration)=>new Promise(((i,a)=>setTimeout((()=>{a(e)}),t))),this.setWalletProvider=e=>{this.walletProvider&&this._subscriptions.forEach((e=>{this.removeListener(e.eventName,e.listener)})),this.walletProvider=e,this._subscriptions.forEach((e=>{this.walletProvider?.on(e.eventName,e.listener)}))},this.walletProvider=e,this.rpcTimeoutDuration=t||h,this._subscriptions=[]}}const rt=({style:e,...t})=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1.5,viewBox:"0 0 24 24",style:{...e},...t,children:/*#__PURE__*/s("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})}),st=({style:e,...t})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",x:0,y:0,viewBox:"0 0 318.6 318.6",width:"28",height:"28",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("style",{children:".s1{stroke-linecap:round;stroke-linejoin:round}.s2{fill:#e4761b;stroke:#e4761b}.s3{fill:#f6851b;stroke:#f6851b}"}),/*#__PURE__*/s("path",{fill:"#e2761b",stroke:"#e2761b",className:"s1",d:"m274.1 35.5-99.5 73.9L193 65.8z"}),/*#__PURE__*/s("path",{d:"m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",className:"s1 s2"}),/*#__PURE__*/s("path",{d:"m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",className:"s1 s2"}),/*#__PURE__*/s("path",{fill:"#d7c1b3",stroke:"#d7c1b3",className:"s1",d:"m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"}),/*#__PURE__*/s("path",{fill:"#233447",stroke:"#233447",className:"s1",d:"m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"}),/*#__PURE__*/s("path",{fill:"#cd6116",stroke:"#cd6116",className:"s1",d:"m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"}),/*#__PURE__*/s("path",{fill:"#e4751f",stroke:"#e4751f",className:"s1",d:"m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"}),/*#__PURE__*/s("path",{d:"m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",className:"s3"}),/*#__PURE__*/s("path",{fill:"#c0ad9e",stroke:"#c0ad9e",className:"s1",d:"m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"}),/*#__PURE__*/s("path",{fill:"#161616",stroke:"#161616",className:"s1",d:"m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"}),/*#__PURE__*/s("path",{fill:"#763d16",stroke:"#763d16",className:"s1",d:"m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"}),/*#__PURE__*/s("path",{d:"m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",className:"s3"})]}),ct=({style:e,...t})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"108",height:"108",viewBox:"0 0 108 108",fill:"none",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"108",height:"108",rx:"23",fill:"#AB9FF2"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.5267 69.9229C42.0054 76.8509 34.4292 85.6182 24.348 85.6182C19.5824 85.6182 15 83.6563 15 75.1342C15 53.4305 44.6326 19.8327 72.1268 19.8327C87.768 19.8327 94 30.6846 94 43.0079C94 58.8258 83.7355 76.9122 73.5321 76.9122C70.2939 76.9122 68.7053 75.1342 68.7053 72.314C68.7053 71.5783 68.8275 70.7812 69.0719 69.9229C65.5893 75.8699 58.8685 81.3878 52.5754 81.3878C47.993 81.3878 45.6713 78.5063 45.6713 74.4598C45.6713 72.9884 45.9768 71.4556 46.5267 69.9229ZM83.6761 42.5794C83.6761 46.1704 81.5575 47.9658 79.1875 47.9658C76.7816 47.9658 74.6989 46.1704 74.6989 42.5794C74.6989 38.9885 76.7816 37.1931 79.1875 37.1931C81.5575 37.1931 83.6761 38.9885 83.6761 42.5794ZM70.2103 42.5795C70.2103 46.1704 68.0916 47.9658 65.7216 47.9658C63.3157 47.9658 61.233 46.1704 61.233 42.5795C61.233 38.9885 63.3157 37.1931 65.7216 37.1931C68.0916 37.1931 70.2103 38.9885 70.2103 42.5795Z",fill:"#FFFDF8"})]}),dt="data:image/svg+xml;base64,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DYuMTcwNCA3NC42OTg5IDQyLjU3OTRDNzQuNjk4OSAzOC45ODg1IDc2Ljc4MTYgMzcuMTkzMSA3OS4xODc1IDM3LjE5MzFDODEuNTU3NSAzNy4xOTMxIDgzLjY3NjEgMzguOTg4NSA4My42NzYxIDQyLjU3OTRaTTcwLjIxMDMgNDIuNTc5NUM3MC4yMTAzIDQ2LjE3MDQgNjguMDkxNiA0Ny45NjU4IDY1LjcyMTYgNDcuOTY1OEM2My4zMTU3IDQ3Ljk2NTggNjEuMjMzIDQ2LjE3MDQgNjEuMjMzIDQyLjU3OTVDNjEuMjMzIDM4Ljk4ODUgNjMuMzE1NyAzNy4xOTMxIDY1LjcyMTYgMzcuMTkzMUM2OC4wOTE2IDM3LjE5MzEgNzAuMjEwMyAzOC45ODg1IDcwLjIxMDMgNDIuNTc5NVonIGZpbGw9JyNGRkZERjgnPjwvcGF0aD48L3N2Zz4=",ht=({style:e,...t})=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 32",fill:"none",style:{height:"32px",width:"32px",...e},...t,children:/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4485 2.20159C12.4662 2.20159 13.4208 2.33802 14.3047 2.59104C13.4394 0.574296 11.6427 0 9.64316 0C7.6397 0 5.83992 0.576553 4.97656 2.60292C5.85392 2.341 6.80442 2.20159 7.81865 2.20159H11.4485ZM7.58586 4.22632C2.75337 4.22632 0 8.028 0 12.7176V17.535C0 18.004 0.391751 18.375 0.875 18.375H18.375C18.8582 18.375 19.25 18.004 19.25 17.535V12.7176C19.25 8.028 16.0482 4.22632 11.2157 4.22632H7.58586ZM9.61816 12.7593C11.3095 12.7593 12.6807 11.3881 12.6807 9.69678C12.6807 8.00541 11.3095 6.63428 9.61816 6.63428C7.92679 6.63428 6.55566 8.00541 6.55566 9.69678C6.55566 11.3881 7.92679 12.7593 9.61816 12.7593ZM0 21.2066C0 20.7376 0.391751 20.3574 0.875 20.3574H18.375C18.8582 20.3574 19.25 20.7376 19.25 21.2066V26.3013C19.25 27.2392 18.4665 27.9996 17.5 27.9996H1.75C0.783501 27.9996 0 27.2392 0 26.3013V21.2066Z",fill:"#E33E3F"})}),pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAAIECAMAAABR3MakAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAABYkAAAWJAW1onfoAAAC9UExURVVVVQYGBgAAAAAAAAQEBA4ODgYGBg0NDQAAAAAAAAAAAAAAAICAgAQEBEBAQEdwTAQEBAAAAP///w0NDQAAAAAAADMzMwAAABQUFAQEBAYGBgAAAAAAAAgICAAAABUVFQAAAAAAAAAAAP///+M+P/Gen/jPz+2Gh+pub+dWV/vn5/3z8+VKS++Sk/W2t/Oqq/W3t+liY/fDw/nb2+hiY+t6e+x6e/rb2/Gfn/bDw/Orq+6Gh/S3t/fCw/bCw4swPHcAAAAjdFJOUwMuPS09Ei0TAxMSLgI+BAA8PgEUAgEFBg06Kw48Hw0MKywgHGLpBQAAEANJREFUeNrsneluI0cShPljGyQFgguM7D3gPwb6rO6meOqYscfv/1grkpJ3Zm2vDma3orK+eAE2SqHIyKOyJn//lIOk8eOnyY//4BjSxj8/TRb/4hjSxk+LyWzKMaSNbDKZzDmGtDF/JAFKkDimM0iAEkzwBJBgNpldcQx4ApQAJVhAgtSN4aMnIEUkHBAOUkdGdgCmVAwB4QBQMQTncJBxDCgBFUM8AcYQJcAToARLlAAlQAnAlDoBgATgNFQCCSABSoAxnMyoGEICUsTkwwHGEGR4AsBQCTgZQ5QAEjByjjHEE6AETBuDDCUA8yWegHBAigiYMQRMFoFzK5mR89SzAyqGgIohIDsA5+1lTBal7gkoGwNGzgGeAKAEIGfaGKAE4EkJWGYJCQgHkIA6AbimiwgYKgFkB4BV9wAlAE+egOwAEmAMkwc3kACeAEACQIoITsaQG0iAVjJACQCtZJAzbQxyVtiBnFX3ID+vtSUc4AnIDvAESYaDdrc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WFAnSBzXzBOAKW8lA3oHgMsngFvJ4KwEhAPqBCgBSkA4ABnragBDJYDeAcAYgpzFVSBnxhBgDMER1xPuHRAOHo1h9vO///af8qttO0IQiAkIct2unp5etrfT/v9HNgmo+w+LCkwmM8k8aq2dZ35zs22dtRoBQj0xi4Sn8doJun0yf0XEx+5JQMojY09UcbPzgagjkV40WrZ5ta3tunfFOx8Fq6JVJasiskaHxp72LKELzTgP7WufrateH3n+91uepuefv1swIRTjTHABl4LXOWOMCw5fKEwaHGAFU7ghNAWQIaMQcsE4VrvCr6CbUMMatjUMqECR4grKUcIOwVHMAYBCUQWQXVuemHZBjmiDxmgUBbRpevPQ3RUqoKPcyioJrHQUCMpIjI3ZqYRHnv/367tO28uHX7i857vklBhjSzzwprT47LEB9EvWASzjRDovSg0055STrozYyIPAIq9mCDu6HBsXBZjBBr6siN49ZbZlcaYX3ajfWZDPixDoDRZN+T4SInbMIir2mi3JFyEO8cjzv71u09NWJ65YJ/wqxMgdR+13hjEqr8S+cL+c15HvS9FltOSqgxR7j3hUjXw8xEWOu4nuAsdlqoeDeOrdm1FhFTcedTtZc8lZ7ANRpO5zjTkedv5p2/4BxBxKvl5W07cAAAAASUVORK5CYII=",ut=({style:e,...t})=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 2500 2500",style:{height:"28px",width:"28px",...e},...t,children:/*#__PURE__*/s("g",{id:"Layer_x0020_1",children:/*#__PURE__*/c("g",{id:"_2187381323856",children:[/*#__PURE__*/s("rect",{y:"0",width:"2500",height:"2500",fillRule:"evenodd",clipRule:"evenodd"}),/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{d:"M1463,1015h-404c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31v-404 C1494,1029,1480,1015,1463,1015z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M996,549H592c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31V580C1027,563,1013,549,996,549z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M1930,549h-404c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31V580 C1961,563,1947,549,1930,549z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M996,1482H592c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31v-404 C1027,1496,1013,1482,996,1482z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M1930,1482h-404c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31v-404 C1961,1496,1947,1482,1930,1482z",fill:"#FFFFFF"})]})]})})}),gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJDSURBVHgB7Zq9jtpAEMfHlhEgQLiioXEkoAGECwoKxMcTRHmC5E3IoyRPkPAEkI7unJYmTgEFTYwA8a3NTKScLnCHN6c9r1e3P2llWQy7M/s1Gv1twCP0ej37dDq9x+Zut1t3t9vZjDEHIiSRSPg4ZpDL5fxkMvn1cDh8m0wmfugfO53OoFQq/crn8wxfY9EymQyrVCqMfHvScZx1p9ls3pFxXBy/bKlUipGPrVbLuQqAfsCliq3zl0H84zwtjQrOw4Mt1W63P5LvBm2d+Xz+YzqdgkqUy+WgWCy+Mc/nc282m4FqLBYL+3g8fjDxenq72WxANZbLJeA13zDX67UDioL5ybXwafMYu64Ltn3bdDweQ5R97fd7GyhBQMipx4POeEDHIu2LfDdBIGGz+hJ9CQ1ABjoA2egAZPM6AgiCAEQhsi/C4jHyPA/6/f5NG3Ks2+3CYDC4aTccDrn6ojG54MnEvG00GoVmWLIRNZ7wTCwDHYBsdACy0QHIhiuRETxlICWpMMhGZHmqS8qH6JLyGegAZKMDkI0uKf8X4SWlaZo+Pp1bRrwlJU8ZKLIvUjKh0WiQ3sRUbNVq9c5Ebew7KEo2m/1p4jJ4qAmDaqDQBzj5XyiAT4VCQezJigAU+IDU+z8vJFnGWeC+bKQV/5VZ71FV6L7PA3gg3tXrdQ+DgLhC+75Wq3no69P3MC0NFQpx2lL04Ql9gHK1bRDjsSBIvScBnDTk1WrlGIZBorIDEYJj+rhdgnQ67VmWRe0zlplXl81vcyEt0rSoYDUAAAAASUVORK5CYII=",wt=({style:e,...t})=>/*#__PURE__*/c("svg",{width:"248",height:"248",viewBox:"0 0 248 248",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/c("g",{"clip-path":"url(#clip0_3159_613)",children:[/*#__PURE__*/s("path",{d:"M125.43 210.536C127.404 210.536 129.004 212.119 129.004 214.072C129.004 216.024 127.404 217.607 125.43 217.607C123.456 217.607 121.855 216.024 121.855 214.072C121.855 212.119 123.456 210.536 125.43 210.536ZM121.547 41.6533C123.293 41.7976 124.704 43.1212 124.94 44.8373L129.192 75.7285C130.62 85.9345 142.929 90.3565 150.527 83.4211L193.125 44.6496C194.152 43.7143 195.753 43.7791 196.699 44.7943C197.568 45.7258 197.594 47.1518 196.76 48.1136L159.614 90.9618C152.776 98.836 157.822 111.132 168.246 112.01L201.021 115.169C202.653 115.326 203.848 116.761 203.688 118.374C203.557 119.704 202.532 120.778 201.196 120.987L166.757 126.364C156.758 127.727 152.229 139.568 158.733 147.261L170.841 161.534C171.816 162.684 171.663 164.398 170.499 165.361C169.513 166.178 168.086 166.21 167.063 165.437L152.138 154.166C144.084 148.109 132.474 153.257 131.623 163.281L128.334 202.376C128.198 203.991 126.763 205.191 125.129 205.057C123.742 204.943 122.621 203.892 122.433 202.53L117.217 164.766C115.819 154.56 103.51 150.138 95.8819 157.073L50.5665 198.335C49.6285 199.189 48.1673 199.13 47.3028 198.204C46.5097 197.353 46.4856 196.051 47.2467 195.173L86.7949 149.532C93.6332 141.658 88.6185 129.362 78.1935 128.485L45.4113 125.324C43.779 125.167 42.5848 123.732 42.7441 122.119C42.8754 120.789 43.8999 119.715 45.2359 119.506L79.6525 114.13C89.6518 112.767 94.2106 100.926 87.7067 93.2332L79.465 83.5171C78.2555 82.0912 78.4449 79.9666 79.8881 78.7715C81.1114 77.7586 82.8822 77.7197 84.1499 78.6779L94.2711 86.3283C102.325 92.3852 113.935 87.2371 114.786 77.2129L117.509 45.0274C117.681 42.994 119.488 41.4834 121.547 41.6533ZM34.3621 118.507C36.3363 118.507 37.9366 120.089 37.9366 122.042C37.9366 123.994 36.3363 125.577 34.3621 125.577C32.388 125.577 30.7876 123.994 30.7876 122.042C30.7876 120.089 32.388 118.507 34.3621 118.507ZM213.638 114.917C215.612 114.917 217.212 116.5 217.212 118.452C217.212 120.405 215.612 121.988 213.638 121.988C211.664 121.988 210.063 120.405 210.063 118.452C210.063 116.5 211.664 114.917 213.638 114.917ZM121.03 30.3931C123.005 30.3931 124.605 31.9759 124.605 33.9285C124.605 35.881 123.005 37.4639 121.03 37.4639C119.056 37.4639 117.456 35.881 117.456 33.9285C117.456 31.9759 119.056 30.3931 121.03 30.3931Z",fill:"url(#paint0_linear_3159_613)"}),/*#__PURE__*/s("path",{d:"M123.175 153.643C141.824 153.643 156.941 138.691 156.941 120.247C156.941 101.803 141.824 86.8508 123.175 86.8508C104.527 86.8508 89.41 101.803 89.41 120.247C89.41 138.691 104.527 153.643 123.175 153.643Z",fill:"url(#paint1_radial_3159_613)"})]}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_3159_613",x1:"55.1462",y1:"60.1723",x2:"162.052",y2:"156.952",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FFC10B"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FB3F2E"})]}),/*#__PURE__*/c("radialGradient",{id:"paint1_radial_3159_613",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(115.464 107.918) rotate(67.5196) scale(49.0906 49.5676)",children:[/*#__PURE__*/s("stop",{stopColor:"#FFC10B"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FB3F2E"})]}),/*#__PURE__*/s("clipPath",{id:"clip0_3159_613",children:/*#__PURE__*/s("rect",{width:"188",height:"188",fill:"white",transform:"translate(30 30)"})})]})]}),mt="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjUwIiB2aWV3Qm94PSIwIDAgNTAgNTAiIHdpZHRoPSI1MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGxpbmVhckdyYWRpZW50IGlkPSJhIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZmMxMGIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmYjNmMmUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI2LjQ3ODM1IiB4Mj0iMzQuOTEwNyIgeGxpbms6aHJlZj0iI2EiIHkxPSI3LjkyIiB5Mj0iMzMuNjU5MyIvPjxyYWRpYWxHcmFkaWVudCBpZD0iYyIgY3g9IjAiIGN5PSIwIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDQuOTkyMTg4MzIgMTIuMDYzODc5NjMgLTEyLjE4MTEzNjU1IDUuMDQwNzEwNzQgMjIuNTIwMiAyMC42MTgzKSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHI9IjEiIHhsaW5rOmhyZWY9IiNhIi8+PHBhdGggZD0ibTI1LjE3MDggNDcuOTEwNGMuNTI1IDAgLjk1MDcuNDIxLjk1MDcuOTQwM3MtLjQyNTcuOTQwMi0uOTUwNy45NDAyLS45NTA3LS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I2IpIi8+PHBhdGggZD0ibTI0LjU3MSAzMi43NzkyYzQuOTU5NiAwIDguOTgwMi0zLjk3NjUgOC45ODAyLTguODgxOSAwLTQuOTA1My00LjAyMDYtOC44ODE5LTguOTgwMi04Ljg4MTlzLTguOTgwMiAzLjk3NjYtOC45ODAyIDguODgxOWMwIDQuOTA1NCA0LjAyMDYgOC44ODE5IDguOTgwMiA4Ljg4MTl6IiBmaWxsPSJ1cmwoI2MpIi8+PC9zdmc+",ft=({style:e,...t})=>{let{app:i}=g();/*#__PURE__*/return c("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"28",height:"28",rx:"3",fill:"dark"===i?.appearance.palette.colorScheme?"#3396ff":"#141414"}),/*#__PURE__*/s("g",{clipPath:"url(#clip0_1765_9946)",children:/*#__PURE__*/s("path",{d:"M8.09448 10.3941C11.3558 7.20196 16.6442 7.20196 19.9055 10.3941L20.2982 10.7782C20.3369 10.8157 20.3677 10.8606 20.3887 10.9102C20.4097 10.9599 20.4206 11.0132 20.4206 11.0671C20.4206 11.121 20.4097 11.1744 20.3887 11.224C20.3677 11.2737 20.3369 11.3186 20.2982 11.3561L18.9554 12.6702C18.9158 12.7086 18.8628 12.7301 18.8077 12.7301C18.7526 12.7301 18.6996 12.7086 18.66 12.6702L18.1198 12.1415C15.8448 9.91503 12.1557 9.91503 9.88015 12.1415L9.30167 12.7075C9.26207 12.7459 9.20909 12.7673 9.15395 12.7673C9.0988 12.7673 9.04582 12.7459 9.00622 12.7075L7.66346 11.3934C7.62475 11.3559 7.59397 11.3109 7.57295 11.2613C7.55193 11.2117 7.5411 11.1583 7.5411 11.1044C7.5411 11.0505 7.55193 10.9971 7.57295 10.9475C7.59397 10.8979 7.62475 10.8529 7.66346 10.8154L8.09448 10.3941ZM22.6829 13.1115L23.8776 14.2814C23.9163 14.319 23.9471 14.3639 23.9681 14.4135C23.9892 14.4632 24 14.5165 24 14.5704C24 14.6243 23.9892 14.6777 23.9681 14.7273C23.9471 14.777 23.9163 14.8219 23.8776 14.8594L18.4893 20.1332C18.4102 20.2101 18.3042 20.2531 18.1938 20.2531C18.0835 20.2531 17.9775 20.2101 17.8984 20.1332L14.0743 16.3901C14.0545 16.3708 14.0279 16.36 14.0003 16.36C13.9726 16.36 13.9461 16.3708 13.9263 16.3901L10.1021 20.1332C10.023 20.2101 9.91703 20.2531 9.8067 20.2531C9.69636 20.2531 9.59038 20.2101 9.51124 20.1332L4.12236 14.8594C4.08365 14.8219 4.05287 14.777 4.03185 14.7273C4.01083 14.6777 4 14.6243 4 14.5704C4 14.5165 4.01083 14.4632 4.03185 14.4135C4.05287 14.3639 4.08365 14.319 4.12236 14.2814L5.31767 13.1115C5.39678 13.0348 5.50265 12.9919 5.61285 12.9919C5.72305 12.9919 5.82892 13.0348 5.90803 13.1115L9.73216 16.8546C9.75194 16.874 9.7785 16.8848 9.80616 16.8848C9.83381 16.8848 9.86037 16.874 9.88015 16.8546L13.7043 13.1115C13.7834 13.0346 13.8894 12.9916 13.9997 12.9916C14.1101 12.9916 14.216 13.0346 14.2952 13.1115L18.1198 16.8546C18.1396 16.874 18.1662 16.8848 18.1938 16.8848C18.2215 16.8848 18.2481 16.874 18.2678 16.8546L22.092 13.1115C22.1711 13.0346 22.2771 12.9916 22.3874 12.9916C22.4977 12.9916 22.6037 13.0346 22.6829 13.1115Z",fill:"white"})}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/s("clipPath",{id:"clip0_1765_9946",children:/*#__PURE__*/s("rect",{width:"20",height:"12.2531",fill:"white",transform:"translate(4 8)"})})})]})};class Ct extends ot{async initialize(){let e=await this.createProvider();if(this.provider=e,this.proxyProvider.setWalletProvider(e),this.subscribeListeners(),e.session){if(this.walletProvider?.session?.peer.metadata.url){let e=Ue(this.walletProvider?.session?.peer.metadata.url);this.walletEntry=e?.entry,this.walletClientType=e?.walletClientType||"unknown"}this.connected=!0,await this.syncAccounts()}this.initialized=!0,this.emit("initialized");let{WalletConnectModal:t}=await import("@walletconnect/modal");this.modal=new t({projectId:this.walletConnectCloudProjectId,themeVariables:{"--wcm-z-index":"1000000"}}),this.modal.subscribeModal((e=>{e.open||this.walletProvider?.session||!this.onQrModalClosed||this.onQrModalClosed()}))}async connect(e){return e.showPrompt&&await this.promptConnection(),this.getConnectedWallet()}async isConnected(){return!!this.walletProvider?.connected}get walletBranding(){if("metamask"===this.walletClientType)return{name:"MetaMask",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfoDAIVMQ8VNW19AAAGKUlEQVRYw+2WTWxcVxXHf+feN98Tf43j2KmduMEibZOilEjNl9KmImrCoipSkSohIQQSQkJhSdmAAEV0ka742CF11WURsEJRHSg4TWooUhPagkgcO/6IY8ffnhk/z8y9h8Wbsd/4AwEbFnCkJ7173zn/c87/nHPfhf91kcbLt892cX9RebrbcOaA4ViPoVyNvvVemfqPwMdfewyAbAI+nPbcGPfcnvYc6hCuDM0CEDSUDeAUkw54wRqW2gvmL+WHvgIwWQdCofeNqX/JaVwKnSZpZ/zTaUtbpaa/FUSbGPjOc3tRFbyyNzC809sifSf77FBvq/zKKb+rOR23ZtNoJ1a2Oq45SAQctMILk8v6heEJd3ZqRe87z4sizKkqb1x/FDGgGlXCCMe9cvj+sqbLVffyyT7z0uMd5l5gZVCVXwPDmTSL6SSUf9TsUBXWKlAOaQdOJAJe9sr5kXl/aHjCm7myIpAR4ThwVUSaSyARwxeAtACPSso7d515Zj8Dx3rMQCrgK6rcdo5rIsxvayaBmqMAfE6Ez4Q1MremPR8+cKzXou9ABriIcJU6nxsBKKSBo3HA0MHwhGO2pJzuM5lCVk54zwnVDcAmBryPEpkvKTfHPaOLHmWb7lGUNBA2BY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+ZzZSj917E8AOi9PbTIQk0XgPeB4fDOVIHRtbQvhk5/fJ33P2kezZSZX32O1GhVyYhVmO0/R8tR5dOKPLv3X38ykKHYQXXLicgNYiG9sDQDg98A3gCXg48hIr7Pv06NLPWe+msR+K591uW9++RV8fajFCLlsmhLpUqXnzE/bFu69ycwHh0DOAKeBI0A78O5WZ7ErmSDRYTsEfAn4GzBG/X5QDfKMTdz/7r7Ozj9bY77/zNHDRzfOZgFBP1peXfnhzPzcL48EeQfcAa4STVU/8EQdu7kp44vJHe70Dbl74jKqSmAtNec+JSKngfow4VT1RmDtSM05RISB4e/tihW/0u9+d9lB3v3Fm6gooruZRbfIc6987d+B/b/8d+UfeVGT8xvC5akAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjQtMTItMDJUMjE6NDk6MTArMDA6MDB60KjYAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI0LTEyLTAyVDIxOjQ5OjEwKzAwOjAwC40QZAAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNC0xMi0wMlQyMTo0OToxNSswMDowMA6gHhwAAAAASUVORK5CYII=",id:"io.metamask"};let e=this.walletProvider?.session?.peer.metadata.icons?.[0];return{name:Se(this.walletProvider?.session?.peer.metadata.name||"")||"WalletConnect",icon:"string"==typeof e?e:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAHdElNRQfoDAIVODUC+w+GAAAGsUlEQVRYw6WXbYwWVxXHf+fOLAtCXYS2QJdIaClipGCTknXXNqBQMVHbfmhItH4Aral+IAEaG03UxJgYKQJGTUxtDWjaxDSNtcZqIGDwpRuW1oYiVqpdpZSlpC3qysu+PHPP3w/3mXnmeXZbPzjJZO7cefn/z/mfe865xlscq3dGDIguGiHLaMQVLja4s87F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slgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0xMi0wMlQyMTo1Njo0OCswMDowMEAH1CoAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjQtMTItMDJUMjE6NTY6NTMrMDA6MDDZv6GRAAAAAElFTkSuQmCC",id:this.walletProvider?.session?.peer.metadata.name.toLowerCase()||"wallet_connect_v2"}}async resetConnection(e){this.walletProvider&&this.walletProvider.connected&&(await this.walletProvider.disconnect(),this.walletProvider.signer.session=void 0,this.walletEntry?.isWalletEntryOverriden||(this.walletEntry=Fe[e]),this.walletClientType=e,this.redirectUri=void 0,this.fallbackUniversalRedirectUri=void 0,function(){try{localStorage.removeItem(Re)}catch{}}(),this.onDisconnect())}async promptConnection(){if(this.provider)return new Promise(((e,t)=>{this.onQrModalClosed=()=>{t(new B)},(async()=>{let t="",i=await Promise.race([this.walletProvider?.enable(),this.proxyProvider.walletTimeout()]);if(i?.length&&(t=i[0]),!t||""===t)throw new Z("Unable to retrieve address");if(this.walletProvider?.session?.peer.metadata.url){let e=Ue(this.walletProvider?.session?.peer.metadata.url);this.walletEntry=e?.entry,this.walletClientType=e?.walletClientType||"unknown",this.proxyProvider.rpcTimeoutDuration=at(this.rpcConfig,this.walletClientType)}this.connected=!0,await this.syncAccounts(i),e()})().catch((e=>{t(e?j(e):new Z("Unknown error during connection"))})).finally((()=>this.modal?.closeModal()))}))}disconnect(){this.walletProvider?.disconnect().then((()=>this.onDisconnect())).catch((()=>console.warn("Unable to disconnect Wallet Connect provider")))}get walletProvider(){return this.proxyProvider.walletProvider}setWalletProvider(e){this.proxyProvider.setWalletProvider(e)}async createProvider(){let e={};for(let t of this.chains){let i=ze(t.id,this.chains,this.rpcConfig,this.privyAppId);i&&(e[t.id]=i)}let t=this.shouldEnforceDefaultChainOnConnect?[this.defaultChain.id]:[],i=this.chains.map((e=>e.id)),a=await se.init({projectId:this.walletConnectCloudProjectId,chains:t,optionalChains:i,optionalEvents:ce,optionalMethods:de,rpcMap:e,showQrModal:!1,metadata:{description:this.privyAppName,name:this.privyAppName,url:window.location.toString(),icons:[]}});return a.on("display_uri",(e=>{if(a.signer.abortPairingAttempt(),this.walletEntry){let{redirect:t,href:i}=function(e,t){let i=We(t);if(i.deepLink)return Qe(i.deepLink,e);if(i.universalLink)return _e(i.universalLink,e);throw new V(`Unsupported wallet ${t.id}`)}(e,this.walletEntry);(function({href:e,name:t}){try{localStorage.setItem(Re,JSON.stringify({href:e,name:t}))}catch{}})({href:i,name:this.walletEntry.displayName}),this.redirectUri=t;let a=function(e,t){let i=We(t);if(i.universalLink)return _e(i.universalLink,e)}(e,this.walletEntry);a?.redirect&&(this.fallbackUniversalRedirectUri=a.redirect),P?(He(t,"_self"),this.showPrivyQrModal?.({native:t,universal:this.fallbackUniversalRedirectUri})):this.showPrivyQrModal?this.showPrivyQrModal?.({native:t,universal:this.fallbackUniversalRedirectUri}):this.modal?.openModal({uri:e,chains:[this.defaultChain.id]})}else this.modal?.openModal({uri:e,chains:[this.defaultChain.id]})})),a.on("connect",(()=>{if(this.modal?.closeModal(),a.session?.peer.metadata.url){let e=Ue(a.session?.peer.metadata.url);this.walletEntry=e?.entry,this.walletClientType=e?.walletClientType||"unknown"}})),a}async enableProvider(){return this.walletProvider?.connected?Promise.resolve(this.walletProvider.accounts):await(this.walletProvider?.enable())}setWalletEntry(e,t){this.walletEntry=e,this.showPrivyQrModal=t}constructor(e,t,i,a,l,o,n,r){super(r||"unknown",i,a,t),this.connectorType="wallet_connect_v2",this.privyAppId=o,this.privyAppName=n,this.walletConnectCloudProjectId=e,this.rpcConfig=t,this.shouldEnforceDefaultChainOnConnect=l,this.proxyProvider=new nt(void 0,this.rpcTimeoutDuration),r&&(this.walletEntry=Fe[r],this.walletClientType=r)}}const yt=e=>{let[t,a]=i("auto");return n((()=>{let t=new ResizeObserver((e=>{a(e[0]?.contentRect.height??"auto")}));return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}}),[e.current]),t},vt=({success:e,fail:t})=>/*#__PURE__*/c(d,{children:[/*#__PURE__*/s(At,{className:e?"success":t?"fail":""}),/*#__PURE__*/s(bt,{className:e?"success":t?"fail":""})]}),At=/*#__PURE__*/Q.span.withConfig({displayName:"Loader",componentId:"sc-ce7792e2-0"})(["&&{width:82px;height:82px;border-width:4px;border-style:solid;border-color:",";border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1.2s linear infinite;transition:border-color 800ms;}@keyframes rotation{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}&&&.success{border-color:var(--privy-color-success);border-bottom-color:var(--privy-color-success);}&&&.fail{border-color:var(--privy-color-error);border-bottom-color:var(--privy-color-error);}"],(e=>e.color??"var(--privy-color-accent)")),bt=/*#__PURE__*/Q(At).withConfig({displayName:"LoaderFaint",componentId:"sc-ce7792e2-1"})(["&&{border-bottom-color:",";animation:none;opacity:0.5;}"],(e=>e.color??"var(--privy-color-accent)")),Mt=e=>/*#__PURE__*/s(xt,{color:e.color||"var(--privy-color-foreground-3)"});let xt=/*#__PURE__*/Q(At).withConfig({displayName:"StyledButtonLoader",componentId:"sc-ce7792e2-2"})(["&&{height:1rem;width:1rem;margin:2px 0;border-width:1.5px;transition:border-color 200ms ease;}"]);const Nt=/*#__PURE__*/Q.button.withConfig({displayName:"Button",componentId:"sc-e15d0508-0"})(["display:flex;flex-direction:row;align-items:center;justify-content:center;user-select:none;&{width:100%;cursor:pointer;border-radius:var(--privy-border-radius-md);font-size:1rem;font-style:normal;font-weight:500;line-height:22px;letter-spacing:-0.016px;}&&{padding:12px 16px;}"]),It=({children:e,loading:t,disabled:i,success:a,loadingText:l="Loading...",...o})=>/*#__PURE__*/s(kt,{disabled:t||i,success:a,...o,children:t?/*#__PURE__*/c("span",{children:[/*#__PURE__*/s(Mt,{}),l?/*#__PURE__*/s("span",{children:l}):null]}):e}),Dt=({children:e,loading:t,disabled:i,...a})=>/*#__PURE__*/s(Lt,{disabled:i,...a,children:t?/*#__PURE__*/s(Mt,{color:"var(--privy-color-foreground-accent)"}):e});let Lt=/*#__PURE__*/Q(Nt).withConfig({displayName:"StyledPrimaryButtonWithoutGray",componentId:"sc-e15d0508-1"})(["position:relative;&&{background-color:var(--privy-color-accent);color:var(--privy-color-foreground-accent);transition:background-color 200ms ease;}&:hover{background-color:var(--privy-color-accent-dark);}&:active{background-color:var(--privy-color-accent-dark);}&:disabled,&:hover:disabled,&:active:disabled{cursor:not-allowed;pointer-events:none;color:var(--privy-color-foreground-accent);background-color:var(--privy-color-accent-dark);}"]);const Tt=({children:e,loading:t,disabled:i,loadingText:a="Loading...",...l})=>/*#__PURE__*/s(kt,{as:"a",disabled:t||i,...l,children:t?/*#__PURE__*/c("span",{children:[/*#__PURE__*/s(Mt,{}),a?/*#__PURE__*/s("span",{children:a}):null]}):e});let kt=/*#__PURE__*/Q(Nt).withConfig({displayName:"StyledPrimaryButton",componentId:"sc-e15d0508-2"})(["position:relative;&&{background-color:",";color:var(--privy-color-foreground-accent);transition:background-color 200ms ease;}&:hover{background-color:",";}&:active{background-color:",";}&:hover:disabled,&:active:disabled{background-color:var(--privy-color-background-2);color:var(--privy-color-foreground-3);cursor:not-allowed;}"," > span{display:flex;align-items:center;gap:8px;opacity:1;animation:fadein 200ms ease;}"],(e=>e.warn?"var(--privy-color-error)":e.success?"var(--privy-color-success)":"var(--privy-color-accent)"),(e=>e.warn?"var(--privy-color-error)":e.success?"var(--privy-color-success)":"var(--privy-color-accent-dark)"),(e=>e.warn?"var(--privy-color-error)":e.success?"var(--privy-color-success)":"var(--privy-color-accent-dark)"),(e=>e.disabled?/*#__PURE__*/_(["&&&,&&&:hover,&&&:active{background-color:var(--privy-color-background-2);color:var(--privy-color-foreground-3);cursor:not-allowed;pointer-events:none;}"]):""));const St=({children:e,loading:t,disabled:i,loadingText:a="Loading...",...l})=>/*#__PURE__*/s(Et,{disabled:t||i,...l,children:t?/*#__PURE__*/c("span",{children:[/*#__PURE__*/s(Mt,{}),a?/*#__PURE__*/s("span",{children:a}):null]}):e});let Et=/*#__PURE__*/Q(Nt).withConfig({displayName:"StyledSecondaryButton",componentId:"sc-e15d0508-3"})(["&&{border-width:1px;border-color:",";color:var(--privy-color-foreground);transition:border-color 200ms ease;}&:hover,&:active{border-color:",";}&:hover:disabled,&:active:disabled{border-color:var(--privy-color-foreground-accent);color:var(--privy-color-foreground-3);cursor:not-allowed;}> span{display:flex;align-items:center;gap:8px;opacity:1;animation:fadein 200ms ease;}"],(e=>e.warn?"var(--privy-color-error)":"var(--privy-color-foreground-4)"),(e=>e.warn?"var(--privy-color-error)":"var(--privy-color-foreground-3)"));const Ot=/*#__PURE__*/Q.button.withConfig({displayName:"SoftCtaButton",componentId:"sc-e15d0508-4"})(["&&{padding:12px 16px;font-weight:500;text-align:center;color:var(--privy-color-foreground-accent);background-color:var(--privy-color-accent);border-radius:var(--privy-border-radius-sm);min-width:144px;opacity:",";transition:opacity 200ms ease,background-color 200ms ease,color 200ms ease;user-select:none;"," &:hover{background-color:var(--privy-color-accent-dark);}&:active{background-color:var(--privy-color-accent-dark);}&:hover:disabled,&:active:disabled{background-color:var(--privy-color-background-2);color:var(--privy-color-foreground-3);cursor:not-allowed;}}"],(e=>e.invisible?"0":"1"),(e=>e.invisible&&/*#__PURE__*/_(["pointer-events:none;"]))),jt=({children:e,onClick:t,disabled:i,isSubmitting:a,...l})=>/*#__PURE__*/c(zt,{$isSubmitting:a,onClick:t,disabled:i,...l,children:[/*#__PURE__*/s("span",{children:e}),
2
- /*#__PURE__*/s("span",{children:/*#__PURE__*/s(Mt,{})})]});let zt=/*#__PURE__*/Q.button.withConfig({displayName:"StyledEmbeddedButton",componentId:"sc-e15d0508-6"})(["&&{color:var(--privy-color-accent);font-size:16px;font-style:normal;font-weight:500;line-height:24px;cursor:pointer;border-radius:0px var(--privy-border-radius-mdlg) var(--privy-border-radius-mdlg) 0px;border:none;transition:color 200ms ease;@media (min-width:441px){font-size:14px;}:hover{color:var(--privy-color-accent-dark);}&& > :first-child{opacity:",";}&& > :last-child{position:absolute;display:flex;top:50%;left:50%;transform:translate3d(-50%,-50%,0);opacity:",";}:disabled,:hover:disabled{color:var(--privy-color-foreground-3);cursor:not-allowed;}}"],(e=>e.$isSubmitting?0:1),(e=>e.$isSubmitting?1:0));const Bt=({backFn:e})=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Pt,{onClick:e,children:/*#__PURE__*/s($,{height:"16px",width:"16px",strokeWidth:2})})}),Ut=({nextFn:e})=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Pt,{onClick:e,children:/*#__PURE__*/s(ee,{height:"16px",width:"16px",strokeWidth:2})})}),Ft=({infoFn:e})=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Qt,{"aria-label":"info",onClick:e,children:/*#__PURE__*/s(te,{height:"22px",width:"22px",strokeWidth:2})})}),Wt=e=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Pt,{"aria-label":"close modal",onClick:e.onClose,children:/*#__PURE__*/s(ie,{height:"16px",width:"16px",strokeWidth:2})})}),Rt=({backFn:e,infoFn:t,onClose:i,title:a,closeable:l=!0})=>{let{closePrivyModal:o}=X(),n=w();/*#__PURE__*/return c(_t,{children:[/*#__PURE__*/c(Ht,{children:[e&&/*#__PURE__*/s(Bt,{backFn:e}),t&&/*#__PURE__*/s(Ft,{infoFn:t})]}),a&&/*#__PURE__*/s(Vt,{id:"privy-dialog-title",children:a}),/*#__PURE__*/s(Zt,{children:!n.render.standalone&&l&&/*#__PURE__*/s(Wt,{onClose:i||(()=>o())})})]})};let Pt=/*#__PURE__*/Q.button.withConfig({displayName:"StyledButton",componentId:"sc-f295093d-0"})(["&&{cursor:pointer;display:flex;opacity:0.6;background-color:var(--privy-color-background-2);border-radius:var(--privy-border-radius-full);padding:4px;> svg{margin:auto;color:var(--privy-color-foreground);}:hover{opacity:1;}}"]),Qt=/*#__PURE__*/Q(Pt).withConfig({displayName:"TransparentStyledButton",componentId:"sc-f295093d-1"})(["&&{background-color:transparent;}"]),_t=/*#__PURE__*/Q.div.withConfig({displayName:"StyledHeader",componentId:"sc-f295093d-2"})(["padding:16px 0;display:flex;align-items:center;justify-content:space-between;h2{font-size:16px;line-height:24px;font-weight:600;color:var(--privy-color-foreground);}"]),Ht=/*#__PURE__*/Q.div.withConfig({displayName:"LeftActionContainer",componentId:"sc-f295093d-3"})(["flex:1;align-items:center;display:flex;gap:8px;"]),Zt=/*#__PURE__*/Q.div.withConfig({displayName:"RightActionContainer",componentId:"sc-f295093d-4"})(["flex:1;display:flex;justify-content:flex-end;"]),Vt=/*#__PURE__*/Q.div.withConfig({displayName:"TitleContainer",componentId:"sc-f295093d-5"})(["overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis;text-align:center;color:var(--privy-color-foreground-2);"]);function Yt(e){/*#__PURE__*/return s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 460 40",...e,children:/*#__PURE__*/s("g",{fill:e.color||"var(--privy-color-foreground)",children:/*#__PURE__*/s("path",{d:"M0 15.4v15.38h4.64V19.96h3.58c2.47 0 3.63-.01 3.77-.02 1-.08 1.49-.15 2.18-.3a9.45 9.45 0 0 0 4.6-2.37c1.66-1.57 2.64-3.87 2.81-6.56.02-.3.02-1.19 0-1.49-.1-1.77-.56-3.35-1.36-4.72A8.84 8.84 0 0 0 15.14.57c-.93-.3-1.75-.43-3.09-.54C11.9.02 10.2 0 5.93 0H0ZM10.85 4c1.85.05 3.1.45 4.16 1.3.22.17.54.49.69.68a5.97 5.97 0 0 1 1.19 3.13c.04.35.04 1.36 0 1.71-.08.68-.23 1.3-.44 1.85a4.8 4.8 0 0 1-1.09 1.68A5.63 5.63 0 0 1 12 15.92c-.6.08-.4.08-4.01.09H4.64V3.98h2.9c1.6 0 3.08 0 3.31.02ZM187.65 5.71v5.72h-.27l-.09-.14a15.9 15.9 0 0 0-1.21-1.73c-.43-.5-1-.95-1.7-1.36-.54-.3-1.05-.5-1.73-.63a8.98 8.98 0 0 0-1.7-.17 8.84 8.84 0 0 0-7.8 4.03 12.95 12.95 0 0 0-2.03 6.39c-.07.98-.06 2.15.02 3.13.2 2.47.87 4.53 2.02 6.25a8.98 8.98 0 0 0 10.22 3.65 6.5 6.5 0 0 0 2.8-1.93c.41-.51.84-1.1 1.1-1.55l.1-.17h.37v3.58h4.38V0h-4.48Zm-5.24 5.54c1.3.14 2.3.6 3.17 1.48.9.9 1.5 2.09 1.85 3.64.36 1.6.39 3.72.06 5.43a8.13 8.13 0 0 1-1.54 3.62 5.1 5.1 0 0 1-3.93 1.96 6.13 6.13 0 0 1-2.32-.31 5.87 5.87 0 0 1-3.33-3.5c-.39-1-.62-2.05-.72-3.32-.03-.32-.04-1.35-.02-1.73.08-1.56.4-2.91.96-4.05a6.2 6.2 0 0 1 1.06-1.58 5.08 5.08 0 0 1 3.6-1.66c.25-.02.9 0 1.16.02ZM210.07 15.39l.01 15.38h4.38l.01-3.57h.37l.09.15c.24.44.84 1.26 1.21 1.7a6.79 6.79 0 0 0 2.57 1.75 9.3 9.3 0 0 0 6.86-.49 9.28 9.28 0 0 0 4.05-4.07A13.05 13.05 0 0 0 231 21.6c.21-1.73.18-3.7-.09-5.32a13.03 13.03 0 0 0-1.5-4.3 9.1 9.1 0 0 0-3.75-3.63 9.15 9.15 0 0 0-4.43-.96 7.46 7.46 0 0 0-2.8.5A7.07 7.07 0 0 0 216 9.7c-.4.52-.82 1.12-1.1 1.59l-.07.14h-.27V0h-4.5Zm11.13-4.14c1.07.1 1.94.44 2.7 1.04a6.1 6.1 0 0 1 1.64 1.98c.43.84.78 2 .94 3.11.15 1.16.16 2.4.02 3.54a9.34 9.34 0 0 1-1.39 4.03 5.33 5.33 0 0 1-2.69 2.15c-.9.3-2.04.38-3.06.2a5.14 5.14 0 0 1-3.45-2.37 6.03 6.03 0 0 1-.45-.8c-.5-1.03-.8-2.2-.92-3.58-.04-.49-.06-.89-.05-1.53.01-.76.05-1.23.13-1.85.38-2.53 1.47-4.38 3.15-5.31a5.46 5.46 0 0 1 2.3-.63 10 10 0 0 1 1.13.02ZM69.05 2.17l-.01 2.77V7.7h-3.36v3.6h3.36v6.8l.01 7.15c.06 1.4.4 2.44 1.1 3.37a5.8 5.8 0 0 0 2.97 2.07c.91.3 1.83.42 2.9.38a8.71 8.71 0 0 0 2.66-.48l-.8-3.7-.38.06a4.96 4.96 0 0 1-2.43-.06c-.33-.1-.56-.25-.8-.49-.4-.41-.6-.88-.7-1.67-.02-.2-.02-.62-.03-6.82v-6.6h4.73V7.7h-4.73V2.16h-4.49ZM133.34 2.17V7.7h-3.39v3.6h3.38v6.9l.01 7.17a5.66 5.66 0 0 0 2.36 4.49c.85.6 2.03 1.03 3.26 1.17.85.1 2.03.05 2.81-.1.3-.06.75-.18 1-.26l.2-.06v-.05l-.81-3.67-.37.06a4.99 4.99 0 0 1-1.8.09c-.85-.13-1.32-.4-1.7-.97a2.63 2.63 0 0 1-.39-1.04c-.06-.4-.06 0-.06-7.1V11.3h4.7V7.7h-4.7l-.01-2.77V2.16h-4.49ZM293.41 2.36a14.56 14.56 0 0 0-13.7 16.07 14.59 14.59 0 0 0 21.86 11.08 14.5 14.5 0 0 0 7.11-14.07 14.61 14.61 0 0 0-6.53-10.73 14.49 14.49 0 0 0-8.74-2.35ZM350.8 2.36a10.17 10.17 0 0 0-7.56 4.2c-.16.2-.45.63-.58.83l-.05.1h-.47l-.01-4.36h-7.36v36.4h7.82V27.27h.49l.05.07a11.3 11.3 0 0 0 7.49 4.15 10.52 10.52 0 0 0 9.38-4.1c1.66-2.1 2.73-4.9 3.07-8.06.1-.87.13-1.4.13-2.37 0-.8 0-1.1-.07-1.76a15.95 15.95 0 0 0-3.23-8.72 12.8 12.8 0 0 0-1.85-1.84 10.49 10.49 0 0 0-7.26-2.28Zm-.94 6.05c1.27.15 2.33.65 3.2 1.5.98.96 1.67 2.31 2.03 4 .34 1.57.38 3.68.12 5.39a9.78 9.78 0 0 1-1.04 3.25c-.14.25-.44.69-.6.89a5.35 5.35 0 0 1-4.31 2.07 5.25 5.25 0 0 1-4.41-1.9 7.35 7.35 0 0 1-1.26-2.32 14.09 14.09 0 0 1-.62-4.83c.05-1.98.38-3.53 1.02-4.85a5.63 5.63 0 0 1 2.5-2.65c.66-.34 1.3-.5 2.14-.58.18-.02 1.04 0 1.23.03ZM363.63 3.1l-.01 3.2v3.16h1.43c1.26.01 1.44.02 1.54.04.42.09.66.28.79.62.08.23.08.08.08 2.96a911.57 911.57 0 0 1 .03 10.18v7.54h7.82v-7.4l.01-7.83c.03-.94.11-1.63.27-2.28.46-1.9 1.54-2.93 3.35-3.23.52-.08.2-.08 5-.08h4.4V3.08h-3.1c-3.48 0-3.91.01-4.67.1-1.83.2-3.04.79-3.96 1.88-.5.6-.9 1.32-1.26 2.26l-.06.17h-.46V3.09h-5.6c-4.46 0-5.6 0-5.6.02ZM390.8 16.95V30.8h3.87l3.86-.01V3.09h-7.73ZM400.6 3.1l-.01.4v.38l4.66 13.4 4.69 13.47.02.05h10.3l.03-.05 4.67-13.45 4.67-13.4V3.1h-7.43l-6.7 19.26h-.5l-3.28-9.5-3.31-9.64-.05-.12h-3.88l-3.88.01ZM430.98 3.1c-.01 0-.02.19-.02.4v.39l5.08 14.59c2.8 8.02 5.08 14.6 5.08 14.61.01.02-.22.02-4.8.02h-4.82v6.42h4.95c5.09 0 5.23 0 5.87-.06 3.15-.28 5.29-1.63 6.63-4.15.28-.55.44-.95.87-2.16L459 6.78l1-2.89v-.8h-7.43l-6.69 19.26h-.5l-3.27-9.46-3.31-9.64-.06-.16h-3.88l-3.88.01ZM36.57 7.36c-1.36.1-2.6.6-3.62 1.45a5.65 5.65 0 0 0-1.67 2.42l-.05.13H31V7.7h-4.35v23.08h4.5v-7.3c0-8 0-7.34.08-7.82a4.89 4.89 0 0 1 2.06-3.18c.83-.58 1.74-.89 2.87-.98a11.87 11.87 0 0 1 2.8.25H39v-4.3l-.21-.02c-.61-.07-1.74-.1-2.22-.07ZM51.08 7.41c-2.33.12-4.3.84-5.95 2.16a9.89 9.89 0 0 0-2.03 2.2 12.5 12.5 0 0 0-2 5.78 18.04 18.04 0 0 0 0 3.65 12.13 12.13 0 0 0 2.26 6.05 9.74 9.74 0 0 0 5 3.52c2.11.64 4.7.64 6.8 0a9.78 9.78 0 0 0 4.88-3.37c1.38-1.78 2.19-4 2.4-6.58.13-1.46.06-3.06-.18-4.42a11.24 11.24 0 0 0-3.58-6.6 10 10 0 0 0-5.75-2.35c-.56-.06-1.31-.07-1.85-.04Zm1.42 3.78c.88.1 1.62.34 2.28.75a6.13 6.13 0 0 1 1.99 2.15 10.31 10.31 0 0 1 1.2 5c.02 1.23-.12 2.44-.42 3.51a7.14 7.14 0 0 1-1.81 3.32c-.61.6-1.2.98-1.95 1.24a6 6 0 0 1-2 .3 5.7 5.7 0 0 1-2.72-.6 5 5 0 0 1-1.28-.94A7.1 7.1 0 0 1 46 22.73c-.57-1.99-.6-4.46-.08-6.5a7.24 7.24 0 0 1 2.03-3.67 5.13 5.13 0 0 1 3.35-1.4 11 11 0 0 1 1.2.03ZM92.05 7.4c-.96.06-1.56.15-2.3.33a9.62 9.62 0 0 0-6.09 4.66 13.5 13.5 0 0 0-1.71 7c0 .83 0 1.04.06 1.6.16 1.77.58 3.32 1.29 4.7A9.72 9.72 0 0 0 90.28 31c1.84.37 4.08.32 5.85-.13a9.07 9.07 0 0 0 5.02-3.1A7.64 7.64 0 0 0 102.5 25l-2.11-.39-2.11-.38-.08.13a4.72 4.72 0 0 1-2.35 2.55 6.3 6.3 0 0 1-2.23.58c-.29.03-1.13.03-1.44 0a6.35 6.35 0 0 1-3.02-1.04 5.93 5.93 0 0 1-2.02-2.43 8.44 8.44 0 0 1-.72-3.18v-.26h16.38v-.81c0-1.83-.06-2.76-.25-3.87-.2-1.22-.53-2.24-1.05-3.28a8.9 8.9 0 0 0-2.66-3.26 10.1 10.1 0 0 0-5.34-1.94 18.3 18.3 0 0 0-1.46-.03Zm1.3 3.75c1.2.13 2.19.55 3.05 1.3a5.8 5.8 0 0 1 1.78 2.96c.13.51.21 1.17.21 1.66v.15H86.43v-.12c.08-.97.3-1.78.72-2.61.5-1 1.2-1.8 2.14-2.42a5.32 5.32 0 0 1 2.9-.95c.2-.01.97 0 1.17.03ZM116.79 7.41c-2 .1-3.73.65-5.22 1.65a10.7 10.7 0 0 0-4.25 6.06 16.1 16.1 0 0 0-.5 5.8c.2 2.17.84 4.13 1.88 5.76.58.9 1.32 1.73 2.15 2.4a9.37 9.37 0 0 0 3.6 1.8 12.06 12.06 0 0 0 3.92.34 10.2 10.2 0 0 0 3.84-.95 8.31 8.31 0 0 0 4.76-6.75l.01-.04h-4.37l-.05.16a4.87 4.87 0 0 1-4.24 3.75c-.59.07-1.32.06-1.93-.05a5.47 5.47 0 0 1-3.5-2.27c-.56-.75-1-1.73-1.26-2.79a13.8 13.8 0 0 1-.16-5.24 7.77 7.77 0 0 1 2.1-4.3 5.48 5.48 0 0 1 2.15-1.3 6.4 6.4 0 0 1 3.89.1c.59.21 1.03.5 1.5.96a5.32 5.32 0 0 1 1.46 2.5l.04.15h4.37v-.06a8.22 8.22 0 0 0-5.31-6.94 10.98 10.98 0 0 0-4.88-.74ZM156.2 7.41a9.87 9.87 0 0 0-6 2.29 11.02 11.02 0 0 0-3.41 5.43c-.52 1.78-.68 3.9-.48 5.97.17 1.8.63 3.38 1.37 4.8a9.68 9.68 0 0 0 5.91 4.86c1.65.48 3.63.61 5.53.36 3.72-.49 6.55-2.62 7.56-5.69.12-.39.13-.42.1-.43-.02 0-4.13-.75-4.19-.75-.03 0-.04 0-.1.16-.18.42-.45.9-.72 1.22-.16.2-.49.53-.7.7-.67.54-1.5.9-2.43 1.08-.48.08-.83.11-1.41.11-.64 0-1.07-.04-1.6-.15a5.76 5.76 0 0 1-3.93-2.83 8 8 0 0 1-.99-3.79v-.16h16.38v-1.11l-.02-1.43c-.1-2.25-.53-4-1.35-5.59a9.24 9.24 0 0 0-6.18-4.75c-1.04-.26-2.2-.36-3.33-.3Zm1.45 3.74a5.35 5.35 0 0 1 3.66 1.94 6.1 6.1 0 0 1 1.38 4.01v.12h-11.97v-.06c0-.02 0-.14.02-.25a6.6 6.6 0 0 1 2.15-4.32 5.73 5.73 0 0 1 3.5-1.46c.25-.02 1 0 1.26.02ZM233.58 7.82l8.37 23.22a49.22 49.22 0 0 1-.67 1.9 5.36 5.36 0 0 1-1.14 1.8c-.41.4-.82.58-1.48.69-.27.04-1.03.03-1.35 0a8.05 8.05 0 0 1-1.1-.23l-1.08 3.67c0 .02.32.14.66.22.83.21 1.57.29 2.56.28.56-.01.8-.03 1.24-.1 2.71-.4 4.66-2.09 5.86-5.08l9.64-26.44c0-.02-4.82-.06-4.83-.05l-2.93 8.96-2.91 8.94h-.24l-.22-.65-2.91-8.95-2.7-8.3H233.53ZM293.05 35.8c-1.18.04-1.93.09-2.8.16-2.52.24-4.53.69-5.43 1.23-.7.41-.76.86-.2 1.28.88.66 3.29 1.19 6.36 1.4a48.55 48.55 0 0 0 5.75.05c3.47-.19 6.24-.78 7.11-1.5.22-.19.3-.34.3-.53 0-.1 0-.12-.04-.22-.35-.69-2.32-1.3-5.25-1.63a41.09 41.09 0 0 0-5.8-.24Zm0 0"})})})}let Gt=/*#__PURE__*/Q.div.withConfig({displayName:"TermsAndConditionsContainer",componentId:"sc-a5dd6bd7-0"})(["margin-top:16px;font-size:13px;text-align:center;color:var(--privy-color-foreground-3);&& > a{color:var(--privy-color-accent);}"]);function Jt(e){let{legal:{privacyPolicyUrl:t,termsAndConditionsUrl:i,requireUsersAcceptTerms:a}}=e.app;if(a&&!e.alwaysShowImplicitConsent||!i&&!t)/*#__PURE__*/
3
- return s(Gt,{});let l=!(!t||!i);/*#__PURE__*/return c(Gt,{children:["By logging in I agree to the"," ",i&&/*#__PURE__*/s("a",{href:i,target:"_blank",children:l?"Terms":"Terms of Service"}),l&&" & ",t&&/*#__PURE__*/s("a",{href:t,target:"_blank",children:"Privacy Policy"})]})}const Kt=()=>{let{appearance:e}=w();/*#__PURE__*/return s(Xt,{children:e.footerLogo??/*#__PURE__*/s("a",{href:"https://www.privy.io/",target:"_blank",id:"protected-by-privy",children:/*#__PURE__*/s(Yt,{height:13,width:150})})})},Xt=/*#__PURE__*/Q.div.withConfig({displayName:"ModalFooter",componentId:"sc-a5dd6bd7-1"})(["display:flex;align-items:center;justify-content:center;padding-top:8px;padding-bottom:12px;gap:8px;font-size:13px;&& a{padding:0.5rem 0;&:hover{text-decoration:none;}}@media all and (display-mode:standalone){padding-bottom:30px;}"]),qt=({address:e,showCopyIcon:t,url:a,className:l})=>{let[o,r]=i(!1);return n((()=>{if(o){let e=setTimeout((()=>r(!1)),2e3);return()=>clearTimeout(e)}}),[o]),a?/*#__PURE__*/s("a",{title:e,className:l,href:`${a}/address/${e}`,target:"_blank",children:Ie(e)}):/*#__PURE__*/c("button",{title:e,className:l,onClick:t=>(t.stopPropagation(),navigator.clipboard.writeText(e).then((()=>r(!0))).catch(console.error)),children:[Ie(e),t&&/*#__PURE__*/s(o?ei:$t,{})]})};let $t=/*#__PURE__*/Q(ge).withConfig({displayName:"StyledSquare2StackIcon",componentId:"sc-6eaa0c94-0"})(["&&{display:inline;}stroke-width:2;height:0.875rem;width:0.875rem;margin-left:0.125rem;color:var(--privy-color-foreground-3);"]),ei=/*#__PURE__*/Q(ue).withConfig({displayName:"StyledCheckIcon",componentId:"sc-6eaa0c94-1"})(["&&{display:inline;}stroke-width:2;height:0.875rem;width:0.875rem;margin-left:0.125rem;color:var(--privy-color-success);"]);const ti=(e,t)=>!m(e)&&("all-users"===t||"users-without-wallets"===t&&!ii(e).length);let ii=e=>e.linkedAccounts.filter((e=>"wallet"===e.type&&"ethereum"===e.chainType));const ai=(e,t)=>!f(e)&&("all-users"===t||"users-without-wallets"===t&&!li(e).length);let li=e=>e.linkedAccounts.filter((e=>"wallet"===e.type&&"solana"===e.chainType));const oi=(e,t)=>ti(e,t.ethereum.createOnLogin)||ai(e,t.solana.createOnLogin),ni=/*#__PURE__*/Q.div.withConfig({displayName:"BottomPusherContainer",componentId:"sc-cb963810-0"})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;margin-top:auto;gap:16px;flex-grow:100;"]),ri=/*#__PURE__*/Q.div.withConfig({displayName:"CenteredItem",componentId:"sc-cb963810-1"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;flex-grow:1;width:100%;"]),si=/*#__PURE__*/Q.div.withConfig({displayName:"HorizontallyCenteredItem",componentId:"sc-cb963810-2"})(["display:flex;flex-direction:column;align-items:center;width:100%;"]),ci=/*#__PURE__*/Q(ri).withConfig({displayName:"CenteredItemWithPadding",componentId:"sc-cb963810-3"})(["padding:20px 0;"]),di=/*#__PURE__*/Q(ri).withConfig({displayName:"CenteredItemWithGap",componentId:"sc-cb963810-4"})(["gap:16px;"]),hi=/*#__PURE__*/Q.div.withConfig({displayName:"FlexContainer",componentId:"sc-cb963810-5"})(["display:flex;flex-direction:column;width:100%;"]),pi=/*#__PURE__*/Q.div.withConfig({displayName:"FixedGappedContainer",componentId:"sc-cb963810-6"})(["display:flex;flex-direction:column;gap:8px;"]),ui=/*#__PURE__*/Q.div.withConfig({displayName:"StyledCalloutSection",componentId:"sc-cb963810-8"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;padding:16px;margin-top:16px;margin-bottom:16px;width:100%;background:var(--privy-color-background-2);border-radius:var(--privy-border-radius-md);&& h4{color:var(--privy-color-foreground-3);font-size:14px;text-decoration:underline;font-weight:medium;}&& p{color:var(--privy-color-foreground-3);font-size:14px;}"]),gi=/*#__PURE__*/Q.div.withConfig({displayName:"RefactorSpacerTop",componentId:"sc-cb963810-9"})(["height:16px;"]),wi=/*#__PURE__*/Q.div.withConfig({displayName:"RefactorSpacerBottom",componentId:"sc-cb963810-10"})(["height:12px;"]),mi=/*#__PURE__*/Q.div.withConfig({displayName:"RelativeContainer",componentId:"sc-cb963810-11"})(["position:relative;"]),fi=/*#__PURE__*/Q.div.withConfig({displayName:"ConfigurableSpacer",componentId:"sc-cb963810-12"})(["height:","px;"],(e=>e.height??"12")),Ci=/*#__PURE__*/Q.div.withConfig({displayName:"Circle",componentId:"sc-cb963810-13"})(["background-color:var(--privy-color-accent);display:flex;justify-content:center;align-items:center;border-radius:50%;border-color:white;border-width:2px !important;"]);let yi=/*#__PURE__*/H(["from,to{background:var(--privy-color-foreground-4);color:var(--privy-color-foreground-4);}50%{background:var(--privy-color-foreground-accent);color:var(--privy-color-foreground-accent);}"]);const vi=/*#__PURE__*/_(["",""],(e=>e.$isLoading?/*#__PURE__*/_(["width:35%;animation:"," 2s linear infinite;border-radius:var(--privy-border-radius-sm);"],yi):"")),Ai=({children:e,color:t,isLoading:i,isPulsing:a,...l})=>/*#__PURE__*/s(bi,{$color:t,$isLoading:i,$isPulsing:a,...l,children:e});let bi=/*#__PURE__*/Q.span.withConfig({displayName:"StyledSpan",componentId:"sc-eba15c9-0"})(["padding:0.125rem 0.5rem;font-size:0.75rem;font-weight:500;line-height:1.125rem;border-radius:var(--privy-border-radius-sm);display:flex;align-items:center;"," ",""],(e=>{let t,i;"green"===e.$color&&(t="var(--privy-color-success-dark)",i="var(--privy-color-success-light)"),"red"===e.$color&&(t="var(--privy-color-error)",i="var(--privy-color-error-light)"),"gray"===e.$color&&(t="var(--privy-color-foreground-2)",i="var(--privy-color-background-2)");let a=/*#__PURE__*/H(["from,to{background-color:",";}50%{background-color:rgba(",",0.8);}"],i,i);/*#__PURE__*/return _(["color:",";background-color:",";",";"],t,i,e.$isPulsing&&/*#__PURE__*/_(["animation:"," 3s linear infinite;"],a))}),vi);const Mi={coinbase_wallet:{logo:$e,displayName:"Coinbase Wallet",rdns:"com.coinbase.wallet"},coinbase_smart_wallet:{logo:$e,displayName:"Coinbase Smart Wallet",rdns:"com.coinbase.wallet"},metamask:{logo:st,displayName:"MetaMask",rdns:"io.metamask"},phantom:{logo:ct,displayName:"Phantom"},rainbow:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("g",{clipPath:"url(#clip0_5_32)",children:/*#__PURE__*/c("g",{clipPath:"url(#clip1_5_32)",children:[/*#__PURE__*/s("mask",{id:"mask0_5_32",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:/*#__PURE__*/s("path",{d:"M78.163 0H41.837C29.79 0 23.767 0 17.283 2.04999C10.203 4.62701 4.627 10.203 2.05 17.283C0 23.767 0 29.791 0 41.837V78.163C0 90.21 0 96.232 2.05 102.717C4.627 109.797 10.203 115.373 17.283 117.949C23.767 120 29.79 120 41.837 120H78.163C90.21 120 96.232 120 102.717 117.949C109.797 115.373 115.373 109.797 117.95 102.717C120 96.232 120 90.21 120 78.163V41.837C120 29.791 120 23.767 117.95 17.283C115.373 10.203 109.797 4.62701 102.717 2.04999C96.232 0 90.21 0 78.163 0Z",fill:"black"})}),/*#__PURE__*/s("g",{mask:"url(#mask0_5_32)",children:/*#__PURE__*/s("rect",{width:"120",height:"120",fill:"url(#paint0_linear_5_32)"})}),/*#__PURE__*/s("path",{d:"M20 38H26C56.9279 38 82 63.0721 82 94V100H94C97.3137 100 100 97.3137 100 94C100 53.1309 66.8691 20 26 20C22.6863 20 20 22.6863 20 26V38Z",fill:"url(#paint1_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M84 94H100C100 97.3137 97.3137 100 94 100H84V94Z",fill:"url(#paint2_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M26 20L26 36H20L20 26C20 22.6863 22.6863 20 26 20Z",fill:"url(#paint3_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M20 36H26C58.0325 36 84 61.9675 84 94V100H66V94C66 71.9086 48.0914 54 26 54H20V36Z",fill:"url(#paint4_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M68 94H84V100H68V94Z",fill:"url(#paint5_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M20 52L20 36L26 36L26 52H20Z",fill:"url(#paint6_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M20 62C20 65.3137 22.6863 68 26 68C40.3594 68 52 79.6406 52 94C52 97.3137 54.6863 100 58 100H68V94C68 70.804 49.196 52 26 52H20V62Z",fill:"url(#paint7_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M52 94H68V100H58C54.6863 100 52 97.3137 52 94Z",fill:"url(#paint8_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M26 68C22.6863 68 20 65.3137 20 62L20 52L26 52L26 68Z",fill:"url(#paint9_radial_5_32)"})]})}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_5_32",x1:"60",y1:"0",x2:"60",y2:"120",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#174299"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#001E59"})]}),/*#__PURE__*/c("radialGradient",{id:"paint1_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(26 94) rotate(-90) scale(74)",children:[/*#__PURE__*/s("stop",{offset:"0.770277",stopColor:"#FF4000"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8754C9"})]}),/*#__PURE__*/c("linearGradient",{id:"paint2_linear_5_32",x1:"83",y1:"97",x2:"100",y2:"97",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FF4000"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8754C9"})]}),/*#__PURE__*/c("linearGradient",{id:"paint3_linear_5_32",x1:"23",y1:"20",x2:"23",y2:"37",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#8754C9"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF4000"})]}),/*#__PURE__*/c("radialGradient",{id:"paint4_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(26 94) rotate(-90) scale(58)",children:[/*#__PURE__*/s("stop",{offset:"0.723929",stopColor:"#FFF700"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF9901"})]}),/*#__PURE__*/c("linearGradient",{id:"paint5_linear_5_32",x1:"68",y1:"97",x2:"84",y2:"97",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FFF700"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF9901"})]}),/*#__PURE__*/c("linearGradient",{id:"paint6_linear_5_32",x1:"23",y1:"52",x2:"23",y2:"36",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FFF700"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF9901"})]}),/*#__PURE__*/c("radialGradient",{id:"paint7_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(26 94) rotate(-90) scale(42)",children:[/*#__PURE__*/s("stop",{offset:"0.59513",stopColor:"#00AAFF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#01DA40"})]}),/*#__PURE__*/c("radialGradient",{id:"paint8_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(51 97) scale(17 45.3333)",children:[/*#__PURE__*/s("stop",{stopColor:"#00AAFF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#01DA40"})]}),/*#__PURE__*/c("radialGradient",{id:"paint9_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(23 69) rotate(-90) scale(17 322.37)",children:[/*#__PURE__*/s("stop",{stopColor:"#00AAFF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#01DA40"})]}),/*#__PURE__*/s("clipPath",{id:"clip0_5_32",children:/*#__PURE__*/s("rect",{width:"120",height:"120",fill:"white"})}),/*#__PURE__*/s("clipPath",{id:"clip1_5_32",children:/*#__PURE__*/s("rect",{width:"120",height:"120",fill:"white"})})]})]}),displayName:"Rainbow",rdns:"me.rainbow"},wallet_connect:{logo:ft,displayName:"WalletConnect"},zerion:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"176",height:"176",viewBox:"0 0 176 176",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/c("g",{clipPath:"url(#clip0_1704_1423)",children:[/*#__PURE__*/s("path",{d:"M126.233 176H49.7672C22.287 176 0 153.723 0 126.233V49.7673C0 22.287 22.2769 0 49.7672 0H126.233C153.713 0 176 22.277 176 49.7673V126.233C176 153.723 153.713 176 126.233 176Z",fill:"#2461ED"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100.667 85.6591C83.4133 76.3353 62.4196 64.2443 46.6192 54.3891C41.9573 51.0306 44.3234 43.9023 49.9578 43.9023H128.138C132.499 43.9023 135.416 48.7648 133.231 52.4442C127.977 61.5174 120.308 73.0368 113.901 82.1702C110.462 87.0727 104.858 87.9149 100.667 85.6591ZM75.5031 88.6867C92.1858 97.5795 115.566 111.104 132.178 121.33C137.311 124.498 135.266 132.098 129.271 132.098C119.46 132.098 103.518 132.1 87.6592 132.103C71.9639 132.105 56.3497 132.108 46.8398 132.108C42.0476 132.108 39.5913 127.135 41.6265 123.666C48.5041 111.946 56.2338 100.116 62.6603 91.2834C65.5176 87.3433 71.3325 86.461 75.5031 88.6867Z",fill:"white"})]}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/s("clipPath",{id:"clip0_1704_1423",children:/*#__PURE__*/s("rect",{width:"176",height:"176",fill:"white"})})})]}),displayName:"Zerion",rdns:"io.zerion.wallet"},brave_wallet:{logo:({...e})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 436.49 511.97",height:"24",width:"24",...e,children:[/*#__PURE__*/s("defs",{children:/*#__PURE__*/c("linearGradient",{id:"brave-linear-gradient",x1:"-18.79",y1:"359.73",x2:"194.32",y2:"359.73",gradientTransform:"matrix(2.05, 0, 0, -2.05, 38.49, 992.77)",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#f1562b"}),/*#__PURE__*/s("stop",{offset:"0.3",stopColor:"#f1542b"}),/*#__PURE__*/s("stop",{offset:"0.41",stopColor:"#f04d2a"}),/*#__PURE__*/s("stop",{offset:"0.49",stopColor:"#ef4229"}),/*#__PURE__*/s("stop",{offset:"0.5",stopColor:"#ef4029"}),/*#__PURE__*/s("stop",{offset:"0.56",stopColor:"#e83e28"}),/*#__PURE__*/s("stop",{offset:"0.67",stopColor:"#e13c26"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#df3c26"})]})}),/*#__PURE__*/s("path",{style:{fill:"url(#brave-linear-gradient)"},d:"M436.49,165.63,420.7,122.75l11-24.6A8.47,8.47,0,0,0,430,88.78L400.11,58.6a48.16,48.16,0,0,0-50.23-11.66l-8.19,2.89L296.09.43,218.25,0,140.4.61,94.85,50.41l-8.11-2.87A48.33,48.33,0,0,0,36.19,59.3L5.62,90.05a6.73,6.73,0,0,0-1.36,7.47l11.47,25.56L0,165.92,56.47,380.64a89.7,89.7,0,0,0,34.7,50.23l111.68,75.69a24.73,24.73,0,0,0,30.89,0l111.62-75.8A88.86,88.86,0,0,0,380,380.53l46.07-176.14Z"}),/*#__PURE__*/s("path",{style:{fill:"#fff"},d:"M231,317.33a65.61,65.61,0,0,0-9.11-3.3h-5.49a66.08,66.08,0,0,0-9.11,3.3l-13.81,5.74-15.6,7.18-25.4,13.24a4.84,4.84,0,0,0-.62,9l22.06,15.49q7,5,13.55,10.76l6.21,5.35,13,11.37,5.89,5.2a10.15,10.15,0,0,0,12.95,0l25.39-22.18,13.6-10.77,22.06-15.79a4.8,4.8,0,0,0-.68-8.93l-25.36-12.8L244.84,323ZM387.4,175.2l.8-2.3a61.26,61.26,0,0,0-.57-9.18,73.51,73.51,0,0,0-8.19-15.44l-14.35-21.06-10.22-13.88-19.23-24a69.65,69.65,0,0,0-5.7-6.67h-.4L321,84.25l-42.27,8.14a33.49,33.49,0,0,1-12.59-1.84l-23.21-7.5-16.61-4.59a70.52,70.52,0,0,0-14.67,0L195,83.1l-23.21,7.54a33.89,33.89,0,0,1-12.59,1.84l-42.22-8-8.54-1.58h-.4a65.79,65.79,0,0,0-5.7,6.67l-19.2,24Q77.81,120.32,73,127.45L58.61,148.51l-6.78,11.31a51,51,0,0,0-1.94,13.35l.8,2.3A34.51,34.51,0,0,0,52,179.81l11.33,13,50.23,53.39a14.31,14.31,0,0,1,2.55,14.34L107.68,280a25.23,25.23,0,0,0-.39,16l1.64,4.52a43.58,43.58,0,0,0,13.39,18.76l7.89,6.43a15,15,0,0,0,14.35,1.72L172.62,314A70.38,70.38,0,0,0,187,304.52l22.46-20.27a9,9,0,0,0,3-6.36,9.08,9.08,0,0,0-2.5-6.56L159.2,237.18a9.83,9.83,0,0,1-3.09-12.45l19.66-36.95a19.21,19.21,0,0,0,1-14.67A22.37,22.37,0,0,0,165.58,163L103.94,139.8c-4.44-1.6-4.2-3.6.51-3.88l36.2-3.59a55.9,55.9,0,0,1,16.9,1.5l31.5,8.8a9.64,9.64,0,0,1,6.74,10.76L183.42,221a34.72,34.72,0,0,0-.61,11.41c.5,1.61,4.73,3.6,9.36,4.73l19.19,4a46.38,46.38,0,0,0,16.86,0l17.26-4c4.64-1,8.82-3.23,9.35-4.85a34.94,34.94,0,0,0-.63-11.4l-12.45-67.59a9.66,9.66,0,0,1,6.74-10.76l31.5-8.83a55.87,55.87,0,0,1,16.9-1.5l36.2,3.37c4.74.44,5,2.2.54,3.88L272,162.79a22.08,22.08,0,0,0-11.16,10.12,19.3,19.3,0,0,0,1,14.67l19.69,36.95A9.84,9.84,0,0,1,278.45,237l-50.66,34.23a9,9,0,0,0,.32,12.78l.15.14,22.49,20.27a71.46,71.46,0,0,0,14.35,9.47l28.06,13.35a14.89,14.89,0,0,0,14.34-1.76l7.9-6.45a43.53,43.53,0,0,0,13.38-18.8l1.65-4.52a25.27,25.27,0,0,0-.39-16l-8.26-19.49a14.4,14.4,0,0,1,2.55-14.35l50.23-53.45,11.3-13a35.8,35.8,0,0,0,1.54-4.24Z"})]}),displayName:"Brave Wallet",rdns:"com.brave.wallet"},cryptocom:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"400",height:"400",viewBox:"0 0 400 400",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M260.543 0C300.7 0 320.773 0 342.39 6.83333C365.99 15.4233 384.577 34.01 393.167 57.61C400 79.2233 400 99.3033 400 139.457V260.543C400 300.7 400 320.773 393.167 342.39C384.577 365.99 365.99 384.577 342.39 393.163C320.773 400 300.7 400 260.543 400H139.457C99.3 400 79.2233 400 57.61 393.163C34.01 384.577 15.4233 365.99 6.83333 342.39C0 320.773 0 300.7 0 260.543V139.457C0 99.3033 0 79.2233 6.83333 57.61C15.4233 34.01 34.01 15.4233 57.61 6.83333C79.2233 0 99.3 0 139.457 0H260.543Z",fill:"white"}),/*#__PURE__*/s("mask",{id:"mask0_16909_31415",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"400",height:"400",children:/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M260.543 0C300.7 0 320.773 0 342.39 6.83333C365.99 15.4233 384.577 34.01 393.167 57.61C400 79.2233 400 99.3033 400 139.457V260.543C400 300.7 400 320.773 393.167 342.39C384.577 365.99 365.99 384.577 342.39 393.163C320.773 400 300.7 400 260.543 400H139.457C99.3 400 79.2233 400 57.61 393.163C34.01 384.577 15.4233 365.99 6.83333 342.39C0 320.773 0 300.7 0 260.543V139.457C0 99.3033 0 79.2233 6.83333 57.61C15.4233 34.01 34.01 15.4233 57.61 6.83333C79.2233 0 99.3 0 139.457 0H260.543Z",fill:"white"})}),/*#__PURE__*/c("g",{mask:"url(#mask0_16909_31415)",children:[/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.804 39.8501L59.3756 119.957V280.18L199.804 360.297L340.23 280.18V119.957L199.804 39.8501Z",fill:"#FEFEFE"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.804 39.8501L59.3756 119.957V280.18L199.804 360.297L340.23 280.18V119.957L199.804 39.8501ZM144.359 109.116H254.873L268.197 164.788H131.538L144.359 109.116ZM176.201 204.291L164.148 173.197H235.711L223.913 204.291L227.339 239.028L199.804 239.154H172.522L176.201 204.291ZM211.354 275.892V264.862L236.093 241.414V204.417L268.451 183.607L305.376 211.066L255.119 297.589H235.203L211.354 275.892ZM94.2395 211.066L131.282 183.857L164.021 204.417V241.414L188.76 264.862V275.892L164.913 297.84H144.734L94.2395 211.066Z",fill:"#002D72"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M255.12 297.589H235.202L211.355 275.892V264.862L236.094 241.414V204.417L268.45 183.607L305.377 211.066L255.12 297.589ZM199.803 39.8498V109.117H254.872L268.198 164.789H199.803V173.199H235.712L223.914 204.291L227.338 239.028L199.803 239.153V360.296L340.231 280.181V119.957L199.803 39.8498Z",fill:"url(#paint0_linear_16909_31415)",style:{mixBlendMode:"multiply"}}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M188.761 275.892L164.912 297.84H144.734L94.2389 211.066L131.283 183.858L164.022 204.417V241.414L188.761 264.862V275.892ZM172.522 239.153L176.2 204.291L164.149 173.199H199.803V164.789H131.537L144.36 109.117H199.803V39.8498L59.375 119.957V280.181L199.803 360.296V239.153H172.522Z",fill:"url(#paint1_linear_16909_31415)",style:{mixBlendMode:"multiply"}})]}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_16909_31415",x1:"325.255",y1:"325.727",x2:"325.255",y2:"73.6291",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#002D72"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#002D72",stopOpacity:"0.01"})]}),/*#__PURE__*/c("linearGradient",{id:"paint1_linear_16909_31415",x1:"184.827",y1:"325.727",x2:"184.827",y2:"73.6291",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#002D72",stopOpacity:"0.01"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#002D72"})]})]})]}),displayName:"Crypto.com Onchain",rdns:"com.crypto.wallet"},uniswap:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"96",height:"96",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("rect",{width:"96",height:"96",rx:"18",fill:"#FEF4FF"}),/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{d:"M71.9367 18.39C72.0482 16.4526 72.3145 15.1746 72.8497 14.0075C73.0616 13.5456 73.2601 13.1675 73.2907 13.1675C73.3214 13.1675 73.2293 13.5085 73.086 13.9252C72.6969 15.0578 72.633 16.607 72.901 18.4094C73.2413 20.6963 73.4348 21.0263 75.8841 23.4967C77.0329 24.6554 78.3692 26.1168 78.8536 26.7443L79.7343 27.8851L78.8536 27.0698C77.7764 26.0728 75.2992 24.1283 74.7521 23.8503C74.3852 23.6639 74.3306 23.6671 74.1043 23.8894C73.8958 24.0943 73.8519 24.4021 73.8229 25.8572C73.7778 28.125 73.4646 29.5807 72.7087 31.0362C72.2998 31.8234 72.2354 31.6554 72.6053 30.7668C72.8816 30.1034 72.9096 29.8117 72.9076 27.6163C72.9033 23.2052 72.3727 22.1447 69.2607 20.3281C68.4724 19.8678 67.1734 19.2041 66.3742 18.8531C65.575 18.502 64.9401 18.1962 64.9633 18.1734C65.0514 18.0868 68.0863 18.961 69.3077 19.4247C71.1247 20.1145 71.4247 20.2039 71.6454 20.1207C71.7933 20.0649 71.8648 19.6398 71.9367 18.39Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M33.5466 11.9727C32.4688 11.808 32.4233 11.7887 32.9306 11.7119C33.9026 11.5647 36.1979 11.7653 37.7796 12.1358C41.4722 13.0004 44.8322 15.2153 48.4188 19.1488L49.3717 20.1938L50.7348 19.978C56.4773 19.0689 62.3192 19.7914 67.2054 22.0148C68.5495 22.6265 70.6689 23.8441 70.9337 24.157C71.018 24.2568 71.173 24.8987 71.2779 25.5837C71.6408 27.9534 71.4591 29.7699 70.7234 31.1265C70.3229 31.8648 70.3006 32.0988 70.5698 32.7306C70.7847 33.2348 71.3838 33.608 71.9771 33.6072C73.1913 33.6056 74.4983 31.6721 75.1038 28.9818L75.3443 27.9131L75.8209 28.4448C78.4346 31.3619 80.4876 35.34 80.8403 38.1716L80.9321 38.9099L80.4928 38.2387C79.7366 37.0838 78.9769 36.2976 78.0041 35.6635C76.2504 34.5205 74.3961 34.1315 69.4853 33.8766C65.0501 33.6464 62.5399 33.2732 60.0509 32.4737C55.816 31.1137 53.6812 29.3023 48.6508 22.8012C46.4164 19.9135 45.0354 18.3159 43.6616 17.0293C40.5401 14.1058 37.4729 12.5726 33.5466 11.9727Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M35.6404 25.9564C33.4522 22.9889 32.0983 18.4391 32.3914 15.0379L32.482 13.9854L32.9801 14.0749C33.9155 14.243 35.5283 14.8343 36.2835 15.2861C38.3559 16.5259 39.253 18.1582 40.1658 22.3496C40.4332 23.5773 40.7839 24.9666 40.9454 25.437C41.2052 26.194 42.1871 27.9624 42.9854 29.1109C43.5605 29.938 43.1785 30.33 41.9074 30.217C39.9662 30.0444 37.3367 28.2568 35.6404 25.9564Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M69.2799 48.0419C59.0538 43.9862 55.4521 40.4658 55.4521 34.5259C55.4521 33.6517 55.4827 32.9365 55.5199 32.9365C55.5572 32.9365 55.9528 33.225 56.3991 33.5776C58.4728 35.216 60.7949 35.9157 67.2233 36.8395C71.0061 37.3831 73.1349 37.8222 75.0986 38.4637C81.3402 40.5027 85.2018 44.6406 86.1227 50.2766C86.3903 51.9143 86.2334 54.9854 85.7995 56.6039C85.457 57.8824 84.4118 60.1868 84.1346 60.2751C84.0578 60.2996 83.9824 60.0094 83.9626 59.6147C83.8575 57.4983 82.7718 55.438 80.9485 53.8946C78.8754 52.1399 76.0901 50.7428 69.2799 48.0419Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M62.1008 49.7268C61.9727 48.9758 61.7505 48.0167 61.607 47.5954L61.3461 46.8296L61.8307 47.3655C62.5014 48.107 63.0314 49.0559 63.4806 50.3197C63.8234 51.2843 63.862 51.5711 63.8594 53.1386C63.8568 54.6774 63.814 55 63.4974 55.8682C62.9983 57.2373 62.3788 58.208 61.3392 59.2501C59.4712 61.1228 57.0696 62.1596 53.6039 62.5896C53.0015 62.6643 51.2456 62.7902 49.7019 62.8693C45.8118 63.0686 43.2515 63.4803 40.9508 64.276C40.6201 64.3905 40.3247 64.4601 40.2948 64.4305C40.2017 64.3393 41.768 63.4195 43.0618 62.8056C44.8862 61.94 46.7021 61.4676 50.7709 60.8002C52.7809 60.4704 54.8566 60.0704 55.3837 59.9112C60.3612 58.4079 62.9197 54.5286 62.1008 49.7268Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M66.7886 57.9275C65.4299 55.0505 65.1179 52.2726 65.8623 49.6821C65.942 49.4053 66.07 49.1787 66.1471 49.1787C66.224 49.1787 66.5447 49.3495 66.8594 49.5581C67.4855 49.9732 68.7412 50.6725 72.0866 52.4692C76.2612 54.7111 78.6414 56.4472 80.2599 58.4306C81.6775 60.1677 82.5547 62.1459 82.9769 64.5583C83.2159 65.9248 83.0759 69.2128 82.7199 70.5889C81.5975 74.9275 78.9889 78.3356 75.2682 80.3242C74.7231 80.6155 74.2337 80.8547 74.1807 80.8558C74.1278 80.8569 74.3264 80.3594 74.6222 79.7503C75.8738 77.173 76.0163 74.6661 75.07 71.8756C74.4906 70.1671 73.3092 68.0823 70.924 64.5588C68.1507 60.4623 67.4708 59.3721 66.7886 57.9275Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M28.3782 73.4506C32.173 70.2943 36.8948 68.0521 41.1958 67.3639C43.0494 67.0672 46.1372 67.185 47.8537 67.6178C50.605 68.3113 53.0662 69.8648 54.3462 71.7156C55.5971 73.5245 56.1338 75.1008 56.6925 78.6081C56.913 79.9916 57.1527 81.3809 57.2252 81.6954C57.6449 83.5131 58.4614 84.966 59.4733 85.6957C61.0805 86.8544 63.8479 86.9265 66.5704 85.8804C67.0325 85.7028 67.4336 85.5801 67.4618 85.6078C67.5605 85.7044 66.1896 86.6083 65.2225 87.0842C63.9212 87.7245 62.8864 87.972 61.5115 87.972C59.0181 87.972 56.948 86.7226 55.2206 84.175C54.8807 83.6736 54.1167 82.1718 53.5228 80.8378C51.699 76.7403 50.7984 75.4921 48.6809 74.126C46.8381 72.9374 44.4615 72.7245 42.6736 73.588C40.325 74.7223 39.6698 77.6786 41.3518 79.5521C42.0204 80.2967 43.2671 80.939 44.2865 81.0638C46.1936 81.2975 47.8326 79.8684 47.8326 77.9717C47.8326 76.7402 47.352 76.0374 46.1423 75.4996C44.4901 74.7652 42.7141 75.6237 42.7226 77.1526C42.7263 77.8045 43.0145 78.214 43.6779 78.5097C44.1036 78.6994 44.1134 78.7144 43.7664 78.6434C42.2504 78.3337 41.8952 76.5335 43.1141 75.3383C44.5776 73.9036 47.6037 74.5367 48.6428 76.4951C49.0794 77.3177 49.1301 78.956 48.7495 79.9452C47.8976 82.1593 45.4138 83.3237 42.8941 82.6901C41.1787 82.2587 40.4801 81.7915 38.4119 79.6931C34.8179 76.0462 33.4226 75.3396 28.2413 74.5428L27.2484 74.3902L28.3782 73.4506Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5147 8.18128C23.517 22.5305 31.7835 28.4507 32.7022 29.7015C33.4607 30.7343 33.1752 31.6628 31.8758 32.3905C31.1532 32.7951 29.6676 33.205 28.9238 33.205C28.0825 33.205 27.7936 32.8853 27.7936 32.8853C27.3058 32.4296 27.0311 32.5093 24.5261 28.1293C21.0483 22.8137 18.1379 18.4041 18.0585 18.3303C17.8749 18.1596 17.878 18.1653 24.1715 29.2574C25.1883 31.5693 24.3737 32.4179 24.3737 32.7471C24.3737 33.417 24.1882 33.7691 23.3494 34.6907C21.951 36.2274 21.3259 37.954 20.8746 41.5274C20.3687 45.5332 18.9462 48.3629 15.0041 53.2057C12.6965 56.0406 12.3189 56.5602 11.7366 57.7028C11.0032 59.1416 10.8015 59.9475 10.7198 61.7645C10.6334 63.6855 10.8016 64.9265 11.3975 66.7632C11.9191 68.3712 12.4636 69.433 13.8555 71.5567C15.0568 73.3894 15.7484 74.7513 15.7484 75.2841C15.7484 75.708 15.8306 75.7085 17.692 75.2945C22.1466 74.3036 25.7638 72.5609 27.7981 70.4252C29.0571 69.1033 29.3527 68.3733 29.3623 66.5619C29.3686 65.377 29.3263 65.1289 29.0011 64.4473C28.4718 63.3379 27.5083 62.4154 25.3845 60.9853C22.6019 59.1115 21.4133 57.603 21.085 55.5285C20.8157 53.8263 21.1282 52.6253 22.6676 49.4472C24.2609 46.1575 24.6558 44.7557 24.9229 41.4399C25.0954 39.2977 25.3343 38.4528 25.9591 37.7747C26.6108 37.0676 27.1975 36.8281 28.8103 36.611C31.4396 36.2572 33.1139 35.5871 34.4901 34.3379C35.6839 33.2543 36.1835 32.2101 36.2602 30.6382L36.3184 29.4468L35.6512 28.6806C33.2352 25.9057 9.89667 6 9.74799 6C9.71623 6 10.5113 6.98164 11.5147 8.18128ZM17.1047 63.9381C17.6509 62.9852 17.3607 61.7601 16.447 61.1617C15.5836 60.5962 14.2424 60.8625 14.2424 61.5994C14.2424 61.8243 14.3687 61.9879 14.6532 62.1322C15.1322 62.375 15.167 62.648 14.7901 63.2061C14.4084 63.7712 14.4392 64.2681 14.877 64.6057C15.5826 65.15 16.5815 64.8507 17.1047 63.9381Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.9777 37.236C36.7433 37.6095 35.5435 38.8981 35.172 40.2493C34.9454 41.0736 35.074 42.5196 35.4134 42.9662C35.9617 43.6874 36.492 43.8774 37.9277 43.8675C40.7388 43.8482 43.1825 42.6606 43.4666 41.176C43.6994 39.9591 42.6262 38.2726 41.1478 37.5321C40.385 37.1502 38.7626 36.9987 37.9777 37.236ZM41.2638 39.7671C41.6973 39.1604 41.5076 38.5047 40.7704 38.0611C39.3664 37.2167 37.2432 37.9155 37.2432 39.222C37.2432 39.8724 38.3504 40.5819 39.3653 40.5819C40.0408 40.5819 40.9652 40.1851 41.2638 39.7671Z",fill:"#F50DB4"})]})]}),displayName:"Uniswap Wallet",rdns:"org.uniswap.app"},okx_wallet:{displayName:"OKX Wallet",rdns:"com.okex.wallet",logo:ut},rabby_wallet:{logo:e=>/*#__PURE__*/c("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{width:"52",height:"52",rx:"26",fill:"#7084FF"}),/*#__PURE__*/s("path",{d:"M43.6781 28.2954C45.1053 25.0988 38.0498 16.168 31.3094 12.4472C27.0608 9.56481 22.6337 9.96081 21.737 11.2264C19.7693 14.0039 28.2527 16.3574 33.9263 19.1037C32.7067 19.6348 31.5574 20.5879 30.8816 21.8067C28.7664 19.4915 24.1239 17.4977 18.6765 19.1037C15.0056 20.186 11.9547 22.7374 10.7756 26.5911C10.4891 26.4635 10.1719 26.3925 9.83814 26.3925C8.56192 26.3925 7.52734 27.4298 7.52734 28.7094C7.52734 29.989 8.56192 31.0263 9.83814 31.0263C10.0747 31.0263 10.8143 30.8672 10.8143 30.8672L22.6337 30.953C17.9068 38.4713 14.1713 39.5704 14.1713 40.8729C14.1713 42.1754 17.7455 41.8224 19.0876 41.3369C25.5121 39.0127 32.4123 31.7692 33.5964 29.6841C38.5688 30.3061 42.7476 30.3796 43.6781 28.2954Z",fill:"url(#paint0_linear_81034_11443)"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.8741 19.076C33.8926 19.084 33.911 19.092 33.9294 19.1001C34.1923 18.9962 34.1498 18.6068 34.0776 18.301C33.9116 17.5981 31.0479 14.7629 28.3588 13.493C24.6934 11.762 21.9946 11.8518 21.5972 12.65C22.3407 14.1849 25.8031 15.6258 29.4193 17.1308C30.9407 17.7639 32.4893 18.4084 33.8741 19.076Z",fill:"url(#paint1_linear_81034_11443)"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.272 34.5374C28.5323 34.2543 27.697 33.9945 26.7477 33.7587C27.7625 31.9382 27.9754 29.2432 27.0171 27.5392C25.6721 25.1478 23.9838 23.875 20.0605 23.875C17.9027 23.875 12.093 24.6037 11.9899 29.4663C11.9791 29.9743 11.9895 30.44 12.026 30.8685L22.6335 30.9456C21.2017 33.2229 19.8609 34.9113 18.6873 36.1947C20.0979 36.5571 21.2615 36.8612 22.3297 37.1404C23.3394 37.4043 24.2638 37.646 25.2309 37.8934C26.6941 36.8249 28.0698 35.6597 29.272 34.5374Z",fill:"url(#paint2_linear_81034_11443)"}),/*#__PURE__*/s("path",{d:"M10.6324 30.3712C11.0658 34.065 13.1596 35.5127 17.4381 35.9411C21.7166 36.3695 24.1708 36.0821 27.4381 36.3801C30.167 36.6291 32.6036 38.0233 33.5075 37.5415C34.321 37.1079 33.8659 35.5412 32.7774 34.5361C31.3663 33.2333 29.4135 32.3274 25.9773 32.006C26.6621 30.1261 26.4702 27.4903 25.4067 26.0562C23.8689 23.9827 21.0305 23.0453 17.4381 23.4549C13.6848 23.8828 10.0885 25.7354 10.6324 30.3712Z",fill:"url(#paint3_linear_81034_11443)"}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_81034_11443",x1:"18.249",y1:"25.4646",x2:"43.3806",y2:"32.5728",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"white"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"white"})]}),/*#__PURE__*/c("linearGradient",{id:"paint1_linear_81034_11443",x1:"39.1432",y1:"24.9813",x2:"20.9691",y2:"6.81008",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#8697FF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8697FF",stopOpacity:"0"})]}),/*#__PURE__*/c("linearGradient",{id:"paint2_linear_81034_11443",x1:"29.7761",y1:"35.1727",x2:"12.345",y2:"25.1792",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#8697FF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8697FF",stopOpacity:"0"})]}),/*#__PURE__*/c("linearGradient",{id:"paint3_linear_81034_11443",x1:"19.7472",y1:"25.2716",x2:"31.5549",y2:"40.2352",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"white"}),/*#__PURE__*/s("stop",{offset:"0.983895",stopColor:"#D1D8FF"})]})]})]}),displayName:"Rabby Wallet",rdns:"io.rabby.wallet"},safe:{displayName:"Safe",logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"28",height:"28",rx:"3",fill:"#12FF80"}),/*#__PURE__*/s("path",{d:"M22.5151 13.9979H20.4244C19.7981 13.9979 19.2945 14.5058 19.2945 15.128V18.163C19.2945 18.7894 18.7866 19.2931 18.1645 19.2931H9.8398C9.21344 19.2931 8.70981 19.8011 8.70981 20.4233V22.5185C8.70981 23.145 9.21767 23.6487 9.8398 23.6487H18.6427C19.2691 23.6487 19.7642 23.1407 19.7642 22.5185V20.8423C19.7642 20.2159 20.2721 19.7757 20.8942 19.7757H22.5151C23.1415 19.7757 23.6451 19.2677 23.6451 18.6455V15.1196C23.6451 14.4889 23.1373 13.9979 22.5151 13.9979Z",fill:"black"}),/*#__PURE__*/s("path",{d:"M8.7098 9.84127C8.7098 9.21481 9.21766 8.71111 9.83978 8.71111H18.156C18.7823 8.71111 19.286 8.20317 19.286 7.58095V5.48995C19.286 4.86349 18.7781 4.35979 18.156 4.35979H9.35732C8.73096 4.35979 8.22733 4.86772 8.22733 5.48995V7.10264C8.22733 7.7291 7.71947 8.2328 7.09734 8.2328H5.48912C4.86276 8.2328 4.35913 8.74074 4.35913 9.36296V12.8931C4.35913 13.5196 4.86699 13.9979 5.49335 13.9979H7.58404C8.2104 13.9979 8.71403 13.4899 8.71403 12.8677L8.7098 9.84127Z",fill:"black"}),/*#__PURE__*/s("path",{d:"M13.0139 11.8011H15.0242C15.6802 11.8011 16.2092 12.3344 16.2092 12.9862V14.9968C16.2092 15.6529 15.6759 16.182 15.0242 16.182H13.0139C12.3579 16.182 11.8289 15.6487 11.8289 14.9968V12.9862C11.8289 12.3302 12.3621 11.8011 13.0139 11.8011Z",fill:"black"})]})},universal_profile:{displayName:"Universal Profile",logo:({style:e,...t})=>/*#__PURE__*/c("svg",{fill:"none",height:"1024",width:"1024",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/c("filter",{id:"a","color-interpolation-filters":"sRGB",filterUnits:"userSpaceOnUse",height:"1228",width:"1244",x:"-72",y:"-72",children:[/*#__PURE__*/s("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),/*#__PURE__*/s("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",mode:"normal",result:"shape"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"-72",dy:"-72"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"54"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),/*#__PURE__*/s("feBlend",{in2:"shape",mode:"normal",result:"effect1_innerShadow_3981_20791"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"152",dy:"132"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"74"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.15 0"}),/*#__PURE__*/s("feBlend",{in2:"effect1_innerShadow_3981_20791",mode:"normal",result:"effect2_innerShadow_3981_20791"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"32",dy:"20"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"50"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),/*#__PURE__*/s("feBlend",{in2:"effect2_innerShadow_3981_20791",mode:"normal",result:"effect3_innerShadow_3981_20791"})]}),/*#__PURE__*/c("filter",{id:"b","color-interpolation-filters":"sRGB",filterUnits:"userSpaceOnUse",height:"352",width:"747",x:"142",y:"352",children:[/*#__PURE__*/s("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),/*#__PURE__*/s("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",mode:"normal",result:"shape"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"8",dy:"12"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"5"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.120833 0 0 0 0 0.120833 0 0 0 0 0.120833 0 0 0 0.69 0"}),/*#__PURE__*/s("feBlend",{in2:"shape",mode:"normal",result:"effect1_innerShadow_3981_20791"})]}),/*#__PURE__*/c("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"0",x2:"1024",y1:"0",y2:"1024",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#8992d1"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#646c9f"})]}),/*#__PURE__*/s("clipPath",{id:"d",children:/*#__PURE__*/s("path",{d:"m0 0h1024v1024h-1024z"})}),/*#__PURE__*/c("g",{"clip-path":"url(#d)",children:[/*#__PURE__*/s("g",{filter:"url(#a)",children:/*#__PURE__*/s("rect",{fill:"url(#c)",height:"1024",rx:"230",width:"1024"})}),/*#__PURE__*/c("g",{fill:"#fff",filter:"url(#b)",children:[/*#__PURE__*/s("path",{d:"m212.459 354h-54.459c-8.837 0-16 7.163-16 16v203c0 66.826 54.174 121 121 121h44c66.826 0 121-54.174 121-121v-203c0-8.837-7.163-16-16-16h-56.548c-8.837 0-16 7.163-16 16v198.829c0 28.607-23.19 51.797-51.797 51.797-32.693 0-59.196-26.503-59.196-59.196v-191.43c0-8.837-7.163-16-16-16z"}),/*#__PURE__*/s("path",{d:"m868.426 352h-68.495c-6.98 0-12.487 5.934-11.967 12.895l14.206 190c.468 6.263 5.686 11.105 11.966 11.105h45.412c6.409 0 11.687-5.037 11.987-11.44l8.878-190c.32-6.84-5.14-12.56-11.987-12.56z"}),/*#__PURE__*/s("ellipse",{cx:"834",cy:"649.5",rx:"47",ry:"44.5"}),/*#__PURE__*/s("path",{clipRule:"evenodd",d:"m522 687h50c8.837 0 16-7.163 16-16v-80c0-8.837 7.163-16 16-16h33.5c61.58 0 111.5-49.92 111.5-111.5s-49.92-111.5-111.5-111.5h-115.5c-8.837 0-16 7.163-16 16v303c0 8.837 7.163 16 16 16zm70-252v58c0 6.627 5.373 12 12 12h14c20.987 0 38-17.013 38-38v-6c0-20.987-17.013-38-38-38h-14c-6.627 0-12 5.373-12 12z",fillRule:"evenodd"})]})]})]})},bybit_wallet:{displayName:"Bybit Wallet",logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("path",{d:"M0 10.2C0 4.56669 4.5667 0 10.2 0H37.8C43.4333 0 48 4.5667 48 10.2V37.8C48 43.4333 43.4333 48 37.8 48H10.2C4.56669 48 0 43.4333 0 37.8V10.2Z",fill:"#604E93"}),/*#__PURE__*/s("path",{d:"M4.13353 14.6218C3.70207 13.1338 4.62517 11.5926 6.14065 11.2707L31.424 5.90036C32.6242 5.64544 33.8434 6.24236 34.3782 7.34668L45.7343 30.7995L13.7343 47.7328L4.13353 14.6218Z",fill:"url(#paint0_linear_362_37285)"}),/*#__PURE__*/s("path",{d:"M4.46332 16.4519C4.00953 14.8821 5.06159 13.277 6.68213 13.0669L40.1928 8.72077C41.5851 8.5402 42.879 9.47008 43.1517 10.8473L48.0004 35.333L13.467 47.5999L4.46332 16.4519Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M0 18.6666C0 15.7211 2.38781 13.3333 5.33333 13.3333H37.3333C43.2244 13.3333 48 18.1089 48 24V37.3333C48 43.2243 43.2244 48 37.3333 48H10.6667C4.77563 48 0 43.2243 0 37.3333V18.6666Z",fill:"black"}),/*#__PURE__*/s("path",{d:"M31.7559 33.3796V23.3867H33.7051V33.3796H31.7559Z",fill:"#F7A600"}),/*#__PURE__*/s("path",{d:"M9.51303 36.362H5.33398V26.3691H9.3449C11.2941 26.3691 12.4301 27.4639 12.4301 29.176C12.4301 30.2844 11.7008 31.0006 11.1964 31.2393C11.7996 31.5201 12.5709 32.1511 12.5709 33.4846C12.5709 35.3513 11.2941 36.362 9.51303 36.362ZM9.19043 28.1096H7.28322V30.4117H9.19043C10.0174 30.4117 10.4808 29.9489 10.4808 29.2612C10.4808 28.5723 10.0185 28.1096 9.19043 28.1096ZM9.31653 32.1658H7.28322V34.6215H9.31653C10.2003 34.6215 10.6206 34.0599 10.6206 33.3868C10.6216 32.7127 10.2003 32.1658 9.31653 32.1658Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M17.9425 32.2637V36.362H16.007V32.2637L13.0059 26.3691H15.1232L16.9884 30.3969L18.8252 26.3691H20.9426L17.9425 32.2637Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M26.4896 36.362H22.3105V26.3691H26.3215C28.2707 26.3691 29.4066 27.4639 29.4066 29.176C29.4066 30.2844 28.6774 31.0006 28.173 31.2393C28.7761 31.5201 29.5474 32.1511 29.5474 33.4846C29.5464 35.3513 28.2696 36.362 26.4896 36.362ZM26.167 28.1096H24.2598V30.4117H26.167C26.994 30.4117 27.4574 29.9489 27.4574 29.2612C27.4563 28.5723 26.994 28.1096 26.167 28.1096ZM26.2931 32.1658H24.2598V34.6215H26.2931C27.1768 34.6215 27.5971 34.0599 27.5971 33.3868C27.5971 32.7127 27.1758 32.1658 26.2931 32.1658Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M40.0573 28.1096V36.362H38.1081V28.1096H35.5V26.3691H42.6665V28.1096H40.0573Z",fill:"white"}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/c("linearGradient",{id:"paint0_linear_362_37285",x1:"4.00094",y1:"13.9604",x2:"46.1673",y2:"11.8482",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{"stop-color":"#FFD748"}),/*#__PURE__*/s("stop",{offset:"1","stop-color":"#F7A600"})]})})]})},solflare:{logo:wt,displayName:"Solflare"},backpack:{logo:ht,displayName:"Backpack"}},xi=(e,t,i)=>Mi[e]?.displayName?"coinbase_wallet"===e?Mi[i].displayName:Mi[e].displayName:"wallet_connect_v2"===t&&"wallet_connect"===e?"Wallet Connect":void 0,Ni=(e,t,i)=>Mi[e]?.logo?"coinbase_wallet"===e?Mi[i].logo:Mi[e].logo:"wallet_connect_v2"===t&&"wallet_connect"===e?ft:void 0;let Ii=/*#__PURE__*/o({});const Di=({children:e})=>{let t=w(),[a,l]=i({});return U("login",{onComplete:({loginAccount:e})=>{e&&"passkey"!==e.type&&"cross_app"!==e.type&&("wallet"!==e.type||"privy"!==e.walletClientType)&&(O.put(Li(t.id),e.type),"wallet"===e.type?(O.put(Ti(t.id),e.walletClientType),O.put(ki(t.id),e.chainType),l({accountType:e.type,walletClientType:e.walletClientType,chainType:e.chainType})):(O.del(Ti(t.id)),O.del(ki(t.id)),l({accountType:e.type})))}}),n((()=>{if(!t.id)return;let e=O.get(Li(t.id)),i=O.get(Ti(t.id)),a=O.get(ki(t.id));e&&l("wallet"===e?{accountType:e,walletClientType:i,chainType:a}:{accountType:e})}),[t.id]),/*#__PURE__*/s(Ii.Provider,{value:a,children:e})};let Li=e=>`privy:${e}:recent-login-method`,Ti=e=>`privy:${e}:recent-login-wallet-client`,ki=e=>`privy:${e}:recent-login-chain-type`;const Si=()=>l(Ii),Ei=e=>{let t=localStorage.getItem("-walletlink:https://www.walletlink.org:Addresses")?.split(" ").filter((e=>ae(e,{strict:!0}))).map((e=>le(e)));return!!t?.length&&!!e?.linkedAccounts.filter((e=>"wallet"==e.type&&t.includes(e.address))).length};const Oi=e=>e?.privyErrorCode===J.LINKED_TO_ANOTHER_USER?F.ERROR_USER_EXISTS:e instanceof W&&!e.details.default?e.details:e instanceof z?F.ERROR_TIMED_OUT:e instanceof B?F.ERROR_USER_REJECTED_CONNECTION:e?.privyErrorCode===J.CANNOT_LINK_MORE_OF_TYPE?F.ERROR_USER_LIMIT_REACHED:F.ERROR_WALLET_CONNECTION,ji=()=>{let e,[a,l]=i(!1),[o,h]=i(!1),[p,u]=i(void 0),{authenticated:w,logout:m}=C(),{app:f,navigate:A,navigateBack:b,lastScreen:M,currentScreen:x,setModalData:N,data:I}=g(),{getAuthFlow:D,walletConnectionStatus:L,closePrivyModal:T,initLoginWithWallet:k,loginWithWallet:S,updateWallets:E,createAnalyticsEvent:O}=X(),{walletConnectors:j}=C(),[z,B]=i(0),{user:U}=C(),[W]=i(U?.linkedAccounts.length||0),[R,Q]=i(""),[_,H]=i(""),[Z,V]=i(!1),{hasTabbedAway:Y}=function(){let[e,t]=i(!1),a=r((()=>{document.hidden&&t(!0)}),[]);return n((()=>(document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a))),[a]),{hasTabbedAway:e,reset:()=>t(!1)}}(),{enabled:G,token:K}=qe(),$=P&&"wallet_connect_v2"===L?.connector?.connectorType||P&&"coinbase_wallet"===L?.connector?.connectorType||P&&"injected"===L?.connector?.connectorType&&"phantom"===L?.connector?.walletClientType,ee="connected"===L?.status,te="switching_to_supported_chain"===L?.status;n((()=>{let e=D(),t=e instanceof Ye||e instanceof Ge?e:void 0;ee&&!t&&(!G||K||w?k(L.connectedWallet,K,I?.login?.disableSignup).then((()=>{V(!0)})):(N({captchaModalData:{callback:e=>k(L.connectedWallet,e,I?.login?.disableSignup).then((()=>{V(!0)})),userIntentRequired:!1,onSuccessNavigateTo:y.AWAITING_CONNECTION,onErrorNavigateTo:y.ERROR_SCREEN}}),A(y.CAPTCHA_SCREEN,!1))),t&&$&&ee&&!t.preparedMessage?t.buildMessage():t&&!$&&ee&&(o||(async()=>{h(!0),u(void 0);try{"wallet_connect_v2"===L?.connector?.connectorType&&"metamask"===L?.connector?.walletClientType&&await Le(2500),await ae()}catch(e){console.warn("Auto-prompted signature failed",e)}finally{h(!1)}})())}),[z,ee,Z]),n((()=>{if(U&&a){let e=v-500;if(f?.legal.requireUsersAcceptTerms&&!U.hasAcceptedTerms){let t=setTimeout((()=>{A(y.AFFIRMATIVE_CONSENT_SCREEN)}),e);return()=>clearTimeout(t)}if(oi(U,f.embeddedWallets)){let t=setTimeout((()=>{N({createWallet:{onSuccess:()=>{},onFailure:e=>{console.error(e),O({eventName:"embedded_wallet_creation_failure_logout",payload:{error:e,screen:"ConnectionStatusScreen"}}),m()},callAuthOnSuccessOnClose:!0}}),A(y.EMBEDDED_WALLET_ON_ACCOUNT_CREATE_SCREEN)}),e);return()=>clearTimeout(t)}E();let t=setTimeout((()=>T({shouldCallAuthOnSuccess:!0,isSuccess:!0})),v);return()=>clearTimeout(t)}}),[U,a]);let ie=e=>{if(e?.privyErrorCode!==J.ALLOWLIST_REJECTED){if(e?.privyErrorCode===J.USER_LIMIT_REACHED)return console.error(new q(e).toString()),void A(y.USER_LIMIT_REACHED_SCREEN);if(e?.privyErrorCode!==J.USER_DOES_NOT_EXIST)return e?.privyErrorCode===J.ACCOUNT_TRANSFER_REQUIRED&&e.data?.data?.nonce?(N({accountTransfer:{nonce:e.data?.data?.nonce,account:D()?.meta.address,displayName:e.data?.data?.account?.displayName,externalWalletMetadata:{walletClientType:D()?.meta.walletClientType,chainId:D()?.meta.chainId,connectorType:D()?.meta.connectorType},linkMethod:"siwe",embeddedWalletAddress:e.data?.data?.otherUser?.embeddedWalletAddress}}),void A(y.LINK_CONFLICT_SCREEN)):void u(Oi(e));A(y.ACCOUNT_NOT_FOUND_SCREEN)}else A(y.ALLOWLIST_REJECTION_SCREEN)};async function ae(){try{await S(),l(!0)}catch(e){ie(e)}finally{h(!1)}}n((()=>{L?.connectError&&ie(L?.connectError)}),[L]),((e,i)=>{let a=t((()=>{}));n((()=>{a.current=e})),n((()=>{if(null!==i){let e=setInterval((()=>a.current()),i||0);return()=>clearInterval(e)}}),[i])})((()=>{let e="wallet_connect_v2"===le&&L?.connector instanceof Ct?L.connector.redirectUri:void 0;e&&Q(e);let t="wallet_connect_v2"===le&&L?.connector instanceof Ct?L.connector.fallbackUniversalRedirectUri:void 0;t&&H(t)}),L?.connector instanceof Ct&&!R?500:null);let le=L?.connector?.connectorType||"injected",oe=L?.connector?.walletClientType||"unknown",ne=Mi[oe]?.displayName||L?.connector?.walletBranding.name||"Browser Extension",re=Mi[oe]?.logo||L?.connector?.walletBranding.icon||(e=>/*#__PURE__*/s(rt,{...e})),se="Browser Extension"===ne?ne.toLowerCase():ne;e=a?`Successfully connected with ${se}`:p?p.message:te?"Switching networks":ee?o&&$?"Signing":"Sign to verify":`Waiting for ${se}`;let ce="Don’t see your wallet? Check your other browser windows.";a?ce=W===(U?.linkedAccounts.length||0)?"Wallet was already linked.":"You’re good to go!":z>=2&&p?ce="Unable to connect wallet":p?ce=p.detail:te?ce="Switch your wallet to the requested network.":ee&&$?ce="Sign the message in your wallet to verify it belongs to you.":"metamask"===oe&&P?ce="Click continue to open and connect MetaMask.":"metamask"===oe?ce="For the best experience, connect only one wallet at a time.":"wallet_connect"===le?ce="Open your mobile wallet app to continue":"coinbase_wallet"!==le||Me()||(ce=Ei(U)?"Continue with the Coinbase app. Not the right wallet? Reset your connection below.":"Open the Coinbase app on your phone to continue.");let de=j?.walletConnectors?.find((e=>"coinbase_wallet"===e.walletClientType)),he="coinbase_wallet"===oe&&(Ei(U)||p===F.ERROR_USER_EXISTS);/*#__PURE__*/return c(d,{children:[/*#__PURE__*/s(Rt,{backFn:M&&x!==M?b:void 0}),/*#__PURE__*/c(zi,{children:[/*#__PURE__*/s(Ui,{walletLogo:re,success:a,fail:!!p}),/*#__PURE__*/c(pi,{children:[/*#__PURE__*/s("h3",{children:e}),/*#__PURE__*/s("p",{children:ce}),ee||!R||Y?null:/*#__PURE__*/c("p",{children:["Still here?"," ",/*#__PURE__*/s("a",{href:R,target:"_blank",style:{textDecoration:"underline"},children:"Try connecting again"}),_&&/*#__PURE__*/c(d,{children:[" ","or"," ",/*#__PURE__*/s("a",{href:_,target:"_blank",style:{textDecoration:"underline"},children:"use this different link"})]})]})]}),he?/*#__PURE__*/s(It,{onClick:()=>de&&de?.disconnect(),disabled:a,children:"Use a different wallet"}):p==F.ERROR_USER_EXISTS&&x!==M?/*#__PURE__*/s(It,{onClick:b,children:"Use a different wallet"}):ee&&!a&&$?/*#__PURE__*/s(It,{onClick:()=>{h(!0),ae()},disabled:o,children:o?"Signing":"Sign with your wallet"}):!a&&p?.retryable&&z<2?/*#__PURE__*/s(It,{onClick:()=>{B(z+1),u(void 0),ee?(h(!0),ae()):L?.connectRetry()},disabled:!a&&(!p?.retryable||z>=2),children:"Retry"}):a||p?null:/*#__PURE__*/s(It,{onClick:()=>{},disabled:!0,children:"Connecting"})]}),/*#__PURE__*/s(Xt,{})]})};let zi=/*#__PURE__*/Q.div.withConfig({displayName:"ConnectContainer",componentId:"sc-17f85963-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;width:100%;"]),Bi=/*#__PURE__*/Q.div.withConfig({displayName:"StackedContainer",componentId:"sc-17f85963-1"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > span{position:absolute;left:-41px;top:-41px;}> div > :last-child{position:absolute;left:-19px;top:-19px;}"]);const Ui=e=>{let t=e.walletLogo;/*#__PURE__*/return s(d,{children:/*#__PURE__*/s(Bi,{children:/*#__PURE__*/c("div",{children:[/*#__PURE__*/s(vt,{success:e.success,fail:e.fail}),"string"==typeof t?
4
- /*#__PURE__*/s("span",{style:{background:`url('${t}')`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"cover"}}):/*#__PURE__*/s(t,{style:{width:"38px",height:"38px"}})]})})})};function Fi(e){let{logout:t}=l(A);return U("logout",e),{logout:t}}const Wi=/*#__PURE__*/Q.div.withConfig({displayName:"Column",componentId:"sc-cfc52180-0"})(["display:flex;flex-direction:column;"]),Ri=/*#__PURE__*/Q.span.withConfig({displayName:"ErrorMessage",componentId:"sc-fcb8cd50-0"})(["text-align:left;font-size:0.75rem;font-weight:500;line-height:1.125rem;color:var(--privy-color-error);"]),Pi=/*#__PURE__*/Q.span.withConfig({displayName:"LabelXs",componentId:"sc-4c43f9fd-0"})(["color:var(--privy-color-foreground-3);font-size:0.75rem;font-weight:500;line-height:1.125rem;"]),Qi=/*#__PURE__*/_(["&&{border-width:1px;padding:0.5rem 1rem;}width:100%;text-align:left;border:solid 1px var(--privy-color-foreground-4);border-radius:var(--privy-border-radius-md);display:flex;justify-content:space-between;align-items:center;",""],(e=>"error"===e.$state?"border-color: var(--privy-color-error);":"")),_i=/*#__PURE__*/Q.div.withConfig({displayName:"Box",componentId:"sc-1660059c-0"})(["",""],Qi),Hi=({errMsg:e,balance:t,address:i,isLoading:a,className:l,title:o,isPulsing:n,showIcon:r,statusColor:h="green"})=>{let p;return p=h||(e?"red":"green"),/*#__PURE__*/c(d,{children:[/*#__PURE__*/c(_i,{className:l,$state:e?"error":void 0,children:[/*#__PURE__*/c(Wi,{children:[/*#__PURE__*/s(Pi,{children:o||"Pay with"}),/*#__PURE__*/s(qt,{address:i,showCopyIcon:r||!!e})]}),void 0!==t&&/*#__PURE__*/s(Ai,{isLoading:a,isPulsing:n,color:p,children:t})]}),e&&/*#__PURE__*/s(Ri,{style:{marginTop:"0.25rem"},children:e})]})},Zi=/*#__PURE__*/Q.span.withConfig({displayName:"Subtitle",componentId:"sc-7a11f796-0"})(["margin-top:4px;color:var(--privy-color-foreground);text-align:center;font-size:0.875rem;font-weight:400;line-height:1.375rem;&& a{color:var(--privy-color-accent);}"]),Vi=/*#__PURE__*/Q.span.withConfig({displayName:"Title",componentId:"sc-66de63c-0"})(["color:var(--privy-color-foreground);font-size:1.125rem;font-weight:600;line-height:1.875rem;text-align:center;"]),Yi=({color:e,...t})=>/*#__PURE__*/s("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",xmlSpace:"preserve",...t,children:/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:e||"currentColor",className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.57,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})}),Gi=()=>/*#__PURE__*/s("svg",{width:"200",height:"200",viewBox:"-77 -77 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px"},children:/*#__PURE__*/s("rect",{width:"50",height:"50",fill:"black",rx:10,ry:10})});let Ji=(e,t,i,a,l)=>{for(let o=t;o<t+a;o++)for(let t=i;t<i+l;t++){let i=e?.[t];i&&i[o]&&(i[o]=0)}return e},Ki=({x:e,y:t,cellSize:i,bgColor:a,fgColor:l})=>
5
- /*#__PURE__*/s(d,{children:[0,1,2].map((o=>/*#__PURE__*/s("circle",{r:i*(7-2*o)/2,cx:e+7*i/2,cy:t+7*i/2,fill:o%2!=0?a:l},`finder-${e}-${t}-${o}`)))}),Xi=({cellSize:e,matrixSize:t,bgColor:i,fgColor:a})=>/*#__PURE__*/s(d,{children:[[0,0],[(t-7)*e,0],[0,(t-7)*e]].map((([t,l])=>/*#__PURE__*/s(Ki,{x:t,y:l,cellSize:e,bgColor:i,fgColor:a},`finder-${t}-${l}`)))}),qi=({matrix:t,cellSize:i,color:a})=>/*#__PURE__*/s(d,{children:t.map(((t,l)=>t.map(((t,o)=>t?/*#__PURE__*/s("rect",{height:i-.4,width:i-.4,x:l*i+.1*i,y:o*i+.1*i,rx:.5*i,ry:.5*i,fill:a},`cell-${l}-${o}`):/*#__PURE__*/s(e.Fragment,{},`circle-${l}-${o}`)))))}),$i=({cellSize:e,matrixSize:t,element:i,sizePercentage:a,bgColor:l})=>{if(!i)/*#__PURE__*/return s(d,{});let o=t*(a||.14),n=Math.floor(t/2-o/2),r=Math.floor(t/2+o/2);(r-n)%2!=t%2&&(r+=1);let h=(r-n)*e,p=h-.2*h,u=n*e;/*#__PURE__*/return c(d,{children:[/*#__PURE__*/s("rect",{x:n*e,y:n*e,width:h,height:h,fill:l}),/*#__PURE__*/s(i,{x:u+.1*h,y:u+.1*h,height:p,width:p})]})},ea=e=>{let t=e.outputSize,i=((e,t)=>{let i=we.create(e,{errorCorrectionLevel:t}).modules,a=((e,t)=>{let i=e.slice(0),a=[];for(;i.length;)a.push(i.splice(0,t));return a})(Array.from(i.data),i.size);return a=Ji(a,0,0,7,7),a=Ji(a,a.length-7,0,7,7),Ji(a,0,a.length-7,7,7)})(e.url,e.errorCorrectionLevel),a=t/i.length,l=function(e,{min:t,max:i}){return Math.min(Math.max(e,t),i)}(2*a,{min:.025*t,max:.036*t});/*#__PURE__*/return c("svg",{height:e.outputSize,width:e.outputSize,viewBox:`0 0 ${e.outputSize} ${e.outputSize}`,style:{height:"100%",width:"100%",padding:`${l}px`},children:[/*#__PURE__*/s(qi,{matrix:i,cellSize:a,color:e.fgColor}),/*#__PURE__*/s(Xi,{cellSize:a,matrixSize:i.length,fgColor:e.fgColor,bgColor:e.bgColor}),/*#__PURE__*/s($i,{cellSize:a,element:e.logo?.element,bgColor:e.bgColor,matrixSize:i.length})]})},ta=/*#__PURE__*/Q.div.attrs({className:"ph-no-capture"}).withConfig({displayName:"QrContainer",componentId:"sc-597e27f3-0"})(["display:flex;justify-content:center;align-items:center;height:",";width:",";margin:auto;background-color:",";&&{border-width:2px;border-color:",";border-radius:var(--privy-border-radius-md);}"],(e=>`${e.$size}px`),(e=>`${e.$size}px`),(e=>e.$bgColor),(e=>e.$borderColor));const ia=e=>{let{appearance:t}=w(),i=e.bgColor||"#FFFFFF",a=e.fgColor||"#000000",l=e.size||160,o="dark"===t.palette.colorScheme?i:a;/*#__PURE__*/return s(ta,{$size:l,$bgColor:i,$fgColor:a,$borderColor:o,children:/*#__PURE__*/s(ea,{url:e.url,logo:{element:e.squareLogoElement??Gi},outputSize:l,bgColor:i,fgColor:a,errorCorrectionLevel:e.errorCorrectionLevel||"Q"})})},aa=/*#__PURE__*/Q.span.withConfig({displayName:"Rows",componentId:"sc-b764aab6-0"})(["display:flex;flex-direction:column;gap:0.35rem;width:100%;"]),la=/*#__PURE__*/Q.span.withConfig({displayName:"Row",componentId:"sc-b764aab6-1"})(["display:flex;width:100%;justify-content:space-between;gap:0.5rem;"]),oa=e=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 397.7 311.7",enableBackground:"new 0 0 397.7 311.7",xmlSpace:"preserve",...e,children:[/*#__PURE__*/c("linearGradient",{id:"SVGID_1_",gradientUnits:"userSpaceOnUse",x1:"360.8791",y1:"351.4553",x2:"141.213",y2:"-69.2936",gradientTransform:"matrix(1 0 0 -1 0 314)",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#00FFA3"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#DC1FFF"})]}),/*#__PURE__*/s("path",{d:"M64.6,237.9c2.4-2.4,5.7-3.8,9.2-3.8h317.4c5.8,0,8.7,7,4.6,11.1l-62.7,62.7c-2.4,2.4-5.7,3.8-9.2,3.8H6.5 c-5.8,0-8.7-7-4.6-11.1L64.6,237.9z",fill:"url(#SVGID_1_)"}),/*#__PURE__*/c("linearGradient",{id:"SVGID_2_",gradientUnits:"userSpaceOnUse",x1:"264.8291",y1:"401.6014",x2:"45.163",y2:"-19.1475",gradientTransform:"matrix(1 0 0 -1 0 314)",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#00FFA3"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#DC1FFF"})]}),/*#__PURE__*/s("path",{d:"M64.6,3.8C67.1,1.4,70.4,0,73.8,0h317.4c5.8,0,8.7,7,4.6,11.1l-62.7,62.7c-2.4,2.4-5.7,3.8-9.2,3.8H6.5 c-5.8,0-8.7-7-4.6-11.1L64.6,3.8z",fill:"url(#SVGID_2_)"}),/*#__PURE__*/c("linearGradient",{id:"SVGID_3_",gradientUnits:"userSpaceOnUse",x1:"312.5484",y1:"376.688",x2:"92.8822",y2:"-44.061",gradientTransform:"matrix(1 0 0 -1 0 314)",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#00FFA3"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#DC1FFF"})]}),/*#__PURE__*/s("path",{d:"M333.1,120.1c-2.4-2.4-5.7-3.8-9.2-3.8H6.5c-5.8,0-8.7,7-4.6,11.1l62.7,62.7c2.4,2.4,5.7,3.8,9.2,3.8h317.4 c5.8,0,8.7-7,4.6-11.1L333.1,120.1z",fill:"url(#SVGID_3_)"})]});let na={[b.id]:e=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 2500 2500",xmlSpace:"preserve",...e,children:/*#__PURE__*/s("g",{id:"Layer_x0020_1",children:/*#__PURE__*/c("g",{id:"_2405588477232",children:[/*#__PURE__*/s("rect",{fill:"none",width:"2500",height:"2500"}),/*#__PURE__*/s("g",{children:/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{fill:"#213147",d:"M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760 c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z"}),/*#__PURE__*/s("g",{children:/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:"#12AAFF",d:"M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z"})}),/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:"#12AAFF",d:"M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z"})})]})}),/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:"#9DCCED",d:"M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5 s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555 c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719 c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z"})}),/*#__PURE__*/s("polygon",{fill:"#213147",points:"642,2179 727,1947 897,2088 738,2234 "}),/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{fill:"#FFFFFF",d:"M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z"}),/*#__PURE__*/s("path",{fill:"#FFFFFF",d:"M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z"})]})]})})]})})}),[M.id]:e=>/*#__PURE__*/c("svg",{width:"1503",height:"1504",viewBox:"0 0 1503 1504",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{x:"287",y:"258",width:"928",height:"844",fill:"white"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1502.5 752C1502.5 1166.77 1166.27 1503 751.5 1503C336.734 1503 0.5 1166.77 0.5 752C0.5 337.234 336.734 1 751.5 1C1166.27 1 1502.5 337.234 1502.5 752ZM538.688 1050.86H392.94C362.314 1050.86 347.186 1050.86 337.962 1044.96C327.999 1038.5 321.911 1027.8 321.173 1015.99C320.619 1005.11 328.184 991.822 343.312 965.255L703.182 330.935C718.495 303.999 726.243 290.531 736.021 285.55C746.537 280.2 759.083 280.2 769.599 285.55C779.377 290.531 787.126 303.999 802.438 330.935L876.42 460.079L876.797 460.738C893.336 489.635 901.723 504.289 905.385 519.669C909.443 536.458 909.443 554.169 905.385 570.958C901.695 586.455 893.393 601.215 876.604 630.549L687.573 964.702L687.084 965.558C670.436 994.693 661.999 1009.46 650.306 1020.6C637.576 1032.78 622.263 1041.63 605.474 1046.62C590.161 1050.86 573.004 1050.86 538.688 1050.86ZM906.75 1050.86H1115.59C1146.4 1050.86 1161.9 1050.86 1171.13 1044.78C1181.09 1038.32 1187.36 1027.43 1187.92 1015.63C1188.45 1005.1 1181.05 992.33 1166.55 967.307C1166.05 966.455 1165.55 965.588 1165.04 964.706L1060.43 785.75L1059.24 783.735C1044.54 758.877 1037.12 746.324 1027.59 741.472C1017.08 736.121 1004.71 736.121 994.199 741.472C984.605 746.453 976.857 759.552 961.544 785.934L857.306 964.891L856.949 965.507C841.69 991.847 834.064 1005.01 834.614 1015.81C835.352 1027.62 841.44 1038.5 851.402 1044.96C860.443 1050.86 875.94 1050.86 906.75 1050.86Z",fill:"#E84142"})]}),[x.id]:e=>/*#__PURE__*/c("svg",{width:"146",height:"146",viewBox:"0 0 146 146",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("circle",{cx:"73",cy:"73",r:"73",fill:"#0052FF"}),/*#__PURE__*/s("path",{d:"M73.323 123.729C101.617 123.729 124.553 100.832 124.553 72.5875C124.553 44.343 101.617 21.4463 73.323 21.4463C46.4795 21.4463 24.4581 42.0558 22.271 68.2887H89.9859V76.8864H22.271C24.4581 103.119 46.4795 123.729 73.323 123.729Z",fill:"white"})]}),[N.id]:e=>/*#__PURE__*/c("svg",{fill:"none",height:"400",viewBox:"0 0 400 400",width:"400",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("path",{d:"m0 0h400v400h-400z",fill:"#fcff52"}),/*#__PURE__*/s("path",{d:"m300 100h-200v200h199.996v-69.813h-33.191c-11.442 25.468-37.194 43.206-66.665 43.206-40.63 0-73.533-33.187-73.533-73.533s32.903-73.249 73.533-73.249c30.043 0 55.795 18.313 67.24 44.349h32.62z",fill:"#000"})]}),[I.id]:e=>/*#__PURE__*/c("svg",{width:"200",height:"208",viewBox:"0 0 200 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{width:"199.4",height:"207.623",fill:"#121212"}),/*#__PURE__*/c("g",{"clip-path":"url(#clip0_2303_643)",children:[/*#__PURE__*/s("path",{d:"M132.369 155.99H49.7001V68.8854H68.6148V139.109H132.369V155.981V155.99Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M132.369 85.7575C141.687 85.7575 149.241 78.2036 149.241 68.8855C149.241 59.5673 141.687 52.0134 132.369 52.0134C123.05 52.0134 115.497 59.5673 115.497 68.8855C115.497 78.2036 123.05 85.7575 132.369 85.7575Z",fill:"white"})]}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/s("clipPath",{id:"clip0_2303_643",children:/*#__PURE__*/s("rect",{width:"99.5407",height:"103.977",fill:"white",transform:"translate(49.7001 52.0134)"})})})]}),[D.id]:e=>/*#__PURE__*/c("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 327.5 533.3",enableBackground:"new 0 0 327.5 533.3;",xmlSpace:"preserve",...e,children:[/*#__PURE__*/s("path",{fill:"#8492B2",d:"M163.7,197.2V0L0,271.6L163.7,197.2z"}),/*#__PURE__*/s("path",{fill:"#62688F",d:"M163.7,368.4V197.2L0,271.6L163.7,368.4z M163.7,197.2l163.7,74.4L163.7,0V197.2z"}),/*#__PURE__*/s("path",{fill:"#454A75",d:"M163.7,197.2v171.2l163.7-96.8L163.7,197.2z"}),/*#__PURE__*/s("path",{fill:"#8492B2",d:"M163.7,399.4L0,302.7l163.7,230.7V399.4z"}),/*#__PURE__*/s("path",{fill:"#62688F",d:"M327.5,302.7l-163.8,96.7v134L327.5,302.7z"})]}),[L.id]:e=>/*#__PURE__*/c("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("circle",{cx:"250",cy:"250",r:"250",fill:"#FF0420"}),/*#__PURE__*/s("path",{d:"M177.133 316.446C162.247 316.446 150.051 312.943 140.544 305.938C131.162 298.808 126.471 288.676 126.471 275.541C126.471 272.789 126.784 269.411 127.409 265.408C129.036 256.402 131.35 245.581 134.352 232.947C142.858 198.547 164.812 181.347 200.213 181.347C209.845 181.347 218.476 182.973 226.107 186.225C233.738 189.352 239.742 194.106 244.12 200.486C248.498 206.74 250.688 214.246 250.688 223.002C250.688 225.629 250.375 228.944 249.749 232.947C247.873 244.08 245.621 254.901 242.994 265.408C238.616 282.546 231.048 295.368 220.29 303.874C209.532 312.255 195.147 316.446 177.133 316.446ZM179.76 289.426C186.766 289.426 192.707 287.362 197.586 283.234C202.59 279.106 206.155 272.789 208.281 264.283C211.158 252.524 213.348 242.266 214.849 233.51C215.349 230.883 215.599 228.194 215.599 225.441C215.599 214.058 209.657 208.366 197.774 208.366C190.768 208.366 184.764 210.43 179.76 214.558C174.882 218.687 171.379 225.004 169.253 233.51C167.001 241.891 164.749 252.149 162.498 264.283C161.997 266.784 161.747 269.411 161.747 272.163C161.747 283.672 167.752 289.426 179.76 289.426Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M259.303 314.57C257.927 314.57 256.863 314.132 256.113 313.256C255.487 312.255 255.3 311.13 255.55 309.879L281.444 187.914C281.694 186.538 282.382 185.412 283.508 184.536C284.634 183.661 285.822 183.223 287.073 183.223H336.985C350.87 183.223 362.003 186.1 370.384 191.854C378.891 197.609 383.144 205.927 383.144 216.81C383.144 219.937 382.769 223.19 382.018 226.567C378.891 240.953 372.574 251.586 363.067 258.466C353.685 265.346 340.8 268.786 324.413 268.786H299.082L290.451 309.879C290.2 311.255 289.512 312.38 288.387 313.256C287.261 314.132 286.072 314.57 284.822 314.57H259.303ZM325.727 242.892C330.98 242.892 335.546 241.453 339.424 238.576C343.427 235.699 346.054 231.571 347.305 226.192C347.68 224.065 347.868 222.189 347.868 220.563C347.868 216.935 346.805 214.183 344.678 212.307C342.551 210.305 338.924 209.305 333.795 209.305H311.278L304.148 242.892H325.727Z",fill:"white"})]}),[T.id]:e=>/*#__PURE__*/c("svg",{width:"360",height:"360",viewBox:"0 0 360 360",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{width:"360",height:"360",rx:"180",fill:"#6C00F6"}),/*#__PURE__*/s("path",{d:"M157.743 154.241L141.052 144.58L90.9766 173.561V231.519L141.052 260.5L191.13 231.519V141.359L218.948 125.26L246.77 141.359V173.561L218.948 189.66L202.257 180.002V205.759L218.948 215.42L269.024 186.439V128.481L218.948 99.5L168.873 128.481V218.641L141.052 234.74L113.233 218.641V186.439L141.052 170.34L157.743 179.998V154.241Z",fill:"white"})]}),[k.id]:e=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",...e,children:[/*#__PURE__*/s("g",{clipPath:"url(#clip0)",children:/*#__PURE__*/s("g",{clipPath:"url(#clip1)",children:/*#__PURE__*/s("path",{d:"M14.9188 29.8373C6.67944 29.8373 0.00012207 23.1581 0.00012207 14.9187C0.00012207 6.67931 6.67944 0 14.9188 0C23.1581 0 29.8373 6.67931 29.8373 14.9187C29.8373 23.1581 23.1581 29.8373 14.9188 29.8373Z",fill:"url(#paint0)"})})}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("radialGradient",{id:"paint0",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(21.6921 8.02215) rotate(180) scale(25.2008)",children:[/*#__PURE__*/s("stop",{offset:"0.00682297",stopColor:"#F2CEFE"}),/*#__PURE__*/s("stop",{offset:"0.1913",stopColor:"#AFBAF1"}),/*#__PURE__*/s("stop",{offset:"0.4982",stopColor:"#4281D3"}),/*#__PURE__*/s("stop",{offset:"0.666667",stopColor:"#2E427D"}),/*#__PURE__*/s("stop",{offset:"0.822917",stopColor:"#230101"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8F6B40"})]}),/*#__PURE__*/s("clipPath",{id:"clip0",children:/*#__PURE__*/s("rect",{width:"30",height:"30",fill:"white"})}),/*#__PURE__*/s("clipPath",{id:"clip1",children:/*#__PURE__*/s("rect",{width:"30",height:"30",fill:"white"})})]})]})};const ra=({chainId:e,...t})=>{if("solana"===e)/*#__PURE__*/return s(oa,{...t});let i=na[e];/*#__PURE__*/return s(i||me,{...t})};let sa=new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:2}),ca=e=>sa.format(e);const da=(e,t)=>{let i=ca(t*parseFloat(e));return"$0.00"!==i?i:"<$0.01"},ha=(e,t)=>{let i=ca(t*parseFloat(oe(e)));return"$0.00"===i?"<$0.01":i},pa=(e,t,i=6,a=!1)=>`${ua(e,i,a)} ${t}`,ua=(e,t=6,i=!1)=>{let a=parseFloat(oe(e)).toFixed(t).replace(/0+$/,"").replace(/\.$/,"");return i?a:`${"0"===a?"<0.001":a}`},ga=e=>e.reduce(((e,t)=>e+t),0n),wa=(e,t)=>{let{chains:i}=X(),a=`https://etherscan.io/address/${t}`,l=`${((e,t)=>{let i=Number(e),a=t.find((e=>e.id===i));if(!a)throw new Z(`Unsupported chainId ${e}`,4901);return a.blockExplorers?.default.url})(e,i)}/address/${t}`;if(!l)return a;try{new URL(l)}catch{return a}return l};let ma=2n**256n-1n;const fa=({amount:e,decimals:t})=>e===ma?"Maximum":Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(Number(e)/10**t),Ca=async({chain:e,address:t,appId:i,rpcConfig:a,erc20Address:l})=>{let o=ne({chain:e,transport:re(fe(e,a,i))});return{balance:await o.readContract({address:l,abi:ya,functionName:"balanceOf",args:[t]}).catch((()=>0n)),chain:e}};let ya=[{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"}];const va=({...e})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[/*#__PURE__*/s("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),/*#__PURE__*/s("path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2"}),/*#__PURE__*/s("path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21"})]}),Aa=async({address:e,chain:t,rpcConfig:i,privyAppId:a})=>{try{let l=ne({chain:t,transport:re(fe(t,i,a))}),[o,n]=await Promise.all([l.readContract({abi:ba,address:e,functionName:"symbol"}),l.readContract({abi:ba,address:e,functionName:"decimals"})]);return{decimals:n,symbol:o}}catch(e){return console.log(e),null}};let ba=[{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}];function Ma({rpcConfig:e,appId:t,address:l,chain:o}){let{chains:s}=X(),[c,d]=i(0n),[h,p]=i(!1),u=a((()=>{let i=o||s[0];if(i)return ne({chain:o,transport:re(fe(i,e,t))})}),[o,e,t]),g=r((async()=>{if(!l||!u)return;p(!0);let e=await u.getBalance({address:l}).catch(console.error);return e?(d(e),p(!1),e):void 0}),[u,l,d]);return n((()=>{g().catch(console.error)}),[]),{balance:c,isLoading:h,reloadBalance:g}}let xa=/*#__PURE__*/Q.label.withConfig({displayName:"BaseEmailForm",componentId:"sc-d081b0e2-0"})(["display:block;position:relative;width:100%;> svg{position:absolute;margin:13px 17px;height:24px;width:24px;color:var(--privy-color-foreground-3);}&& > input{background-color:#f00;font-size:16px;line-height:24px;padding:12px 88px 12px 52px;flex-grow:1;background:var(--privy-color-background);border:1px solid ",";border-radius:var(--privy-border-radius-mdlg);width:100%;@media (min-width:441px){font-size:14px;padding-right:78px;}:focus{outline:none;border-color:",";box-shadow:",";}:autofill,:-webkit-autofill{background:var(--privy-color-background);}&& > input::placeholder{color:var(--privy-color-foreground-3);}&:disabled{opacity:0.4;cursor:not-allowed;}&:disabled,&:disabled:hover,&:disabled > span{color:var(--privy-color-foreground-3);}}&& > button:last-child{right:0px;line-height:24px;padding:13px 17px;:focus{outline:none;}&:disabled{opacity:0.4;cursor:not-allowed;}&:disabled,&:disabled:hover,&:disabled > span{color:var(--privy-color-foreground-3);}}"],(({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)"),(({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-accent-light)"),(({$error:e})=>e?"none":"0 0 0 1px var(--privy-color-accent-light)"));const Na=/*#__PURE__*/Q(xa).withConfig({displayName:"EmailUpdateForm",componentId:"sc-d081b0e2-1"})(["background-color:var(--privy-color-background);transition:background-color 200ms ease;&& > button{right:0;line-height:24px;position:absolute;padding:13px 17px;background-color:#090;:focus{outline:none;border-color:var(--privy-color-accent);}}"]),Ia=/*#__PURE__*/Q(xa).withConfig({displayName:"EmailInputForm",componentId:"sc-d081b0e2-2"})(["&& > input{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:",";border:1px solid ",";&& > input::placeholder{color:var(--privy-color-foreground-3);}}&& > :last-child{right:16px;position:absolute;top:50%;transform:translate(0,-50%);}&& > button:last-child{right:0px;line-height:24px;padding:13px 17px;:focus{outline:none;}}"],(e=>e.stacked?"16px":"88px"),(({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)")),Da=/*#__PURE__*/Q.div.withConfig({displayName:"InputContainerForm",componentId:"sc-d081b0e2-3"})(["width:100%;&& > ","{display:block;text-align:left;padding-left:var(--privy-border-radius-mdlg);padding-bottom:5px;}"],Ri);function La(e){let{login:t}=l(A);return U("login",e),{login:t}}function Ta(e){let{connectWallet:t}=l(A);return U("connectWallet",e),{connectWallet:t}}const ka=e=>{U("fundWallet",e);let{fundWallet:t}=X();return{fundWallet:t}},Sa=Ce((()=>({isModalOpen:!1,resolvers:null})));let Ea=ve((()=>({})),ye);const Oa=(e,t)=>Ea((i=>i[e]?.[t])),ja=(e,t,i)=>{Ea.setState((a=>({...a,[e]:{...a[e],[t]:i}})))},za=()=>{let e=Sa.getState().resolvers;e||console.warn("useActiveWalletStore: Called close while modal was not open"),Sa.setState({isModalOpen:!1}),e?.resolve({wallet:Sa.getState().wallet})},Ba=({address:e,client:t,appId:i})=>{let a=`${t}:${e}`;i&&O.put(Fa(i),a),Sa.setState({wallet:a})},Ua=()=>Sa((e=>e.isModalOpen)),Fa=e=>`privy:${e}:active-wallet-connection`,Wa=()=>{let e=w(),{wallets:t}=S(),{wallets:i}=R(),l=Sa((e=>e.wallet));n((()=>{if(!e.id)return;let t=O.get(Fa(e.id));Sa.setState({wallet:t})}),[e.id]);let o=a((()=>{if(!l)return;let[,e]=l.split(":");return t.find((t=>t.address===e))||i.find((t=>t.address===e))}),[l,t,i]),r=a((()=>o?"ethereum"===o.type?o.chainId:"solana":void 0),[o]);return{connect:async a=>{a?.reset&&(O.del(Fa(e.id)),Sa.setState({wallet:void 0}));let{wallet:l}=await(async()=>{let e,t,i=new Promise(((i,a)=>{e=i,t=a}));return Ea.setState({}),Sa.setState({isModalOpen:!0,resolvers:{resolve:e,reject:t}}),await i})();if(!l)return{};let[,o]=l.split(":"),n=t.find((e=>e.address===o));if(n)return{wallet:n,network:n.chainId};let r=i.find((e=>e.address===o));return r?{wallet:r,network:"solana"}:{}},wallet:o,network:r}};export{ke as $,qt as A,rt as B,Ke as C,xi as D,ot as E,pi as F,Ai as G,si as H,Ie as I,Mi as J,Ui as K,Oi as L,st as M,Fi as N,ut as O,nt as P,gi as Q,Ze as R,wt as S,Jt as T,wi as U,fi as V,Ct as W,Hi as X,di as Y,Vi as Z,Zi as _,et as a,Wi as a$,ti as a0,ai as a1,Nt as a2,mi as a3,Ci as a4,Yi as a5,ri as a6,ci as a7,ia as a8,At as a9,Da as aA,Ia as aB,xe as aC,wa as aD,ui as aE,Bt as aF,Ut as aG,ua as aH,Na as aI,Tt as aJ,ji as aK,yt as aL,Te as aM,Ge as aN,Ve as aO,Xe as aP,Di as aQ,je as aR,it as aS,La as aT,Ta as aU,ka as aV,Wa as aW,ft as aX,Ba as aY,Oa as aZ,ja as a_,vi as aa,_i as ab,ra as ac,Qi as ad,Mt as ae,la as af,pa as ag,Ri as ah,Dt as ai,aa as aj,Ca as ak,da as al,ha as am,fa as an,ga as ao,De as ap,bt as aq,$e as ar,hi as as,Aa as at,va as au,Ma as av,ni as aw,Ot as ax,Ne as ay,jt as az,at as b,Ua as b0,za as b1,ct as c,dt as d,mt as e,ht as f,Be as g,pt as h,gt as i,Oe as j,lt as k,tt as l,Ye as m,Rt as n,He as o,It as p,Kt as q,St as r,oi as s,Ee as t,qe as u,vt as v,Xt as w,Si as x,Me as y,Ni as z};
1
+ import e,{useRef as t,useState as i,useMemo as a,useContext as l,createContext as o,useEffect as n,useCallback as r}from"react";import{jsx as s,jsxs as c,Fragment as d}from"react/jsx-runtime";import{a as h,ag as p,ah as u,u as g,q as m,w,x as f,r as C,M as y,s as v,Z as A,Y as b,ai as M,T as x,aj as N,ak as I,Q as D,U as L,X as T,al as k,E as S}from"./useWallets-0lCjD0UF.mjs";import{W as E,i as O,f as j,w as z,U as B,u as U,C as F,P as W,d as R}from"./prepareFundingModalData-CFokVw8r.mjs";import{isMobile as P}from"react-device-detect";import{styled as _,css as Q,keyframes as H}from"styled-components";import{b as Z,P as V,f as Y,j as G,a as J,n as K,u as X,g as q}from"./internal-context-DBDJ7qsa.mjs";import $ from"@heroicons/react/24/outline/ArrowLeftIcon";import ee from"@heroicons/react/24/outline/ArrowRightIcon";import te from"@heroicons/react/24/outline/QuestionMarkCircleIcon";import ie from"@heroicons/react/24/outline/XMarkIcon";import{isHex as ae,getAddress as le,formatEther as oe,createPublicClient as ne,http as re}from"viem";import{EthereumProvider as se,OPTIONAL_EVENTS as ce,OPTIONAL_METHODS as de}from"@walletconnect/ethereum-provider";import{getAddress as he,toHex as pe}from"viem/utils";import ue from"@heroicons/react/24/outline/CheckIcon";import ge from"@heroicons/react/24/outline/Square2StackIcon";import me from"qrcode";import we from"@heroicons/react/24/outline/GlobeAltIcon";import{a as fe}from"./getPublicClient-BghjDv1y.mjs";import{create as Ce}from"zustand";import{shallow as ye}from"zustand/shallow";import{createWithEqualityFn as ve}from"zustand/traditional";const Ae=e=>e.isApexWallet?"Apex Wallet":e.isAvalanche?"Core Wallet":e.isBackpack?"Backpack":e.isBifrost?"Bifrost Wallet":e.isBitKeep?"BitKeep":e.isBitski?"Bitski":e.isBlockWallet?"BlockWallet":e.isBraveWallet?"Brave Wallet":e.isClover?"Clover":e.isCoin98?"Coin98 Wallet":e.isCoinbaseWallet?"Coinbase Wallet":e.isDawn?"Dawn Wallet":e.isDefiant?"Defiant":e.isDesig?"Desig Wallet":e.isEnkrypt?"Enkrypt":e.isExodus?"Exodus":e.isFordefi?"Fordefi":e.isFrame?"Frame":e.isFrontier?"Frontier Wallet":e.isGamestop?"GameStop Wallet":e.isHaqqWallet?"HAQQ Wallet":e.isHyperPay?"HyperPay Wallet":e.isImToken?"ImToken":e.isHaloWallet?"Halo Wallet":e.isKuCoinWallet?"KuCoin Wallet":e.isMathWallet?"MathWallet":e.isNovaWallet?"Nova Wallet":e.isOkxWallet||e.isOKExWallet?"OKX Wallet":e.isOneInchIOSWallet||e.isOneInchAndroidWallet?"1inch Wallet":e.isOneKey?"OneKey Wallet":e.isOpera?"Opera":e.isPhantom||"isPhantom"in e?"Phantom":e.isPortal?"Ripio Portal":e.isRabby?"Rabby Wallet":e.isRainbow?"Rainbow":e.isSafePal?"SafePal Wallet":e.isStatus?"Status":e.isSubWallet?"SubWallet":e.isTalisman?"Talisman":e.isTally||e.isTaho?"Taho":e.isTokenPocket?"TokenPocket":e.isTokenary?"Tokenary":e.isTrust||e.isTrustWallet?"Trust Wallet":e.isTTWallet?"TTWallet":e.isXDEFI?"XDEFI Wallet":e.isZeal?"Zeal":e.isZerion?"Zerion":e.isMetaMask?"MetaMask":void 0,be=(e,t)=>{if(!e.isMetaMask)return!1;if(e.isMetaMask&&!t)return!0;if(e.isBraveWallet&&!e._events&&!e._state||"MetaMask"!==Ae(e))return!1;if(e.providers)for(let t of e.providers)if(!be(t))return!1;return!0},Me=()=>{let e=window;if(!e.ethereum)return!1;if(e.ethereum.isCoinbaseWallet)return!0;if(e.ethereum.providers)for(let t of e.ethereum.providers)if(t&&t.isCoinbaseWallet)return!0;return!1},xe=(e,t)=>{let i=[],a=[];for(let[l,o]of e.entries())l<t?i.push(o):a.push(o);return[i,a]},Ne=e=>!!String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),Ie=(e,t=3,i=4,a="ethereum")=>{if(!e)return"";let l="ethereum"===a?2:0;return t+i+l+3>=e.length?e:`${e.slice(0,l+t)}...${e.slice(e.length-i,e.length)}`},De=(e,t=3,i=4)=>Ie(e,t,i,"solana"),Le=e=>new Promise((t=>setTimeout(t,e)));const Te=(e,t={})=>{let i=t.delayMs||150,a=t.maxAttempts||270;return new Promise((async(l,o)=>{let n=!1,r=0;for(;!n&&r<a;){if(t.abortSignal?.aborted)return;e().then((e=>{n=!0,l(e)}),((...e)=>{n=!0,o(...e)})),r+=1,await Le(i)}n||o(Error("Exceeded max attempts before resolving function"))}))},ke=(e,t,i={},a={})=>{let l=new URL(t,e);for(let[e,t]of Object.entries(i))void 0!==t&&l.searchParams.set(e,t);let o=Object.entries(a);if(o.length>0){let e=new URLSearchParams;for(let[t,i]of o)e.append(t,i);l.hash=e.toString()}return l.href},Se=e=>e.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g,""),Ee=e=>"string"==typeof e?e:"0x"+e.toString(16);async function Oe({store:e,walletList:t,externalWalletConfig:i,walletChainType:a,timeout:l=3e3}){let o=!1,n=window;return new Promise((r=>{function s(){if(o)return;o=!0,window.removeEventListener("ethereum#initialized",s);let l=e.getProviders();console.debug("Detected injected providers:",l.map((e=>e.info)));let n=[];for(let e of l)t.includes("coinbase_wallet")&&"com.coinbase.wallet"===e.info.rdns||"solana-only"===a&&"app.phantom"===e.info.rdns||n.push({type:e.info.name.toLowerCase().replace(/\s/g,"_"),eip6963InjectedProvider:e});if("solana-only"!==a)for(let e of function(){let e=window,t=e.ethereum;if(!t)return[];let i=[];if(t.providers?.length)for(let e of t.providers)e&&i.push(e);return i.push(e.ethereum),i}()){let t=Ae(e);if(!l.some((e=>e.info.name===t))){if(be(e,!0)&&!n.find((e=>"metamask"===e.type))){n.push({type:"metamask",legacyInjectedProvider:e});continue}if("Phantom"===t&&!n.find((e=>"phantom"===e.type))){n.push({type:"phantom",legacyInjectedProvider:e});continue}if("Coinbase Wallet"===t&&!n.find((e=>"coinbase_wallet"===e.type&&"smartWalletOnly"!==i.coinbaseWallet?.connectionOptions))){n.push({type:"coinbase_wallet",legacyInjectedProvider:e});continue}n.find((e=>"unknown_browser_extension"===e.type))||n.push({type:"unknown_browser_extension",legacyInjectedProvider:e})}}r(n)}n.ethereum?s():(window.addEventListener("ethereum#initialized",s,{once:!0}),setTimeout((()=>{s()}),l))}))}function je(e){return`eip155:${String(Number(e))}`}const ze=(e,t,i,a)=>{let l=Number(e),o=t.find((e=>e.id===l));if(!o)throw new Z(`Unsupported chainId ${e}`,4901);return fe(o,i,a)},Be=e=>{let t={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},i=e.types.EIP712Domain??Object.entries(e.domain).map((([e,i])=>{if(null!=i&&"string"==typeof e&&e in t)return{name:e,type:t[e]}})).filter((e=>void 0!==e));return{...e,types:{...e.types,EIP712Domain:i}}};const Ue=e=>{let t;try{t=new URL(e).hostname}catch(e){return}for(let[e,i]of Object.entries(Fe))if(t.includes(i.hostname))return{walletClientType:e,entry:i}},Fe={metamask:{id:"c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96",displayName:"MetaMask",hostname:"metamask.io",mobile:{native:"metamask://",universal:"https://metamask.app.link"}},trust:{id:"4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0",displayName:"Trust",hostname:"trustwallet.com",mobile:{universal:"https://link.trustwallet.com"}},safe:{id:"225affb176778569276e484e1b92637ad061b01e13a048b35a9d280c3b58970f",displayName:"Safe",hostname:"safe.global",mobile:{universal:"https://app.safe.global/"}},rainbow:{id:"1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369",displayName:"Rainbow",hostname:"rainbow.me",mobile:{native:"rainbow://",universal:"https://rnbwapp.com"}},uniswap:{id:"c03dfee351b6fcc421b4494ea33b9d4b92a984f87aa76d1663bb28705e95034a",displayName:"Uniswap",hostname:"uniswap.org",mobile:{universal:"https://uniswap.org/app",native:"uniswap://"}},zerion:{id:"ecc4036f814562b41a5268adc86270fba1365471402006302e70169465b7ac18",displayName:"Zerion",hostname:"zerion.io",mobile:{native:"zerion://",universal:"https://wallet.zerion.io"}},argent:{id:"bc949c5d968ae81310268bf9193f9c9fb7bb4e1283e1284af8f2bd4992535fd6",displayName:"Argent",hostname:"www.argent.xyz",mobile:{universal:"https://www.argent.xyz/app"}},spot:{id:"74f8092562bd79675e276d8b2062a83601a4106d30202f2d509195e30e19673d",displayName:"Spot",hostname:"www.spot-wallet.com",mobile:{universal:"https://spot.so"}},omni:{id:"afbd95522f4041c71dd4f1a065f971fd32372865b416f95a0b1db759ae33f2a7",displayName:"Omni",hostname:"omni.app",mobile:{universal:"https://links.omni.app"}},cryptocom:{id:"f2436c67184f158d1beda5df53298ee84abfc367581e4505134b5bcf5f46697d",displayName:"Crypto.com",hostname:"crypto.com",mobile:{universal:"https://wallet.crypto.com",native:"dfw://"}},blockchain:{id:"84b43e8ddfcd18e5fcb5d21e7277733f9cccef76f7d92c836d0e481db0c70c04",displayName:"Blockchain",hostname:"www.blockchain.com",mobile:{universal:"https://www.blockchain.com"}},safepal:{id:"0b415a746fb9ee99cce155c2ceca0c6f6061b1dbca2d722b3ba16381d0562150",displayName:"SafePal",hostname:"safepal.com",mobile:{universal:"https://link.safepal.io"}},bitkeep:{id:"38f5d18bd8522c244bdd70cb4a68e0e718865155811c043f052fb9f1c51de662",displayName:"BitKeep",hostname:"bitkeep.com",mobile:{universal:"https://bkapp.vip"}},zengo:{id:"9414d5a85c8f4eabc1b5b15ebe0cd399e1a2a9d35643ab0ad22a6e4a32f596f0",displayName:"ZenGo",hostname:"zengo.com",mobile:{universal:"https://get.zengo.com/"}},"1inch":{id:"c286eebc742a537cd1d6818363e9dc53b21759a1e8e5d9b263d0c03ec7703576",displayName:"1inch",hostname:"wallet.1inch.io",mobile:{universal:"https://wallet.1inch.io/wc/"}},binance:{id:"8a0ee50d1f22f6651afcae7eb4253e52a3310b90af5daef78a8c4929a9bb99d4",displayName:"Binance",hostname:"www.binance.com",mobile:{universal:"https://app.binance.com/cedefi"}},exodus:{id:"e9ff15be73584489ca4a66f64d32c4537711797e30b6660dbcb71ea72a42b1f4",displayName:"Exodus",hostname:"exodus.com",mobile:{universal:"https://exodus.com/m"}},mew_wallet:{id:"f5b4eeb6015d66be3f5940a895cbaa49ef3439e518cd771270e6b553b48f31d2",displayName:"MEW wallet",hostname:"mewwallet.com",mobile:{universal:"https://mewwallet.com"}},alphawallet:{id:"138f51c8d00ac7b9ac9d8dc75344d096a7dfe370a568aa167eabc0a21830ed98",displayName:"AlphaWallet",hostname:"alphawallet.com",mobile:{universal:"https://aw.app"}},keyring_pro:{id:"47bb07617af518642f3413a201ec5859faa63acb1dd175ca95085d35d38afb83",displayName:"KEYRING PRO",hostname:"keyring.app",mobile:{universal:"https://keyring.app/"}},mathwallet:{id:"7674bb4e353bf52886768a3ddc2a4562ce2f4191c80831291218ebd90f5f5e26",displayName:"MathWallet",hostname:"mathwallet.org",mobile:{universal:"https://www.mathwallet.org"}},unstoppable:{id:"8308656f4548bb81b3508afe355cfbb7f0cb6253d1cc7f998080601f838ecee3",displayName:"Unstoppable",hostname:"unstoppabledomains.com",mobile:{universal:"https://unstoppabledomains.com/mobile"}},obvious:{id:"031f0187049b7f96c6f039d1c9c8138ff7a17fd75d38b34350c7182232cc29aa",displayName:"Obvious",hostname:"obvious.technology",mobile:{universal:"https://wallet.obvious.technology"}},ambire:{id:"2c81da3add65899baeac53758a07e652eea46dbb5195b8074772c62a77bbf568",displayName:"Ambire",hostname:"www.ambire.com",mobile:{universal:"https://mobile.ambire.com"}},internet_money_wallet:{id:"dd43441a6368ec9046540c46c5fdc58f79926d17ce61a176444568ca7c970dcd",displayName:"Internet Money Wallet",hostname:"internetmoney.io",mobile:{universal:"https://internetmoney.io"}},coin98:{id:"2a3c89040ac3b723a1972a33a125b1db11e258a6975d3a61252cd64e6ea5ea01",displayName:"Coin98",hostname:"coin98.com",mobile:{universal:"https://coin98.services"}},abc_wallet:{id:"b956da9052132e3dabdcd78feb596d5194c99b7345d8c4bd7a47cabdcb69a25f",displayName:"ABC Wallet",hostname:"myabcwallet.io",mobile:{universal:"https://abcwalletconnect.page.link"}},arculus_wallet:{id:"0e4915107da5b3408b38e248f7a710f4529d54cd30e9d12ff0eb886d45c18e92",displayName:"Arculus Wallet",hostname:"www.getarculus.com",mobile:{universal:"https://gw.arculus.co/app"}},haha:{id:"719bd888109f5e8dd23419b20e749900ce4d2fc6858cf588395f19c82fd036b3",displayName:"HaHa",hostname:"www.haha.me",mobile:{universal:"https://haha.me"}},cling_wallet:{id:"942d0e22a7e6b520b0a03abcafc4dbe156a1fc151876e3c4a842f914277278ef",displayName:"Cling Wallet",hostname:"clingon.io",mobile:{universal:"https://cling.carrieverse.com/apple-app-site-association"}},broearn:{id:"8ff6eccefefa7506339201bc33346f92a43118d6ff7d6e71d499d8187a1c56a2",displayName:"Broearn",hostname:"www.broearn.com",mobile:{universal:"https://www.broearn.com/link/wallet/"}},copiosa:{id:"07f99a5d9849bb049d74830012b286f8b238e72b0337933ef22b84947409db80",displayName:"Copiosa",hostname:"copiosa.io",mobile:{universal:"https://copiosa.io/action/"}},burrito_wallet:{id:"8821748c25de9dbc4f72a691b25a6ddad9d7df12fa23333fd9c8b5fdc14cc819",displayName:"Burrito Wallet",hostname:"burritowallet.com",mobile:{universal:"https://burritowallet.com/wc?uri="}},enjin_wallet:{id:"bdc9433ffdaee55d31737d83b931caa1f17e30666f5b8e03eea794bac960eb4a",displayName:"Enjin Wallet",hostname:"enjin.io",mobile:{universal:"https://deeplink.wallet.enjin.io/"}},plasma_wallet:{id:"cbe13eb482c76f1fa401ff4c84d9acd0b8bc9af311ca0620a0b192fb28359b4e",displayName:"Plasma Wallet",hostname:"plasma-wallet.com",mobile:{universal:"https://plasma-wallet.com"}},avacus:{id:"94f785c0c8fb8c4f38cd9cd704416430bcaa2137f27e1468782d624bcd155a43",displayName:"Avacus",hostname:"avacus.cc",mobile:{universal:"https://avacus.app.link"}},bee:{id:"2cca8c1b0bea04ba37dee4017991d348cdb7b826804ab2bd31073254f345b715",displayName:"Bee",hostname:"www.beewallet.app",mobile:{universal:"https://beewallet.app/wc"}},pitaka:{id:"14e5d957c6eb62d3ee8fc6239703ac2d537d7e3552154836ca0beef775f630bc",displayName:"Pitaka",hostname:"pitaka.io",mobile:{universal:"https://app.pitaka.io"}},pltwallet:{id:"576c90ceaea34f29ff0104837cf2b2e23d201be43be1433feeb18d375430e1fd",displayName:"PLTwallet",hostname:"pltwallet.io",mobile:{universal:"https://pltwallet.io/"}},minerva:{id:"49bb9d698dbdf2c3d4627d66f99dd9fe90bba1eec84b143f56c64a51473c60bd",displayName:"Minerva",hostname:"minerva.digital",mobile:{universal:"https://minerva.digital"}},kryptogo:{id:"19418ecfd44963883e4d6abca1adeb2036f3b5ffb9bee0ec61f267a9641f878b",displayName:"KryptoGO",hostname:"kryptogo.com",mobile:{universal:"https://kryptogo.page.link"}},prema:{id:"5b8e33346dfb2a532748c247876db8d596734da8977905a27b947ba1e2cf465b",displayName:"PREMA",hostname:"premanft.com",mobile:{universal:"https://premanft.com"}},slingshot:{id:"d23de318f0f56038c5edb730a083216ff0cce00c1514e619ab32231cc9ec484b",displayName:"Slingshot",hostname:"slingshot.finance",mobile:{universal:"https://app.slingshot.finance"}},kriptonio:{id:"50df7da345f84e5a79aaf617df5167335a4b6751626df2e8a38f07029b3dde7b",displayName:"Kriptonio",hostname:"kriptonio.com",mobile:{universal:"https://app.kriptonio.com/mobile"}},timeless:{id:"9751385960bca290c13b443155288f892f62ee920337eda8c5a8874135daaea8",displayName:"Timeless",hostname:"timelesswallet.xyz",mobile:{universal:"https://timelesswallet.xyz"}},secux:{id:"6464873279d46030c0b6b005b33da6be5ed57a752be3ef1f857dc10eaf8028aa",displayName:"SecuX",hostname:"secuxtech.com",mobile:{universal:"https://wsweb.secuxtech.com"}},bitizen:{id:"41f20106359ff63cf732adf1f7dc1a157176c9b02fd266b50da6dcc1e9b86071",displayName:"Bitizen",hostname:"bitizen.org",mobile:{universal:"https://bitizen.org/wallet"}},blocto:{id:"14e7176536cb3706e221daaa3cfd7b88b7da8c7dfb64d1d241044164802c6bdd",displayName:"Blocto",hostname:"blocto.io",mobile:{universal:"https://blocto.app"}},safemoon:{id:"a0e04f1086aac204d4ebdd5f985c12ed226cd0006323fd8143715f9324da58d1",displayName:"SafeMoon",hostname:"safemoon.com",mobile:{universal:"https://safemoon.com/wc"}},okx_wallet:{id:"971e689d0a5be527bac79629b4ee9b925e82208e5168b733496a09c0faed0709",displayName:"OKX Wallet",hostname:"okx.com",mobile:{native:"okex://main"}},rabby_wallet:{id:"18388be9ac2d02726dbac9777c96efaac06d744b2f6d580fccdd4127a6d01fd1",displayName:"Rabby Wallet",hostname:"rabby.io",mobile:{}},bybit_wallet:{id:"15c8b91ade1a4e58f3ce4e7a0dd7f42b47db0c8df7e0d84f63eb39bcb96c4e0f",displayName:"Bybit Wallet",hostname:"bybit.com",mobile:{}},ronin_wallet:{id:"541d5dcd4ede02f3afaf75bf8e3e4c4f1fb09edb5fa6c4377ebf31c2785d9adf",displayName:"Ronin",hostname:"wallet.roninchain.com",mobile:{native:"roninwallet://"}}};function We(e){return{name:e.displayName||"",universalLink:e.mobile.universal,deepLink:e.mobile.native}}let Re="WALLETCONNECT_DEEPLINK_CHOICE";function Pe(e){return e.startsWith("http://")||e.startsWith("https://")}function _e(e,t){if(Pe(e))return Qe(e,t);let i=e;return i.includes("://")||(i=e.replaceAll("/","").replaceAll(":",""),i=`${i}://`),i.endsWith("/")||(i=`${i}/`),{redirect:`${i}wc?uri=${encodeURIComponent(t)}`,href:i}}function Qe(e,t){if(!Pe(e))return _e(e,t);let i=e;return i.endsWith("/")||(i=`${i}/`),{redirect:`${i}wc?uri=${encodeURIComponent(t)}`,href:i}}function He(e,t){window.open(e,t,"noreferrer noopener")}class Ze{execute(e){return null===this.promise&&(this.promise=(async()=>{try{return await this.fn(e)}finally{this.promise=null}})()),this.promise}constructor(e){this.promise=null,this.fn=e}}const Ve=({address:e,chainId:t,nonce:i})=>`${window.location.host} wants you to sign in with your Ethereum account:\n${e}\n\nBy signing, you are proving you own this wallet and logging in. This does not initiate a transaction or cost any fees.\n\nURI: ${window.location.origin}\nVersion: 1\nChain ID: ${t}\nNonce: ${i}\nIssued At: ${(new Date).toISOString()}\nResources:\n- https://privy.io`;class Ye{get meta(){return{connectorType:this.wallet.connectorType,walletClientType:this.wallet.walletClientType,chainId:this.wallet.chainId,address:this.wallet.address,disableSignup:this._meta.disableSignup}}async authenticate(){if(!this.client)throw new V("SiweFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.authenticateWithSiweInternal({message:e,signature:t,chainId:this.wallet.chainId,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw Y(e)}}async link(){if(!this.client)throw new V("SiweFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.linkWithSiweInternal({message:e,signature:t,chainId:this.wallet.chainId,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType})}catch(e){throw Y(e)}}async sign(){if(!this.client)throw new V("SiweFlow has no client instance");if(await this.buildMessage(),!this.preparedMessage)throw new V("Could not prepare SIWE message");let e=await this.wallet.sign(this.preparedMessage);return{message:this.preparedMessage,signature:e}}async _getNonceOnce(){if(!this.client)throw new V("SiweFlow has no client instance");return await this.client.generateSiweNonce({address:this.wallet.address,captchaToken:this.captchaToken})}async buildMessage(){if(!this.client)throw new V("SiweFlow has no client instance");let e=this.wallet.address,t=this.wallet.chainId.replace("eip155:","");return this.nonce||(this.nonce=await this.getNonceOnce.execute()),this.preparedMessage=Ve({address:e,chainId:t,nonce:this.nonce}),this.preparedMessage}constructor(e,t,i,a=!1){this._meta={disableSignup:!1},this.getNonceOnce=new Ze(this._getNonceOnce.bind(this)),this.wallet=e,this.captchaToken=i,this.client=t,this._meta.disableSignup=a}}class Ge{get meta(){return{connectorType:this.wallet.connectorType,walletClientType:this.wallet.walletClientType,disableSignup:this._meta.disableSignup}}async authenticate(){if(!this.client)throw new V("SiwsFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.authenticateWithSiwsInternal({message:e,signature:t,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw Y(e)}}async link(){if(!this.client)throw new V("SiwsFlow has no client instance");try{let{message:e,signature:t}=await this.sign();return await this.client.linkWithSiwsInternal({message:e,signature:t,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType})}catch(e){throw Y(e)}}async sign(){if(!this.client)throw new V("SiwsFlow has no client instance");if(await this.buildMessage(),!this.preparedMessage)throw new V("Could not prepare SIWS message");if(!this.wallet.signMessage)throw new V("Wallet does not support signMessage");let e=await this.wallet.signMessage(Buffer.from(this.preparedMessage));return{message:this.preparedMessage,signature:Buffer.from(e).toString("base64")}}async _getNonceOnce(){if(!this.client)throw new V("SiwsFlow has no client instance");return await this.client.generateSiwsNonce({address:this.wallet.address,captchaToken:this.captchaToken})}async buildMessage(){if(!this.client)throw new V("SiwsFlow has no client instance");let e=this.wallet.address;return this.nonce||(this.nonce=await this.getNonceOnce.execute()),this.preparedMessage=(({address:e,nonce:t})=>`${window.location.host} wants you to sign in with your Solana account:\n${e}\n\nYou are proving you own ${e}.\n\nURI: ${window.location.origin}\nVersion: 1\nChain ID: mainnet\nNonce: ${t}\nIssued At: ${(new Date).toISOString()}\nResources:\n- https://privy.io`)({address:e,nonce:this.nonce}),this.preparedMessage}constructor(e,t,i,a=!1){this._meta={disableSignup:!1},this.getNonceOnce=new Ze(this._getNonceOnce.bind(this)),this.wallet=e,this.captchaToken=i,this.client=t,this._meta.disableSignup=a}}const Je=/*#__PURE__*/o({siteKey:"",enabled:!1,appId:void 0,token:void 0,error:void 0,status:"disabled",setToken:K,setError:K,setExecuting:K,waitForResult:()=>Promise.resolve(""),ref:{current:null},remove:K,reset:K,execute:K});class Ke extends G{constructor(e,t,i){super(e||"Captcha failed"),this.type="Captcha",t instanceof Error&&(this.cause=t),this.privyErrorCode=i}}const Xe=({children:e,id:l,captchaSiteKey:o,captchaEnabled:n})=>{let r=t(null),[c,d]=i(),[h,p]=i(),[u,g]=i(!1),m=a((()=>n?u||c||h?!u||c||h?c&&!h?{status:"success",token:c}:h?{status:"error",error:h}:{status:"ready"}:{status:"loading"}:{status:"ready"}:{status:"disabled"}),[n,c,h,u]);/*#__PURE__*/return s(Je.Provider,{value:{...m,ref:r,enabled:n,siteKey:o,appId:l,setToken:d,setError:p,setExecuting:g,remove(){n&&(r.current?.remove(),g(!1),p(void 0),d(void 0))},reset(){n&&(r.current?.reset(),g(!1),p(void 0),d(void 0))},execute(){n&&(g(!0),r.current?.execute())},async waitForResult(){if(!n)return"";try{return await function(e,{interval:t=100,timeout:i=5e3}={}){return new Promise(((a,l)=>{let o,n=0,r=()=>{n>=i?l("Max attempts reached without result"):(o=e(),n+=t,null==o?setTimeout(r,t):a(o))};r()}))}((()=>r.current?.getResponse()),{interval:200,timeout:2e4})}catch(e){throw new Ke("Captcha failed",null,J.CAPTCHA_TIMEOUT)}}},children:e})},qe=()=>l(Je),$e=({style:e,...t})=>/*#__PURE__*/c("svg",{viewBox:"0 0 1024 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"1024",height:"1024",fill:"#0052FF",rx:100,ry:100}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z",fill:"white"})]}),et="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTAyNCAxMDI0JyBmaWxsPSdub25lJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHN0eWxlPSdoZWlnaHQ6MjhweDt3aWR0aDoyOHB4Jz48cmVjdCB3aWR0aD0nMTAyNCcgaGVpZ2h0PScxMDI0JyBmaWxsPScjMDA1MkZGJyByeD0nMTAwJyByeT0nMTAwJz48L3JlY3Q+PHBhdGggZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIGQ9J00xNTIgNTEyQzE1MiA3MTAuODIzIDMxMy4xNzcgODcyIDUxMiA4NzJDNzEwLjgyMyA4NzIgODcyIDcxMC44MjMgODcyIDUxMkM4NzIgMzEzLjE3NyA3MTAuODIzIDE1MiA1MTIgMTUyQzMxMy4xNzcgMTUyIDE1MiAzMTMuMTc3IDE1MiA1MTJaTTQyMCAzOTZDNDA2Ljc0NSAzOTYgMzk2IDQwNi43NDUgMzk2IDQyMFY2MDRDMzk2IDYxNy4yNTUgNDA2Ljc0NSA2MjggNDIwIDYyOEg2MDRDNjE3LjI1NSA2MjggNjI4IDYxNy4yNTUgNjI4IDYwNFY0MjBDNjI4IDQwNi43NDUgNjE3LjI1NSAzOTYgNjA0IDM5Nkg0MjBaJyBmaWxsPSd3aGl0ZSc+PC9wYXRoPjwvc3ZnPg==";function tt(e){return"ethereum"===e.type}function it(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],l=t[i];if(a?.address!==l?.address||a&&l&&tt(a)&&tt(l)&&a?.chainId!==l?.chainId||a?.connectorType!==l?.connectorType||a?.connectedAt!==l?.connectedAt||a?.walletClientType!==l?.walletClientType||a?.isConnected!==l?.isConnected||a?.linked!==l?.linked)return!1}return!0}const at=(e,t)=>e.rpcTimeouts&&e.rpcTimeouts[t]||h;function lt(e){return"ethereum"===e.chainType}class ot extends E{buildConnectedWallet(e,t,i,a){let l=async()=>!!this.wallets.find((t=>he(t.address)===he(e)));return{type:"ethereum",address:he(e),chainId:t,meta:i,imported:a,switchChain:async i=>{let a,o;if(!l)throw new Z("Wallet is not currently connected.");let n=this.wallets.find((t=>he(t.address)===he(e)))?.chainId;if(!n)throw new Z("Unable to determine current chainId.");if("number"==typeof i?(a=`0x${i.toString(16)}`,o=i):(a=i,o=Number(i)),n===je(a))return;let r=this.chains.find((e=>e.id===o));if(!r)throw new Z(`Unsupported chainId: ${i}`);let s=async()=>{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]})};try{return await s()}catch(e){if(((e,t)=>{switch(t){case"coinbase_wallet":return e.message.includes("addEthereumChain");case"rabby_wallet":return e.message.includes("Unrecognized chain ID");default:return 4902===e.code||e.message?.includes("4902")}})(e,this.walletClientType))return"rabby_wallet"===this.walletClientType&&await Le(300),await this.proxyProvider.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:r.name,nativeCurrency:r.nativeCurrency,rpcUrls:[r.rpcUrls.default?.http[0]??""],blockExplorerUrls:[r.blockExplorers?.default.url??""]}]}),s();if("rainbow"===this.walletClientType&&e.message?.includes("wallet_switchEthereumChain"))throw new Z(`Rainbow does not support the chainId ${t}`);throw e}},connectedAt:Date.now(),walletClientType:this.walletClientType,connectorType:this.connectorType,isConnected:l,getEthereumProvider:async()=>{if(!await l())throw new Z("Wallet is not currently connected.");return this.proxyProvider},sign:async e=>{if(!await l())throw new Z("Wallet is not currently connected.");return await this.sign(e)},disconnect:()=>{this.disconnect()}}}async syncAccounts(e){let t,i=e;try{if(void 0===i){let e=await Te((()=>this.proxyProvider.request({method:"eth_accounts"})),{maxAttempts:10,delayMs:500});console.debug(`eth_accounts for ${this.walletClientType}:`,e),Array.isArray(e)&&(i=e)}}catch(e){console.debug("Wallet did not respond to eth_accounts. Defaulting to prefetched accounts.",e)}if(!i||!Array.isArray(i)||i.length<=0||!i[0])return;let a=i[0],l=he(a),o=[];if("privy"===this.walletClientType){let e=O.get(p(l));this.chains.find((t=>t.id===Number(e)))||(O.del(p(l)),e=null),t=e||`0x${this.defaultChain.id.toString(16)}`;try{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})}catch(e){console.warn(`Unable to switch embedded wallet to chain ID ${t} on initialization`)}}else try{let e=await Te((()=>this.proxyProvider.request({method:"eth_chainId"})),{maxAttempts:10,delayMs:500});if(console.debug(`eth_chainId for ${this.walletClientType}:`,e),"string"==typeof e)t=e;else{if("number"!=typeof e)throw Error("Invalid chainId returned from provider");t=`0x${e.toString(16)}`}}catch(e){console.warn(`Failed to get chainId from provider, defaulting to ${u}`,e),t=u}let n=je(t);if(!o.find((e=>he(e.address)===l))){let e={name:this.walletBranding.name,icon:"string"==typeof this.walletBranding.icon?this.walletBranding.icon:void 0,id:this.walletBranding.id};o.push(this.buildConnectedWallet(he(a),n,e,"embedded_imported"===this.connectorType))}it(o,this.wallets)||(this.wallets=o,this.emit("walletsUpdated"))}async getConnectedWallet(){let e=await this.proxyProvider.request({method:"eth_accounts"});return this.wallets.sort(((e,t)=>t.connectedAt-e.connectedAt)).find((t=>e.find((e=>he(e)===he(t.address)))))||null}async isConnected(){let e=await this.proxyProvider.request({method:"eth_accounts"});return Array.isArray(e)&&e.length>0}async sign(e){return await this.connect({showPrompt:!1}),this.proxyProvider.request({method:"personal_sign",params:[pe(e),this.wallets[0]?.address]})}subscribeListeners(){this.proxyProvider.on("accountsChanged",this.onAccountsChanged),this.proxyProvider.on("chainChanged",this.onChainChanged),this.proxyProvider.on("disconnect",this.onDisconnect),this.proxyProvider.on("connect",this.onConnect)}unsubscribeListeners(){this.proxyProvider.removeListener("accountsChanged",this.onAccountsChanged),this.proxyProvider.removeListener("chainChanged",this.onChainChanged),this.proxyProvider.removeListener("disconnect",this.onDisconnect),this.proxyProvider.removeListener("connect",this.onConnect)}constructor(e,t,i,a){super(e),this.chainType="ethereum",this.onAccountsChanged=e=>{0===e.length?this.onDisconnect():this.syncAccounts(e)},this.onChainChanged=e=>{this.wallets.forEach((t=>{t.chainId=je(e),"privy"===this.walletClientType&&O.put(p(t.address),e)})),this.emit("walletsUpdated")},this.onDisconnect=()=>{this.connected=!1,this.wallets=[],this.emit("walletsUpdated")},this.onConnect=()=>{this.connected=!0,this.syncAccounts()},this.wallets=[],this.walletClientType=e,this.chains=t,this.defaultChain=i,this.rpcConfig=a,this.rpcTimeoutDuration=at(a,e),this.connected=!1,this.initialized=!1}}class nt{on(e,t){if(this.walletProvider)return this.walletProvider.on(e,t);this._subscriptions.push({eventName:e,listener:t})}async request(e){if(!this.walletProvider)throw new Z(`A wallet request of type ${e.method} was made before setting a wallet provider.`);return Promise.race([this.walletProvider.request(e),this.walletTimeout()]).catch((e=>{throw j(e)}))}constructor(e,t){this.removeListener=(e,t)=>{if(this.walletProvider)try{return this.walletProvider.removeListener(e,t)}catch(e){console.warn("Unable to remove wallet provider listener")}},this.walletTimeout=(e=new z,t=this.rpcTimeoutDuration)=>new Promise(((i,a)=>setTimeout((()=>{a(e)}),t))),this.setWalletProvider=e=>{this.walletProvider&&this._subscriptions.forEach((e=>{this.removeListener(e.eventName,e.listener)})),this.walletProvider=e,this._subscriptions.forEach((e=>{this.walletProvider?.on(e.eventName,e.listener)}))},this.walletProvider=e,this.rpcTimeoutDuration=t||h,this._subscriptions=[]}}const rt=({style:e,...t})=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1.5,viewBox:"0 0 24 24",style:{...e},...t,children:/*#__PURE__*/s("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})}),st=({style:e,...t})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",x:0,y:0,viewBox:"0 0 318.6 318.6",width:"28",height:"28",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("style",{children:".s1{stroke-linecap:round;stroke-linejoin:round}.s2{fill:#e4761b;stroke:#e4761b}.s3{fill:#f6851b;stroke:#f6851b}"}),/*#__PURE__*/s("path",{fill:"#e2761b",stroke:"#e2761b",className:"s1",d:"m274.1 35.5-99.5 73.9L193 65.8z"}),/*#__PURE__*/s("path",{d:"m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",className:"s1 s2"}),/*#__PURE__*/s("path",{d:"m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",className:"s1 s2"}),/*#__PURE__*/s("path",{fill:"#d7c1b3",stroke:"#d7c1b3",className:"s1",d:"m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"}),/*#__PURE__*/s("path",{fill:"#233447",stroke:"#233447",className:"s1",d:"m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"}),/*#__PURE__*/s("path",{fill:"#cd6116",stroke:"#cd6116",className:"s1",d:"m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"}),/*#__PURE__*/s("path",{fill:"#e4751f",stroke:"#e4751f",className:"s1",d:"m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"}),/*#__PURE__*/s("path",{d:"m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",className:"s3"}),/*#__PURE__*/s("path",{fill:"#c0ad9e",stroke:"#c0ad9e",className:"s1",d:"m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"}),/*#__PURE__*/s("path",{fill:"#161616",stroke:"#161616",className:"s1",d:"m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"}),/*#__PURE__*/s("path",{fill:"#763d16",stroke:"#763d16",className:"s1",d:"m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"}),/*#__PURE__*/s("path",{d:"m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",className:"s3"})]}),ct=({style:e,...t})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"108",height:"108",viewBox:"0 0 108 108",fill:"none",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"108",height:"108",rx:"23",fill:"#AB9FF2"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.5267 69.9229C42.0054 76.8509 34.4292 85.6182 24.348 85.6182C19.5824 85.6182 15 83.6563 15 75.1342C15 53.4305 44.6326 19.8327 72.1268 19.8327C87.768 19.8327 94 30.6846 94 43.0079C94 58.8258 83.7355 76.9122 73.5321 76.9122C70.2939 76.9122 68.7053 75.1342 68.7053 72.314C68.7053 71.5783 68.8275 70.7812 69.0719 69.9229C65.5893 75.8699 58.8685 81.3878 52.5754 81.3878C47.993 81.3878 45.6713 78.5063 45.6713 74.4598C45.6713 72.9884 45.9768 71.4556 46.5267 69.9229ZM83.6761 42.5794C83.6761 46.1704 81.5575 47.9658 79.1875 47.9658C76.7816 47.9658 74.6989 46.1704 74.6989 42.5794C74.6989 38.9885 76.7816 37.1931 79.1875 37.1931C81.5575 37.1931 83.6761 38.9885 83.6761 42.5794ZM70.2103 42.5795C70.2103 46.1704 68.0916 47.9658 65.7216 47.9658C63.3157 47.9658 61.233 46.1704 61.233 42.5795C61.233 38.9885 63.3157 37.1931 65.7216 37.1931C68.0916 37.1931 70.2103 38.9885 70.2103 42.5795Z",f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YuNzgxNiA0Ny45NjU4IDc0LjY5ODkgNDYuMTcwNCA3NC42OTg5IDQyLjU3OTRDNzQuNjk4OSAzOC45ODg1IDc2Ljc4MTYgMzcuMTkzMSA3OS4xODc1IDM3LjE5MzFDODEuNTU3NSAzNy4xOTMxIDgzLjY3NjEgMzguOTg4NSA4My42NzYxIDQyLjU3OTRaTTcwLjIxMDMgNDIuNTc5NUM3MC4yMTAzIDQ2LjE3MDQgNjguMDkxNiA0Ny45NjU4IDY1LjcyMTYgNDcuOTY1OEM2My4zMTU3IDQ3Ljk2NTggNjEuMjMzIDQ2LjE3MDQgNjEuMjMzIDQyLjU3OTVDNjEuMjMzIDM4Ljk4ODUgNjMuMzE1NyAzNy4xOTMxIDY1LjcyMTYgMzcuMTkzMUM2OC4wOTE2IDM3LjE5MzEgNzAuMjEwMyAzOC45ODg1IDcwLjIxMDMgNDIuNTc5NVonIGZpbGw9JyNGRkZERjgnPjwvcGF0aD48L3N2Zz4=",ht=({style:e,...t})=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 32",fill:"none",style:{height:"32px",width:"32px",...e},...t,children:/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4485 2.20159C12.4662 2.20159 13.4208 2.33802 14.3047 2.59104C13.4394 0.574296 11.6427 0 9.64316 0C7.6397 0 5.83992 0.576553 4.97656 2.60292C5.85392 2.341 6.80442 2.20159 7.81865 2.20159H11.4485ZM7.58586 4.22632C2.75337 4.22632 0 8.028 0 12.7176V17.535C0 18.004 0.391751 18.375 0.875 18.375H18.375C18.8582 18.375 19.25 18.004 19.25 17.535V12.7176C19.25 8.028 16.0482 4.22632 11.2157 4.22632H7.58586ZM9.61816 12.7593C11.3095 12.7593 12.6807 11.3881 12.6807 9.69678C12.6807 8.00541 11.3095 6.63428 9.61816 6.63428C7.92679 6.63428 6.55566 8.00541 6.55566 9.69678C6.55566 11.3881 7.92679 12.7593 9.61816 12.7593ZM0 21.2066C0 20.7376 0.391751 20.3574 0.875 20.3574H18.375C18.8582 20.3574 19.25 20.7376 19.25 21.2066V26.3013C19.25 27.2392 18.4665 27.9996 17.5 27.9996H1.75C0.783501 27.9996 0 27.2392 0 26.3013V21.2066Z",fill:"#E33E3F"})}),pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAAIECAMAAABR3MakAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAABYkAAAWJAW1onfoAAAC9UExURVVVVQYGBgAAAAAAAAQEBA4ODgYGBg0NDQAAAAAAAAAAAAAAAICAgAQEBEBAQEdwTAQEBAAAAP///w0NDQAAAAAAADMzMwAAABQUFAQEBAYGBgAAAAAAAAgICAAAABUVFQAAAAAAAAAAAP///+M+P/Gen/jPz+2Gh+pub+dWV/vn5/3z8+VKS++Sk/W2t/Oqq/W3t+liY/fDw/nb2+hiY+t6e+x6e/rb2/Gfn/bDw/Orq+6Gh/S3t/fCw/bCw4swPHcAAAAjdFJOUwMuPS09Ei0TAxMSLgI+BAA8PgEUAgEFBg06Kw48Hw0MKywgHGLpBQAAEANJREFUeNrsneluI0cShPljGyQFgguM7D3gPwb6rO6meOqYscfv/1grkpJ3Zm2vDma3orK+eAE2SqHIyKOyJn//lIOk8eOnyY//4BjSxj8/TRb/4hjSxk+LyWzKMaSNbDKZzDmGtDF/JAFKkDimM0iAEkzwBJBgNpldcQx4ApQAJVhAgtSN4aMnIEUkHBAOUkdGdgCmVAwB4QBQMQTncJBxDCgBFUM8AcYQJcAToARLlAAlQAnAlDoBgATgNFQCCSABSoAxnMyoGEICUsTkwwHGEGR4AsBQCTgZQ5QAEjByjjHEE6AETBuDDCUA8yWegHBAigiYMQRMFoFzK5mR89SzAyqGgIohIDsA5+1lTBal7gkoGwNGzgGeAKAEIGfaGKAE4EkJWGYJCQgHkIA6AbimiwgYKgFkB4BV9wAlAE+egOwAEmAMkwc3kACeAEACQIoITsaQG0iAVjJACQCtZJAzbQx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E4BTikgrGdBFBPQOAK1kQJ0APHsCSIAnWFAnSBzXzBOAKW8lA3oHgMsngFvJ4KwEhAPqBCgBSkA4ABnragBDJYDeAcAYgpzFVSBnxhBgDMER1xPuHRAOHo1h9vO///af8qttO0IQiAkIct2unp5etrfT/v9HNgmo+w+LCkwmM8k8aq2dZ35zs22dtRoBQj0xi4Sn8doJun0yf0XEx+5JQMojY09UcbPzgagjkV40WrZ5ta3tunfFOx8Fq6JVJasiskaHxp72LKELzTgP7WufrateH3n+91uepuefv1swIRTjTHABl4LXOWOMCw5fKEwaHGAFU7ghNAWQIaMQcsE4VrvCr6CbUMMatjUMqECR4grKUcIOwVHMAYBCUQWQXVuemHZBjmiDxmgUBbRpevPQ3RUqoKPcyioJrHQUCMpIjI3ZqYRHnv/367tO28uHX7i857vklBhjSzzwprT47LEB9EvWASzjRDovSg0055STrozYyIPAIq9mCDu6HBsXBZjBBr6siN49ZbZlcaYX3ajfWZDPixDoDRZN+T4SInbMIir2mi3JFyEO8cjzv71u09NWJ65YJ/wqxMgdR+13hjEqr8S+cL+c15HvS9FltOSqgxR7j3hUjXw8xEWOu4nuAsdlqoeDeOrdm1FhFTcedTtZc8lZ7ANRpO5zjTkedv5p2/4BxBxKvl5W07cAAAAASUVORK5CYII=",ut=({style:e,...t})=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 2500 2500",style:{height:"28px",width:"28px",...e},...t,children:/*#__PURE__*/s("g",{id:"Layer_x0020_1",children:/*#__PURE__*/c("g",{id:"_2187381323856",children:[/*#__PURE__*/s("rect",{y:"0",width:"2500",height:"2500",fillRule:"evenodd",clipRule:"evenodd"}),/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{d:"M1463,1015h-404c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31v-404 C1494,1029,1480,1015,1463,1015z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M996,549H592c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31V580C1027,563,1013,549,996,549z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M1930,549h-404c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31V580 C1961,563,1947,549,1930,549z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M996,1482H592c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31v-404 C1027,1496,1013,1482,996,1482z",fill:"#FFFFFF"}),/*#__PURE__*/s("path",{d:"M1930,1482h-404c-17,0-31,14-31,31v404c0,17,14,31,31,31h404c17,0,31-14,31-31v-404 C1961,1496,1947,1482,1930,1482z",fill:"#FFFFFF"})]})]})})}),gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJDSURBVHgB7Zq9jtpAEMfHlhEgQLiioXEkoAGECwoKxMcTRHmC5E3IoyRPkPAEkI7unJYmTgEFTYwA8a3NTKScLnCHN6c9r1e3P2llWQy7M/s1Gv1twCP0ej37dDq9x+Zut1t3t9vZjDEHIiSRSPg4ZpDL5fxkMvn1cDh8m0wmfugfO53OoFQq/crn8wxfY9EymQyrVCqMfHvScZx1p9ls3pFxXBy/bKlUipGPrVbLuQqAfsCliq3zl0H84zwtjQrOw4Mt1W63P5LvBm2d+Xz+YzqdgkqUy+WgWCy+Mc/nc282m4FqLBYL+3g8fjDxenq72WxANZbLJeA13zDX67UDioL5ybXwafMYu64Ltn3bdDweQ5R97fd7GyhBQMipx4POeEDHIu2LfDdBIGGz+hJ9CQ1ABjoA2egAZPM6AgiCAEQhsi/C4jHyPA/6/f5NG3Ks2+3CYDC4aTccDrn6ojG54MnEvG00GoVmWLIRNZ7wTCwDHYBsdACy0QHIhiuRETxlICWpMMhGZHmqS8qH6JLyGegAZKMDkI0uKf8X4SWlaZo+Pp1bRrwlJU8ZKLIvUjKh0WiQ3sRUbNVq9c5Ebew7KEo2m/1p4jJ4qAmDaqDQBzj5XyiAT4VCQezJigAU+IDU+z8vJFnGWeC+bKQV/5VZ71FV6L7PA3gg3tXrdQ+DgLhC+75Wq3no69P3MC0NFQpx2lL04Ql9gHK1bRDjsSBIvScBnDTk1WrlGIZBorIDEYJj+rhdgnQ67VmWRe0zlplXl81vcyEt0rSoYDUAAAAASUVORK5CYII=",mt=({style:e,...t})=>/*#__PURE__*/c("svg",{width:"248",height:"248",viewBox:"0 0 248 248",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/c("g",{"clip-path":"url(#clip0_3159_613)",children:[/*#__PURE__*/s("path",{d:"M125.43 210.536C127.404 210.536 129.004 212.119 129.004 214.072C129.004 216.024 127.404 217.607 125.43 217.607C123.456 217.607 121.855 216.024 121.855 214.072C121.855 212.119 123.456 210.536 125.43 210.536ZM121.547 41.6533C123.293 41.7976 124.704 43.1212 124.94 44.8373L129.192 75.7285C130.62 85.9345 142.929 90.3565 150.527 83.4211L193.125 44.6496C194.152 43.7143 195.753 43.7791 196.699 44.7943C197.568 45.7258 197.594 47.1518 196.76 48.1136L159.614 90.9618C152.776 98.836 157.822 111.132 168.246 112.01L201.021 115.169C202.653 115.326 203.848 116.761 203.688 118.374C203.557 119.704 202.532 120.778 201.196 120.987L166.757 126.364C156.758 127.727 152.229 139.568 158.733 147.261L170.841 161.534C171.816 162.684 171.663 164.398 170.499 165.361C169.513 166.178 168.086 166.21 167.063 165.437L152.138 154.166C144.084 148.109 132.474 153.257 131.623 163.281L128.334 202.376C128.198 203.991 126.763 205.191 125.129 205.057C123.742 204.943 122.621 203.892 122.433 202.53L117.217 164.766C115.819 154.56 103.51 150.138 95.8819 157.073L50.5665 198.335C49.6285 199.189 48.1673 199.13 47.3028 198.204C46.5097 197.353 46.4856 196.051 47.2467 195.173L86.7949 149.532C93.6332 141.658 88.6185 129.362 78.1935 128.485L45.4113 125.324C43.779 125.167 42.5848 123.732 42.7441 122.119C42.8754 120.789 43.8999 119.715 45.2359 119.506L79.6525 114.13C89.6518 112.767 94.2106 100.926 87.7067 93.2332L79.465 83.5171C78.2555 82.0912 78.4449 79.9666 79.8881 78.7715C81.1114 77.7586 82.8822 77.7197 84.1499 78.6779L94.2711 86.3283C102.325 92.3852 113.935 87.2371 114.786 77.2129L117.509 45.0274C117.681 42.994 119.488 41.4834 121.547 41.6533ZM34.3621 118.507C36.3363 118.507 37.9366 120.089 37.9366 122.042C37.9366 123.994 36.3363 125.577 34.3621 125.577C32.388 125.577 30.7876 123.994 30.7876 122.042C30.7876 120.089 32.388 118.507 34.3621 118.507ZM213.638 114.917C215.612 114.917 217.212 116.5 217.212 118.452C217.212 120.405 215.612 121.988 213.638 121.988C211.664 121.988 210.063 120.405 210.063 118.452C210.063 116.5 211.664 114.917 213.638 114.917ZM121.03 30.3931C123.005 30.3931 124.605 31.9759 124.605 33.9285C124.605 35.881 123.005 37.4639 121.03 37.4639C119.056 37.4639 117.456 35.881 117.456 33.9285C117.456 31.9759 119.056 30.3931 121.03 30.3931Z",fill:"url(#paint0_linear_3159_613)"}),/*#__PURE__*/s("path",{d:"M123.175 153.643C141.824 153.643 156.941 138.691 156.941 120.247C156.941 101.803 141.824 86.8508 123.175 86.8508C104.527 86.8508 89.41 101.803 89.41 120.247C89.41 138.691 104.527 153.643 123.175 153.643Z",fill:"url(#paint1_radial_3159_613)"})]}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_3159_613",x1:"55.1462",y1:"60.1723",x2:"162.052",y2:"156.952",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FFC10B"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FB3F2E"})]}),/*#__PURE__*/c("radialGradient",{id:"paint1_radial_3159_613",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(115.464 107.918) rotate(67.5196) scale(49.0906 49.5676)",children:[/*#__PURE__*/s("stop",{stopColor:"#FFC10B"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FB3F2E"})]}),/*#__PURE__*/s("clipPath",{id:"clip0_3159_613",children:/*#__PURE__*/s("rect",{width:"188",height:"188",fill:"white",transform:"translate(30 30)"})})]})]}),wt="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjUwIiB2aWV3Qm94PSIwIDAgNTAgNTAiIHdpZHRoPSI1MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGxpbmVhckdyYWRpZW50IGlkPSJhIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZmMxMGIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmYjNmMmUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI2LjQ3ODM1IiB4Mj0iMzQuOTEwNyIgeGxpbms6aHJlZj0iI2EiIHkxPSI3LjkyIiB5Mj0iMzMuNjU5MyIvPjxyYWRpYWxHcmFkaWVudCBpZD0iYyIgY3g9IjAiIGN5PSIwIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDQuOTkyMTg4MzIgMTIuMDYzODc5NjMgLTEyLjE4MTEzNjU1IDUuMDQwNzEwNzQgMjIuNTIwMiAyMC42MTgzKSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHI9IjEiIHhsaW5rOmhyZWY9IiNhIi8+PHBhdGggZD0ibTI1LjE3MDggNDcuOTEwNGMuNTI1IDAgLjk1MDcuNDIxLjk1MDcuOTQwM3MtLjQyN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UwNy0uOTQwMjd6IiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggZD0ibTI0LjU3MSAzMi43NzkyYzQuOTU5NiAwIDguOTgwMi0zLjk3NjUgOC45ODAyLTguODgxOSAwLTQuOTA1My00LjAyMDYtOC44ODE5LTguOTgwMi04Ljg4MTlzLTguOTgwMiAzLjk3NjYtOC45ODAyIDguODgxOWMwIDQuOTA1NCA0LjAyMDYgOC44ODE5IDguOTgwMiA4Ljg4MTl6IiBmaWxsPSJ1cmwoI2MpIi8+PC9zdmc+",ft=({style:e,...t})=>{let{app:i}=g();/*#__PURE__*/return c("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"28",height:"28",rx:"3",fill:"dark"===i?.appearance.palette.colorScheme?"#3396ff":"#141414"}),/*#__PURE__*/s("g",{clipPath:"url(#clip0_1765_9946)",children:/*#__PURE__*/s("path",{d:"M8.09448 10.3941C11.3558 7.20196 16.6442 7.20196 19.9055 10.3941L20.2982 10.7782C20.3369 10.8157 20.3677 10.8606 20.3887 10.9102C20.4097 10.9599 20.4206 11.0132 20.4206 11.0671C20.4206 11.121 20.4097 11.1744 20.3887 11.224C20.3677 11.2737 20.3369 11.3186 20.2982 11.3561L18.9554 12.6702C18.9158 12.7086 18.8628 12.7301 18.8077 12.7301C18.7526 12.7301 18.6996 12.7086 18.66 12.6702L18.1198 12.1415C15.8448 9.91503 12.1557 9.91503 9.88015 12.1415L9.30167 12.7075C9.26207 12.7459 9.20909 12.7673 9.15395 12.7673C9.0988 12.7673 9.04582 12.7459 9.00622 12.7075L7.66346 11.3934C7.62475 11.3559 7.59397 11.3109 7.57295 11.2613C7.55193 11.2117 7.5411 11.1583 7.5411 11.1044C7.5411 11.0505 7.55193 10.9971 7.57295 10.9475C7.59397 10.8979 7.62475 10.8529 7.66346 10.8154L8.09448 10.3941ZM22.6829 13.1115L23.8776 14.2814C23.9163 14.319 23.9471 14.3639 23.9681 14.4135C23.9892 14.4632 24 14.5165 24 14.5704C24 14.6243 23.9892 14.6777 23.9681 14.7273C23.9471 14.777 23.9163 14.8219 23.8776 14.8594L18.4893 20.1332C18.4102 20.2101 18.3042 20.2531 18.1938 20.2531C18.0835 20.2531 17.9775 20.2101 17.8984 20.1332L14.0743 16.3901C14.0545 16.3708 14.0279 16.36 14.0003 16.36C13.9726 16.36 13.9461 16.3708 13.9263 16.3901L10.1021 20.1332C10.023 20.2101 9.91703 20.2531 9.8067 20.2531C9.69636 20.2531 9.59038 20.2101 9.51124 20.1332L4.12236 14.8594C4.08365 14.8219 4.05287 14.777 4.03185 14.7273C4.01083 14.6777 4 14.6243 4 14.5704C4 14.5165 4.01083 14.4632 4.03185 14.4135C4.05287 14.3639 4.08365 14.319 4.12236 14.2814L5.31767 13.1115C5.39678 13.0348 5.50265 12.9919 5.61285 12.9919C5.72305 12.9919 5.82892 13.0348 5.90803 13.1115L9.73216 16.8546C9.75194 16.874 9.7785 16.8848 9.80616 16.8848C9.83381 16.8848 9.86037 16.874 9.88015 16.8546L13.7043 13.1115C13.7834 13.0346 13.8894 12.9916 13.9997 12.9916C14.1101 12.9916 14.216 13.0346 14.2952 13.1115L18.1198 16.8546C18.1396 16.874 18.1662 16.8848 18.1938 16.8848C18.2215 16.8848 18.2481 16.874 18.2678 16.8546L22.092 13.1115C22.1711 13.0346 22.2771 12.9916 22.3874 12.9916C22.4977 12.9916 22.6037 13.0346 22.6829 13.1115Z",fill:"white"})}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/s("clipPath",{id:"clip0_1765_9946",children:/*#__PURE__*/s("rect",{width:"20",height:"12.2531",fill:"white",transform:"translate(4 8)"})})})]})};class Ct extends ot{async initialize(){let e=await this.createProvider();if(this.provider=e,this.proxyProvider.setWalletProvider(e),this.subscribeListeners(),e.session){if(this.walletProvider?.session?.peer.metadata.url){let e=Ue(this.walletProvider?.session?.peer.metadata.url);this.walletEntry=e?.entry,this.walletClientType=e?.walletClientType||"unknown"}this.connected=!0,await this.syncAccounts()}this.initialized=!0,this.emit("initialized");let{WalletConnectModal:t}=await import("@walletconnect/modal");this.modal=new t({projectId:this.walletConnectCloudProjectId,themeVariables:{"--wcm-z-index":"1000000"},explorerRecommendedWalletIds:Object.values(Fe).map((({id:e})=>e))}),this.modal.subscribeModal((e=>{e.open||this.walletProvider?.session||!this.onQrModalClosed||this.onQrModalClosed()}))}async connect(e){return e.showPrompt&&await this.promptConnection(),this.getConnectedWallet()}async isConnected(){return!!this.walletProvider?.connected}get walletBranding(){if("metamask"===this.walletClientType)return{name:"MetaMask",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfoDAIVMQ8VNW19AAAGKUlEQVRYw+2WTWxcVxXHf+feN98Tf43j2KmduMEibZOilEjNl9KmImrCoipSkSohIQQSQkJhSdmAAEV0ka742CF11WURsEJRHSg4TWooUhPagkgcO/6IY8ffnhk/z8y9h8Wbsd/4AwEbFnCkJ7173zn/c87/nHPfhf91kcbLt892cX9RebrbcOaA4ViPoVyNvvVemfqPwMdfewyAbAI+nPbcGPfcnvYc6hCuDM0CEDSUDeAUkw54wRqW2gvmL+WHvgIwWQdCofeNqX/JaVwKnSZpZ/zTaUtbpaa/FUSbGPjOc3tRFbyyNzC809sifSf77FBvq/zKKb+rOR23ZtNoJ1a2Oq45SAQctMILk8v6heEJd3ZqRe87z4sizKkqb1x/FDGgGlXCCMe9cvj+sqbLVffyyT7z0uMd5l5gZVCVXwPDmTSL6SSUf9TsUBXWKlAOaQdOJAJe9sr5kXl/aHjCm7myIpAR4ThwVUSaSyARwxeAtACPSso7d515Zj8Dx3rMQCrgK6rcdo5rIsxvayaBmqMAfE6Ez4Q1MremPR8+cKzXou9ABriIcJU6nxs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gxta8LC5cnG+hPg73EFa4R8zmINGBFq+QOMdFzg0rUcr75d5dW3q1y6luNexwVq+QMYI1gL+ZzZSj917E8AOi9PbTIQk0XgPeB4fDOVIHRtbQvhk5/fJ33P2kezZSZX32O1GhVyYhVmO0/R8tR5dOKPLv3X38ykKHYQXXLicgNYiG9sDQDg98A3gCXg48hIr7Pv06NLPWe+msR+K591uW9++RV8fajFCLlsmhLpUqXnzE/bFu69ycwHh0DOAKeBI0A78O5WZ7ErmSDRYTsEfAn4GzBG/X5QDfKMTdz/7r7Ozj9bY77/zNHDRzfOZgFBP1peXfnhzPzcL48EeQfcAa4STVU/8EQdu7kp44vJHe70Dbl74jKqSmAtNec+JSKngfow4VT1RmDtSM05RISB4e/tihW/0u9+d9lB3v3Fm6gooruZRbfIc6987d+B/b/8d+UfeVGT8xvC5akAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjQtMTItMDJUMjE6NDk6MTArMDA6MDB60KjYAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI0LTEyLTAyVDIxOjQ5OjEwKzAwOjAwC40QZAAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNC0xMi0wMlQyMTo0OToxNSswMDowMA6gHhwAAAAASUVORK5CYII=",id:"io.metamask"};let e=this.walletProvider?.session?.peer.metadata.icons?.[0];return{name:Se(this.walletProvider?.session?.peer.metadata.name||"")||"WalletConnect",icon:"string"==typeof e?e:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAHdElNRQfoDAIVODUC+w+GAAAGsUlEQVRYw6WXbYwWVxXHf+fOLAtCXYS2QJdIaClipGCTknXXNqBQMVHbfmhItH4Aral+IAEaG03UxJgYKQJGTUxtDWjaxDSNtcZqIGDwpRuW1oYiVqpdpZS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AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTEyLTAyVDIxOjU2OjQ4KzAwOjAwMVpslgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0xMi0wMlQyMTo1Njo0OCswMDowMEAH1CoAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjQtMTItMDJUMjE6NTY6NTMrMDA6MDDZv6GRAAAAAElFTkSuQmCC",id:this.walletProvider?.session?.peer.metadata.name.toLowerCase()||"wallet_connect_v2"}}async resetConnection(e){this.walletProvider&&this.walletProvider.connected&&(await this.walletProvider.disconnect(),this.walletProvider.signer.session=void 0,this.walletEntry?.isWalletEntryOverriden||(this.walletEntry=Fe[e]),this.walletClientType=e,this.redirectUri=void 0,this.fallbackUniversalRedirectUri=void 0,function(){try{localStorage.removeItem(Re)}catch{}}(),this.onDisconnect())}async promptConnection(){if(this.provider)return new Promise(((e,t)=>{this.onQrModalClosed=()=>{t(new B)},(async()=>{let t="",i=await Promise.race([this.walletProvider?.enable(),this.proxyProvider.walletTimeout()]);if(i?.length&&(t=i[0]),!t||""===t)throw new Z("Unable to retrieve address");if(this.walletProvider?.session?.peer.metadata.url){let e=Ue(this.walletProvider?.session?.peer.metadata.url);this.walletEntry=e?.entry,this.walletClientType=e?.walletClientType||"unknown",this.proxyProvider.rpcTimeoutDuration=at(this.rpcConfig,this.walletClientType)}this.connected=!0,await this.syncAccounts(i),e()})().catch((e=>{t(e?j(e):new Z("Unknown error during connection"))})).finally((()=>this.modal?.closeModal()))}))}disconnect(){this.walletProvider?.disconnect().then((()=>this.onDisconnect())).catch((()=>console.warn("Unable to disconnect Wallet Connect provider")))}get walletProvider(){return this.proxyProvider.walletProvider}setWalletProvider(e){this.proxyProvider.setWalletProvider(e)}async createProvider(){let e={};for(let t of this.chains){let i=ze(t.id,this.chains,this.rpcConfig,this.privyAppId);i&&(e[t.id]=i)}let t=this.shouldEnforceDefaultChainOnConnect?[this.defaultChain.id]:[],i=this.chains.map((e=>e.id)),a=await se.init({projectId:this.walletConnectCloudProjectId,chains:t,optionalChains:i,optionalEvents:ce,optionalMethods:de,rpcMap:e,showQrModal:!1,metadata:{description:this.privyAppName,name:this.privyAppName,url:window.location.toString(),icons:[]}});return a.on("display_uri",(e=>{if(a.signer.abortPairingAttempt(),this.walletEntry){let{redirect:t,href:i}=function(e,t){let i=We(t);if(i.deepLink)return _e(i.deepLink,e);if(i.universalLink)return Qe(i.universalLink,e);throw new V(`Unsupported wallet ${t.id}`)}(e,this.walletEntry);(function({href:e,name:t}){try{localStorage.setItem(Re,JSON.stringify({href:e,name:t}))}catch{}})({href:i,name:this.walletEntry.displayName}),this.redirectUri=t;let a=function(e,t){let i=We(t);if(i.universalLink)return Qe(i.universalLink,e)}(e,this.walletEntry);a?.redirect&&(this.fallbackUniversalRedirectUri=a.redirect),P?(He(t,"_self"),this.showPrivyQrModal?.({native:t,universal:this.fallbackUniversalRedirectUri})):this.showPrivyQrModal?this.showPrivyQrModal?.({native:t,universal:this.fallbackUniversalRedirectUri}):this.modal?.openModal({uri:e,chains:[this.defaultChain.id]})}else this.modal?.openModal({uri:e,chains:[this.defaultChain.id]})})),a.on("connect",(()=>{if(this.modal?.closeModal(),a.session?.peer.metadata.url){let e=Ue(a.session?.peer.metadata.url);this.walletEntry=e?.entry,this.walletClientType=e?.walletClientType||"unknown"}})),a}async enableProvider(){return this.walletProvider?.connected?Promise.resolve(this.walletProvider.accounts):await(this.walletProvider?.enable())}setWalletEntry(e,t){this.walletEntry=e,this.showPrivyQrModal=t}constructor(e,t,i,a,l,o,n,r){super(r||"unknown",i,a,t),this.connectorType="wallet_connect_v2",this.privyAppId=o,this.privyAppName=n,this.walletConnectCloudProjectId=e,this.rpcConfig=t,this.shouldEnforceDefaultChainOnConnect=l,this.proxyProvider=new nt(void 0,this.rpcTimeoutDuration),r&&(this.walletEntry=Fe[r],this.walletClientType=r)}}const yt=e=>{let[t,a]=i("auto");return n((()=>{let t=new ResizeObserver((e=>{a(e[0]?.contentRect.height??"auto")}));return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}}),[e.current]),t},vt=({success:e,fail:t})=>/*#__PURE__*/c(d,{children:[/*#__PURE__*/s(At,{className:e?"success":t?"fail":""}),/*#__PURE__*/s(bt,{className:e?"success":t?"fail":""})]}),At=/*#__PURE__*/_.span.withConfig({displayName:"Loader",componentId:"sc-ce7792e2-0"})(["&&{width:82px;height:82px;border-width:4px;border-style:solid;border-color:",";border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1.2s linear infinite;transition:border-color 800ms;}@keyframes rotation{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}&&&.success{border-color:var(--privy-color-success);border-bottom-color:var(--privy-color-success);}&&&.fail{border-color:var(--privy-color-error);border-bottom-color:var(--privy-color-error);}"],(e=>e.color??"var(--privy-color-accent)")),bt=/*#__PURE__*/_(At).withConfig({displayName:"LoaderFaint",componentId:"sc-ce7792e2-1"})(["&&{border-bottom-color:",";animation:none;opacity:0.5;}"],(e=>e.color??"var(--privy-color-accent)")),Mt=e=>/*#__PURE__*/s(xt,{color:e.color||"var(--privy-color-foreground-3)"});let xt=/*#__PURE__*/_(At).withConfig({displayName:"StyledButtonLoader",componentId:"sc-ce7792e2-2"})(["&&{height:1rem;width:1rem;margin:2px 0;border-width:1.5px;transition:border-color 200ms ease;}"]);const Nt=/*#__PURE__*/_.button.withConfig({displayName:"Button",componentId:"sc-e15d0508-0"})(["display:flex;flex-direction:row;align-items:center;justify-content:center;user-select:none;&{width:100%;cursor:pointer;border-radius:var(--privy-border-radius-md);font-size:1rem;font-style:normal;font-weight:500;line-height:22px;letter-spacing:-0.016px;}&&{padding:12px 16px;}"]),It=({children:e,loading:t,disabled:i,success:a,loadingText:l="Loading...",...o})=>/*#__PURE__*/s(kt,{disabled:t||i,success:a,...o,children:t?/*#__PURE__*/c("span",{children:[/*#__PURE__*/s(Mt,{}),l?/*#__PURE__*/s("span",{children:l}):null]}):e}),Dt=({children:e,loading:t,disabled:i,...a})=>/*#__PURE__*/s(Lt,{disabled:i,...a,children:t?/*#__PURE__*/s(Mt,{color:"var(--privy-color-foreground-accent)"}):e});let Lt=/*#__PURE__*/_(Nt).withConfig({displayName:"StyledPrimaryButtonWithoutGray",componentId:"sc-e15d0508-1"})(["position:relative;&&{background-color:var(--privy-color-accent);color:var(--privy-color-foreground-accent);transition:background-color 200ms ease;}&:hover{background-color:var(--privy-color-accent-dark);}&:active{background-color:var(--privy-color-accent-dark);}&:disabled,&:hover:disabled,&:active:disabled{cursor:not-allowed;pointer-events:none;color:var(--privy-color-foreground-accent);background-color:var(--privy-color-accent-dark);}"]);const Tt=({children:e,loading:t,disabled:i,loadingText:a="Loading...",...l})=>/*#__PURE__*/s(kt,{as:"a",disabled:t||i,...l,children:t?/*#__PURE__*/c("span",{children:[/*#__PURE__*/s(Mt,{}),a?/*#__PURE__*/s("span",{children:a}):null]}):e});let kt=/*#__PURE__*/_(Nt).withConfig({displayName:"StyledPrimaryButton",componentId:"sc-e15d0508-2"})(["position:relative;&&{background-color:",";color:var(--privy-color-foreground-accent);transition:background-color 200ms ease;}&:hover{background-color:",";}&:active{background-color:",";}&:hover:disabled,&:active:disabled{background-color:var(--privy-color-background-2);color:var(--privy-color-foreground-3);cursor:not-allowed;}"," > span{display:flex;align-items:center;gap:8px;opacity:1;animation:fadein 200ms ease;}"],(e=>e.warn?"var(--privy-color-error)":e.success?"var(--privy-color-success)":"var(--privy-color-accent)"),(e=>e.warn?"var(--privy-color-error)":e.success?"var(--privy-color-success)":"var(--privy-color-accent-dark)"),(e=>e.warn?"var(--privy-color-error)":e.success?"var(--privy-color-success)":"var(--privy-color-accent-dark)"),(e=>e.disabled?/*#__PURE__*/Q(["&&&,&&&:hover,&&&:active{background-color:var(--privy-color-background-2);color:var(--privy-color-foreground-3);cursor:not-allowed;pointer-events:none;}"]):""));const St=({children:e,loading:t,disabled:i,loadingText:a="Loading...",...l})=>/*#__PURE__*/s(Et,{disabled:t||i,...l,children:t?/*#__PURE__*/c("span",{children:[/*#__PURE__*/s(Mt,{}),a?/*#__PURE__*/s("span",{children:a}):null]}):e});let Et=/*#__PURE__*/_(Nt).withConfig({displayName:"StyledSecondaryButton",componentId:"sc-e15d0508-3"})(["&&{border-width:1px;border-color:",";color:var(--privy-color-foreground);transition:border-color 200ms ease;}&:hover,&:active{border-color:",";}&:hover:disabled,&:active:disabled{border-color:var(--privy-color-foreground-accent);color:var(--privy-color-foreground-3);cursor:not-allowed;}> span{display:flex;align-items:center;gap:8px;opacity:1;animation:fadein 200ms ease;}"],(e=>e.warn?"var(--privy-color-error)":"var(--privy-color-foreground-4)"),(e=>e.warn?"var(--privy-color-error)":"var(--privy-color-foreground-3)"));const Ot=/*#__PURE__*/_.button.withConfig({displayName:"SoftCtaButton",componentId:"sc-e15d0508-4"})(["&&{padding:12px 16px;font-weight:500;text-align:center;color:var(--privy-color-foreground-accent);background-color:var(--privy-color-accent);border-radius:var(--privy-border-radius-sm);min-width:144px;opacity:",";transition:opacity 200ms ease,background-color 200ms ease,color 200ms ease;user-select:none;"," &:hover{background-color:var(--privy-color-accent-dark);}&:active{background-color:var(--privy-color-accent-dark);}&:hover:disabled,&:active:disabled{background-color:var(--privy-color-background-2);color:var(--privy-color-foreground-3);cursor:not-allowed;}}"],(e=>e.invisible?"0":"1"),(e=>e.invisible&&/*#__PURE__*/Q(["pointer-events:none;"]))),jt=({children:e,onClick:t,disabled:i,isSubmitting:a,...l})=>/*#__PURE__*/c(zt,{$isSubmitting:a,onClick:t,disabled:i,...l,children:[/*#__PURE__*/s("span",{children:e}),
2
+ /*#__PURE__*/s("span",{children:/*#__PURE__*/s(Mt,{})})]});let zt=/*#__PURE__*/_.button.withConfig({displayName:"StyledEmbeddedButton",componentId:"sc-e15d0508-6"})(["&&{color:var(--privy-color-accent);font-size:16px;font-style:normal;font-weight:500;line-height:24px;cursor:pointer;border-radius:0px var(--privy-border-radius-mdlg) var(--privy-border-radius-mdlg) 0px;border:none;transition:color 200ms ease;@media (min-width:441px){font-size:14px;}:hover{color:var(--privy-color-accent-dark);}&& > :first-child{opacity:",";}&& > :last-child{position:absolute;display:flex;top:50%;left:50%;transform:translate3d(-50%,-50%,0);opacity:",";}:disabled,:hover:disabled{color:var(--privy-color-foreground-3);cursor:not-allowed;}}"],(e=>e.$isSubmitting?0:1),(e=>e.$isSubmitting?1:0));const Bt=({backFn:e})=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Pt,{onClick:e,children:/*#__PURE__*/s($,{height:"16px",width:"16px",strokeWidth:2})})}),Ut=({nextFn:e})=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Pt,{onClick:e,children:/*#__PURE__*/s(ee,{height:"16px",width:"16px",strokeWidth:2})})}),Ft=({infoFn:e})=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(_t,{"aria-label":"info",onClick:e,children:/*#__PURE__*/s(te,{height:"22px",width:"22px",strokeWidth:2})})}),Wt=e=>/*#__PURE__*/s("div",{children:/*#__PURE__*/s(Pt,{"aria-label":"close modal",onClick:e.onClose,children:/*#__PURE__*/s(ie,{height:"16px",width:"16px",strokeWidth:2})})}),Rt=({backFn:e,infoFn:t,onClose:i,title:a,closeable:l=!0})=>{let{closePrivyModal:o}=X(),n=m();/*#__PURE__*/return c(Qt,{children:[/*#__PURE__*/c(Ht,{children:[e&&/*#__PURE__*/s(Bt,{backFn:e}),t&&/*#__PURE__*/s(Ft,{infoFn:t})]}),a&&/*#__PURE__*/s(Vt,{id:"privy-dialog-title",children:a}),/*#__PURE__*/s(Zt,{children:!n.render.standalone&&l&&/*#__PURE__*/s(Wt,{onClose:i||(()=>o())})})]})};let Pt=/*#__PURE__*/_.button.withConfig({displayName:"StyledButton",componentId:"sc-f295093d-0"})(["&&{cursor:pointer;display:flex;opacity:0.6;background-color:var(--privy-color-background-2);border-radius:var(--privy-border-radius-full);padding:4px;> svg{margin:auto;color:var(--privy-color-foreground);}:hover{opacity:1;}}"]),_t=/*#__PURE__*/_(Pt).withConfig({displayName:"TransparentStyledButton",componentId:"sc-f295093d-1"})(["&&{background-color:transparent;}"]),Qt=/*#__PURE__*/_.div.withConfig({displayName:"StyledHeader",componentId:"sc-f295093d-2"})(["padding:16px 0;display:flex;align-items:center;justify-content:space-between;h2{font-size:16px;line-height:24px;font-weight:600;color:var(--privy-color-foreground);}"]),Ht=/*#__PURE__*/_.div.withConfig({displayName:"LeftActionContainer",componentId:"sc-f295093d-3"})(["flex:1;align-items:center;display:flex;gap:8px;"]),Zt=/*#__PURE__*/_.div.withConfig({displayName:"RightActionContainer",componentId:"sc-f295093d-4"})(["flex:1;display:flex;justify-content:flex-end;"]),Vt=/*#__PURE__*/_.div.withConfig({displayName:"TitleContainer",componentId:"sc-f295093d-5"})(["overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis;text-align:center;color:var(--privy-color-foreground-2);"]);function Yt(e){/*#__PURE__*/return s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 460 40",...e,children:/*#__PURE__*/s("g",{fill:e.color||"var(--privy-color-foreground)",children:/*#__PURE__*/s("path",{d:"M0 15.4v15.38h4.64V19.96h3.58c2.47 0 3.63-.01 3.77-.02 1-.08 1.49-.15 2.18-.3a9.45 9.45 0 0 0 4.6-2.37c1.66-1.57 2.64-3.87 2.81-6.56.02-.3.02-1.19 0-1.49-.1-1.77-.56-3.35-1.36-4.72A8.84 8.84 0 0 0 15.14.57c-.93-.3-1.75-.43-3.09-.54C11.9.02 10.2 0 5.93 0H0ZM10.85 4c1.85.05 3.1.45 4.16 1.3.22.17.54.49.69.68a5.97 5.97 0 0 1 1.19 3.13c.04.35.04 1.36 0 1.71-.08.68-.23 1.3-.44 1.85a4.8 4.8 0 0 1-1.09 1.68A5.63 5.63 0 0 1 12 15.92c-.6.08-.4.08-4.01.09H4.64V3.98h2.9c1.6 0 3.08 0 3.31.02ZM187.65 5.71v5.72h-.27l-.09-.14a15.9 15.9 0 0 0-1.21-1.73c-.43-.5-1-.95-1.7-1.36-.54-.3-1.05-.5-1.73-.63a8.98 8.98 0 0 0-1.7-.17 8.84 8.84 0 0 0-7.8 4.03 12.95 12.95 0 0 0-2.03 6.39c-.07.98-.06 2.15.02 3.13.2 2.47.87 4.53 2.02 6.25a8.98 8.98 0 0 0 10.22 3.65 6.5 6.5 0 0 0 2.8-1.93c.41-.51.84-1.1 1.1-1.55l.1-.17h.37v3.58h4.38V0h-4.48Zm-5.24 5.54c1.3.14 2.3.6 3.17 1.48.9.9 1.5 2.09 1.85 3.64.36 1.6.39 3.72.06 5.43a8.13 8.13 0 0 1-1.54 3.62 5.1 5.1 0 0 1-3.93 1.96 6.13 6.13 0 0 1-2.32-.31 5.87 5.87 0 0 1-3.33-3.5c-.39-1-.62-2.05-.72-3.32-.03-.32-.04-1.35-.02-1.73.08-1.56.4-2.91.96-4.05a6.2 6.2 0 0 1 1.06-1.58 5.08 5.08 0 0 1 3.6-1.66c.25-.02.9 0 1.16.02ZM210.07 15.39l.01 15.38h4.38l.01-3.57h.37l.09.15c.24.44.84 1.26 1.21 1.7a6.79 6.79 0 0 0 2.57 1.75 9.3 9.3 0 0 0 6.86-.49 9.28 9.28 0 0 0 4.05-4.07A13.05 13.05 0 0 0 231 21.6c.21-1.73.18-3.7-.09-5.32a13.03 13.03 0 0 0-1.5-4.3 9.1 9.1 0 0 0-3.75-3.63 9.15 9.15 0 0 0-4.43-.96 7.46 7.46 0 0 0-2.8.5A7.07 7.07 0 0 0 216 9.7c-.4.52-.82 1.12-1.1 1.59l-.07.14h-.27V0h-4.5Zm11.13-4.14c1.07.1 1.94.44 2.7 1.04a6.1 6.1 0 0 1 1.64 1.98c.43.84.78 2 .94 3.11.15 1.16.16 2.4.02 3.54a9.34 9.34 0 0 1-1.39 4.03 5.33 5.33 0 0 1-2.69 2.15c-.9.3-2.04.38-3.06.2a5.14 5.14 0 0 1-3.45-2.37 6.03 6.03 0 0 1-.45-.8c-.5-1.03-.8-2.2-.92-3.58-.04-.49-.06-.89-.05-1.53.01-.76.05-1.23.13-1.85.38-2.53 1.47-4.38 3.15-5.31a5.46 5.46 0 0 1 2.3-.63 10 10 0 0 1 1.13.02ZM69.05 2.17l-.01 2.77V7.7h-3.36v3.6h3.36v6.8l.01 7.15c.06 1.4.4 2.44 1.1 3.37a5.8 5.8 0 0 0 2.97 2.07c.91.3 1.83.42 2.9.38a8.71 8.71 0 0 0 2.66-.48l-.8-3.7-.38.06a4.96 4.96 0 0 1-2.43-.06c-.33-.1-.56-.25-.8-.49-.4-.41-.6-.88-.7-1.67-.02-.2-.02-.62-.03-6.82v-6.6h4.73V7.7h-4.73V2.16h-4.49ZM133.34 2.17V7.7h-3.39v3.6h3.38v6.9l.01 7.17a5.66 5.66 0 0 0 2.36 4.49c.85.6 2.03 1.03 3.26 1.17.85.1 2.03.05 2.81-.1.3-.06.75-.18 1-.26l.2-.06v-.05l-.81-3.67-.37.06a4.99 4.99 0 0 1-1.8.09c-.85-.13-1.32-.4-1.7-.97a2.63 2.63 0 0 1-.39-1.04c-.06-.4-.06 0-.06-7.1V11.3h4.7V7.7h-4.7l-.01-2.77V2.16h-4.49ZM293.41 2.36a14.56 14.56 0 0 0-13.7 16.07 14.59 14.59 0 0 0 21.86 11.08 14.5 14.5 0 0 0 7.11-14.07 14.61 14.61 0 0 0-6.53-10.73 14.49 14.49 0 0 0-8.74-2.35ZM350.8 2.36a10.17 10.17 0 0 0-7.56 4.2c-.16.2-.45.63-.58.83l-.05.1h-.47l-.01-4.36h-7.36v36.4h7.82V27.27h.49l.05.07a11.3 11.3 0 0 0 7.49 4.15 10.52 10.52 0 0 0 9.38-4.1c1.66-2.1 2.73-4.9 3.07-8.06.1-.87.13-1.4.13-2.37 0-.8 0-1.1-.07-1.76a15.95 15.95 0 0 0-3.23-8.72 12.8 12.8 0 0 0-1.85-1.84 10.49 10.49 0 0 0-7.26-2.28Zm-.94 6.05c1.27.15 2.33.65 3.2 1.5.98.96 1.67 2.31 2.03 4 .34 1.57.38 3.68.12 5.39a9.78 9.78 0 0 1-1.04 3.25c-.14.25-.44.69-.6.89a5.35 5.35 0 0 1-4.31 2.07 5.25 5.25 0 0 1-4.41-1.9 7.35 7.35 0 0 1-1.26-2.32 14.09 14.09 0 0 1-.62-4.83c.05-1.98.38-3.53 1.02-4.85a5.63 5.63 0 0 1 2.5-2.65c.66-.34 1.3-.5 2.14-.58.18-.02 1.04 0 1.23.03ZM363.63 3.1l-.01 3.2v3.16h1.43c1.26.01 1.44.02 1.54.04.42.09.66.28.79.62.08.23.08.08.08 2.96a911.57 911.57 0 0 1 .03 10.18v7.54h7.82v-7.4l.01-7.83c.03-.94.11-1.63.27-2.28.46-1.9 1.54-2.93 3.35-3.23.52-.08.2-.08 5-.08h4.4V3.08h-3.1c-3.48 0-3.91.01-4.67.1-1.83.2-3.04.79-3.96 1.88-.5.6-.9 1.32-1.26 2.26l-.06.17h-.46V3.09h-5.6c-4.46 0-5.6 0-5.6.02ZM390.8 16.95V30.8h3.87l3.86-.01V3.09h-7.73ZM400.6 3.1l-.01.4v.38l4.66 13.4 4.69 13.47.02.05h10.3l.03-.05 4.67-13.45 4.67-13.4V3.1h-7.43l-6.7 19.26h-.5l-3.28-9.5-3.31-9.64-.05-.12h-3.88l-3.88.01ZM430.98 3.1c-.01 0-.02.19-.02.4v.39l5.08 14.59c2.8 8.02 5.08 14.6 5.08 14.61.01.02-.22.02-4.8.02h-4.82v6.42h4.95c5.09 0 5.23 0 5.87-.06 3.15-.28 5.29-1.63 6.63-4.15.28-.55.44-.95.87-2.16L459 6.78l1-2.89v-.8h-7.43l-6.69 19.26h-.5l-3.27-9.46-3.31-9.64-.06-.16h-3.88l-3.88.01ZM36.57 7.36c-1.36.1-2.6.6-3.62 1.45a5.65 5.65 0 0 0-1.67 2.42l-.05.13H31V7.7h-4.35v23.08h4.5v-7.3c0-8 0-7.34.08-7.82a4.89 4.89 0 0 1 2.06-3.18c.83-.58 1.74-.89 2.87-.98a11.87 11.87 0 0 1 2.8.25H39v-4.3l-.21-.02c-.61-.07-1.74-.1-2.22-.07ZM51.08 7.41c-2.33.12-4.3.84-5.95 2.16a9.89 9.89 0 0 0-2.03 2.2 12.5 12.5 0 0 0-2 5.78 18.04 18.04 0 0 0 0 3.65 12.13 12.13 0 0 0 2.26 6.05 9.74 9.74 0 0 0 5 3.52c2.11.64 4.7.64 6.8 0a9.78 9.78 0 0 0 4.88-3.37c1.38-1.78 2.19-4 2.4-6.58.13-1.46.06-3.06-.18-4.42a11.24 11.24 0 0 0-3.58-6.6 10 10 0 0 0-5.75-2.35c-.56-.06-1.31-.07-1.85-.04Zm1.42 3.78c.88.1 1.62.34 2.28.75a6.13 6.13 0 0 1 1.99 2.15 10.31 10.31 0 0 1 1.2 5c.02 1.23-.12 2.44-.42 3.51a7.14 7.14 0 0 1-1.81 3.32c-.61.6-1.2.98-1.95 1.24a6 6 0 0 1-2 .3 5.7 5.7 0 0 1-2.72-.6 5 5 0 0 1-1.28-.94A7.1 7.1 0 0 1 46 22.73c-.57-1.99-.6-4.46-.08-6.5a7.24 7.24 0 0 1 2.03-3.67 5.13 5.13 0 0 1 3.35-1.4 11 11 0 0 1 1.2.03ZM92.05 7.4c-.96.06-1.56.15-2.3.33a9.62 9.62 0 0 0-6.09 4.66 13.5 13.5 0 0 0-1.71 7c0 .83 0 1.04.06 1.6.16 1.77.58 3.32 1.29 4.7A9.72 9.72 0 0 0 90.28 31c1.84.37 4.08.32 5.85-.13a9.07 9.07 0 0 0 5.02-3.1A7.64 7.64 0 0 0 102.5 25l-2.11-.39-2.11-.38-.08.13a4.72 4.72 0 0 1-2.35 2.55 6.3 6.3 0 0 1-2.23.58c-.29.03-1.13.03-1.44 0a6.35 6.35 0 0 1-3.02-1.04 5.93 5.93 0 0 1-2.02-2.43 8.44 8.44 0 0 1-.72-3.18v-.26h16.38v-.81c0-1.83-.06-2.76-.25-3.87-.2-1.22-.53-2.24-1.05-3.28a8.9 8.9 0 0 0-2.66-3.26 10.1 10.1 0 0 0-5.34-1.94 18.3 18.3 0 0 0-1.46-.03Zm1.3 3.75c1.2.13 2.19.55 3.05 1.3a5.8 5.8 0 0 1 1.78 2.96c.13.51.21 1.17.21 1.66v.15H86.43v-.12c.08-.97.3-1.78.72-2.61.5-1 1.2-1.8 2.14-2.42a5.32 5.32 0 0 1 2.9-.95c.2-.01.97 0 1.17.03ZM116.79 7.41c-2 .1-3.73.65-5.22 1.65a10.7 10.7 0 0 0-4.25 6.06 16.1 16.1 0 0 0-.5 5.8c.2 2.17.84 4.13 1.88 5.76.58.9 1.32 1.73 2.15 2.4a9.37 9.37 0 0 0 3.6 1.8 12.06 12.06 0 0 0 3.92.34 10.2 10.2 0 0 0 3.84-.95 8.31 8.31 0 0 0 4.76-6.75l.01-.04h-4.37l-.05.16a4.87 4.87 0 0 1-4.24 3.75c-.59.07-1.32.06-1.93-.05a5.47 5.47 0 0 1-3.5-2.27c-.56-.75-1-1.73-1.26-2.79a13.8 13.8 0 0 1-.16-5.24 7.77 7.77 0 0 1 2.1-4.3 5.48 5.48 0 0 1 2.15-1.3 6.4 6.4 0 0 1 3.89.1c.59.21 1.03.5 1.5.96a5.32 5.32 0 0 1 1.46 2.5l.04.15h4.37v-.06a8.22 8.22 0 0 0-5.31-6.94 10.98 10.98 0 0 0-4.88-.74ZM156.2 7.41a9.87 9.87 0 0 0-6 2.29 11.02 11.02 0 0 0-3.41 5.43c-.52 1.78-.68 3.9-.48 5.97.17 1.8.63 3.38 1.37 4.8a9.68 9.68 0 0 0 5.91 4.86c1.65.48 3.63.61 5.53.36 3.72-.49 6.55-2.62 7.56-5.69.12-.39.13-.42.1-.43-.02 0-4.13-.75-4.19-.75-.03 0-.04 0-.1.16-.18.42-.45.9-.72 1.22-.16.2-.49.53-.7.7-.67.54-1.5.9-2.43 1.08-.48.08-.83.11-1.41.11-.64 0-1.07-.04-1.6-.15a5.76 5.76 0 0 1-3.93-2.83 8 8 0 0 1-.99-3.79v-.16h16.38v-1.11l-.02-1.43c-.1-2.25-.53-4-1.35-5.59a9.24 9.24 0 0 0-6.18-4.75c-1.04-.26-2.2-.36-3.33-.3Zm1.45 3.74a5.35 5.35 0 0 1 3.66 1.94 6.1 6.1 0 0 1 1.38 4.01v.12h-11.97v-.06c0-.02 0-.14.02-.25a6.6 6.6 0 0 1 2.15-4.32 5.73 5.73 0 0 1 3.5-1.46c.25-.02 1 0 1.26.02ZM233.58 7.82l8.37 23.22a49.22 49.22 0 0 1-.67 1.9 5.36 5.36 0 0 1-1.14 1.8c-.41.4-.82.58-1.48.69-.27.04-1.03.03-1.35 0a8.05 8.05 0 0 1-1.1-.23l-1.08 3.67c0 .02.32.14.66.22.83.21 1.57.29 2.56.28.56-.01.8-.03 1.24-.1 2.71-.4 4.66-2.09 5.86-5.08l9.64-26.44c0-.02-4.82-.06-4.83-.05l-2.93 8.96-2.91 8.94h-.24l-.22-.65-2.91-8.95-2.7-8.3H233.53ZM293.05 35.8c-1.18.04-1.93.09-2.8.16-2.52.24-4.53.69-5.43 1.23-.7.41-.76.86-.2 1.28.88.66 3.29 1.19 6.36 1.4a48.55 48.55 0 0 0 5.75.05c3.47-.19 6.24-.78 7.11-1.5.22-.19.3-.34.3-.53 0-.1 0-.12-.04-.22-.35-.69-2.32-1.3-5.25-1.63a41.09 41.09 0 0 0-5.8-.24Zm0 0"})})})}let Gt=/*#__PURE__*/_.div.withConfig({displayName:"TermsAndConditionsContainer",componentId:"sc-a5dd6bd7-0"})(["margin-top:16px;font-size:13px;text-align:center;color:var(--privy-color-foreground-3);&& > a{color:var(--privy-color-accent);}"]);function Jt(e){let{legal:{privacyPolicyUrl:t,termsAndConditionsUrl:i,requireUsersAcceptTerms:a}}=e.app;if(a&&!e.alwaysShowImplicitConsent||!i&&!t)/*#__PURE__*/
3
+ return s(Gt,{});let l=!(!t||!i);/*#__PURE__*/return c(Gt,{children:["By logging in I agree to the"," ",i&&/*#__PURE__*/s("a",{href:i,target:"_blank",children:l?"Terms":"Terms of Service"}),l&&" & ",t&&/*#__PURE__*/s("a",{href:t,target:"_blank",children:"Privacy Policy"})]})}const Kt=()=>{let{appearance:e}=m();/*#__PURE__*/return s(Xt,{children:e.footerLogo??/*#__PURE__*/s("a",{href:"https://www.privy.io/",target:"_blank",id:"protected-by-privy",children:/*#__PURE__*/s(Yt,{height:13,width:150})})})},Xt=/*#__PURE__*/_.div.withConfig({displayName:"ModalFooter",componentId:"sc-a5dd6bd7-1"})(["display:flex;align-items:center;justify-content:center;padding-top:8px;padding-bottom:12px;gap:8px;font-size:13px;&& a{padding:0.5rem 0;&:hover{text-decoration:none;}}@media all and (display-mode:standalone){padding-bottom:30px;}"]),qt=({address:e,showCopyIcon:t,url:a,className:l})=>{let[o,r]=i(!1);return n((()=>{if(o){let e=setTimeout((()=>r(!1)),2e3);return()=>clearTimeout(e)}}),[o]),a?/*#__PURE__*/s("a",{title:e,className:l,href:`${a}/address/${e}`,target:"_blank",children:Ie(e)}):/*#__PURE__*/c("button",{title:e,className:l,onClick:t=>(t.stopPropagation(),navigator.clipboard.writeText(e).then((()=>r(!0))).catch(console.error)),children:[Ie(e),t&&/*#__PURE__*/s(o?ei:$t,{})]})};let $t=/*#__PURE__*/_(ge).withConfig({displayName:"StyledSquare2StackIcon",componentId:"sc-6eaa0c94-0"})(["&&{display:inline;}stroke-width:2;height:0.875rem;width:0.875rem;margin-left:0.125rem;color:var(--privy-color-foreground-3);"]),ei=/*#__PURE__*/_(ue).withConfig({displayName:"StyledCheckIcon",componentId:"sc-6eaa0c94-1"})(["&&{display:inline;}stroke-width:2;height:0.875rem;width:0.875rem;margin-left:0.125rem;color:var(--privy-color-success);"]);const ti=(e,t)=>!w(e)&&("all-users"===t||"users-without-wallets"===t&&!ii(e).length);let ii=e=>e.linkedAccounts.filter((e=>"wallet"===e.type&&"ethereum"===e.chainType));const ai=(e,t)=>!f(e)&&("all-users"===t||"users-without-wallets"===t&&!li(e).length);let li=e=>e.linkedAccounts.filter((e=>"wallet"===e.type&&"solana"===e.chainType));const oi=(e,t)=>ti(e,t.ethereum.createOnLogin)||ai(e,t.solana.createOnLogin),ni=/*#__PURE__*/_.div.withConfig({displayName:"BottomPusherContainer",componentId:"sc-cb963810-0"})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;margin-top:auto;gap:16px;flex-grow:100;"]),ri=/*#__PURE__*/_.div.withConfig({displayName:"CenteredItem",componentId:"sc-cb963810-1"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;flex-grow:1;width:100%;"]),si=/*#__PURE__*/_.div.withConfig({displayName:"HorizontallyCenteredItem",componentId:"sc-cb963810-2"})(["display:flex;flex-direction:column;align-items:center;width:100%;"]),ci=/*#__PURE__*/_(ri).withConfig({displayName:"CenteredItemWithPadding",componentId:"sc-cb963810-3"})(["padding:20px 0;"]),di=/*#__PURE__*/_(ri).withConfig({displayName:"CenteredItemWithGap",componentId:"sc-cb963810-4"})(["gap:16px;"]),hi=/*#__PURE__*/_.div.withConfig({displayName:"FlexContainer",componentId:"sc-cb963810-5"})(["display:flex;flex-direction:column;width:100%;"]),pi=/*#__PURE__*/_.div.withConfig({displayName:"FixedGappedContainer",componentId:"sc-cb963810-6"})(["display:flex;flex-direction:column;gap:8px;"]),ui=/*#__PURE__*/_.div.withConfig({displayName:"StyledCalloutSection",componentId:"sc-cb963810-8"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;padding:16px;margin-top:16px;margin-bottom:16px;width:100%;background:var(--privy-color-background-2);border-radius:var(--privy-border-radius-md);&& h4{color:var(--privy-color-foreground-3);font-size:14px;text-decoration:underline;font-weight:medium;}&& p{color:var(--privy-color-foreground-3);font-size:14px;}"]),gi=/*#__PURE__*/_.div.withConfig({displayName:"RefactorSpacerTop",componentId:"sc-cb963810-9"})(["height:16px;"]),mi=/*#__PURE__*/_.div.withConfig({displayName:"RefactorSpacerBottom",componentId:"sc-cb963810-10"})(["height:12px;"]),wi=/*#__PURE__*/_.div.withConfig({displayName:"RelativeContainer",componentId:"sc-cb963810-11"})(["position:relative;"]),fi=/*#__PURE__*/_.div.withConfig({displayName:"ConfigurableSpacer",componentId:"sc-cb963810-12"})(["height:","px;"],(e=>e.height??"12")),Ci=/*#__PURE__*/_.div.withConfig({displayName:"Circle",componentId:"sc-cb963810-13"})(["background-color:var(--privy-color-accent);display:flex;justify-content:center;align-items:center;border-radius:50%;border-color:white;border-width:2px !important;"]);let yi=/*#__PURE__*/H(["from,to{background:var(--privy-color-foreground-4);color:var(--privy-color-foreground-4);}50%{background:var(--privy-color-foreground-accent);color:var(--privy-color-foreground-accent);}"]);const vi=/*#__PURE__*/Q(["",""],(e=>e.$isLoading?/*#__PURE__*/Q(["width:35%;animation:"," 2s linear infinite;border-radius:var(--privy-border-radius-sm);"],yi):"")),Ai=({children:e,color:t,isLoading:i,isPulsing:a,...l})=>/*#__PURE__*/s(bi,{$color:t,$isLoading:i,$isPulsing:a,...l,children:e});let bi=/*#__PURE__*/_.span.withConfig({displayName:"StyledSpan",componentId:"sc-eba15c9-0"})(["padding:0.125rem 0.5rem;font-size:0.75rem;font-weight:500;line-height:1.125rem;border-radius:var(--privy-border-radius-sm);display:flex;align-items:center;"," ",""],(e=>{let t,i;"green"===e.$color&&(t="var(--privy-color-success-dark)",i="var(--privy-color-success-light)"),"red"===e.$color&&(t="var(--privy-color-error)",i="var(--privy-color-error-light)"),"gray"===e.$color&&(t="var(--privy-color-foreground-2)",i="var(--privy-color-background-2)");let a=/*#__PURE__*/H(["from,to{background-color:",";}50%{background-color:rgba(",",0.8);}"],i,i);/*#__PURE__*/return Q(["color:",";background-color:",";",";"],t,i,e.$isPulsing&&/*#__PURE__*/Q(["animation:"," 3s linear infinite;"],a))}),vi);const Mi={coinbase_wallet:{logo:$e,displayName:"Coinbase Wallet",rdns:"com.coinbase.wallet"},coinbase_smart_wallet:{logo:$e,displayName:"Coinbase Smart Wallet",rdns:"com.coinbase.wallet"},metamask:{logo:st,displayName:"MetaMask",rdns:"io.metamask"},phantom:{logo:ct,displayName:"Phantom"},rainbow:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("g",{clipPath:"url(#clip0_5_32)",children:/*#__PURE__*/c("g",{clipPath:"url(#clip1_5_32)",children:[/*#__PURE__*/s("mask",{id:"mask0_5_32",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:/*#__PURE__*/s("path",{d:"M78.163 0H41.837C29.79 0 23.767 0 17.283 2.04999C10.203 4.62701 4.627 10.203 2.05 17.283C0 23.767 0 29.791 0 41.837V78.163C0 90.21 0 96.232 2.05 102.717C4.627 109.797 10.203 115.373 17.283 117.949C23.767 120 29.79 120 41.837 120H78.163C90.21 120 96.232 120 102.717 117.949C109.797 115.373 115.373 109.797 117.95 102.717C120 96.232 120 90.21 120 78.163V41.837C120 29.791 120 23.767 117.95 17.283C115.373 10.203 109.797 4.62701 102.717 2.04999C96.232 0 90.21 0 78.163 0Z",fill:"black"})}),/*#__PURE__*/s("g",{mask:"url(#mask0_5_32)",children:/*#__PURE__*/s("rect",{width:"120",height:"120",fill:"url(#paint0_linear_5_32)"})}),/*#__PURE__*/s("path",{d:"M20 38H26C56.9279 38 82 63.0721 82 94V100H94C97.3137 100 100 97.3137 100 94C100 53.1309 66.8691 20 26 20C22.6863 20 20 22.6863 20 26V38Z",fill:"url(#paint1_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M84 94H100C100 97.3137 97.3137 100 94 100H84V94Z",fill:"url(#paint2_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M26 20L26 36H20L20 26C20 22.6863 22.6863 20 26 20Z",fill:"url(#paint3_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M20 36H26C58.0325 36 84 61.9675 84 94V100H66V94C66 71.9086 48.0914 54 26 54H20V36Z",fill:"url(#paint4_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M68 94H84V100H68V94Z",fill:"url(#paint5_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M20 52L20 36L26 36L26 52H20Z",fill:"url(#paint6_linear_5_32)"}),/*#__PURE__*/s("path",{d:"M20 62C20 65.3137 22.6863 68 26 68C40.3594 68 52 79.6406 52 94C52 97.3137 54.6863 100 58 100H68V94C68 70.804 49.196 52 26 52H20V62Z",fill:"url(#paint7_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M52 94H68V100H58C54.6863 100 52 97.3137 52 94Z",fill:"url(#paint8_radial_5_32)"}),/*#__PURE__*/s("path",{d:"M26 68C22.6863 68 20 65.3137 20 62L20 52L26 52L26 68Z",fill:"url(#paint9_radial_5_32)"})]})}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_5_32",x1:"60",y1:"0",x2:"60",y2:"120",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#174299"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#001E59"})]}),/*#__PURE__*/c("radialGradient",{id:"paint1_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(26 94) rotate(-90) scale(74)",children:[/*#__PURE__*/s("stop",{offset:"0.770277",stopColor:"#FF4000"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8754C9"})]}),/*#__PURE__*/c("linearGradient",{id:"paint2_linear_5_32",x1:"83",y1:"97",x2:"100",y2:"97",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FF4000"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8754C9"})]}),/*#__PURE__*/c("linearGradient",{id:"paint3_linear_5_32",x1:"23",y1:"20",x2:"23",y2:"37",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#8754C9"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF4000"})]}),/*#__PURE__*/c("radialGradient",{id:"paint4_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(26 94) rotate(-90) scale(58)",children:[/*#__PURE__*/s("stop",{offset:"0.723929",stopColor:"#FFF700"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF9901"})]}),/*#__PURE__*/c("linearGradient",{id:"paint5_linear_5_32",x1:"68",y1:"97",x2:"84",y2:"97",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FFF700"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF9901"})]}),/*#__PURE__*/c("linearGradient",{id:"paint6_linear_5_32",x1:"23",y1:"52",x2:"23",y2:"36",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#FFF700"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#FF9901"})]}),/*#__PURE__*/c("radialGradient",{id:"paint7_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(26 94) rotate(-90) scale(42)",children:[/*#__PURE__*/s("stop",{offset:"0.59513",stopColor:"#00AAFF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#01DA40"})]}),/*#__PURE__*/c("radialGradient",{id:"paint8_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(51 97) scale(17 45.3333)",children:[/*#__PURE__*/s("stop",{stopColor:"#00AAFF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#01DA40"})]}),/*#__PURE__*/c("radialGradient",{id:"paint9_radial_5_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(23 69) rotate(-90) scale(17 322.37)",children:[/*#__PURE__*/s("stop",{stopColor:"#00AAFF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#01DA40"})]}),/*#__PURE__*/s("clipPath",{id:"clip0_5_32",children:/*#__PURE__*/s("rect",{width:"120",height:"120",fill:"white"})}),/*#__PURE__*/s("clipPath",{id:"clip1_5_32",children:/*#__PURE__*/s("rect",{width:"120",height:"120",fill:"white"})})]})]}),displayName:"Rainbow",rdns:"me.rainbow"},wallet_connect:{logo:ft,displayName:"WalletConnect"},zerion:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"176",height:"176",viewBox:"0 0 176 176",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/c("g",{clipPath:"url(#clip0_1704_1423)",children:[/*#__PURE__*/s("path",{d:"M126.233 176H49.7672C22.287 176 0 153.723 0 126.233V49.7673C0 22.287 22.2769 0 49.7672 0H126.233C153.713 0 176 22.277 176 49.7673V126.233C176 153.723 153.713 176 126.233 176Z",fill:"#2461ED"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100.667 85.6591C83.4133 76.3353 62.4196 64.2443 46.6192 54.3891C41.9573 51.0306 44.3234 43.9023 49.9578 43.9023H128.138C132.499 43.9023 135.416 48.7648 133.231 52.4442C127.977 61.5174 120.308 73.0368 113.901 82.1702C110.462 87.0727 104.858 87.9149 100.667 85.6591ZM75.5031 88.6867C92.1858 97.5795 115.566 111.104 132.178 121.33C137.311 124.498 135.266 132.098 129.271 132.098C119.46 132.098 103.518 132.1 87.6592 132.103C71.9639 132.105 56.3497 132.108 46.8398 132.108C42.0476 132.108 39.5913 127.135 41.6265 123.666C48.5041 111.946 56.2338 100.116 62.6603 91.2834C65.5176 87.3433 71.3325 86.461 75.5031 88.6867Z",fill:"white"})]}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/s("clipPath",{id:"clip0_1704_1423",children:/*#__PURE__*/s("rect",{width:"176",height:"176",fill:"white"})})})]}),displayName:"Zerion",rdns:"io.zerion.wallet"},brave_wallet:{logo:({...e})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 436.49 511.97",height:"24",width:"24",...e,children:[/*#__PURE__*/s("defs",{children:/*#__PURE__*/c("linearGradient",{id:"brave-linear-gradient",x1:"-18.79",y1:"359.73",x2:"194.32",y2:"359.73",gradientTransform:"matrix(2.05, 0, 0, -2.05, 38.49, 992.77)",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#f1562b"}),/*#__PURE__*/s("stop",{offset:"0.3",stopColor:"#f1542b"}),/*#__PURE__*/s("stop",{offset:"0.41",stopColor:"#f04d2a"}),/*#__PURE__*/s("stop",{offset:"0.49",stopColor:"#ef4229"}),/*#__PURE__*/s("stop",{offset:"0.5",stopColor:"#ef4029"}),/*#__PURE__*/s("stop",{offset:"0.56",stopColor:"#e83e28"}),/*#__PURE__*/s("stop",{offset:"0.67",stopColor:"#e13c26"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#df3c26"})]})}),/*#__PURE__*/s("path",{style:{fill:"url(#brave-linear-gradient)"},d:"M436.49,165.63,420.7,122.75l11-24.6A8.47,8.47,0,0,0,430,88.78L400.11,58.6a48.16,48.16,0,0,0-50.23-11.66l-8.19,2.89L296.09.43,218.25,0,140.4.61,94.85,50.41l-8.11-2.87A48.33,48.33,0,0,0,36.19,59.3L5.62,90.05a6.73,6.73,0,0,0-1.36,7.47l11.47,25.56L0,165.92,56.47,380.64a89.7,89.7,0,0,0,34.7,50.23l111.68,75.69a24.73,24.73,0,0,0,30.89,0l111.62-75.8A88.86,88.86,0,0,0,380,380.53l46.07-176.14Z"}),/*#__PURE__*/s("path",{style:{fill:"#fff"},d:"M231,317.33a65.61,65.61,0,0,0-9.11-3.3h-5.49a66.08,66.08,0,0,0-9.11,3.3l-13.81,5.74-15.6,7.18-25.4,13.24a4.84,4.84,0,0,0-.62,9l22.06,15.49q7,5,13.55,10.76l6.21,5.35,13,11.37,5.89,5.2a10.15,10.15,0,0,0,12.95,0l25.39-22.18,13.6-10.77,22.06-15.79a4.8,4.8,0,0,0-.68-8.93l-25.36-12.8L244.84,323ZM387.4,175.2l.8-2.3a61.26,61.26,0,0,0-.57-9.18,73.51,73.51,0,0,0-8.19-15.44l-14.35-21.06-10.22-13.88-19.23-24a69.65,69.65,0,0,0-5.7-6.67h-.4L321,84.25l-42.27,8.14a33.49,33.49,0,0,1-12.59-1.84l-23.21-7.5-16.61-4.59a70.52,70.52,0,0,0-14.67,0L195,83.1l-23.21,7.54a33.89,33.89,0,0,1-12.59,1.84l-42.22-8-8.54-1.58h-.4a65.79,65.79,0,0,0-5.7,6.67l-19.2,24Q77.81,120.32,73,127.45L58.61,148.51l-6.78,11.31a51,51,0,0,0-1.94,13.35l.8,2.3A34.51,34.51,0,0,0,52,179.81l11.33,13,50.23,53.39a14.31,14.31,0,0,1,2.55,14.34L107.68,280a25.23,25.23,0,0,0-.39,16l1.64,4.52a43.58,43.58,0,0,0,13.39,18.76l7.89,6.43a15,15,0,0,0,14.35,1.72L172.62,314A70.38,70.38,0,0,0,187,304.52l22.46-20.27a9,9,0,0,0,3-6.36,9.08,9.08,0,0,0-2.5-6.56L159.2,237.18a9.83,9.83,0,0,1-3.09-12.45l19.66-36.95a19.21,19.21,0,0,0,1-14.67A22.37,22.37,0,0,0,165.58,163L103.94,139.8c-4.44-1.6-4.2-3.6.51-3.88l36.2-3.59a55.9,55.9,0,0,1,16.9,1.5l31.5,8.8a9.64,9.64,0,0,1,6.74,10.76L183.42,221a34.72,34.72,0,0,0-.61,11.41c.5,1.61,4.73,3.6,9.36,4.73l19.19,4a46.38,46.38,0,0,0,16.86,0l17.26-4c4.64-1,8.82-3.23,9.35-4.85a34.94,34.94,0,0,0-.63-11.4l-12.45-67.59a9.66,9.66,0,0,1,6.74-10.76l31.5-8.83a55.87,55.87,0,0,1,16.9-1.5l36.2,3.37c4.74.44,5,2.2.54,3.88L272,162.79a22.08,22.08,0,0,0-11.16,10.12,19.3,19.3,0,0,0,1,14.67l19.69,36.95A9.84,9.84,0,0,1,278.45,237l-50.66,34.23a9,9,0,0,0,.32,12.78l.15.14,22.49,20.27a71.46,71.46,0,0,0,14.35,9.47l28.06,13.35a14.89,14.89,0,0,0,14.34-1.76l7.9-6.45a43.53,43.53,0,0,0,13.38-18.8l1.65-4.52a25.27,25.27,0,0,0-.39-16l-8.26-19.49a14.4,14.4,0,0,1,2.55-14.35l50.23-53.45,11.3-13a35.8,35.8,0,0,0,1.54-4.24Z"})]}),displayName:"Brave Wallet",rdns:"com.brave.wallet"},cryptocom:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"400",height:"400",viewBox:"0 0 400 400",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M260.543 0C300.7 0 320.773 0 342.39 6.83333C365.99 15.4233 384.577 34.01 393.167 57.61C400 79.2233 400 99.3033 400 139.457V260.543C400 300.7 400 320.773 393.167 342.39C384.577 365.99 365.99 384.577 342.39 393.163C320.773 400 300.7 400 260.543 400H139.457C99.3 400 79.2233 400 57.61 393.163C34.01 384.577 15.4233 365.99 6.83333 342.39C0 320.773 0 300.7 0 260.543V139.457C0 99.3033 0 79.2233 6.83333 57.61C15.4233 34.01 34.01 15.4233 57.61 6.83333C79.2233 0 99.3 0 139.457 0H260.543Z",fill:"white"}),/*#__PURE__*/s("mask",{id:"mask0_16909_31415",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"400",height:"400",children:/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M260.543 0C300.7 0 320.773 0 342.39 6.83333C365.99 15.4233 384.577 34.01 393.167 57.61C400 79.2233 400 99.3033 400 139.457V260.543C400 300.7 400 320.773 393.167 342.39C384.577 365.99 365.99 384.577 342.39 393.163C320.773 400 300.7 400 260.543 400H139.457C99.3 400 79.2233 400 57.61 393.163C34.01 384.577 15.4233 365.99 6.83333 342.39C0 320.773 0 300.7 0 260.543V139.457C0 99.3033 0 79.2233 6.83333 57.61C15.4233 34.01 34.01 15.4233 57.61 6.83333C79.2233 0 99.3 0 139.457 0H260.543Z",fill:"white"})}),/*#__PURE__*/c("g",{mask:"url(#mask0_16909_31415)",children:[/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.804 39.8501L59.3756 119.957V280.18L199.804 360.297L340.23 280.18V119.957L199.804 39.8501Z",fill:"#FEFEFE"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M199.804 39.8501L59.3756 119.957V280.18L199.804 360.297L340.23 280.18V119.957L199.804 39.8501ZM144.359 109.116H254.873L268.197 164.788H131.538L144.359 109.116ZM176.201 204.291L164.148 173.197H235.711L223.913 204.291L227.339 239.028L199.804 239.154H172.522L176.201 204.291ZM211.354 275.892V264.862L236.093 241.414V204.417L268.451 183.607L305.376 211.066L255.119 297.589H235.203L211.354 275.892ZM94.2395 211.066L131.282 183.857L164.021 204.417V241.414L188.76 264.862V275.892L164.913 297.84H144.734L94.2395 211.066Z",fill:"#002D72"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M255.12 297.589H235.202L211.355 275.892V264.862L236.094 241.414V204.417L268.45 183.607L305.377 211.066L255.12 297.589ZM199.803 39.8498V109.117H254.872L268.198 164.789H199.803V173.199H235.712L223.914 204.291L227.338 239.028L199.803 239.153V360.296L340.231 280.181V119.957L199.803 39.8498Z",fill:"url(#paint0_linear_16909_31415)",style:{mixBlendMode:"multiply"}}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M188.761 275.892L164.912 297.84H144.734L94.2389 211.066L131.283 183.858L164.022 204.417V241.414L188.761 264.862V275.892ZM172.522 239.153L176.2 204.291L164.149 173.199H199.803V164.789H131.537L144.36 109.117H199.803V39.8498L59.375 119.957V280.181L199.803 360.296V239.153H172.522Z",fill:"url(#paint1_linear_16909_31415)",style:{mixBlendMode:"multiply"}})]}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_16909_31415",x1:"325.255",y1:"325.727",x2:"325.255",y2:"73.6291",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#002D72"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#002D72",stopOpacity:"0.01"})]}),/*#__PURE__*/c("linearGradient",{id:"paint1_linear_16909_31415",x1:"184.827",y1:"325.727",x2:"184.827",y2:"73.6291",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#002D72",stopOpacity:"0.01"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#002D72"})]})]})]}),displayName:"Crypto.com Onchain",rdns:"com.crypto.wallet"},uniswap:{logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"96",height:"96",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("rect",{width:"96",height:"96",rx:"18",fill:"#FEF4FF"}),/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{d:"M71.9367 18.39C72.0482 16.4526 72.3145 15.1746 72.8497 14.0075C73.0616 13.5456 73.2601 13.1675 73.2907 13.1675C73.3214 13.1675 73.2293 13.5085 73.086 13.9252C72.6969 15.0578 72.633 16.607 72.901 18.4094C73.2413 20.6963 73.4348 21.0263 75.8841 23.4967C77.0329 24.6554 78.3692 26.1168 78.8536 26.7443L79.7343 27.8851L78.8536 27.0698C77.7764 26.0728 75.2992 24.1283 74.7521 23.8503C74.3852 23.6639 74.3306 23.6671 74.1043 23.8894C73.8958 24.0943 73.8519 24.4021 73.8229 25.8572C73.7778 28.125 73.4646 29.5807 72.7087 31.0362C72.2998 31.8234 72.2354 31.6554 72.6053 30.7668C72.8816 30.1034 72.9096 29.8117 72.9076 27.6163C72.9033 23.2052 72.3727 22.1447 69.2607 20.3281C68.4724 19.8678 67.1734 19.2041 66.3742 18.8531C65.575 18.502 64.9401 18.1962 64.9633 18.1734C65.0514 18.0868 68.0863 18.961 69.3077 19.4247C71.1247 20.1145 71.4247 20.2039 71.6454 20.1207C71.7933 20.0649 71.8648 19.6398 71.9367 18.39Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M33.5466 11.9727C32.4688 11.808 32.4233 11.7887 32.9306 11.7119C33.9026 11.5647 36.1979 11.7653 37.7796 12.1358C41.4722 13.0004 44.8322 15.2153 48.4188 19.1488L49.3717 20.1938L50.7348 19.978C56.4773 19.0689 62.3192 19.7914 67.2054 22.0148C68.5495 22.6265 70.6689 23.8441 70.9337 24.157C71.018 24.2568 71.173 24.8987 71.2779 25.5837C71.6408 27.9534 71.4591 29.7699 70.7234 31.1265C70.3229 31.8648 70.3006 32.0988 70.5698 32.7306C70.7847 33.2348 71.3838 33.608 71.9771 33.6072C73.1913 33.6056 74.4983 31.6721 75.1038 28.9818L75.3443 27.9131L75.8209 28.4448C78.4346 31.3619 80.4876 35.34 80.8403 38.1716L80.9321 38.9099L80.4928 38.2387C79.7366 37.0838 78.9769 36.2976 78.0041 35.6635C76.2504 34.5205 74.3961 34.1315 69.4853 33.8766C65.0501 33.6464 62.5399 33.2732 60.0509 32.4737C55.816 31.1137 53.6812 29.3023 48.6508 22.8012C46.4164 19.9135 45.0354 18.3159 43.6616 17.0293C40.5401 14.1058 37.4729 12.5726 33.5466 11.9727Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M35.6404 25.9564C33.4522 22.9889 32.0983 18.4391 32.3914 15.0379L32.482 13.9854L32.9801 14.0749C33.9155 14.243 35.5283 14.8343 36.2835 15.2861C38.3559 16.5259 39.253 18.1582 40.1658 22.3496C40.4332 23.5773 40.7839 24.9666 40.9454 25.437C41.2052 26.194 42.1871 27.9624 42.9854 29.1109C43.5605 29.938 43.1785 30.33 41.9074 30.217C39.9662 30.0444 37.3367 28.2568 35.6404 25.9564Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M69.2799 48.0419C59.0538 43.9862 55.4521 40.4658 55.4521 34.5259C55.4521 33.6517 55.4827 32.9365 55.5199 32.9365C55.5572 32.9365 55.9528 33.225 56.3991 33.5776C58.4728 35.216 60.7949 35.9157 67.2233 36.8395C71.0061 37.3831 73.1349 37.8222 75.0986 38.4637C81.3402 40.5027 85.2018 44.6406 86.1227 50.2766C86.3903 51.9143 86.2334 54.9854 85.7995 56.6039C85.457 57.8824 84.4118 60.1868 84.1346 60.2751C84.0578 60.2996 83.9824 60.0094 83.9626 59.6147C83.8575 57.4983 82.7718 55.438 80.9485 53.8946C78.8754 52.1399 76.0901 50.7428 69.2799 48.0419Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M62.1008 49.7268C61.9727 48.9758 61.7505 48.0167 61.607 47.5954L61.3461 46.8296L61.8307 47.3655C62.5014 48.107 63.0314 49.0559 63.4806 50.3197C63.8234 51.2843 63.862 51.5711 63.8594 53.1386C63.8568 54.6774 63.814 55 63.4974 55.8682C62.9983 57.2373 62.3788 58.208 61.3392 59.2501C59.4712 61.1228 57.0696 62.1596 53.6039 62.5896C53.0015 62.6643 51.2456 62.7902 49.7019 62.8693C45.8118 63.0686 43.2515 63.4803 40.9508 64.276C40.6201 64.3905 40.3247 64.4601 40.2948 64.4305C40.2017 64.3393 41.768 63.4195 43.0618 62.8056C44.8862 61.94 46.7021 61.4676 50.7709 60.8002C52.7809 60.4704 54.8566 60.0704 55.3837 59.9112C60.3612 58.4079 62.9197 54.5286 62.1008 49.7268Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M66.7886 57.9275C65.4299 55.0505 65.1179 52.2726 65.8623 49.6821C65.942 49.4053 66.07 49.1787 66.1471 49.1787C66.224 49.1787 66.5447 49.3495 66.8594 49.5581C67.4855 49.9732 68.7412 50.6725 72.0866 52.4692C76.2612 54.7111 78.6414 56.4472 80.2599 58.4306C81.6775 60.1677 82.5547 62.1459 82.9769 64.5583C83.2159 65.9248 83.0759 69.2128 82.7199 70.5889C81.5975 74.9275 78.9889 78.3356 75.2682 80.3242C74.7231 80.6155 74.2337 80.8547 74.1807 80.8558C74.1278 80.8569 74.3264 80.3594 74.6222 79.7503C75.8738 77.173 76.0163 74.6661 75.07 71.8756C74.4906 70.1671 73.3092 68.0823 70.924 64.5588C68.1507 60.4623 67.4708 59.3721 66.7886 57.9275Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{d:"M28.3782 73.4506C32.173 70.2943 36.8948 68.0521 41.1958 67.3639C43.0494 67.0672 46.1372 67.185 47.8537 67.6178C50.605 68.3113 53.0662 69.8648 54.3462 71.7156C55.5971 73.5245 56.1338 75.1008 56.6925 78.6081C56.913 79.9916 57.1527 81.3809 57.2252 81.6954C57.6449 83.5131 58.4614 84.966 59.4733 85.6957C61.0805 86.8544 63.8479 86.9265 66.5704 85.8804C67.0325 85.7028 67.4336 85.5801 67.4618 85.6078C67.5605 85.7044 66.1896 86.6083 65.2225 87.0842C63.9212 87.7245 62.8864 87.972 61.5115 87.972C59.0181 87.972 56.948 86.7226 55.2206 84.175C54.8807 83.6736 54.1167 82.1718 53.5228 80.8378C51.699 76.7403 50.7984 75.4921 48.6809 74.126C46.8381 72.9374 44.4615 72.7245 42.6736 73.588C40.325 74.7223 39.6698 77.6786 41.3518 79.5521C42.0204 80.2967 43.2671 80.939 44.2865 81.0638C46.1936 81.2975 47.8326 79.8684 47.8326 77.9717C47.8326 76.7402 47.352 76.0374 46.1423 75.4996C44.4901 74.7652 42.7141 75.6237 42.7226 77.1526C42.7263 77.8045 43.0145 78.214 43.6779 78.5097C44.1036 78.6994 44.1134 78.7144 43.7664 78.6434C42.2504 78.3337 41.8952 76.5335 43.1141 75.3383C44.5776 73.9036 47.6037 74.5367 48.6428 76.4951C49.0794 77.3177 49.1301 78.956 48.7495 79.9452C47.8976 82.1593 45.4138 83.3237 42.8941 82.6901C41.1787 82.2587 40.4801 81.7915 38.4119 79.6931C34.8179 76.0462 33.4226 75.3396 28.2413 74.5428L27.2484 74.3902L28.3782 73.4506Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5147 8.18128C23.517 22.5305 31.7835 28.4507 32.7022 29.7015C33.4607 30.7343 33.1752 31.6628 31.8758 32.3905C31.1532 32.7951 29.6676 33.205 28.9238 33.205C28.0825 33.205 27.7936 32.8853 27.7936 32.8853C27.3058 32.4296 27.0311 32.5093 24.5261 28.1293C21.0483 22.8137 18.1379 18.4041 18.0585 18.3303C17.8749 18.1596 17.878 18.1653 24.1715 29.2574C25.1883 31.5693 24.3737 32.4179 24.3737 32.7471C24.3737 33.417 24.1882 33.7691 23.3494 34.6907C21.951 36.2274 21.3259 37.954 20.8746 41.5274C20.3687 45.5332 18.9462 48.3629 15.0041 53.2057C12.6965 56.0406 12.3189 56.5602 11.7366 57.7028C11.0032 59.1416 10.8015 59.9475 10.7198 61.7645C10.6334 63.6855 10.8016 64.9265 11.3975 66.7632C11.9191 68.3712 12.4636 69.433 13.8555 71.5567C15.0568 73.3894 15.7484 74.7513 15.7484 75.2841C15.7484 75.708 15.8306 75.7085 17.692 75.2945C22.1466 74.3036 25.7638 72.5609 27.7981 70.4252C29.0571 69.1033 29.3527 68.3733 29.3623 66.5619C29.3686 65.377 29.3263 65.1289 29.0011 64.4473C28.4718 63.3379 27.5083 62.4154 25.3845 60.9853C22.6019 59.1115 21.4133 57.603 21.085 55.5285C20.8157 53.8263 21.1282 52.6253 22.6676 49.4472C24.2609 46.1575 24.6558 44.7557 24.9229 41.4399C25.0954 39.2977 25.3343 38.4528 25.9591 37.7747C26.6108 37.0676 27.1975 36.8281 28.8103 36.611C31.4396 36.2572 33.1139 35.5871 34.4901 34.3379C35.6839 33.2543 36.1835 32.2101 36.2602 30.6382L36.3184 29.4468L35.6512 28.6806C33.2352 25.9057 9.89667 6 9.74799 6C9.71623 6 10.5113 6.98164 11.5147 8.18128ZM17.1047 63.9381C17.6509 62.9852 17.3607 61.7601 16.447 61.1617C15.5836 60.5962 14.2424 60.8625 14.2424 61.5994C14.2424 61.8243 14.3687 61.9879 14.6532 62.1322C15.1322 62.375 15.167 62.648 14.7901 63.2061C14.4084 63.7712 14.4392 64.2681 14.877 64.6057C15.5826 65.15 16.5815 64.8507 17.1047 63.9381Z",fill:"#F50DB4"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.9777 37.236C36.7433 37.6095 35.5435 38.8981 35.172 40.2493C34.9454 41.0736 35.074 42.5196 35.4134 42.9662C35.9617 43.6874 36.492 43.8774 37.9277 43.8675C40.7388 43.8482 43.1825 42.6606 43.4666 41.176C43.6994 39.9591 42.6262 38.2726 41.1478 37.5321C40.385 37.1502 38.7626 36.9987 37.9777 37.236ZM41.2638 39.7671C41.6973 39.1604 41.5076 38.5047 40.7704 38.0611C39.3664 37.2167 37.2432 37.9155 37.2432 39.222C37.2432 39.8724 38.3504 40.5819 39.3653 40.5819C40.0408 40.5819 40.9652 40.1851 41.2638 39.7671Z",fill:"#F50DB4"})]})]}),displayName:"Uniswap Wallet",rdns:"org.uniswap.app"},okx_wallet:{displayName:"OKX Wallet",rdns:"com.okex.wallet",logo:ut},rabby_wallet:{logo:e=>/*#__PURE__*/c("svg",{width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{width:"52",height:"52",rx:"26",fill:"#7084FF"}),/*#__PURE__*/s("path",{d:"M43.6781 28.2954C45.1053 25.0988 38.0498 16.168 31.3094 12.4472C27.0608 9.56481 22.6337 9.96081 21.737 11.2264C19.7693 14.0039 28.2527 16.3574 33.9263 19.1037C32.7067 19.6348 31.5574 20.5879 30.8816 21.8067C28.7664 19.4915 24.1239 17.4977 18.6765 19.1037C15.0056 20.186 11.9547 22.7374 10.7756 26.5911C10.4891 26.4635 10.1719 26.3925 9.83814 26.3925C8.56192 26.3925 7.52734 27.4298 7.52734 28.7094C7.52734 29.989 8.56192 31.0263 9.83814 31.0263C10.0747 31.0263 10.8143 30.8672 10.8143 30.8672L22.6337 30.953C17.9068 38.4713 14.1713 39.5704 14.1713 40.8729C14.1713 42.1754 17.7455 41.8224 19.0876 41.3369C25.5121 39.0127 32.4123 31.7692 33.5964 29.6841C38.5688 30.3061 42.7476 30.3796 43.6781 28.2954Z",fill:"url(#paint0_linear_81034_11443)"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.8741 19.076C33.8926 19.084 33.911 19.092 33.9294 19.1001C34.1923 18.9962 34.1498 18.6068 34.0776 18.301C33.9116 17.5981 31.0479 14.7629 28.3588 13.493C24.6934 11.762 21.9946 11.8518 21.5972 12.65C22.3407 14.1849 25.8031 15.6258 29.4193 17.1308C30.9407 17.7639 32.4893 18.4084 33.8741 19.076Z",fill:"url(#paint1_linear_81034_11443)"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.272 34.5374C28.5323 34.2543 27.697 33.9945 26.7477 33.7587C27.7625 31.9382 27.9754 29.2432 27.0171 27.5392C25.6721 25.1478 23.9838 23.875 20.0605 23.875C17.9027 23.875 12.093 24.6037 11.9899 29.4663C11.9791 29.9743 11.9895 30.44 12.026 30.8685L22.6335 30.9456C21.2017 33.2229 19.8609 34.9113 18.6873 36.1947C20.0979 36.5571 21.2615 36.8612 22.3297 37.1404C23.3394 37.4043 24.2638 37.646 25.2309 37.8934C26.6941 36.8249 28.0698 35.6597 29.272 34.5374Z",fill:"url(#paint2_linear_81034_11443)"}),/*#__PURE__*/s("path",{d:"M10.6324 30.3712C11.0658 34.065 13.1596 35.5127 17.4381 35.9411C21.7166 36.3695 24.1708 36.0821 27.4381 36.3801C30.167 36.6291 32.6036 38.0233 33.5075 37.5415C34.321 37.1079 33.8659 35.5412 32.7774 34.5361C31.3663 33.2333 29.4135 32.3274 25.9773 32.006C26.6621 30.1261 26.4702 27.4903 25.4067 26.0562C23.8689 23.9827 21.0305 23.0453 17.4381 23.4549C13.6848 23.8828 10.0885 25.7354 10.6324 30.3712Z",fill:"url(#paint3_linear_81034_11443)"}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("linearGradient",{id:"paint0_linear_81034_11443",x1:"18.249",y1:"25.4646",x2:"43.3806",y2:"32.5728",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"white"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"white"})]}),/*#__PURE__*/c("linearGradient",{id:"paint1_linear_81034_11443",x1:"39.1432",y1:"24.9813",x2:"20.9691",y2:"6.81008",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#8697FF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8697FF",stopOpacity:"0"})]}),/*#__PURE__*/c("linearGradient",{id:"paint2_linear_81034_11443",x1:"29.7761",y1:"35.1727",x2:"12.345",y2:"25.1792",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"#8697FF"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8697FF",stopOpacity:"0"})]}),/*#__PURE__*/c("linearGradient",{id:"paint3_linear_81034_11443",x1:"19.7472",y1:"25.2716",x2:"31.5549",y2:"40.2352",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{stopColor:"white"}),/*#__PURE__*/s("stop",{offset:"0.983895",stopColor:"#D1D8FF"})]})]})]}),displayName:"Rabby Wallet",rdns:"io.rabby.wallet"},safe:{displayName:"Safe",logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/s("rect",{width:"28",height:"28",rx:"3",fill:"#12FF80"}),/*#__PURE__*/s("path",{d:"M22.5151 13.9979H20.4244C19.7981 13.9979 19.2945 14.5058 19.2945 15.128V18.163C19.2945 18.7894 18.7866 19.2931 18.1645 19.2931H9.8398C9.21344 19.2931 8.70981 19.8011 8.70981 20.4233V22.5185C8.70981 23.145 9.21767 23.6487 9.8398 23.6487H18.6427C19.2691 23.6487 19.7642 23.1407 19.7642 22.5185V20.8423C19.7642 20.2159 20.2721 19.7757 20.8942 19.7757H22.5151C23.1415 19.7757 23.6451 19.2677 23.6451 18.6455V15.1196C23.6451 14.4889 23.1373 13.9979 22.5151 13.9979Z",fill:"black"}),/*#__PURE__*/s("path",{d:"M8.7098 9.84127C8.7098 9.21481 9.21766 8.71111 9.83978 8.71111H18.156C18.7823 8.71111 19.286 8.20317 19.286 7.58095V5.48995C19.286 4.86349 18.7781 4.35979 18.156 4.35979H9.35732C8.73096 4.35979 8.22733 4.86772 8.22733 5.48995V7.10264C8.22733 7.7291 7.71947 8.2328 7.09734 8.2328H5.48912C4.86276 8.2328 4.35913 8.74074 4.35913 9.36296V12.8931C4.35913 13.5196 4.86699 13.9979 5.49335 13.9979H7.58404C8.2104 13.9979 8.71403 13.4899 8.71403 12.8677L8.7098 9.84127Z",fill:"black"}),/*#__PURE__*/s("path",{d:"M13.0139 11.8011H15.0242C15.6802 11.8011 16.2092 12.3344 16.2092 12.9862V14.9968C16.2092 15.6529 15.6759 16.182 15.0242 16.182H13.0139C12.3579 16.182 11.8289 15.6487 11.8289 14.9968V12.9862C11.8289 12.3302 12.3621 11.8011 13.0139 11.8011Z",fill:"black"})]})},universal_profile:{displayName:"Universal Profile",logo:({style:e,...t})=>/*#__PURE__*/c("svg",{fill:"none",height:"1024",width:"1024",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/c("filter",{id:"a","color-interpolation-filters":"sRGB",filterUnits:"userSpaceOnUse",height:"1228",width:"1244",x:"-72",y:"-72",children:[/*#__PURE__*/s("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),/*#__PURE__*/s("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",mode:"normal",result:"shape"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"-72",dy:"-72"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"54"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),/*#__PURE__*/s("feBlend",{in2:"shape",mode:"normal",result:"effect1_innerShadow_3981_20791"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"152",dy:"132"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"74"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.15 0"}),/*#__PURE__*/s("feBlend",{in2:"effect1_innerShadow_3981_20791",mode:"normal",result:"effect2_innerShadow_3981_20791"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"32",dy:"20"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"50"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),/*#__PURE__*/s("feBlend",{in2:"effect2_innerShadow_3981_20791",mode:"normal",result:"effect3_innerShadow_3981_20791"})]}),/*#__PURE__*/c("filter",{id:"b","color-interpolation-filters":"sRGB",filterUnits:"userSpaceOnUse",height:"352",width:"747",x:"142",y:"352",children:[/*#__PURE__*/s("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),/*#__PURE__*/s("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",mode:"normal",result:"shape"}),/*#__PURE__*/s("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),/*#__PURE__*/s("feOffset",{dx:"8",dy:"12"}),/*#__PURE__*/s("feGaussianBlur",{stdDeviation:"5"}),/*#__PURE__*/s("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),/*#__PURE__*/s("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.120833 0 0 0 0 0.120833 0 0 0 0 0.120833 0 0 0 0.69 0"}),/*#__PURE__*/s("feBlend",{in2:"shape",mode:"normal",result:"effect1_innerShadow_3981_20791"})]}),/*#__PURE__*/c("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"0",x2:"1024",y1:"0",y2:"1024",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#8992d1"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#646c9f"})]}),/*#__PURE__*/s("clipPath",{id:"d",children:/*#__PURE__*/s("path",{d:"m0 0h1024v1024h-1024z"})}),/*#__PURE__*/c("g",{"clip-path":"url(#d)",children:[/*#__PURE__*/s("g",{filter:"url(#a)",children:/*#__PURE__*/s("rect",{fill:"url(#c)",height:"1024",rx:"230",width:"1024"})}),/*#__PURE__*/c("g",{fill:"#fff",filter:"url(#b)",children:[/*#__PURE__*/s("path",{d:"m212.459 354h-54.459c-8.837 0-16 7.163-16 16v203c0 66.826 54.174 121 121 121h44c66.826 0 121-54.174 121-121v-203c0-8.837-7.163-16-16-16h-56.548c-8.837 0-16 7.163-16 16v198.829c0 28.607-23.19 51.797-51.797 51.797-32.693 0-59.196-26.503-59.196-59.196v-191.43c0-8.837-7.163-16-16-16z"}),/*#__PURE__*/s("path",{d:"m868.426 352h-68.495c-6.98 0-12.487 5.934-11.967 12.895l14.206 190c.468 6.263 5.686 11.105 11.966 11.105h45.412c6.409 0 11.687-5.037 11.987-11.44l8.878-190c.32-6.84-5.14-12.56-11.987-12.56z"}),/*#__PURE__*/s("ellipse",{cx:"834",cy:"649.5",rx:"47",ry:"44.5"}),/*#__PURE__*/s("path",{clipRule:"evenodd",d:"m522 687h50c8.837 0 16-7.163 16-16v-80c0-8.837 7.163-16 16-16h33.5c61.58 0 111.5-49.92 111.5-111.5s-49.92-111.5-111.5-111.5h-115.5c-8.837 0-16 7.163-16 16v303c0 8.837 7.163 16 16 16zm70-252v58c0 6.627 5.373 12 12 12h14c20.987 0 38-17.013 38-38v-6c0-20.987-17.013-38-38-38h-14c-6.627 0-12 5.373-12 12z",fillRule:"evenodd"})]})]})]})},bybit_wallet:{displayName:"Bybit Wallet",logo:({style:e,...t})=>/*#__PURE__*/c("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:24,width:24,...e},...t,children:[/*#__PURE__*/s("path",{d:"M0 10.2C0 4.56669 4.5667 0 10.2 0H37.8C43.4333 0 48 4.5667 48 10.2V37.8C48 43.4333 43.4333 48 37.8 48H10.2C4.56669 48 0 43.4333 0 37.8V10.2Z",fill:"#604E93"}),/*#__PURE__*/s("path",{d:"M4.13353 14.6218C3.70207 13.1338 4.62517 11.5926 6.14065 11.2707L31.424 5.90036C32.6242 5.64544 33.8434 6.24236 34.3782 7.34668L45.7343 30.7995L13.7343 47.7328L4.13353 14.6218Z",fill:"url(#paint0_linear_362_37285)"}),/*#__PURE__*/s("path",{d:"M4.46332 16.4519C4.00953 14.8821 5.06159 13.277 6.68213 13.0669L40.1928 8.72077C41.5851 8.5402 42.879 9.47008 43.1517 10.8473L48.0004 35.333L13.467 47.5999L4.46332 16.4519Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M0 18.6666C0 15.7211 2.38781 13.3333 5.33333 13.3333H37.3333C43.2244 13.3333 48 18.1089 48 24V37.3333C48 43.2243 43.2244 48 37.3333 48H10.6667C4.77563 48 0 43.2243 0 37.3333V18.6666Z",fill:"black"}),/*#__PURE__*/s("path",{d:"M31.7559 33.3796V23.3867H33.7051V33.3796H31.7559Z",fill:"#F7A600"}),/*#__PURE__*/s("path",{d:"M9.51303 36.362H5.33398V26.3691H9.3449C11.2941 26.3691 12.4301 27.4639 12.4301 29.176C12.4301 30.2844 11.7008 31.0006 11.1964 31.2393C11.7996 31.5201 12.5709 32.1511 12.5709 33.4846C12.5709 35.3513 11.2941 36.362 9.51303 36.362ZM9.19043 28.1096H7.28322V30.4117H9.19043C10.0174 30.4117 10.4808 29.9489 10.4808 29.2612C10.4808 28.5723 10.0185 28.1096 9.19043 28.1096ZM9.31653 32.1658H7.28322V34.6215H9.31653C10.2003 34.6215 10.6206 34.0599 10.6206 33.3868C10.6216 32.7127 10.2003 32.1658 9.31653 32.1658Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M17.9425 32.2637V36.362H16.007V32.2637L13.0059 26.3691H15.1232L16.9884 30.3969L18.8252 26.3691H20.9426L17.9425 32.2637Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M26.4896 36.362H22.3105V26.3691H26.3215C28.2707 26.3691 29.4066 27.4639 29.4066 29.176C29.4066 30.2844 28.6774 31.0006 28.173 31.2393C28.7761 31.5201 29.5474 32.1511 29.5474 33.4846C29.5464 35.3513 28.2696 36.362 26.4896 36.362ZM26.167 28.1096H24.2598V30.4117H26.167C26.994 30.4117 27.4574 29.9489 27.4574 29.2612C27.4563 28.5723 26.994 28.1096 26.167 28.1096ZM26.2931 32.1658H24.2598V34.6215H26.2931C27.1768 34.6215 27.5971 34.0599 27.5971 33.3868C27.5971 32.7127 27.1758 32.1658 26.2931 32.1658Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M40.0573 28.1096V36.362H38.1081V28.1096H35.5V26.3691H42.6665V28.1096H40.0573Z",fill:"white"}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/c("linearGradient",{id:"paint0_linear_362_37285",x1:"4.00094",y1:"13.9604",x2:"46.1673",y2:"11.8482",gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/s("stop",{"stop-color":"#FFD748"}),/*#__PURE__*/s("stop",{offset:"1","stop-color":"#F7A600"})]})})]})},solflare:{logo:mt,displayName:"Solflare"},backpack:{logo:ht,displayName:"Backpack"}},xi=(e,t,i)=>Mi[e]?.displayName?"coinbase_wallet"===e?Mi[i].displayName:Mi[e].displayName:"wallet_connect_v2"===t&&"wallet_connect"===e?"Wallet Connect":void 0,Ni=(e,t,i)=>Mi[e]?.logo?"coinbase_wallet"===e?Mi[i].logo:Mi[e].logo:"wallet_connect_v2"===t&&"wallet_connect"===e?ft:void 0;let Ii=/*#__PURE__*/o({});const Di=({children:e})=>{let t=m(),[a,l]=i({});return U("login",{onComplete:({loginAccount:e})=>{e&&"passkey"!==e.type&&"cross_app"!==e.type&&("wallet"!==e.type||"privy"!==e.walletClientType)&&(O.put(Li(t.id),e.type),"wallet"===e.type?(O.put(Ti(t.id),e.walletClientType),O.put(ki(t.id),e.chainType),l({accountType:e.type,walletClientType:e.walletClientType,chainType:e.chainType})):(O.del(Ti(t.id)),O.del(ki(t.id)),l({accountType:e.type})))}}),n((()=>{if(!t.id)return;let e=O.get(Li(t.id)),i=O.get(Ti(t.id)),a=O.get(ki(t.id));e&&l("wallet"===e?{accountType:e,walletClientType:i,chainType:a}:{accountType:e})}),[t.id]),/*#__PURE__*/s(Ii.Provider,{value:a,children:e})};let Li=e=>`privy:${e}:recent-login-method`,Ti=e=>`privy:${e}:recent-login-wallet-client`,ki=e=>`privy:${e}:recent-login-chain-type`;const Si=()=>l(Ii),Ei=e=>{let t=localStorage.getItem("-walletlink:https://www.walletlink.org:Addresses")?.split(" ").filter((e=>ae(e,{strict:!0}))).map((e=>le(e)));return!!t?.length&&!!e?.linkedAccounts.filter((e=>"wallet"==e.type&&t.includes(e.address))).length};const Oi=e=>e?.privyErrorCode===J.LINKED_TO_ANOTHER_USER?F.ERROR_USER_EXISTS:e instanceof W&&!e.details.default?e.details:e instanceof z?F.ERROR_TIMED_OUT:e instanceof B?F.ERROR_USER_REJECTED_CONNECTION:e?.privyErrorCode===J.CANNOT_LINK_MORE_OF_TYPE?F.ERROR_USER_LIMIT_REACHED:F.ERROR_WALLET_CONNECTION,ji=()=>{let e,[a,l]=i(!1),[o,h]=i(!1),[p,u]=i(void 0),{authenticated:m,logout:w}=C(),{app:f,navigate:A,navigateBack:b,lastScreen:M,currentScreen:x,setModalData:N,data:I}=g(),{getAuthFlow:D,walletConnectionStatus:L,closePrivyModal:T,initLoginWithWallet:k,loginWithWallet:S,updateWallets:E,createAnalyticsEvent:O}=X(),{walletConnectors:j}=C(),[z,B]=i(0),{user:U}=C(),[W]=i(U?.linkedAccounts.length||0),[R,_]=i(""),[Q,H]=i(""),[Z,V]=i(!1),{hasTabbedAway:Y}=function(){let[e,t]=i(!1),a=r((()=>{document.hidden&&t(!0)}),[]);return n((()=>(document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a))),[a]),{hasTabbedAway:e,reset:()=>t(!1)}}(),{enabled:G,token:K}=qe(),$=P&&"wallet_connect_v2"===L?.connector?.connectorType||P&&"coinbase_wallet"===L?.connector?.connectorType||P&&"injected"===L?.connector?.connectorType&&"phantom"===L?.connector?.walletClientType,ee="connected"===L?.status,te="switching_to_supported_chain"===L?.status;n((()=>{let e=D(),t=e instanceof Ye||e instanceof Ge?e:void 0;ee&&!t&&(!G||K||m?k(L.connectedWallet,K,I?.login?.disableSignup).then((()=>{V(!0)})):(N({captchaModalData:{callback:e=>k(L.connectedWallet,e,I?.login?.disableSignup).then((()=>{V(!0)})),userIntentRequired:!1,onSuccessNavigateTo:y.AWAITING_CONNECTION,onErrorNavigateTo:y.ERROR_SCREEN}}),A(y.CAPTCHA_SCREEN,!1))),t&&$&&ee&&!t.preparedMessage?t.buildMessage():t&&!$&&ee&&(o||(async()=>{h(!0),u(void 0);try{"wallet_connect_v2"===L?.connector?.connectorType&&"metamask"===L?.connector?.walletClientType&&await Le(2500),await ae()}catch(e){console.warn("Auto-prompted signature failed",e)}finally{h(!1)}})())}),[z,ee,Z]),n((()=>{if(U&&a){let e=v-500;if(f?.legal.requireUsersAcceptTerms&&!U.hasAcceptedTerms){let t=setTimeout((()=>{A(y.AFFIRMATIVE_CONSENT_SCREEN)}),e);return()=>clearTimeout(t)}if(oi(U,f.embeddedWallets)){let t=setTimeout((()=>{N({createWallet:{onSuccess:()=>{},onFailure:e=>{console.error(e),O({eventName:"embedded_wallet_creation_failure_logout",payload:{error:e,screen:"ConnectionStatusScreen"}}),w()},callAuthOnSuccessOnClose:!0}}),A(y.EMBEDDED_WALLET_ON_ACCOUNT_CREATE_SCREEN)}),e);return()=>clearTimeout(t)}E();let t=setTimeout((()=>T({shouldCallAuthOnSuccess:!0,isSuccess:!0})),v);return()=>clearTimeout(t)}}),[U,a]);let ie=e=>{if(e?.privyErrorCode!==J.ALLOWLIST_REJECTED){if(e?.privyErrorCode===J.USER_LIMIT_REACHED)return console.error(new q(e).toString()),void A(y.USER_LIMIT_REACHED_SCREEN);if(e?.privyErrorCode!==J.USER_DOES_NOT_EXIST)return e?.privyErrorCode===J.ACCOUNT_TRANSFER_REQUIRED&&e.data?.data?.nonce?(N({accountTransfer:{nonce:e.data?.data?.nonce,account:D()?.meta.address,displayName:e.data?.data?.account?.displayName,externalWalletMetadata:{walletClientType:D()?.meta.walletClientType,chainId:D()?.meta.chainId,connectorType:D()?.meta.connectorType},linkMethod:"siwe",embeddedWalletAddress:e.data?.data?.otherUser?.embeddedWalletAddress}}),void A(y.LINK_CONFLICT_SCREEN)):void u(Oi(e));A(y.ACCOUNT_NOT_FOUND_SCREEN)}else A(y.ALLOWLIST_REJECTION_SCREEN)};async function ae(){try{await S(),l(!0)}catch(e){ie(e)}finally{h(!1)}}n((()=>{L?.connectError&&ie(L?.connectError)}),[L]),((e,i)=>{let a=t((()=>{}));n((()=>{a.current=e})),n((()=>{if(null!==i){let e=setInterval((()=>a.current()),i||0);return()=>clearInterval(e)}}),[i])})((()=>{let e="wallet_connect_v2"===le&&L?.connector instanceof Ct?L.connector.redirectUri:void 0;e&&_(e);let t="wallet_connect_v2"===le&&L?.connector instanceof Ct?L.connector.fallbackUniversalRedirectUri:void 0;t&&H(t)}),L?.connector instanceof Ct&&!R?500:null);let le=L?.connector?.connectorType||"injected",oe=L?.connector?.walletClientType||"unknown",ne=Mi[oe]?.displayName||L?.connector?.walletBranding.name||"Browser Extension",re=Mi[oe]?.logo||L?.connector?.walletBranding.icon||(e=>/*#__PURE__*/s(rt,{...e})),se="Browser Extension"===ne?ne.toLowerCase():ne;e=a?`Successfully connected with ${se}`:p?p.message:te?"Switching networks":ee?o&&$?"Signing":"Sign to verify":`Waiting for ${se}`;let ce="Don’t see your wallet? Check your other browser windows.";a?ce=W===(U?.linkedAccounts.length||0)?"Wallet was already linked.":"You’re good to go!":z>=2&&p?ce="Unable to connect wallet":p?ce=p.detail:te?ce="Switch your wallet to the requested network.":ee&&$?ce="Sign the message in your wallet to verify it belongs to you.":"metamask"===oe&&P?ce="Click continue to open and connect MetaMask.":"metamask"===oe?ce="For the best experience, connect only one wallet at a time.":"wallet_connect"===le?ce="Open your mobile wallet app to continue":"coinbase_wallet"!==le||Me()||(ce=Ei(U)?"Continue with the Coinbase app. Not the right wallet? Reset your connection below.":"Open the Coinbase app on your phone to continue.");let de=j?.walletConnectors?.find((e=>"coinbase_wallet"===e.walletClientType)),he="coinbase_wallet"===oe&&(Ei(U)||p===F.ERROR_USER_EXISTS);/*#__PURE__*/return c(d,{children:[/*#__PURE__*/s(Rt,{backFn:M&&x!==M?b:void 0}),/*#__PURE__*/c(zi,{children:[/*#__PURE__*/s(Ui,{walletLogo:re,success:a,fail:!!p}),/*#__PURE__*/c(pi,{children:[/*#__PURE__*/s("h3",{children:e}),/*#__PURE__*/s("p",{children:ce}),ee||!R||Y?null:/*#__PURE__*/c("p",{children:["Still here?"," ",/*#__PURE__*/s("a",{href:R,target:"_blank",style:{textDecoration:"underline"},children:"Try connecting again"}),Q&&/*#__PURE__*/c(d,{children:[" ","or"," ",/*#__PURE__*/s("a",{href:Q,target:"_blank",style:{textDecoration:"underline"},children:"use this different link"})]})]})]}),he?/*#__PURE__*/s(It,{onClick:()=>de&&de?.disconnect(),disabled:a,children:"Use a different wallet"}):p==F.ERROR_USER_EXISTS&&x!==M?/*#__PURE__*/s(It,{onClick:b,children:"Use a different wallet"}):ee&&!a&&$?/*#__PURE__*/s(It,{onClick:()=>{h(!0),ae()},disabled:o,children:o?"Signing":"Sign with your wallet"}):!a&&p?.retryable&&z<2?/*#__PURE__*/s(It,{onClick:()=>{B(z+1),u(void 0),ee?(h(!0),ae()):L?.connectRetry()},disabled:!a&&(!p?.retryable||z>=2),children:"Retry"}):a||p?null:/*#__PURE__*/s(It,{onClick:()=>{},disabled:!0,children:"Connecting"})]}),/*#__PURE__*/s(Xt,{})]})};let zi=/*#__PURE__*/_.div.withConfig({displayName:"ConnectContainer",componentId:"sc-17f85963-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;width:100%;"]),Bi=/*#__PURE__*/_.div.withConfig({displayName:"StackedContainer",componentId:"sc-17f85963-1"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > span{position:absolute;left:-41px;top:-41px;}> div > :last-child{position:absolute;left:-19px;top:-19px;}"]);const Ui=e=>{let t=e.walletLogo;/*#__PURE__*/return s(d,{children:/*#__PURE__*/s(Bi,{children:/*#__PURE__*/c("div",{children:[/*#__PURE__*/s(vt,{success:e.success,fail:e.fail}),"string"==typeof t?
4
+ /*#__PURE__*/s("span",{style:{background:`url('${t}')`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"cover"}}):/*#__PURE__*/s(t,{style:{width:"38px",height:"38px"}})]})})})};function Fi(e){let{logout:t}=l(A);return U("logout",e),{logout:t}}const Wi=/*#__PURE__*/_.div.withConfig({displayName:"Column",componentId:"sc-cfc52180-0"})(["display:flex;flex-direction:column;"]),Ri=/*#__PURE__*/_.span.withConfig({displayName:"ErrorMessage",componentId:"sc-fcb8cd50-0"})(["text-align:left;font-size:0.75rem;font-weight:500;line-height:1.125rem;color:var(--privy-color-error);"]),Pi=/*#__PURE__*/_.span.withConfig({displayName:"LabelXs",componentId:"sc-4c43f9fd-0"})(["color:var(--privy-color-foreground-3);font-size:0.75rem;font-weight:500;line-height:1.125rem;"]),_i=/*#__PURE__*/Q(["&&{border-width:1px;padding:0.5rem 1rem;}width:100%;text-align:left;border:solid 1px var(--privy-color-foreground-4);border-radius:var(--privy-border-radius-md);display:flex;justify-content:space-between;align-items:center;",""],(e=>"error"===e.$state?"border-color: var(--privy-color-error);":"")),Qi=/*#__PURE__*/_.div.withConfig({displayName:"Box",componentId:"sc-1660059c-0"})(["",""],_i),Hi=({errMsg:e,balance:t,address:i,isLoading:a,className:l,title:o,isPulsing:n,showIcon:r,statusColor:h="green"})=>{let p;return p=h||(e?"red":"green"),/*#__PURE__*/c(d,{children:[/*#__PURE__*/c(Qi,{className:l,$state:e?"error":void 0,children:[/*#__PURE__*/c(Wi,{children:[/*#__PURE__*/s(Pi,{children:o||"Pay with"}),/*#__PURE__*/s(qt,{address:i,showCopyIcon:r||!!e})]}),void 0!==t&&/*#__PURE__*/s(Ai,{isLoading:a,isPulsing:n,color:p,children:t})]}),e&&/*#__PURE__*/s(Ri,{style:{marginTop:"0.25rem"},children:e})]})},Zi=/*#__PURE__*/_.span.withConfig({displayName:"Subtitle",componentId:"sc-7a11f796-0"})(["margin-top:4px;color:var(--privy-color-foreground);text-align:center;font-size:0.875rem;font-weight:400;line-height:1.375rem;&& a{color:var(--privy-color-accent);}"]),Vi=/*#__PURE__*/_.span.withConfig({displayName:"Title",componentId:"sc-66de63c-0"})(["color:var(--privy-color-foreground);font-size:1.125rem;font-weight:600;line-height:1.875rem;text-align:center;"]),Yi=({color:e,...t})=>/*#__PURE__*/s("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",xmlSpace:"preserve",...t,children:/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:e||"currentColor",className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.57,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})}),Gi=()=>/*#__PURE__*/s("svg",{width:"200",height:"200",viewBox:"-77 -77 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px"},children:/*#__PURE__*/s("rect",{width:"50",height:"50",fill:"black",rx:10,ry:10})});let Ji=(e,t,i,a,l)=>{for(let o=t;o<t+a;o++)for(let t=i;t<i+l;t++){let i=e?.[t];i&&i[o]&&(i[o]=0)}return e},Ki=({x:e,y:t,cellSize:i,bgColor:a,fgColor:l})=>
5
+ /*#__PURE__*/s(d,{children:[0,1,2].map((o=>/*#__PURE__*/s("circle",{r:i*(7-2*o)/2,cx:e+7*i/2,cy:t+7*i/2,fill:o%2!=0?a:l},`finder-${e}-${t}-${o}`)))}),Xi=({cellSize:e,matrixSize:t,bgColor:i,fgColor:a})=>/*#__PURE__*/s(d,{children:[[0,0],[(t-7)*e,0],[0,(t-7)*e]].map((([t,l])=>/*#__PURE__*/s(Ki,{x:t,y:l,cellSize:e,bgColor:i,fgColor:a},`finder-${t}-${l}`)))}),qi=({matrix:t,cellSize:i,color:a})=>/*#__PURE__*/s(d,{children:t.map(((t,l)=>t.map(((t,o)=>t?/*#__PURE__*/s("rect",{height:i-.4,width:i-.4,x:l*i+.1*i,y:o*i+.1*i,rx:.5*i,ry:.5*i,fill:a},`cell-${l}-${o}`):/*#__PURE__*/s(e.Fragment,{},`circle-${l}-${o}`)))))}),$i=({cellSize:e,matrixSize:t,element:i,sizePercentage:a,bgColor:l})=>{if(!i)/*#__PURE__*/return s(d,{});let o=t*(a||.14),n=Math.floor(t/2-o/2),r=Math.floor(t/2+o/2);(r-n)%2!=t%2&&(r+=1);let h=(r-n)*e,p=h-.2*h,u=n*e;/*#__PURE__*/return c(d,{children:[/*#__PURE__*/s("rect",{x:n*e,y:n*e,width:h,height:h,fill:l}),/*#__PURE__*/s(i,{x:u+.1*h,y:u+.1*h,height:p,width:p})]})},ea=e=>{let t=e.outputSize,i=((e,t)=>{let i=me.create(e,{errorCorrectionLevel:t}).modules,a=((e,t)=>{let i=e.slice(0),a=[];for(;i.length;)a.push(i.splice(0,t));return a})(Array.from(i.data),i.size);return a=Ji(a,0,0,7,7),a=Ji(a,a.length-7,0,7,7),Ji(a,0,a.length-7,7,7)})(e.url,e.errorCorrectionLevel),a=t/i.length,l=function(e,{min:t,max:i}){return Math.min(Math.max(e,t),i)}(2*a,{min:.025*t,max:.036*t});/*#__PURE__*/return c("svg",{height:e.outputSize,width:e.outputSize,viewBox:`0 0 ${e.outputSize} ${e.outputSize}`,style:{height:"100%",width:"100%",padding:`${l}px`},children:[/*#__PURE__*/s(qi,{matrix:i,cellSize:a,color:e.fgColor}),/*#__PURE__*/s(Xi,{cellSize:a,matrixSize:i.length,fgColor:e.fgColor,bgColor:e.bgColor}),/*#__PURE__*/s($i,{cellSize:a,element:e.logo?.element,bgColor:e.bgColor,matrixSize:i.length})]})},ta=/*#__PURE__*/_.div.attrs({className:"ph-no-capture"}).withConfig({displayName:"QrContainer",componentId:"sc-597e27f3-0"})(["display:flex;justify-content:center;align-items:center;height:",";width:",";margin:auto;background-color:",";&&{border-width:2px;border-color:",";border-radius:var(--privy-border-radius-md);}"],(e=>`${e.$size}px`),(e=>`${e.$size}px`),(e=>e.$bgColor),(e=>e.$borderColor));const ia=e=>{let{appearance:t}=m(),i=e.bgColor||"#FFFFFF",a=e.fgColor||"#000000",l=e.size||160,o="dark"===t.palette.colorScheme?i:a;/*#__PURE__*/return s(ta,{$size:l,$bgColor:i,$fgColor:a,$borderColor:o,children:/*#__PURE__*/s(ea,{url:e.url,logo:{element:e.squareLogoElement??Gi},outputSize:l,bgColor:i,fgColor:a,errorCorrectionLevel:e.errorCorrectionLevel||"Q"})})},aa=/*#__PURE__*/_.span.withConfig({displayName:"Rows",componentId:"sc-b764aab6-0"})(["display:flex;flex-direction:column;gap:0.35rem;width:100%;"]),la=/*#__PURE__*/_.span.withConfig({displayName:"Row",componentId:"sc-b764aab6-1"})(["display:flex;width:100%;justify-content:space-between;gap:0.5rem;"]),oa=e=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 397.7 311.7",enableBackground:"new 0 0 397.7 311.7",xmlSpace:"preserve",...e,children:[/*#__PURE__*/c("linearGradient",{id:"SVGID_1_",gradientUnits:"userSpaceOnUse",x1:"360.8791",y1:"351.4553",x2:"141.213",y2:"-69.2936",gradientTransform:"matrix(1 0 0 -1 0 314)",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#00FFA3"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#DC1FFF"})]}),/*#__PURE__*/s("path",{d:"M64.6,237.9c2.4-2.4,5.7-3.8,9.2-3.8h317.4c5.8,0,8.7,7,4.6,11.1l-62.7,62.7c-2.4,2.4-5.7,3.8-9.2,3.8H6.5 c-5.8,0-8.7-7-4.6-11.1L64.6,237.9z",fill:"url(#SVGID_1_)"}),/*#__PURE__*/c("linearGradient",{id:"SVGID_2_",gradientUnits:"userSpaceOnUse",x1:"264.8291",y1:"401.6014",x2:"45.163",y2:"-19.1475",gradientTransform:"matrix(1 0 0 -1 0 314)",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#00FFA3"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#DC1FFF"})]}),/*#__PURE__*/s("path",{d:"M64.6,3.8C67.1,1.4,70.4,0,73.8,0h317.4c5.8,0,8.7,7,4.6,11.1l-62.7,62.7c-2.4,2.4-5.7,3.8-9.2,3.8H6.5 c-5.8,0-8.7-7-4.6-11.1L64.6,3.8z",fill:"url(#SVGID_2_)"}),/*#__PURE__*/c("linearGradient",{id:"SVGID_3_",gradientUnits:"userSpaceOnUse",x1:"312.5484",y1:"376.688",x2:"92.8822",y2:"-44.061",gradientTransform:"matrix(1 0 0 -1 0 314)",children:[/*#__PURE__*/s("stop",{offset:"0",stopColor:"#00FFA3"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#DC1FFF"})]}),/*#__PURE__*/s("path",{d:"M333.1,120.1c-2.4-2.4-5.7-3.8-9.2-3.8H6.5c-5.8,0-8.7,7-4.6,11.1l62.7,62.7c2.4,2.4,5.7,3.8,9.2,3.8h317.4 c5.8,0,8.7-7,4.6-11.1L333.1,120.1z",fill:"url(#SVGID_3_)"})]});let na={[b.id]:e=>/*#__PURE__*/s("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 2500 2500",xmlSpace:"preserve",...e,children:/*#__PURE__*/s("g",{id:"Layer_x0020_1",children:/*#__PURE__*/c("g",{id:"_2405588477232",children:[/*#__PURE__*/s("rect",{fill:"none",width:"2500",height:"2500"}),/*#__PURE__*/s("g",{children:/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{fill:"#213147",d:"M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760 c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z"}),/*#__PURE__*/s("g",{children:/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:"#12AAFF",d:"M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z"})}),/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:"#12AAFF",d:"M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z"})})]})}),/*#__PURE__*/s("g",{children:/*#__PURE__*/s("path",{fill:"#9DCCED",d:"M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5 s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555 c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719 c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z"})}),/*#__PURE__*/s("polygon",{fill:"#213147",points:"642,2179 727,1947 897,2088 738,2234 "}),/*#__PURE__*/c("g",{children:[/*#__PURE__*/s("path",{fill:"#FFFFFF",d:"M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z"}),/*#__PURE__*/s("path",{fill:"#FFFFFF",d:"M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z"})]})]})})]})})}),[M.id]:e=>/*#__PURE__*/c("svg",{width:"1503",height:"1504",viewBox:"0 0 1503 1504",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{x:"287",y:"258",width:"928",height:"844",fill:"white"}),/*#__PURE__*/s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1502.5 752C1502.5 1166.77 1166.27 1503 751.5 1503C336.734 1503 0.5 1166.77 0.5 752C0.5 337.234 336.734 1 751.5 1C1166.27 1 1502.5 337.234 1502.5 752ZM538.688 1050.86H392.94C362.314 1050.86 347.186 1050.86 337.962 1044.96C327.999 1038.5 321.911 1027.8 321.173 1015.99C320.619 1005.11 328.184 991.822 343.312 965.255L703.182 330.935C718.495 303.999 726.243 290.531 736.021 285.55C746.537 280.2 759.083 280.2 769.599 285.55C779.377 290.531 787.126 303.999 802.438 330.935L876.42 460.079L876.797 460.738C893.336 489.635 901.723 504.289 905.385 519.669C909.443 536.458 909.443 554.169 905.385 570.958C901.695 586.455 893.393 601.215 876.604 630.549L687.573 964.702L687.084 965.558C670.436 994.693 661.999 1009.46 650.306 1020.6C637.576 1032.78 622.263 1041.63 605.474 1046.62C590.161 1050.86 573.004 1050.86 538.688 1050.86ZM906.75 1050.86H1115.59C1146.4 1050.86 1161.9 1050.86 1171.13 1044.78C1181.09 1038.32 1187.36 1027.43 1187.92 1015.63C1188.45 1005.1 1181.05 992.33 1166.55 967.307C1166.05 966.455 1165.55 965.588 1165.04 964.706L1060.43 785.75L1059.24 783.735C1044.54 758.877 1037.12 746.324 1027.59 741.472C1017.08 736.121 1004.71 736.121 994.199 741.472C984.605 746.453 976.857 759.552 961.544 785.934L857.306 964.891L856.949 965.507C841.69 991.847 834.064 1005.01 834.614 1015.81C835.352 1027.62 841.44 1038.5 851.402 1044.96C860.443 1050.86 875.94 1050.86 906.75 1050.86Z",fill:"#E84142"})]}),[x.id]:e=>/*#__PURE__*/c("svg",{width:"146",height:"146",viewBox:"0 0 146 146",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("circle",{cx:"73",cy:"73",r:"73",fill:"#0052FF"}),/*#__PURE__*/s("path",{d:"M73.323 123.729C101.617 123.729 124.553 100.832 124.553 72.5875C124.553 44.343 101.617 21.4463 73.323 21.4463C46.4795 21.4463 24.4581 42.0558 22.271 68.2887H89.9859V76.8864H22.271C24.4581 103.119 46.4795 123.729 73.323 123.729Z",fill:"white"})]}),[N.id]:e=>/*#__PURE__*/c("svg",{fill:"none",height:"400",viewBox:"0 0 400 400",width:"400",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("path",{d:"m0 0h400v400h-400z",fill:"#fcff52"}),/*#__PURE__*/s("path",{d:"m300 100h-200v200h199.996v-69.813h-33.191c-11.442 25.468-37.194 43.206-66.665 43.206-40.63 0-73.533-33.187-73.533-73.533s32.903-73.249 73.533-73.249c30.043 0 55.795 18.313 67.24 44.349h32.62z",fill:"#000"})]}),[I.id]:e=>/*#__PURE__*/c("svg",{width:"200",height:"208",viewBox:"0 0 200 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{width:"199.4",height:"207.623",fill:"#121212"}),/*#__PURE__*/c("g",{"clip-path":"url(#clip0_2303_643)",children:[/*#__PURE__*/s("path",{d:"M132.369 155.99H49.7001V68.8854H68.6148V139.109H132.369V155.981V155.99Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M132.369 85.7575C141.687 85.7575 149.241 78.2036 149.241 68.8855C149.241 59.5673 141.687 52.0134 132.369 52.0134C123.05 52.0134 115.497 59.5673 115.497 68.8855C115.497 78.2036 123.05 85.7575 132.369 85.7575Z",fill:"white"})]}),/*#__PURE__*/s("defs",{children:/*#__PURE__*/s("clipPath",{id:"clip0_2303_643",children:/*#__PURE__*/s("rect",{width:"99.5407",height:"103.977",fill:"white",transform:"translate(49.7001 52.0134)"})})})]}),[D.id]:e=>/*#__PURE__*/c("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 327.5 533.3",enableBackground:"new 0 0 327.5 533.3;",xmlSpace:"preserve",...e,children:[/*#__PURE__*/s("path",{fill:"#8492B2",d:"M163.7,197.2V0L0,271.6L163.7,197.2z"}),/*#__PURE__*/s("path",{fill:"#62688F",d:"M163.7,368.4V197.2L0,271.6L163.7,368.4z M163.7,197.2l163.7,74.4L163.7,0V197.2z"}),/*#__PURE__*/s("path",{fill:"#454A75",d:"M163.7,197.2v171.2l163.7-96.8L163.7,197.2z"}),/*#__PURE__*/s("path",{fill:"#8492B2",d:"M163.7,399.4L0,302.7l163.7,230.7V399.4z"}),/*#__PURE__*/s("path",{fill:"#62688F",d:"M327.5,302.7l-163.8,96.7v134L327.5,302.7z"})]}),[L.id]:e=>/*#__PURE__*/c("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("circle",{cx:"250",cy:"250",r:"250",fill:"#FF0420"}),/*#__PURE__*/s("path",{d:"M177.133 316.446C162.247 316.446 150.051 312.943 140.544 305.938C131.162 298.808 126.471 288.676 126.471 275.541C126.471 272.789 126.784 269.411 127.409 265.408C129.036 256.402 131.35 245.581 134.352 232.947C142.858 198.547 164.812 181.347 200.213 181.347C209.845 181.347 218.476 182.973 226.107 186.225C233.738 189.352 239.742 194.106 244.12 200.486C248.498 206.74 250.688 214.246 250.688 223.002C250.688 225.629 250.375 228.944 249.749 232.947C247.873 244.08 245.621 254.901 242.994 265.408C238.616 282.546 231.048 295.368 220.29 303.874C209.532 312.255 195.147 316.446 177.133 316.446ZM179.76 289.426C186.766 289.426 192.707 287.362 197.586 283.234C202.59 279.106 206.155 272.789 208.281 264.283C211.158 252.524 213.348 242.266 214.849 233.51C215.349 230.883 215.599 228.194 215.599 225.441C215.599 214.058 209.657 208.366 197.774 208.366C190.768 208.366 184.764 210.43 179.76 214.558C174.882 218.687 171.379 225.004 169.253 233.51C167.001 241.891 164.749 252.149 162.498 264.283C161.997 266.784 161.747 269.411 161.747 272.163C161.747 283.672 167.752 289.426 179.76 289.426Z",fill:"white"}),/*#__PURE__*/s("path",{d:"M259.303 314.57C257.927 314.57 256.863 314.132 256.113 313.256C255.487 312.255 255.3 311.13 255.55 309.879L281.444 187.914C281.694 186.538 282.382 185.412 283.508 184.536C284.634 183.661 285.822 183.223 287.073 183.223H336.985C350.87 183.223 362.003 186.1 370.384 191.854C378.891 197.609 383.144 205.927 383.144 216.81C383.144 219.937 382.769 223.19 382.018 226.567C378.891 240.953 372.574 251.586 363.067 258.466C353.685 265.346 340.8 268.786 324.413 268.786H299.082L290.451 309.879C290.2 311.255 289.512 312.38 288.387 313.256C287.261 314.132 286.072 314.57 284.822 314.57H259.303ZM325.727 242.892C330.98 242.892 335.546 241.453 339.424 238.576C343.427 235.699 346.054 231.571 347.305 226.192C347.68 224.065 347.868 222.189 347.868 220.563C347.868 216.935 346.805 214.183 344.678 212.307C342.551 210.305 338.924 209.305 333.795 209.305H311.278L304.148 242.892H325.727Z",fill:"white"})]}),[T.id]:e=>/*#__PURE__*/c("svg",{width:"360",height:"360",viewBox:"0 0 360 360",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[/*#__PURE__*/s("rect",{width:"360",height:"360",rx:"180",fill:"#6C00F6"}),/*#__PURE__*/s("path",{d:"M157.743 154.241L141.052 144.58L90.9766 173.561V231.519L141.052 260.5L191.13 231.519V141.359L218.948 125.26L246.77 141.359V173.561L218.948 189.66L202.257 180.002V205.759L218.948 215.42L269.024 186.439V128.481L218.948 99.5L168.873 128.481V218.641L141.052 234.74L113.233 218.641V186.439L141.052 170.34L157.743 179.998V154.241Z",fill:"white"})]}),[k.id]:e=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",...e,children:[/*#__PURE__*/s("g",{clipPath:"url(#clip0)",children:/*#__PURE__*/s("g",{clipPath:"url(#clip1)",children:/*#__PURE__*/s("path",{d:"M14.9188 29.8373C6.67944 29.8373 0.00012207 23.1581 0.00012207 14.9187C0.00012207 6.67931 6.67944 0 14.9188 0C23.1581 0 29.8373 6.67931 29.8373 14.9187C29.8373 23.1581 23.1581 29.8373 14.9188 29.8373Z",fill:"url(#paint0)"})})}),/*#__PURE__*/c("defs",{children:[/*#__PURE__*/c("radialGradient",{id:"paint0",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(21.6921 8.02215) rotate(180) scale(25.2008)",children:[/*#__PURE__*/s("stop",{offset:"0.00682297",stopColor:"#F2CEFE"}),/*#__PURE__*/s("stop",{offset:"0.1913",stopColor:"#AFBAF1"}),/*#__PURE__*/s("stop",{offset:"0.4982",stopColor:"#4281D3"}),/*#__PURE__*/s("stop",{offset:"0.666667",stopColor:"#2E427D"}),/*#__PURE__*/s("stop",{offset:"0.822917",stopColor:"#230101"}),/*#__PURE__*/s("stop",{offset:"1",stopColor:"#8F6B40"})]}),/*#__PURE__*/s("clipPath",{id:"clip0",children:/*#__PURE__*/s("rect",{width:"30",height:"30",fill:"white"})}),/*#__PURE__*/s("clipPath",{id:"clip1",children:/*#__PURE__*/s("rect",{width:"30",height:"30",fill:"white"})})]})]})};const ra=({chainId:e,...t})=>{if("solana"===e)/*#__PURE__*/return s(oa,{...t});let i=na[e];/*#__PURE__*/return s(i||we,{...t})};let sa=new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:2}),ca=e=>sa.format(e);const da=(e,t)=>{let i=ca(t*parseFloat(e));return"$0.00"!==i?i:"<$0.01"},ha=(e,t)=>{let i=ca(t*parseFloat(oe(e)));return"$0.00"===i?"<$0.01":i},pa=(e,t,i=6,a=!1)=>`${ua(e,i,a)} ${t}`,ua=(e,t=6,i=!1)=>{let a=parseFloat(oe(e)).toFixed(t).replace(/0+$/,"").replace(/\.$/,"");return i?a:`${"0"===a?"<0.001":a}`},ga=e=>e.reduce(((e,t)=>e+t),0n),ma=(e,t)=>{let{chains:i}=X(),a=`https://etherscan.io/address/${t}`,l=`${((e,t)=>{let i=Number(e),a=t.find((e=>e.id===i));if(!a)throw new Z(`Unsupported chainId ${e}`,4901);return a.blockExplorers?.default.url})(e,i)}/address/${t}`;if(!l)return a;try{new URL(l)}catch{return a}return l};let wa=2n**256n-1n;const fa=({amount:e,decimals:t})=>e===wa?"Maximum":Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(Number(e)/10**t),Ca=async({chain:e,address:t,appId:i,rpcConfig:a,erc20Address:l})=>{let o=ne({chain:e,transport:re(fe(e,a,i))});return{balance:await o.readContract({address:l,abi:ya,functionName:"balanceOf",args:[t]}).catch((()=>0n)),chain:e}};let ya=[{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"}];const va=({...e})=>/*#__PURE__*/c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[/*#__PURE__*/s("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),/*#__PURE__*/s("path",{d:"M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2"}),/*#__PURE__*/s("path",{d:"M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21"})]}),Aa=async({address:e,chain:t,rpcConfig:i,privyAppId:a})=>{try{let l=ne({chain:t,transport:re(fe(t,i,a))}),[o,n]=await Promise.all([l.readContract({abi:ba,address:e,functionName:"symbol"}),l.readContract({abi:ba,address:e,functionName:"decimals"})]);return{decimals:n,symbol:o}}catch(e){return console.log(e),null}};let ba=[{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}];function Ma({rpcConfig:e,appId:t,address:l,chain:o}){let{chains:s}=X(),[c,d]=i(0n),[h,p]=i(!1),u=a((()=>{let i=o||s[0];if(i)return ne({chain:o,transport:re(fe(i,e,t))})}),[o,e,t]),g=r((async()=>{if(!l||!u)return;p(!0);let e=await u.getBalance({address:l}).catch(console.error);return e?(d(e),p(!1),e):void 0}),[u,l,d]);return n((()=>{g().catch(console.error)}),[]),{balance:c,isLoading:h,reloadBalance:g}}let xa=/*#__PURE__*/_.label.withConfig({displayName:"BaseEmailForm",componentId:"sc-d081b0e2-0"})(["display:block;position:relative;width:100%;> svg{position:absolute;margin:13px 17px;height:24px;width:24px;color:var(--privy-color-foreground-3);}&& > input{background-color:#f00;font-size:16px;line-height:24px;padding:12px 88px 12px 52px;flex-grow:1;background:var(--privy-color-background);border:1px solid ",";border-radius:var(--privy-border-radius-mdlg);width:100%;@media (min-width:441px){font-size:14px;padding-right:78px;}:focus{outline:none;border-color:",";box-shadow:",";}:autofill,:-webkit-autofill{background:var(--privy-color-background);}&& > input::placeholder{color:var(--privy-color-foreground-3);}&:disabled{opacity:0.4;cursor:not-allowed;}&:disabled,&:disabled:hover,&:disabled > span{color:var(--privy-color-foreground-3);}}&& > button:last-child{right:0px;line-height:24px;padding:13px 17px;:focus{outline:none;}&:disabled{opacity:0.4;cursor:not-allowed;}&:disabled,&:disabled:hover,&:disabled > span{color:var(--privy-color-foreground-3);}}"],(({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)"),(({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-accent-light)"),(({$error:e})=>e?"none":"0 0 0 1px var(--privy-color-accent-light)"));const Na=/*#__PURE__*/_(xa).withConfig({displayName:"EmailUpdateForm",componentId:"sc-d081b0e2-1"})(["background-color:var(--privy-color-background);transition:background-color 200ms ease;&& > button{right:0;line-height:24px;position:absolute;padding:13px 17px;background-color:#090;:focus{outline:none;border-color:var(--privy-color-accent);}}"]),Ia=/*#__PURE__*/_(xa).withConfig({displayName:"EmailInputForm",componentId:"sc-d081b0e2-2"})(["&& > input{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:",";border:1px solid ",";&& > input::placeholder{color:var(--privy-color-foreground-3);}}&& > :last-child{right:16px;position:absolute;top:50%;transform:translate(0,-50%);}&& > button:last-child{right:0px;line-height:24px;padding:13px 17px;:focus{outline:none;}}"],(e=>e.stacked?"16px":"88px"),(({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)")),Da=/*#__PURE__*/_.div.withConfig({displayName:"InputContainerForm",componentId:"sc-d081b0e2-3"})(["width:100%;&& > ","{display:block;text-align:left;padding-left:var(--privy-border-radius-mdlg);padding-bottom:5px;}"],Ri);function La(e){let{login:t}=l(A);return U("login",e),{login:t}}function Ta(e){let{connectWallet:t}=l(A);return U("connectWallet",e),{connectWallet:t}}const ka=e=>{U("fundWallet",e);let{fundWallet:t}=X();return{fundWallet:t}},Sa=Ce((()=>({isModalOpen:!1,resolvers:null})));let Ea=ve((()=>({})),ye);const Oa=(e,t)=>Ea((i=>i[e]?.[t])),ja=(e,t,i)=>{Ea.setState((a=>({...a,[e]:{...a[e],[t]:i}})))},za=()=>{let e=Sa.getState().resolvers;e||console.warn("useActiveWalletStore: Called close while modal was not open"),Sa.setState({isModalOpen:!1}),e?.resolve({wallet:Sa.getState().wallet})},Ba=({address:e,client:t,appId:i})=>{let a=`${t}:${e}`;i&&O.put(Fa(i),a),Sa.setState({wallet:a})},Ua=()=>Sa((e=>e.isModalOpen)),Fa=e=>`privy:${e}:active-wallet-connection`,Wa=()=>{let e=m(),{wallets:t}=S(),{wallets:i}=R(),l=Sa((e=>e.wallet));n((()=>{if(!e.id)return;let t=O.get(Fa(e.id));Sa.setState({wallet:t})}),[e.id]);let o=a((()=>{if(!l)return;let[,e]=l.split(":");return t.find((t=>t.address===e))||i.find((t=>t.address===e))}),[l,t,i]),r=a((()=>o?"ethereum"===o.type?o.chainId:"solana":void 0),[o]);return{connect:async a=>{a?.reset&&(O.del(Fa(e.id)),Sa.setState({wallet:void 0}));let{wallet:l}=await(async()=>{let e,t,i=new Promise(((i,a)=>{e=i,t=a}));return Ea.setState({}),Sa.setState({isModalOpen:!0,resolvers:{resolve:e,reject:t}}),await i})();if(!l)return{};let[,o]=l.split(":"),n=t.find((e=>e.address===o));if(n)return{wallet:n,network:n.chainId};let r=i.find((e=>e.address===o));return r?{wallet:r,network:"solana"}:{}},wallet:o,network:r}};export{ke as $,qt as A,rt as B,Ke as C,xi as D,ot as E,pi as F,Ai as G,si as H,Ie as I,Mi as J,Ui as K,Oi as L,st as M,Fi as N,ut as O,nt as P,gi as Q,Ze as R,mt as S,Jt as T,mi as U,fi as V,Ct as W,Hi as X,di as Y,Vi as Z,Zi as _,et as a,Wi as a$,ti as a0,ai as a1,Nt as a2,wi as a3,Ci as a4,Yi as a5,ri as a6,ci as a7,ia as a8,At as a9,Da as aA,Ia as aB,xe as aC,ma as aD,ui as aE,Bt as aF,Ut as aG,ua as aH,Na as aI,Tt as aJ,ji as aK,yt as aL,Te as aM,Ge as aN,Ve as aO,Xe as aP,Di as aQ,je as aR,it as aS,La as aT,Ta as aU,ka as aV,Wa as aW,ft as aX,Ba as aY,Oa as aZ,ja as a_,vi as aa,Qi as ab,ra as ac,_i as ad,Mt as ae,la as af,pa as ag,Ri as ah,Dt as ai,aa as aj,Ca as ak,da as al,ha as am,fa as an,ga as ao,De as ap,bt as aq,$e as ar,hi as as,Aa as at,va as au,Ma as av,ni as aw,Ot as ax,Ne as ay,jt as az,at as b,Ua as b0,za as b1,ct as c,dt as d,wt as e,ht as f,Be as g,pt as h,gt as i,Oe as j,lt as k,tt as l,Ye as m,Rt as n,He as o,It as p,Kt as q,St as r,oi as s,Ee as t,qe as u,vt as v,Xt as w,Si as x,Me as y,Ni as z};