@multiversx/sdk-dapp 2.10.13 → 2.10.14
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.
- package/UI/CopyButton/CopyButton.d.ts +7 -0
- package/UI/CopyButton/CopyButton.js +2 -0
- package/UI/CopyButton/copyButton.styles.js +2 -0
- package/UI/CopyButton/index.d.ts +1 -6
- package/UI/CopyButton/index.js +1 -1
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/Loader/Loader.d.ts +8 -0
- package/UI/Loader/Loader.js +2 -0
- package/UI/Loader/index.d.ts +1 -7
- package/UI/Loader/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.d.ts +3 -0
- package/UI/NotificationModal/NotificationModal.js +2 -0
- package/UI/NotificationModal/index.d.ts +1 -2
- package/UI/NotificationModal/index.js +1 -1
- package/UI/PageState/PageState.d.ts +16 -0
- package/UI/PageState/PageState.js +2 -0
- package/UI/PageState/index.d.ts +1 -15
- package/UI/PageState/index.js +1 -1
- package/UI/PageState/pageState.styles.js +2 -0
- package/UI/Progress/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/Linkified/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/TransactionInfoHash.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/NoTransactions.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.d.ts +11 -0
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +2 -0
- package/UI/extension/ExtensionLoginButton/index.d.ts +1 -10
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/stories/ExtensionLoginButton.stories.d.ts +2 -2
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.d.ts +21 -0
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +2 -0
- package/UI/ledger/LedgerLoginButton/index.d.ts +1 -20
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.d.ts +11 -0
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +2 -0
- package/UI/operaWallet/OperaWalletLoginButton/index.d.ts +1 -10
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.d.ts +24 -0
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +2 -0
- package/UI/walletConnect/WalletConnectLoginButton/index.d.ts +1 -23
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.d.ts +11 -0
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -0
- package/UI/webWallet/WebWalletLoginButton/index.d.ts +1 -10
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-F3AVUQ3Q.js → chunk-2E2HMRKZ.js} +2 -2
- package/__chunks__/chunk-2NOBNZNB.js +2 -0
- package/__chunks__/{chunk-F463UYOE.js → chunk-2PH4LIL6.js} +2 -2
- package/__chunks__/{chunk-GRBHVVDL.js → chunk-2SN4QENG.js} +2 -2
- package/__chunks__/{chunk-ZRXJS5T5.js → chunk-2UVX4W2D.js} +2 -2
- package/__chunks__/chunk-2WTJBT7G.js +2 -0
- package/__chunks__/{chunk-ZMMKPRGK.js → chunk-2Z2QXVLI.js} +2 -2
- package/__chunks__/{chunk-6KKQ74VE.js → chunk-33MFEXVQ.js} +2 -2
- package/__chunks__/chunk-3BXT2WOT.js +2 -0
- package/__chunks__/{chunk-4OAQ4URI.js → chunk-3ESYSDU5.js} +2 -2
- package/__chunks__/chunk-3K2N6SKG.js +2 -0
- package/__chunks__/{chunk-RFTSZMLB.js → chunk-3N6AXCO4.js} +2 -2
- package/__chunks__/{chunk-AUOA6UZL.js → chunk-3NFAPWH3.js} +2 -2
- package/__chunks__/{chunk-3ZEHVB3H.js → chunk-3OYGFYCF.js} +2 -2
- package/__chunks__/chunk-3WFFH2J6.js +2 -0
- package/__chunks__/{chunk-SNQ636EB.js → chunk-4CHM2RXE.js} +2 -2
- package/__chunks__/{chunk-Z6AUQ4MN.js → chunk-4DWHCJPG.js} +2 -2
- package/__chunks__/{chunk-TOMGFZXR.js → chunk-4MC5GAOQ.js} +2 -2
- package/__chunks__/chunk-4PYDSCRN.js +2 -0
- package/__chunks__/{chunk-PFJPVEA5.js → chunk-4WHEFZYP.js} +2 -2
- package/__chunks__/{chunk-EM3WUS42.js → chunk-53AQIAT4.js} +2 -2
- package/__chunks__/{chunk-VQEFMS67.js → chunk-5776LOR3.js} +2 -2
- package/__chunks__/{chunk-4FGMG4G4.js → chunk-57DCJZEG.js} +2 -2
- package/__chunks__/{chunk-I3UIQ6LV.js → chunk-57R2O5D6.js} +2 -2
- package/__chunks__/chunk-5AYFOKV6.js +2 -0
- package/__chunks__/chunk-5MWJLURQ.js +2 -0
- package/__chunks__/chunk-5N2PW264.js +2 -0
- package/__chunks__/chunk-5QAYJEKI.js +2 -0
- package/__chunks__/{chunk-YNWFYOCX.js → chunk-5SFMQW2S.js} +2 -2
- package/__chunks__/{chunk-GOOK6RGM.js → chunk-5Y2KUNZC.js} +2 -2
- package/__chunks__/chunk-65SPWFQD.js +2 -0
- package/__chunks__/{chunk-C5DUKJM6.js → chunk-6DISBGTQ.js} +2 -2
- package/__chunks__/{chunk-JWRTCBJG.js → chunk-6GBEASJ4.js} +2 -2
- package/__chunks__/{chunk-AWU42Z2S.js → chunk-6HPWD7YU.js} +2 -2
- package/__chunks__/{chunk-HSUU5363.js → chunk-6N7MYHUH.js} +2 -2
- package/__chunks__/{chunk-52ZTHK4F.js → chunk-6WYWU6DE.js} +2 -2
- package/__chunks__/{chunk-2HO7KQPF.js → chunk-7ASGWXQY.js} +2 -2
- package/__chunks__/{chunk-BZKA5REH.js → chunk-7AVNFPYP.js} +2 -2
- package/__chunks__/{chunk-MH5LERQQ.js → chunk-7CBSHHWS.js} +2 -2
- package/__chunks__/{chunk-EK527UEJ.js → chunk-7GEPBHM4.js} +2 -2
- package/__chunks__/{chunk-T367ZKEH.js → chunk-7ICYICU6.js} +2 -2
- package/__chunks__/{chunk-EZNCLVAX.js → chunk-7IYAUVNG.js} +2 -2
- package/__chunks__/{chunk-JFNEHOAZ.js → chunk-7JYJ4M2G.js} +2 -2
- package/__chunks__/chunk-7W53YHPV.js +2 -0
- package/__chunks__/{chunk-TH5EB6YT.js → chunk-A4N3QLYH.js} +2 -2
- package/__chunks__/{chunk-F4HEJYZM.js → chunk-A6VLMMNB.js} +2 -2
- package/__chunks__/{chunk-2NJMQP6S.js → chunk-A74HMWQT.js} +2 -2
- package/__chunks__/chunk-ACNALFD3.js +2 -0
- package/__chunks__/{chunk-KSQ7YGP4.js → chunk-AI5U7SI5.js} +2 -2
- package/__chunks__/chunk-ALLREWNE.js +2 -0
- package/__chunks__/{chunk-HECUT4N6.js → chunk-ALOISJGM.js} +2 -2
- package/__chunks__/chunk-AMX3GHWT.js +2 -0
- package/__chunks__/{chunk-CK6MHPAA.js → chunk-AUUV5DLY.js} +2 -2
- package/__chunks__/{chunk-5VZ3BAF7.js → chunk-AVQL3MUX.js} +2 -2
- package/__chunks__/{chunk-C4P4AGWC.js → chunk-AXP7UKGB.js} +2 -2
- package/__chunks__/{chunk-FSYWTBZC.js → chunk-AZG2J2JR.js} +2 -2
- package/__chunks__/{chunk-P4WOTWEX.js → chunk-B2MLQYUZ.js} +2 -2
- package/__chunks__/{chunk-M5FLDYFF.js → chunk-BC27YZS5.js} +2 -2
- package/__chunks__/{chunk-MKFTPOFZ.js → chunk-BDTCNMUJ.js} +2 -2
- package/__chunks__/chunk-BI4RLQI7.js +2 -0
- package/__chunks__/{chunk-ODQ5CUU7.js → chunk-BM3CKUP5.js} +2 -2
- package/__chunks__/{chunk-BYCAREMN.js → chunk-BNPI4ADN.js} +2 -2
- package/__chunks__/{chunk-2YRWUVGG.js → chunk-C6C3KDHI.js} +2 -2
- package/__chunks__/{chunk-OXDVRRIX.js → chunk-C7GYK6AF.js} +2 -2
- package/__chunks__/chunk-CBJHNYUT.js +2 -0
- package/__chunks__/{chunk-24TPMQEJ.js → chunk-CH52CCVX.js} +2 -2
- package/__chunks__/{chunk-NJCJPV3R.js → chunk-COTVGAOI.js} +2 -2
- package/__chunks__/{chunk-QUZSP7U6.js → chunk-CU4YPDUN.js} +2 -2
- package/__chunks__/{chunk-6ASWZUEE.js → chunk-D7MLEKTY.js} +2 -2
- package/__chunks__/{chunk-ZKILGOR4.js → chunk-DAS7GF5P.js} +2 -2
- package/__chunks__/chunk-DDWGVQQS.js +8 -0
- package/__chunks__/chunk-DM34GVTH.js +2 -0
- package/__chunks__/{chunk-ABPUDXZL.js → chunk-DXQJBR46.js} +2 -2
- package/__chunks__/{chunk-XAHGUOEE.js → chunk-E3JXHEIO.js} +2 -2
- package/__chunks__/{chunk-RJWEQ72B.js → chunk-E63U5EGA.js} +2 -2
- package/__chunks__/{chunk-AO5IDAJ5.js → chunk-EONVXINX.js} +2 -2
- package/__chunks__/{chunk-IJVZERMR.js → chunk-EOO5VMDY.js} +2 -2
- package/__chunks__/{chunk-VXF5FISB.js → chunk-F7X2QHK5.js} +2 -2
- package/__chunks__/{chunk-LSRQAPD5.js → chunk-FAUGRR6A.js} +2 -2
- package/__chunks__/chunk-FCOHD5RR.js +2 -0
- package/__chunks__/{chunk-N4WPIG37.js → chunk-FFV66LPG.js} +2 -2
- package/__chunks__/{chunk-4X4DKRC3.js → chunk-FW5F5ZKG.js} +2 -2
- package/__chunks__/{chunk-K2FMMFZX.js → chunk-FXFHIAHV.js} +2 -2
- package/__chunks__/chunk-GEU35I4H.js +2 -0
- package/__chunks__/{chunk-TUELF2OQ.js → chunk-GFM6WMJJ.js} +2 -2
- package/__chunks__/{chunk-XFUK5WUM.js → chunk-GLRQIFUL.js} +2 -2
- package/__chunks__/{chunk-AUMFYOGC.js → chunk-GMN5XPUC.js} +2 -2
- package/__chunks__/{chunk-353HDBKH.js → chunk-GU2COZ3N.js} +2 -2
- package/__chunks__/chunk-GWS36QM2.js +2 -0
- package/__chunks__/chunk-HFOGW2VP.js +2 -0
- package/__chunks__/{chunk-LYDAHNMD.js → chunk-HIIXIIO2.js} +2 -2
- package/__chunks__/{chunk-YTZB7V4K.js → chunk-HK3E7OH3.js} +2 -2
- package/__chunks__/{chunk-EIJMAMB3.js → chunk-HKMZHNGU.js} +2 -2
- package/__chunks__/{chunk-2UUH53PT.js → chunk-HKT7ICZP.js} +2 -2
- package/__chunks__/{chunk-YPEPVZAA.js → chunk-HT2EGSH6.js} +2 -2
- package/__chunks__/{chunk-RXCMLUIN.js → chunk-I2GU2SK6.js} +2 -2
- package/__chunks__/{chunk-ELH5XOAE.js → chunk-I55IS57L.js} +2 -2
- package/__chunks__/{chunk-IPHTIY5Z.js → chunk-IFDTTVNG.js} +2 -2
- package/__chunks__/{chunk-KXR5G7DX.js → chunk-II5SQM3J.js} +2 -2
- package/__chunks__/{chunk-C4MIRANK.js → chunk-IJS7NA7S.js} +2 -2
- package/__chunks__/{chunk-3ZBCAUKM.js → chunk-ITXRUDLD.js} +2 -2
- package/__chunks__/{chunk-624XFGTT.js → chunk-J2OCNS6H.js} +2 -2
- package/__chunks__/{chunk-HKGUGR4Q.js → chunk-J5MEFGJ3.js} +2 -2
- package/__chunks__/{chunk-4Z6ZYP35.js → chunk-JI42XC5O.js} +2 -2
- package/__chunks__/{chunk-ZCH2ITSI.js → chunk-JKCUMFK5.js} +2 -2
- package/__chunks__/{chunk-CMU7IITC.js → chunk-JUS3TYVF.js} +2 -2
- package/__chunks__/{chunk-KSWLRCXD.js → chunk-KTXR7LEE.js} +2 -2
- package/__chunks__/{chunk-ZYV25C5T.js → chunk-KUQSHVV2.js} +2 -2
- package/__chunks__/{chunk-JFMKAVGI.js → chunk-L3QHN3RP.js} +2 -2
- package/__chunks__/{chunk-2ESK2CWS.js → chunk-LGACOKUH.js} +2 -2
- package/__chunks__/{chunk-JN6SZX7B.js → chunk-LIHBSEAD.js} +2 -2
- package/__chunks__/{chunk-Q334IC67.js → chunk-LM2RBDON.js} +2 -2
- package/__chunks__/{chunk-YNQGTRYW.js → chunk-LPFVOPRA.js} +2 -2
- package/__chunks__/{chunk-QHJW6HRM.js → chunk-LSAKF7ZT.js} +2 -2
- package/__chunks__/{chunk-JUYKW7WB.js → chunk-LVLQKZTL.js} +2 -2
- package/__chunks__/{chunk-Y2LNLTGJ.js → chunk-LWIURWB3.js} +2 -2
- package/__chunks__/{chunk-ZZ7OYACG.js → chunk-LXUD7AIW.js} +2 -2
- package/__chunks__/{chunk-57LPPB5T.js → chunk-MFOGDRIL.js} +2 -2
- package/__chunks__/{chunk-GGVZOSWG.js → chunk-MMKRBYLZ.js} +2 -2
- package/__chunks__/{chunk-MTA6RD33.js → chunk-MZRUU4CD.js} +2 -2
- package/__chunks__/{chunk-QO77I6KD.js → chunk-NFUDNRJ5.js} +2 -2
- package/__chunks__/{chunk-UR45UQPL.js → chunk-NI6VP5QU.js} +2 -2
- package/__chunks__/{chunk-ZO7IKVB4.js → chunk-NSSZCJ4M.js} +2 -2
- package/__chunks__/{chunk-2ETHWQDW.js → chunk-NXWXHWMN.js} +2 -2
- package/__chunks__/{chunk-OWSA44CF.js → chunk-NY5HBS6V.js} +2 -2
- package/__chunks__/{chunk-NDBEWBW4.js → chunk-NYVSQ3S5.js} +2 -2
- package/__chunks__/{chunk-WZZ2ZH2A.js → chunk-O3RF5FGF.js} +2 -2
- package/__chunks__/chunk-O5LM2OJA.js +2 -0
- package/__chunks__/chunk-ODNPHKQJ.js +2 -0
- package/__chunks__/{chunk-Y2S5RIOR.js → chunk-OFSN5TDI.js} +2 -2
- package/__chunks__/{chunk-OYDXNIBP.js → chunk-OHXVEKU2.js} +2 -2
- package/__chunks__/{chunk-HWAAYDRV.js → chunk-OI5VNINT.js} +2 -2
- package/__chunks__/{chunk-BCKQWB2D.js → chunk-OQLSZVKU.js} +2 -2
- package/__chunks__/{chunk-KTY2ZZVU.js → chunk-OX2QPQSJ.js} +2 -2
- package/__chunks__/{chunk-AGE7H4AQ.js → chunk-OXJEK3XJ.js} +2 -2
- package/__chunks__/{chunk-DSD2MNFY.js → chunk-PAUIKWWL.js} +2 -2
- package/__chunks__/{chunk-AI56TVAK.js → chunk-PHJASQAA.js} +2 -2
- package/__chunks__/{chunk-BXF53CWY.js → chunk-PM252ITF.js} +2 -2
- package/__chunks__/chunk-PQ67BTK6.js +2 -0
- package/__chunks__/{chunk-72PJ3MLB.js → chunk-PRASIG23.js} +2 -2
- package/__chunks__/{chunk-TLO4HKFP.js → chunk-PRWVI7DA.js} +2 -2
- package/__chunks__/{chunk-FVGOQLDW.js → chunk-PTZV2NC6.js} +2 -2
- package/__chunks__/{chunk-HLWXIF6X.js → chunk-PYSR7GYB.js} +2 -2
- package/__chunks__/{chunk-J5YAJXBF.js → chunk-Q52XRGW5.js} +2 -2
- package/__chunks__/{chunk-7TNTABCF.js → chunk-Q6BLCS2G.js} +2 -2
- package/__chunks__/{chunk-A6IB3HHB.js → chunk-QBROYR4N.js} +2 -2
- package/__chunks__/{chunk-ZVNFGIIJ.js → chunk-QKSM2CAV.js} +2 -2
- package/__chunks__/{chunk-3GOMAM3K.js → chunk-QZRSZQQG.js} +2 -2
- package/__chunks__/{chunk-R2ZYJLNQ.js → chunk-R4EW5XRH.js} +2 -2
- package/__chunks__/{chunk-GDZNJ4CF.js → chunk-R4JBGOND.js} +2 -2
- package/__chunks__/{chunk-BGLJNZHY.js → chunk-R7RB3YFC.js} +2 -2
- package/__chunks__/{chunk-XIVSYXPG.js → chunk-RD4FLHH5.js} +2 -2
- package/__chunks__/{chunk-YA2XRGZD.js → chunk-RFRTZ543.js} +2 -2
- package/__chunks__/chunk-RFVGUQXV.js +2 -0
- package/__chunks__/{chunk-YQQLR63O.js → chunk-RHD4OTG2.js} +2 -2
- package/__chunks__/{chunk-TJDE5G3S.js → chunk-RHPXT74R.js} +2 -2
- package/__chunks__/{chunk-XKFPO726.js → chunk-S2EJSEXB.js} +2 -2
- package/__chunks__/{chunk-5TWMJ6YJ.js → chunk-SAWIKMWZ.js} +2 -2
- package/__chunks__/chunk-SB3EUHV3.js +2 -0
- package/__chunks__/{chunk-SI5TLADF.js → chunk-SBPG6D4F.js} +2 -2
- package/__chunks__/chunk-SCCCWUJD.js +2 -0
- package/__chunks__/{chunk-PO7P2NDG.js → chunk-SUJQHC6G.js} +2 -2
- package/__chunks__/{chunk-LJLFS42K.js → chunk-SUZXRANX.js} +2 -2
- package/__chunks__/{chunk-EELRENYX.js → chunk-SY447DWG.js} +2 -2
- package/__chunks__/{chunk-XDRM3WUB.js → chunk-SYGGFJH4.js} +2 -2
- package/__chunks__/{chunk-RG6L237G.js → chunk-T5ZFQJ52.js} +2 -2
- package/__chunks__/chunk-T6Q63BMA.js +2 -0
- package/__chunks__/{chunk-LAM66C2O.js → chunk-TKWIZCLJ.js} +2 -2
- package/__chunks__/{chunk-EBAIZ7N2.js → chunk-TR7CUFAV.js} +2 -2
- package/__chunks__/{chunk-VUYY6CED.js → chunk-TTQTR2AD.js} +2 -2
- package/__chunks__/chunk-TVURH4UP.js +2 -0
- package/__chunks__/{chunk-ZK2ND3MN.js → chunk-U3YEIZCJ.js} +2 -2
- package/__chunks__/{chunk-5IKG6Z4P.js → chunk-UGN3WMKY.js} +2 -2
- package/__chunks__/chunk-V2AWNLQW.js +2 -0
- package/__chunks__/{chunk-MZJP6Y25.js → chunk-V4RA4ZLP.js} +2 -2
- package/__chunks__/{chunk-73N6Q7HY.js → chunk-V7YSLFWP.js} +2 -2
- package/__chunks__/{chunk-EM645X3G.js → chunk-VAWVUZD4.js} +2 -2
- package/__chunks__/{chunk-7WTJNS3Q.js → chunk-VD73JZSS.js} +2 -2
- package/__chunks__/chunk-VKHAQUPZ.js +2 -0
- package/__chunks__/chunk-VPPV32IU.js +2 -0
- package/__chunks__/chunk-VSTXBAWB.js +2 -0
- package/__chunks__/{chunk-2ULU2HRV.js → chunk-VVJHCL7P.js} +2 -2
- package/__chunks__/{chunk-X7BTMMYK.js → chunk-W6YVJXVU.js} +2 -2
- package/__chunks__/{chunk-56GQX7HT.js → chunk-WB2RHTTH.js} +2 -2
- package/__chunks__/{chunk-DIQCION4.js → chunk-WCVTGH27.js} +2 -2
- package/__chunks__/{chunk-52FW4RSP.js → chunk-WFP47YEN.js} +2 -2
- package/__chunks__/{chunk-S25DY7VJ.js → chunk-WG4N7AG4.js} +2 -2
- package/__chunks__/{chunk-S3RBNZKT.js → chunk-WHJGO3AG.js} +2 -2
- package/__chunks__/{chunk-6L5T2ZSC.js → chunk-WJKSHLHT.js} +2 -2
- package/__chunks__/{chunk-EA4X56L7.js → chunk-WOQN27V4.js} +2 -2
- package/__chunks__/chunk-WOY3DRDS.js +2 -0
- package/__chunks__/{chunk-2UNO4XQM.js → chunk-WTXY73SH.js} +2 -2
- package/__chunks__/{chunk-DLLMWYMZ.js → chunk-WUI6TKFB.js} +2 -2
- package/__chunks__/{chunk-6N344DW7.js → chunk-X7ZFQQ4H.js} +2 -2
- package/__chunks__/{chunk-UJ5F7NZJ.js → chunk-XA7MEYFH.js} +2 -2
- package/__chunks__/{chunk-AK5WFGPH.js → chunk-XGANUHCI.js} +2 -2
- package/__chunks__/{chunk-EBW3XI3N.js → chunk-XM5Q6CQZ.js} +2 -2
- package/__chunks__/{chunk-654M5JYO.js → chunk-XNYJQDG2.js} +2 -2
- package/__chunks__/{chunk-2I6FWZ3G.js → chunk-XRQXCSCM.js} +3 -3
- package/__chunks__/{chunk-DTS6JNMK.js → chunk-XVSZNHGU.js} +2 -2
- package/__chunks__/{chunk-EGC7VXER.js → chunk-XXCWTSDG.js} +2 -2
- package/__chunks__/{chunk-KOFXRGMN.js → chunk-Y7E46NZY.js} +2 -2
- package/__chunks__/{chunk-NM3OUXIH.js → chunk-YBEMGTRP.js} +2 -2
- package/__chunks__/{chunk-XKPVTYAC.js → chunk-YBKC5AFW.js} +2 -2
- package/__chunks__/{chunk-ZATNS3YI.js → chunk-YBRLROEH.js} +2 -2
- package/__chunks__/{chunk-5ZVY3G6I.js → chunk-YEQVI36P.js} +2 -2
- package/__chunks__/{chunk-O7JNS4MH.js → chunk-YFRGELFT.js} +2 -2
- package/__chunks__/chunk-YO5D3RWU.js +2 -0
- package/__chunks__/chunk-YRHGCRZP.js +2 -0
- package/__chunks__/{chunk-ZBNQAQR7.js → chunk-YTCYFRWK.js} +2 -2
- package/__chunks__/{chunk-NKEUQVOF.js → chunk-YYOIIUGC.js} +2 -2
- package/__chunks__/{chunk-4G6Q66UH.js → chunk-ZE24ZRZN.js} +2 -2
- package/__chunks__/{chunk-J6H36V6J.js → chunk-ZJPCJ4LX.js} +2 -2
- package/__commonjs/UI/CopyButton/CopyButton.d.ts +7 -0
- package/__commonjs/UI/CopyButton/CopyButton.js +11 -0
- package/__commonjs/UI/CopyButton/{copyButtonStyles.js → copyButton.styles.js} +3 -3
- package/__commonjs/UI/CopyButton/index.d.ts +1 -6
- package/__commonjs/UI/CopyButton/index.js +2 -2
- package/__commonjs/UI/Loader/Loader.d.ts +8 -0
- package/__commonjs/UI/Loader/Loader.js +2709 -0
- package/__commonjs/UI/Loader/index.d.ts +1 -7
- package/__commonjs/UI/Loader/index.js +4 -4
- package/__commonjs/UI/NotificationModal/NotificationModal.d.ts +3 -0
- package/__commonjs/UI/NotificationModal/NotificationModal.js +2775 -0
- package/__commonjs/UI/NotificationModal/index.d.ts +1 -2
- package/__commonjs/UI/NotificationModal/index.js +4 -4
- package/__commonjs/UI/PageState/PageState.d.ts +16 -0
- package/__commonjs/UI/PageState/PageState.js +2709 -0
- package/__commonjs/UI/PageState/index.d.ts +1 -15
- package/__commonjs/UI/PageState/index.js +4 -4
- package/__commonjs/UI/PageState/{pageStateStyles.js → pageState.styles.js} +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/index.js +5 -5
- package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
- package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +4 -4
- package/__commonjs/UI/TransactionDetails/components/index.js +4 -4
- package/__commonjs/UI/TransactionDetails/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +12 -12
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/TransactionInfoHash.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +13 -13
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +13 -13
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/index.js +6 -6
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/FailedTransactions.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/NoTransactions.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/index.js +6 -6
- package/__commonjs/UI/TransactionsTable/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/index.js +3 -3
- package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.d.ts +11 -0
- package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +2747 -0
- package/__commonjs/UI/extension/ExtensionLoginButton/index.d.ts +1 -10
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/__commonjs/UI/extension/ExtensionLoginButton/stories/ExtensionLoginButton.stories.d.ts +2 -2
- package/__commonjs/UI/index.js +11 -11
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.d.ts +21 -0
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +3367 -0
- package/__commonjs/UI/ledger/LedgerLoginButton/index.d.ts +1 -20
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +4 -4
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +3 -3
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +4 -4
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +5 -5
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +3 -3
- package/__commonjs/UI/ledger/index.js +14 -14
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.d.ts +11 -0
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +2729 -0
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.d.ts +1 -10
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +7 -7
- package/__commonjs/UI/pages/index.js +7 -7
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.d.ts +24 -0
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +3002 -0
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.d.ts +1 -23
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +4 -4
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +3 -3
- package/__commonjs/UI/walletConnect/index.js +4 -4
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.d.ts +11 -0
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2729 -0
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.d.ts +1 -10
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +4 -4
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.d.ts +9 -0
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +9 -0
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.d.ts +1 -8
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/package.json +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/storage/local.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/dateTime/index.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/storage/index.js +1 -1
- package/utils/storage/local.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.d.ts +9 -0
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +2 -0
- package/wrappers/AuthenticatedRoutesWrapper/index.d.ts +1 -8
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/UI/CopyButton/copyButtonStyles.js +0 -2
- package/UI/NotificationModal/notificationModalStyles.js +0 -4
- package/UI/PageState/pageStateStyles.js +0 -2
- package/UI/walletConnect/WalletConnectLoginButton/walletConnectLoginButtonStyles.js +0 -4
- package/__chunks__/chunk-236ACT4A.js +0 -2
- package/__chunks__/chunk-3TXSWWRL.js +0 -2
- package/__chunks__/chunk-46UB3COV.js +0 -2
- package/__chunks__/chunk-476OLYPT.js +0 -2
- package/__chunks__/chunk-6FWDWBMN.js +0 -2
- package/__chunks__/chunk-6XR6BLIB.js +0 -2
- package/__chunks__/chunk-BEE4DVSV.js +0 -2
- package/__chunks__/chunk-CIA5WJBY.js +0 -2
- package/__chunks__/chunk-EAIRBVG2.js +0 -2
- package/__chunks__/chunk-ELUPZJBP.js +0 -2
- package/__chunks__/chunk-EOKRDYGE.js +0 -2
- package/__chunks__/chunk-FNVBJOAM.js +0 -2
- package/__chunks__/chunk-G4JD2Q3A.js +0 -2
- package/__chunks__/chunk-HWQ4HWF7.js +0 -2
- package/__chunks__/chunk-KS3I3MRD.js +0 -2
- package/__chunks__/chunk-LKAKVL7O.js +0 -2
- package/__chunks__/chunk-Q644J7BS.js +0 -8
- package/__chunks__/chunk-QUCTPCT3.js +0 -2
- package/__chunks__/chunk-R5KCMOKA.js +0 -2
- package/__chunks__/chunk-S2UGJM4S.js +0 -2
- package/__chunks__/chunk-TRVXCKJV.js +0 -2
- package/__chunks__/chunk-TZQXU63P.js +0 -2
- package/__chunks__/chunk-ULF6TFUK.js +0 -2
- package/__chunks__/chunk-XAOZX6PT.js +0 -2
- package/__chunks__/chunk-YS4IFDG4.js +0 -2
- package/__chunks__/chunk-ZAHYBLR3.js +0 -2
- package/__chunks__/chunk-ZJ62HJA4.js +0 -2
- package/__chunks__/chunk-ZOS2BWPU.js +0 -2
- package/__commonjs/UI/NotificationModal/notificationModalStyles.js +0 -11
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/walletConnectLoginButtonStyles.js +0 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as s}from"./chunk-4CHM2RXE.js";import{a as t}from"./chunk-V7YSLFWP.js";import{a as n}from"./chunk-2GCNFOBQ.js";import{b as r}from"./chunk-GCUT2XXY.js";import{i as a}from"./chunk-OWVDW4YO.js";import{m as o}from"./chunk-HBP5N4FR.js";o();import e from"react";a();var O=({operation:i,transaction:m})=>{switch(i.type){case"nft":case"esdt":return e.createElement(t,{operation:i,transaction:m},e.createElement(e.Fragment,null,i.esdtType==="NonFungibleESDT"&&e.createElement("div",{className:r.mr1},"NFT"),i.esdtType==="SemiFungibleESDT"&&e.createElement("div",{className:r.mr1},"SFT quantity"),e.createElement(s,{operation:i})));case"egld":return e.createElement(t,{operation:i,transaction:m},e.createElement(e.Fragment,null,e.createElement("div",{className:r.mr2},"Value"),e.createElement(n,{value:i.value,showLastNonZeroDecimal:!0})));default:return null}};export{O as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WUI6TKFB.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as _}from"./chunk-W7PLC5YB.js";import{b as e}from"./chunk-FA7ULR4S.js";import{a as F}from"./chunk-5BCRD2HN.js";import{a as z}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as _}from"./chunk-W7PLC5YB.js";import{b as e}from"./chunk-FA7ULR4S.js";import{a as F}from"./chunk-5BCRD2HN.js";import{a as z}from"./chunk-OI5VNINT.js";import{a as Z}from"./chunk-OX2QPQSJ.js";import{a as U}from"./chunk-WJKSHLHT.js";import{b as C}from"./chunk-GCUT2XXY.js";import{a as G}from"./chunk-TXAITGIS.js";import{a as k}from"./chunk-S2EJSEXB.js";import{b as A}from"./chunk-OHXVEKU2.js";import{a as I,j as V,m as d}from"./chunk-HBP5N4FR.js";d();import o,{useEffect as q,useState as u}from"react";import{faCircleNotch as be}from"@fortawesome/free-solid-svg-icons";import t from"classnames";import Ee from"qrcode";d();import*as l from"react";var Te=m=>l.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 31.114 44.981",width:16,height:16},m),l.createElement("g",{transform:"translate(-47.168 -21.519)"},l.createElement("g",{transform:"translate(-247.872 -130.693)"},l.createElement("path",{d:"M355.676,152.213l-3.832,17.8h-9.661Z",transform:"translate(-40.089 1)",fillRule:"evenodd",fill:"#fff"}),l.createElement("path",{d:"M326.45,271.184l-7.053,9.379H295.04l7.054-9.379Z",transform:"translate(0 -101.17)",fillRule:"evenodd",fill:"#fff"}),l.createElement("path",{d:"M381.139,333.864l-13.493,17.8,3.832-17.8Z",transform:"translate(-61.742 -155.472)",fillRule:"evenodd",fill:"#fff"})))),O=Te;var Je=({callbackRoute:m,loginButtonText:X="xPortal App",title:j="Login using xPortal App",logoutRoute:v="/unlock",className:P="dapp-wallet-connect-login-modal",lead:J="Scan the QR code using the xPortal App",legacyMessage:K="Unable to login? Use the legacy version",wrapContentInsideModal:Y=!0,isWalletConnectV2:f=!1,token:g,nativeAuth:N,onClose:p,onLoginRedirect:L,innerWalletConnectComponentsClasses:$,customSpinnerComponent:y,showScamPhishingAlert:w=!0})=>{var B;let[R,{error:M},{uriDeepLink:ee,walletConnectUri:x,cancelLogin:oe}]=k({logoutRoute:v,callbackRoute:m,token:g,nativeAuth:N,onLoginRedirect:L}),[te,{error:W},{connectExisting:ne,removeExistingPairing:ae,cancelLogin:re,uriDeepLink:le,walletConnectUri:h,wcPairings:c}]=A({logoutRoute:v,callbackRoute:m,token:g,nativeAuth:N,onLoginRedirect:L}),[S,se]=u(""),[n,ie]=u(f),[me,ce]=u(f),{containerContentClassName:de,containerScamPhishingAlertClassName:Ce,containerTitleClassName:fe,containerSubtitleClassName:ge,containerErrorClassName:T,containerQrCodeClassName:pe,containerLoaderClassName:xe,containerLegacyClassName:he,containerButtonClassName:ue,walletConnectPairingListClassNames:ve}=$||{},Pe=G(),b=n?(B=c==null?void 0:c.filter(a=>{let Q=c.some(r=>{var s,i,D,H;return((s=a.peerMetadata)==null?void 0:s.name)===((i=r==null?void 0:r.peerMetadata)==null?void 0:i.name)&&((D=a.peerMetadata)==null?void 0:D.url)===((H=r==null?void 0:r.peerMetadata)==null?void 0:H.url)&&a.expiry<r.expiry});return Boolean(a.active)&&a.peerMetadata&&!Q}))!=null?B:[]:[],Ne=a=>{a.preventDefault(),ie(!1),ce(!1)},Le=()=>V(void 0,null,function*(){if(!(n&&h||!n&&x))return;let s=n?h:x;if(s){let i=yield Ee.toString(s,{type:"svg"});i&&se(i)}}),ye=()=>{n?re():oe(),p==null||p()};q(()=>{Le()},[n,x,h]),q(()=>{n?te():R()},[n]);let we=w?U(g):void 0,E=o.createElement(o.Fragment,null,w&&o.createElement(F,{url:window==null?void 0:window.location.origin,authorizationInfo:we,className:Ce}),o.createElement("div",{className:t(e.xPortalContent,de)},o.createElement("div",{className:t(e.xPortalContainerHeading,fe)},j),o.createElement("div",{className:t(e.xPortalContainerSubheading,ge)},J),o.createElement("div",null,M&&o.createElement("p",{className:t(e.xPortalContainerError,T)},M),W&&o.createElement("p",{className:t(e.xPortalContainerError,T)},W)),S?o.createElement("div",{className:t(e.xPortalQrCode,pe),dangerouslySetInnerHTML:{__html:S}}):o.createElement("div",{className:t(e.xPortalLoader,xe)},y||o.createElement(Z,{iconSize:"10x",icon:be,iconClass:t("fa-spin",C.textPrimary)})),Pe&&o.createElement("a",{id:"accessWalletBtn","data-testid":"accessWalletBtn",href:ee||le,rel:"noopener noreferrer nofollow",target:"_blank",className:t(C.btn,C.btnPrimary,e.xPortalContainerButton,ue)},o.createElement(O,{className:e.xPortalContainerButtonIcon}),X),b.length>0&&o.createElement(_,{activePairings:b,connectExisting:ne,removeExistingPairing:ae,className:P,pairingListClasses:ve}),f&&me&&o.createElement("a",{href:"/#",onClick:Ne,className:t(e.xPortalLegacyLink,he)},K)));return Y?o.createElement(z,{onClose:ye,modalConfig:{headerText:"Login using xPortal App",showHeader:!0,modalContentClassName:e.xPortalModalDialogContent,modalHeaderClassName:e.xPortalModalHeader,modalHeaderTextClassName:e.xPortalModalHeaderText,modalCloseButtonClassName:e.xPortalModalCloseButton,modalBodyClassName:e.xPortalModalBody,modalDialogClassName:e.xPortalLoginContainer},className:P},E):E};export{Je as a};
|
|
2
|
+
//# sourceMappingURL=chunk-X7ZFQQ4H.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-BM3CKUP5.js";import{d as e}from"./chunk-FC3CZOOQ.js";import{j as n,m as c}from"./chunk-HBP5N4FR.js";c();import p from"axios";function l(r){return n(this,null,function*(){if(!r)return null;let o=`${i()}/${e}/${r}`;try{let{data:t}=yield p.get(o);return t}catch(t){console.error("error fetching configuration for ",o)}return null})}export{l as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XA7MEYFH.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as ie}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as ie}from"./chunk-4WHEFZYP.js";import{a as re}from"./chunk-WISK7MIJ.js";import{a as oe}from"./chunk-S2EJSEXB.js";import{b as ne}from"./chunk-OHXVEKU2.js";import{a as y}from"./chunk-A6VLMMNB.js";import{a as te}from"./chunk-AMX3GHWT.js";import{a as k}from"./chunk-BI4RLQI7.js";import{a as d}from"./chunk-5SFMQW2S.js";import{a as ee}from"./chunk-B2MLQYUZ.js";import{a as s,c as $}from"./chunk-KFFYCLNJ.js";import{c as Q,d as Y,f as Z}from"./chunk-4V5LOWP7.js";import{c as K,d as n}from"./chunk-F7X2QHK5.js";import{a as J}from"./chunk-5776LOR3.js";import{b as U,c as V,d as _,e as X,f as j,h as q,i as B}from"./chunk-QBROYR4N.js";import{a as H,g as T}from"./chunk-HT2EGSH6.js";import{h as G}from"./chunk-V4QDMLWO.js";import{a as ke}from"./chunk-NSSZCJ4M.js";import{d as O}from"./chunk-RT75PDWH.js";import{c as A,g as M,j as a,k as F}from"./chunk-FW5F5ZKG.js";import{e as N,g as P}from"./chunk-QZRSZQQG.js";import{b as D,c as Pe}from"./chunk-VI4CEFAP.js";import{o as Ae}from"./chunk-CDW2662X.js";import{a as h,b as L,j as r,m as z}from"./chunk-HBP5N4FR.js";z();import{useEffect as g,useRef as ye,useState as Ce}from"react";import{ExtensionProvider as be}from"@multiversx/sdk-extension-provider";import{HWProvider as Ie}from"@multiversx/sdk-hw-provider";import{OperaProvider as xe}from"@multiversx/sdk-opera-provider";Pe();ke();Ae();function Ze(){let f=n(G),C=n(_),m=n(U),ae=n(j),c=n(H),b=n(T),i=n(X),I=n(V),x=n(B),[l,se]=Ce(),p=n(q),S=p==null?void 0:p.nativeAuthConfig,ce=ee(S||!1),w=ye(!1),o=K();ie();let{callbackRoute:W,logoutRoute:R}=C||{callbackRoute:"",logoutRoute:""},[le]=oe({callbackRoute:W,logoutRoute:R}),[ue]=ne({callbackRoute:W,logoutRoute:R});g(()=>{de()},[f]),g(()=>{Le()},[m]),g(()=>{fe()},[c,f]),g(()=>{ge()},[b,I,l]);function de(){return r(this,null,function*(){try{let e=yield J();e&&o(O(e.erd_chain_id))}catch(e){console.error("failed refreshing chainId ",e)}})}function ge(){b==null&&i!=null&&l&&o(M({index:i.index,address:c,hasContractDataEnabled:l.dataEnabled,version:l.version}))}function fe(){return r(this,null,function*(){if(o(a(!0)),w.current){w.current=!1,o(a(!1));return}if(c)try{let e=yield k(c);e&&o(A(L(h({},e),{address:c,nonce:e.nonce.valueOf()})))}catch(e){o(F("Failed getting account")),console.error("Failed getting account ",e)}o(a(!1))})}function me(){return r(this,null,function*(){let e=Q(f.walletAddress);if(s(e),ae!=null){try{let t=yield d(),{clearNavigationHistory:u,remainingParams:{signature:E}}=re(["signature","loginToken","address"]);if(!t)return s(Z),o(N(null)),o(P(null)),u();E&&ce.setTokenLoginInfo({signature:E,address:t});let v=yield k(t);v&&(w.current=!0,o(a(!0)),o(D({address:t,loginMethod:"wallet"})),o(A(L(h({},v),{nonce:te(v)}))),o(a(!1))),u()}catch(t){console.error("Failed authenticating wallet user ",t)}o(P(null))}})}function pe(){return r(this,null,function*(){let e=new Ie,t=e.isInitialized();if(t||(t=yield e.init()),!t&&I){console.warn("Could not initialise ledger app"),y(x);return}return(i==null?void 0:i.index)!=null&&(e.addressIndex=i.index),e})}function we(){return r(this,null,function*(){try{let e=yield pe();if(!e)return;let t=yield Y(e);s(e),se(t)}catch(e){console.error("Could not initialise ledger app",e),y(x)}})}function ve(){return r(this,null,function*(){try{let e=yield d(),t=be.getInstance().setAddress(e);(yield t.init())?s(t):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(e){console.error("Unable to login to ExtensionProvider",e)}})}function he(){return r(this,null,function*(){try{let e=yield d(),t=xe.getInstance().setAddress(e);(yield t.init())?s(t):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(e){console.error("Unable to login to OperaProvider",e)}})}function Le(){if(m!=null)switch(m){case"ledger":{we();break}case"walletconnect":{le(!1);break}case"walletconnectv2":{ue(!1);break}case"extension":{ve();break}case"opera":{he();break}case"extra":{$();break}case"wallet":case"":{me();break}default:return}}return null}export{Ze as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XGANUHCI.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as e}from"./chunk-22ELNG4Z.js";import{b as m}from"./chunk-GCUT2XXY.js";import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as e}from"./chunk-22ELNG4Z.js";import{b as m}from"./chunk-GCUT2XXY.js";import{a}from"./chunk-3WFFH2J6.js";import{a as p}from"./chunk-NCHDT5N7.js";import{a as s,d as n,m as i}from"./chunk-HBP5N4FR.js";i();import l from"react";import{faExternalLinkSquare as y}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as C}from"@fortawesome/react-fontawesome";import E from"classnames";var F=L=>{var t=L,{page:f,text:r,className:k="dapp-explorer-link",children:o}=t,g=n(t,["page","text","className","children"]);let{network:{explorerAddress:d}}=a(),x=r!=null?r:l.createElement(C,{icon:y,className:e.search}),c=p({explorerAddress:String(d),to:f});return l.createElement("a",s({href:c,target:"_blank",className:E(e.link,m.ml2,k),rel:"noreferrer"},g),o!=null?o:x)};export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XM5Q6CQZ.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as e}from"./chunk-D6TGEXYH.js";import{a
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as e}from"./chunk-D6TGEXYH.js";import{a}from"./chunk-F4FOQ2AU.js";import{a as o}from"./chunk-JGNCDJ62.js";import{a as n}from"./chunk-HHBJDEI5.js";import{a as l}from"./chunk-7TWOE75A.js";import{a as m}from"./chunk-XM5Q6CQZ.js";import{a as d}from"./chunk-57R2O5D6.js";import{a as i}from"./chunk-AP2OU4L5.js";import{m as p}from"./chunk-HBP5N4FR.js";p();import r from"react";import h from"classnames";var A=({className:f,transaction:s})=>r.createElement(a,{title:"From",className:h(e.from,f)},r.createElement("div",{className:e.wrapper},r.createElement(n,{initiator:s.sender}),i(s.sender)?r.createElement(r.Fragment,null,r.createElement(m,{page:String(s.links.senderLink),className:e.explorer},r.createElement(l,{address:s.sender,assets:s.senderAssets})),r.createElement(d,{className:e.copy,text:s.sender}),r.createElement(m,{page:String(s.links.senderShardLink),className:e.shard},"(",r.createElement(o,{shard:s.senderShard}),")")):r.createElement("span",{className:e.shard},"(",r.createElement(o,{shard:s.sender}),")")));export{A as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XNYJQDG2.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as e}from"./chunk-HBP5N4FR.js";e();var o=`.dapp-core-
|
|
1
|
+
import{m as e}from"./chunk-HBP5N4FR.js";e();var o=`.dapp-core-component__copyButton-styles__copy {
|
|
2
2
|
color: #6c757d;
|
|
3
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(o));var d={copy:"dapp-core-
|
|
4
|
-
//# sourceMappingURL=chunk-
|
|
3
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(o));var d={copy:"dapp-core-component__copyButton-styles__copy"};export{o as a,d as b};
|
|
4
|
+
//# sourceMappingURL=chunk-XRQXCSCM.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as m}from"./chunk-WHJGO3AG.js";import{j as u,m as a}from"./chunk-HBP5N4FR.js";a();import x,{useRef as I,useEffect as h}from"react";import s from"axios";var C=({children:f,authenticatedDomanis:d})=>{var n;let{loginInfo:r}=m(),t=(n=r==null?void 0:r.tokenLogin)==null?void 0:n.nativeAuthToken,o=I(-1),A=()=>{s.interceptors.response.use(e=>e,e=>{var c,p;let i=(c=e.config)==null?void 0:c.url;return(p=e.config)!=null&&p.params&&(i+=`?${new URLSearchParams(e.config.params).toString()}`),console.error("Axios error for: ",i),Promise.reject(e)})},l=()=>{s.interceptors.request.eject(o.current),o.current=s.interceptors.request.use(e=>u(void 0,null,function*(){return d.includes(String(e==null?void 0:e.baseURL))&&(e.headers={Authorization:`Bearer ${t}`}),e}),e=>{Promise.reject(e)})};return h(A,[]),h(()=>{t&&l()},[t]),x.createElement(x.Fragment,null,f)};export{C as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XVSZNHGU.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as h}from"./chunk-IDMVPVRN.js";import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as h}from"./chunk-IDMVPVRN.js";import{a as g}from"./chunk-FMIRA7YL.js";import{a as k}from"./chunk-RQ3IOPRD.js";import{a as p}from"./chunk-WVJETRW5.js";import{a as t}from"./chunk-NCHDT5N7.js";import{a as m}from"./chunk-4KO7EUF3.js";import{b as T}from"./chunk-QMQH5ULY.js";import{a as r}from"./chunk-357APEOJ.js";import{b as d}from"./chunk-6Z56IRF4.js";import{a as s,b as a,m as c}from"./chunk-HBP5N4FR.js";c();function F({transaction:e,address:f,explorerAddress:n}){var i;let v=(i=e.tokenIdentifier)!=null?i:d(e.data).tokenId,o=k(e),y=g(e),l=h(f,e,o),I=m(e),S=p(e),u=t({explorerAddress:n,to:r.accountDetails(e.sender)}),L=t({explorerAddress:n,to:r.accountDetails(o)}),x=t({explorerAddress:n,to:r.senderShard(e.senderShard)}),D=t({explorerAddress:n,to:r.receiverShard(e.receiverShard)}),H=e.originalTxHash?`${e.originalTxHash}#${e.txHash}`:e.txHash,C=t({explorerAddress:n,to:r.transactionDetails(H)});return a(s({},e),{tokenIdentifier:v,receiver:o,receiverAssets:y,transactionDetails:{direction:l,method:I,transactionTokens:S,isContract:T(e.sender)},links:{senderLink:u,receiverLink:L,senderShardLink:x,receiverShardLink:D,transactionLink:C}})}export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XXCWTSDG.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as t}from"./chunk-B2PSSBLH.js";import{a as i}from"./chunk-F4FOQ2AU.js";import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as t}from"./chunk-B2PSSBLH.js";import{a as i}from"./chunk-F4FOQ2AU.js";import{a as m}from"./chunk-57R2O5D6.js";import{m as o}from"./chunk-HBP5N4FR.js";o();import s from"react";var f=({className:e,transaction:a})=>s.createElement(i,{className:e,title:"Hash"},s.createElement("div",{className:t.hash},a.txHash,s.createElement(m,{text:a.txHash,className:t.copy})));export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Y7E46NZY.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as P}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as P}from"./chunk-LSAKF7ZT.js";import{a as i}from"./chunk-SUJQHC6G.js";import{a as m}from"./chunk-FXFHIAHV.js";import{a as d}from"./chunk-OGFDPDUC.js";import{b as C}from"./chunk-VA3IQYLI.js";import{m as l}from"./chunk-HBP5N4FR.js";l();import r from"react";var G=({toastId:e,title:f="",className:g="dapp-transaction-toast",onDelete:h,startTimestamp:y,endTimeProgress:D,lifetimeAfterSuccess:t,status:c,transactions:o,customization:s})=>{var T,p;let{isCrossShard:x,progress:N,isPending:a,isTimedOut:n,toastDataState:W,handleDeleteToast:S}=P({toastId:e,transactions:o,status:c,lifetimeAfterSuccess:t,startTimestamp:y,endTimeProgress:D,onDelete:h}),E=(T=s==null?void 0:s.Progress)!=null?T:i,O=(p=s==null?void 0:s.TransactionToastContent)!=null?p:m;return r.createElement(d,{className:g},r.createElement(E,{key:e,id:e,progress:N,expiresIn:t,done:!a||n,isCrossShard:x},r.createElement(O,{style:C,toastDataState:W,transactions:o!=null?o:[],toastTitle:f,isTimedOut:n,showCloseButton:!a,onDeleteToast:S,customElements:s==null?void 0:s.TransactionToastContentCustomElements})))};export{G as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YBEMGTRP.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as D}from"./chunk-UMQSHIZY.js";import{a as y}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as D}from"./chunk-UMQSHIZY.js";import{a as y}from"./chunk-L3QHN3RP.js";import{a as A}from"./chunk-YYOIIUGC.js";import{a as b}from"./chunk-7W53YHPV.js";import{a as h}from"./chunk-C2NK6QSW.js";import{a as f}from"./chunk-V2AWNLQW.js";import{a as v}from"./chunk-OUJ2TGXC.js";import{c as m,d as p}from"./chunk-F7X2QHK5.js";import{a as S}from"./chunk-NFUDNRJ5.js";import{a as d}from"./chunk-NOYJLD7U.js";import{k as g}from"./chunk-V4QDMLWO.js";import{a as j}from"./chunk-NSSZCJ4M.js";import{b as l,c as V}from"./chunk-XRCJ5PNU.js";import{i as u,k as a}from"./chunk-7X6HMTFB.js";import{a as N}from"./chunk-56AHKWRJ.js";import{a as r,b as s,j as c,m as T}from"./chunk-HBP5N4FR.js";T();j();N();V();function gn({onCancel:R,verifyReceiverScam:W=!0}){let{transactionsToSign:M,hasTransactions:L}=y(),C=p(g),{account:{address:E}}=f(),{provider:x}=v(),i=m(),P=A(),{transactions:I,sessionId:o,callbackRoute:t,customTransactionInformation:e}=M||{};function U(n){o&&i(a({sessionId:o,status:"cancelled"})),i(u(n))}let k=t!=null&&(window==null?void 0:window.location.pathname.includes(t));function w(n){!b(n)||o&&(i(a({sessionId:o,status:"signed",transactions:n.map(F=>d(F))})),t!=null&&(e==null?void 0:e.redirectAfterSign)&&!k&&l(t))}function G(){R(),P(o)}function q(n){return c(this,null,function*(){return yield x.signTransaction(n)})}let B=D({address:E,egldLabel:C,transactionsToSign:L?I:[],onGetScamAddressData:W?S:null,isLedger:h("ledger"),onCancel:G,onSignTransaction:q,onTransactionsSignError:U,onTransactionsSignSuccess:w});return s(r({},B),{callbackRoute:t})}export{gn as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YBKC5AFW.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as h}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as h}from"./chunk-DAS7GF5P.js";import{b as o}from"./chunk-YIBXPM4I.js";import{b as t}from"./chunk-GCUT2XXY.js";import{a as p}from"./chunk-3WFFH2J6.js";import{a as m}from"./chunk-5AYFOKV6.js";import{a as n}from"./chunk-XXCWTSDG.js";import{m as d}from"./chunk-HBP5N4FR.js";d();import e,{useMemo as u}from"react";import a from"classnames";var W=({transactions:i,directionCol:l=!1,showLockedAccounts:T=!1,className:b="dapp-transactions-table",title:f})=>{let{address:r}=m(),{network:{explorerAddress:c}}=p();if(!r)return null;let y=u(()=>i.map(s=>n({transaction:s,address:r,explorerAddress:c})),[n,i,c,r]);return e.createElement("div",{className:a(t.card,t.mt5,t.mb5,o.transactionsTable,b)},e.createElement("div",{className:a(t.cardHeader,t.cardHeaderItem,t.dFlex,t.justifyContentBetween,t.alignItemsCenter,o.transactionsTableHeader)},e.createElement("h6",{className:t.h6,"data-testid":"title"},f||"Transactions")),e.createElement("div",{className:a(t.cardBody,t.p0)},e.createElement("div",{className:o.tableWrapper},e.createElement("table",{className:a(o.table,t.trimSizeSm),"data-testid":"transactionsTable"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",{scope:"col"},"Tx Hash"),e.createElement("th",{scope:"col"},"Age"),e.createElement("th",{scope:"col"},"Shard"),e.createElement("th",{scope:"col"},"From"),l&&e.createElement("th",{scope:"col"}," Tx Direction "),e.createElement("th",{scope:"col"},"To"),e.createElement("th",{scope:"col"},"Method"),e.createElement("th",{scope:"col"},"Value"))),e.createElement("tbody",null,y.map(s=>e.createElement(h,{transaction:s,key:s.txHash,showDirectionCol:l,showLockedAccounts:T})))))))};export{W as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YBRLROEH.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o}from"./chunk-3BXT2WOT.js";import{a as d}from"./chunk-56AHKWRJ.js";import{m as a}from"./chunk-HBP5N4FR.js";a();d();var b=()=>{var t,e;let{hasPendingTransactions:i,pendingTransactions:s}=o();if(!i)return"";let c=Object.keys(s).sort().reverse();for(let h of c){let n=(e=(t=s[h].transactions)==null?void 0:t.filter(r=>r.status==="pending"))!=null?e:[];if(n.length>0)return n[n.length-1].hash}return""};export{b as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YEQVI36P.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as p}from"./chunk-IJS7NA7S.js";import{a as f}from"./chunk-JGNCDJ62.js";import{a as c}from"./chunk-HHBJDEI5.js";import{a as n}from"./chunk-7TWOE75A.js";import{b as s}from"./chunk-YIBXPM4I.js";import{a as l}from"./chunk-XM5Q6CQZ.js";import{b as o}from"./chunk-GCUT2XXY.js";import{a as m}from"./chunk-AP2OU4L5.js";import{i as S}from"./chunk-OWVDW4YO.js";import{m as a}from"./chunk-HBP5N4FR.js";a();import r from"react";import i from"classnames";S();var D=({transaction:e,showLockedAccounts:T})=>{var d,t;let k=e.transactionDetails.direction==="Out";return r.createElement("div",{className:i(o.dFlex,o.alignItemsCenter,s.transactionCell),"data-testid":"transactionSender"},T&&r.createElement(p,{address:e.sender,tokenId:(d=e.tokenIdentifier)!=null?d:""}),r.createElement(c,{initiator:e.sender}),k?r.createElement("div",{className:i(o.w100,s.transactionCellOverflow,s.transactionCellMargin)},r.createElement(n,{address:e.sender,assets:e.senderAssets})):m(e.sender)?r.createElement(l,{page:(t=e.links.senderLink)!=null?t:"","data-testid":"senderLink",className:i(o.w100,s.transactionCellOverflow,s.transactionCellMargin,s.transactionCellLink)},r.createElement(n,{address:e.sender,assets:e.senderAssets})):r.createElement(f,{shard:e.sender}))};export{D as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YFRGELFT.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as i}from"./chunk-F7X2QHK5.js";import{d as t}from"./chunk-BDTCNMUJ.js";import{m as s}from"./chunk-HBP5N4FR.js";s();function g(){let e=i(t),n=Object.entries(e),o=(n==null?void 0:n.length)>0;return{signedTransactions:e,signedTransactionsArray:n,hasSignedTransactions:o}}export{g as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YRHGCRZP.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as r}from"./chunk-NQKCNVSW.js";import{a as
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as r}from"./chunk-NQKCNVSW.js";import{a as d}from"./chunk-F4FOQ2AU.js";import{a as p}from"./chunk-JGNCDJ62.js";import{a as l}from"./chunk-7TWOE75A.js";import{a}from"./chunk-XM5Q6CQZ.js";import{a as n}from"./chunk-57R2O5D6.js";import{b as i}from"./chunk-QMQH5ULY.js";import{a as m}from"./chunk-U5KZ2H2C.js";import{o as h}from"./chunk-CDW2662X.js";import{m as o}from"./chunk-HBP5N4FR.js";o();h();import e from"react";import{faAngleDown as c}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as v}from"@fortawesome/react-fontawesome";import x from"classnames";var _=({className:T,transaction:s})=>{let f=m(s),N=s.status==="reward-reverted";return e.createElement(d,{title:"To",className:x(r.to,T)},e.createElement("div",{className:r.wrapper,"data-testid":"transactionTo"},e.createElement("div",{className:r.content},i(s.receiver)&&e.createElement("span",{className:r.contract,"data-testid":"transactionToContract"},"Contract"),e.createElement(a,{page:String(s.links.receiverLink),"data-testid":"transactionToExplorerLink",className:r.explorer},e.createElement(l,{address:s.receiver,assets:s.receiverAssets,"data-testid":"transactionToAccount"})),e.createElement(n,{className:r.copy,text:s.receiver}),!isNaN(s.receiverShard)&&e.createElement(a,{page:String(s.links.receiverShardLink),className:r.shard},"(",e.createElement(p,{shard:s.receiverShard,"data-testid":"transactionToShard"}),")")),f.map((g,t)=>e.createElement("div",{"data-testid":`message_${t}`,key:`tx-message-${t}`,className:r.message},e.createElement(v,{icon:c,className:r.icon,style:{marginTop:"2px"},transform:{rotate:45}}),e.createElement("small",{className:r.text},g))),N&&e.createElement("div",{className:r.message},e.createElement(v,{icon:c,className:r.icon,style:{marginTop:"2px"},transform:{rotate:45}}),e.createElement("small",{className:r.text},"Block Reverted"))))};export{_ as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YTCYFRWK.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as t}from"./chunk-F7X2QHK5.js";import{a as T}from"./chunk-NSSZCJ4M.js";import{h as o}from"./chunk-A2IKCHP3.js";import{e as i,j as a}from"./chunk-7X6HMTFB.js";import{c as s,i as c}from"./chunk-QR72MI4M.js";import{m as r}from"./chunk-HBP5N4FR.js";r();c();T();function S(){let n=t();return e=>{n(i()),n(o(e)),n(a(s))}}export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YYOIIUGC.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as U}from"./chunk-UFPATSSG.js";import{a as W}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as U}from"./chunk-UFPATSSG.js";import{a as W}from"./chunk-VPPV32IU.js";import{a as k}from"./chunk-B2MLQYUZ.js";import{c as T}from"./chunk-4V5LOWP7.js";import{c as w,d as y}from"./chunk-F7X2QHK5.js";import{h as u}from"./chunk-V4QDMLWO.js";import{a as G}from"./chunk-NSSZCJ4M.js";import{g as f}from"./chunk-QZRSZQQG.js";import{h as d,i as F}from"./chunk-QR72MI4M.js";import{a as g,b as p,j as m,m as L}from"./chunk-HBP5N4FR.js";L();F();import{useState as b}from"react";G();var ee=({callbackRoute:t,token:I,nativeAuth:i,redirectDelayMilliseconds:S=100})=>{let[r,h]=b(""),[v,s]=b(!1),P=y(u),R=w(),a=W(),x=Boolean(i),l=k(i),e=I;function D(){return m(this,null,function*(){if(a)throw new Error(d);try{s(!0);let o=T(P.walletAddress),c=new Date,O=c.setMinutes(c.getMinutes()+3)/1e3,E={data:{},expires:O};if(x&&!e&&(e=yield l.getNativeAuthLoginToken(),!e)){console.warn("Login cancelled.");return}e&&l.setLoginToken(e);let C=window!=null&&window.location?`${window.location.origin}${t}`:`${t}`;new URLSearchParams(document.location.search).get("address")||R(f(E));let M=U(C),N=encodeURIComponent(M),A=p(g({callbackUrl:N},e&&{token:e}),{redirectDelayMilliseconds:S});yield o.login(A)}catch(o){console.error(o),h("error logging in"+o.message)}finally{s(!1)}})}let n=Boolean(r);return[D,{error:r,loginFailed:n,isLoading:v&&!n,isLoggedIn:a&&!n}]};export{ee as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZE24ZRZN.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-7AVNFPYP.js";import{a as c}from"./chunk-NSSZCJ4M.js";import{b as o,c as i}from"./chunk-7X6HMTFB.js";import{o as g}from"./chunk-CDW2662X.js";import{m as e}from"./chunk-HBP5N4FR.js";e();c();g();function C({results:t,hash:m,sessionId:s}){let a=t==null?void 0:t.find(n=>(n==null?void 0:n.returnMessage)!=="");r.dispatch(o({transactionHash:m,sessionId:s,status:"fail",errorMessage:a==null?void 0:a.returnMessage})),r.dispatch(i({sessionId:s,status:"fail",errorMessage:a==null?void 0:a.returnMessage}))}export{C as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZJPCJ4LX.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WithClassnameType } from '../types';
|
|
3
|
+
export interface CopyButtonPropsType extends WithClassnameType {
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const CopyButton: ({ text, className }: CopyButtonPropsType) => JSX.Element;
|
|
7
|
+
//# sourceMappingURL=CopyButton.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";var br=Object.create;var W=Object.defineProperty;var Mr=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var kr=Object.getPrototypeOf,Dr=Object.prototype.hasOwnProperty;var Nr=(e,r)=>()=>(e&&(r=e(e=0)),r);var Y=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Wr=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},or=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Rr(r))!Dr.call(e,i)&&i!==t&&W(e,i,{get:()=>r[i],enumerable:!(n=Mr(r,i))||n.enumerable});return e};var q=(e,r,t)=>(t=e!=null?br(kr(e)):{},or(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),Yr=e=>or(W({},"__esModule",{value:!0}),e);var H=(e,r,t)=>new Promise((n,i)=>{var o=f=>{try{h(t.next(f))}catch(p){i(p)}},u=f=>{try{h(t.throw(f))}catch(p){i(p)}},h=f=>f.done?n(f.value):Promise.resolve(f.value).then(o,u);h((t=t.apply(e,r)).next())});var fr=Y(X=>{"use strict";w();X.byteLength=Hr;X.toByteArray=Gr;X.fromByteArray=Or;var g=[],E=[],qr=typeof Uint8Array!="undefined"?Uint8Array:Array,Q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I=0,ur=Q.length;I<ur;++I)g[I]=Q[I],E[Q.charCodeAt(I)]=I;var I,ur;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ar(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function Hr(e){var r=ar(e),t=r[0],n=r[1];return(t+n)*3/4-n}function Xr(e,r,t){return(r+t)*3/4-t}function Gr(e){var r,t=ar(e),n=t[0],i=t[1],o=new qr(Xr(e,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=E[e.charCodeAt(f)]<<18|E[e.charCodeAt(f+1)]<<12|E[e.charCodeAt(f+2)]<<6|E[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=E[e.charCodeAt(f)]<<2|E[e.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=E[e.charCodeAt(f)]<<10|E[e.charCodeAt(f+1)]<<4|E[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function zr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Jr(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(zr(n));return i.join("")}function Or(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,h=t-n;u<h;u+=o)i.push(Jr(e,u,u+o>h?h:u+o));return n===1?(r=e[t-1],i.push(g[r>>2]+g[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),i.join("")}});var hr=Y(V=>{w();V.read=function(e,r,t,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,p=f>>1,s=-7,c=t?i-1:0,F=t?-1:1,m=e[r+c];for(c+=F,o=m&(1<<-s)-1,m>>=-s,s+=h;s>0;o=o*256+e[r+c],c+=F,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+e[r+c],c+=F,s-=8);if(o===0)o=1-p;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-p}return(m?-1:1)*u*Math.pow(2,o-n)};V.write=function(e,r,t,n,i,o){var u,h,f,p=o*8-i-1,s=(1<<p)-1,c=s>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,b=n?1:-1,Lr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+c>=1?r+=F/f:r+=F*Math.pow(2,1-c),r*f>=2&&(u++,f/=2),u+c>=s?(h=0,u=s):u+c>=1?(h=(r*f-1)*Math.pow(2,i),u=u+c):(h=r*Math.pow(2,c-1)*Math.pow(2,i),u=0));i>=8;e[t+m]=h&255,m+=b,h/=256,i-=8);for(u=u<<i|h,p+=i;p>0;e[t+m]=u&255,m+=b,u/=256,p-=8);e[t+m-b]|=Lr*128}});var dr=Y(k=>{"use strict";w();var K=fr(),R=hr(),pr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=Pr;k.INSPECT_MAX_BYTES=50;var G=2147483647;k.kMaxLength=G;a.TYPED_ARRAY_SUPPORT=Qr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Qr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function v(e){if(e>G)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(e)}return lr(e,r,t)}a.poolSize=8192;function lr(e,r,t){if(typeof e=="string")return Kr(e,r);if(ArrayBuffer.isView(e))return Zr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return $(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=$r(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return lr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function yr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Vr(e,r,t){return yr(e),e<=0?v(e):r!==void 0?typeof t=="string"?v(e).fill(r,t):v(e).fill(r):v(e)}a.alloc=function(e,r,t){return Vr(e,r,t)};function j(e){return yr(e),v(e<0?0:rr(e)|0)}a.allocUnsafe=function(e){return j(e)};a.allocUnsafeSlow=function(e){return j(e)};function Kr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=wr(e,r)|0,n=v(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function Z(e){for(var r=e.length<0?0:rr(e.length)|0,t=v(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Zr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return $(r.buffer,r.byteOffset,r.byteLength)}return Z(e)}function $(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function $r(e){if(a.isBuffer(e)){var r=rr(e.length)|0,t=v(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||tr(e.length)?v(0):Z(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Z(e.data)}function rr(e){if(e>=G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");return e|0}function Pr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function wr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Br(e).length;default:if(i)return n?-1:P(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=wr;function jr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return ht(this,r,t);case"utf8":case"utf-8":return mr(this,r,t);case"ascii":return at(this,r,t);case"latin1":case"binary":return ft(this,r,t);case"base64":return ot(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function S(e,r,t){var n=e[r];e[r]=e[t],e[t]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)S(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)S(this,t,t+3),S(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)S(this,t,t+7),S(this,t+1,t+6),S(this,t+2,t+5),S(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?mr(this,0,r):jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};pr&&(a.prototype[pr]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-t,f=Math.min(u,h),p=this.slice(i,o),s=r.slice(t,n),c=0;c<f;++c)if(p[c]!==s[c]){u=p[c],h=s[c];break}return u<h?-1:h<u?1:0};function xr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,tr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:cr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):cr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function cr(e,r,t,n,i){var o=1,u=e.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(m,b){return o===1?m[b]:m.readUInt16BE(b*o)}var p;if(i){var s=-1;for(p=t;p<u;p++)if(f(e,p)===f(r,s===-1?0:p-s)){if(s===-1&&(s=p),p-s+1===h)return s*o}else s!==-1&&(p-=p-s),s=-1}else for(t+h>u&&(t=u-h),p=t;p>=0;p--){for(var c=!0,F=0;F<h;F++)if(f(e,p+F)!==f(r,F)){c=!1;break}if(c)return p}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return xr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return xr(this,r,t,n,!1)};function rt(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var h=parseInt(r.substr(u*2,2),16);if(tr(h))return u;e[t+u]=h}return u}function tt(e,r,t,n){return z(P(r,e.length-t),e,t,n)}function et(e,r,t,n){return z(lt(r),e,t,n)}function nt(e,r,t,n){return z(Br(r),e,t,n)}function it(e,r,t,n){return z(yt(r,e.length-t),e,t,n)}a.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return rt(this,r,t,n);case"utf8":case"utf-8":return tt(this,r,t,n);case"ascii":case"latin1":case"binary":return et(this,r,t,n);case"base64":return nt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ot(e,r,t){return r===0&&t===e.length?K.fromByteArray(e):K.fromByteArray(e.slice(r,t))}function mr(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=t){var f,p,s,c;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[i+1],(f&192)===128&&(c=(o&31)<<6|f&63,c>127&&(u=c));break;case 3:f=e[i+1],p=e[i+2],(f&192)===128&&(p&192)===128&&(c=(o&15)<<12|(f&63)<<6|p&63,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:f=e[i+1],p=e[i+2],s=e[i+3],(f&192)===128&&(p&192)===128&&(s&192)===128&&(c=(o&15)<<18|(f&63)<<12|(p&63)<<6|s&63,c>65535&&c<1114112&&(u=c))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=h}return ut(n)}var sr=4096;function ut(e){var r=e.length;if(r<=sr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=sr));return t}function at(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function ft(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function ht(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=wt[e[o]];return i}function pt(e,r,t){for(var n=e.slice(r,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);for(var i=t,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),R.read(this,r,!1,52,8)};function x(e,r,t,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;x(this,r,t,n,o,0)}var u=1,h=0;for(this[t]=r&255;++h<n&&(u*=256);)this[t+h]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;x(this,r,t,n,o,0)}var u=n-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);x(this,r,t,n,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);x(this,r,t,n,o-1,-o)}var u=n-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||x(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function Er(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Fr(e,r,t,n,i){return r=+r,t=t>>>0,i||Er(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return Fr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return Fr(this,r,t,!1,n)};function gr(e,r,t,n,i){return r=+r,t=t>>>0,i||Er(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return gr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return gr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,i),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=h[u%f]}return this};var ct=/[^+/0-9A-Za-z-_]/g;function st(e){if(e=e.split("=")[0],e=e.trim().replace(ct,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function P(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function lt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function yt(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Br(e){return K.toByteArray(st(e))}function z(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function tr(e){return e!==e}var wt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var Ir=Y((Ut,Ur)=>{w();var l=Ur.exports={},d,A;function er(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?d=setTimeout:d=er}catch(e){d=er}try{typeof clearTimeout=="function"?A=clearTimeout:A=nr}catch(e){A=nr}})();function Ar(e){if(d===setTimeout)return setTimeout(e,0);if((d===er||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(r){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function xt(e){if(A===clearTimeout)return clearTimeout(e);if((A===nr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(e);try{return A(e)}catch(r){try{return A.call(null,e)}catch(t){return A.call(this,e)}}}var T=[],D=!1,L,J=-1;function mt(){!D||!L||(D=!1,L.length?T=L.concat(T):J=-1,T.length&&vr())}function vr(){if(!D){var e=Ar(mt);D=!0;for(var r=T.length;r;){for(L=T,T=[];++J<r;)L&&L[J].run();J=-1,r=T.length}L=null,D=!1,xt(e)}}l.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Tr(e,r)),T.length===1&&!D&&Ar(vr)};function Tr(e,r){this.fun=e,this.array=r}Tr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function U(){}l.on=U;l.addListener=U;l.once=U;l.off=U;l.removeListener=U;l.removeAllListeners=U;l.emit=U;l.prependListener=U;l.prependOnceListener=U;l.listeners=function(e){return[]};l.binding=function(e){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(e){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var C,_,It,w=Nr(()=>{C=q(dr()),_=q(Ir()),It=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var Bt={};Wr(Bt,{CopyButton:()=>gt});module.exports=Yr(Bt);w();var N=q(require("react")),O=require("@fortawesome/free-solid-svg-icons"),ir=require("@fortawesome/react-fontawesome"),Sr=q(require("classnames"));w();var Et=`.dapp-core-component__copyButton-styles__copy {
|
|
2
|
+
color: #6c757d;
|
|
3
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Et));var Cr={copy:"dapp-core-component__copyButton-styles__copy"};w();function Ft(e){let r=!1,t=document==null?void 0:document.createElement("textarea");t.value=e,t.style.position="fixed",document==null||document.body.appendChild(t),t.focus(),t.select();try{document==null||document.execCommand("copy"),r=!0}catch(n){console.error("Fallback: Oops, unable to copy",n)}return document==null||document.body.removeChild(t),r}function _r(e){return H(this,null,function*(){let r=!1;return navigator.clipboard?r=yield navigator.clipboard.writeText(e).then(function(){return!0},function(n){return console.error("Async: Could not copy text: ",n),!1}):r=Ft(e),r})}var gt=({text:e,className:r="dapp-copy-button"})=>{let[t,n]=(0,N.useState)({default:!0,success:!1});return N.default.createElement("a",{href:"/#",onClick:o=>H(void 0,null,function*(){o.preventDefault(),o.stopPropagation();let u=e&&e.trim();n({default:!1,success:yield _r(u)}),setTimeout(()=>{n({default:!0,success:!1})},1e3)}),className:(0,Sr.default)(Cr.copy,r)},t.default||!t.success?N.default.createElement(ir.FontAwesomeIcon,{icon:O.faCopy}):N.default.createElement(ir.FontAwesomeIcon,{icon:O.faCheck}))};0&&(module.exports={CopyButton});
|
|
4
|
+
/*!
|
|
5
|
+
* The buffer module from node.js, for the browser.
|
|
6
|
+
*
|
|
7
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
8
|
+
* @license MIT
|
|
9
|
+
*/
|
|
10
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
11
|
+
//# sourceMappingURL=CopyButton.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";var Ir=Object.create;var b=Object.defineProperty;var dr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Sr=Object.prototype.hasOwnProperty;var Lr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Cr(r))!Sr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=dr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Ir(_r(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),Mr=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(W=>{"use strict";F();W.byteLength=Dr;W.toByteArray=Nr;W.fromByteArray=qr;var g=[],m=[],kr=typeof Uint8Array!="undefined"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=G.length;d<er;++d)g[d]=G[d],m[G.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Dr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function br(e,r,t){return(r+t)*3/4-t}function Nr(e){var r,t=ir(e),i=t[0],n=t[1],o=new kr(br(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Wr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Yr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Wr(i));return n.join("")}function qr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Yr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(z=>{F();z.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};z.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,S=i?1:-1,Tr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=S,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=S,u/=256,c-=8);e[t+x-S]|=Tr*128}});var Er=N(R=>{"use strict";F();var J=nr(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;R.Buffer=a;R.SlowBuffer=Qr;R.INSPECT_MAX_BYTES=50;var q=2147483647;R.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=Hr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Hr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Gr(e,r);if(ArrayBuffer.isView(e))return zr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Jr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Xr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return Xr(e,r,t)};function O(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return O(e)};a.allocUnsafeSlow=function(e){return O(e)};function Gr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function Q(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function zr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Jr(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function Z(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function Qr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:K(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Vr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return it(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return tt(this,r,t);case"latin1":case"binary":return et(this,r,t);case"base64":return jr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nt(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Vr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=R.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,S){return o===1?x[S]:x.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Kr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Or(e,r,t,i){return H(K(r,e.length-t),e,t,i)}function Zr(e,r,t,i){return H(at(r),e,t,i)}function $r(e,r,t,i){return H(mr(r),e,t,i)}function Pr(e,r,t,i){return H(ht(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Kr(this,r,t,i);case"utf8":case"utf-8":return Or(this,r,t,i);case"ascii":case"latin1":case"binary":return Zr(this,r,t,i);case"base64":return $r(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function jr(e,r,t){return r===0&&t===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return rt(i)}var hr=4096;function rt(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function et(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function it(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ft[e[o]];return n}function nt(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),L.read(this,r,!1,52,8)};function w(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function yr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function wr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,4,34028234663852886e22,-34028234663852886e22),L.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return wr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return wr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,8,17976931348623157e292,-17976931348623157e292),L.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ot=/[^+/0-9A-Za-z-_]/g;function ut(e){if(e=e.split("=")[0],e=e.trim().replace(ot,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function at(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ht(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return J.toByteArray(ut(e))}function H(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ft=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((Et,Ar)=>{F();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function pt(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],M=!1,_,X=-1;function ct(){!M||!_||(M=!1,_.length?T=_.concat(T):X=-1,T.length&&gr())}function gr(){if(!M){var e=Fr(ct);M=!0;for(var r=T.length;r;){for(_=T,T=[];++X<r;)_&&_[X].run();X=-1,r=T.length}_=null,M=!1,pt(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var k,D,Ft,F=Lr(()=>{k=tr(Er()),D=tr(vr()),Ft=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var st={};Rr(st,{css:()=>Ur,default:()=>lt});module.exports=Mr(st);F();var Ur=`.dapp-core-component__copyButtonStyles__copy {
|
|
1
|
+
"use strict";var Ir=Object.create;var b=Object.defineProperty;var dr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Sr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Cr(r))!Lr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=dr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Ir(_r(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),Mr=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(W=>{"use strict";F();W.byteLength=Dr;W.toByteArray=Nr;W.fromByteArray=qr;var g=[],m=[],kr=typeof Uint8Array!="undefined"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=G.length;d<er;++d)g[d]=G[d],m[G.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Dr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function br(e,r,t){return(r+t)*3/4-t}function Nr(e){var r,t=ir(e),i=t[0],n=t[1],o=new kr(br(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Wr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Yr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Wr(i));return n.join("")}function qr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Yr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(z=>{F();z.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};z.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,L=i?1:-1,Tr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=L,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=Tr*128}});var Er=N(R=>{"use strict";F();var J=nr(),S=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;R.Buffer=a;R.SlowBuffer=Qr;R.INSPECT_MAX_BYTES=50;var q=2147483647;R.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=Hr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Hr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Gr(e,r);if(ArrayBuffer.isView(e))return zr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Jr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Xr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return Xr(e,r,t)};function O(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return O(e)};a.allocUnsafeSlow=function(e){return O(e)};function Gr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function Q(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function zr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Jr(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function Z(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function Qr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:K(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Vr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return it(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return tt(this,r,t);case"latin1":case"binary":return et(this,r,t);case"base64":return jr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nt(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Vr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=R.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Kr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Or(e,r,t,i){return H(K(r,e.length-t),e,t,i)}function Zr(e,r,t,i){return H(at(r),e,t,i)}function $r(e,r,t,i){return H(mr(r),e,t,i)}function Pr(e,r,t,i){return H(ht(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Kr(this,r,t,i);case"utf8":case"utf-8":return Or(this,r,t,i);case"ascii":case"latin1":case"binary":return Zr(this,r,t,i);case"base64":return $r(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function jr(e,r,t){return r===0&&t===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return rt(i)}var hr=4096;function rt(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function et(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function it(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ft[e[o]];return n}function nt(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),S.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),S.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),S.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),S.read(this,r,!1,52,8)};function w(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function yr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function wr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,4,34028234663852886e22,-34028234663852886e22),S.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return wr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return wr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||yr(e,r,t,8,17976931348623157e292,-17976931348623157e292),S.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ot=/[^+/0-9A-Za-z-_]/g;function ut(e){if(e=e.split("=")[0],e=e.trim().replace(ot,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function at(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ht(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return J.toByteArray(ut(e))}function H(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ft=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((Et,Ar)=>{F();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function pt(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],M=!1,_,X=-1;function ct(){!M||!_||(M=!1,_.length?T=_.concat(T):X=-1,T.length&&gr())}function gr(){if(!M){var e=Fr(ct);M=!0;for(var r=T.length;r;){for(_=T,T=[];++X<r;)_&&_[X].run();X=-1,r=T.length}_=null,M=!1,pt(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var k,D,Ft,F=Sr(()=>{k=tr(Er()),D=tr(vr()),Ft=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var st={};Rr(st,{css:()=>Ur,default:()=>lt});module.exports=Mr(st);F();var Ur=`.dapp-core-component__copyButton-styles__copy {
|
|
2
2
|
color: #6c757d;
|
|
3
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ur));var lt={copy:"dapp-core-
|
|
3
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Ur));var lt={copy:"dapp-core-component__copyButton-styles__copy"};0&&(module.exports={css});
|
|
4
4
|
/*!
|
|
5
5
|
* The buffer module from node.js, for the browser.
|
|
6
6
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* @license MIT
|
|
9
9
|
*/
|
|
10
10
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
11
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=copyButton.styles.js.map
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { WithClassnameType } from '../types';
|
|
3
|
-
export interface CopyButtonPropsType extends WithClassnameType {
|
|
4
|
-
text: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const CopyButton: ({ text, className }: CopyButtonPropsType) => JSX.Element;
|
|
1
|
+
export * from './CopyButton';
|
|
7
2
|
//# sourceMappingURL=index.d.ts.map
|