1import{dl as a,d8 as e,ff as s,dH as o}from"./index-D2C6Ukks.js";import{n as c}from"./ScreenLayout-BgwOsyLd-DB-Rk5qO.js";import{c as d}from"./createLucideIcon-CF6jPX-V.js";import"./ModalHeader-D7u2VQIH-vf4SbDPg.js";import"./Screen-yabWN6I5-sGNebaAa.js";import"./index-Dq_xe9dz-ZtCqX3yt.js";const l=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],h=d("arrow-right-left",l),L=t=>e.jsx("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"-0.625 12.48 397.647 399.546",width:"2500",height:"674",preserveAspectRatio:"none",...t,children:e.jsx("g",{children:e.jsx("path",{fill:"#333745",d:"M 333.9 12.8 L 150.9 12.8 L 150.9 258.4 L 396.5 258.4 L 396.5 76.7 C 396.6 42.2 368.4 12.8 333.9 12.8 Z M 94.7 12.8 L 64 12.8 C 29.5 12.8 0 40.9 0 76.8 L 0 107.5 L 94.7 107.5 L 94.7 12.8 Z M 0 165 L 94.7 165 L 94.7 259.7 L 0 259.7 L 0 165 Z M 301.9 410.6 L 332.6 410.6 C 367.1 410.6 396.6 382.5 396.6 346.6 L 396.6 316 L 301.9 316 L 301.9 410.6 Z M 150.9 316 L 245.6 316 L 245.6 410.7 L 150.9 410.7 L 150.9 316 Z M 0 316 L 0 346.7 C 0 381.2 28.1 410.7 64 410.7 L 94.7 410.7 L 94.7 316 L 0 316 Z"})})}),g=({onContinueWithLedger:t,onContinueWithoutLedger:n,title:i="Phantom supports Ledger",subtitle:r=`Are you using a Ledger hardware wallet? 2Continue to sign with Ledger`})=>e.jsx(c,{title:i,subtitle:e.jsx(m,{children:r}),primaryCta:{label:"Continue with Ledger",onClick:t},secondaryCta:{label:"Continue without Ledger",onClick:n},watermark:!0,children:e.jsxs(u,{children:[e.jsx(s,{style:{width:"48px",height:"48px"}}),e.jsx(h,{strokeWidth:2,color:"var(--privy-color-icon-subtle)",width:22,height:22}),e.jsx(L,{style:{width:"48px",height:"48px"}})]})});function p(){let{data:t,setModalData:n,navigate:i}=a();return e.jsx(g,{onContinueWithLedger:function(){n({...t,login:{...t?.login,isSigningInWithLedgerSolana:!0}}),i("ConnectionStatusScreen")},onContinueWithoutLedger:function(){n({...t,login:{...t?.login,isSigningInWithLedgerSolana:!1}}),i("ConnectionStatusScreen")}})}const S={component:p};let u=o.div` 3 display: flex; 4 align-items: center; 5 justify-content: center; 6 gap: 8px; 7 margin-bottom: var(--screen-space); 8`,m=o.span` 9 white-space: pre-wrap; 10`;export{S as ConnectLedgerScreen,p as ConnectLedgerScreenComponent,g as ConnectLedgerScreenView,S 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.