1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6938],{76938:function(e,t,r){r.r(t),r.d(t,{default:function(){return h}});var n=r(57437),a=r(60716),o=r(63993),s=r(51156),c=r(61279),l=r(2265);class i extends l.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.warn("[PrivyBridge] usePrivy() crashed (zustand getState), rendering without auth:",e.message,t.componentStack)}render(){return this.state.hasError,this.props.children}constructor(e){super(e),this.state={hasError:!1}}}function u(e){let{children:t}=e,r=(0,a.u)(),{wallets:s}=(0,o.u)(),l=async()=>{let e=s.find(e=>"privy"!==e.walletClientType),t=null!=e?e:s[0];if(!t)throw Error("No wallet connected");return t.getEthereumProvider()};return(0,n.jsx)(c.X,{value:{user:r.user,authenticated:r.authenticated,ready:r.ready,login:r.login,logout:r.logout,getAccessToken:r.getAccessToken,getEthereumProvider:l},children:t})}function h(e){let{children:t}=e,r="cm7ujw0m1016lqi2eln8dkc56";return r?(0,n.jsx)(s.I,{appId:r,config:{appearance:{theme:"dark",accentColor:"#6C5CE7",walletList:["metamask","phantom","coinbase_wallet","rainbow","wallet_connect"]},loginMethods:["wallet","email"],defaultChain:{id:1,name:"Ethereum",network:"homestead",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://eth.llamarpc.com"]}}}},children:(0,n.jsx)(i,{children:(0,n.jsx)(u,{children:t})})}):(0,n.jsx)(n.Fragment,{children:t})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.