@privy-io/react-auth 1.96.1 → 1.96.2

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 (49) hide show
  1. package/dist/cjs/client.js +1 -1
  2. package/dist/cjs/components/ConnectEmailForm.js +1 -1
  3. package/dist/cjs/components/LoginModal.js +1 -1
  4. package/dist/cjs/components/UpdateEmailForm.js +1 -1
  5. package/dist/cjs/connectors/embeddedProvider.js +1 -1
  6. package/dist/cjs/connectors/index.js +1 -1
  7. package/dist/cjs/constants.js +1 -1
  8. package/dist/cjs/embedded-wallets/solana/provider.js +1 -1
  9. package/dist/cjs/hooks/privy-provider.js +1 -1
  10. package/dist/cjs/index.js +1 -1
  11. package/dist/cjs/lib/smart-wallets-shared.js +1 -1
  12. package/dist/cjs/screens/ConnectOnlyAuthenticatedScreen.js +1 -1
  13. package/dist/cjs/screens/ConnectOnlyLandingScreen.js +1 -1
  14. package/dist/cjs/screens/Funding/ManualTransferScreen.js +1 -1
  15. package/dist/cjs/screens/Funding/TransferFromWalletScreen.js +1 -1
  16. package/dist/cjs/screens/LandingScreen/ConnectOrCreateScreen.js +1 -1
  17. package/dist/cjs/screens/LandingScreen/CustomLandingScreenView.js +1 -1
  18. package/dist/cjs/screens/LandingScreen/EmptyWalletView.js +1 -0
  19. package/dist/cjs/screens/LandingScreen/LandingScreen.js +1 -1
  20. package/dist/cjs/screens/LandingScreen/LandingScreenView.js +1 -1
  21. package/dist/cjs/screens/LandingScreen/WalletButtonList.js +1 -1
  22. package/dist/cjs/screens/LandingScreen/styles.js +1 -1
  23. package/dist/cjs/screens/LinkWalletScreen.js +1 -1
  24. package/dist/cjs/screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.js +1 -1
  25. package/dist/esm/client.mjs +1 -1
  26. package/dist/esm/components/ConnectEmailForm.mjs +1 -1
  27. package/dist/esm/components/LoginModal.mjs +1 -1
  28. package/dist/esm/components/UpdateEmailForm.mjs +1 -1
  29. package/dist/esm/connectors/embeddedProvider.mjs +1 -1
  30. package/dist/esm/connectors/index.mjs +1 -1
  31. package/dist/esm/constants.mjs +1 -1
  32. package/dist/esm/embedded-wallets/solana/provider.mjs +1 -1
  33. package/dist/esm/hooks/privy-provider.mjs +1 -1
  34. package/dist/esm/index.mjs +1 -1
  35. package/dist/esm/lib/smart-wallets-shared.mjs +1 -1
  36. package/dist/esm/screens/ConnectOnlyAuthenticatedScreen.mjs +1 -1
  37. package/dist/esm/screens/ConnectOnlyLandingScreen.mjs +1 -1
  38. package/dist/esm/screens/Funding/ManualTransferScreen.mjs +1 -1
  39. package/dist/esm/screens/Funding/TransferFromWalletScreen.mjs +1 -1
  40. package/dist/esm/screens/LandingScreen/ConnectOrCreateScreen.mjs +1 -1
  41. package/dist/esm/screens/LandingScreen/CustomLandingScreenView.mjs +1 -1
  42. package/dist/esm/screens/LandingScreen/EmptyWalletView.mjs +1 -0
  43. package/dist/esm/screens/LandingScreen/LandingScreen.mjs +1 -1
  44. package/dist/esm/screens/LandingScreen/LandingScreenView.mjs +1 -1
  45. package/dist/esm/screens/LandingScreen/WalletButtonList.mjs +1 -1
  46. package/dist/esm/screens/LandingScreen/styles.mjs +1 -1
  47. package/dist/esm/screens/LinkWalletScreen.mjs +1 -1
  48. package/dist/esm/screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs +1 -1
  49. package/package.json +3 -3
