@multiversx/sdk-dapp 2.8.8 → 2.9.0-alpha.1
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/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/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/TransactionData/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/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.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/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.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/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/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/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/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/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.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/getIsTransaction.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/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/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/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- 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/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- 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/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- 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/index.js +1 -1
- package/__chunks__/{chunk-2DKPFSTT.js → chunk-25LYYPSL.js} +2 -2
- package/__chunks__/{chunk-NB6RUSDN.js → chunk-2DAZJTY7.js} +2 -2
- package/__chunks__/{chunk-ZXXEZGKT.js → chunk-2G7BO52P.js} +2 -2
- package/__chunks__/{chunk-UC3BL6OL.js → chunk-2JGSECMC.js} +2 -2
- package/__chunks__/{chunk-I6WCVWCL.js → chunk-2MN2JEL5.js} +2 -2
- package/__chunks__/{chunk-LLJWVYQI.js → chunk-2QEIR6TS.js} +2 -2
- package/__chunks__/{chunk-NQ25VRP6.js → chunk-2UFNSJOJ.js} +2 -2
- package/__chunks__/{chunk-OHZF3UCF.js → chunk-32HLRTV3.js} +2 -2
- package/__chunks__/{chunk-TF5GKSWN.js → chunk-33B2EA3V.js} +2 -2
- package/__chunks__/{chunk-JUFYXNHH.js → chunk-343YDU2S.js} +2 -2
- package/__chunks__/{chunk-QCA255CH.js → chunk-346RZSEQ.js} +2 -2
- package/__chunks__/chunk-37OCRXKG.js +2 -0
- package/__chunks__/{chunk-CUXSI37S.js → chunk-3ADB74GU.js} +2 -2
- package/__chunks__/{chunk-A2UYY3JW.js → chunk-3BQODYHQ.js} +2 -2
- package/__chunks__/{chunk-QVCVZLRQ.js → chunk-3CRW4ZUP.js} +2 -2
- package/__chunks__/{chunk-XHKQRSQL.js → chunk-3D56FBAG.js} +2 -2
- package/__chunks__/{chunk-BS36A7LR.js → chunk-3DOTBYW5.js} +2 -2
- package/__chunks__/{chunk-2EA2VIB5.js → chunk-3OTU3LGP.js} +2 -2
- package/__chunks__/{chunk-AASOI2YB.js → chunk-3VNANIQN.js} +2 -2
- package/__chunks__/chunk-3ZPW6NBW.js +2 -0
- package/__chunks__/{chunk-6OGZDOZO.js → chunk-4AXBEAVW.js} +2 -2
- package/__chunks__/{chunk-ZMSSS4XY.js → chunk-4CUEYG5L.js} +2 -2
- package/__chunks__/{chunk-4NUCA54E.js → chunk-4DXDAPGH.js} +2 -2
- package/__chunks__/{chunk-W5XV2MWO.js → chunk-4E4GWX4K.js} +2 -2
- package/__chunks__/{chunk-KN33FON4.js → chunk-4EUXBDOP.js} +2 -2
- package/__chunks__/chunk-4MGGEDE4.js +2 -0
- package/__chunks__/{chunk-VZTQJF5K.js → chunk-4YGLWJYP.js} +2 -2
- package/__chunks__/{chunk-C4IGVF3G.js → chunk-4ZPZ6AIU.js} +2 -2
- package/__chunks__/{chunk-5L64ER7E.js → chunk-54NEP2BY.js} +2 -2
- package/__chunks__/{chunk-2TL4GHIJ.js → chunk-57KTNTD4.js} +2 -2
- package/__chunks__/{chunk-QZVP3TCG.js → chunk-5A4BF2DQ.js} +2 -2
- package/__chunks__/{chunk-DXSPO7EM.js → chunk-5BOZYUAE.js} +2 -2
- package/__chunks__/chunk-5E3Y7WDX.js +2 -0
- package/__chunks__/{chunk-FCAEZL4W.js → chunk-5IU2LKSN.js} +2 -2
- package/__chunks__/{chunk-BBPTFRVE.js → chunk-5JSXSHFD.js} +2 -2
- package/__chunks__/{chunk-4A25I5EO.js → chunk-5LIDVEDY.js} +2 -2
- package/__chunks__/{chunk-F6GZHJMJ.js → chunk-5LIPZK7I.js} +2 -2
- package/__chunks__/{chunk-CMG3PZXL.js → chunk-5SFT27AY.js} +2 -2
- package/__chunks__/chunk-5T2INUJ2.js +2 -0
- package/__chunks__/{chunk-4JAU6EN6.js → chunk-62SL73B6.js} +2 -2
- package/__chunks__/chunk-65MQPHO4.js +2 -0
- package/__chunks__/chunk-6A6EWHUH.js +2 -0
- package/__chunks__/{chunk-I5GXT2NM.js → chunk-6ALJIJJR.js} +2 -2
- package/__chunks__/{chunk-GQPWCE2U.js → chunk-6CPLHN5F.js} +2 -2
- package/__chunks__/{chunk-SKUZQREX.js → chunk-6NPKQKN5.js} +2 -2
- package/__chunks__/{chunk-2UFASAE6.js → chunk-6O5L57GH.js} +2 -2
- package/__chunks__/{chunk-DUYNNDUF.js → chunk-6PSLWD7K.js} +2 -2
- package/__chunks__/{chunk-DSXLBCJZ.js → chunk-6QQMWPZL.js} +2 -2
- package/__chunks__/{chunk-GMVQCQ3Y.js → chunk-6T4HLUJ5.js} +2 -2
- package/__chunks__/{chunk-EDUYDVLW.js → chunk-6TWOJZGW.js} +2 -2
- package/__chunks__/chunk-6W7S3EE3.js +2 -0
- package/__chunks__/{chunk-BWYB6R6W.js → chunk-73F5VFES.js} +2 -2
- package/__chunks__/{chunk-3RPV34NB.js → chunk-7CR6PT46.js} +2 -2
- package/__chunks__/{chunk-OQIVIERX.js → chunk-7G3CGRHQ.js} +2 -2
- package/__chunks__/{chunk-6DTOQEIQ.js → chunk-7NYPVHED.js} +2 -2
- package/__chunks__/{chunk-ZF6KDUMI.js → chunk-7RDCJEBM.js} +2 -2
- package/__chunks__/{chunk-X6LCE6DY.js → chunk-7S2XISHG.js} +2 -2
- package/__chunks__/{chunk-W4D7AG72.js → chunk-7UD2BXEK.js} +2 -2
- package/__chunks__/{chunk-3SGMXEQG.js → chunk-7XH5QF3M.js} +2 -2
- package/__chunks__/chunk-A3YTVQRT.js +2 -0
- package/__chunks__/chunk-A453JAS3.js +2 -0
- package/__chunks__/{chunk-KDE7GIIV.js → chunk-A6UEBWYM.js} +2 -2
- package/__chunks__/chunk-ABVMFLA3.js +2 -0
- package/__chunks__/{chunk-FOSUR33Y.js → chunk-AJBKM66B.js} +2 -2
- package/__chunks__/{chunk-4PGVVXDY.js → chunk-AK245ZB2.js} +2 -2
- package/__chunks__/{chunk-JYF2TWOA.js → chunk-ALP3UNP6.js} +2 -2
- package/__chunks__/{chunk-54UVT7XD.js → chunk-AMFO52WL.js} +2 -2
- package/__chunks__/{chunk-L6O2YAE3.js → chunk-AOEAP24C.js} +2 -2
- package/__chunks__/{chunk-QHROAYMM.js → chunk-ARBTLT3C.js} +2 -2
- package/__chunks__/chunk-B3TAZ7VX.js +2 -0
- package/__chunks__/{chunk-RRJM3255.js → chunk-B4DRNYML.js} +2 -2
- package/__chunks__/chunk-BAT5BA5V.js +2 -0
- package/__chunks__/{chunk-SLKZO7VS.js → chunk-BKMSVP62.js} +2 -2
- package/__chunks__/{chunk-GIZIGQZP.js → chunk-BKSSTINX.js} +2 -2
- package/__chunks__/{chunk-JJGJCN5V.js → chunk-BMG5SADY.js} +2 -2
- package/__chunks__/chunk-BRPCFDIZ.js +2 -0
- package/__chunks__/{chunk-5IKM5Q2S.js → chunk-BTUNYV43.js} +2 -2
- package/__chunks__/{chunk-OHTQWFS7.js → chunk-BVRV3PPZ.js} +2 -2
- package/__chunks__/chunk-BZONU76B.js +2 -0
- package/__chunks__/{chunk-NY463RKX.js → chunk-C3S2OS2F.js} +2 -2
- package/__chunks__/{chunk-WUF7FKNG.js → chunk-C54IH7AJ.js} +2 -2
- package/__chunks__/{chunk-UWE6TJ47.js → chunk-C7BZLCLN.js} +2 -2
- package/__chunks__/chunk-CDW2662X.js +2 -0
- package/__chunks__/{chunk-HJGXNUQZ.js → chunk-CFAUACCS.js} +2 -2
- package/__chunks__/{chunk-POFMPPLE.js → chunk-CJEHVP77.js} +2 -2
- package/__chunks__/{chunk-XHBL2F6G.js → chunk-CNNCGA7P.js} +2 -2
- package/__chunks__/chunk-COL2EXNW.js +2 -0
- package/__chunks__/{chunk-62DW3AHE.js → chunk-CPACYSUZ.js} +2 -2
- package/__chunks__/chunk-CSS5DPJE.js +2 -0
- package/__chunks__/{chunk-22AVS7E3.js → chunk-CTO4KDRF.js} +2 -2
- package/__chunks__/{chunk-ZJECAQPC.js → chunk-CWZS67S7.js} +2 -2
- package/__chunks__/{chunk-AF4A42IE.js → chunk-CXXTFRHA.js} +2 -2
- package/__chunks__/{chunk-MMCZ3ASQ.js → chunk-CZZL3SSJ.js} +2 -2
- package/__chunks__/{chunk-AO6HRN56.js → chunk-D6AVFA2D.js} +2 -2
- package/__chunks__/{chunk-XDH6CNY3.js → chunk-DLO34CIZ.js} +2 -2
- package/__chunks__/{chunk-OIT7AZTZ.js → chunk-DQML7BH2.js} +2 -2
- package/__chunks__/{chunk-ZJQA5LBM.js → chunk-DTN6DYVS.js} +2 -2
- package/__chunks__/chunk-DXE4AAU7.js +2 -0
- package/__chunks__/{chunk-PYO6CNJL.js → chunk-E36MIU6P.js} +2 -2
- package/__chunks__/chunk-E4X4P3T6.js +2 -0
- package/__chunks__/{chunk-IAU7HZOA.js → chunk-EFMJXVWX.js} +2 -2
- package/__chunks__/{chunk-XP6VAPF7.js → chunk-EHIOPQMM.js} +2 -2
- package/__chunks__/chunk-EPJMBI2O.js +2 -0
- package/__chunks__/{chunk-BTPNQ5FQ.js → chunk-ESLOIYNE.js} +2 -2
- package/__chunks__/{chunk-WEXCOWWF.js → chunk-EXCSAEHQ.js} +2 -2
- package/__chunks__/chunk-EZWQ7DMD.js +2 -0
- package/__chunks__/{chunk-OMSJSEKB.js → chunk-F2HBY53M.js} +2 -2
- package/__chunks__/{chunk-ATNLLNOK.js → chunk-FIPS3NHS.js} +2 -2
- package/__chunks__/chunk-FPDWY2JO.js +2 -0
- package/__chunks__/{chunk-GPLG6N3Y.js → chunk-G3RFZTTV.js} +2 -2
- package/__chunks__/{chunk-CSUG3NQC.js → chunk-GRYUK7ET.js} +2 -2
- package/__chunks__/{chunk-IDNYXXUU.js → chunk-H3R6VXAV.js} +2 -2
- package/__chunks__/{chunk-OMBMT76D.js → chunk-HACCGAKC.js} +2 -2
- package/__chunks__/chunk-HIX6QXZ4.js +2 -0
- package/__chunks__/{chunk-ZPNSZFF2.js → chunk-HJ7GDMMX.js} +2 -2
- package/__chunks__/{chunk-5ZHWPLU6.js → chunk-HOM67ZP7.js} +2 -2
- package/__chunks__/{chunk-B3LFKKXC.js → chunk-HPXVUIJL.js} +2 -2
- package/__chunks__/{chunk-34MJDZ4X.js → chunk-HWLMQLGK.js} +2 -2
- package/__chunks__/{chunk-HLAK3KWC.js → chunk-I4BUST3H.js} +2 -2
- package/__chunks__/{chunk-MCPXAAQH.js → chunk-I6GRLA2C.js} +2 -2
- package/__chunks__/{chunk-NY3SRBV3.js → chunk-IB6Q7I2M.js} +2 -2
- package/__chunks__/{chunk-Q5JVMVSG.js → chunk-IMJ3U2BY.js} +2 -2
- package/__chunks__/{chunk-Q2LHZHWH.js → chunk-IOQUQ7V7.js} +2 -2
- package/__chunks__/chunk-IYGHEIZB.js +2 -0
- package/__chunks__/{chunk-YPLFH5NC.js → chunk-J3Q7UDAZ.js} +2 -2
- package/__chunks__/{chunk-PFP32GAJ.js → chunk-J6HSKOGJ.js} +2 -2
- package/__chunks__/{chunk-6K3QMAWT.js → chunk-J7NMG22C.js} +2 -2
- package/__chunks__/chunk-JCD6DJSC.js +2 -0
- package/__chunks__/{chunk-3AWXVQPI.js → chunk-JDVLHQF6.js} +2 -2
- package/__chunks__/{chunk-K2TOOZFP.js → chunk-JIXAK2AC.js} +2 -2
- package/__chunks__/{chunk-SY4VVHFA.js → chunk-JJWH3JYM.js} +2 -2
- package/__chunks__/{chunk-FFSZJG62.js → chunk-JK6ABF64.js} +2 -2
- package/__chunks__/{chunk-IOSHQZNU.js → chunk-JK6EDPQT.js} +2 -2
- package/__chunks__/{chunk-CURMR3DQ.js → chunk-JRJFNQAZ.js} +2 -2
- package/__chunks__/chunk-JWP3WLIN.js +2 -0
- package/__chunks__/{chunk-F4OB26CT.js → chunk-JWSBC5DB.js} +2 -2
- package/__chunks__/{chunk-JKQBUYK2.js → chunk-K5UIZVZV.js} +2 -2
- package/__chunks__/{chunk-ZAKI6HUY.js → chunk-KAKTGT5L.js} +2 -2
- package/__chunks__/{chunk-E63OT5BJ.js → chunk-KDEQ2GAX.js} +2 -2
- package/__chunks__/{chunk-2CN5KU25.js → chunk-KEIOQVXN.js} +2 -2
- package/__chunks__/{chunk-QDCY7OOZ.js → chunk-KG3U55NF.js} +2 -2
- package/__chunks__/{chunk-QN46IB4K.js → chunk-KHHNKZRB.js} +2 -2
- package/__chunks__/{chunk-VCAA4VGH.js → chunk-KV6GSWNL.js} +2 -2
- package/__chunks__/{chunk-XIS6CC4U.js → chunk-KVNDDYVB.js} +2 -2
- package/__chunks__/{chunk-JKA54IGW.js → chunk-KYC5JNJB.js} +2 -2
- package/__chunks__/{chunk-6QZHGHIR.js → chunk-KYVILTBF.js} +2 -2
- package/__chunks__/chunk-L5DW2DTN.js +2 -0
- package/__chunks__/chunk-L5UKH2NP.js +2 -0
- package/__chunks__/{chunk-TIXHEZXL.js → chunk-LES3U47Z.js} +2 -2
- package/__chunks__/{chunk-U2U4MUGT.js → chunk-LF6FN6K3.js} +2 -2
- package/__chunks__/{chunk-FHE5FVE7.js → chunk-LGPEIIM7.js} +2 -2
- package/__chunks__/{chunk-B47CQIA7.js → chunk-LJ2OXL2R.js} +2 -2
- package/__chunks__/{chunk-HYYC56WM.js → chunk-LLTQNIPQ.js} +2 -2
- package/__chunks__/{chunk-TMWKLAQA.js → chunk-LRZYNP4X.js} +2 -2
- package/__chunks__/{chunk-WGZ6HMXJ.js → chunk-LSJH4COT.js} +2 -2
- package/__chunks__/{chunk-FKFPHPFX.js → chunk-LU3DM6HR.js} +2 -2
- package/__chunks__/chunk-LWC25W2W.js +2 -0
- package/__chunks__/{chunk-AY5CRAVB.js → chunk-LWE4XOKK.js} +2 -2
- package/__chunks__/{chunk-HHGHERF3.js → chunk-M4KXOW7P.js} +2 -2
- package/__chunks__/{chunk-JCYM4TK6.js → chunk-MC4SKRI3.js} +2 -2
- package/__chunks__/{chunk-SIEJ3BGE.js → chunk-MCGMQBME.js} +2 -2
- package/__chunks__/{chunk-QANWJPQL.js → chunk-MCX4AA63.js} +2 -2
- package/__chunks__/{chunk-5RS2KBDW.js → chunk-MDGIGD6R.js} +2 -2
- package/__chunks__/{chunk-ZU7HQJ2E.js → chunk-MIKIMQR2.js} +2 -2
- package/__chunks__/{chunk-KGF5QO63.js → chunk-MOA4IRT5.js} +2 -2
- package/__chunks__/{chunk-ITRHXPQX.js → chunk-MWHEEN6B.js} +2 -2
- package/__chunks__/chunk-MYN7DB3X.js +2 -0
- package/__chunks__/{chunk-4KWGNHHC.js → chunk-N45VBFNK.js} +2 -2
- package/__chunks__/chunk-NA2AEGMU.js +2 -0
- package/__chunks__/{chunk-35CA4MUL.js → chunk-NEHGYCY2.js} +2 -2
- package/__chunks__/{chunk-JWAY75CZ.js → chunk-NJQRX7E2.js} +2 -2
- package/__chunks__/{chunk-PNLICGB5.js → chunk-NQ247DLE.js} +2 -2
- package/__chunks__/chunk-NTCEKYNN.js +2 -0
- package/__chunks__/{chunk-WFUHPFAH.js → chunk-NYNRNXOR.js} +2 -2
- package/__chunks__/{chunk-7HKAHQUX.js → chunk-O4ZYTYXZ.js} +2 -2
- package/__chunks__/{chunk-LZ4RLZRI.js → chunk-OAXLOJDD.js} +2 -2
- package/__chunks__/chunk-OE5DHTVR.js +2 -0
- package/__chunks__/chunk-OGZP3W4S.js +2 -0
- package/__chunks__/{chunk-CDZFXCBL.js → chunk-OPNNXGAJ.js} +2 -2
- package/__chunks__/chunk-OXJW5VJL.js +2 -0
- package/__chunks__/{chunk-OARRFKEW.js → chunk-P6MRRO6I.js} +2 -2
- package/__chunks__/{chunk-XRA7MBOO.js → chunk-PCHRWVXC.js} +2 -2
- package/__chunks__/{chunk-FOTIYLGS.js → chunk-PGYJ74AD.js} +2 -2
- package/__chunks__/{chunk-67CWWMJV.js → chunk-PHYN544Z.js} +2 -2
- package/__chunks__/{chunk-DF2AQYO7.js → chunk-PMREAIGI.js} +2 -2
- package/__chunks__/{chunk-NTZ4J3ZX.js → chunk-PNSNXL7L.js} +2 -2
- package/__chunks__/{chunk-RDJETZ3F.js → chunk-PXUGFT47.js} +2 -2
- package/__chunks__/{chunk-L4OGNGVR.js → chunk-Q3OVBMP3.js} +2 -2
- package/__chunks__/{chunk-R5Z4JV3X.js → chunk-Q5WC7I3O.js} +2 -2
- package/__chunks__/{chunk-QZWFDZZ3.js → chunk-QD5QDTC3.js} +2 -2
- package/__chunks__/{chunk-42I454QK.js → chunk-QGGGF3OX.js} +2 -2
- package/__chunks__/{chunk-GW6MOKMY.js → chunk-QNUO32JN.js} +2 -2
- package/__chunks__/{chunk-3WJ37IJQ.js → chunk-QOZBVOHT.js} +2 -2
- package/__chunks__/{chunk-ANAT47NF.js → chunk-R4B6ID2N.js} +2 -2
- package/__chunks__/{chunk-RNVBV4W2.js → chunk-R6AS2UYG.js} +2 -2
- package/__chunks__/{chunk-5F5AUJIV.js → chunk-RLVLE6UU.js} +2 -2
- package/__chunks__/{chunk-SBWX3IYZ.js → chunk-S2KUPUGA.js} +2 -2
- package/__chunks__/chunk-S4BLIW3B.js +2 -0
- package/__chunks__/{chunk-GSH4BYXB.js → chunk-S653XWKA.js} +2 -2
- package/__chunks__/{chunk-PWZQTMIM.js → chunk-SBN47C2G.js} +2 -2
- package/__chunks__/{chunk-J36BPK32.js → chunk-SFP5Q2SB.js} +2 -2
- package/__chunks__/{chunk-GG736LLW.js → chunk-SGNT3E2X.js} +2 -2
- package/__chunks__/{chunk-7C6XIICR.js → chunk-SLZBO3FX.js} +2 -2
- package/__chunks__/{chunk-L6CEZHRZ.js → chunk-SXJLOBGK.js} +2 -2
- package/__chunks__/{chunk-CDWLWJH3.js → chunk-SYT2T7G2.js} +2 -2
- package/__chunks__/{chunk-SN6WAH6B.js → chunk-SZ3VLYKT.js} +2 -2
- package/__chunks__/{chunk-IPE5DLSE.js → chunk-T2CFMPMF.js} +2 -2
- package/__chunks__/{chunk-GBQ5D4O5.js → chunk-T2MFBGAA.js} +2 -2
- package/__chunks__/{chunk-E7PHXPI7.js → chunk-T2MIRLFN.js} +2 -2
- package/__chunks__/{chunk-AM7A2OOW.js → chunk-T34J5F2S.js} +2 -2
- package/__chunks__/chunk-T37QL64L.js +2 -0
- package/__chunks__/{chunk-KMTJAVQJ.js → chunk-T3NGVEED.js} +2 -2
- package/__chunks__/{chunk-AZWOFPFX.js → chunk-T4Q37HLR.js} +2 -2
- package/__chunks__/{chunk-ULRLEVOX.js → chunk-TAYARQBC.js} +2 -2
- package/__chunks__/{chunk-3P3MCUKK.js → chunk-TFQXTJWG.js} +2 -2
- package/__chunks__/chunk-TFVFRNSM.js +2 -0
- package/__chunks__/{chunk-JRM3LDSG.js → chunk-TGPRRERJ.js} +2 -2
- package/__chunks__/{chunk-4HLBQPQN.js → chunk-TJUHE354.js} +2 -2
- package/__chunks__/chunk-TKQGS7L2.js +2 -0
- package/__chunks__/{chunk-E66WVYJC.js → chunk-TTBVJAYG.js} +2 -2
- package/__chunks__/{chunk-GJLPTW4K.js → chunk-TTZVNWAK.js} +2 -2
- package/__chunks__/{chunk-Y6PJXZ2E.js → chunk-TWSAY73D.js} +2 -2
- package/__chunks__/{chunk-EDAS6Z7S.js → chunk-TZ6IR7KY.js} +2 -2
- package/__chunks__/{chunk-TZY5QRK7.js → chunk-U2ELIFGD.js} +2 -2
- package/__chunks__/{chunk-GSUIWNNM.js → chunk-U7BHVZDF.js} +2 -2
- package/__chunks__/{chunk-A2D7YVXP.js → chunk-UB7XMLMC.js} +2 -2
- package/__chunks__/{chunk-QM7QGMRH.js → chunk-UFE22DXI.js} +2 -2
- package/__chunks__/chunk-UGAJ6X3Z.js +2 -0
- package/__chunks__/chunk-UGJIORNP.js +2 -0
- package/__chunks__/{chunk-25PTVHEB.js → chunk-UIXYMFD4.js} +2 -2
- package/__chunks__/{chunk-4QHVTLCL.js → chunk-UM2Z6I3Z.js} +2 -2
- package/__chunks__/{chunk-QWB6ASJZ.js → chunk-UNW4PYCC.js} +2 -2
- package/__chunks__/{chunk-UIRTEEAJ.js → chunk-UPCMC3JF.js} +2 -2
- package/__chunks__/{chunk-ZUJVT2UK.js → chunk-UWZL6MUF.js} +2 -2
- package/__chunks__/{chunk-U53EBQ6E.js → chunk-UZ5EL5IA.js} +2 -2
- package/__chunks__/{chunk-W6TJJEHF.js → chunk-VGVAZOOL.js} +2 -2
- package/__chunks__/{chunk-MDNDUSGB.js → chunk-VHHIARAI.js} +2 -2
- package/__chunks__/{chunk-AWP342D7.js → chunk-VOS5AZ4K.js} +2 -2
- package/__chunks__/{chunk-Z7JWZURJ.js → chunk-VZZVQSTN.js} +2 -2
- package/__chunks__/{chunk-ZOMDIW6A.js → chunk-W4GD6OCO.js} +2 -2
- package/__chunks__/{chunk-VU5G7W7V.js → chunk-W5D3A5ES.js} +2 -2
- package/__chunks__/{chunk-6XRDVX6C.js → chunk-WB2WVDZA.js} +2 -2
- package/__chunks__/{chunk-LBJUKBPW.js → chunk-WCGXNTPB.js} +2 -2
- package/__chunks__/{chunk-SUHRUIOX.js → chunk-WJHMRQCO.js} +2 -2
- package/__chunks__/chunk-WR6IIZFW.js +2 -0
- package/__chunks__/{chunk-EKK5P7LA.js → chunk-WRKOOEXZ.js} +2 -2
- package/__chunks__/{chunk-OR4L5DIF.js → chunk-WRKQTXD4.js} +2 -2
- package/__chunks__/{chunk-5XAXZ3NX.js → chunk-WU2RFM5A.js} +2 -2
- package/__chunks__/{chunk-7CGLDJOD.js → chunk-X7SBGOMA.js} +2 -2
- package/__chunks__/{chunk-BB5K7AMG.js → chunk-XACM7U6A.js} +2 -2
- package/__chunks__/{chunk-OOZSFHYH.js → chunk-XARXYP2R.js} +2 -2
- package/__chunks__/{chunk-DCYIMALR.js → chunk-XGTZDEYC.js} +2 -2
- package/__chunks__/{chunk-UKVVZZPC.js → chunk-XRHEAXKK.js} +2 -2
- package/__chunks__/{chunk-OYAY4A6E.js → chunk-XVZERATD.js} +2 -2
- package/__chunks__/{chunk-TXM7RATR.js → chunk-Y5PCCHR4.js} +2 -2
- package/__chunks__/{chunk-L4RGRP2I.js → chunk-Y7U5PXM4.js} +2 -2
- package/__chunks__/chunk-YABBPNUR.js +2 -0
- package/__chunks__/{chunk-6PZJ6OYX.js → chunk-YCWMLUF4.js} +2 -2
- package/__chunks__/{chunk-5X3T3BM4.js → chunk-YGKDW2MQ.js} +2 -2
- package/__chunks__/{chunk-ZCM6OSDK.js → chunk-YJXND7MN.js} +2 -2
- package/__chunks__/{chunk-X3JF7AJ7.js → chunk-YLMQQGTH.js} +2 -2
- package/__chunks__/{chunk-RVD7ASJL.js → chunk-YRIWEATY.js} +2 -2
- package/__chunks__/{chunk-NYM7F3NU.js → chunk-YRLJP2A7.js} +2 -2
- package/__chunks__/{chunk-O7TAHBTL.js → chunk-YRR6KBN2.js} +2 -2
- package/__chunks__/{chunk-WZ4T4C6J.js → chunk-YRS6U35R.js} +2 -2
- package/__chunks__/chunk-YW6K2R7N.js +2 -0
- package/__chunks__/chunk-YWMWYHIA.js +2 -0
- package/__chunks__/{chunk-EVWIXAZV.js → chunk-YYBTFRCM.js} +2 -2
- package/__chunks__/{chunk-FNE7PA64.js → chunk-Z2VZSXDK.js} +2 -2
- package/__chunks__/{chunk-RNUOTUNR.js → chunk-Z3ZWK4EM.js} +2 -2
- package/__chunks__/{chunk-PEYRK6DJ.js → chunk-Z4ABT7NG.js} +2 -2
- package/__chunks__/{chunk-Z56HIYKS.js → chunk-ZCM6WCXA.js} +2 -2
- package/__chunks__/{chunk-LO2RKWHN.js → chunk-ZMRSOKUW.js} +2 -2
- package/__chunks__/chunk-ZQIOXJ4W.js +2 -0
- package/__chunks__/chunk-ZTWKQMJR.js +2 -0
- package/__chunks__/chunk-ZX7JX6JP.js +2 -0
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +6 -6
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/index.js +9 -9
- package/__commonjs/UI/UsdValue/UsdValue.js +2 -2
- package/__commonjs/UI/UsdValue/index.js +2 -2
- package/__commonjs/UI/index.js +74 -74
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +7 -7
- package/__commonjs/UI/pages/UnlockPage/index.js +10 -10
- package/__commonjs/UI/pages/index.js +10 -10
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +5 -5
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
- package/__commonjs/UI/walletConnect/index.js +5 -5
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/server.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/apiCalls/configuration/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/account/index.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/__commonjs/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/hooks/userInterface/index.js +1 -1
- package/__commonjs/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/__commonjs/providers/accountProvider.js +1 -1
- package/__commonjs/providers/index.js +1 -1
- package/__commonjs/providers/utils.js +1 -1
- package/__commonjs/providers/webviewProvider/index.js +1 -1
- package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
- package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
- package/__commonjs/reduxStore/DappProviderContext.js +1 -1
- package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/__commonjs/reduxStore/persistConfig.js +1 -1
- package/__commonjs/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/helpers.js +1 -1
- package/__commonjs/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/index.js +1 -1
- package/__commonjs/reduxStore/slices/modalsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/__commonjs/reduxStore/store.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/__commonjs/services/transactions/isCrossShardTransaction.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/services/transactions/utils.js +1 -1
- package/__commonjs/types/enums.types.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/utils/account/getAccount.js +1 -1
- package/__commonjs/utils/account/getAccountProviderType.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
- package/__commonjs/utils/account/getLatestNonce.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/account/setNonce.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/index.js +2 -2
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
- package/__commonjs/utils/operations/denominate.js +1 -1
- package/__commonjs/utils/operations/formatAmount.js +1 -1
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/operations/nominate.js +1 -1
- package/__commonjs/utils/platform/detectCurrentPlatform.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/toasts/customToastsActions.js +1 -1
- package/__commonjs/utils/toasts/index.js +1 -1
- package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +3 -3
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionStateByStatus.js +1 -1
- package/__commonjs/utils/validation/maxDecimals.js +1 -1
- package/__commonjs/web/hooks/index.js +1 -1
- package/__commonjs/web/hooks/useIdleTimer.js +1 -1
- package/__commonjs/web/index.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.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/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.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/constants/index.js +1 -1
- package/constants/network.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/useGetAccountProvider.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/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.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/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/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.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/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +2 -2
- package/providers/accountProvider.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +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/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.d.ts +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/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.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/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/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/isCrossShardTransaction.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/services/transactions/utils.js +1 -1
- package/types/enums.types.d.ts +2 -1
- package/types/enums.types.js +1 -1
- package/types/index.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.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/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/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/platform/detectCurrentPlatform.js +1 -1
- package/utils/smartContracts.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/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.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/getTokenFromData.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionStatusText.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/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/transactions/transactionStateByStatus.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.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/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/__chunks__/chunk-2ZTVJLOJ.js +0 -2
- package/__chunks__/chunk-37KH4Z57.js +0 -2
- package/__chunks__/chunk-3O4GBHR3.js +0 -2
- package/__chunks__/chunk-43CTUMZY.js +0 -2
- package/__chunks__/chunk-4DKSPOQC.js +0 -2
- package/__chunks__/chunk-52LWAKUU.js +0 -2
- package/__chunks__/chunk-66VVLQWA.js +0 -2
- package/__chunks__/chunk-6E7UMUAT.js +0 -2
- package/__chunks__/chunk-7PMD4JRS.js +0 -2
- package/__chunks__/chunk-A274U45O.js +0 -2
- package/__chunks__/chunk-A6R7V6U3.js +0 -2
- package/__chunks__/chunk-AJX7U6NK.js +0 -2
- package/__chunks__/chunk-BBDZAYAU.js +0 -2
- package/__chunks__/chunk-BFSRVA3J.js +0 -2
- package/__chunks__/chunk-BQ4N52MW.js +0 -2
- package/__chunks__/chunk-DKQCBXAE.js +0 -2
- package/__chunks__/chunk-EIE6T4QD.js +0 -2
- package/__chunks__/chunk-F7E7BINB.js +0 -2
- package/__chunks__/chunk-FA2UEZM2.js +0 -2
- package/__chunks__/chunk-FLZGZET2.js +0 -2
- package/__chunks__/chunk-FRNVGEYR.js +0 -2
- package/__chunks__/chunk-GNEQWXJE.js +0 -2
- package/__chunks__/chunk-GZIWNMCW.js +0 -2
- package/__chunks__/chunk-IL5JDJWD.js +0 -2
- package/__chunks__/chunk-IUPXRKIH.js +0 -2
- package/__chunks__/chunk-JDGBXBDB.js +0 -2
- package/__chunks__/chunk-KW6HYOXT.js +0 -2
- package/__chunks__/chunk-LIOPBJAR.js +0 -2
- package/__chunks__/chunk-LLFZUOHV.js +0 -2
- package/__chunks__/chunk-LNMQ6RED.js +0 -2
- package/__chunks__/chunk-MBF7VDMJ.js +0 -2
- package/__chunks__/chunk-MQNEHNFG.js +0 -2
- package/__chunks__/chunk-OEMRN6RA.js +0 -2
- package/__chunks__/chunk-OWV63OFS.js +0 -2
- package/__chunks__/chunk-P7ETYQLM.js +0 -2
- package/__chunks__/chunk-PJU2UKAU.js +0 -2
- package/__chunks__/chunk-QWA762UQ.js +0 -2
- package/__chunks__/chunk-RLBSVH7A.js +0 -2
- package/__chunks__/chunk-UXUA2YCT.js +0 -2
- package/__chunks__/chunk-VLFWEDOB.js +0 -2
- package/__chunks__/chunk-VMEHK3CK.js +0 -2
- package/__chunks__/chunk-VRE5TYWU.js +0 -2
- package/__chunks__/chunk-W5XMZRTH.js +0 -2
- package/__chunks__/chunk-WDVYNUMZ.js +0 -2
- package/__chunks__/chunk-Y4MABHXD.js +0 -2
- package/__chunks__/chunk-YR7YPWTF.js +0 -2
- package/__chunks__/chunk-ZJPGJ7QI.js +0 -2
- package/__chunks__/chunk-ZSB5Q3QB.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ei=Object.create;var Se=Object.defineProperty,ti=Object.defineProperties,ri=Object.getOwnPropertyDescriptor,ni=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,ii=Object.getPrototypeOf,At=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable;var hr=(e,t,r)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))At.call(t,r)&&hr(e,r,t[r]);if(Me)for(var r of Me(t))xr.call(t,r)&&hr(e,r,t[r]);return e},w=(e,t)=>ti(e,ni(t));var Sr=(e,t)=>{var r={};for(var o in e)At.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&xr.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},wr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oi(t))!At.call(e,i)&&i!==r&&Se(e,i,{get:()=>t[i],enumerable:!(o=ri(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?ei(ii(e)):{},wr(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),we=e=>wr(Se({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var vr=Oe(Fe=>{"use strict";n();Fe.byteLength=ai;Fe.toByteArray=li;Fe.fromByteArray=di;var U=[],M=[],si=typeof Uint8Array!="undefined"?Uint8Array:Array,It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,Ar=It.length;ne<Ar;++ne)U[ne]=It[ne],M[It.charCodeAt(ne)]=ne;var ne,Ar;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Ir(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ai(e){var t=Ir(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ci(e,t,r){return(t+r)*3/4-r}function li(e){var t,r=Ir(e),o=r[0],i=r[1],l=new si(ci(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function pi(e){return U[e>>18&63]+U[e>>12&63]+U[e>>6&63]+U[e&63]}function ui(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(pi(o));return i.join("")}function di(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(ui(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(U[t>>2]+U[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(U[t>>10]+U[t>>4&63]+U[t<<2&63]+"=")),i.join("")}});var br=Oe(vt=>{n();vt.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,x=-7,T=r?i-1:0,A=r?-1:1,L=e[t+T];for(T+=A,l=L&(1<<-x)-1,L>>=-x,x+=m;x>0;l=l*256+e[t+T],T+=A,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+T],T+=A,x-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(L?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(L?-1:1)*p*Math.pow(2,l-o)};vt.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,x=(1<<g)-1,T=x>>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=o?0:l-1,b=o?1:-1,R=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+T>=1?t+=A/d:t+=A*Math.pow(2,1-T),t*d>=2&&(p++,d/=2),p+T>=x?(m=0,p=x):p+T>=1?(m=(t*d-1)*Math.pow(2,i),p=p+T):(m=t*Math.pow(2,T-1)*Math.pow(2,i),p=0));i>=8;e[r+L]=m&255,L+=b,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+L]=p&255,L+=b,p/=256,g-=8);e[r+L-b]|=R*128}});var Br=Oe(ue=>{"use strict";n();var bt=vr(),pe=br(),kr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ue.Buffer=u;ue.SlowBuffer=hi;ue.INSPECT_MAX_BYTES=50;var Be=2147483647;ue.kMaxLength=Be;u.TYPED_ARRAY_SUPPORT=mi();!u.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 mi(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function q(e){if(e>Be)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Nt(e)}return Nr(e,t,r)}u.poolSize=8192;function Nr(e,t,r){if(typeof e=="string")return fi(e,t);if(ArrayBuffer.isView(e))return Ti(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($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return Et(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=yi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Nr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Dr(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 gi(e,t,r){return Dr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return gi(e,t,r)};function Nt(e){return Dr(e),q(e<0?0:Dt(e)|0)}u.allocUnsafe=function(e){return Nt(e)};u.allocUnsafeSlow=function(e){return Nt(e)};function fi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Cr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function kt(e){for(var t=e.length<0?0:Dt(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ti(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return Et(t.buffer,t.byteOffset,t.byteLength)}return kt(e)}function Et(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function yi(e){if(u.isBuffer(e)){var t=Dt(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Ct(e.length)?q(0):kt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return kt(e.data)}function Dt(e){if(e>=Be)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Be.toString(16)+" bytes");return e|0}function hi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Cr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(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 r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Lt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Fr(e).length;default:if(i)return o?-1:Lt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Cr;function xi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ni(this,t,r);case"utf8":case"utf-8":return Pr(this,t,r);case"ascii":return Ei(this,t,r);case"latin1":case"binary":return Li(this,t,r);case"base64":return bi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Di(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function oe(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)oe(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)oe(this,r,r+3),oe(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)oe(this,r,r+7),oe(this,r+1,r+6),oe(this,r+2,r+5),oe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Pr(this,0,t):xi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=ue.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};kr&&(u.prototype[kr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),g=this.slice(i,l),x=t.slice(r,o),T=0;T<d;++T)if(g[T]!==x[T]){p=g[T],m=x[T];break}return p<m?-1:m<p?1:0};function Rr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Ct(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Er(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Er(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Er(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(L,b){return l===1?L[b]:L.readUInt16BE(b*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===m)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var T=!0,A=0;A<m;A++)if(d(e,g+A)!==d(t,A)){T=!1;break}if(T)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Rr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Rr(this,t,r,o,!1)};function Si(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Ct(m))return p;e[r+p]=m}return p}function wi(e,t,r,o){return Ue(Lt(t,e.length-r),e,r,o)}function Ai(e,t,r,o){return Ue(Pi(t),e,r,o)}function Ii(e,t,r,o){return Ue(Fr(t),e,r,o)}function vi(e,t,r,o){return Ue(_i(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Si(this,t,r,o);case"utf8":case"utf-8":return wi(this,t,r,o);case"ascii":case"latin1":case"binary":return Ai(this,t,r,o);case"base64":return Ii(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vi(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bi(e,t,r){return t===0&&r===e.length?bt.fromByteArray(e):bt.fromByteArray(e.slice(t,r))}function Pr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,g,x,T;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(T=(l&31)<<6|d&63,T>127&&(p=T));break;case 3:d=e[i+1],g=e[i+2],(d&192)===128&&(g&192)===128&&(T=(l&15)<<12|(d&63)<<6|g&63,T>2047&&(T<55296||T>57343)&&(p=T));break;case 4:d=e[i+1],g=e[i+2],x=e[i+3],(d&192)===128&&(g&192)===128&&(x&192)===128&&(T=(l&15)<<18|(d&63)<<12|(g&63)<<6|x&63,T>65535&&T<1114112&&(p=T))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return ki(o)}var Lr=4096;function ki(e){var t=e.length;if(t<=Lr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Lr));return r}function Ei(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Li(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Ni(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Mi[e[l]];return i}function Di(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function k(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||k(t,4,this.length),pe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||k(t,4,this.length),pe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||k(t,8,this.length),pe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||k(t,8,this.length),pe.read(this,t,!1,52,8)};function C(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;C(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;C(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);C(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);C(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||C(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function _r(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Mr(e,t,r,o,i){return t=+t,r=r>>>0,i||_r(e,t,r,4,34028234663852886e22,-34028234663852886e22),pe.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Mr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Mr(this,t,r,!1,o)};function Or(e,t,r,o,i){return t=+t,r=r>>>0,i||_r(e,t,r,8,17976931348623157e292,-17976931348623157e292),pe.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Or(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Or(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=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),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ci=/[^+/0-9A-Za-z-_]/g;function Ri(e){if(e=e.split("=")[0],e=e.trim().replace(Ci,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Lt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Pi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function _i(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function Fr(e){return bt.toByteArray(Ri(e))}function Ue(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Ct(e){return e!==e}var Mi=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Hr=Oe((_a,Gr)=>{n();var I=Gr.exports={},V,G;function Rt(){throw new Error("setTimeout has not been defined")}function Pt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?V=setTimeout:V=Rt}catch(e){V=Rt}try{typeof clearTimeout=="function"?G=clearTimeout:G=Pt}catch(e){G=Pt}})();function Ur(e){if(V===setTimeout)return setTimeout(e,0);if((V===Rt||!V)&&setTimeout)return V=setTimeout,setTimeout(e,0);try{return V(e,0)}catch(t){try{return V.call(null,e,0)}catch(r){return V.call(this,e,0)}}}function Oi(e){if(G===clearTimeout)return clearTimeout(e);if((G===Pt||!G)&&clearTimeout)return G=clearTimeout,clearTimeout(e);try{return G(e)}catch(t){try{return G.call(null,e)}catch(r){return G.call(this,e)}}}var j=[],de=!1,ie,$e=-1;function Fi(){!de||!ie||(de=!1,ie.length?j=ie.concat(j):$e=-1,j.length&&$r())}function $r(){if(!de){var e=Ur(Fi);de=!0;for(var t=j.length;t;){for(ie=j,j=[];++$e<t;)ie&&ie[$e].run();$e=-1,t=j.length}ie=null,de=!1,Oi(e)}}I.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];j.push(new Vr(e,t)),j.length===1&&!de&&Ur($r)};function Vr(e,t){this.fun=e,this.array=t}Vr.prototype.run=function(){this.fun.apply(null,this.array)};I.title="browser";I.browser=!0;I.env={};I.argv=[];I.version="";I.versions={};function z(){}I.on=z;I.addListener=z;I.once=z;I.off=z;I.removeListener=z;I.removeAllListeners=z;I.emit=z;I.prependListener=z;I.prependOnceListener=z;I.listeners=function(e){return[]};I.binding=function(e){throw new Error("process.binding is not supported")};I.cwd=function(){return"/"};I.chdir=function(e){throw new Error("process.chdir is not supported")};I.umask=function(){return 0}});var s,a,Ma,n=y(()=>{s=S(Br()),a=S(Hr()),Ma=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Wr=y(()=>{"use strict";n()});var qr=y(()=>{"use strict";n()});var jr=y(()=>{"use strict";n()});var zr=y(()=>{"use strict";n()});var F=y(()=>{"use strict";n()});var Kr=y(()=>{"use strict";n()});var Yr=y(()=>{"use strict";n()});var D=y(()=>{"use strict";n()});var Zr=y(()=>{"use strict";n()});var Xr=y(()=>{"use strict";n()});var H=y(()=>{"use strict";n();qr();jr();zr();F();Kr();Yr();D();Zr();Xr()});var _t,Jr,ec,Qr,tc,en,rc,nc,oc,tn=y(()=>{"use strict";n();H();_t={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Jr,egldLabel:ec}=_t["devnet"],{chainId:Qr,egldLabel:tc}=_t["testnet"],{chainId:en,egldLabel:rc}=_t["mainnet"],nc={["devnet"]:Jr,["testnet"]:Qr,["mainnet"]:en},oc={[Jr]:"devnet",[Qr]:"testnet",[en]:"mainnet"}});var Mt=y(()=>{"use strict";n()});var rn=y(()=>{"use strict";n()});var nn,Ot=y(()=>{"use strict";n();nn="transaction-status-toast-id"});var W,on=y(()=>{"use strict";n();W=require("@multiversx/sdk-web-wallet-provider")});var Ft,Bt,sn,Ve,an,me,v=y(()=>{"use strict";n();Wr();tn();Mt();rn();Ot();on();Ft=5e4,Bt=1e9,sn=1,Ve="logout",an="login",me="0"});var ge,Ge=y(()=>{"use strict";n();ge=()=>Date.now()/1e3});var cn=y(()=>{"use strict";n()});var ln=y(()=>{"use strict";n()});var pn=y(()=>{"use strict";n();Ge();cn();ln()});var $t={};re($t,{getItem:()=>Ui,localStorageKeys:()=>se,removeItem:()=>$i,setItem:()=>Bi});var se,Ut,Bi,Ui,$i,Ae=y(()=>{"use strict";n();pn();se={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ut=typeof localStorage!="undefined",Bi=({key:e,data:t,expires:r})=>{!Ut||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ui=e=>{if(!Ut)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:ge()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},$i=e=>{!Ut||localStorage.removeItem(String(e))}});var Vt={};re(Vt,{clear:()=>gn,getItem:()=>dn,removeItem:()=>mn,setItem:()=>un,storage:()=>Vi});var un,dn,mn,gn,Vi,fn=y(()=>{"use strict";n();un=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},dn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},mn=e=>sessionStorage.removeItem(String(e)),gn=()=>sessionStorage.clear(),Vi={setItem:un,getItem:dn,removeItem:mn,clear:gn}});var fe,He=y(()=>{"use strict";n();Ae();fn();fe={session:Vt,local:$t}});var Gt,N,We,K=y(()=>{"use strict";n();Gt=require("@reduxjs/toolkit");v();N=(0,Gt.createAction)(Ve),We=(0,Gt.createAction)(an,e=>({payload:e}))});var Wt,Tn,yn,qe,Ht,hn,xn,_c,Sn,Mc,Oc,Fc,Bc,Uc,$c,Vc,je,ze=y(()=>{"use strict";n();Wt=require("@multiversx/sdk-core"),Tn=require("@reduxjs/toolkit"),yn=require("redux-persist");v();He();Ae();K();qe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:me},Ht={address:"",websocketEvent:null,accounts:{"":qe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},hn=(0,Tn.createSlice)({name:"accountInfoSlice",initialState:Ht,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Wt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:qe},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(N,()=>(fe.local.removeItem(se.loginExpiresAt),Ht)),e.addCase(We,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Wt.Address(o).hex()}),e.addCase(yn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Ht.accounts,t.publicKey=m})}}),{setAccount:xn,setAddress:_c,setAccountNonce:Sn,setAccountShard:Mc,setLedgerAccount:Oc,updateLedgerAccount:Fc,setWalletConnectAccount:Bc,setIsAccountLoading:Uc,setAccountLoadingError:$c,setWebsocketEvent:Vc}=hn.actions,je=hn.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function ve(e){fe.local.setItem({key:se.loginExpiresAt,data:e,expires:e})}var qt=y(()=>{"use strict";n();He();Ae()});var In,wn,vn,Xc,Jc,Qc,Ke,el,tl,bn,rl,Ye,Ze=y(()=>{"use strict";n();In=require("@reduxjs/toolkit");qt();F();K();wn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},vn=(0,In.createSlice)({name:"loginInfoSlice",initialState:wn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(N,()=>wn),e.addCase(We,(t,r)=>{t.loginMethod=r.payload.loginMethod,ve(Ie())})}}),{setLoginMethod:Xc,setWalletConnectLogin:Jc,setLedgerLogin:Qc,setTokenLogin:Ke,setTokenLoginSignature:el,setWalletLogin:tl,invalidateLoginSession:bn,setLogoutRoute:rl}=vn.actions,Ye=vn.reducer});var En,kn,Ln,sl,al,cl,ll,Xe,Je=y(()=>{"use strict";n();En=require("@reduxjs/toolkit");K();kn={},Ln=(0,En.createSlice)({name:"modalsSlice",initialState:kn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(N,()=>kn)}}),{setTxSubmittedModal:sl,setNotificationModal:al,clearTxSubmittedModal:cl,clearNotificationModal:ll}=Ln.actions,Xe=Ln.reducer});var Nn=y(()=>{"use strict";n()});var Dn=y(()=>{"use strict";n();Nn()});function jt(e){return e[Math.floor(Math.random()*e.length)]}var Cn=y(()=>{"use strict";n()});var Rn=y(()=>{"use strict";n();Mt()});var Pn=y(()=>{"use strict";n();Dn();Cn();Rn()});var _n,Mn,zt,Gi,On,bl,kl,Qe,et=y(()=>{"use strict";n();_n=require("@reduxjs/toolkit"),Mn=S(require("lodash.omit"));Pn();zt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Gi={network:zt,chainID:"-1"},On=(0,_n.createSlice)({name:"appConfig",initialState:Gi,reducers:{initializeNetworkConfig:(e,t)=>{let r=jt(t.payload.walletConnectBridgeAddresses),o=jt(t.payload.walletConnectV2RelayAddresses),i=(0,Mn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:bl,setChainID:kl}=On.actions,Qe=On.reducer});var Fn,Kt,Bn,Rl,Pl,_l,tt,rt=y(()=>{"use strict";n();Fn=require("@reduxjs/toolkit");H();K();Kt={isSigning:!1,signedSessions:{}},Bn=(0,Fn.createSlice)({name:"signedMessageInfoSliceState",initialState:Kt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return w(h({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:w(h({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>Kt},extraReducers:e=>{e.addCase(N,()=>Kt)}}),{setSignSession:Rl,clearSignedMessageInfo:Pl,setSignSessionState:_l}=Bn.actions,tt=Bn.reducer});var $n,Vn,Un,Gn,Gl,Hl,Wl,ql,jl,zl,nt,ot=y(()=>{"use strict";n();$n=require("@reduxjs/toolkit"),Vn=require("redux-persist");Ot();H();Ge();K();Un={customToasts:[],transactionToasts:[],failTransactionToast:null},Gn=(0,$n.createSlice)({name:"toastsSlice",initialState:Un,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(h({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:ge(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(h({},t.payload),{toastId:nn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(N,()=>Un),e.addCase(Vn.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Gl,removeCustomToast:Hl,addTransactionToast:Wl,removeTransactionToast:ql,addFailTransactionToast:jl,removeFailTransactionToast:zl}=Gn.actions,nt=Gn.reducer});var Hn,Zt,Xt,Jt,Hi,Yt,Wn,Xl,Jl,Ql,it,st=y(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");K();Zt="Transaction failed",Xt="Transaction successful",Jt="Processing transaction",Hi="Transaction submitted",Yt={},Wn=(0,Hn.createSlice)({name:"transactionsInfo",initialState:Yt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Zt,successMessage:(o==null?void 0:o.successMessage)||Xt,processingMessage:(o==null?void 0:o.processingMessage)||Jt,submittedMessage:(o==null?void 0:o.submittedMessage)||Hi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Yt},extraReducers:e=>{e.addCase(N,()=>Yt)}}),{clearTransactionsInfo:Xl,setTransactionsDisplayInfo:Jl,clearTransactionsInfoForSessionId:Ql}=Wn.actions,it=Wn.reducer});function qn(e){return e!=null&&(Ji(e)||rs(e))}function at(e){return e!=null&&(Qi(e)||ns(e))}function ct(e){return e!=null&&(es(e)||os(e))}function jn(e){return e!=null&&ts(e)}function Ji(e){return e!=null&&qi.includes(e)}function Qi(e){return e!=null&&ji.includes(e)}function es(e){return e!=null&&zi.includes(e)}function ts(e){return e!=null&&Ki.includes(e)}function rs(e){return e!=null&&Yi.includes(e)}function ns(e){return e!=null&&Zi.includes(e)}function os(e){return e!=null&&Xi.includes(e)}var qi,ji,zi,Ki,Yi,Zi,Xi,er=y(()=>{"use strict";n();F();qi=["sent"],ji=["success"],zi=["fail","cancelled","timedOut"],Ki=["timedOut"],Yi=["pending"],Zi=["success"],Xi=["fail","invalid"]});var zn,Kn,be,is,Yn,cp,lp,pp,up,dp,mp,gp,fp,Tp,yp,lt,pt=y(()=>{"use strict";n();zn=require("@reduxjs/toolkit"),Kn=require("redux-persist");F();er();K();be={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},is={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Yn=(0,zn.createSlice)({name:"transactionsSlice",initialState:be,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||is;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=be.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=h(h({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,g,x,T,A;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(R=>R.hash===l?w(h({},R),{status:o,errorMessage:i}):R);let L=(x=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:x.every(R=>at(R.status)),b=(A=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:A.every(R=>ct(R.status));L&&(e.signedTransactions[r].status="success"),b&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=be.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=be.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(N,()=>be),e.addCase(Kn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,g])=>{let x=new Date(d),T=new Date;return T.setHours(T.getHours()+5),T-x>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:cp,updateSignedTransactions:lp,setTransactionsToSign:pp,clearAllTransactionsToSign:up,clearAllSignedTransactions:dp,clearSignedTransaction:mp,clearTransactionToSign:gp,setSignTransactionsError:fp,setSignTransactionsCancelMessage:Tp,moveTransactionsToSignedState:yp}=Yn.actions,lt=Yn.reducer});var ae=y(()=>{"use strict";n();ze();Ze();Je();et();rt();ot();st();pt()});var tr=y(()=>{"use strict";n()});var eo,Qn,to,Vp,Gp,Hp,Wp,qp,jp,ro,no=y(()=>{"use strict";n();eo=require("@reduxjs/toolkit");K();Qn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},to=(0,eo.createSlice)({name:"dappModalsSlice",initialState:Qn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=h({},t.payload)}},extraReducers:e=>{e.addCase(N,()=>Qn)}}),{setDappModalVisibility:Vp,setDappModalHeaderVisibility:Gp,setDappModalFooterVisibility:Hp,setDappModalHeaderText:Wp,setDappModalFooterText:qp,setDappModalConfig:jp}=to.actions,ro=to.reducer});var oo,ls,ps,ce,gt=y(()=>{"use strict";n();oo=require("@reduxjs/toolkit");tr();ze();no();Ze();Je();et();rt();ot();st();pt();ls={["account"]:je,["dappModal"]:ro,["loginInfo"]:Ye,["modals"]:Xe,["networkConfig"]:Qe,["signedMessageInfo"]:tt,["toasts"]:nt,["transactionsInfo"]:it,["transactions"]:lt},ps=(e={})=>(0,oo.combineReducers)(h(h({},ls),e)),ce=ps});var co={};re(co,{default:()=>bs,sessionStorageReducers:()=>rr});function Q(e,t=[]){return{key:e,version:1,storage:so.default,blacklist:t}}var P,io,so,us,Ee,ds,ms,gs,fs,Ts,ys,hs,xs,Ss,ao,ws,rr,As,Is,vs,bs,lo=y(()=>{"use strict";n();P=require("redux-persist"),io=S(require("redux-persist/lib/storage")),so=S(require("redux-persist/lib/storage/session"));gt();ae();ze();Ze();Je();et();rt();ot();st();pt();tr();us={persistReducersStorageType:"localStorage"},Ee={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ds=Q(Ee["account"]),ms=Q(Ee["loginInfo"]),gs=Q(Ee["modals"]),fs=Q(Ee["networkConfig"]),Ts={2:e=>w(h({},e),{networkConfig:zt})};ys=Q("sdk-dapp-transactionsInfo"),hs=Q("sdk-dapp-transactions",["transactionsToSign"]),xs=Q("sdk-dapp-toasts"),Ss=Q("sdk-dapp-signedMessageInfo"),ao={key:"sdk-dapp-store",version:2,storage:io.default,whitelist:Object.keys(Ee),migrate:(0,P.createMigrate)(Ts,{debug:!1})},ws=w(h({},ao),{whitelist:[]}),rr={["toasts"]:(0,P.persistReducer)(xs,nt),["transactions"]:(0,P.persistReducer)(hs,lt),["transactionsInfo"]:(0,P.persistReducer)(ys,it),["signedMessageInfo"]:(0,P.persistReducer)(Ss,tt)},As=w(h({},rr),{["account"]:(0,P.persistReducer)(ds,je),["loginInfo"]:(0,P.persistReducer)(ms,Ye),["modals"]:(0,P.persistReducer)(gs,Xe),["networkConfig"]:(0,P.persistReducer)(fs,Qe)}),Is=us.persistReducersStorageType==="localStorage",vs=Is?(0,P.persistReducer)(ao,ce(rr)):(0,P.persistReducer)(ws,ce(As)),bs=vs});var po={};re(po,{default:()=>ks});var ks,uo=y(()=>{"use strict";n();gt();ks=ce()});var mo={};re(mo,{default:()=>Ls});var O,Es,Ls,go=y(()=>{"use strict";n();O=require("redux-persist"),Es=[O.FLUSH,O.REHYDRATE,O.PAUSE,O.PERSIST,O.PURGE,O.REGISTER],Ls=Es});var yo={};re(yo,{default:()=>To});function To(e){return(0,fo.persistStore)(e)}var fo,ho=y(()=>{"use strict";n();fo=require("redux-persist")});var Na={};re(Na,{useLoginService:()=>La});module.exports=we(Na);n();var Jo=require("react"),St=require("@multiversx/sdk-core");n();n();n();var vo=require("react"),Te=require("react-redux");n();var nr=require("@reduxjs/toolkit"),Ao=require("react-redux/lib/utils/Subscription");ae();n();var Xn=S(require("lodash.throttle"));v();n();var Zn=S(require("lodash.isequal")),ut=require("reselect");H();var f=(0,ut.createSelectorCreator)(ut.defaultMemoize,Zn.default),ke=(e,t)=>e!=""&&Boolean(t);ae();qt();He();Ae();var ss=[Ve],dt=!1,as=(0,Xn.default)(()=>{ve(Ie())},5e3),Jn=e=>t=>r=>{var d;if(ss.includes(r.type))return t(r);let o=e.getState(),i=fe.local.getItem(se.loginExpiresAt);if(!ke((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ve(Ie());let p=Date.now();return i-p<0&&!dt?setTimeout(()=>{dt=!0,e.dispatch(bn())},1e3):(dt&&(dt=!1),as()),t(r)};n();n();function mt(){return typeof sessionStorage!="undefined"}var xo=mt()?(lo(),we(co)).default:(uo(),we(po)).default,So=mt()?(go(),we(mo)).default:[],wo=mt()?(ho(),we(yo)).default:e=>e;gt();var ee=(0,nr.configureStore)({reducer:xo,middleware:e=>e({serializableCheck:{ignoredActions:[...So,Sn.type,xn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Io=(0,Ao.createSubscription)(ee),Iu=wo(ee),vu=(0,nr.configureStore)({reducer:ce});var Ns={store:ee,subscription:Io},or=(0,vo.createContext)(Ns),Lu=(0,Te.createStoreHook)(or),bo=(0,Te.createDispatchHook)(or),Y=(0,Te.createSelectorHook)(or);n();n();ae();var Z=e=>e.account,ir=f(Z,e=>e.address),Le=f(Z,ir,(e,t)=>t in e.accounts?e.accounts[t]:qe),Ds=f(Z,Le,(e,t)=>{let i=e,{accounts:r}=i,o=Sr(i,["accounts"]);return w(h({},o),{account:t})}),Ru=f(Le,e=>e.balance),Pu=f(Le,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),_u=f(Z,e=>e.shard),Mu=f(Z,e=>e.ledgerAccount),Ou=f(Z,e=>e.walletConnectAccount),Fu=f(Z,e=>e.isAccountLoading),Bu=f(Z,e=>e.accountLoadingError),Cs=f(Z,e=>e.websocketEvent);n();var B=e=>e.loginInfo,Gu=f(B,e=>e.loginMethod),Rs=f(B,ir,(e,t)=>ke(e.loginMethod,t)),Hu=f(B,e=>e.walletConnectLogin),Wu=f(B,e=>e.ledgerLogin),qu=f(B,e=>e.walletLogin),ju=f(B,e=>e.isLoginSessionInvalid),ko=f(B,e=>e.tokenLogin),zu=f(B,e=>e.logoutRoute);n();var Eo=e=>e.modals,Zu=f(Eo,e=>e.txSubmittedModal),Xu=f(Eo,e=>e.notificationModal);n();var le=e=>e.networkConfig,ed=f(le,e=>e.chainID),td=f(le,e=>e.network.walletConnectBridgeAddress),rd=f(le,e=>e.network.walletConnectV2RelayAddress),nd=f(le,e=>e.network.walletConnectV2ProjectId),od=f(le,e=>e.network.walletConnectV2Options),id=f(le,e=>e.network.walletConnectDeepLink),Ne=f(le,e=>e.network),sd=f(Ne,e=>e.apiAddress),Lo=f(Ne,e=>e.explorerAddress),ad=f(Ne,e=>e.egldLabel);n();var sr=e=>e.signedMessageInfo,pd=f(sr,e=>e.isSigning),ud=f(sr,e=>e.errorMessage),dd=f(sr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var ar=e=>e.toasts,fd=f(ar,e=>e.customToasts),Td=f(ar,e=>e.transactionToasts),yd=f(ar,e=>e.failTransactionToast);n();ae();var No={errorMessage:Zt,successMessage:Xt,processingMessage:Jt},Ps=e=>e.transactionsInfo,wd=f(Ps,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||No);n();n();var _=require("@multiversx/sdk-core");v();n();function cr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function ye(e){return atob(e)}function lr(e){var i,l,p;let{data:t}=e,r=cr(t!=null?t:"")?_.TransactionPayload.fromEncoded(t):new _.TransactionPayload(t),o=new _.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new _.Address(e.receiver),sender:new _.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Ft,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Bt,chainID:e.chainID.valueOf(),version:new _.TransactionVersion((p=e.version)!=null?p:sn)},e.options?{options:new _.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new _.Address(e.sender)),o}n();er();n();var Ms=S(require("bignumber.js"));H();n();n();n();n();var Fs=require("@multiversx/sdk-core"),Bs=S(require("bignumber.js"));F();n();var Os=require("@multiversx/sdk-core");n();n();n();var $s=require("@multiversx/sdk-core/out");n();v();n();var Po=require("@multiversx/sdk-core");H();n();n();n();n();F();n();n();n();n();n();n();n();var pr="blocks";n();n();n();n();D();n();n();D();n();n();n();var js=S(require("bignumber.js"));v();n();var qs=require("@multiversx/sdk-core"),ur=S(require("bignumber.js"));v();n();var Hs=S(require("bignumber.js"));n();ur.default.config({ROUNDING_MODE:ur.default.ROUND_FLOOR});n();n();n();v();n();n();n();n();v();n();v();n();var zs=require("@multiversx/sdk-core");v();n();var De=require("@multiversx/sdk-core"),Ys=require("@multiversx/sdk-network-providers");v();n();n();var Ks=S(require("bignumber.js"));v();n();v();n();n();n();n();n();v();n();D();var Xs=["reDelegateRewards","claimRewards","unBond"],Js=["wrapEgld","unwrapEgld"],Qs=["unStake"],ea=["unDelegate"];n();n();n();v();n();var na=S(require("bignumber.js"));n();n();n();D();n();var oa=S(require("bignumber.js"));n();n();n();n();D();n();n();n();var sa=S(require("linkifyjs"));n();v();n();var aa=S(require("bignumber.js"));n();H();n();n();F();n();F();n();n();n();D();n();D();n();var ca=S(require("bignumber.js"));v();D();n();D();n();var Bo=require("react");H();n();n();D();n();var la=require("@multiversx/sdk-core/out"),pa=S(require("bignumber.js"));D();n();D();n();n();F();var Xy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Uo=require("react");H();n();var da=require("react");D();var oh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var ht=e=>e.transactions,Ce=f(ht,e=>e.signedTransactions),Gh=f(ht,e=>e.signTransactionsError),Hh=f(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Wh=f(Ce,xt(qn)),qh=f(Ce,xt(at)),jh=f(Ce,xt(ct)),zh=f(Ce,xt(jn)),Kh=f(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>lr(r)))||[]})}),Yh=f(Ce,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var mr=()=>Y(Le);n();n();n();n();n();var Re=S(require("react"));var xx=(0,Re.createContext)({}),Sx=ee.getState();n();var Vo=S(require("react"));n();var gr=S(require("react")),ma=S(require("axios"));n();n();n();n();n();var ga=require("@multiversx/sdk-extension-provider"),fa=require("@multiversx/sdk-hw-provider"),Ta=require("@multiversx/sdk-opera-provider"),ya=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ha=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),xa=require("@multiversx/sdk-web-wallet-provider");v();F();var X=e=>`Unable to perform ${e}, Provider not initialized`,fr=class{init(){return Promise.resolve(!1)}login(t){throw new Error(X(`login with options: ${t}`))}logout(t){throw new Error(X(`logout with options: ${t}`))}getAddress(){throw new Error(X("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(X(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(X(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(X(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(X(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(X(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(X(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Sa=new fr;n();ae();n();n();n();var Aa=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),he=e=>Aa(s.Buffer.from(e,"utf8").toString("base64"));n();var qo=S(require("axios"));n();n();n();function Go(e){return E(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ho=(e,t,r,o=0)=>E(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Go(t.delay)),Ho(e,t,r,o+1)):null}}),Wo=(e,t={retries:5,delay:500})=>(...r)=>E(void 0,null,function*(){return Ho(e,t,r)});var Ia=4e4,Tr=null,xe={current:null},yr={current:!1},va=Wo((e,t)=>E(void 0,null,function*(){let{data:r}=yield qo.default.get(`${e}/${pr}?size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function jo(e,t){return E(this,null,function*(){if(e==null)throw new Error("missing api url");if(Tr!=null&&Date.now()<Tr&&xe.current!=null)return xe.current;{if(yr.current)return yield ba();yr.current=!0,xe.current=null;let o=yield va(e,t);return xe.current=o,Tr=Date.now()+Ia,yr.current=!1,o}})}function ba(){return E(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{xe.current!=null&&(e(xe.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var zo,Pe={hostname:typeof window!="undefined"?(zo=window==null?void 0:window.location)==null?void 0:zo.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},_e=e=>{var r,o,i,l,p;return e===!0?Pe:{hostname:(r=e==null?void 0:e.hostname)!=null?r:Pe.hostname,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:Pe.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:Pe.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Pe.tokenExpirationToastWarningSeconds}};n();n();n();function ka(e){return Object.prototype.toString.call(e)==="[object String]"}var Ko=e=>{if(!e||!ka(e))return null;try{let[t,r,o]=e.split("."),i=ye(t),l=ye(r),[p,m,d,g]=l.split("."),x=JSON.parse(ye(g)),T=ye(p),A={ttl:Number(d),address:i,extraInfo:x,host:T,signature:o,blockHash:m,body:l};return g==="e30"&&delete A.extraInfo,A}catch(t){return null}};var Yo=({address:e,token:t,signature:r})=>{let o=he(e),i=he(t);return`${o}.${i}.${r}`};n();Ge();var Zo=e=>{let t=Ko(e);if(!t)return{isExpired:!1};let r=ge(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};var Xo=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=_e(e);return{getNativeAuthConfig:_e,initialize:(...m)=>E(void 0,[...m],function*(p={}){let{hash:d,timestamp:g}=yield jo(r,i),x=he(JSON.stringify(h(h({},p),g?{timestamp:g}:{})));return`${he(t)}.${d}.${o}.${x}`}),getToken:Yo,getTokenExpiration:Zo}};n();var Ea=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},La=e=>{let t=Y(Ne),r=Y(ko),o=(0,Jo.useRef)(r==null?void 0:r.loginToken),i=Ea(t.apiAddress,e),l=_e(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Xo(l),{address:d}=mr(),g=bo(),x=b=>{o.current=b,g(Ke(h({loginToken:b},i?{nativeAuthConfig:l}:{})))},T=()=>E(void 0,null,function*(){try{return yield m.initialize()}catch(b){console.error("Unable to get block. Login failed.",b);return}}),A=({address:b,signature:R})=>{let J=o.current;if(!J)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Ke({loginToken:J,signature:R}));return}let wt=m.getToken({address:b,token:J,signature:R});g(Ke(h({loginToken:J,signature:R,nativeAuthToken:wt},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:T,setTokenLoginInfo:A,refreshNativeAuthTokenLogin:R=>E(void 0,[R],function*({signMessageCallback:b}){let J=yield T();if(o.current=J,!J)return;let wt=new St.SignableMessage({address:new St.Address(d),message:s.Buffer.from(J)}),Qo=yield b(wt,{});A({address:d,signature:Qo.toJSON().signature})})}};0&&(module.exports={useLoginService});
|
|
1
|
+
"use strict";var ei=Object.create;var Se=Object.defineProperty,ti=Object.defineProperties,ri=Object.getOwnPropertyDescriptor,ni=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,ii=Object.getPrototypeOf,At=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable;var hr=(e,t,r)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))At.call(t,r)&&hr(e,r,t[r]);if(Me)for(var r of Me(t))xr.call(t,r)&&hr(e,r,t[r]);return e},w=(e,t)=>ti(e,ni(t));var Sr=(e,t)=>{var r={};for(var o in e)At.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&xr.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},wr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oi(t))!At.call(e,i)&&i!==r&&Se(e,i,{get:()=>t[i],enumerable:!(o=ri(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?ei(ii(e)):{},wr(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),we=e=>wr(Se({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var vr=Oe(Fe=>{"use strict";n();Fe.byteLength=ai;Fe.toByteArray=li;Fe.fromByteArray=di;var U=[],M=[],si=typeof Uint8Array!="undefined"?Uint8Array:Array,It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,Ar=It.length;ne<Ar;++ne)U[ne]=It[ne],M[It.charCodeAt(ne)]=ne;var ne,Ar;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Ir(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ai(e){var t=Ir(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ci(e,t,r){return(t+r)*3/4-r}function li(e){var t,r=Ir(e),o=r[0],i=r[1],l=new si(ci(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function pi(e){return U[e>>18&63]+U[e>>12&63]+U[e>>6&63]+U[e&63]}function ui(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(pi(o));return i.join("")}function di(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(ui(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(U[t>>2]+U[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(U[t>>10]+U[t>>4&63]+U[t<<2&63]+"=")),i.join("")}});var br=Oe(vt=>{n();vt.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,x=-7,T=r?i-1:0,A=r?-1:1,L=e[t+T];for(T+=A,l=L&(1<<-x)-1,L>>=-x,x+=m;x>0;l=l*256+e[t+T],T+=A,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+T],T+=A,x-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(L?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(L?-1:1)*p*Math.pow(2,l-o)};vt.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,x=(1<<g)-1,T=x>>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=o?0:l-1,b=o?1:-1,C=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+T>=1?t+=A/d:t+=A*Math.pow(2,1-T),t*d>=2&&(p++,d/=2),p+T>=x?(m=0,p=x):p+T>=1?(m=(t*d-1)*Math.pow(2,i),p=p+T):(m=t*Math.pow(2,T-1)*Math.pow(2,i),p=0));i>=8;e[r+L]=m&255,L+=b,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+L]=p&255,L+=b,p/=256,g-=8);e[r+L-b]|=C*128}});var Br=Oe(ue=>{"use strict";n();var bt=vr(),pe=br(),kr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ue.Buffer=u;ue.SlowBuffer=hi;ue.INSPECT_MAX_BYTES=50;var Be=2147483647;ue.kMaxLength=Be;u.TYPED_ARRAY_SUPPORT=mi();!u.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 mi(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function q(e){if(e>Be)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Nt(e)}return Nr(e,t,r)}u.poolSize=8192;function Nr(e,t,r){if(typeof e=="string")return fi(e,t);if(ArrayBuffer.isView(e))return Ti(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($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return Et(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=yi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Nr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Dr(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 gi(e,t,r){return Dr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return gi(e,t,r)};function Nt(e){return Dr(e),q(e<0?0:Dt(e)|0)}u.allocUnsafe=function(e){return Nt(e)};u.allocUnsafeSlow=function(e){return Nt(e)};function fi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Rr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function kt(e){for(var t=e.length<0?0:Dt(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ti(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return Et(t.buffer,t.byteOffset,t.byteLength)}return kt(e)}function Et(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function yi(e){if(u.isBuffer(e)){var t=Dt(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Rt(e.length)?q(0):kt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return kt(e.data)}function Dt(e){if(e>=Be)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Be.toString(16)+" bytes");return e|0}function hi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Rr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(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 r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Lt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Fr(e).length;default:if(i)return o?-1:Lt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Rr;function xi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ni(this,t,r);case"utf8":case"utf-8":return Pr(this,t,r);case"ascii":return Ei(this,t,r);case"latin1":case"binary":return Li(this,t,r);case"base64":return bi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Di(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function oe(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)oe(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)oe(this,r,r+3),oe(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)oe(this,r,r+7),oe(this,r+1,r+6),oe(this,r+2,r+5),oe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Pr(this,0,t):xi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=ue.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};kr&&(u.prototype[kr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),g=this.slice(i,l),x=t.slice(r,o),T=0;T<d;++T)if(g[T]!==x[T]){p=g[T],m=x[T];break}return p<m?-1:m<p?1:0};function Cr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Rt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Er(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Er(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Er(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(L,b){return l===1?L[b]:L.readUInt16BE(b*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===m)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var T=!0,A=0;A<m;A++)if(d(e,g+A)!==d(t,A)){T=!1;break}if(T)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Cr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Cr(this,t,r,o,!1)};function Si(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Rt(m))return p;e[r+p]=m}return p}function wi(e,t,r,o){return Ue(Lt(t,e.length-r),e,r,o)}function Ai(e,t,r,o){return Ue(Pi(t),e,r,o)}function Ii(e,t,r,o){return Ue(Fr(t),e,r,o)}function vi(e,t,r,o){return Ue(_i(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Si(this,t,r,o);case"utf8":case"utf-8":return wi(this,t,r,o);case"ascii":case"latin1":case"binary":return Ai(this,t,r,o);case"base64":return Ii(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vi(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bi(e,t,r){return t===0&&r===e.length?bt.fromByteArray(e):bt.fromByteArray(e.slice(t,r))}function Pr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,g,x,T;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(T=(l&31)<<6|d&63,T>127&&(p=T));break;case 3:d=e[i+1],g=e[i+2],(d&192)===128&&(g&192)===128&&(T=(l&15)<<12|(d&63)<<6|g&63,T>2047&&(T<55296||T>57343)&&(p=T));break;case 4:d=e[i+1],g=e[i+2],x=e[i+3],(d&192)===128&&(g&192)===128&&(x&192)===128&&(T=(l&15)<<18|(d&63)<<12|(g&63)<<6|x&63,T>65535&&T<1114112&&(p=T))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return ki(o)}var Lr=4096;function ki(e){var t=e.length;if(t<=Lr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Lr));return r}function Ei(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Li(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Ni(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Mi[e[l]];return i}function Di(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function k(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||k(t,4,this.length),pe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||k(t,4,this.length),pe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||k(t,8,this.length),pe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||k(t,8,this.length),pe.read(this,t,!1,52,8)};function R(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function _r(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Mr(e,t,r,o,i){return t=+t,r=r>>>0,i||_r(e,t,r,4,34028234663852886e22,-34028234663852886e22),pe.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Mr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Mr(this,t,r,!1,o)};function Or(e,t,r,o,i){return t=+t,r=r>>>0,i||_r(e,t,r,8,17976931348623157e292,-17976931348623157e292),pe.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Or(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Or(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=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),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ri=/[^+/0-9A-Za-z-_]/g;function Ci(e){if(e=e.split("=")[0],e=e.trim().replace(Ri,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Lt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Pi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function _i(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function Fr(e){return bt.toByteArray(Ci(e))}function Ue(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Rt(e){return e!==e}var Mi=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Hr=Oe((_a,Gr)=>{n();var I=Gr.exports={},V,G;function Ct(){throw new Error("setTimeout has not been defined")}function Pt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?V=setTimeout:V=Ct}catch(e){V=Ct}try{typeof clearTimeout=="function"?G=clearTimeout:G=Pt}catch(e){G=Pt}})();function Ur(e){if(V===setTimeout)return setTimeout(e,0);if((V===Ct||!V)&&setTimeout)return V=setTimeout,setTimeout(e,0);try{return V(e,0)}catch(t){try{return V.call(null,e,0)}catch(r){return V.call(this,e,0)}}}function Oi(e){if(G===clearTimeout)return clearTimeout(e);if((G===Pt||!G)&&clearTimeout)return G=clearTimeout,clearTimeout(e);try{return G(e)}catch(t){try{return G.call(null,e)}catch(r){return G.call(this,e)}}}var j=[],de=!1,ie,$e=-1;function Fi(){!de||!ie||(de=!1,ie.length?j=ie.concat(j):$e=-1,j.length&&$r())}function $r(){if(!de){var e=Ur(Fi);de=!0;for(var t=j.length;t;){for(ie=j,j=[];++$e<t;)ie&&ie[$e].run();$e=-1,t=j.length}ie=null,de=!1,Oi(e)}}I.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];j.push(new Vr(e,t)),j.length===1&&!de&&Ur($r)};function Vr(e,t){this.fun=e,this.array=t}Vr.prototype.run=function(){this.fun.apply(null,this.array)};I.title="browser";I.browser=!0;I.env={};I.argv=[];I.version="";I.versions={};function z(){}I.on=z;I.addListener=z;I.once=z;I.off=z;I.removeListener=z;I.removeAllListeners=z;I.emit=z;I.prependListener=z;I.prependOnceListener=z;I.listeners=function(e){return[]};I.binding=function(e){throw new Error("process.binding is not supported")};I.cwd=function(){return"/"};I.chdir=function(e){throw new Error("process.chdir is not supported")};I.umask=function(){return 0}});var s,a,Ma,n=y(()=>{s=S(Br()),a=S(Hr()),Ma=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Wr=y(()=>{"use strict";n()});var qr=y(()=>{"use strict";n()});var jr=y(()=>{"use strict";n()});var zr=y(()=>{"use strict";n()});var F=y(()=>{"use strict";n()});var Kr=y(()=>{"use strict";n()});var Yr=y(()=>{"use strict";n()});var D=y(()=>{"use strict";n()});var Zr=y(()=>{"use strict";n()});var Xr=y(()=>{"use strict";n()});var H=y(()=>{"use strict";n();qr();jr();zr();F();Kr();Yr();D();Zr();Xr()});var _t,Jr,ec,Qr,tc,en,rc,nc,oc,tn=y(()=>{"use strict";n();H();_t={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Jr,egldLabel:ec}=_t["devnet"],{chainId:Qr,egldLabel:tc}=_t["testnet"],{chainId:en,egldLabel:rc}=_t["mainnet"],nc={["devnet"]:Jr,["testnet"]:Qr,["mainnet"]:en},oc={[Jr]:"devnet",[Qr]:"testnet",[en]:"mainnet"}});var Mt=y(()=>{"use strict";n()});var rn=y(()=>{"use strict";n()});var nn,Ot=y(()=>{"use strict";n();nn="transaction-status-toast-id"});var W,on=y(()=>{"use strict";n();W=require("@multiversx/sdk-web-wallet-provider")});var Ft,Bt,sn,Ve,an,me,v=y(()=>{"use strict";n();Wr();tn();Mt();rn();Ot();on();Ft=5e4,Bt=1e9,sn=1,Ve="logout",an="login",me="0"});var ge,Ge=y(()=>{"use strict";n();ge=()=>Date.now()/1e3});var cn=y(()=>{"use strict";n()});var ln=y(()=>{"use strict";n()});var pn=y(()=>{"use strict";n();Ge();cn();ln()});var $t={};re($t,{getItem:()=>Ui,localStorageKeys:()=>se,removeItem:()=>$i,setItem:()=>Bi});var se,Ut,Bi,Ui,$i,Ae=y(()=>{"use strict";n();pn();se={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ut=typeof localStorage!="undefined",Bi=({key:e,data:t,expires:r})=>{!Ut||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ui=e=>{if(!Ut)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:ge()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},$i=e=>{!Ut||localStorage.removeItem(String(e))}});var Vt={};re(Vt,{clear:()=>gn,getItem:()=>dn,removeItem:()=>mn,setItem:()=>un,storage:()=>Vi});var un,dn,mn,gn,Vi,fn=y(()=>{"use strict";n();un=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},dn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},mn=e=>sessionStorage.removeItem(String(e)),gn=()=>sessionStorage.clear(),Vi={setItem:un,getItem:dn,removeItem:mn,clear:gn}});var fe,He=y(()=>{"use strict";n();Ae();fn();fe={session:Vt,local:$t}});var Gt,N,We,K=y(()=>{"use strict";n();Gt=require("@reduxjs/toolkit");v();N=(0,Gt.createAction)(Ve),We=(0,Gt.createAction)(an,e=>({payload:e}))});var Wt,Tn,yn,qe,Ht,hn,xn,_c,Sn,Mc,Oc,Fc,Bc,Uc,$c,Vc,je,ze=y(()=>{"use strict";n();Wt=require("@multiversx/sdk-core"),Tn=require("@reduxjs/toolkit"),yn=require("redux-persist");v();He();Ae();K();qe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:me},Ht={address:"",websocketEvent:null,accounts:{"":qe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},hn=(0,Tn.createSlice)({name:"accountInfoSlice",initialState:Ht,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Wt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:qe},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(N,()=>(fe.local.removeItem(se.loginExpiresAt),Ht)),e.addCase(We,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Wt.Address(o).hex()}),e.addCase(yn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Ht.accounts,t.publicKey=m})}}),{setAccount:xn,setAddress:_c,setAccountNonce:Sn,setAccountShard:Mc,setLedgerAccount:Oc,updateLedgerAccount:Fc,setWalletConnectAccount:Bc,setIsAccountLoading:Uc,setAccountLoadingError:$c,setWebsocketEvent:Vc}=hn.actions,je=hn.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function ve(e){fe.local.setItem({key:se.loginExpiresAt,data:e,expires:e})}var qt=y(()=>{"use strict";n();He();Ae()});var In,wn,vn,Xc,Jc,Qc,Ke,el,tl,bn,rl,Ye,Ze=y(()=>{"use strict";n();In=require("@reduxjs/toolkit");qt();F();K();wn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},vn=(0,In.createSlice)({name:"loginInfoSlice",initialState:wn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(N,()=>wn),e.addCase(We,(t,r)=>{t.loginMethod=r.payload.loginMethod,ve(Ie())})}}),{setLoginMethod:Xc,setWalletConnectLogin:Jc,setLedgerLogin:Qc,setTokenLogin:Ke,setTokenLoginSignature:el,setWalletLogin:tl,invalidateLoginSession:bn,setLogoutRoute:rl}=vn.actions,Ye=vn.reducer});var En,kn,Ln,sl,al,cl,ll,Xe,Je=y(()=>{"use strict";n();En=require("@reduxjs/toolkit");K();kn={},Ln=(0,En.createSlice)({name:"modalsSlice",initialState:kn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(N,()=>kn)}}),{setTxSubmittedModal:sl,setNotificationModal:al,clearTxSubmittedModal:cl,clearNotificationModal:ll}=Ln.actions,Xe=Ln.reducer});var Nn=y(()=>{"use strict";n()});var Dn=y(()=>{"use strict";n();Nn()});function jt(e){return e[Math.floor(Math.random()*e.length)]}var Rn=y(()=>{"use strict";n()});var Cn=y(()=>{"use strict";n();Mt()});var Pn=y(()=>{"use strict";n();Dn();Rn();Cn()});var _n,Mn,zt,Gi,On,bl,kl,Qe,et=y(()=>{"use strict";n();_n=require("@reduxjs/toolkit"),Mn=S(require("lodash.omit"));Pn();zt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Gi={network:zt,chainID:"-1"},On=(0,_n.createSlice)({name:"appConfig",initialState:Gi,reducers:{initializeNetworkConfig:(e,t)=>{let r=jt(t.payload.walletConnectBridgeAddresses),o=jt(t.payload.walletConnectV2RelayAddresses),i=(0,Mn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:bl,setChainID:kl}=On.actions,Qe=On.reducer});var Fn,Kt,Bn,Cl,Pl,_l,tt,rt=y(()=>{"use strict";n();Fn=require("@reduxjs/toolkit");H();K();Kt={isSigning:!1,signedSessions:{}},Bn=(0,Fn.createSlice)({name:"signedMessageInfoSliceState",initialState:Kt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return w(h({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:w(h({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>Kt},extraReducers:e=>{e.addCase(N,()=>Kt)}}),{setSignSession:Cl,clearSignedMessageInfo:Pl,setSignSessionState:_l}=Bn.actions,tt=Bn.reducer});var $n,Vn,Un,Gn,Gl,Hl,Wl,ql,jl,zl,nt,ot=y(()=>{"use strict";n();$n=require("@reduxjs/toolkit"),Vn=require("redux-persist");Ot();H();Ge();K();Un={customToasts:[],transactionToasts:[],failTransactionToast:null},Gn=(0,$n.createSlice)({name:"toastsSlice",initialState:Un,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(h({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:ge(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(h({},t.payload),{toastId:nn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(N,()=>Un),e.addCase(Vn.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Gl,removeCustomToast:Hl,addTransactionToast:Wl,removeTransactionToast:ql,addFailTransactionToast:jl,removeFailTransactionToast:zl}=Gn.actions,nt=Gn.reducer});var Hn,Zt,Xt,Jt,Hi,Yt,Wn,Xl,Jl,Ql,it,st=y(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");K();Zt="Transaction failed",Xt="Transaction successful",Jt="Processing transaction",Hi="Transaction submitted",Yt={},Wn=(0,Hn.createSlice)({name:"transactionsInfo",initialState:Yt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Zt,successMessage:(o==null?void 0:o.successMessage)||Xt,processingMessage:(o==null?void 0:o.processingMessage)||Jt,submittedMessage:(o==null?void 0:o.submittedMessage)||Hi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Yt},extraReducers:e=>{e.addCase(N,()=>Yt)}}),{clearTransactionsInfo:Xl,setTransactionsDisplayInfo:Jl,clearTransactionsInfoForSessionId:Ql}=Wn.actions,it=Wn.reducer});function qn(e){return e!=null&&(Ji(e)||rs(e))}function at(e){return e!=null&&(Qi(e)||ns(e))}function ct(e){return e!=null&&(es(e)||os(e))}function jn(e){return e!=null&&ts(e)}function Ji(e){return e!=null&&qi.includes(e)}function Qi(e){return e!=null&&ji.includes(e)}function es(e){return e!=null&&zi.includes(e)}function ts(e){return e!=null&&Ki.includes(e)}function rs(e){return e!=null&&Yi.includes(e)}function ns(e){return e!=null&&Zi.includes(e)}function os(e){return e!=null&&Xi.includes(e)}var qi,ji,zi,Ki,Yi,Zi,Xi,er=y(()=>{"use strict";n();F();qi=["sent"],ji=["success"],zi=["fail","cancelled","timedOut"],Ki=["timedOut"],Yi=["pending"],Zi=["success"],Xi=["fail","invalid"]});var zn,Kn,be,is,Yn,cp,lp,pp,up,dp,mp,gp,fp,Tp,yp,lt,pt=y(()=>{"use strict";n();zn=require("@reduxjs/toolkit"),Kn=require("redux-persist");F();er();K();be={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},is={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Yn=(0,zn.createSlice)({name:"transactionsSlice",initialState:be,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||is;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=be.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=h(h({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,g,x,T,A;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(C=>C.hash===l?w(h({},C),{status:o,errorMessage:i}):C);let L=(x=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:x.every(C=>at(C.status)),b=(A=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:A.every(C=>ct(C.status));L&&(e.signedTransactions[r].status="success"),b&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=be.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=be.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(N,()=>be),e.addCase(Kn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,g])=>{let x=new Date(d),T=new Date;return T.setHours(T.getHours()+5),T-x>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:cp,updateSignedTransactions:lp,setTransactionsToSign:pp,clearAllTransactionsToSign:up,clearAllSignedTransactions:dp,clearSignedTransaction:mp,clearTransactionToSign:gp,setSignTransactionsError:fp,setSignTransactionsCancelMessage:Tp,moveTransactionsToSignedState:yp}=Yn.actions,lt=Yn.reducer});var ae=y(()=>{"use strict";n();ze();Ze();Je();et();rt();ot();st();pt()});var tr=y(()=>{"use strict";n()});var eo,Qn,to,Vp,Gp,Hp,Wp,qp,jp,ro,no=y(()=>{"use strict";n();eo=require("@reduxjs/toolkit");K();Qn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},to=(0,eo.createSlice)({name:"dappModalsSlice",initialState:Qn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=h({},t.payload)}},extraReducers:e=>{e.addCase(N,()=>Qn)}}),{setDappModalVisibility:Vp,setDappModalHeaderVisibility:Gp,setDappModalFooterVisibility:Hp,setDappModalHeaderText:Wp,setDappModalFooterText:qp,setDappModalConfig:jp}=to.actions,ro=to.reducer});var oo,ls,ps,ce,gt=y(()=>{"use strict";n();oo=require("@reduxjs/toolkit");tr();ze();no();Ze();Je();et();rt();ot();st();pt();ls={["account"]:je,["dappModal"]:ro,["loginInfo"]:Ye,["modals"]:Xe,["networkConfig"]:Qe,["signedMessageInfo"]:tt,["toasts"]:nt,["transactionsInfo"]:it,["transactions"]:lt},ps=(e={})=>(0,oo.combineReducers)(h(h({},ls),e)),ce=ps});var co={};re(co,{default:()=>bs,sessionStorageReducers:()=>rr});function Q(e,t=[]){return{key:e,version:1,storage:so.default,blacklist:t}}var P,io,so,us,Ee,ds,ms,gs,fs,Ts,ys,hs,xs,Ss,ao,ws,rr,As,Is,vs,bs,lo=y(()=>{"use strict";n();P=require("redux-persist"),io=S(require("redux-persist/lib/storage")),so=S(require("redux-persist/lib/storage/session"));gt();ae();ze();Ze();Je();et();rt();ot();st();pt();tr();us={persistReducersStorageType:"localStorage"},Ee={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ds=Q(Ee["account"]),ms=Q(Ee["loginInfo"]),gs=Q(Ee["modals"]),fs=Q(Ee["networkConfig"]),Ts={2:e=>w(h({},e),{networkConfig:zt})};ys=Q("sdk-dapp-transactionsInfo"),hs=Q("sdk-dapp-transactions",["transactionsToSign"]),xs=Q("sdk-dapp-toasts"),Ss=Q("sdk-dapp-signedMessageInfo"),ao={key:"sdk-dapp-store",version:2,storage:io.default,whitelist:Object.keys(Ee),migrate:(0,P.createMigrate)(Ts,{debug:!1})},ws=w(h({},ao),{whitelist:[]}),rr={["toasts"]:(0,P.persistReducer)(xs,nt),["transactions"]:(0,P.persistReducer)(hs,lt),["transactionsInfo"]:(0,P.persistReducer)(ys,it),["signedMessageInfo"]:(0,P.persistReducer)(Ss,tt)},As=w(h({},rr),{["account"]:(0,P.persistReducer)(ds,je),["loginInfo"]:(0,P.persistReducer)(ms,Ye),["modals"]:(0,P.persistReducer)(gs,Xe),["networkConfig"]:(0,P.persistReducer)(fs,Qe)}),Is=us.persistReducersStorageType==="localStorage",vs=Is?(0,P.persistReducer)(ao,ce(rr)):(0,P.persistReducer)(ws,ce(As)),bs=vs});var po={};re(po,{default:()=>ks});var ks,uo=y(()=>{"use strict";n();gt();ks=ce()});var mo={};re(mo,{default:()=>Ls});var O,Es,Ls,go=y(()=>{"use strict";n();O=require("redux-persist"),Es=[O.FLUSH,O.REHYDRATE,O.PAUSE,O.PERSIST,O.PURGE,O.REGISTER],Ls=Es});var yo={};re(yo,{default:()=>To});function To(e){return(0,fo.persistStore)(e)}var fo,ho=y(()=>{"use strict";n();fo=require("redux-persist")});var Na={};re(Na,{useLoginService:()=>La});module.exports=we(Na);n();var Jo=require("react"),St=require("@multiversx/sdk-core");n();n();n();var vo=require("react"),Te=require("react-redux");n();var nr=require("@reduxjs/toolkit"),Ao=require("react-redux/lib/utils/Subscription");ae();n();var Xn=S(require("lodash.throttle"));v();n();var Zn=S(require("lodash.isequal")),ut=require("reselect");H();var f=(0,ut.createSelectorCreator)(ut.defaultMemoize,Zn.default),ke=(e,t)=>e!=""&&Boolean(t);ae();qt();He();Ae();var ss=[Ve],dt=!1,as=(0,Xn.default)(()=>{ve(Ie())},5e3),Jn=e=>t=>r=>{var d;if(ss.includes(r.type))return t(r);let o=e.getState(),i=fe.local.getItem(se.loginExpiresAt);if(!ke((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ve(Ie());let p=Date.now();return i-p<0&&!dt?setTimeout(()=>{dt=!0,e.dispatch(bn())},1e3):(dt&&(dt=!1),as()),t(r)};n();n();function mt(){return typeof sessionStorage!="undefined"}var xo=mt()?(lo(),we(co)).default:(uo(),we(po)).default,So=mt()?(go(),we(mo)).default:[],wo=mt()?(ho(),we(yo)).default:e=>e;gt();var ee=(0,nr.configureStore)({reducer:xo,middleware:e=>e({serializableCheck:{ignoredActions:[...So,Sn.type,xn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Io=(0,Ao.createSubscription)(ee),Iu=wo(ee),vu=(0,nr.configureStore)({reducer:ce});var Ns={store:ee,subscription:Io},or=(0,vo.createContext)(Ns),Lu=(0,Te.createStoreHook)(or),bo=(0,Te.createDispatchHook)(or),Y=(0,Te.createSelectorHook)(or);n();n();ae();var Z=e=>e.account,ir=f(Z,e=>e.address),Le=f(Z,ir,(e,t)=>t in e.accounts?e.accounts[t]:qe),Ds=f(Z,Le,(e,t)=>{let i=e,{accounts:r}=i,o=Sr(i,["accounts"]);return w(h({},o),{account:t})}),Cu=f(Le,e=>e.balance),Pu=f(Le,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),_u=f(Z,e=>e.shard),Mu=f(Z,e=>e.ledgerAccount),Ou=f(Z,e=>e.walletConnectAccount),Fu=f(Z,e=>e.isAccountLoading),Bu=f(Z,e=>e.accountLoadingError),Rs=f(Z,e=>e.websocketEvent);n();var B=e=>e.loginInfo,Gu=f(B,e=>e.loginMethod),Cs=f(B,ir,(e,t)=>ke(e.loginMethod,t)),Hu=f(B,e=>e.walletConnectLogin),Wu=f(B,e=>e.ledgerLogin),qu=f(B,e=>e.walletLogin),ju=f(B,e=>e.isLoginSessionInvalid),ko=f(B,e=>e.tokenLogin),zu=f(B,e=>e.logoutRoute);n();var Eo=e=>e.modals,Zu=f(Eo,e=>e.txSubmittedModal),Xu=f(Eo,e=>e.notificationModal);n();var le=e=>e.networkConfig,ed=f(le,e=>e.chainID),td=f(le,e=>e.network.walletConnectBridgeAddress),rd=f(le,e=>e.network.walletConnectV2RelayAddress),nd=f(le,e=>e.network.walletConnectV2ProjectId),od=f(le,e=>e.network.walletConnectV2Options),id=f(le,e=>e.network.walletConnectDeepLink),Ne=f(le,e=>e.network),sd=f(Ne,e=>e.apiAddress),Lo=f(Ne,e=>e.explorerAddress),ad=f(Ne,e=>e.egldLabel);n();var sr=e=>e.signedMessageInfo,pd=f(sr,e=>e.isSigning),ud=f(sr,e=>e.errorMessage),dd=f(sr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var ar=e=>e.toasts,fd=f(ar,e=>e.customToasts),Td=f(ar,e=>e.transactionToasts),yd=f(ar,e=>e.failTransactionToast);n();ae();var No={errorMessage:Zt,successMessage:Xt,processingMessage:Jt},Ps=e=>e.transactionsInfo,wd=f(Ps,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||No);n();n();var _=require("@multiversx/sdk-core");v();n();function cr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function ye(e){return atob(e)}function lr(e){var i,l,p;let{data:t}=e,r=cr(t!=null?t:"")?_.TransactionPayload.fromEncoded(t):new _.TransactionPayload(t),o=new _.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new _.Address(e.receiver),sender:new _.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Ft,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Bt,chainID:e.chainID.valueOf(),version:new _.TransactionVersion((p=e.version)!=null?p:sn)},e.options?{options:new _.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new _.Address(e.sender)),o}n();er();n();var Ms=S(require("bignumber.js"));H();n();n();n();n();var Fs=require("@multiversx/sdk-core"),Bs=S(require("bignumber.js"));F();n();var Os=require("@multiversx/sdk-core");n();n();n();var $s=require("@multiversx/sdk-core/out");n();v();n();var Po=require("@multiversx/sdk-core");H();n();n();n();n();F();n();n();n();n();n();n();n();var pr="blocks";n();n();n();n();D();n();n();D();n();n();n();var js=S(require("bignumber.js"));v();n();var qs=require("@multiversx/sdk-core"),ur=S(require("bignumber.js"));v();n();var Hs=S(require("bignumber.js"));n();ur.default.config({ROUNDING_MODE:ur.default.ROUND_FLOOR});n();n();n();v();n();n();n();n();v();n();v();n();var zs=require("@multiversx/sdk-core");v();n();var De=require("@multiversx/sdk-core"),Ys=require("@multiversx/sdk-network-providers");v();n();n();var Ks=S(require("bignumber.js"));v();n();v();n();n();n();n();n();v();n();D();var Xs=["reDelegateRewards","claimRewards","unBond"],Js=["wrapEgld","unwrapEgld"],Qs=["unStake"],ea=["unDelegate"];n();n();n();v();n();var na=S(require("bignumber.js"));n();n();n();D();n();var oa=S(require("bignumber.js"));n();n();n();n();D();n();n();n();var sa=S(require("linkifyjs"));n();v();n();var aa=S(require("bignumber.js"));n();H();n();n();F();n();F();n();n();n();D();n();D();n();var ca=S(require("bignumber.js"));v();D();n();D();n();var Bo=require("react");H();n();n();D();n();var la=require("@multiversx/sdk-core/out"),pa=S(require("bignumber.js"));D();n();D();n();n();F();var Xy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Uo=require("react");H();n();var da=require("react");D();var oh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var ht=e=>e.transactions,Re=f(ht,e=>e.signedTransactions),Gh=f(ht,e=>e.signTransactionsError),Hh=f(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Wh=f(Re,xt(qn)),qh=f(Re,xt(at)),jh=f(Re,xt(ct)),zh=f(Re,xt(jn)),Kh=f(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>lr(r)))||[]})}),Yh=f(Re,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var mr=()=>Y(Le);n();n();n();n();n();var Ce=S(require("react"));var xx=(0,Ce.createContext)({}),Sx=ee.getState();n();var Vo=S(require("react"));n();var gr=S(require("react")),ma=S(require("axios"));n();n();n();n();n();var ga=require("@multiversx/sdk-extension-provider"),fa=require("@multiversx/sdk-hw-provider"),Ta=require("@multiversx/sdk-opera-provider"),ya=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ha=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),xa=require("@multiversx/sdk-web-wallet-provider");v();F();var X=e=>`Unable to perform ${e}, Provider not initialized`,fr=class{init(){return Promise.resolve(!1)}login(t){throw new Error(X(`login with options: ${t}`))}logout(t){throw new Error(X(`logout with options: ${t}`))}getAddress(){throw new Error(X("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(X(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(X(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(X(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(X(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(X(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(X(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Sa=new fr;n();ae();n();n();n();var Aa=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),he=e=>Aa(s.Buffer.from(e,"utf8").toString("base64"));n();var qo=S(require("axios"));n();n();n();function Go(e){return E(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ho=(e,t,r,o=0)=>E(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Go(t.delay)),Ho(e,t,r,o+1)):null}}),Wo=(e,t={retries:5,delay:500})=>(...r)=>E(void 0,null,function*(){return Ho(e,t,r)});var Ia=4e4,Tr=null,xe={current:null},yr={current:!1},va=Wo((e,t)=>E(void 0,null,function*(){let{data:r}=yield qo.default.get(`${e}/${pr}?size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function jo(e,t){return E(this,null,function*(){if(e==null)throw new Error("missing api url");if(Tr!=null&&Date.now()<Tr&&xe.current!=null)return xe.current;{if(yr.current)return yield ba();yr.current=!0,xe.current=null;let o=yield va(e,t);return xe.current=o,Tr=Date.now()+Ia,yr.current=!1,o}})}function ba(){return E(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{xe.current!=null&&(e(xe.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var zo,Pe={hostname:typeof window!="undefined"?(zo=window==null?void 0:window.location)==null?void 0:zo.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},_e=e=>{var r,o,i,l,p;return e===!0?Pe:{hostname:(r=e==null?void 0:e.hostname)!=null?r:Pe.hostname,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:Pe.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:Pe.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Pe.tokenExpirationToastWarningSeconds}};n();n();n();function ka(e){return Object.prototype.toString.call(e)==="[object String]"}var Ko=e=>{if(!e||!ka(e))return null;try{let[t,r,o]=e.split("."),i=ye(t),l=ye(r),[p,m,d,g]=l.split("."),x=JSON.parse(ye(g)),T=ye(p),A={ttl:Number(d),address:i,extraInfo:x,host:T,signature:o,blockHash:m,body:l};return g==="e30"&&delete A.extraInfo,A}catch(t){return null}};var Yo=({address:e,token:t,signature:r})=>{let o=he(e),i=he(t);return`${o}.${i}.${r}`};n();Ge();var Zo=e=>{let t=Ko(e);if(!t)return{isExpired:!1};let r=ge(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};var Xo=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=_e(e);return{getNativeAuthConfig:_e,initialize:(...m)=>E(void 0,[...m],function*(p={}){let{hash:d,timestamp:g}=yield jo(r,i),x=he(JSON.stringify(h(h({},p),g?{timestamp:g}:{})));return`${he(t)}.${d}.${o}.${x}`}),getToken:Yo,getTokenExpiration:Zo}};n();var Ea=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},La=e=>{let t=Y(Ne),r=Y(ko),o=(0,Jo.useRef)(r==null?void 0:r.loginToken),i=Ea(t.apiAddress,e),l=_e(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Xo(l),{address:d}=mr(),g=bo(),x=b=>{o.current=b,g(Ke(h({loginToken:b},i?{nativeAuthConfig:l}:{})))},T=()=>E(void 0,null,function*(){try{return yield m.initialize()}catch(b){console.error("Unable to get block. Login failed.",b);return}}),A=({address:b,signature:C})=>{let J=o.current;if(!J)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Ke({loginToken:J,signature:C}));return}let wt=m.getToken({address:b,token:J,signature:C});g(Ke(h({loginToken:J,signature:C,nativeAuthToken:wt},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:T,setTokenLoginInfo:A,refreshNativeAuthTokenLogin:C=>E(void 0,[C],function*({signMessageCallback:b}){let J=yield T();if(o.current=J,!J)return;let wt=new St.SignableMessage({address:new St.Address(d),message:s.Buffer.from(J)}),Qo=yield b(wt,{});A({address:d,signature:Qo.toJSON().signature})})}};0&&(module.exports={useLoginService});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|