PageSourceSearch

https://tritonix.ai/assets/AuthenticateWithWalletScreen-C_zdZyDa-DrbpI10y.js

js tritonix.ai collected 2026-10-05 13:07:24 UTC 2,241 bytes, 1 lines download raw bytes

1import{ek as g,ei as h,ej as y,el as T,d8 as r,d9 as _,em as v,en as E}from"./index-I4Bd4QeM.js";import{G as I}from"./ConnectWalletView-D37hqEee-DxwFRQX2.js";import"./browser-CHFBeGQd.js";import"./ModalFooter-DKyozrEX-BzUQ78VB.js";import"./CopyableText-CQapvaMr-ChGzJ5BQ.js";import"./check-D7ahH1p8.js";import"./createLucideIcon-BI5TfuQN.js";import"./copy-DKvFiYeO.js";import"./Link-DTncR-24-Ch_ZKyPh.js";import"./QrCode-CpGkVlXb-CkLO77ZW.js";import"./EmailInputForm-Cqo1mda8-DkArtjg6.js";import"./ErrorMessage-D8VaAP5m-8fwDlivw.js";import"./useI18n-C0rfdPEH-C659f15P.js";import"./WalletCards-DH1rqayz-Dq6NvpAs.js";import"./styles-DVyDvTdj-CcvM0V-P.js";import"./Screen-DMmH56yL-DVjkRCtI.js";import"./index-CWARkn2w-DrMeyL5V.js";import"./dijkstra-COg3n3zL.js";const Q={component:()=>{var c,i,s,p,m,u;let{setWalletConnectionStatus:a,closePrivyModal:w,inProgressAuthFlowRef:x}=g(),{data:e,navigate:n}=h(),l=y(),o=T(),R=(c=e==null?void 0:e.externalConnectWallet)==null?void 0:c.description,S=r.useRef(((i=e==null?void 0:e.externalConnectWallet)==null?void 0:i.walletList)??l.appearance.walletList),d=r.useRef(((s=e==null?void 0:e.externalConnectWallet)==null?void 0:s.walletChainType)??l.appearance.walletChainType),f=S.current,L=d.current,N=x.current==="link"?void 0:()=>n("LandingScreen");return _.jsx(I,{walletList:f,walletChainType:L,onClose:w,onConnect:r.useCallback((({connector:t,wallet:C})=>{var W;o("connectWallet","onSuccess",{wallet:C}),a({status:"connected",connectedWallet:C,connector:t,connectError:null,connectRetry:()=>null}),n("ConnectionStatusScreen",!((W=e==null?void 0:e.externalConnectWallet)!=null&&W.preSelectedWalletId))}),[a,n,(p=e==null?void 0:e.login)==null?void 0:p.disableSignup,(m=e==null?void 0:e.externalConnectWallet)==null?void 0:m.preSelectedWalletId]),onConnectError:t=>{t instanceof v?(console.warn(t.cause?t.cause:t.message),o("connectWallet","onError",t.privyErrorCode||E.GENERIC_CONNECT_WALLET_ERROR)):(console.warn(t),o("connectWallet","onError",E.UNKNOWN_CONNECT_WALLET_ERROR))},onBack:N,customDescription:R||"",preSelectedWalletId:(u=e==null?void 0:e.externalConnectWallet)==null?void 0:u.preSelectedWalletId,app:l})},isUnauthenticatedScreem:!0};export{Q as AuthenticateWithWalletScreen,Q 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.