@@ -1 +1 @@
1
- import"uuid";import"./accessToken.mjs";import"./client/user.mjs";export{a as PrivyClient}from"./privy-provider-DovwooOo.mjs";import"./constants.mjs";import"./errors.mjs";import"./http.mjs";import"./lib/smart-wallet-helpers.mjs";import"./passkeys/transformOptionsToCamelCase.mjs";import"./paths.mjs";import"./session.mjs";import"./storage.mjs";import"./token.mjs";import"jose";import"@ethersproject/address";import"react/jsx-runtime";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"./auth-flows/custom-jwt-account.mjs";import"ofetch";import"./auth-flows/email.mjs";import"./auth-flows/getUiHeader.mjs";import"./auth-flows/farcaster.mjs";import"./connectors/walletconnect-registry.mjs";import"./utils/index.mjs";import"./connectors/get-legacy-injected-providers.mjs";import"./connectors/is-wallet-installed.mjs";import"./effect.mjs";import"./auth-flows/guest.mjs";import"./crypto.mjs";import"./auth-flows/passkey.mjs";import"./auth-flows/siwe.mjs";import"./lib/siwe.mjs";import"./auth-flows/siws.mjs";import"./lib/siws.mjs";import"./auth-flows/sms.mjs";import"./auth-flows/telegram.mjs";import"./hooks/captcha-context.mjs";import"./hooks/index.mjs";import"eventemitter3";import"./connectors/coinbase.mjs";import"@coinbase/wallet-sdk";import"./svg/coinbase-wallet.mjs";import"./connectors/chains/index.mjs";import"./connectors/chains/arbitrum.mjs";import"./connectors/chains/arbitrumSepolia.mjs";import"./connectors/chains/avalanche.mjs";import"./connectors/chains/avalancheFuji.mjs";import"./connectors/chains/base.mjs";import"./connectors/chains/baseSepolia.mjs";import"./connectors/chains/berachainArtio.mjs";import"./connectors/chains/celo.mjs";import"./connectors/chains/celoAlfajores.mjs";import"./connectors/chains/filecoin.mjs";import"./connectors/chains/filecoinCalibration.mjs";import"./connectors/chains/garnetHolesky.mjs";import"./connectors/chains/holesky.mjs";import"./connectors/chains/linea.mjs";import"./connectors/chains/lineaTestnet.mjs";import"./connectors/chains/lukso.mjs";import"./connectors/chains/mainnet.mjs";import"./connectors/chains/optimism.mjs";import"./connectors/chains/optimismSepolia.mjs";import"./connectors/chains/polygon.mjs";import"./connectors/chains/polygonAmoy.mjs";import"./connectors/chains/redstone.mjs";import"./connectors/chains/sepolia.mjs";import"./connectors/chains/zora.mjs";import"./connectors/chains/zoraSepolia.mjs";import"./connectors/chains/zoraTestnet.mjs";import"./connectors/errors.mjs";import"@ethersproject/logger";import"./errors-9ucGZPEs.mjs";import"./connectors/ethereum/index.mjs";import"./connectors/areWalletArraysEqual.mjs";import"./connectors/isBaseConnectedEthereumWallet.mjs";import"./connectors/base.mjs";import"./connectors/getRpcTimeout.mjs";import"./connectors/privyProxyProvider.mjs";import"./connectors/embedded.mjs";import"./svg/blobby.mjs";import"./embedded-wallets/rpc/types.mjs";import"./components/Captcha.mjs";import"@marsidev/react-turnstile";import"./components/LoginModal.mjs";import"styled-components";import"./configuration/context.mjs";import"./config.mjs";import"./configuration/defaultClientConfig.mjs";import"./configuration/login-methods.mjs";import"./configuration/wallets.mjs";import"./connectors/chains/utils.mjs";import"./lib/solana/index.mjs";import"./theme.mjs";import"tinycolor2";import"./lib/cybr53.mjs";import"./hooks/internal-context.mjs";import"./hooks/modal-context.mjs";import"./components/PrefetchedImage.mjs";import"./screens/index.mjs";import"./hooks/privy-context.mjs";import"./hooks/useElementHeight.mjs";import"./hooks/useRegisterMfaListener.mjs";import"./hooks/events-context.mjs";import"./screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"./components/Button.mjs";import"./components/Loader.mjs";import"./components/CircleBackground.mjs";import"./components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"./components/layout/StackedContainer.mjs";import"./screens/LandingScreen/styles.mjs";import"./screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"./components/CircleBorder.mjs";import"./components/ModalFooter.mjs";import"./svg/protected-by-privy.mjs";import"./components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"./lib/capitalizeFirstLetter.mjs";import"./screens/AccountTransferScreen/AccountTransferButton.mjs";import"./screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"./screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"./screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"./screens/MfaScreens/StyledComponents.mjs";import"./screens/AllowlistRejectionScreen.mjs";import"./svg/lock-closed.mjs";import"./screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"./components/Layouts.mjs";import"./components/ScreenHeader.mjs";import"./screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"./components/WrappedLoader.mjs";import"./screens/ConnectOnlyAuthenticatedScreen.mjs";import"./screens/LandingScreen/WalletButtonList.mjs";import"./screens/LandingScreen/WalletButton.mjs";import"./components/external-wallets/InjectedWalletIcon.mjs";import"./components/ui/chips/Chip.mjs";import"./components/ui/animation/LoadingSkeleton.mjs";import"./lib/external-wallets/displayHelpers.mjs";import"./svg/brave-browser-icon.mjs";import"./svg/bybit.mjs";import"./svg/cryptocom.mjs";import"./svg/metamask.mjs";import"./svg/phantom.mjs";import"./svg/rabby.mjs";import"./svg/rainbow.mjs";import"./svg/safe.mjs";import"./svg/uniswap.mjs";import"./svg/universal-profile.mjs";import"./svg/wallet-connect.mjs";import"./svg/zerion.mjs";import"./lib/isEmbeddedWebview.mjs";import"./recent-login/context.mjs";import"./screens/ConnectOnlyLandingScreen.mjs";import"./screens/ConnectOnlyStatusScreen.mjs";import"./svg/browser-extension-wallet-icon.mjs";import"./screens/ConnectionStatusScreen.mjs";import"./connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./connectors/walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"./hook-utils/useInterval.mjs";import"./lib/useHasTabbedAway.mjs";import"./screens/CrossAppAuthScreen.mjs";import"./components/ProviderAppLogo.mjs";import"./hooks/useLogout.mjs";import"./screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"./components/ui/wallet/WalletInfoCard.mjs";import"./components/ui/layout/Column.mjs";import"./components/ui/typography/ErrorMessage.mjs";import"./components/ui/typography/LabelXs.mjs";import"./components/ui/wallet/shared.mjs";import"./icons/Bot.mjs";import"./screens/DelegatedActionsRevokeScreen.mjs";import"./screens/EmbeddedWalletConnectingScreen.mjs";import"./components/primitives/LoadingSpinner/index.mjs";import"./embedded-wallets/errors.mjs";import"./embedded-wallets/types.mjs";import"./lib/embeddedWalletRecovery.mjs";import"./lib/pkce.mjs";import"./screens/EmbeddedWalletCreatedScreen.mjs";import"./screens/EmbeddedWalletKeyExportScreen.mjs";import"./components/ui/banners/WarningBanner.mjs";import"./components/ui/typography/Subtitle.mjs";import"./components/ui/typography/Title.mjs";import"./screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"./hooks/useEmbeddedWalletCreate.mjs";import"./screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"./password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"./components/Checkbox.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"./screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"./screens/ErrorScreen.mjs";import"./screens/FarcasterConnectStatusScreen.mjs";import"./components/CopyToClipboard.mjs";import"./svg/checkmark.mjs";import"./svg/copy.mjs";import"./components/OpenLink.mjs";import"./components/QrCode.mjs";import"qrcode";import"./svg/black-rounded-square.mjs";import"./svg/farcaster.mjs";import"./screens/FarcasterSignerStatusScreen.mjs";import"./screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"./components/embedded-wallets/FundWalletMethodHeader.mjs";import"./components/primitives/NeutralSpinner/index.mjs";import"./hooks/useGetTokenPrice.mjs";import"./hooks/useGetSolPrice.mjs";import"./hooks/useWallets.mjs";import"./lib/funding/analytics.mjs";import"./lib/funding/reservoir.mjs";import"./lib/solana/transaction.mjs";import"./utils/buffer/readBigInt64LE.mjs";import"./lib/wallets/actions/getBalanceForChains.mjs";import"./screens/Funding/BridgeNetworkSelectionView.mjs";import"./components/ui/layout/Row.mjs";import"./components/ui/typography/LabelSm.mjs";import"./components/ui/wallet/NetworkBalanceCard.mjs";import"./components/ui/typography/Value.mjs";import"./components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"./components/ui/icons/Arbitum.mjs";import"./components/ui/icons/Avalanche.mjs";import"./components/ui/icons/Base.mjs";import"./components/ui/icons/Celo.mjs";import"./components/ui/icons/Linea.mjs";import"./components/ui/icons/Mainnnet.mjs";import"./components/ui/icons/Optimism.mjs";import"./components/ui/icons/Polygon.mjs";import"./components/ui/icons/Solana.mjs";import"./components/ui/icons/Zora.mjs";import"./components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"./lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"./ethers-Cz-frLvN.mjs";import"./screens/Funding/styles.mjs";import"./screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"./svg/face-id.mjs";import"./svg/fingerprint.mjs";import"./screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"./screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"./hooks/useSolanaWallets.mjs";import"./screens/Funding/AwaitingExternalTransferScreen.mjs";import"./lib/erc20/actions/abis/transfer.mjs";import"./lib/erc20/formatErc20TokenAmount.mjs";import"./lib/wallets/actions/getErc20Balance.mjs";import"./screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"./screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"./screens/Funding/FundingEditAmountScreen.mjs";import"@heroicons/react/24/outline/PencilIcon";import"./screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"./components/ui/banners/ErrorBanner.mjs";import"./components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"./components/ui/icons/ApplePay.mjs";import"./components/ui/icons/GooglePay.mjs";import"./hook-utils/useAsyncValue.mjs";import"./icons/WalletCards.mjs";import"./lib/erc20/actions/getErc20TokenInfo.mjs";import"./lib/funding/prepareFundingMethods.mjs";import"./lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"./lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"./lib/popup/triggerPopup.mjs";import"./lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"./lib/funding/moonpay/index.mjs";import"./lib/funding/moonpay/triggerMoonpayFlow.mjs";import"./payment-request/isPaymentRequestAvailable.mjs";import"./screens/Funding/ManualTransferScreen.mjs";import"./hooks/useWalletBalance.mjs";import"./screens/Funding/MoonpayStatusScreen.mjs";import"./svg/moonpay.mjs";import"./screens/Funding/TransferFromWalletScreen.mjs";import"./screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"./screens/InAppBrowserLoginNotPossible.mjs";import"./screens/InstallPhantomScreen.mjs";import"./components/TodoList.mjs";import"./svg/check-badge.mjs";import"./screens/LandingScreen/ConnectOrCreateScreen.mjs";import"./screens/LandingScreen/CustomLandingScreenView.mjs";import"./lib/toDisplayFromAccountType.mjs";import"./screens/LandingScreen/AppLogoHeader.mjs";import"./components/AppLogo.mjs";import"./screens/LandingScreen/CrossAppButton.mjs";import"./screens/LandingScreen/EmailButton.mjs";import"./components/ConnectEmailForm.mjs";import"./components/ui/forms/EmailInputForm.mjs";import"./screens/LandingScreen/FarcasterButton.mjs";import"./screens/LandingScreen/PasskeyLink.mjs";import"./screens/LandingScreen/SmsButton.mjs";import"./components/ConnectPhoneForm.mjs";import"./PhoneCountryDropdown-BXDwBRL5.mjs";import"./screens/LandingScreen/SocialButton.mjs";import"./svg/apple.mjs";import"./svg/discord.mjs";import"./svg/github.mjs";import"./svg/google.mjs";import"./svg/instagram.mjs";import"./svg/linkedin.mjs";import"./svg/spotify.mjs";import"./svg/tiktok.mjs";import"./svg/twitter.mjs";import"./screens/LandingScreen/TelegramButton.mjs";import"./svg/telegram.mjs";import"./screens/LandingScreen/Web2OverflowButton.mjs";import"./screens/LandingScreen/LandingScreenView.mjs";import"./svg/email-or-phone.mjs";import"./screens/LandingScreen/LandingScreen.mjs";import"./screens/LinkEmailScreen.mjs";import"./screens/LinkPhoneScreen.mjs";import"./screens/LinkWalletScreen.mjs";import"./screens/LoginFailedScreen.mjs";import"./svg/error-circle.mjs";import"./screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"./hooks/useMfa.mjs";import"./hooks/useMfaEnrollment.mjs";import"./svg/mfa-shield.mjs";import"./screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"./screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"./screens/MfaScreens/EnrollSms.mjs";import"./components/PinInput.mjs";import"./screens/MfaScreens/EnrollTotp.mjs";import"./svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"./screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"./components/embedded-wallets/TransactionDetailsWrapper.mjs";import"./index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"./components/embedded-wallets/TransactionDetails.mjs";import"./components/embedded-wallets/DisplayInfoItem.mjs";import"./components/embedded-wallets/PriceDisplay.mjs";import"./components/embedded-wallets/TransactionTotal.mjs";import"./components/primitives/Accordion/index.mjs";import"./components/primitives/Accordion/AccordionContext.mjs";import"./components/embedded-wallets/WalletLink.mjs";import"./screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"./screens/OAuthStatusScreen.mjs";import"./auth-flows/oauth/getDisplayForProvider.mjs";import"./svg/globe.mjs";import"./auth-flows/oauth/getOAuthErrorMessage.mjs";import"./auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"./screens/PasskeyStatusScreen.mjs";import"./screens/PhantomInterstitialScreen.mjs";import"./connectors/phantom-redirect.mjs";import"./screens/Recovery/PasswordRecoveryScreen.mjs";import"./screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"./svg/apple-icloud.mjs";import"./svg/google-drive.mjs";import"./screens/Recovery/styles.mjs";import"./screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"./screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"./screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"./components/ui/icons/WithCircleBorder.mjs";import"./screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"./embedded-wallets/solana/transaction.mjs";import"./screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"./screens/SendTransactionScreen/TransactionDetail.mjs";import"./screens/SendTransactionScreen/useTransactionDetails.mjs";import"./screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"./screens/SendTransactionScreen/EthersTransactionError.mjs";import"./screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"./components/embedded-wallets/SolanaTransactionDetails.mjs";import"./screens/SendTransactionScreen/SendTransactionScreen.mjs";import"./embedded-wallets/rpc/index.mjs";import"./screens/SendTransactionScreen/TransactionReceiptView.mjs";import"./screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"./lib/deployAccount/actions/abis/deployAccount.mjs";import"./lib/erc20/actions/abis/approve.mjs";import"./lib/erc721/actions/abis/mint.mjs";import"./lib/erc721/actions/abis/safeTransferFrom.mjs";import"./lib/erc721/actions/abis/setApprovalForAll.mjs";import"./lib/erc721/actions/abis/transferFrom.mjs";import"./lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"./lib/erc1155/actions/abis/safeTransferFrom.mjs";import"./screens/SendTransactionScreen/usePrepareTransaction.mjs";import"./screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"./components/embedded-wallets/StyledLogo.mjs";import"./screens/TelegramAuthScreen.mjs";import"./screens/UpdateEmailScreen.mjs";import"./components/UpdateEmailForm.mjs";import"./screens/UpdatePhoneScreen.mjs";import"./screens/UserLimitReachedScreen.mjs";import"./svg/alert-circle.mjs";import"./styles.mjs";import"./cssNormalize.mjs";import"./components/Dialog.mjs";import"./components/TelegramLoginButton.mjs";import"./connectors/solana/index.mjs";import"./types.mjs";import"./embedded-wallets/EmbeddedWalletIframe.mjs";import"./embedded-wallets/eventCallbacksQueue.mjs";import"./embedded-wallets/invokeWithMfa.mjs";import"./embedded-wallets/delegated-actions.mjs";import"./lib/caip2.mjs";import"./lib/cross-app/index.mjs";import"./lib/cross-app/authFlow.mjs";import"./auth-flows/cross-app.mjs";import"./lib/cross-app/popupCrossAppAuthFlow.mjs";import"./lib/cross-app/sendCrossAppRequest.mjs";import"./lib/funding/index.mjs";import"./lib/funding/prepareFundingModalData.mjs";import"./lib/funding/filterSupportedOptions.mjs";import"./lib/funding/usdc.mjs";import"./lib/funding/isFundingEnabled.mjs";import"./lib/popupOAuthFlow.mjs";import"./passkeys/transformResponseToSnakeCase.mjs";import"./auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"./auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"./auth-flows/oauth/OAuthFlow.mjs";import"./connectors/providerTypes.mjs";import"./connectors/injected.mjs";import"./connectors/metamask.mjs";import"./connectors/phantom.mjs";import"./connectors/NullConnector.mjs";import"js-cookie";import"./auth-flows/authFlowToAuthenticateMethod.mjs";import"./cookies.mjs";
1
+ import"uuid";import"./accessToken.mjs";import"./client/user.mjs";export{a as PrivyClient}from"./privy-provider-DovwooOo.mjs";import"./constants.mjs";import"./errors.mjs";import"./http.mjs";import"./lib/smart-wallet-helpers.mjs";import"./passkeys/transformOptionsToCamelCase.mjs";import"./paths.mjs";import"./session.mjs";import"./storage.mjs";import"./token.mjs";import"jose";import"@ethersproject/address";import"react/jsx-runtime";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"./auth-flows/custom-jwt-account.mjs";import"ofetch";import"./auth-flows/email.mjs";import"./auth-flows/getUiHeader.mjs";import"./auth-flows/farcaster.mjs";import"./connectors/walletconnect-registry.mjs";import"./utils/index.mjs";import"./connectors/get-legacy-injected-providers.mjs";import"./connectors/is-wallet-installed.mjs";import"./effect.mjs";import"./auth-flows/guest.mjs";import"./crypto.mjs";import"./auth-flows/passkey.mjs";import"./auth-flows/siwe.mjs";import"./lib/siwe.mjs";import"./auth-flows/siws.mjs";import"./lib/siws.mjs";import"./auth-flows/sms.mjs";import"./auth-flows/telegram.mjs";import"./hooks/captcha-context.mjs";import"./hooks/index.mjs";import"eventemitter3";import"./connectors/coinbase.mjs";import"@coinbase/wallet-sdk";import"./svg/coinbase-wallet.mjs";import"./connectors/chains/index.mjs";import"./connectors/chains/arbitrum.mjs";import"./connectors/chains/arbitrumSepolia.mjs";import"./connectors/chains/avalanche.mjs";import"./connectors/chains/avalancheFuji.mjs";import"./connectors/chains/base.mjs";import"./connectors/chains/baseSepolia.mjs";import"./connectors/chains/berachainArtio.mjs";import"./connectors/chains/celo.mjs";import"./connectors/chains/celoAlfajores.mjs";import"./connectors/chains/filecoin.mjs";import"./connectors/chains/filecoinCalibration.mjs";import"./connectors/chains/garnetHolesky.mjs";import"./connectors/chains/holesky.mjs";import"./connectors/chains/linea.mjs";import"./connectors/chains/lineaTestnet.mjs";import"./connectors/chains/lukso.mjs";import"./connectors/chains/mainnet.mjs";import"./connectors/chains/optimism.mjs";import"./connectors/chains/optimismSepolia.mjs";import"./connectors/chains/polygon.mjs";import"./connectors/chains/polygonAmoy.mjs";import"./connectors/chains/redstone.mjs";import"./connectors/chains/sepolia.mjs";import"./connectors/chains/zora.mjs";import"./connectors/chains/zoraSepolia.mjs";import"./connectors/chains/zoraTestnet.mjs";import"./connectors/errors.mjs";import"@ethersproject/logger";import"./errors-9ucGZPEs.mjs";import"./connectors/ethereum/index.mjs";import"./connectors/areWalletArraysEqual.mjs";import"./connectors/isBaseConnectedEthereumWallet.mjs";import"./connectors/base.mjs";import"./connectors/getRpcTimeout.mjs";import"./connectors/privyProxyProvider.mjs";import"./connectors/embedded.mjs";import"./svg/blobby.mjs";import"./embedded-wallets/rpc/types.mjs";import"./components/Captcha.mjs";import"@marsidev/react-turnstile";import"./components/LoginModal.mjs";import"styled-components";import"./configuration/context.mjs";import"./config.mjs";import"./configuration/defaultClientConfig.mjs";import"./configuration/login-methods.mjs";import"./configuration/wallets.mjs";import"./connectors/chains/utils.mjs";import"./lib/solana/index.mjs";import"./theme.mjs";import"tinycolor2";import"./lib/cybr53.mjs";import"./hooks/internal-context.mjs";import"./hooks/modal-context.mjs";import"./components/PrefetchedImage.mjs";import"./screens/index.mjs";import"./hooks/privy-context.mjs";import"./hooks/useElementHeight.mjs";import"./hooks/useRegisterMfaListener.mjs";import"./hooks/events-context.mjs";import"./screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"./components/Button.mjs";import"./components/Loader.mjs";import"./components/CircleBackground.mjs";import"./components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"./components/layout/StackedContainer.mjs";import"./screens/LandingScreen/styles.mjs";import"./screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"./components/CircleBorder.mjs";import"./components/ModalFooter.mjs";import"./svg/protected-by-privy.mjs";import"./components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"./lib/capitalizeFirstLetter.mjs";import"./screens/AccountTransferScreen/AccountTransferButton.mjs";import"./screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"./screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"./screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"./screens/MfaScreens/StyledComponents.mjs";import"./screens/AllowlistRejectionScreen.mjs";import"./svg/lock-closed.mjs";import"./screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"./components/Layouts.mjs";import"./components/ScreenHeader.mjs";import"./screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"./components/WrappedLoader.mjs";import"./screens/ConnectOnlyAuthenticatedScreen.mjs";import"./screens/LandingScreen/WalletButtonList.mjs";import"./screens/LandingScreen/EmptyWalletView.mjs";import"./screens/LandingScreen/WalletButton.mjs";import"./components/external-wallets/InjectedWalletIcon.mjs";import"./components/ui/chips/Chip.mjs";import"./components/ui/animation/LoadingSkeleton.mjs";import"./lib/external-wallets/displayHelpers.mjs";import"./svg/brave-browser-icon.mjs";import"./svg/bybit.mjs";import"./svg/cryptocom.mjs";import"./svg/metamask.mjs";import"./svg/phantom.mjs";import"./svg/rabby.mjs";import"./svg/rainbow.mjs";import"./svg/safe.mjs";import"./svg/uniswap.mjs";import"./svg/universal-profile.mjs";import"./svg/wallet-connect.mjs";import"./svg/zerion.mjs";import"./lib/isEmbeddedWebview.mjs";import"./recent-login/context.mjs";import"./screens/ConnectOnlyLandingScreen.mjs";import"./screens/ConnectOnlyStatusScreen.mjs";import"./svg/browser-extension-wallet-icon.mjs";import"./screens/ConnectionStatusScreen.mjs";import"./connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./connectors/walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"./hook-utils/useInterval.mjs";import"./lib/useHasTabbedAway.mjs";import"./screens/CrossAppAuthScreen.mjs";import"./components/ProviderAppLogo.mjs";import"./hooks/useLogout.mjs";import"./screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"./components/ui/wallet/WalletInfoCard.mjs";import"./components/ui/layout/Column.mjs";import"./components/ui/typography/ErrorMessage.mjs";import"./components/ui/typography/LabelXs.mjs";import"./components/ui/wallet/shared.mjs";import"./icons/Bot.mjs";import"./screens/DelegatedActionsRevokeScreen.mjs";import"./screens/EmbeddedWalletConnectingScreen.mjs";import"./components/primitives/LoadingSpinner/index.mjs";import"./embedded-wallets/errors.mjs";import"./embedded-wallets/types.mjs";import"./lib/embeddedWalletRecovery.mjs";import"./lib/pkce.mjs";import"./screens/EmbeddedWalletCreatedScreen.mjs";import"./screens/EmbeddedWalletKeyExportScreen.mjs";import"./components/ui/banners/WarningBanner.mjs";import"./components/ui/typography/Subtitle.mjs";import"./components/ui/typography/Title.mjs";import"./screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"./hooks/useEmbeddedWalletCreate.mjs";import"./screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"./password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"./components/Checkbox.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"./screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"./screens/ErrorScreen.mjs";import"./screens/FarcasterConnectStatusScreen.mjs";import"./components/CopyToClipboard.mjs";import"./svg/checkmark.mjs";import"./svg/copy.mjs";import"./components/OpenLink.mjs";import"./components/QrCode.mjs";import"qrcode";import"./svg/black-rounded-square.mjs";import"./svg/farcaster.mjs";import"./screens/FarcasterSignerStatusScreen.mjs";import"./screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"./components/embedded-wallets/FundWalletMethodHeader.mjs";import"./components/primitives/NeutralSpinner/index.mjs";import"./hooks/useGetTokenPrice.mjs";import"./hooks/useGetSolPrice.mjs";import"./hooks/useWallets.mjs";import"./lib/funding/analytics.mjs";import"./lib/funding/reservoir.mjs";import"./lib/solana/transaction.mjs";import"./utils/buffer/readBigInt64LE.mjs";import"./lib/wallets/actions/getBalanceForChains.mjs";import"./screens/Funding/BridgeNetworkSelectionView.mjs";import"./components/ui/layout/Row.mjs";import"./components/ui/typography/LabelSm.mjs";import"./components/ui/wallet/NetworkBalanceCard.mjs";import"./components/ui/typography/Value.mjs";import"./components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"./components/ui/icons/Arbitum.mjs";import"./components/ui/icons/Avalanche.mjs";import"./components/ui/icons/Base.mjs";import"./components/ui/icons/Celo.mjs";import"./components/ui/icons/Linea.mjs";import"./components/ui/icons/Mainnnet.mjs";import"./components/ui/icons/Optimism.mjs";import"./components/ui/icons/Polygon.mjs";import"./components/ui/icons/Solana.mjs";import"./components/ui/icons/Zora.mjs";import"./components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"./lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"./ethers-Cz-frLvN.mjs";import"./screens/Funding/styles.mjs";import"./screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"./svg/face-id.mjs";import"./svg/fingerprint.mjs";import"./screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"./screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"./hooks/useSolanaWallets.mjs";import"./screens/Funding/AwaitingExternalTransferScreen.mjs";import"./lib/erc20/actions/abis/transfer.mjs";import"./lib/erc20/formatErc20TokenAmount.mjs";import"./lib/wallets/actions/getErc20Balance.mjs";import"./screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"./screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"./screens/Funding/FundingEditAmountScreen.mjs";import"@heroicons/react/24/outline/PencilIcon";import"./screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"./components/ui/banners/ErrorBanner.mjs";import"./components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"./components/ui/icons/ApplePay.mjs";import"./components/ui/icons/GooglePay.mjs";import"./hook-utils/useAsyncValue.mjs";import"./icons/WalletCards.mjs";import"./lib/erc20/actions/getErc20TokenInfo.mjs";import"./lib/funding/prepareFundingMethods.mjs";import"./lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"./lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"./lib/popup/triggerPopup.mjs";import"./lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"./lib/funding/moonpay/index.mjs";import"./lib/funding/moonpay/triggerMoonpayFlow.mjs";import"./payment-request/isPaymentRequestAvailable.mjs";import"./screens/Funding/ManualTransferScreen.mjs";import"./hooks/useWalletBalance.mjs";import"./screens/Funding/MoonpayStatusScreen.mjs";import"./svg/moonpay.mjs";import"./screens/Funding/TransferFromWalletScreen.mjs";import"./screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"./screens/InAppBrowserLoginNotPossible.mjs";import"./screens/InstallPhantomScreen.mjs";import"./components/TodoList.mjs";import"./svg/check-badge.mjs";import"./screens/LandingScreen/ConnectOrCreateScreen.mjs";import"./screens/LandingScreen/CustomLandingScreenView.mjs";import"./lib/toDisplayFromAccountType.mjs";import"./screens/LandingScreen/AppLogoHeader.mjs";import"./components/AppLogo.mjs";import"./screens/LandingScreen/CrossAppButton.mjs";import"./screens/LandingScreen/EmailButton.mjs";import"./components/ConnectEmailForm.mjs";import"./components/ui/forms/EmailInputForm.mjs";import"./screens/LandingScreen/FarcasterButton.mjs";import"./screens/LandingScreen/PasskeyLink.mjs";import"./screens/LandingScreen/SmsButton.mjs";import"./components/ConnectPhoneForm.mjs";import"./PhoneCountryDropdown-BXDwBRL5.mjs";import"./screens/LandingScreen/SocialButton.mjs";import"./svg/apple.mjs";import"./svg/discord.mjs";import"./svg/github.mjs";import"./svg/google.mjs";import"./svg/instagram.mjs";import"./svg/linkedin.mjs";import"./svg/spotify.mjs";import"./svg/tiktok.mjs";import"./svg/twitter.mjs";import"./screens/LandingScreen/TelegramButton.mjs";import"./svg/telegram.mjs";import"./screens/LandingScreen/Web2OverflowButton.mjs";import"./screens/LandingScreen/LandingScreenView.mjs";import"./svg/email-or-phone.mjs";import"./screens/LandingScreen/LandingScreen.mjs";import"./screens/LinkEmailScreen.mjs";import"./screens/LinkPhoneScreen.mjs";import"./screens/LinkWalletScreen.mjs";import"./screens/LoginFailedScreen.mjs";import"./svg/error-circle.mjs";import"./screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"./hooks/useMfa.mjs";import"./hooks/useMfaEnrollment.mjs";import"./svg/mfa-shield.mjs";import"./screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"./screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"./screens/MfaScreens/EnrollSms.mjs";import"./components/PinInput.mjs";import"./screens/MfaScreens/EnrollTotp.mjs";import"./svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"./screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"./components/embedded-wallets/TransactionDetailsWrapper.mjs";import"./index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"./components/embedded-wallets/TransactionDetails.mjs";import"./components/embedded-wallets/DisplayInfoItem.mjs";import"./components/embedded-wallets/PriceDisplay.mjs";import"./components/embedded-wallets/TransactionTotal.mjs";import"./components/primitives/Accordion/index.mjs";import"./components/primitives/Accordion/AccordionContext.mjs";import"./components/embedded-wallets/WalletLink.mjs";import"./screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"./screens/OAuthStatusScreen.mjs";import"./auth-flows/oauth/getDisplayForProvider.mjs";import"./svg/globe.mjs";import"./auth-flows/oauth/getOAuthErrorMessage.mjs";import"./auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"./screens/PasskeyStatusScreen.mjs";import"./screens/PhantomInterstitialScreen.mjs";import"./connectors/phantom-redirect.mjs";import"./screens/Recovery/PasswordRecoveryScreen.mjs";import"./screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"./svg/apple-icloud.mjs";import"./svg/google-drive.mjs";import"./screens/Recovery/styles.mjs";import"./screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"./screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"./screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"./components/ui/icons/WithCircleBorder.mjs";import"./screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"./embedded-wallets/solana/transaction.mjs";import"./screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"./screens/SendTransactionScreen/TransactionDetail.mjs";import"./screens/SendTransactionScreen/useTransactionDetails.mjs";import"./screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"./screens/SendTransactionScreen/EthersTransactionError.mjs";import"./screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"./components/embedded-wallets/SolanaTransactionDetails.mjs";import"./screens/SendTransactionScreen/SendTransactionScreen.mjs";import"./embedded-wallets/rpc/index.mjs";import"./screens/SendTransactionScreen/TransactionReceiptView.mjs";import"./screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"./lib/deployAccount/actions/abis/deployAccount.mjs";import"./lib/erc20/actions/abis/approve.mjs";import"./lib/erc721/actions/abis/mint.mjs";import"./lib/erc721/actions/abis/safeTransferFrom.mjs";import"./lib/erc721/actions/abis/setApprovalForAll.mjs";import"./lib/erc721/actions/abis/transferFrom.mjs";import"./lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"./lib/erc1155/actions/abis/safeTransferFrom.mjs";import"./screens/SendTransactionScreen/usePrepareTransaction.mjs";import"./screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"./components/embedded-wallets/StyledLogo.mjs";import"./screens/TelegramAuthScreen.mjs";import"./screens/UpdateEmailScreen.mjs";import"./components/UpdateEmailForm.mjs";import"./screens/UpdatePhoneScreen.mjs";import"./screens/UserLimitReachedScreen.mjs";import"./svg/alert-circle.mjs";import"./styles.mjs";import"./cssNormalize.mjs";import"./components/Dialog.mjs";import"./components/TelegramLoginButton.mjs";import"./connectors/solana/index.mjs";import"./types.mjs";import"./embedded-wallets/EmbeddedWalletIframe.mjs";import"./embedded-wallets/eventCallbacksQueue.mjs";import"./embedded-wallets/invokeWithMfa.mjs";import"./embedded-wallets/delegated-actions.mjs";import"./lib/caip2.mjs";import"./lib/cross-app/index.mjs";import"./lib/cross-app/authFlow.mjs";import"./auth-flows/cross-app.mjs";import"./lib/cross-app/popupCrossAppAuthFlow.mjs";import"./lib/cross-app/sendCrossAppRequest.mjs";import"./lib/funding/index.mjs";import"./lib/funding/prepareFundingModalData.mjs";import"./lib/funding/filterSupportedOptions.mjs";import"./lib/funding/usdc.mjs";import"./lib/funding/isFundingEnabled.mjs";import"./lib/popupOAuthFlow.mjs";import"./passkeys/transformResponseToSnakeCase.mjs";import"./auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"./auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"./auth-flows/oauth/OAuthFlow.mjs";import"./connectors/providerTypes.mjs";import"./connectors/injected.mjs";import"./connectors/metamask.mjs";import"./connectors/phantom.mjs";import"./connectors/NullConnector.mjs";import"js-cookie";import"./auth-flows/authFlowToAuthenticateMethod.mjs";import"./cookies.mjs";
@@ -1 +1 @@
1
- import{jsxs as o,Fragment as i,jsx as t}from"react/jsx-runtime";import r from"@heroicons/react/24/outline/EnvelopeIcon";import{forwardRef as n,useState as e,useEffect as s}from"react";import{useAppConfig as m}from"../configuration/context.mjs";import{PrivyError as c,PrivyErrorCode as a}from"../errors.mjs";import{useCaptcha as l}from"../hooks/captcha-context.mjs";import{usePrivyInternal as p}from"../hooks/internal-context.mjs";import{usePrivyModal as h}from"../hooks/modal-context.mjs";import{usePrivyContext as j}from"../hooks/privy-context.mjs";import{useRecentlyUsedLogin as d}from"../recent-login/context.mjs";import{ModalScreen as u}from"../screens/index.mjs";import{validateEmail as g}from"../utils/index.mjs";import{EmbeddedButton as f,PrimaryButton as S}from"./Button.mjs";import{Chip as y}from"./ui/chips/Chip.mjs";import{InputContainerForm as E,EmailInputForm as b}from"./ui/forms/EmailInputForm.mjs";import{ErrorMessage as k}from"./ui/typography/ErrorMessage.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../constants.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"../connectors/chains/index.mjs";import"../connectors/chains/arbitrum.mjs";import"../connectors/chains/arbitrumSepolia.mjs";import"../connectors/chains/avalanche.mjs";import"../connectors/chains/avalancheFuji.mjs";import"../connectors/chains/base.mjs";import"../connectors/chains/baseSepolia.mjs";import"../connectors/chains/berachainArtio.mjs";import"../connectors/chains/celo.mjs";import"../connectors/chains/celoAlfajores.mjs";import"../connectors/chains/filecoin.mjs";import"../connectors/chains/filecoinCalibration.mjs";import"../connectors/chains/garnetHolesky.mjs";import"../connectors/chains/holesky.mjs";import"../connectors/chains/linea.mjs";import"../connectors/chains/lineaTestnet.mjs";import"../connectors/chains/lukso.mjs";import"../connectors/chains/mainnet.mjs";import"../connectors/chains/optimism.mjs";import"../connectors/chains/optimismSepolia.mjs";import"../connectors/chains/polygon.mjs";import"../connectors/chains/polygonAmoy.mjs";import"../connectors/chains/redstone.mjs";import"../connectors/chains/sepolia.mjs";import"../connectors/chains/zora.mjs";import"../connectors/chains/zoraSepolia.mjs";import"../connectors/chains/zoraTestnet.mjs";import"../connectors/chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"ofetch";import"../hooks/index.mjs";import"@ethersproject/providers";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"./PrefetchedImage.mjs";import"../hooks/events-context.mjs";import"../storage.mjs";import"styled-components";import"./Loader.mjs";import"./ui/animation/LoadingSkeleton.mjs";const v=/*#__PURE__*/n(((n,E)=>{let[b,v]=e(n.defaultValue||""),[C,R]=e(""),[T,I]=e(!1),{authenticated:D}=j(),{initLoginWithEmail:L}=p(),{navigate:N,setModalData:P,currentScreen:_,data:O}=h(),{enabled:W,token:w}=l(),[M,U]=e(!1),{accountType:z}=d(),F=m();s((()=>{!b&&F.disablePlusEmails&&O?.inlineError?.error instanceof c&&O?.inlineError?.error.privyErrorCode===a.DISALLOWED_PLUS_EMAIL&&!C&&R("Please enter a valid email address without a '+'."),C&&R("")}),[b]);let G=g(b),H=T||!G,q=()=>{var o;P({inlineError:void 0}),!W||w||D?(o=w,I(!0),L({email:b,captchaToken:o,disableSignup:O?.login?.disableSignup,withPrivyUi:!0}).then((()=>{N(u.AWAITING_PASSWORDLESS_CODE)})).catch((o=>{P({errorModalData:{error:o,previousScreen:_||u.LANDING}}),N(u.ERROR_SCREEN)})).finally((()=>{I(!1)}))):(P({captchaModalData:{callback:o=>L({email:b,captchaToken:o,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:u.AWAITING_PASSWORDLESS_CODE,onErrorNavigateTo:u.ERROR_SCREEN}}),N(u.CAPTCHA_SCREEN))};/*#__PURE__*/return o(i,{children:[/*#__PURE__*/o(x,{children:[/*#__PURE__*/t(k,C?{style:{marginTop:"0.25rem",textAlign:"left"},children:C}:{style:{marginTop:"0.25rem",textAlign:"left",visibility:"hidden"},children:" "}),/*#__PURE__*/o(A,{stacked:n.stacked,$error:!!C,children:[/*#__PURE__*/t(r,{}),/*#__PURE__*/t("input",{ref:E,id:"email-input",className:"login-method-button",type:"email",placeholder:"your@email.com",onFocus:()=>U(!0),onChange:o=>v(o.target.value),onKeyUp:o=>{"Enter"===o.key&&q()},value:b,autoComplete:"email"}),"email"!==z||M?n.stacked?/*#__PURE__*/t("span",{}):/*#__PURE__*/t(f,{isSubmitting:T,onClick:q,disabled:H,children:"Submit"}):/*#__PURE__*/t(y,{color:"gray",children:"Recent"})]})]}),n.stacked?/*#__PURE__*/t(S,{loadingText:null,loading:T,disabled:H,onClick:q,children:"Submit"}):null]})}));let x=E,A=b;export{v as ConnectEmailForm};
1
+ import{jsxs as o,Fragment as i,jsx as t}from"react/jsx-runtime";import r from"@heroicons/react/24/outline/EnvelopeIcon";import{forwardRef as n,useState as e,useEffect as s}from"react";import{useAppConfig as m}from"../configuration/context.mjs";import{PrivyError as c,PrivyErrorCode as a}from"../errors.mjs";import{useCaptcha as l}from"../hooks/captcha-context.mjs";import{usePrivyInternal as p}from"../hooks/internal-context.mjs";import{usePrivyModal as h}from"../hooks/modal-context.mjs";import{usePrivyContext as j}from"../hooks/privy-context.mjs";import{useRecentlyUsedLogin as d}from"../recent-login/context.mjs";import{ModalScreen as u}from"../screens/index.mjs";import{validateEmail as f}from"../utils/index.mjs";import{EmbeddedButton as g,PrimaryButton as S}from"./Button.mjs";import{Chip as E}from"./ui/chips/Chip.mjs";import{InputContainerForm as y,EmailInputForm as k}from"./ui/forms/EmailInputForm.mjs";import{ErrorMessage as b}from"./ui/typography/ErrorMessage.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../constants.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"../connectors/chains/index.mjs";import"../connectors/chains/arbitrum.mjs";import"../connectors/chains/arbitrumSepolia.mjs";import"../connectors/chains/avalanche.mjs";import"../connectors/chains/avalancheFuji.mjs";import"../connectors/chains/base.mjs";import"../connectors/chains/baseSepolia.mjs";import"../connectors/chains/berachainArtio.mjs";import"../connectors/chains/celo.mjs";import"../connectors/chains/celoAlfajores.mjs";import"../connectors/chains/filecoin.mjs";import"../connectors/chains/filecoinCalibration.mjs";import"../connectors/chains/garnetHolesky.mjs";import"../connectors/chains/holesky.mjs";import"../connectors/chains/linea.mjs";import"../connectors/chains/lineaTestnet.mjs";import"../connectors/chains/lukso.mjs";import"../connectors/chains/mainnet.mjs";import"../connectors/chains/optimism.mjs";import"../connectors/chains/optimismSepolia.mjs";import"../connectors/chains/polygon.mjs";import"../connectors/chains/polygonAmoy.mjs";import"../connectors/chains/redstone.mjs";import"../connectors/chains/sepolia.mjs";import"../connectors/chains/zora.mjs";import"../connectors/chains/zoraSepolia.mjs";import"../connectors/chains/zoraTestnet.mjs";import"../connectors/chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"ofetch";import"../hooks/index.mjs";import"@ethersproject/providers";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"./PrefetchedImage.mjs";import"../hooks/events-context.mjs";import"../storage.mjs";import"styled-components";import"./Loader.mjs";import"./ui/animation/LoadingSkeleton.mjs";const v=/*#__PURE__*/n(((n,y)=>{let[k,v]=e(n.defaultValue||""),[A,R]=e(""),[T,I]=e(!1),{authenticated:D}=j(),{initLoginWithEmail:L}=p(),{navigate:N,setModalData:P,currentScreen:_,data:O}=h(),{enabled:W,token:w}=l(),[M,U]=e(!1),{accountType:z}=d(),F=m();s((()=>{!k&&F.disablePlusEmails&&O?.inlineError?.error instanceof c&&O?.inlineError?.error.privyErrorCode===a.DISALLOWED_PLUS_EMAIL&&!A&&R("Please enter a valid email address without a '+'."),A&&R("")}),[k]);let G=f(k),H=T||!G,q=()=>{var o;P({inlineError:void 0}),!W||w||D?(o=w,I(!0),L({email:k,captchaToken:o,disableSignup:O?.login?.disableSignup,withPrivyUi:!0}).then((()=>{N(u.AWAITING_PASSWORDLESS_CODE)})).catch((o=>{P({errorModalData:{error:o,previousScreen:_||u.LANDING}}),N(u.ERROR_SCREEN)})).finally((()=>{I(!1)}))):(P({captchaModalData:{callback:o=>L({email:k,captchaToken:o,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:u.AWAITING_PASSWORDLESS_CODE,onErrorNavigateTo:u.ERROR_SCREEN}}),N(u.CAPTCHA_SCREEN))};/*#__PURE__*/return o(i,{children:[/*#__PURE__*/o(x,{children:[A&&/*#__PURE__*/t(b,{style:{display:"block",marginTop:"0.25rem",textAlign:"left"},children:A}),/*#__PURE__*/o(C,{stacked:n.stacked,$error:!!A,children:[/*#__PURE__*/t(r,{}),/*#__PURE__*/t("input",{ref:y,id:"email-input",className:"login-method-button",type:"email",placeholder:"your@email.com",onFocus:()=>U(!0),onChange:o=>v(o.target.value),onKeyUp:o=>{"Enter"===o.key&&q()},value:k,autoComplete:"email"}),"email"!==z||M?n.stacked?/*#__PURE__*/t("span",{}):/*#__PURE__*/t(g,{isSubmitting:T,onClick:q,disabled:H,children:"Submit"}):/*#__PURE__*/t(E,{color:"gray",children:"Recent"})]})]}),n.stacked?/*#__PURE__*/t(S,{loadingText:null,loading:T,disabled:H,onClick:q,children:"Submit"}):null]})}));let x=y,C=k;export{v as ConnectEmailForm};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{useState as s,useEffect as t,useRef as i,useCallback as n}from"react";import{styled as m}from"styled-components";import{useAppConfig as c}from"../configuration/context.mjs";import{useCaptcha as a}from"../hooks/captcha-context.mjs";import{usePrivyInternal as p}from"../hooks/internal-context.mjs";import{usePrivyModal as l}from"../hooks/modal-context.mjs";import{usePrivyContext as d}from"../hooks/privy-context.mjs";import{useElementHeight as j}from"../hooks/useElementHeight.mjs";import{useRegisterMfaListener as E}from"../hooks/useRegisterMfaListener.mjs";import{ModalScreen as S}from"../screens/index.mjs";import{AccountNotFoundScreen as u}from"../screens/AccountNotFoundScreen.mjs";import{LinkConflictScreen as h}from"../screens/AccountTransferScreen/LinkConflictScreen.mjs";import{AffirmativeConsentScreen as g}from"../screens/AffirmativeConsentScreen.mjs";import{AllowlistRejectionScreen as C}from"../screens/AllowlistRejectionScreen.mjs";import{AwaitingPasswordlessCodeScreen as f}from"../screens/AwaitingPasswordlessCodeScreen.mjs";import{CaptchaScreen as A}from"../screens/CaptchaScreen.mjs";import{ConnectOnlyAuthenticatedScreen as _}from"../screens/ConnectOnlyAuthenticatedScreen.mjs";import{ConnectOnlyLandingScreen as N}from"../screens/ConnectOnlyLandingScreen.mjs";import{ConnectOnlyStatusScreen as T}from"../screens/ConnectOnlyStatusScreen.mjs";import{ConnectionStatusScreen as I}from"../screens/ConnectionStatusScreen.mjs";import{CrossAppAuthScreen as b}from"../screens/CrossAppAuthScreen.mjs";import{DelegatedActionsConsentScreen as R}from"../screens/DelegatedActionsConsentScreen.mjs";import{DelegatedActionsRevokeScreen as L}from"../screens/DelegatedActionsRevokeScreen.mjs";import{EmbeddedWalletConnectingScreen as y}from"../screens/EmbeddedWalletConnectingScreen.mjs";import{EmbeddedWalletCreatedScreen as w}from"../screens/EmbeddedWalletCreatedScreen.mjs";import{EmbeddedWalletKeyExportScreen as v}from"../screens/EmbeddedWalletKeyExportScreen.mjs";import{EmbeddedWalletOnAccountCreateScreen as D}from"../screens/EmbeddedWalletOnAccountCreateScreen.mjs";import{EmbeddedWalletPasswordUpdateScreen as O}from"../screens/EmbeddedWalletPasswordUpdateScreen.mjs";import{EmbeddedWalletPasswordUpdateSplashScreen as W}from"../screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import{ErrorScreen as P}from"../screens/ErrorScreen.mjs";import{FarcasterConnectStatusScreen as M}from"../screens/FarcasterConnectStatusScreen.mjs";import{FarcasterSignerStatusScreen as F}from"../screens/FarcasterSignerStatusScreen.mjs";import{AwaitingEvmToSolBridgingScreen as k}from"../screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import{AwaitingExternalSolanaTransferScreen as B}from"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import{AwaitingExternalTransferScreen as x}from"../screens/Funding/AwaitingExternalTransferScreen.mjs";import{AwaitingSolToEvmBridgingScreen as G}from"../screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import{CoinbaseOnrampStatusScreen as U}from"../screens/Funding/CoinbaseOnrampStatusScreen.mjs";import{FundingAmountEditScreen as V}from"../screens/Funding/FundingEditAmountScreen.mjs";import{FundingMethodSelectionScreen as H}from"../screens/Funding/FundingMethodSelectionScreen.mjs";import{ManualTransferScreen as q}from"../screens/Funding/ManualTransferScreen.mjs";import{MoonpayStatusScreen as K}from"../screens/Funding/MoonpayStatusScreen.mjs";import{TransferFromWalletScreen as Y}from"../screens/Funding/TransferFromWalletScreen.mjs";import{InAppBrowserLoginNotPossible as z}from"../screens/InAppBrowserLoginNotPossible.mjs";import{InstallPhantomScreen as X}from"../screens/InstallPhantomScreen.mjs";import{ConnectOrCreateScreen as Q}from"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import{LandingScreen as $}from"../screens/LandingScreen/LandingScreen.mjs";import{Hide as J}from"../screens/LandingScreen/styles.mjs";import{LinkEmailScreen as Z}from"../screens/LinkEmailScreen.mjs";import{LinkPasskeyScreen as ee}from"../screens/LinkPasskeyScreen.mjs";import{LinkPhoneScreen as re}from"../screens/LinkPhoneScreen.mjs";import{LinkWalletScreen as oe}from"../screens/LinkWalletScreen.mjs";import{LoginFailedScreen as se}from"../screens/LoginFailedScreen.mjs";import{MfaEnrollmentFlowScreen as te}from"../screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import{MfaVerifyFlowScreen as ie}from"../screens/MfaScreens/MfaVerifyFlowScreen.mjs";import{OAuthStatusScreen as ne}from"../screens/OAuthStatusScreen.mjs";import{PasskeyStatusScreen as me}from"../screens/PasskeyStatusScreen.mjs";import{PhantomInterstitialScreen as ce}from"../screens/PhantomInterstitialScreen.mjs";import{PasswordRecoveryScreen as ae}from"../screens/Recovery/PasswordRecoveryScreen.mjs";import{RecoveryOAuthScreen as pe}from"../screens/Recovery/RecoveryOAuthStatusScreen.mjs";import{EmbeddedWalletPasswordCreateScreen as le}from"../screens/Recovery/RecoveryPasswordCreateScreen.mjs";import{RecoverySelectionScreen as de}from"../screens/Recovery/RecoverySelectionScreen.mjs";import{SetAutomaticRecoveryScreen as je}from"../screens/Recovery/SetAutomaticRecoveryScreen.mjs";import{SendSolanaTransactionScreen as Ee}from"../screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import{SendTransactionScreen as Se}from"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import{SignRequestScreen as ue}from"../screens/SignRequestScreen.mjs";import{TelegramAuthScreen as he}from"../screens/TelegramAuthScreen.mjs";import{UpdateEmailScreen as ge}from"../screens/UpdateEmailScreen.mjs";import{UpdatePhoneScreen as Ce}from"../screens/UpdatePhoneScreen.mjs";import{UserLimitReachedScreen as fe}from"../screens/UserLimitReachedScreen.mjs";import{StylesWrapper as Ae}from"../styles.mjs";import{Dialog as _e,CenterItem as Ne}from"./Dialog.mjs";import{RefactorSpacerTop as Te,RefactorSpacerBottom as Ie}from"./Layouts.mjs";import{Loader as be}from"./Loader.mjs";import{ModalFooter as Re}from"./ModalFooter.mjs";import{ModalHeader as Le}from"./ModalHeader.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../constants.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"../connectors/chains/index.mjs";import"../connectors/chains/arbitrum.mjs";import"../connectors/chains/arbitrumSepolia.mjs";import"../connectors/chains/avalanche.mjs";import"../connectors/chains/avalancheFuji.mjs";import"../connectors/chains/base.mjs";import"../connectors/chains/baseSepolia.mjs";import"../connectors/chains/berachainArtio.mjs";import"../connectors/chains/celo.mjs";import"../connectors/chains/celoAlfajores.mjs";import"../connectors/chains/filecoin.mjs";import"../connectors/chains/filecoinCalibration.mjs";import"../connectors/chains/garnetHolesky.mjs";import"../connectors/chains/holesky.mjs";import"../connectors/chains/linea.mjs";import"../connectors/chains/lineaTestnet.mjs";import"../connectors/chains/lukso.mjs";import"../connectors/chains/mainnet.mjs";import"../connectors/chains/optimism.mjs";import"../connectors/chains/optimismSepolia.mjs";import"../connectors/chains/polygon.mjs";import"../connectors/chains/polygonAmoy.mjs";import"../connectors/chains/redstone.mjs";import"../connectors/chains/sepolia.mjs";import"../connectors/chains/zora.mjs";import"../connectors/chains/zoraSepolia.mjs";import"../connectors/chains/zoraTestnet.mjs";import"../connectors/chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/index.mjs";import"../errors.mjs";import"ofetch";import"../utils/index.mjs";import"@ethersproject/providers";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"./PrefetchedImage.mjs";import"../hooks/events-context.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"./Button.mjs";import"./CircleBackground.mjs";import"./layout/StackedContainer.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"./CircleBorder.mjs";import"./ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"../lib/capitalizeFirstLetter.mjs";import"../screens/AccountTransferScreen/AccountTransferButton.mjs";import"../screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"../screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"../client/user.mjs";import"@ethersproject/address";import"../screens/MfaScreens/StyledComponents.mjs";import"../svg/lock-closed.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"react-device-detect";import"./ScreenHeader.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"./WrappedLoader.mjs";import"../screens/LandingScreen/WalletButtonList.mjs";import"../screens/LandingScreen/WalletButton.mjs";import"./external-wallets/InjectedWalletIcon.mjs";import"./ui/chips/Chip.mjs";import"./ui/animation/LoadingSkeleton.mjs";import"../lib/external-wallets/displayHelpers.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/coinbase-wallet.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../lib/isEmbeddedWebview.mjs";import"../recent-login/context.mjs";import"../storage.mjs";import"../connectors/errors.mjs";import"@ethersproject/logger";import"../errors-9ucGZPEs.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../auth-flows/siwe.mjs";import"../effect.mjs";import"../lib/siwe.mjs";import"../auth-flows/siws.mjs";import"../lib/siws.mjs";import"../connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"../connectors/walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"../connectors/ethereum/index.mjs";import"../connectors/areWalletArraysEqual.mjs";import"../connectors/isBaseConnectedEthereumWallet.mjs";import"../connectors/base.mjs";import"eventemitter3";import"../connectors/getRpcTimeout.mjs";import"../connectors/privyProxyProvider.mjs";import"../connectors/walletconnect-registry.mjs";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"../svg/protected-by-privy.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"./ProviderAppLogo.mjs";import"../hooks/useLogout.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"./ui/wallet/WalletInfoCard.mjs";import"./ui/layout/Column.mjs";import"./ui/typography/ErrorMessage.mjs";import"./ui/typography/LabelXs.mjs";import"./ui/wallet/shared.mjs";import"../icons/Bot.mjs";import"./primitives/LoadingSpinner/index.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/types.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../paths.mjs";import"../lib/pkce.mjs";import"jose";import"../crypto.mjs";import"./ui/banners/WarningBanner.mjs";import"./ui/typography/Subtitle.mjs";import"./ui/typography/Title.mjs";import"../hooks/useEmbeddedWalletCreate.mjs";import"../password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"./embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"./embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"./embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"./embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"./Checkbox.mjs";import"./embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"./embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"./embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"./embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"./CopyToClipboard.mjs";import"../svg/checkmark.mjs";import"../svg/copy.mjs";import"./OpenLink.mjs";import"./QrCode.mjs";import"qrcode";import"../svg/black-rounded-square.mjs";import"../svg/farcaster.mjs";import"./embedded-wallets/FundWalletMethodHeader.mjs";import"./primitives/NeutralSpinner/index.mjs";import"../hooks/useGetTokenPrice.mjs";import"../hooks/useGetSolPrice.mjs";import"../hooks/useWallets.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/solana/transaction.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/wallets/actions/getBalanceForChains.mjs";import"../screens/Funding/BridgeNetworkSelectionView.mjs";import"./ui/layout/Row.mjs";import"./ui/typography/LabelSm.mjs";import"./ui/wallet/NetworkBalanceCard.mjs";import"./ui/typography/Value.mjs";import"./ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"./ui/icons/Arbitum.mjs";import"./ui/icons/Avalanche.mjs";import"./ui/icons/Base.mjs";import"./ui/icons/Celo.mjs";import"./ui/icons/Linea.mjs";import"./ui/icons/Mainnnet.mjs";import"./ui/icons/Optimism.mjs";import"./ui/icons/Polygon.mjs";import"./ui/icons/Solana.mjs";import"./ui/icons/Zora.mjs";import"./ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"../lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"../ethers-Cz-frLvN.mjs";import"../screens/Funding/styles.mjs";import"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../hooks/useSolanaWallets.mjs";import"../lib/erc20/actions/abis/transfer.mjs";import"../lib/erc20/formatErc20TokenAmount.mjs";import"../lib/wallets/actions/getErc20Balance.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"@heroicons/react/24/outline/PencilIcon";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"./ui/banners/ErrorBanner.mjs";import"./ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"./ui/icons/ApplePay.mjs";import"./ui/icons/GooglePay.mjs";import"../hook-utils/useAsyncValue.mjs";import"../icons/WalletCards.mjs";import"../lib/erc20/actions/getErc20TokenInfo.mjs";import"../lib/funding/prepareFundingMethods.mjs";import"../lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"../lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/index.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../hooks/useWalletBalance.mjs";import"../svg/blobby.mjs";import"../svg/moonpay.mjs";import"../screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"./TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/CustomLandingScreenView.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../screens/LandingScreen/AppLogoHeader.mjs";import"./AppLogo.mjs";import"../screens/LandingScreen/CrossAppButton.mjs";import"../screens/LandingScreen/EmailButton.mjs";import"./ConnectEmailForm.mjs";import"./ui/forms/EmailInputForm.mjs";import"../screens/LandingScreen/FarcasterButton.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"../screens/LandingScreen/SmsButton.mjs";import"./ConnectPhoneForm.mjs";import"../PhoneCountryDropdown-BXDwBRL5.mjs";import"../screens/LandingScreen/SocialButton.mjs";import"../svg/apple.mjs";import"../svg/discord.mjs";import"../svg/github.mjs";import"../svg/google.mjs";import"../svg/instagram.mjs";import"../svg/linkedin.mjs";import"../svg/spotify.mjs";import"../svg/tiktok.mjs";import"../svg/twitter.mjs";import"../screens/LandingScreen/TelegramButton.mjs";import"../svg/telegram.mjs";import"../screens/LandingScreen/Web2OverflowButton.mjs";import"../screens/LandingScreen/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"../svg/face-id.mjs";import"../svg/fingerprint.mjs";import"../svg/error-circle.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"../hooks/useMfa.mjs";import"../hooks/useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"../screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"../screens/MfaScreens/EnrollSms.mjs";import"./PinInput.mjs";import"../screens/MfaScreens/EnrollTotp.mjs";import"../svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"./embedded-wallets/TransactionDetailsWrapper.mjs";import"../index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"./embedded-wallets/TransactionDetails.mjs";import"./embedded-wallets/DisplayInfoItem.mjs";import"./embedded-wallets/PriceDisplay.mjs";import"./embedded-wallets/TransactionTotal.mjs";import"./primitives/Accordion/index.mjs";import"./primitives/Accordion/AccordionContext.mjs";import"./embedded-wallets/WalletLink.mjs";import"../screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"../auth-flows/oauth/getDisplayForProvider.mjs";import"../svg/globe.mjs";import"../auth-flows/oauth/getOAuthErrorMessage.mjs";import"../auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"../connectors/phantom-redirect.mjs";import"../svg/apple-icloud.mjs";import"../svg/google-drive.mjs";import"../screens/Recovery/styles.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"./ui/icons/WithCircleBorder.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendTransactionScreen/EthersTransactionError.mjs";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"./embedded-wallets/SolanaTransactionDetails.mjs";import"../embedded-wallets/rpc/index.mjs";import"../screens/SendTransactionScreen/TransactionReceiptView.mjs";import"../screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"../lib/deployAccount/actions/abis/deployAccount.mjs";import"../lib/erc20/actions/abis/approve.mjs";import"../lib/erc721/actions/abis/mint.mjs";import"../lib/erc721/actions/abis/safeTransferFrom.mjs";import"../lib/erc721/actions/abis/setApprovalForAll.mjs";import"../lib/erc721/actions/abis/transferFrom.mjs";import"../lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"../lib/erc1155/actions/abis/safeTransferFrom.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"./embedded-wallets/StyledLogo.mjs";import"../auth-flows/telegram.mjs";import"./UpdateEmailForm.mjs";import"../svg/alert-circle.mjs";import"../cssNormalize.mjs";let ye={[S.LANDING]:$,[S.CONNECT_OR_CREATE]:Q,[S.AWAITING_PASSWORDLESS_CODE]:f,[S.AWAITING_CONNECTION]:I,[S.AWAITING_CONNECT_ONLY_CONNECTION]:T,[S.AWAITING_FARCASTER_CONNECTION]:M,[S.AWAITING_FARCASTER_SIGNER]:F,[S.AWAITING_PASSKEY_SYSTEM_DIALOGUE]:me,[S.PHANTOM_INTERSTITIAL_SCREEN]:ce,[S.LOGIN_FAILED_SCREEN]:se,[S.AWAITING_OAUTH_SCREEN]:ne,[S.CROSS_APP_AUTH_SCREEN]:b,[S.ALLOWLIST_REJECTION_SCREEN]:C,[S.ACCOUNT_NOT_FOUND_SCREEN]:u,[S.USER_LIMIT_REACHED_SCREEN]:fe,[S.INSTALL_PHANTOM_SCREEN]:X,[S.LINK_EMAIL_SCREEN]:Z,[S.LINK_PHONE_SCREEN]:re,[S.LINK_WALLET_SCREEN]:oe,[S.LINK_PASSKEY_SCREEN]:ee,[S.UPDATE_EMAIL_SCREEN]:ge,[S.UPDATE_PHONE_SCREEN]:Ce,[S.CONNECT_ONLY_LANDING_SCREEN]:N,[S.CONNECT_ONLY_AUTHENTICATED_SCREEN]:_,[S.EMBEDDED_WALLET_ON_ACCOUNT_CREATE_SCREEN]:D,[S.EMBEDDED_WALLET_CREATED_SCREEN]:w,[S.EMBEDDED_WALLET_CONNECTING_SCREEN]:y,[S.EMBEDDED_WALLET_PASSWORD_RECOVERY_SCREEN]:ae,[S.EMBEDDED_WALLET_RECOVERY_SELECTION_SCREEN]:de,[S.EMBEDDED_WALLET_SET_AUTOMATIC_RECOVERY_SCREEN]:je,[S.EMBEDDED_WALLET_RECOVERY_OAUTH_SCREEN]:pe,[S.EMBEDDED_WALLET_KEY_EXPORT_SCREEN]:v,[S.EMBEDDED_WALLET_SIGN_REQUEST_SCREEN]:ue,[S.EMBEDDED_WALLET_SEND_TRANSACTION_SCREEN]:Se,[S.EMBEDDED_WALLET_SEND_SOLANA_TRANSACTION_SCREEN]:Ee,[S.EMBEDDED_WALLET_DELEGATED_ACTIONS_CONSENT_SCREEN]:R,[S.EMBEDDED_WALLET_DELEGATED_ACTIONS_REVOKE_SCREEN]:L,[S.FUNDING_METHOD_SELECTION_SCREEN]:H,[S.MOONPAY_STATUS_SCREEN]:K,[S.COINBASE_ONRAMP_STATUS_SCREEN]:U,[S.FUNDING_TRANSFER_FROM_WALLET_SCREEN]:Y,[S.FUNDING_EDIT_AMOUNT_SCREEN]:V,[S.FUNDING_AWAITING_TRANSFER_FROM_EXTERNAL_WALLET_SCREEN]:x,[S.FUNDING_AWAITING_TRANSFER_FROM_EXTERNAL_SOLANA_WALLET_SCREEN]:B,[S.FUNDING_AWAITING_EVM_TO_SOL_BRIDGING_SCREEN]:k,[S.FUNDING_AWAITING_SOL_TO_EVM_BRIDGING_SCREEN]:G,[S.FUNDING_MANUAL_TRANSFER_SCREEN]:q,[S.EMBEDDED_WALLET_PASSWORD_UPDATE_SPLASH_SCREEN]:W,[S.EMBEDDED_WALLET_PASSWORD_UPDATE_SCREEN]:O,[S.EMBEDDED_WALLET_PASSWORD_CREATE_SCREEN]:le,[S.MFA_ENROLLMENT_FLOW_SCREEN]:te,[S.CAPTCHA_SCREEN]:A,[S.ERROR_SCREEN]:P,[S.IN_APP_BROWSER_LOGIN_NOT_POSSIBLE]:z,[S.AFFIRMATIVE_CONSENT_SCREEN]:g,[S.TELEGRAM_AUTH_SCREEN]:he,[S.LINK_CONFLICT_SCREEN]:h},we=[S.LANDING,S.AWAITING_CONNECTION],ve=({isMfaVerifying:s,onMfaVerificationComplete:i})=>{let{ready:n,isModalOpen:m}=d(),{headless:p}=c(),{ready:j,currentScreen:E}=l(),{status:u,execute:h,reset:g,enabled:C}=a(),f=m&&E&&we.includes(E)&&!p&&"ready"===u;return t((()=>{f&&h()}),[f]),t((()=>{!m&&C&&g()}),[m,C]),n&&j||E===S.AWAITING_OAUTH_SCREEN||E===S.CROSS_APP_AUTH_SCREEN||E===S.TELEGRAM_AUTH_SCREEN?!E&&s?/*#__PURE__*/e(ie,{open:s,onClose:i}):E?/*#__PURE__*/r(o,{children:[/*#__PURE__*/e(J,{$if:!!s,children:/*#__PURE__*/e(ye[E],{})}),/*#__PURE__*/e(J,{$if:!s,children:/*#__PURE__*/e(ie,{open:s,onClose:i})})]}):null:/*#__PURE__*/r(o,{children:[/*#__PURE__*/e(Le,{}),/*#__PURE__*/e(Te,{}),/*#__PURE__*/e(Ne,{children:/*#__PURE__*/e(be,{})}),/*#__PURE__*/e(Ie,{}),/*#__PURE__*/e(Re,{})]})},De=({isMfaVerifying:r,onMfaVerificationComplete:o})=>{let s=i(null);/*#__PURE__*/return e(Pe,{style:{height:j(s)},id:"privy-modal-content",children:/*#__PURE__*/e("div",{ref:s,children:/*#__PURE__*/e(ve,{isMfaVerifying:r,onMfaVerificationComplete:o})})})};const Oe=({open:r})=>{let{app:o}=l(),{gracefulClosePrivyModal:t}=(()=>{let{closePrivyModal:e}=p(),{onUserCloseViaDialogOrKeybindRef:r}=l();return{gracefulClosePrivyModal:n((()=>{if(!r?.current)return e({shouldCallAuthOnSuccess:!1});r.current()}),[e])}})(),[i,m]=s(!1);E({onMfaRequired:()=>{o?.mfa.noPromptOnMfaRequired||m(!0)}});let c=r||i;return o.render.standalone?/*#__PURE__*/e(Ae,{children:/*#__PURE__*/e(We,{id:"privy-modal-content",children:/*#__PURE__*/e(ve,{isMfaVerifying:i,onMfaVerificationComplete:()=>m(!1)})})}):/*#__PURE__*/e(_e,{open:c,id:"privy-dialog","aria-label":"log in or sign up","aria-labelledby":"privy-dialog-title",onClick:()=>t(),children:/*#__PURE__*/e(Ae,{children:/*#__PURE__*/e(De,{isMfaVerifying:i,onMfaVerificationComplete:()=>m(!1)})})})};let We=/*#__PURE__*/m.div.withConfig({displayName:"ContentWrapper",componentId:"sc-475a2584-0"})(["display:flex;flex-direction:column;text-align:center;font-size:14px;line-height:20px;width:100%;background:var(--privy-color-background);padding:0 16px;"]),Pe=/*#__PURE__*/m(We).withConfig({displayName:"BaseModal",componentId:"sc-475a2584-1"})(["transition:height 150ms ease-out;overflow:hidden;max-height:calc(100svh - 32px);border-radius:var(--privy-border-radius-lg) var(--privy-border-radius-lg) 0 0;box-shadow:0px 0px 36px rgba(55,65,81,0.15);@media (min-width:441px){box-shadow:0px 8px 36px rgba(55,65,81,0.15);border-radius:var(--privy-border-radius-lg);}"]);export{Oe as LoginModal};
1
+ import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{useState as s,useEffect as t,useRef as i,useCallback as n}from"react";import{styled as m}from"styled-components";import{useAppConfig as c}from"../configuration/context.mjs";import{useCaptcha as a}from"../hooks/captcha-context.mjs";import{usePrivyInternal as p}from"../hooks/internal-context.mjs";import{usePrivyModal as l}from"../hooks/modal-context.mjs";import{usePrivyContext as d}from"../hooks/privy-context.mjs";import{useElementHeight as j}from"../hooks/useElementHeight.mjs";import{useRegisterMfaListener as E}from"../hooks/useRegisterMfaListener.mjs";import{ModalScreen as S}from"../screens/index.mjs";import{AccountNotFoundScreen as u}from"../screens/AccountNotFoundScreen.mjs";import{LinkConflictScreen as h}from"../screens/AccountTransferScreen/LinkConflictScreen.mjs";import{AffirmativeConsentScreen as g}from"../screens/AffirmativeConsentScreen.mjs";import{AllowlistRejectionScreen as C}from"../screens/AllowlistRejectionScreen.mjs";import{AwaitingPasswordlessCodeScreen as f}from"../screens/AwaitingPasswordlessCodeScreen.mjs";import{CaptchaScreen as A}from"../screens/CaptchaScreen.mjs";import{ConnectOnlyAuthenticatedScreen as _}from"../screens/ConnectOnlyAuthenticatedScreen.mjs";import{ConnectOnlyLandingScreen as N}from"../screens/ConnectOnlyLandingScreen.mjs";import{ConnectOnlyStatusScreen as T}from"../screens/ConnectOnlyStatusScreen.mjs";import{ConnectionStatusScreen as I}from"../screens/ConnectionStatusScreen.mjs";import{CrossAppAuthScreen as b}from"../screens/CrossAppAuthScreen.mjs";import{DelegatedActionsConsentScreen as R}from"../screens/DelegatedActionsConsentScreen.mjs";import{DelegatedActionsRevokeScreen as L}from"../screens/DelegatedActionsRevokeScreen.mjs";import{EmbeddedWalletConnectingScreen as y}from"../screens/EmbeddedWalletConnectingScreen.mjs";import{EmbeddedWalletCreatedScreen as w}from"../screens/EmbeddedWalletCreatedScreen.mjs";import{EmbeddedWalletKeyExportScreen as v}from"../screens/EmbeddedWalletKeyExportScreen.mjs";import{EmbeddedWalletOnAccountCreateScreen as D}from"../screens/EmbeddedWalletOnAccountCreateScreen.mjs";import{EmbeddedWalletPasswordUpdateScreen as O}from"../screens/EmbeddedWalletPasswordUpdateScreen.mjs";import{EmbeddedWalletPasswordUpdateSplashScreen as W}from"../screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import{ErrorScreen as P}from"../screens/ErrorScreen.mjs";import{FarcasterConnectStatusScreen as M}from"../screens/FarcasterConnectStatusScreen.mjs";import{FarcasterSignerStatusScreen as F}from"../screens/FarcasterSignerStatusScreen.mjs";import{AwaitingEvmToSolBridgingScreen as k}from"../screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import{AwaitingExternalSolanaTransferScreen as B}from"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import{AwaitingExternalTransferScreen as x}from"../screens/Funding/AwaitingExternalTransferScreen.mjs";import{AwaitingSolToEvmBridgingScreen as G}from"../screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import{CoinbaseOnrampStatusScreen as U}from"../screens/Funding/CoinbaseOnrampStatusScreen.mjs";import{FundingAmountEditScreen as V}from"../screens/Funding/FundingEditAmountScreen.mjs";import{FundingMethodSelectionScreen as H}from"../screens/Funding/FundingMethodSelectionScreen.mjs";import{ManualTransferScreen as q}from"../screens/Funding/ManualTransferScreen.mjs";import{MoonpayStatusScreen as K}from"../screens/Funding/MoonpayStatusScreen.mjs";import{TransferFromWalletScreen as Y}from"../screens/Funding/TransferFromWalletScreen.mjs";import{InAppBrowserLoginNotPossible as z}from"../screens/InAppBrowserLoginNotPossible.mjs";import{InstallPhantomScreen as X}from"../screens/InstallPhantomScreen.mjs";import{ConnectOrCreateScreen as Q}from"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import{LandingScreen as $}from"../screens/LandingScreen/LandingScreen.mjs";import{Hide as J}from"../screens/LandingScreen/styles.mjs";import{LinkEmailScreen as Z}from"../screens/LinkEmailScreen.mjs";import{LinkPasskeyScreen as ee}from"../screens/LinkPasskeyScreen.mjs";import{LinkPhoneScreen as re}from"../screens/LinkPhoneScreen.mjs";import{LinkWalletScreen as oe}from"../screens/LinkWalletScreen.mjs";import{LoginFailedScreen as se}from"../screens/LoginFailedScreen.mjs";import{MfaEnrollmentFlowScreen as te}from"../screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import{MfaVerifyFlowScreen as ie}from"../screens/MfaScreens/MfaVerifyFlowScreen.mjs";import{OAuthStatusScreen as ne}from"../screens/OAuthStatusScreen.mjs";import{PasskeyStatusScreen as me}from"../screens/PasskeyStatusScreen.mjs";import{PhantomInterstitialScreen as ce}from"../screens/PhantomInterstitialScreen.mjs";import{PasswordRecoveryScreen as ae}from"../screens/Recovery/PasswordRecoveryScreen.mjs";import{RecoveryOAuthScreen as pe}from"../screens/Recovery/RecoveryOAuthStatusScreen.mjs";import{EmbeddedWalletPasswordCreateScreen as le}from"../screens/Recovery/RecoveryPasswordCreateScreen.mjs";import{RecoverySelectionScreen as de}from"../screens/Recovery/RecoverySelectionScreen.mjs";import{SetAutomaticRecoveryScreen as je}from"../screens/Recovery/SetAutomaticRecoveryScreen.mjs";import{SendSolanaTransactionScreen as Ee}from"../screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import{SendTransactionScreen as Se}from"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import{SignRequestScreen as ue}from"../screens/SignRequestScreen.mjs";import{TelegramAuthScreen as he}from"../screens/TelegramAuthScreen.mjs";import{UpdateEmailScreen as ge}from"../screens/UpdateEmailScreen.mjs";import{UpdatePhoneScreen as Ce}from"../screens/UpdatePhoneScreen.mjs";import{UserLimitReachedScreen as fe}from"../screens/UserLimitReachedScreen.mjs";import{StylesWrapper as Ae}from"../styles.mjs";import{Dialog as _e,CenterItem as Ne}from"./Dialog.mjs";import{RefactorSpacerTop as Te,RefactorSpacerBottom as Ie}from"./Layouts.mjs";import{Loader as be}from"./Loader.mjs";import{ModalFooter as Re}from"./ModalFooter.mjs";import{ModalHeader as Le}from"./ModalHeader.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../constants.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"../connectors/chains/index.mjs";import"../connectors/chains/arbitrum.mjs";import"../connectors/chains/arbitrumSepolia.mjs";import"../connectors/chains/avalanche.mjs";import"../connectors/chains/avalancheFuji.mjs";import"../connectors/chains/base.mjs";import"../connectors/chains/baseSepolia.mjs";import"../connectors/chains/berachainArtio.mjs";import"../connectors/chains/celo.mjs";import"../connectors/chains/celoAlfajores.mjs";import"../connectors/chains/filecoin.mjs";import"../connectors/chains/filecoinCalibration.mjs";import"../connectors/chains/garnetHolesky.mjs";import"../connectors/chains/holesky.mjs";import"../connectors/chains/linea.mjs";import"../connectors/chains/lineaTestnet.mjs";import"../connectors/chains/lukso.mjs";import"../connectors/chains/mainnet.mjs";import"../connectors/chains/optimism.mjs";import"../connectors/chains/optimismSepolia.mjs";import"../connectors/chains/polygon.mjs";import"../connectors/chains/polygonAmoy.mjs";import"../connectors/chains/redstone.mjs";import"../connectors/chains/sepolia.mjs";import"../connectors/chains/zora.mjs";import"../connectors/chains/zoraSepolia.mjs";import"../connectors/chains/zoraTestnet.mjs";import"../connectors/chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/index.mjs";import"../errors.mjs";import"ofetch";import"../utils/index.mjs";import"@ethersproject/providers";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"./PrefetchedImage.mjs";import"../hooks/events-context.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"./Button.mjs";import"./CircleBackground.mjs";import"./layout/StackedContainer.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"./CircleBorder.mjs";import"./ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"../lib/capitalizeFirstLetter.mjs";import"../screens/AccountTransferScreen/AccountTransferButton.mjs";import"../screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"../screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"../client/user.mjs";import"@ethersproject/address";import"../screens/MfaScreens/StyledComponents.mjs";import"../svg/lock-closed.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"react-device-detect";import"./ScreenHeader.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"./WrappedLoader.mjs";import"../screens/LandingScreen/WalletButtonList.mjs";import"../screens/LandingScreen/EmptyWalletView.mjs";import"../screens/LandingScreen/WalletButton.mjs";import"./external-wallets/InjectedWalletIcon.mjs";import"./ui/chips/Chip.mjs";import"./ui/animation/LoadingSkeleton.mjs";import"../lib/external-wallets/displayHelpers.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/coinbase-wallet.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../lib/isEmbeddedWebview.mjs";import"../recent-login/context.mjs";import"../storage.mjs";import"../connectors/errors.mjs";import"@ethersproject/logger";import"../errors-9ucGZPEs.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../auth-flows/siwe.mjs";import"../effect.mjs";import"../lib/siwe.mjs";import"../auth-flows/siws.mjs";import"../lib/siws.mjs";import"../connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"../connectors/walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"../connectors/ethereum/index.mjs";import"../connectors/areWalletArraysEqual.mjs";import"../connectors/isBaseConnectedEthereumWallet.mjs";import"../connectors/base.mjs";import"eventemitter3";import"../connectors/getRpcTimeout.mjs";import"../connectors/privyProxyProvider.mjs";import"../connectors/walletconnect-registry.mjs";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"../svg/protected-by-privy.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"./ProviderAppLogo.mjs";import"../hooks/useLogout.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"./ui/wallet/WalletInfoCard.mjs";import"./ui/layout/Column.mjs";import"./ui/typography/ErrorMessage.mjs";import"./ui/typography/LabelXs.mjs";import"./ui/wallet/shared.mjs";import"../icons/Bot.mjs";import"./primitives/LoadingSpinner/index.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/types.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../paths.mjs";import"../lib/pkce.mjs";import"jose";import"../crypto.mjs";import"./ui/banners/WarningBanner.mjs";import"./ui/typography/Subtitle.mjs";import"./ui/typography/Title.mjs";import"../hooks/useEmbeddedWalletCreate.mjs";import"../password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"./embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"./embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"./embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"./embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"./Checkbox.mjs";import"./embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"./embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"./embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"./embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"./CopyToClipboard.mjs";import"../svg/checkmark.mjs";import"../svg/copy.mjs";import"./OpenLink.mjs";import"./QrCode.mjs";import"qrcode";import"../svg/black-rounded-square.mjs";import"../svg/farcaster.mjs";import"./embedded-wallets/FundWalletMethodHeader.mjs";import"./primitives/NeutralSpinner/index.mjs";import"../hooks/useGetTokenPrice.mjs";import"../hooks/useGetSolPrice.mjs";import"../hooks/useWallets.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/solana/transaction.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/wallets/actions/getBalanceForChains.mjs";import"../screens/Funding/BridgeNetworkSelectionView.mjs";import"./ui/layout/Row.mjs";import"./ui/typography/LabelSm.mjs";import"./ui/wallet/NetworkBalanceCard.mjs";import"./ui/typography/Value.mjs";import"./ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"./ui/icons/Arbitum.mjs";import"./ui/icons/Avalanche.mjs";import"./ui/icons/Base.mjs";import"./ui/icons/Celo.mjs";import"./ui/icons/Linea.mjs";import"./ui/icons/Mainnnet.mjs";import"./ui/icons/Optimism.mjs";import"./ui/icons/Polygon.mjs";import"./ui/icons/Solana.mjs";import"./ui/icons/Zora.mjs";import"./ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"../lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"../ethers-Cz-frLvN.mjs";import"../screens/Funding/styles.mjs";import"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../hooks/useSolanaWallets.mjs";import"../lib/erc20/actions/abis/transfer.mjs";import"../lib/erc20/formatErc20TokenAmount.mjs";import"../lib/wallets/actions/getErc20Balance.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"@heroicons/react/24/outline/PencilIcon";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"./ui/banners/ErrorBanner.mjs";import"./ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"./ui/icons/ApplePay.mjs";import"./ui/icons/GooglePay.mjs";import"../hook-utils/useAsyncValue.mjs";import"../icons/WalletCards.mjs";import"../lib/erc20/actions/getErc20TokenInfo.mjs";import"../lib/funding/prepareFundingMethods.mjs";import"../lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"../lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/index.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../hooks/useWalletBalance.mjs";import"../svg/blobby.mjs";import"../svg/moonpay.mjs";import"../screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"./TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/CustomLandingScreenView.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../screens/LandingScreen/AppLogoHeader.mjs";import"./AppLogo.mjs";import"../screens/LandingScreen/CrossAppButton.mjs";import"../screens/LandingScreen/EmailButton.mjs";import"./ConnectEmailForm.mjs";import"./ui/forms/EmailInputForm.mjs";import"../screens/LandingScreen/FarcasterButton.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"../screens/LandingScreen/SmsButton.mjs";import"./ConnectPhoneForm.mjs";import"../PhoneCountryDropdown-BXDwBRL5.mjs";import"../screens/LandingScreen/SocialButton.mjs";import"../svg/apple.mjs";import"../svg/discord.mjs";import"../svg/github.mjs";import"../svg/google.mjs";import"../svg/instagram.mjs";import"../svg/linkedin.mjs";import"../svg/spotify.mjs";import"../svg/tiktok.mjs";import"../svg/twitter.mjs";import"../screens/LandingScreen/TelegramButton.mjs";import"../svg/telegram.mjs";import"../screens/LandingScreen/Web2OverflowButton.mjs";import"../screens/LandingScreen/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"../svg/face-id.mjs";import"../svg/fingerprint.mjs";import"../svg/error-circle.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"../hooks/useMfa.mjs";import"../hooks/useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"../screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"../screens/MfaScreens/EnrollSms.mjs";import"./PinInput.mjs";import"../screens/MfaScreens/EnrollTotp.mjs";import"../svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"./embedded-wallets/TransactionDetailsWrapper.mjs";import"../index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"./embedded-wallets/TransactionDetails.mjs";import"./embedded-wallets/DisplayInfoItem.mjs";import"./embedded-wallets/PriceDisplay.mjs";import"./embedded-wallets/TransactionTotal.mjs";import"./primitives/Accordion/index.mjs";import"./primitives/Accordion/AccordionContext.mjs";import"./embedded-wallets/WalletLink.mjs";import"../screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"../auth-flows/oauth/getDisplayForProvider.mjs";import"../svg/globe.mjs";import"../auth-flows/oauth/getOAuthErrorMessage.mjs";import"../auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"../connectors/phantom-redirect.mjs";import"../svg/apple-icloud.mjs";import"../svg/google-drive.mjs";import"../screens/Recovery/styles.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"./ui/icons/WithCircleBorder.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendTransactionScreen/EthersTransactionError.mjs";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"./embedded-wallets/SolanaTransactionDetails.mjs";import"../embedded-wallets/rpc/index.mjs";import"../screens/SendTransactionScreen/TransactionReceiptView.mjs";import"../screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"../lib/deployAccount/actions/abis/deployAccount.mjs";import"../lib/erc20/actions/abis/approve.mjs";import"../lib/erc721/actions/abis/mint.mjs";import"../lib/erc721/actions/abis/safeTransferFrom.mjs";import"../lib/erc721/actions/abis/setApprovalForAll.mjs";import"../lib/erc721/actions/abis/transferFrom.mjs";import"../lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"../lib/erc1155/actions/abis/safeTransferFrom.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"./embedded-wallets/StyledLogo.mjs";import"../auth-flows/telegram.mjs";import"./UpdateEmailForm.mjs";import"../svg/alert-circle.mjs";import"../cssNormalize.mjs";let ye={[S.LANDING]:$,[S.CONNECT_OR_CREATE]:Q,[S.AWAITING_PASSWORDLESS_CODE]:f,[S.AWAITING_CONNECTION]:I,[S.AWAITING_CONNECT_ONLY_CONNECTION]:T,[S.AWAITING_FARCASTER_CONNECTION]:M,[S.AWAITING_FARCASTER_SIGNER]:F,[S.AWAITING_PASSKEY_SYSTEM_DIALOGUE]:me,[S.PHANTOM_INTERSTITIAL_SCREEN]:ce,[S.LOGIN_FAILED_SCREEN]:se,[S.AWAITING_OAUTH_SCREEN]:ne,[S.CROSS_APP_AUTH_SCREEN]:b,[S.ALLOWLIST_REJECTION_SCREEN]:C,[S.ACCOUNT_NOT_FOUND_SCREEN]:u,[S.USER_LIMIT_REACHED_SCREEN]:fe,[S.INSTALL_PHANTOM_SCREEN]:X,[S.LINK_EMAIL_SCREEN]:Z,[S.LINK_PHONE_SCREEN]:re,[S.LINK_WALLET_SCREEN]:oe,[S.LINK_PASSKEY_SCREEN]:ee,[S.UPDATE_EMAIL_SCREEN]:ge,[S.UPDATE_PHONE_SCREEN]:Ce,[S.CONNECT_ONLY_LANDING_SCREEN]:N,[S.CONNECT_ONLY_AUTHENTICATED_SCREEN]:_,[S.EMBEDDED_WALLET_ON_ACCOUNT_CREATE_SCREEN]:D,[S.EMBEDDED_WALLET_CREATED_SCREEN]:w,[S.EMBEDDED_WALLET_CONNECTING_SCREEN]:y,[S.EMBEDDED_WALLET_PASSWORD_RECOVERY_SCREEN]:ae,[S.EMBEDDED_WALLET_RECOVERY_SELECTION_SCREEN]:de,[S.EMBEDDED_WALLET_SET_AUTOMATIC_RECOVERY_SCREEN]:je,[S.EMBEDDED_WALLET_RECOVERY_OAUTH_SCREEN]:pe,[S.EMBEDDED_WALLET_KEY_EXPORT_SCREEN]:v,[S.EMBEDDED_WALLET_SIGN_REQUEST_SCREEN]:ue,[S.EMBEDDED_WALLET_SEND_TRANSACTION_SCREEN]:Se,[S.EMBEDDED_WALLET_SEND_SOLANA_TRANSACTION_SCREEN]:Ee,[S.EMBEDDED_WALLET_DELEGATED_ACTIONS_CONSENT_SCREEN]:R,[S.EMBEDDED_WALLET_DELEGATED_ACTIONS_REVOKE_SCREEN]:L,[S.FUNDING_METHOD_SELECTION_SCREEN]:H,[S.MOONPAY_STATUS_SCREEN]:K,[S.COINBASE_ONRAMP_STATUS_SCREEN]:U,[S.FUNDING_TRANSFER_FROM_WALLET_SCREEN]:Y,[S.FUNDING_EDIT_AMOUNT_SCREEN]:V,[S.FUNDING_AWAITING_TRANSFER_FROM_EXTERNAL_WALLET_SCREEN]:x,[S.FUNDING_AWAITING_TRANSFER_FROM_EXTERNAL_SOLANA_WALLET_SCREEN]:B,[S.FUNDING_AWAITING_EVM_TO_SOL_BRIDGING_SCREEN]:k,[S.FUNDING_AWAITING_SOL_TO_EVM_BRIDGING_SCREEN]:G,[S.FUNDING_MANUAL_TRANSFER_SCREEN]:q,[S.EMBEDDED_WALLET_PASSWORD_UPDATE_SPLASH_SCREEN]:W,[S.EMBEDDED_WALLET_PASSWORD_UPDATE_SCREEN]:O,[S.EMBEDDED_WALLET_PASSWORD_CREATE_SCREEN]:le,[S.MFA_ENROLLMENT_FLOW_SCREEN]:te,[S.CAPTCHA_SCREEN]:A,[S.ERROR_SCREEN]:P,[S.IN_APP_BROWSER_LOGIN_NOT_POSSIBLE]:z,[S.AFFIRMATIVE_CONSENT_SCREEN]:g,[S.TELEGRAM_AUTH_SCREEN]:he,[S.LINK_CONFLICT_SCREEN]:h},we=[S.LANDING,S.AWAITING_CONNECTION],ve=({isMfaVerifying:s,onMfaVerificationComplete:i})=>{let{ready:n,isModalOpen:m}=d(),{headless:p}=c(),{ready:j,currentScreen:E}=l(),{status:u,execute:h,reset:g,enabled:C}=a(),f=m&&E&&we.includes(E)&&!p&&"ready"===u;return t((()=>{f&&h()}),[f]),t((()=>{!m&&C&&g()}),[m,C]),n&&j||E===S.AWAITING_OAUTH_SCREEN||E===S.CROSS_APP_AUTH_SCREEN||E===S.TELEGRAM_AUTH_SCREEN?!E&&s?/*#__PURE__*/e(ie,{open:s,onClose:i}):E?/*#__PURE__*/r(o,{children:[/*#__PURE__*/e(J,{$if:!!s,children:/*#__PURE__*/e(ye[E],{})}),/*#__PURE__*/e(J,{$if:!s,children:/*#__PURE__*/e(ie,{open:s,onClose:i})})]}):null:/*#__PURE__*/r(o,{children:[/*#__PURE__*/e(Le,{}),/*#__PURE__*/e(Te,{}),/*#__PURE__*/e(Ne,{children:/*#__PURE__*/e(be,{})}),/*#__PURE__*/e(Ie,{}),/*#__PURE__*/e(Re,{})]})},De=({isMfaVerifying:r,onMfaVerificationComplete:o})=>{let s=i(null);/*#__PURE__*/return e(Pe,{style:{height:j(s)},id:"privy-modal-content",children:/*#__PURE__*/e("div",{ref:s,children:/*#__PURE__*/e(ve,{isMfaVerifying:r,onMfaVerificationComplete:o})})})};const Oe=({open:r})=>{let{app:o}=l(),{gracefulClosePrivyModal:t}=(()=>{let{closePrivyModal:e}=p(),{onUserCloseViaDialogOrKeybindRef:r}=l();return{gracefulClosePrivyModal:n((()=>{if(!r?.current)return e({shouldCallAuthOnSuccess:!1});r.current()}),[e])}})(),[i,m]=s(!1);E({onMfaRequired:()=>{o?.mfa.noPromptOnMfaRequired||m(!0)}});let c=r||i;return o.render.standalone?/*#__PURE__*/e(Ae,{children:/*#__PURE__*/e(We,{id:"privy-modal-content",children:/*#__PURE__*/e(ve,{isMfaVerifying:i,onMfaVerificationComplete:()=>m(!1)})})}):/*#__PURE__*/e(_e,{open:c,id:"privy-dialog","aria-label":"log in or sign up","aria-labelledby":"privy-dialog-title",onClick:()=>t(),children:/*#__PURE__*/e(Ae,{children:/*#__PURE__*/e(De,{isMfaVerifying:i,onMfaVerificationComplete:()=>m(!1)})})})};let We=/*#__PURE__*/m.div.withConfig({displayName:"ContentWrapper",componentId:"sc-475a2584-0"})(["display:flex;flex-direction:column;text-align:center;font-size:14px;line-height:20px;width:100%;background:var(--privy-color-background);padding:0 16px;"]),Pe=/*#__PURE__*/m(We).withConfig({displayName:"BaseModal",componentId:"sc-475a2584-1"})(["transition:height 150ms ease-out;overflow:hidden;max-height:calc(100svh - 32px);border-radius:var(--privy-border-radius-lg) var(--privy-border-radius-lg) 0 0;box-shadow:0px 0px 36px rgba(55,65,81,0.15);@media (min-width:441px){box-shadow:0px 8px 36px rgba(55,65,81,0.15);border-radius:var(--privy-border-radius-lg);}"]);export{Oe as LoginModal};
@@ -1 +1 @@
1
- import{jsxs as o,Fragment as t,jsx as i}from"react/jsx-runtime";import r from"@heroicons/react/24/outline/EnvelopeIcon";import{forwardRef as e,useState as n}from"react";import{useAppConfig as s}from"../configuration/context.mjs";import{useCaptcha as m}from"../hooks/captcha-context.mjs";import{usePrivyInternal as c}from"../hooks/internal-context.mjs";import{usePrivyModal as a}from"../hooks/modal-context.mjs";import{usePrivyContext as l}from"../hooks/privy-context.mjs";import{ModalScreen as p}from"../screens/index.mjs";import{validateEmail as h}from"../utils/index.mjs";import{EmbeddedButton as d,PrimaryButton as j}from"./Button.mjs";import{InputContainerForm as u,EmailUpdateForm as f}from"./ui/forms/EmailInputForm.mjs";import{ErrorMessage as g}from"./ui/typography/ErrorMessage.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../constants.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"../connectors/chains/index.mjs";import"../connectors/chains/arbitrum.mjs";import"../connectors/chains/arbitrumSepolia.mjs";import"../connectors/chains/avalanche.mjs";import"../connectors/chains/avalancheFuji.mjs";import"../connectors/chains/base.mjs";import"../connectors/chains/baseSepolia.mjs";import"../connectors/chains/berachainArtio.mjs";import"../connectors/chains/celo.mjs";import"../connectors/chains/celoAlfajores.mjs";import"../connectors/chains/filecoin.mjs";import"../connectors/chains/filecoinCalibration.mjs";import"../connectors/chains/garnetHolesky.mjs";import"../connectors/chains/holesky.mjs";import"../connectors/chains/linea.mjs";import"../connectors/chains/lineaTestnet.mjs";import"../connectors/chains/lukso.mjs";import"../connectors/chains/mainnet.mjs";import"../connectors/chains/optimism.mjs";import"../connectors/chains/optimismSepolia.mjs";import"../connectors/chains/polygon.mjs";import"../connectors/chains/polygonAmoy.mjs";import"../connectors/chains/redstone.mjs";import"../connectors/chains/sepolia.mjs";import"../connectors/chains/zora.mjs";import"../connectors/chains/zoraSepolia.mjs";import"../connectors/chains/zoraTestnet.mjs";import"../connectors/chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/index.mjs";import"../errors.mjs";import"ofetch";import"@ethersproject/providers";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"./PrefetchedImage.mjs";import"styled-components";import"./Loader.mjs";const y=/*#__PURE__*/e(((e,u)=>{let[f,y]=n(""),[E,v]=n(""),[k,x]=n(!1),{authenticated:A,user:C}=l(),{initUpdateEmail:T}=c(),{navigate:I,setModalData:D,currentScreen:N}=a(),{enabled:R,token:w}=m(),P=s(),_=h(f)&&(P.disablePlusEmails&&f.includes("+")?(E||v("Please enter a valid email address without a '+'."),!1):(E&&v(""),!0)),O=k||!_,L=()=>{!R||w||A?(async o=>{if(!C?.email)throw Error("User is required to have an email address to update it.");x(!0);try{await T(C.email.address,f,o),I(p.AWAITING_PASSWORDLESS_CODE)}catch(o){D({errorModalData:{error:o,previousScreen:N||p.LANDING}})}x(!1)})(w):(D({captchaModalData:{callback:o=>{if(!C?.email)throw Error("User is required to have an email address to update it.");return T(C.email.address,f,o)},userIntentRequired:!1,onSuccessNavigateTo:p.AWAITING_PASSWORDLESS_CODE,onErrorNavigateTo:p.ERROR_SCREEN}}),I(p.CAPTCHA_SCREEN))};/*#__PURE__*/return o(t,{children:[/*#__PURE__*/o(S,{children:[/*#__PURE__*/i(g,E?{style:{marginTop:"0.25rem",textAlign:"left"},children:E}:{style:{marginTop:"0.25rem",textAlign:"left",visibility:"hidden"},children:" "}),/*#__PURE__*/o(b,{$error:!!E,children:[/*#__PURE__*/i(r,{}),/*#__PURE__*/i("input",{ref:u,id:"email-input",type:"email",placeholder:"your@email.com",onChange:o=>y(o.target.value),onKeyUp:o=>{"Enter"===o.key&&L()},value:f,autoComplete:"email"}),e.stacked?null:/*#__PURE__*/i(d,{isSubmitting:k,onClick:L,disabled:O,children:"Submit"})]})]}),e.stacked?/*#__PURE__*/i(j,{loadingText:null,loading:k,disabled:O,onClick:L,children:"Submit"}):null]})}));let S=u,b=f;export{y as UpdateEmailForm};
1
+ import{jsxs as o,Fragment as r,jsx as t}from"react/jsx-runtime";import i from"@heroicons/react/24/outline/EnvelopeIcon";import{forwardRef as e,useState as n}from"react";import{useAppConfig as s}from"../configuration/context.mjs";import{useCaptcha as m}from"../hooks/captcha-context.mjs";import{usePrivyInternal as c}from"../hooks/internal-context.mjs";import{usePrivyModal as a}from"../hooks/modal-context.mjs";import{usePrivyContext as l}from"../hooks/privy-context.mjs";import{ModalScreen as p}from"../screens/index.mjs";import{validateEmail as h}from"../utils/index.mjs";import{EmbeddedButton as j,PrimaryButton as d}from"./Button.mjs";import{InputContainerForm as u,EmailUpdateForm as f}from"./ui/forms/EmailInputForm.mjs";import{ErrorMessage as g}from"./ui/typography/ErrorMessage.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../constants.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"../connectors/chains/index.mjs";import"../connectors/chains/arbitrum.mjs";import"../connectors/chains/arbitrumSepolia.mjs";import"../connectors/chains/avalanche.mjs";import"../connectors/chains/avalancheFuji.mjs";import"../connectors/chains/base.mjs";import"../connectors/chains/baseSepolia.mjs";import"../connectors/chains/berachainArtio.mjs";import"../connectors/chains/celo.mjs";import"../connectors/chains/celoAlfajores.mjs";import"../connectors/chains/filecoin.mjs";import"../connectors/chains/filecoinCalibration.mjs";import"../connectors/chains/garnetHolesky.mjs";import"../connectors/chains/holesky.mjs";import"../connectors/chains/linea.mjs";import"../connectors/chains/lineaTestnet.mjs";import"../connectors/chains/lukso.mjs";import"../connectors/chains/mainnet.mjs";import"../connectors/chains/optimism.mjs";import"../connectors/chains/optimismSepolia.mjs";import"../connectors/chains/polygon.mjs";import"../connectors/chains/polygonAmoy.mjs";import"../connectors/chains/redstone.mjs";import"../connectors/chains/sepolia.mjs";import"../connectors/chains/zora.mjs";import"../connectors/chains/zoraSepolia.mjs";import"../connectors/chains/zoraTestnet.mjs";import"../connectors/chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/index.mjs";import"../errors.mjs";import"ofetch";import"@ethersproject/providers";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"./PrefetchedImage.mjs";import"styled-components";import"./Loader.mjs";const S=/*#__PURE__*/e(((e,u)=>{let[f,S]=n(""),[b,k]=n(""),[v,x]=n(!1),{authenticated:A,user:C}=l(),{initUpdateEmail:I}=c(),{navigate:T,setModalData:D,currentScreen:N}=a(),{enabled:R,token:w}=m(),P=s(),_=h(f)&&(P.disablePlusEmails&&f.includes("+")?(b||k("Please enter a valid email address without a '+'."),!1):(b&&k(""),!0)),O=v||!_,L=()=>{!R||w||A?(async o=>{if(!C?.email)throw Error("User is required to have an email address to update it.");x(!0);try{await I(C.email.address,f,o),T(p.AWAITING_PASSWORDLESS_CODE)}catch(o){D({errorModalData:{error:o,previousScreen:N||p.LANDING}})}x(!1)})(w):(D({captchaModalData:{callback:o=>{if(!C?.email)throw Error("User is required to have an email address to update it.");return I(C.email.address,f,o)},userIntentRequired:!1,onSuccessNavigateTo:p.AWAITING_PASSWORDLESS_CODE,onErrorNavigateTo:p.ERROR_SCREEN}}),T(p.CAPTCHA_SCREEN))};/*#__PURE__*/return o(r,{children:[/*#__PURE__*/o(y,{children:[b&&/*#__PURE__*/t(g,{style:{marginTop:"0.25rem",textAlign:"left"},children:b}),/*#__PURE__*/o(E,{$error:!!b,children:[/*#__PURE__*/t(i,{}),/*#__PURE__*/t("input",{ref:u,id:"email-input",type:"email",placeholder:"your@email.com",onChange:o=>S(o.target.value),onKeyUp:o=>{"Enter"===o.key&&L()},value:f,autoComplete:"email"}),e.stacked?null:/*#__PURE__*/t(j,{isSubmitting:v,onClick:L,disabled:O,children:"Submit"})]})]}),e.stacked?/*#__PURE__*/t(d,{loadingText:null,loading:v,disabled:O,onClick:L,children:"Submit"}):null]})}));let y=u,E=f;export{S as UpdateEmailForm};
@@ -1 +1 @@
1
- import"eventemitter3";import"../embedded-wallets/rpc/types.mjs";export{E as Embedded1193Provider}from"../privy-provider-DovwooOo.mjs";import"../utils/index.mjs";import"./getRpcTimeout.mjs";import"./providerTypes.mjs";import"react/jsx-runtime";import"@ethersproject/address";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"../auth-flows/custom-jwt-account.mjs";import"../errors.mjs";import"ofetch";import"../paths.mjs";import"../auth-flows/email.mjs";import"../auth-flows/getUiHeader.mjs";import"../auth-flows/farcaster.mjs";import"./walletconnect-registry.mjs";import"../storage.mjs";import"./get-legacy-injected-providers.mjs";import"./is-wallet-installed.mjs";import"../effect.mjs";import"../auth-flows/guest.mjs";import"jose";import"../constants.mjs";import"../crypto.mjs";import"../auth-flows/passkey.mjs";import"../auth-flows/siwe.mjs";import"../lib/siwe.mjs";import"../auth-flows/siws.mjs";import"../lib/siws.mjs";import"../auth-flows/sms.mjs";import"../auth-flows/telegram.mjs";import"../hooks/captcha-context.mjs";import"../hooks/index.mjs";import"uuid";import"../accessToken.mjs";import"../token.mjs";import"../client/user.mjs";import"./coinbase.mjs";import"@coinbase/wallet-sdk";import"../svg/coinbase-wallet.mjs";import"./chains/index.mjs";import"./chains/arbitrum.mjs";import"./chains/arbitrumSepolia.mjs";import"./chains/avalanche.mjs";import"./chains/avalancheFuji.mjs";import"./chains/base.mjs";import"./chains/baseSepolia.mjs";import"./chains/berachainArtio.mjs";import"./chains/celo.mjs";import"./chains/celoAlfajores.mjs";import"./chains/filecoin.mjs";import"./chains/filecoinCalibration.mjs";import"./chains/garnetHolesky.mjs";import"./chains/holesky.mjs";import"./chains/linea.mjs";import"./chains/lineaTestnet.mjs";import"./chains/lukso.mjs";import"./chains/mainnet.mjs";import"./chains/optimism.mjs";import"./chains/optimismSepolia.mjs";import"./chains/polygon.mjs";import"./chains/polygonAmoy.mjs";import"./chains/redstone.mjs";import"./chains/sepolia.mjs";import"./chains/zora.mjs";import"./chains/zoraSepolia.mjs";import"./chains/zoraTestnet.mjs";import"./errors.mjs";import"@ethersproject/logger";import"../errors-9ucGZPEs.mjs";import"./ethereum/index.mjs";import"./areWalletArraysEqual.mjs";import"./isBaseConnectedEthereumWallet.mjs";import"./base.mjs";import"./privyProxyProvider.mjs";import"./embedded.mjs";import"../svg/blobby.mjs";import"../components/Captcha.mjs";import"@marsidev/react-turnstile";import"../components/LoginModal.mjs";import"styled-components";import"../configuration/context.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"./chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/internal-context.mjs";import"../hooks/modal-context.mjs";import"../components/PrefetchedImage.mjs";import"../screens/index.mjs";import"../hooks/privy-context.mjs";import"../hooks/useElementHeight.mjs";import"../hooks/useRegisterMfaListener.mjs";import"../hooks/events-context.mjs";import"../screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"../components/Button.mjs";import"../components/Loader.mjs";import"../components/CircleBackground.mjs";import"../components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"../components/layout/StackedContainer.mjs";import"../screens/LandingScreen/styles.mjs";import"../screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"../components/CircleBorder.mjs";import"../components/ModalFooter.mjs";import"../svg/protected-by-privy.mjs";import"../components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"../lib/capitalizeFirstLetter.mjs";import"../screens/AccountTransferScreen/AccountTransferButton.mjs";import"../screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"../screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"../screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"../screens/MfaScreens/StyledComponents.mjs";import"../screens/AllowlistRejectionScreen.mjs";import"../svg/lock-closed.mjs";import"../screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"../components/Layouts.mjs";import"../components/ScreenHeader.mjs";import"../screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"../components/WrappedLoader.mjs";import"../screens/ConnectOnlyAuthenticatedScreen.mjs";import"../screens/LandingScreen/WalletButtonList.mjs";import"../screens/LandingScreen/WalletButton.mjs";import"../components/external-wallets/InjectedWalletIcon.mjs";import"../components/ui/chips/Chip.mjs";import"../components/ui/animation/LoadingSkeleton.mjs";import"../lib/external-wallets/displayHelpers.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../lib/isEmbeddedWebview.mjs";import"../recent-login/context.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../screens/ConnectionStatusScreen.mjs";import"./userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"../screens/CrossAppAuthScreen.mjs";import"../components/ProviderAppLogo.mjs";import"../hooks/useLogout.mjs";import"../screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"../components/ui/wallet/WalletInfoCard.mjs";import"../components/ui/layout/Column.mjs";import"../components/ui/typography/ErrorMessage.mjs";import"../components/ui/typography/LabelXs.mjs";import"../components/ui/wallet/shared.mjs";import"../icons/Bot.mjs";import"../screens/DelegatedActionsRevokeScreen.mjs";import"../screens/EmbeddedWalletConnectingScreen.mjs";import"../components/primitives/LoadingSpinner/index.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/types.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../lib/pkce.mjs";import"../screens/EmbeddedWalletCreatedScreen.mjs";import"../screens/EmbeddedWalletKeyExportScreen.mjs";import"../components/ui/banners/WarningBanner.mjs";import"../components/ui/typography/Subtitle.mjs";import"../components/ui/typography/Title.mjs";import"../screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"../hooks/useEmbeddedWalletCreate.mjs";import"../screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"../password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"../components/Checkbox.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"../screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"../screens/ErrorScreen.mjs";import"../screens/FarcasterConnectStatusScreen.mjs";import"../components/CopyToClipboard.mjs";import"../svg/checkmark.mjs";import"../svg/copy.mjs";import"../components/OpenLink.mjs";import"../components/QrCode.mjs";import"qrcode";import"../svg/black-rounded-square.mjs";import"../svg/farcaster.mjs";import"../screens/FarcasterSignerStatusScreen.mjs";import"../screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"../components/embedded-wallets/FundWalletMethodHeader.mjs";import"../components/primitives/NeutralSpinner/index.mjs";import"../hooks/useGetTokenPrice.mjs";import"../hooks/useGetSolPrice.mjs";import"../hooks/useWallets.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/solana/transaction.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/wallets/actions/getBalanceForChains.mjs";import"../screens/Funding/BridgeNetworkSelectionView.mjs";import"../components/ui/layout/Row.mjs";import"../components/ui/typography/LabelSm.mjs";import"../components/ui/wallet/NetworkBalanceCard.mjs";import"../components/ui/typography/Value.mjs";import"../components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"../components/ui/icons/Arbitum.mjs";import"../components/ui/icons/Avalanche.mjs";import"../components/ui/icons/Base.mjs";import"../components/ui/icons/Celo.mjs";import"../components/ui/icons/Linea.mjs";import"../components/ui/icons/Mainnnet.mjs";import"../components/ui/icons/Optimism.mjs";import"../components/ui/icons/Polygon.mjs";import"../components/ui/icons/Solana.mjs";import"../components/ui/icons/Zora.mjs";import"../components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"../lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"../ethers-Cz-frLvN.mjs";import"../screens/Funding/styles.mjs";import"../screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"../svg/face-id.mjs";import"../svg/fingerprint.mjs";import"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../hooks/useSolanaWallets.mjs";import"../screens/Funding/AwaitingExternalTransferScreen.mjs";import"../lib/erc20/actions/abis/transfer.mjs";import"../lib/erc20/formatErc20TokenAmount.mjs";import"../lib/wallets/actions/getErc20Balance.mjs";import"../screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"../screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"../screens/Funding/FundingEditAmountScreen.mjs";import"@heroicons/react/24/outline/PencilIcon";import"../screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"../components/ui/banners/ErrorBanner.mjs";import"../components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"../components/ui/icons/ApplePay.mjs";import"../components/ui/icons/GooglePay.mjs";import"../hook-utils/useAsyncValue.mjs";import"../icons/WalletCards.mjs";import"../lib/erc20/actions/getErc20TokenInfo.mjs";import"../lib/funding/prepareFundingMethods.mjs";import"../lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"../lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/index.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../screens/Funding/ManualTransferScreen.mjs";import"../hooks/useWalletBalance.mjs";import"../screens/Funding/MoonpayStatusScreen.mjs";import"../svg/moonpay.mjs";import"../screens/Funding/TransferFromWalletScreen.mjs";import"../screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"../screens/InAppBrowserLoginNotPossible.mjs";import"../screens/InstallPhantomScreen.mjs";import"../components/TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import"../screens/LandingScreen/CustomLandingScreenView.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../screens/LandingScreen/AppLogoHeader.mjs";import"../components/AppLogo.mjs";import"../screens/LandingScreen/CrossAppButton.mjs";import"../screens/LandingScreen/EmailButton.mjs";import"../components/ConnectEmailForm.mjs";import"../components/ui/forms/EmailInputForm.mjs";import"../screens/LandingScreen/FarcasterButton.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../PhoneCountryDropdown-BXDwBRL5.mjs";import"../screens/LandingScreen/SocialButton.mjs";import"../svg/apple.mjs";import"../svg/discord.mjs";import"../svg/github.mjs";import"../svg/google.mjs";import"../svg/instagram.mjs";import"../svg/linkedin.mjs";import"../svg/spotify.mjs";import"../svg/tiktok.mjs";import"../svg/twitter.mjs";import"../screens/LandingScreen/TelegramButton.mjs";import"../svg/telegram.mjs";import"../screens/LandingScreen/Web2OverflowButton.mjs";import"../screens/LandingScreen/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/LandingScreen.mjs";import"../screens/LinkEmailScreen.mjs";import"../screens/LinkPhoneScreen.mjs";import"../screens/LinkWalletScreen.mjs";import"../screens/LoginFailedScreen.mjs";import"../svg/error-circle.mjs";import"../screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"../hooks/useMfa.mjs";import"../hooks/useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"../screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"../screens/MfaScreens/EnrollSms.mjs";import"../components/PinInput.mjs";import"../screens/MfaScreens/EnrollTotp.mjs";import"../svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"../screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"../components/embedded-wallets/TransactionDetailsWrapper.mjs";import"../index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"../components/embedded-wallets/TransactionDetails.mjs";import"../components/embedded-wallets/DisplayInfoItem.mjs";import"../components/embedded-wallets/PriceDisplay.mjs";import"../components/embedded-wallets/TransactionTotal.mjs";import"../components/primitives/Accordion/index.mjs";import"../components/primitives/Accordion/AccordionContext.mjs";import"../components/embedded-wallets/WalletLink.mjs";import"../screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"../screens/OAuthStatusScreen.mjs";import"../auth-flows/oauth/getDisplayForProvider.mjs";import"../svg/globe.mjs";import"../auth-flows/oauth/getOAuthErrorMessage.mjs";import"../auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"../screens/PasskeyStatusScreen.mjs";import"../screens/PhantomInterstitialScreen.mjs";import"./phantom-redirect.mjs";import"../screens/Recovery/PasswordRecoveryScreen.mjs";import"../screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"../svg/apple-icloud.mjs";import"../svg/google-drive.mjs";import"../screens/Recovery/styles.mjs";import"../screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"../screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"../screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"../components/ui/icons/WithCircleBorder.mjs";import"../screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendTransactionScreen/EthersTransactionError.mjs";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../embedded-wallets/rpc/index.mjs";import"../screens/SendTransactionScreen/TransactionReceiptView.mjs";import"../screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"../lib/deployAccount/actions/abis/deployAccount.mjs";import"../lib/erc20/actions/abis/approve.mjs";import"../lib/erc721/actions/abis/mint.mjs";import"../lib/erc721/actions/abis/safeTransferFrom.mjs";import"../lib/erc721/actions/abis/setApprovalForAll.mjs";import"../lib/erc721/actions/abis/transferFrom.mjs";import"../lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"../lib/erc1155/actions/abis/safeTransferFrom.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"../components/embedded-wallets/StyledLogo.mjs";import"../screens/TelegramAuthScreen.mjs";import"../screens/UpdateEmailScreen.mjs";import"../components/UpdateEmailForm.mjs";import"../screens/UpdatePhoneScreen.mjs";import"../screens/UserLimitReachedScreen.mjs";import"../svg/alert-circle.mjs";import"../styles.mjs";import"../cssNormalize.mjs";import"../components/Dialog.mjs";import"../components/TelegramLoginButton.mjs";import"./solana/index.mjs";import"../types.mjs";import"../embedded-wallets/EmbeddedWalletIframe.mjs";import"../embedded-wallets/eventCallbacksQueue.mjs";import"../embedded-wallets/invokeWithMfa.mjs";import"../embedded-wallets/delegated-actions.mjs";import"../lib/caip2.mjs";import"../lib/cross-app/index.mjs";import"../lib/cross-app/authFlow.mjs";import"../auth-flows/cross-app.mjs";import"../lib/cross-app/popupCrossAppAuthFlow.mjs";import"../lib/cross-app/sendCrossAppRequest.mjs";import"../lib/funding/index.mjs";import"../lib/funding/prepareFundingModalData.mjs";import"../lib/funding/filterSupportedOptions.mjs";import"../lib/funding/usdc.mjs";import"../lib/funding/isFundingEnabled.mjs";import"../lib/popupOAuthFlow.mjs";import"../passkeys/transformResponseToSnakeCase.mjs";import"../auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"../auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"../auth-flows/oauth/OAuthFlow.mjs";import"./injected.mjs";import"./metamask.mjs";import"./phantom.mjs";import"./NullConnector.mjs";import"../http.mjs";import"../lib/smart-wallet-helpers.mjs";import"../passkeys/transformOptionsToCamelCase.mjs";import"../session.mjs";import"js-cookie";import"../auth-flows/authFlowToAuthenticateMethod.mjs";import"../cookies.mjs";
1
+ import"eventemitter3";import"../embedded-wallets/rpc/types.mjs";export{E as Embedded1193Provider}from"../privy-provider-DovwooOo.mjs";import"../utils/index.mjs";import"./getRpcTimeout.mjs";import"./providerTypes.mjs";import"react/jsx-runtime";import"@ethersproject/address";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"../auth-flows/custom-jwt-account.mjs";import"../errors.mjs";import"ofetch";import"../paths.mjs";import"../auth-flows/email.mjs";import"../auth-flows/getUiHeader.mjs";import"../auth-flows/farcaster.mjs";import"./walletconnect-registry.mjs";import"../storage.mjs";import"./get-legacy-injected-providers.mjs";import"./is-wallet-installed.mjs";import"../effect.mjs";import"../auth-flows/guest.mjs";import"jose";import"../constants.mjs";import"../crypto.mjs";import"../auth-flows/passkey.mjs";import"../auth-flows/siwe.mjs";import"../lib/siwe.mjs";import"../auth-flows/siws.mjs";import"../lib/siws.mjs";import"../auth-flows/sms.mjs";import"../auth-flows/telegram.mjs";import"../hooks/captcha-context.mjs";import"../hooks/index.mjs";import"uuid";import"../accessToken.mjs";import"../token.mjs";import"../client/user.mjs";import"./coinbase.mjs";import"@coinbase/wallet-sdk";import"../svg/coinbase-wallet.mjs";import"./chains/index.mjs";import"./chains/arbitrum.mjs";import"./chains/arbitrumSepolia.mjs";import"./chains/avalanche.mjs";import"./chains/avalancheFuji.mjs";import"./chains/base.mjs";import"./chains/baseSepolia.mjs";import"./chains/berachainArtio.mjs";import"./chains/celo.mjs";import"./chains/celoAlfajores.mjs";import"./chains/filecoin.mjs";import"./chains/filecoinCalibration.mjs";import"./chains/garnetHolesky.mjs";import"./chains/holesky.mjs";import"./chains/linea.mjs";import"./chains/lineaTestnet.mjs";import"./chains/lukso.mjs";import"./chains/mainnet.mjs";import"./chains/optimism.mjs";import"./chains/optimismSepolia.mjs";import"./chains/polygon.mjs";import"./chains/polygonAmoy.mjs";import"./chains/redstone.mjs";import"./chains/sepolia.mjs";import"./chains/zora.mjs";import"./chains/zoraSepolia.mjs";import"./chains/zoraTestnet.mjs";import"./errors.mjs";import"@ethersproject/logger";import"../errors-9ucGZPEs.mjs";import"./ethereum/index.mjs";import"./areWalletArraysEqual.mjs";import"./isBaseConnectedEthereumWallet.mjs";import"./base.mjs";import"./privyProxyProvider.mjs";import"./embedded.mjs";import"../svg/blobby.mjs";import"../components/Captcha.mjs";import"@marsidev/react-turnstile";import"../components/LoginModal.mjs";import"styled-components";import"../configuration/context.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"./chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/internal-context.mjs";import"../hooks/modal-context.mjs";import"../components/PrefetchedImage.mjs";import"../screens/index.mjs";import"../hooks/privy-context.mjs";import"../hooks/useElementHeight.mjs";import"../hooks/useRegisterMfaListener.mjs";import"../hooks/events-context.mjs";import"../screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"../components/Button.mjs";import"../components/Loader.mjs";import"../components/CircleBackground.mjs";import"../components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"../components/layout/StackedContainer.mjs";import"../screens/LandingScreen/styles.mjs";import"../screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"../components/CircleBorder.mjs";import"../components/ModalFooter.mjs";import"../svg/protected-by-privy.mjs";import"../components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"../lib/capitalizeFirstLetter.mjs";import"../screens/AccountTransferScreen/AccountTransferButton.mjs";import"../screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"../screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"../screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"../screens/MfaScreens/StyledComponents.mjs";import"../screens/AllowlistRejectionScreen.mjs";import"../svg/lock-closed.mjs";import"../screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"../components/Layouts.mjs";import"../components/ScreenHeader.mjs";import"../screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"../components/WrappedLoader.mjs";import"../screens/ConnectOnlyAuthenticatedScreen.mjs";import"../screens/LandingScreen/WalletButtonList.mjs";import"../screens/LandingScreen/EmptyWalletView.mjs";import"../screens/LandingScreen/WalletButton.mjs";import"../components/external-wallets/InjectedWalletIcon.mjs";import"../components/ui/chips/Chip.mjs";import"../components/ui/animation/LoadingSkeleton.mjs";import"../lib/external-wallets/displayHelpers.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../lib/isEmbeddedWebview.mjs";import"../recent-login/context.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../screens/ConnectionStatusScreen.mjs";import"./userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"../screens/CrossAppAuthScreen.mjs";import"../components/ProviderAppLogo.mjs";import"../hooks/useLogout.mjs";import"../screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"../components/ui/wallet/WalletInfoCard.mjs";import"../components/ui/layout/Column.mjs";import"../components/ui/typography/ErrorMessage.mjs";import"../components/ui/typography/LabelXs.mjs";import"../components/ui/wallet/shared.mjs";import"../icons/Bot.mjs";import"../screens/DelegatedActionsRevokeScreen.mjs";import"../screens/EmbeddedWalletConnectingScreen.mjs";import"../components/primitives/LoadingSpinner/index.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/types.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../lib/pkce.mjs";import"../screens/EmbeddedWalletCreatedScreen.mjs";import"../screens/EmbeddedWalletKeyExportScreen.mjs";import"../components/ui/banners/WarningBanner.mjs";import"../components/ui/typography/Subtitle.mjs";import"../components/ui/typography/Title.mjs";import"../screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"../hooks/useEmbeddedWalletCreate.mjs";import"../screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"../password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"../components/Checkbox.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"../screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"../screens/ErrorScreen.mjs";import"../screens/FarcasterConnectStatusScreen.mjs";import"../components/CopyToClipboard.mjs";import"../svg/checkmark.mjs";import"../svg/copy.mjs";import"../components/OpenLink.mjs";import"../components/QrCode.mjs";import"qrcode";import"../svg/black-rounded-square.mjs";import"../svg/farcaster.mjs";import"../screens/FarcasterSignerStatusScreen.mjs";import"../screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"../components/embedded-wallets/FundWalletMethodHeader.mjs";import"../components/primitives/NeutralSpinner/index.mjs";import"../hooks/useGetTokenPrice.mjs";import"../hooks/useGetSolPrice.mjs";import"../hooks/useWallets.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/solana/transaction.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/wallets/actions/getBalanceForChains.mjs";import"../screens/Funding/BridgeNetworkSelectionView.mjs";import"../components/ui/layout/Row.mjs";import"../components/ui/typography/LabelSm.mjs";import"../components/ui/wallet/NetworkBalanceCard.mjs";import"../components/ui/typography/Value.mjs";import"../components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"../components/ui/icons/Arbitum.mjs";import"../components/ui/icons/Avalanche.mjs";import"../components/ui/icons/Base.mjs";import"../components/ui/icons/Celo.mjs";import"../components/ui/icons/Linea.mjs";import"../components/ui/icons/Mainnnet.mjs";import"../components/ui/icons/Optimism.mjs";import"../components/ui/icons/Polygon.mjs";import"../components/ui/icons/Solana.mjs";import"../components/ui/icons/Zora.mjs";import"../components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"../lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"../ethers-Cz-frLvN.mjs";import"../screens/Funding/styles.mjs";import"../screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"../svg/face-id.mjs";import"../svg/fingerprint.mjs";import"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../hooks/useSolanaWallets.mjs";import"../screens/Funding/AwaitingExternalTransferScreen.mjs";import"../lib/erc20/actions/abis/transfer.mjs";import"../lib/erc20/formatErc20TokenAmount.mjs";import"../lib/wallets/actions/getErc20Balance.mjs";import"../screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"../screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"../screens/Funding/FundingEditAmountScreen.mjs";import"@heroicons/react/24/outline/PencilIcon";import"../screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"../components/ui/banners/ErrorBanner.mjs";import"../components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"../components/ui/icons/ApplePay.mjs";import"../components/ui/icons/GooglePay.mjs";import"../hook-utils/useAsyncValue.mjs";import"../icons/WalletCards.mjs";import"../lib/erc20/actions/getErc20TokenInfo.mjs";import"../lib/funding/prepareFundingMethods.mjs";import"../lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"../lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/index.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../screens/Funding/ManualTransferScreen.mjs";import"../hooks/useWalletBalance.mjs";import"../screens/Funding/MoonpayStatusScreen.mjs";import"../svg/moonpay.mjs";import"../screens/Funding/TransferFromWalletScreen.mjs";import"../screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"../screens/InAppBrowserLoginNotPossible.mjs";import"../screens/InstallPhantomScreen.mjs";import"../components/TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import"../screens/LandingScreen/CustomLandingScreenView.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../screens/LandingScreen/AppLogoHeader.mjs";import"../components/AppLogo.mjs";import"../screens/LandingScreen/CrossAppButton.mjs";import"../screens/LandingScreen/EmailButton.mjs";import"../components/ConnectEmailForm.mjs";import"../components/ui/forms/EmailInputForm.mjs";import"../screens/LandingScreen/FarcasterButton.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../PhoneCountryDropdown-BXDwBRL5.mjs";import"../screens/LandingScreen/SocialButton.mjs";import"../svg/apple.mjs";import"../svg/discord.mjs";import"../svg/github.mjs";import"../svg/google.mjs";import"../svg/instagram.mjs";import"../svg/linkedin.mjs";import"../svg/spotify.mjs";import"../svg/tiktok.mjs";import"../svg/twitter.mjs";import"../screens/LandingScreen/TelegramButton.mjs";import"../svg/telegram.mjs";import"../screens/LandingScreen/Web2OverflowButton.mjs";import"../screens/LandingScreen/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/LandingScreen.mjs";import"../screens/LinkEmailScreen.mjs";import"../screens/LinkPhoneScreen.mjs";import"../screens/LinkWalletScreen.mjs";import"../screens/LoginFailedScreen.mjs";import"../svg/error-circle.mjs";import"../screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"../hooks/useMfa.mjs";import"../hooks/useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"../screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"../screens/MfaScreens/EnrollSms.mjs";import"../components/PinInput.mjs";import"../screens/MfaScreens/EnrollTotp.mjs";import"../svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"../screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"../components/embedded-wallets/TransactionDetailsWrapper.mjs";import"../index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"../components/embedded-wallets/TransactionDetails.mjs";import"../components/embedded-wallets/DisplayInfoItem.mjs";import"../components/embedded-wallets/PriceDisplay.mjs";import"../components/embedded-wallets/TransactionTotal.mjs";import"../components/primitives/Accordion/index.mjs";import"../components/primitives/Accordion/AccordionContext.mjs";import"../components/embedded-wallets/WalletLink.mjs";import"../screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"../screens/OAuthStatusScreen.mjs";import"../auth-flows/oauth/getDisplayForProvider.mjs";import"../svg/globe.mjs";import"../auth-flows/oauth/getOAuthErrorMessage.mjs";import"../auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"../screens/PasskeyStatusScreen.mjs";import"../screens/PhantomInterstitialScreen.mjs";import"./phantom-redirect.mjs";import"../screens/Recovery/PasswordRecoveryScreen.mjs";import"../screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"../svg/apple-icloud.mjs";import"../svg/google-drive.mjs";import"../screens/Recovery/styles.mjs";import"../screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"../screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"../screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"../components/ui/icons/WithCircleBorder.mjs";import"../screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendTransactionScreen/EthersTransactionError.mjs";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../embedded-wallets/rpc/index.mjs";import"../screens/SendTransactionScreen/TransactionReceiptView.mjs";import"../screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"../lib/deployAccount/actions/abis/deployAccount.mjs";import"../lib/erc20/actions/abis/approve.mjs";import"../lib/erc721/actions/abis/mint.mjs";import"../lib/erc721/actions/abis/safeTransferFrom.mjs";import"../lib/erc721/actions/abis/setApprovalForAll.mjs";import"../lib/erc721/actions/abis/transferFrom.mjs";import"../lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"../lib/erc1155/actions/abis/safeTransferFrom.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"../components/embedded-wallets/StyledLogo.mjs";import"../screens/TelegramAuthScreen.mjs";import"../screens/UpdateEmailScreen.mjs";import"../components/UpdateEmailForm.mjs";import"../screens/UpdatePhoneScreen.mjs";import"../screens/UserLimitReachedScreen.mjs";import"../svg/alert-circle.mjs";import"../styles.mjs";import"../cssNormalize.mjs";import"../components/Dialog.mjs";import"../components/TelegramLoginButton.mjs";import"./solana/index.mjs";import"../types.mjs";import"../embedded-wallets/EmbeddedWalletIframe.mjs";import"../embedded-wallets/eventCallbacksQueue.mjs";import"../embedded-wallets/invokeWithMfa.mjs";import"../embedded-wallets/delegated-actions.mjs";import"../lib/caip2.mjs";import"../lib/cross-app/index.mjs";import"../lib/cross-app/authFlow.mjs";import"../auth-flows/cross-app.mjs";import"../lib/cross-app/popupCrossAppAuthFlow.mjs";import"../lib/cross-app/sendCrossAppRequest.mjs";import"../lib/funding/index.mjs";import"../lib/funding/prepareFundingModalData.mjs";import"../lib/funding/filterSupportedOptions.mjs";import"../lib/funding/usdc.mjs";import"../lib/funding/isFundingEnabled.mjs";import"../lib/popupOAuthFlow.mjs";import"../passkeys/transformResponseToSnakeCase.mjs";import"../auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"../auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"../auth-flows/oauth/OAuthFlow.mjs";import"./injected.mjs";import"./metamask.mjs";import"./phantom.mjs";import"./NullConnector.mjs";import"../http.mjs";import"../lib/smart-wallet-helpers.mjs";import"../passkeys/transformOptionsToCamelCase.mjs";import"../session.mjs";import"js-cookie";import"../auth-flows/authFlowToAuthenticateMethod.mjs";import"../cookies.mjs";