PageSourceSearch

https://wayfinder.ai/assets/EmbeddedWalletCreatedScreen-B3qRrZXy-F4-AUUD-.js

js wayfinder.ai collected 2026-09-25 20:16:20 UTC 1,294 bytes, 1 lines download raw bytes

1import{dr as C,cZ as x,cW as S,cX as k,c$ as E,dG as W,cY as i,dH as b,dI as g}from"./index-TETqsn_E.js";import{n as h}from"./ScreenLayout-Yoa2TSpi-byc_YvQv.js";import{C as j}from"./circle-check-big-DpWN2y9a.js";import"./ModalHeader-CAqKnddp-BZ3qGNJd.js";import"./Screen-CLdp3cO6-Cqh3ZNn0.js";import"./index-Dq_xe9dz-BxvdT4MJ.js";import"./createLucideIcon-BV3EjXwQ.js";const w=({title:e,description:r,onClose:a})=>i.jsx(h,{title:e,subtitle:r,icon:j,iconVariant:"success",watermark:!0,onBack:a}),$={component:()=>{var l;let{user:e}=C(),{closePrivyModal:r,isNewUserThisSession:a,updateWallets:n}=x(),{data:u,onUserCloseViaDialogOrKeybindRef:d}=S(),t=k(),{onSuccess:m,onFailure:p,callAuthOnSuccessOnClose:f}=u.createWallet,o=()=>{let s=b(e)??g(e);e&&s?(n(),m({user:e,account:s})):p(Error("Failed to create wallet")),r({shouldCallAuthOnSuccess:f})};E.useEffect((()=>{let s=setTimeout(o,W);return()=>clearTimeout(s)}),[]),d.current=o;let c=a&&!((((l=e==null?void 0:e.linkedAccounts)==null?void 0:l.length)??0)>1);return i.jsx(w,{title:c?"Welcome"+(t!=null&&t.name?` to ${t==null?void 0:t.name}`:""):"All set!",description:c?"You've successfully created an account.":"Your account is secured.",onClose:o})}};export{$ as EmbeddedWalletCreatedScreen,w as EmbeddedWalletCreatedScreenView,$ as default};

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.