@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 Ro=Object.create;var de=Object.defineProperty,Po=Object.defineProperties,Co=Object.getOwnPropertyDescriptor,_o=Object.getOwnPropertyDescriptors,Mo=Object.getOwnPropertyNames,Ae=Object.getOwnPropertySymbols,Oo=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable;var or=(e,t,r)=>t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))ut.call(t,r)&&or(e,r,t[r]);if(Ae)for(var r of Ae(t))ir.call(t,r)&&or(e,r,t[r]);return e},S=(e,t)=>Po(e,_o(t));var sr=(e,t)=>{var r={};for(var n in e)ut.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ae)for(var n of Ae(e))t.indexOf(n)<0&&ir.call(e,n)&&(r[n]=e[n]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},ar=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Mo(t))!ut.call(e,i)&&i!==r&&de(e,i,{get:()=>t[i],enumerable:!(n=Co(t,i))||n.enumerable});return e};var I=(e,t,r)=>(r=e!=null?Ro(Oo(e)):{},ar(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),ge=e=>ar(de({},"__esModule",{value:!0}),e);var pr=ke(Ee=>{"use strict";o();Ee.byteLength=Bo;Ee.toByteArray=Vo;Ee.fromByteArray=Go;var M=[],P=[],Fo=typeof Uint8Array!="undefined"?Uint8Array:Array,dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(J=0,cr=dt.length;J<cr;++J)M[J]=dt[J],P[dt.charCodeAt(J)]=J;var J,cr;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function lr(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 n=r===t?0:4-r%4;return[r,n]}function Bo(e){var t=lr(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Uo(e,t,r){return(t+r)*3/4-r}function Vo(e){var t,r=lr(e),n=r[0],i=r[1],p=new Fo(Uo(e,n,i)),l=0,g=i>0?n-4:n,d;for(d=0;d<g;d+=4)t=P[e.charCodeAt(d)]<<18|P[e.charCodeAt(d+1)]<<12|P[e.charCodeAt(d+2)]<<6|P[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=P[e.charCodeAt(d)]<<2|P[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=P[e.charCodeAt(d)]<<10|P[e.charCodeAt(d+1)]<<4|P[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function $o(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function Wo(e,t,r){for(var n,i=[],p=t;p<r;p+=3)n=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push($o(n));return i.join("")}function Go(e){for(var t,r=e.length,n=r%3,i=[],p=16383,l=0,g=r-n;l<g;l+=p)i.push(Wo(e,l,l+p>g?g:l+p));return n===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var ur=ke(gt=>{o();gt.read=function(e,t,r,n,i){var p,l,g=i*8-n-1,d=(1<<g)-1,T=d>>1,h=-7,y=r?i-1:0,k=r?-1:1,E=e[t+y];for(y+=k,p=E&(1<<-h)-1,E>>=-h,h+=g;h>0;p=p*256+e[t+y],y+=k,h-=8);for(l=p&(1<<-h)-1,p>>=-h,h+=n;h>0;l=l*256+e[t+y],y+=k,h-=8);if(p===0)p=1-T;else{if(p===d)return l?NaN:(E?-1:1)*(1/0);l=l+Math.pow(2,n),p=p-T}return(E?-1:1)*l*Math.pow(2,p-n)};gt.write=function(e,t,r,n,i,p){var l,g,d,T=p*8-i-1,h=(1<<T)-1,y=h>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:p-1,K=n?1:-1,$=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(g=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+y>=1?t+=k/d:t+=k*Math.pow(2,1-y),t*d>=2&&(l++,d/=2),l+y>=h?(g=0,l=h):l+y>=1?(g=(t*d-1)*Math.pow(2,i),l=l+y):(g=t*Math.pow(2,y-1)*Math.pow(2,i),l=0));i>=8;e[r+E]=g&255,E+=K,g/=256,i-=8);for(l=l<<i|g,T+=i;T>0;e[r+E]=l&255,E+=K,l/=256,T-=8);e[r+E-K]|=$*128}});var vr=ke(se=>{"use strict";o();var mt=pr(),ie=ur(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=u;se.SlowBuffer=Yo;se.INSPECT_MAX_BYTES=50;var Le=2147483647;se.kMaxLength=Le;u.TYPED_ARRAY_SUPPORT=Ho();!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 Ho(){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 W(e){if(e>Le)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 ht(e)}return fr(e,t,r)}u.poolSize=8192;function fr(e,t,r){if(typeof e=="string")return jo(e,t);if(ArrayBuffer.isView(e))return zo(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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return Tt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=Ko(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 fr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Tr(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 qo(e,t,r){return Tr(e),e<=0?W(e):t!==void 0?typeof r=="string"?W(e).fill(t,r):W(e).fill(t):W(e)}u.alloc=function(e,t,r){return qo(e,t,r)};function ht(e){return Tr(e),W(e<0?0:xt(e)|0)}u.allocUnsafe=function(e){return ht(e)};u.allocUnsafeSlow=function(e){return ht(e)};function jo(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=yr(e,t)|0,n=W(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function ft(e){for(var t=e.length<0?0:xt(e.length)|0,r=W(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function zo(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return Tt(t.buffer,t.byteOffset,t.byteLength)}return ft(e)}function Tt(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 n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function Ko(e){if(u.isBuffer(e)){var t=xt(e.length)|0,r=W(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||St(e.length)?W(0):ft(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ft(e.data)}function xt(e){if(e>=Le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Le.toString(16)+" bytes");return e|0}function Yo(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(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),O(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 n=t.length,i=r.length,p=0,l=Math.min(n,i);p<l;++p)if(t[p]!==r[p]){n=t[p],i=r[p];break}return n<i?-1:i<n?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 n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),p=0;for(n=0;n<t.length;++n){var l=t[n];if(O(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function yr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(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,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return yt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ir(e).length;default:if(i)return n?-1:yt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=yr;function Zo(e,t,r){var n=!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 si(this,t,r);case"utf8":case"utf-8":return xr(this,t,r);case"ascii":return oi(this,t,r);case"latin1":case"binary":return ii(this,t,r);case"base64":return ri(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ai(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function ee(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?xr(this,0,t):Zo.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=se.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};dr&&(u.prototype[dr]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,p){if(O(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),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||n>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=n)return 0;if(i>=p)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,g=n-r,d=Math.min(l,g),T=this.slice(i,p),h=t.slice(r,n),y=0;y<d;++y)if(T[y]!==h[y]){l=T[y],g=h[y];break}return l<g?-1:g<l?1:0};function hr(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,St(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,n)),u.isBuffer(t))return t.length===0?-1:gr(e,t,r,n,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):gr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function gr(e,t,r,n,i){var p=1,l=e.length,g=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,g/=2,r/=2}function d(E,K){return p===1?E[K]:E.readUInt16BE(K*p)}var T;if(i){var h=-1;for(T=r;T<l;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===g)return h*p}else h!==-1&&(T-=T-h),h=-1}else for(r+g>l&&(r=l-g),T=r;T>=0;T--){for(var y=!0,k=0;k<g;k++)if(d(e,T+k)!==d(t,k)){y=!1;break}if(y)return T}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return hr(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return hr(this,t,r,n,!1)};function Xo(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var p=t.length;n>p/2&&(n=p/2);for(var l=0;l<n;++l){var g=parseInt(t.substr(l*2,2),16);if(St(g))return l;e[r+l]=g}return l}function Qo(e,t,r,n){return De(yt(t,e.length-r),e,r,n)}function Jo(e,t,r,n){return De(pi(t),e,r,n)}function ei(e,t,r,n){return De(Ir(t),e,r,n)}function ti(e,t,r,n){return De(ui(t,e.length-r),e,r,n)}u.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((n===void 0||n>p)&&(n=p),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return Xo(this,t,r,n);case"utf8":case"utf-8":return Qo(this,t,r,n);case"ascii":case"latin1":case"binary":return Jo(this,t,r,n);case"base64":return ei(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ti(this,t,r,n);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ri(e,t,r){return t===0&&r===e.length?mt.fromByteArray(e):mt.fromByteArray(e.slice(t,r))}function xr(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var p=e[i],l=null,g=p>239?4:p>223?3:p>191?2:1;if(i+g<=r){var d,T,h,y;switch(g){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(y=(p&31)<<6|d&63,y>127&&(l=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(p&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(l=y));break;case 4:d=e[i+1],T=e[i+2],h=e[i+3],(d&192)===128&&(T&192)===128&&(h&192)===128&&(y=(p&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(l=y))}}l===null?(l=65533,g=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|l&1023),n.push(l),i+=g}return ni(n)}var mr=4096;function ni(e){var t=e.length;if(t<=mr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=mr));return r}function oi(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function ii(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function si(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",p=t;p<r;++p)i+=di[e[p]];return i}function ai(e,t,r){for(var n=e.slice(t,r),i="",p=0;p<n.length-1;p+=2)i+=String.fromCharCode(n[p]+n[p+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function v(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,n){t=t>>>0,r=r>>>0,n||v(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||v(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(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||v(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||v(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||v(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};u.prototype.readInt8=function(t,r){return t=t>>>0,r||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||v(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||v(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||v(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||v(t,4,this.length),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!1,52,8)};function D(e,t,r,n,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var p=Math.pow(2,8*n)-1;D(this,t,r,n,p,0)}var l=1,g=0;for(this[r]=t&255;++g<n&&(l*=256);)this[r+g]=t/l&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var p=Math.pow(2,8*n)-1;D(this,t,r,n,p,0)}var l=n-1,g=1;for(this[r+l]=t&255;--l>=0&&(g*=256);)this[r+l]=t/g&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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,n,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*n-1);D(this,t,r,n,p-1,-p)}var l=0,g=1,d=0;for(this[r]=t&255;++l<n&&(g*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/g>>0)-d&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*n-1);D(this,t,r,n,p-1,-p)}var l=n-1,g=1,d=0;for(this[r+l]=t&255;--l>=0&&(g*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/g>>0)-d&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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 Sr(e,t,r,n,i,p){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function wr(e,t,r,n,i){return t=+t,r=r>>>0,i||Sr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return wr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return wr(this,t,r,!1,n)};function br(e,t,r,n,i){return t=+t,r=r>>>0,i||Sr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return br(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return br(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var p=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),p};u.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<n;++l)this[l]=t;else{var g=u.isBuffer(t)?t:u.from(t,i),d=g.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<n-r;++l)this[l+r]=g[l%d]}return this};var ci=/[^+/0-9A-Za-z-_]/g;function li(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 yt(e,t){t=t||1/0;for(var r,n=e.length,i=null,p=[],l=0;l<n;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===n){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function pi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ui(e,t){for(var r,n,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),n=r>>8,i=r%256,p.push(i),p.push(n);return p}function Ir(e){return mt.toByteArray(li(e))}function De(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function O(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function St(e){return e!==e}var di=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var Dr=ke((zs,Lr)=>{o();var w=Lr.exports={},F,B;function wt(){throw new Error("setTimeout has not been defined")}function bt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=wt}catch(e){F=wt}try{typeof clearTimeout=="function"?B=clearTimeout:B=bt}catch(e){B=bt}})();function Ar(e){if(F===setTimeout)return setTimeout(e,0);if((F===wt||!F)&&setTimeout)return F=setTimeout,setTimeout(e,0);try{return F(e,0)}catch(t){try{return F.call(null,e,0)}catch(r){return F.call(this,e,0)}}}function gi(e){if(B===clearTimeout)return clearTimeout(e);if((B===bt||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(t){try{return B.call(null,e)}catch(r){return B.call(this,e)}}}var G=[],ae=!1,te,Ne=-1;function mi(){!ae||!te||(ae=!1,te.length?G=te.concat(G):Ne=-1,G.length&&kr())}function kr(){if(!ae){var e=Ar(mi);ae=!0;for(var t=G.length;t;){for(te=G,G=[];++Ne<t;)te&&te[Ne].run();Ne=-1,t=G.length}te=null,ae=!1,gi(e)}}w.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];G.push(new Er(e,t)),G.length===1&&!ae&&Ar(kr)};function Er(e,t){this.fun=e,this.array=t}Er.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function H(){}w.on=H;w.addListener=H;w.once=H;w.off=H;w.removeListener=H;w.removeAllListeners=H;w.emit=H;w.prependListener=H;w.prependOnceListener=H;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var s,a,Ks,o=f(()=>{s=I(vr()),a=I(Dr()),Ks=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}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 Nr=f(()=>{"use strict";o()});var Rr=f(()=>{"use strict";o()});var Pr=f(()=>{"use strict";o()});var Cr=f(()=>{"use strict";o()});var C=f(()=>{"use strict";o()});var _r=f(()=>{"use strict";o()});var Mr=f(()=>{"use strict";o()});var L=f(()=>{"use strict";o()});var Or=f(()=>{"use strict";o()});var Fr=f(()=>{"use strict";o()});var U=f(()=>{"use strict";o();Rr();Pr();Cr();C();_r();Mr();L();Or();Fr()});var It,Br,ga,Ur,ma,Vr,fa,Ta,ya,$r=f(()=>{"use strict";o();U();It={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:Br,egldLabel:ga}=It["devnet"],{chainId:Ur,egldLabel:ma}=It["testnet"],{chainId:Vr,egldLabel:fa}=It["mainnet"],Ta={["devnet"]:Br,["testnet"]:Ur,["mainnet"]:Vr},ya={[Br]:"devnet",[Ur]:"testnet",[Vr]:"mainnet"}});var vt=f(()=>{"use strict";o()});var Wr=f(()=>{"use strict";o()});var Gr,At=f(()=>{"use strict";o();Gr="transaction-status-toast-id"});var V,Hr=f(()=>{"use strict";o();V=require("@multiversx/sdk-web-wallet-provider")});var kt,Et,qr,Re,jr,ce,b=f(()=>{"use strict";o();Nr();$r();vt();Wr();At();Hr();kt=5e4,Et=1e9,qr=1,Re="logout",jr="login",ce="0"});var Ce,Nt=f(()=>{"use strict";o();Ce=()=>Date.now()/1e3});var en=f(()=>{"use strict";o()});var tn=f(()=>{"use strict";o()});var rn=f(()=>{"use strict";o();Nt();en();tn()});var Pt={};Q(Pt,{getItem:()=>yi,localStorageKeys:()=>re,removeItem:()=>hi,setItem:()=>Ti});var re,Rt,Ti,yi,hi,fe=f(()=>{"use strict";o();rn();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Rt=typeof localStorage!="undefined",Ti=({key:e,data:t,expires:r})=>{!Rt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},yi=e=>{if(!Rt)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:Ce()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},hi=e=>{!Rt||localStorage.removeItem(String(e))}});var Ct={};Q(Ct,{clear:()=>an,getItem:()=>on,removeItem:()=>sn,setItem:()=>nn,storage:()=>xi});var nn,on,sn,an,xi,cn=f(()=>{"use strict";o();nn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},on=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},sn=e=>sessionStorage.removeItem(String(e)),an=()=>sessionStorage.clear(),xi={setItem:nn,getItem:on,removeItem:sn,clear:an}});var le,_e=f(()=>{"use strict";o();fe();cn();le={session:Ct,local:Pt}});var _t,A,Me,j=f(()=>{"use strict";o();_t=require("@reduxjs/toolkit");b();A=(0,_t.createAction)(Re),Me=(0,_t.createAction)(jr,e=>({payload:e}))});var Ot,ln,pn,Oe,Mt,un,dn,oc,gn,ic,sc,ac,cc,lc,pc,uc,Fe,Be=f(()=>{"use strict";o();Ot=require("@multiversx/sdk-core"),ln=require("@reduxjs/toolkit"),pn=require("redux-persist");b();_e();fe();j();Oe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ce},Mt={address:"",websocketEvent:null,accounts:{"":Oe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},un=(0,ln.createSlice)({name:"accountInfoSlice",initialState:Mt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Ot.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Oe},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(A,()=>(le.local.removeItem(re.loginExpiresAt),Mt)),e.addCase(Me,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new Ot.Address(n).hex()}),e.addCase(pn.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:n}=r.payload,{address:i,shard:p,accounts:l,publicKey:g}=n;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:Mt.accounts,t.publicKey=g})}}),{setAccount:dn,setAddress:oc,setAccountNonce:gn,setAccountShard:ic,setLedgerAccount:sc,updateLedgerAccount:ac,setWalletConnectAccount:cc,setIsAccountLoading:lc,setAccountLoadingError:pc,setWebsocketEvent:uc}=un.actions,Fe=un.reducer});function Te(){return new Date().setHours(new Date().getHours()+24)}function ye(e){le.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var Ft=f(()=>{"use strict";o();_e();fe()});var fn,mn,Tn,wc,bc,Ic,vc,Ac,kc,yn,Ec,Ue,Ve=f(()=>{"use strict";o();fn=require("@reduxjs/toolkit");Ft();C();j();mn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Tn=(0,fn.createSlice)({name:"loginInfoSlice",initialState:mn,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(A,()=>mn),e.addCase(Me,(t,r)=>{t.loginMethod=r.payload.loginMethod,ye(Te())})}}),{setLoginMethod:wc,setWalletConnectLogin:bc,setLedgerLogin:Ic,setTokenLogin:vc,setTokenLoginSignature:Ac,setWalletLogin:kc,invalidateLoginSession:yn,setLogoutRoute:Ec}=Tn.actions,Ue=Tn.reducer});var xn,hn,Sn,Rc,Pc,Cc,_c,$e,We=f(()=>{"use strict";o();xn=require("@reduxjs/toolkit");j();hn={},Sn=(0,xn.createSlice)({name:"modalsSlice",initialState:hn,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(A,()=>hn)}}),{setTxSubmittedModal:Rc,setNotificationModal:Pc,clearTxSubmittedModal:Cc,clearNotificationModal:_c}=Sn.actions,$e=Sn.reducer});var wn=f(()=>{"use strict";o()});var bn=f(()=>{"use strict";o();wn()});function Bt(e){return e[Math.floor(Math.random()*e.length)]}var In=f(()=>{"use strict";o()});var vn=f(()=>{"use strict";o();vt()});var An=f(()=>{"use strict";o();bn();In();vn()});var kn,En,Ut,Si,Ln,Zc,Xc,Ge,He=f(()=>{"use strict";o();kn=require("@reduxjs/toolkit"),En=I(require("lodash.omit"));An();Ut={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Si={network:Ut,chainID:"-1"},Ln=(0,kn.createSlice)({name:"appConfig",initialState:Si,reducers:{initializeNetworkConfig:(e,t)=>{let r=Bt(t.payload.walletConnectBridgeAddresses),n=Bt(t.payload.walletConnectV2RelayAddresses),i=(0,En.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Zc,setChainID:Xc}=Ln.actions,Ge=Ln.reducer});var Dn,Vt,Nn,nl,ol,il,qe,je=f(()=>{"use strict";o();Dn=require("@reduxjs/toolkit");U();j();Vt={isSigning:!1,signedSessions:{}},Nn=(0,Dn.createSlice)({name:"signedMessageInfoSliceState",initialState:Vt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:n,errorMessage:i}=t.payload;return S(x({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:n.status==="pending",signedSessions:S(x({},e.signedSessions),{[r]:n})})},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>Vt},extraReducers:e=>{e.addCase(A,()=>Vt)}}),{setSignSession:nl,clearSignedMessageInfo:ol,setSignSessionState:il}=Nn.actions,qe=Nn.reducer});var Pn,Cn,Rn,_n,gl,ml,fl,Tl,yl,hl,ze,Ke=f(()=>{"use strict";o();Pn=require("@reduxjs/toolkit"),Cn=require("redux-persist");At();U();Nt();j();Rn={customToasts:[],transactionToasts:[],failTransactionToast:null},_n=(0,Pn.createSlice)({name:"toastsSlice",initialState:Rn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(S(x({},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:Ce(),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=S(x({},t.payload),{toastId:Gr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(A,()=>Rn),e.addCase(Cn.REHYDRATE,(t,r)=>{var i,p;let n=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=n})}}),{addCustomToast:gl,removeCustomToast:ml,addTransactionToast:fl,removeTransactionToast:Tl,addFailTransactionToast:yl,removeFailTransactionToast:hl}=_n.actions,ze=_n.reducer});var Mn,Wt,Gt,Ht,wi,$t,On,bl,Il,vl,Ye,Ze=f(()=>{"use strict";o();Mn=require("@reduxjs/toolkit");j();Wt="Transaction failed",Gt="Transaction successful",Ht="Processing transaction",wi="Transaction submitted",$t={},On=(0,Mn.createSlice)({name:"transactionsInfo",initialState:$t,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Wt,successMessage:(n==null?void 0:n.successMessage)||Gt,processingMessage:(n==null?void 0:n.processingMessage)||Ht,submittedMessage:(n==null?void 0:n.submittedMessage)||wi,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>$t},extraReducers:e=>{e.addCase(A,()=>$t)}}),{clearTransactionsInfo:bl,setTransactionsDisplayInfo:Il,clearTransactionsInfoForSessionId:vl}=On.actions,Ye=On.reducer});function Fn(e){return e!=null&&(Ni(e)||_i(e))}function Xe(e){return e!=null&&(Ri(e)||Mi(e))}function Qe(e){return e!=null&&(Pi(e)||Oi(e))}function Bn(e){return e!=null&&Ci(e)}function Ni(e){return e!=null&&Ii.includes(e)}function Ri(e){return e!=null&&vi.includes(e)}function Pi(e){return e!=null&&Ai.includes(e)}function Ci(e){return e!=null&&ki.includes(e)}function _i(e){return e!=null&&Ei.includes(e)}function Mi(e){return e!=null&&Li.includes(e)}function Oi(e){return e!=null&&Di.includes(e)}var Ii,vi,Ai,ki,Ei,Li,Di,jt=f(()=>{"use strict";o();C();Ii=["sent"],vi=["success"],Ai=["fail","cancelled","timedOut"],ki=["timedOut"],Ei=["pending"],Li=["success"],Di=["fail","invalid"]});var Un,Vn,he,Fi,$n,Cl,_l,Ml,Ol,Fl,Bl,Ul,Vl,$l,Wl,Je,et=f(()=>{"use strict";o();Un=require("@reduxjs/toolkit"),Vn=require("redux-persist");C();jt();j();he={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Fi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},$n=(0,Un.createSlice)({name:"transactionsSlice",initialState:he,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:n,errorMessage:i,status:p,redirectRoute:l}=t.payload,g=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||Fi;e.signedTransactions[r]={transactions:n,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:g},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=he.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=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var g,d,T,h,y,k;let{sessionId:r,status:n,errorMessage:i,transactionHash:p}=t.payload,l=(d=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:d.transactions;if(l!=null){e.signedTransactions[r].transactions=l.map($=>$.hash===p?S(x({},$),{status:n,errorMessage:i}):$);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every($=>Xe($.status)),K=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every($=>Qe($.status));E&&(e.signedTransactions[r].status="success"),K&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=he.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=he.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(A,()=>he),e.addCase(Vn.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(n).reduce((g,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(g[d]=T),g},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:Cl,updateSignedTransactions:_l,setTransactionsToSign:Ml,clearAllTransactionsToSign:Ol,clearAllSignedTransactions:Fl,clearSignedTransaction:Bl,clearTransactionToSign:Ul,setSignTransactionsError:Vl,setSignTransactionsCancelMessage:$l,moveTransactionsToSignedState:Wl}=$n.actions,Je=$n.reducer});var pe=f(()=>{"use strict";o();Be();Ve();We();He();je();Ke();Ze();et()});var Jt=f(()=>{"use strict";o()});var to,eo,ro,Zu,Xu,Qu,Ju,ed,td,no,oo=f(()=>{"use strict";o();to=require("@reduxjs/toolkit");j();eo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ro=(0,to.createSlice)({name:"dappModalsSlice",initialState:eo,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=x({},t.payload)}},extraReducers:e=>{e.addCase(A,()=>eo)}}),{setDappModalVisibility:Zu,setDappModalHeaderVisibility:Xu,setDappModalFooterVisibility:Qu,setDappModalHeaderText:Ju,setDappModalFooterText:ed,setDappModalConfig:td}=ro.actions,no=ro.reducer});var io,Yi,Zi,oe,it=f(()=>{"use strict";o();io=require("@reduxjs/toolkit");Jt();Be();oo();Ve();We();He();je();Ke();Ze();et();Yi={["account"]:Fe,["dappModal"]:no,["loginInfo"]:Ue,["modals"]:$e,["networkConfig"]:Ge,["signedMessageInfo"]:qe,["toasts"]:ze,["transactionsInfo"]:Ye,["transactions"]:Je},Zi=(e={})=>(0,io.combineReducers)(x(x({},Yi),e)),oe=Zi});var lo={};Q(lo,{default:()=>us,sessionStorageReducers:()=>er});function Z(e,t=[]){return{key:e,version:1,storage:ao.default,blacklist:t}}var R,so,ao,Xi,we,Qi,Ji,es,ts,rs,ns,os,is,ss,co,as,er,cs,ls,ps,us,po=f(()=>{"use strict";o();R=require("redux-persist"),so=I(require("redux-persist/lib/storage")),ao=I(require("redux-persist/lib/storage/session"));it();pe();Be();Ve();We();He();je();Ke();Ze();et();Jt();Xi={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Qi=Z(we["account"]),Ji=Z(we["loginInfo"]),es=Z(we["modals"]),ts=Z(we["networkConfig"]),rs={2:e=>S(x({},e),{networkConfig:Ut})};ns=Z("sdk-dapp-transactionsInfo"),os=Z("sdk-dapp-transactions",["transactionsToSign"]),is=Z("sdk-dapp-toasts"),ss=Z("sdk-dapp-signedMessageInfo"),co={key:"sdk-dapp-store",version:2,storage:so.default,whitelist:Object.keys(we),migrate:(0,R.createMigrate)(rs,{debug:!1})},as=S(x({},co),{whitelist:[]}),er={["toasts"]:(0,R.persistReducer)(is,ze),["transactions"]:(0,R.persistReducer)(os,Je),["transactionsInfo"]:(0,R.persistReducer)(ns,Ye),["signedMessageInfo"]:(0,R.persistReducer)(ss,qe)},cs=S(x({},er),{["account"]:(0,R.persistReducer)(Qi,Fe),["loginInfo"]:(0,R.persistReducer)(Ji,Ue),["modals"]:(0,R.persistReducer)(es,$e),["networkConfig"]:(0,R.persistReducer)(ts,Ge)}),ls=Xi.persistReducersStorageType==="localStorage",ps=ls?(0,R.persistReducer)(co,oe(er)):(0,R.persistReducer)(as,oe(cs)),us=ps});var uo={};Q(uo,{default:()=>ds});var ds,go=f(()=>{"use strict";o();it();ds=oe()});var mo={};Q(mo,{default:()=>ms});var _,gs,ms,fo=f(()=>{"use strict";o();_=require("redux-persist"),gs=[_.FLUSH,_.REHYDRATE,_.PAUSE,_.PERSIST,_.PURGE,_.REGISTER],ms=gs});var ho={};Q(ho,{default:()=>yo});function yo(e){return(0,To.persistStore)(e)}var To,xo=f(()=>{"use strict";o();To=require("redux-persist")});var Ws={};Q(Ws,{getAddress:()=>$s});module.exports=ge(Ws);o();o();o();o();var zr=require("@multiversx/sdk-extension-provider"),Kr=require("@multiversx/sdk-hw-provider"),Yr=require("@multiversx/sdk-opera-provider"),Zr=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Xr=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Qr=require("@multiversx/sdk-web-wallet-provider");b();C();var Jr=e=>{switch(e==null?void 0:e.constructor){case Qr.WalletProvider:return"wallet";case Zr.WalletConnectProvider:return"walletconnect";case Xr.WalletConnectV2Provider:return"walletconnectv2";case Kr.HWProvider:return"ledger";case zr.ExtensionProvider:return"extension";case Yr.OperaProvider:return"opera";case Pe:return"";default:return"extra"}};var q=e=>`Unable to perform ${e}, Provider not initialized`,Pe=class{init(){return Promise.resolve(!1)}login(t){throw new Error(q(`login with options: ${t}`))}logout(t){throw new Error(q(`logout with options: ${t}`))}getAddress(){throw new Error(q("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(q(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(q(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(q(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(q(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(q(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(q(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Dt=new Pe;var fi=Dt;function me(){return fi||Dt}o();o();pe();o();var Wn=I(require("lodash.isequal")),tt=require("reselect");U();var m=(0,tt.createSelectorCreator)(tt.defaultMemoize,Wn.default),rt=(e,t)=>e!=""&&Boolean(t);var z=e=>e.account,xe=m(z,e=>e.address),zt=m(z,xe,(e,t)=>t in e.accounts?e.accounts[t]:Oe),np=m(z,zt,(e,t)=>{let i=e,{accounts:r}=i,n=sr(i,["accounts"]);return S(x({},n),{account:t})}),op=m(zt,e=>e.balance),ip=m(zt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),sp=m(z,e=>e.shard),ap=m(z,e=>e.ledgerAccount),cp=m(z,e=>e.walletConnectAccount),lp=m(z,e=>e.isAccountLoading),pp=m(z,e=>e.accountLoadingError),up=m(z,e=>e.websocketEvent);o();var Y=e=>e.loginInfo,fp=m(Y,e=>e.loginMethod),Gn=m(Y,xe,(e,t)=>rt(e.loginMethod,t)),Tp=m(Y,e=>e.walletConnectLogin),yp=m(Y,e=>e.ledgerLogin),Hn=m(Y,e=>e.walletLogin),hp=m(Y,e=>e.isLoginSessionInvalid),xp=m(Y,e=>e.tokenLogin),Sp=m(Y,e=>e.logoutRoute);o();var qn=e=>e.modals,Ip=m(qn,e=>e.txSubmittedModal),vp=m(qn,e=>e.notificationModal);o();var ne=e=>e.networkConfig,Ep=m(ne,e=>e.chainID),Lp=m(ne,e=>e.network.walletConnectBridgeAddress),Dp=m(ne,e=>e.network.walletConnectV2RelayAddress),Np=m(ne,e=>e.network.walletConnectV2ProjectId),Rp=m(ne,e=>e.network.walletConnectV2Options),Pp=m(ne,e=>e.network.walletConnectDeepLink),Kt=m(ne,e=>e.network),Cp=m(Kt,e=>e.apiAddress),jn=m(Kt,e=>e.explorerAddress),_p=m(Kt,e=>e.egldLabel);o();var Yt=e=>e.signedMessageInfo,Fp=m(Yt,e=>e.isSigning),Bp=m(Yt,e=>e.errorMessage),Up=m(Yt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var Zt=e=>e.toasts,Wp=m(Zt,e=>e.customToasts),Gp=m(Zt,e=>e.transactionToasts),Hp=m(Zt,e=>e.failTransactionToast);o();pe();var zn={errorMessage:Wt,successMessage:Gt,processingMessage:Ht},Bi=e=>e.transactionsInfo,Kp=m(Bi,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||zn);o();o();var N=require("@multiversx/sdk-core");b();o();function Xt(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Qt(e){var i,p,l;let{data:t}=e,r=Xt(t!=null?t:"")?N.TransactionPayload.fromEncoded(t):new N.TransactionPayload(t),n=new N.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new N.Address(e.receiver),sender:new N.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:kt,gasPrice:(p=e.gasPrice.valueOf())!=null?p:Et,chainID:e.chainID.valueOf(),version:new N.TransactionVersion((l=e.version)!=null?l:qr)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();jt();o();var Vi=I(require("bignumber.js"));U();o();o();o();o();var Wi=require("@multiversx/sdk-core"),Gi=I(require("bignumber.js"));C();o();var Zn=require("@multiversx/sdk-core");function $i(e){try{let t=new Zn.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Se(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&$i(e)}o();o();o();var qi=require("@multiversx/sdk-core/out");o();b();o();var Xn=require("@multiversx/sdk-core");U();o();o();o();o();C();o();o();var tr=require("@reduxjs/toolkit"),Io=require("react-redux/lib/utils/Subscription");pe();o();var Qn=I(require("lodash.throttle"));b();pe();Ft();_e();fe();var ji=[Re],nt=!1,zi=(0,Qn.default)(()=>{ye(Te())},5e3),Jn=e=>t=>r=>{var d;if(ji.includes(r.type))return t(r);let n=e.getState(),i=le.local.getItem(re.loginExpiresAt);if(!rt((d=n==null?void 0:n.loginInfo)==null?void 0:d.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return ye(Te());let l=Date.now();return i-l<0&&!nt?setTimeout(()=>{nt=!0,e.dispatch(yn())},1e3):(nt&&(nt=!1),zi()),t(r)};o();o();function ot(){return typeof sessionStorage!="undefined"}var So=ot()?(po(),ge(lo)).default:(go(),ge(uo)).default,wo=ot()?(fo(),ge(mo)).default:[],bo=ot()?(xo(),ge(ho)).default:e=>e;it();var ue=(0,tr.configureStore)({reducer:So,middleware:e=>e({serializableCheck:{ignoredActions:[...wo,gn.type,dn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Pd=(0,Io.createSubscription)(ue),Cd=bo(ue),_d=(0,tr.configureStore)({reducer:oe});o();o();o();o();o();o();o();o();o();o();L();o();o();L();o();o();o();var Ss=I(require("bignumber.js"));b();o();var xs=require("@multiversx/sdk-core"),rr=I(require("bignumber.js"));b();o();var ys=I(require("bignumber.js"));o();rr.default.config({ROUNDING_MODE:rr.default.ROUND_FLOOR});o();o();o();b();o();o();o();o();b();o();b();o();var ws=require("@multiversx/sdk-core");b();o();var be=require("@multiversx/sdk-core"),Is=require("@multiversx/sdk-network-providers");b();o();o();var bs=I(require("bignumber.js"));b();o();b();o();o();o();o();o();b();o();L();var As=["reDelegateRewards","claimRewards","unBond"],ks=["wrapEgld","unwrapEgld"],Es=["unStake"],Ls=["unDelegate"];o();o();o();b();o();var Rs=I(require("bignumber.js"));o();o();o();L();o();var Ps=I(require("bignumber.js"));o();o();o();o();L();o();o();o();var _s=I(require("linkifyjs"));o();b();o();var Ms=I(require("bignumber.js"));o();U();o();o();C();o();C();o();o();o();L();o();L();o();var Os=I(require("bignumber.js"));b();L();o();L();o();var Lo=require("react");U();o();o();L();o();var Fs=require("@multiversx/sdk-core/out"),Bs=I(require("bignumber.js"));L();o();L();o();o();C();var Iy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var Do=require("react");U();o();var Vs=require("react");L();var Ny=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var lt=e=>e.transactions,Ie=m(lt,e=>e.signedTransactions),mh=m(lt,e=>e.signTransactionsError),fh=m(lt,e=>e.signTransactionsCancelMessage),pt=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),Th=m(Ie,pt(Fn)),yh=m(Ie,pt(Xe)),hh=m(Ie,pt(Qe)),xh=m(Ie,pt(Bn)),Sh=m(lt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:S(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Qt(r)))||[]})}),wh=m(Ie,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});C();o();o();function No(){let e=me();return Jr(e)}function ve(e){return No()===e}function $s(){let{search:e}=window.location,t=ue.getState(),r=me(),n=xe(t),i=Gn(t),p=Hn(t);if(!r)throw"provider not initialized";return ve("ledger")&&i?new Promise(l=>{l(n)}):!ve("")&&!ve("wallet")&&!ve("extra")?r.getAddress():new Promise(l=>{if(p!=null){let g=new URLSearchParams(e),d=Object.fromEntries(g);Se(d.address)&&l(d.address)}i&&l(n),l("")})}0&&(module.exports={getAddress});
|
|
1
|
+
"use strict";var Ro=Object.create;var de=Object.defineProperty,Po=Object.defineProperties,Co=Object.getOwnPropertyDescriptor,_o=Object.getOwnPropertyDescriptors,Mo=Object.getOwnPropertyNames,Ae=Object.getOwnPropertySymbols,Oo=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable;var or=(e,t,r)=>t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))ut.call(t,r)&&or(e,r,t[r]);if(Ae)for(var r of Ae(t))ir.call(t,r)&&or(e,r,t[r]);return e},S=(e,t)=>Po(e,_o(t));var sr=(e,t)=>{var r={};for(var n in e)ut.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ae)for(var n of Ae(e))t.indexOf(n)<0&&ir.call(e,n)&&(r[n]=e[n]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},ar=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Mo(t))!ut.call(e,i)&&i!==r&&de(e,i,{get:()=>t[i],enumerable:!(n=Co(t,i))||n.enumerable});return e};var v=(e,t,r)=>(r=e!=null?Ro(Oo(e)):{},ar(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),ge=e=>ar(de({},"__esModule",{value:!0}),e);var pr=ke(Ee=>{"use strict";o();Ee.byteLength=Bo;Ee.toByteArray=$o;Ee.fromByteArray=Wo;var M=[],P=[],Fo=typeof Uint8Array!="undefined"?Uint8Array:Array,dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(J=0,cr=dt.length;J<cr;++J)M[J]=dt[J],P[dt.charCodeAt(J)]=J;var J,cr;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function lr(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 n=r===t?0:4-r%4;return[r,n]}function Bo(e){var t=lr(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Uo(e,t,r){return(t+r)*3/4-r}function $o(e){var t,r=lr(e),n=r[0],i=r[1],p=new Fo(Uo(e,n,i)),l=0,g=i>0?n-4:n,d;for(d=0;d<g;d+=4)t=P[e.charCodeAt(d)]<<18|P[e.charCodeAt(d+1)]<<12|P[e.charCodeAt(d+2)]<<6|P[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=P[e.charCodeAt(d)]<<2|P[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=P[e.charCodeAt(d)]<<10|P[e.charCodeAt(d+1)]<<4|P[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function Vo(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function Go(e,t,r){for(var n,i=[],p=t;p<r;p+=3)n=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(Vo(n));return i.join("")}function Wo(e){for(var t,r=e.length,n=r%3,i=[],p=16383,l=0,g=r-n;l<g;l+=p)i.push(Go(e,l,l+p>g?g:l+p));return n===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var ur=ke(gt=>{o();gt.read=function(e,t,r,n,i){var p,l,g=i*8-n-1,d=(1<<g)-1,T=d>>1,h=-7,y=r?i-1:0,k=r?-1:1,E=e[t+y];for(y+=k,p=E&(1<<-h)-1,E>>=-h,h+=g;h>0;p=p*256+e[t+y],y+=k,h-=8);for(l=p&(1<<-h)-1,p>>=-h,h+=n;h>0;l=l*256+e[t+y],y+=k,h-=8);if(p===0)p=1-T;else{if(p===d)return l?NaN:(E?-1:1)*(1/0);l=l+Math.pow(2,n),p=p-T}return(E?-1:1)*l*Math.pow(2,p-n)};gt.write=function(e,t,r,n,i,p){var l,g,d,T=p*8-i-1,h=(1<<T)-1,y=h>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:p-1,K=n?1:-1,V=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(g=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+y>=1?t+=k/d:t+=k*Math.pow(2,1-y),t*d>=2&&(l++,d/=2),l+y>=h?(g=0,l=h):l+y>=1?(g=(t*d-1)*Math.pow(2,i),l=l+y):(g=t*Math.pow(2,y-1)*Math.pow(2,i),l=0));i>=8;e[r+E]=g&255,E+=K,g/=256,i-=8);for(l=l<<i|g,T+=i;T>0;e[r+E]=l&255,E+=K,l/=256,T-=8);e[r+E-K]|=V*128}});var Ir=ke(se=>{"use strict";o();var mt=pr(),ie=ur(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=u;se.SlowBuffer=Yo;se.INSPECT_MAX_BYTES=50;var Le=2147483647;se.kMaxLength=Le;u.TYPED_ARRAY_SUPPORT=Ho();!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 Ho(){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 G(e){if(e>Le)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 ht(e)}return fr(e,t,r)}u.poolSize=8192;function fr(e,t,r){if(typeof e=="string")return jo(e,t);if(ArrayBuffer.isView(e))return zo(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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return Tt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=Ko(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 fr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Tr(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 qo(e,t,r){return Tr(e),e<=0?G(e):t!==void 0?typeof r=="string"?G(e).fill(t,r):G(e).fill(t):G(e)}u.alloc=function(e,t,r){return qo(e,t,r)};function ht(e){return Tr(e),G(e<0?0:xt(e)|0)}u.allocUnsafe=function(e){return ht(e)};u.allocUnsafeSlow=function(e){return ht(e)};function jo(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=yr(e,t)|0,n=G(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function ft(e){for(var t=e.length<0?0:xt(e.length)|0,r=G(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function zo(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return Tt(t.buffer,t.byteOffset,t.byteLength)}return ft(e)}function Tt(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 n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function Ko(e){if(u.isBuffer(e)){var t=xt(e.length)|0,r=G(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||St(e.length)?G(0):ft(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ft(e.data)}function xt(e){if(e>=Le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Le.toString(16)+" bytes");return e|0}function Yo(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(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),O(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 n=t.length,i=r.length,p=0,l=Math.min(n,i);p<l;++p)if(t[p]!==r[p]){n=t[p],i=r[p];break}return n<i?-1:i<n?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 n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),p=0;for(n=0;n<t.length;++n){var l=t[n];if(O(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function yr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(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,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return yt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return vr(e).length;default:if(i)return n?-1:yt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=yr;function Zo(e,t,r){var n=!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 si(this,t,r);case"utf8":case"utf-8":return xr(this,t,r);case"ascii":return oi(this,t,r);case"latin1":case"binary":return ii(this,t,r);case"base64":return ri(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ai(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function ee(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?xr(this,0,t):Zo.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=se.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};dr&&(u.prototype[dr]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,p){if(O(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),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||n>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=n)return 0;if(i>=p)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,g=n-r,d=Math.min(l,g),T=this.slice(i,p),h=t.slice(r,n),y=0;y<d;++y)if(T[y]!==h[y]){l=T[y],g=h[y];break}return l<g?-1:g<l?1:0};function hr(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,St(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,n)),u.isBuffer(t))return t.length===0?-1:gr(e,t,r,n,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):gr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function gr(e,t,r,n,i){var p=1,l=e.length,g=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,g/=2,r/=2}function d(E,K){return p===1?E[K]:E.readUInt16BE(K*p)}var T;if(i){var h=-1;for(T=r;T<l;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===g)return h*p}else h!==-1&&(T-=T-h),h=-1}else for(r+g>l&&(r=l-g),T=r;T>=0;T--){for(var y=!0,k=0;k<g;k++)if(d(e,T+k)!==d(t,k)){y=!1;break}if(y)return T}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return hr(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return hr(this,t,r,n,!1)};function Xo(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var p=t.length;n>p/2&&(n=p/2);for(var l=0;l<n;++l){var g=parseInt(t.substr(l*2,2),16);if(St(g))return l;e[r+l]=g}return l}function Qo(e,t,r,n){return De(yt(t,e.length-r),e,r,n)}function Jo(e,t,r,n){return De(pi(t),e,r,n)}function ei(e,t,r,n){return De(vr(t),e,r,n)}function ti(e,t,r,n){return De(ui(t,e.length-r),e,r,n)}u.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((n===void 0||n>p)&&(n=p),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return Xo(this,t,r,n);case"utf8":case"utf-8":return Qo(this,t,r,n);case"ascii":case"latin1":case"binary":return Jo(this,t,r,n);case"base64":return ei(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ti(this,t,r,n);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ri(e,t,r){return t===0&&r===e.length?mt.fromByteArray(e):mt.fromByteArray(e.slice(t,r))}function xr(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var p=e[i],l=null,g=p>239?4:p>223?3:p>191?2:1;if(i+g<=r){var d,T,h,y;switch(g){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(y=(p&31)<<6|d&63,y>127&&(l=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(p&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(l=y));break;case 4:d=e[i+1],T=e[i+2],h=e[i+3],(d&192)===128&&(T&192)===128&&(h&192)===128&&(y=(p&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(l=y))}}l===null?(l=65533,g=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|l&1023),n.push(l),i+=g}return ni(n)}var mr=4096;function ni(e){var t=e.length;if(t<=mr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=mr));return r}function oi(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function ii(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function si(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",p=t;p<r;++p)i+=di[e[p]];return i}function ai(e,t,r){for(var n=e.slice(t,r),i="",p=0;p<n.length-1;p+=2)i+=String.fromCharCode(n[p]+n[p+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function I(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,n){t=t>>>0,r=r>>>0,n||I(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||I(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||I(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||I(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||I(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||I(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||I(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};u.prototype.readInt8=function(t,r){return t=t>>>0,r||I(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||I(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||I(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||I(t,4,this.length),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ie.read(this,t,!1,52,8)};function D(e,t,r,n,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var p=Math.pow(2,8*n)-1;D(this,t,r,n,p,0)}var l=1,g=0;for(this[r]=t&255;++g<n&&(l*=256);)this[r+g]=t/l&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var p=Math.pow(2,8*n)-1;D(this,t,r,n,p,0)}var l=n-1,g=1;for(this[r+l]=t&255;--l>=0&&(g*=256);)this[r+l]=t/g&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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,n,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*n-1);D(this,t,r,n,p-1,-p)}var l=0,g=1,d=0;for(this[r]=t&255;++l<n&&(g*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/g>>0)-d&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*n-1);D(this,t,r,n,p-1,-p)}var l=n-1,g=1,d=0;for(this[r+l]=t&255;--l>=0&&(g*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/g>>0)-d&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(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,n){return t=+t,r=r>>>0,n||D(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 Sr(e,t,r,n,i,p){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function wr(e,t,r,n,i){return t=+t,r=r>>>0,i||Sr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return wr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return wr(this,t,r,!1,n)};function br(e,t,r,n,i){return t=+t,r=r>>>0,i||Sr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return br(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return br(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var p=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),p};u.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<n;++l)this[l]=t;else{var g=u.isBuffer(t)?t:u.from(t,i),d=g.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<n-r;++l)this[l+r]=g[l%d]}return this};var ci=/[^+/0-9A-Za-z-_]/g;function li(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 yt(e,t){t=t||1/0;for(var r,n=e.length,i=null,p=[],l=0;l<n;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===n){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function pi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ui(e,t){for(var r,n,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),n=r>>8,i=r%256,p.push(i),p.push(n);return p}function vr(e){return mt.toByteArray(li(e))}function De(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function O(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function St(e){return e!==e}var di=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var Dr=ke((zs,Lr)=>{o();var w=Lr.exports={},F,B;function wt(){throw new Error("setTimeout has not been defined")}function bt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=wt}catch(e){F=wt}try{typeof clearTimeout=="function"?B=clearTimeout:B=bt}catch(e){B=bt}})();function Ar(e){if(F===setTimeout)return setTimeout(e,0);if((F===wt||!F)&&setTimeout)return F=setTimeout,setTimeout(e,0);try{return F(e,0)}catch(t){try{return F.call(null,e,0)}catch(r){return F.call(this,e,0)}}}function gi(e){if(B===clearTimeout)return clearTimeout(e);if((B===bt||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(t){try{return B.call(null,e)}catch(r){return B.call(this,e)}}}var W=[],ae=!1,te,Ne=-1;function mi(){!ae||!te||(ae=!1,te.length?W=te.concat(W):Ne=-1,W.length&&kr())}function kr(){if(!ae){var e=Ar(mi);ae=!0;for(var t=W.length;t;){for(te=W,W=[];++Ne<t;)te&&te[Ne].run();Ne=-1,t=W.length}te=null,ae=!1,gi(e)}}w.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];W.push(new Er(e,t)),W.length===1&&!ae&&Ar(kr)};function Er(e,t){this.fun=e,this.array=t}Er.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function H(){}w.on=H;w.addListener=H;w.once=H;w.off=H;w.removeListener=H;w.removeAllListeners=H;w.emit=H;w.prependListener=H;w.prependOnceListener=H;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var s,a,Ks,o=f(()=>{s=v(Ir()),a=v(Dr()),Ks=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}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 Nr=f(()=>{"use strict";o()});var Rr=f(()=>{"use strict";o()});var Pr=f(()=>{"use strict";o()});var Cr=f(()=>{"use strict";o()});var C=f(()=>{"use strict";o()});var _r=f(()=>{"use strict";o()});var Mr=f(()=>{"use strict";o()});var L=f(()=>{"use strict";o()});var Or=f(()=>{"use strict";o()});var Fr=f(()=>{"use strict";o()});var U=f(()=>{"use strict";o();Rr();Pr();Cr();C();_r();Mr();L();Or();Fr()});var vt,Br,ga,Ur,ma,$r,fa,Ta,ya,Vr=f(()=>{"use strict";o();U();vt={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:Br,egldLabel:ga}=vt["devnet"],{chainId:Ur,egldLabel:ma}=vt["testnet"],{chainId:$r,egldLabel:fa}=vt["mainnet"],Ta={["devnet"]:Br,["testnet"]:Ur,["mainnet"]:$r},ya={[Br]:"devnet",[Ur]:"testnet",[$r]:"mainnet"}});var It=f(()=>{"use strict";o()});var Gr=f(()=>{"use strict";o()});var Wr,At=f(()=>{"use strict";o();Wr="transaction-status-toast-id"});var $,Hr=f(()=>{"use strict";o();$=require("@multiversx/sdk-web-wallet-provider")});var kt,Et,qr,Re,jr,ce,b=f(()=>{"use strict";o();Nr();Vr();It();Gr();At();Hr();kt=5e4,Et=1e9,qr=1,Re="logout",jr="login",ce="0"});var Ce,Nt=f(()=>{"use strict";o();Ce=()=>Date.now()/1e3});var en=f(()=>{"use strict";o()});var tn=f(()=>{"use strict";o()});var rn=f(()=>{"use strict";o();Nt();en();tn()});var Pt={};Q(Pt,{getItem:()=>yi,localStorageKeys:()=>re,removeItem:()=>hi,setItem:()=>Ti});var re,Rt,Ti,yi,hi,fe=f(()=>{"use strict";o();rn();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Rt=typeof localStorage!="undefined",Ti=({key:e,data:t,expires:r})=>{!Rt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},yi=e=>{if(!Rt)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:Ce()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},hi=e=>{!Rt||localStorage.removeItem(String(e))}});var Ct={};Q(Ct,{clear:()=>an,getItem:()=>on,removeItem:()=>sn,setItem:()=>nn,storage:()=>xi});var nn,on,sn,an,xi,cn=f(()=>{"use strict";o();nn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},on=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},sn=e=>sessionStorage.removeItem(String(e)),an=()=>sessionStorage.clear(),xi={setItem:nn,getItem:on,removeItem:sn,clear:an}});var le,_e=f(()=>{"use strict";o();fe();cn();le={session:Ct,local:Pt}});var _t,A,Me,j=f(()=>{"use strict";o();_t=require("@reduxjs/toolkit");b();A=(0,_t.createAction)(Re),Me=(0,_t.createAction)(jr,e=>({payload:e}))});var Ot,ln,pn,Oe,Mt,un,dn,oc,gn,ic,sc,ac,cc,lc,pc,uc,Fe,Be=f(()=>{"use strict";o();Ot=require("@multiversx/sdk-core"),ln=require("@reduxjs/toolkit"),pn=require("redux-persist");b();_e();fe();j();Oe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ce},Mt={address:"",websocketEvent:null,accounts:{"":Oe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},un=(0,ln.createSlice)({name:"accountInfoSlice",initialState:Mt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Ot.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Oe},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(A,()=>(le.local.removeItem(re.loginExpiresAt),Mt)),e.addCase(Me,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new Ot.Address(n).hex()}),e.addCase(pn.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:n}=r.payload,{address:i,shard:p,accounts:l,publicKey:g}=n;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:Mt.accounts,t.publicKey=g})}}),{setAccount:dn,setAddress:oc,setAccountNonce:gn,setAccountShard:ic,setLedgerAccount:sc,updateLedgerAccount:ac,setWalletConnectAccount:cc,setIsAccountLoading:lc,setAccountLoadingError:pc,setWebsocketEvent:uc}=un.actions,Fe=un.reducer});function Te(){return new Date().setHours(new Date().getHours()+24)}function ye(e){le.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var Ft=f(()=>{"use strict";o();_e();fe()});var fn,mn,Tn,wc,bc,vc,Ic,Ac,kc,yn,Ec,Ue,$e=f(()=>{"use strict";o();fn=require("@reduxjs/toolkit");Ft();C();j();mn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Tn=(0,fn.createSlice)({name:"loginInfoSlice",initialState:mn,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(A,()=>mn),e.addCase(Me,(t,r)=>{t.loginMethod=r.payload.loginMethod,ye(Te())})}}),{setLoginMethod:wc,setWalletConnectLogin:bc,setLedgerLogin:vc,setTokenLogin:Ic,setTokenLoginSignature:Ac,setWalletLogin:kc,invalidateLoginSession:yn,setLogoutRoute:Ec}=Tn.actions,Ue=Tn.reducer});var xn,hn,Sn,Rc,Pc,Cc,_c,Ve,Ge=f(()=>{"use strict";o();xn=require("@reduxjs/toolkit");j();hn={},Sn=(0,xn.createSlice)({name:"modalsSlice",initialState:hn,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(A,()=>hn)}}),{setTxSubmittedModal:Rc,setNotificationModal:Pc,clearTxSubmittedModal:Cc,clearNotificationModal:_c}=Sn.actions,Ve=Sn.reducer});var wn=f(()=>{"use strict";o()});var bn=f(()=>{"use strict";o();wn()});function Bt(e){return e[Math.floor(Math.random()*e.length)]}var vn=f(()=>{"use strict";o()});var In=f(()=>{"use strict";o();It()});var An=f(()=>{"use strict";o();bn();vn();In()});var kn,En,Ut,Si,Ln,Zc,Xc,We,He=f(()=>{"use strict";o();kn=require("@reduxjs/toolkit"),En=v(require("lodash.omit"));An();Ut={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Si={network:Ut,chainID:"-1"},Ln=(0,kn.createSlice)({name:"appConfig",initialState:Si,reducers:{initializeNetworkConfig:(e,t)=>{let r=Bt(t.payload.walletConnectBridgeAddresses),n=Bt(t.payload.walletConnectV2RelayAddresses),i=(0,En.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Zc,setChainID:Xc}=Ln.actions,We=Ln.reducer});var Dn,$t,Nn,nl,ol,il,qe,je=f(()=>{"use strict";o();Dn=require("@reduxjs/toolkit");U();j();$t={isSigning:!1,signedSessions:{}},Nn=(0,Dn.createSlice)({name:"signedMessageInfoSliceState",initialState:$t,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:n,errorMessage:i}=t.payload;return S(x({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:n.status==="pending",signedSessions:S(x({},e.signedSessions),{[r]:n})})},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>$t},extraReducers:e=>{e.addCase(A,()=>$t)}}),{setSignSession:nl,clearSignedMessageInfo:ol,setSignSessionState:il}=Nn.actions,qe=Nn.reducer});var Pn,Cn,Rn,_n,gl,ml,fl,Tl,yl,hl,ze,Ke=f(()=>{"use strict";o();Pn=require("@reduxjs/toolkit"),Cn=require("redux-persist");At();U();Nt();j();Rn={customToasts:[],transactionToasts:[],failTransactionToast:null},_n=(0,Pn.createSlice)({name:"toastsSlice",initialState:Rn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(S(x({},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:Ce(),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=S(x({},t.payload),{toastId:Wr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(A,()=>Rn),e.addCase(Cn.REHYDRATE,(t,r)=>{var i,p;let n=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=n})}}),{addCustomToast:gl,removeCustomToast:ml,addTransactionToast:fl,removeTransactionToast:Tl,addFailTransactionToast:yl,removeFailTransactionToast:hl}=_n.actions,ze=_n.reducer});var Mn,Gt,Wt,Ht,wi,Vt,On,bl,vl,Il,Ye,Ze=f(()=>{"use strict";o();Mn=require("@reduxjs/toolkit");j();Gt="Transaction failed",Wt="Transaction successful",Ht="Processing transaction",wi="Transaction submitted",Vt={},On=(0,Mn.createSlice)({name:"transactionsInfo",initialState:Vt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Gt,successMessage:(n==null?void 0:n.successMessage)||Wt,processingMessage:(n==null?void 0:n.processingMessage)||Ht,submittedMessage:(n==null?void 0:n.submittedMessage)||wi,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Vt},extraReducers:e=>{e.addCase(A,()=>Vt)}}),{clearTransactionsInfo:bl,setTransactionsDisplayInfo:vl,clearTransactionsInfoForSessionId:Il}=On.actions,Ye=On.reducer});function Fn(e){return e!=null&&(Ni(e)||_i(e))}function Xe(e){return e!=null&&(Ri(e)||Mi(e))}function Qe(e){return e!=null&&(Pi(e)||Oi(e))}function Bn(e){return e!=null&&Ci(e)}function Ni(e){return e!=null&&vi.includes(e)}function Ri(e){return e!=null&&Ii.includes(e)}function Pi(e){return e!=null&&Ai.includes(e)}function Ci(e){return e!=null&&ki.includes(e)}function _i(e){return e!=null&&Ei.includes(e)}function Mi(e){return e!=null&&Li.includes(e)}function Oi(e){return e!=null&&Di.includes(e)}var vi,Ii,Ai,ki,Ei,Li,Di,jt=f(()=>{"use strict";o();C();vi=["sent"],Ii=["success"],Ai=["fail","cancelled","timedOut"],ki=["timedOut"],Ei=["pending"],Li=["success"],Di=["fail","invalid"]});var Un,$n,he,Fi,Vn,Cl,_l,Ml,Ol,Fl,Bl,Ul,$l,Vl,Gl,Je,et=f(()=>{"use strict";o();Un=require("@reduxjs/toolkit"),$n=require("redux-persist");C();jt();j();he={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Fi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Vn=(0,Un.createSlice)({name:"transactionsSlice",initialState:he,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:n,errorMessage:i,status:p,redirectRoute:l}=t.payload,g=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||Fi;e.signedTransactions[r]={transactions:n,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:g},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=he.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=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var g,d,T,h,y,k;let{sessionId:r,status:n,errorMessage:i,transactionHash:p}=t.payload,l=(d=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:d.transactions;if(l!=null){e.signedTransactions[r].transactions=l.map(V=>V.hash===p?S(x({},V),{status:n,errorMessage:i}):V);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(V=>Xe(V.status)),K=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every(V=>Qe(V.status));E&&(e.signedTransactions[r].status="success"),K&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=he.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=he.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(A,()=>he),e.addCase($n.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(n).reduce((g,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(g[d]=T),g},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:Cl,updateSignedTransactions:_l,setTransactionsToSign:Ml,clearAllTransactionsToSign:Ol,clearAllSignedTransactions:Fl,clearSignedTransaction:Bl,clearTransactionToSign:Ul,setSignTransactionsError:$l,setSignTransactionsCancelMessage:Vl,moveTransactionsToSignedState:Gl}=Vn.actions,Je=Vn.reducer});var pe=f(()=>{"use strict";o();Be();$e();Ge();He();je();Ke();Ze();et()});var Jt=f(()=>{"use strict";o()});var to,eo,ro,Zu,Xu,Qu,Ju,ed,td,no,oo=f(()=>{"use strict";o();to=require("@reduxjs/toolkit");j();eo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ro=(0,to.createSlice)({name:"dappModalsSlice",initialState:eo,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=x({},t.payload)}},extraReducers:e=>{e.addCase(A,()=>eo)}}),{setDappModalVisibility:Zu,setDappModalHeaderVisibility:Xu,setDappModalFooterVisibility:Qu,setDappModalHeaderText:Ju,setDappModalFooterText:ed,setDappModalConfig:td}=ro.actions,no=ro.reducer});var io,Yi,Zi,oe,it=f(()=>{"use strict";o();io=require("@reduxjs/toolkit");Jt();Be();oo();$e();Ge();He();je();Ke();Ze();et();Yi={["account"]:Fe,["dappModal"]:no,["loginInfo"]:Ue,["modals"]:Ve,["networkConfig"]:We,["signedMessageInfo"]:qe,["toasts"]:ze,["transactionsInfo"]:Ye,["transactions"]:Je},Zi=(e={})=>(0,io.combineReducers)(x(x({},Yi),e)),oe=Zi});var lo={};Q(lo,{default:()=>us,sessionStorageReducers:()=>er});function Z(e,t=[]){return{key:e,version:1,storage:ao.default,blacklist:t}}var R,so,ao,Xi,we,Qi,Ji,es,ts,rs,ns,os,is,ss,co,as,er,cs,ls,ps,us,po=f(()=>{"use strict";o();R=require("redux-persist"),so=v(require("redux-persist/lib/storage")),ao=v(require("redux-persist/lib/storage/session"));it();pe();Be();$e();Ge();He();je();Ke();Ze();et();Jt();Xi={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Qi=Z(we["account"]),Ji=Z(we["loginInfo"]),es=Z(we["modals"]),ts=Z(we["networkConfig"]),rs={2:e=>S(x({},e),{networkConfig:Ut})};ns=Z("sdk-dapp-transactionsInfo"),os=Z("sdk-dapp-transactions",["transactionsToSign"]),is=Z("sdk-dapp-toasts"),ss=Z("sdk-dapp-signedMessageInfo"),co={key:"sdk-dapp-store",version:2,storage:so.default,whitelist:Object.keys(we),migrate:(0,R.createMigrate)(rs,{debug:!1})},as=S(x({},co),{whitelist:[]}),er={["toasts"]:(0,R.persistReducer)(is,ze),["transactions"]:(0,R.persistReducer)(os,Je),["transactionsInfo"]:(0,R.persistReducer)(ns,Ye),["signedMessageInfo"]:(0,R.persistReducer)(ss,qe)},cs=S(x({},er),{["account"]:(0,R.persistReducer)(Qi,Fe),["loginInfo"]:(0,R.persistReducer)(Ji,Ue),["modals"]:(0,R.persistReducer)(es,Ve),["networkConfig"]:(0,R.persistReducer)(ts,We)}),ls=Xi.persistReducersStorageType==="localStorage",ps=ls?(0,R.persistReducer)(co,oe(er)):(0,R.persistReducer)(as,oe(cs)),us=ps});var uo={};Q(uo,{default:()=>ds});var ds,go=f(()=>{"use strict";o();it();ds=oe()});var mo={};Q(mo,{default:()=>ms});var _,gs,ms,fo=f(()=>{"use strict";o();_=require("redux-persist"),gs=[_.FLUSH,_.REHYDRATE,_.PAUSE,_.PERSIST,_.PURGE,_.REGISTER],ms=gs});var ho={};Q(ho,{default:()=>yo});function yo(e){return(0,To.persistStore)(e)}var To,xo=f(()=>{"use strict";o();To=require("redux-persist")});var Gs={};Q(Gs,{getAddress:()=>Vs});module.exports=ge(Gs);o();o();o();o();var zr=require("@multiversx/sdk-extension-provider"),Kr=require("@multiversx/sdk-hw-provider"),Yr=require("@multiversx/sdk-opera-provider"),Zr=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Xr=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Qr=require("@multiversx/sdk-web-wallet-provider");b();C();var Jr=e=>{switch(e==null?void 0:e.constructor){case Qr.WalletProvider:return"wallet";case Zr.WalletConnectProvider:return"walletconnect";case Xr.WalletConnectV2Provider:return"walletconnectv2";case Kr.HWProvider:return"ledger";case zr.ExtensionProvider:return"extension";case Yr.OperaProvider:return"opera";case Pe:return"";default:return"extra"}};var q=e=>`Unable to perform ${e}, Provider not initialized`,Pe=class{init(){return Promise.resolve(!1)}login(t){throw new Error(q(`login with options: ${t}`))}logout(t){throw new Error(q(`logout with options: ${t}`))}getAddress(){throw new Error(q("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(q(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(q(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(q(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(q(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(q(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(q(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Dt=new Pe;var fi=Dt;function me(){return fi||Dt}o();o();pe();o();var Gn=v(require("lodash.isequal")),tt=require("reselect");U();var m=(0,tt.createSelectorCreator)(tt.defaultMemoize,Gn.default),rt=(e,t)=>e!=""&&Boolean(t);var z=e=>e.account,xe=m(z,e=>e.address),zt=m(z,xe,(e,t)=>t in e.accounts?e.accounts[t]:Oe),np=m(z,zt,(e,t)=>{let i=e,{accounts:r}=i,n=sr(i,["accounts"]);return S(x({},n),{account:t})}),op=m(zt,e=>e.balance),ip=m(zt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),sp=m(z,e=>e.shard),ap=m(z,e=>e.ledgerAccount),cp=m(z,e=>e.walletConnectAccount),lp=m(z,e=>e.isAccountLoading),pp=m(z,e=>e.accountLoadingError),up=m(z,e=>e.websocketEvent);o();var Y=e=>e.loginInfo,fp=m(Y,e=>e.loginMethod),Wn=m(Y,xe,(e,t)=>rt(e.loginMethod,t)),Tp=m(Y,e=>e.walletConnectLogin),yp=m(Y,e=>e.ledgerLogin),Hn=m(Y,e=>e.walletLogin),hp=m(Y,e=>e.isLoginSessionInvalid),xp=m(Y,e=>e.tokenLogin),Sp=m(Y,e=>e.logoutRoute);o();var qn=e=>e.modals,vp=m(qn,e=>e.txSubmittedModal),Ip=m(qn,e=>e.notificationModal);o();var ne=e=>e.networkConfig,Ep=m(ne,e=>e.chainID),Lp=m(ne,e=>e.network.walletConnectBridgeAddress),Dp=m(ne,e=>e.network.walletConnectV2RelayAddress),Np=m(ne,e=>e.network.walletConnectV2ProjectId),Rp=m(ne,e=>e.network.walletConnectV2Options),Pp=m(ne,e=>e.network.walletConnectDeepLink),Kt=m(ne,e=>e.network),Cp=m(Kt,e=>e.apiAddress),jn=m(Kt,e=>e.explorerAddress),_p=m(Kt,e=>e.egldLabel);o();var Yt=e=>e.signedMessageInfo,Fp=m(Yt,e=>e.isSigning),Bp=m(Yt,e=>e.errorMessage),Up=m(Yt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var Zt=e=>e.toasts,Gp=m(Zt,e=>e.customToasts),Wp=m(Zt,e=>e.transactionToasts),Hp=m(Zt,e=>e.failTransactionToast);o();pe();var zn={errorMessage:Gt,successMessage:Wt,processingMessage:Ht},Bi=e=>e.transactionsInfo,Kp=m(Bi,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||zn);o();o();var N=require("@multiversx/sdk-core");b();o();function Xt(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Qt(e){var i,p,l;let{data:t}=e,r=Xt(t!=null?t:"")?N.TransactionPayload.fromEncoded(t):new N.TransactionPayload(t),n=new N.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new N.Address(e.receiver),sender:new N.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:kt,gasPrice:(p=e.gasPrice.valueOf())!=null?p:Et,chainID:e.chainID.valueOf(),version:new N.TransactionVersion((l=e.version)!=null?l:qr)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();jt();o();var $i=v(require("bignumber.js"));U();o();o();o();o();var Gi=require("@multiversx/sdk-core"),Wi=v(require("bignumber.js"));C();o();var Zn=require("@multiversx/sdk-core");function Vi(e){try{let t=new Zn.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Se(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Vi(e)}o();o();o();var qi=require("@multiversx/sdk-core/out");o();b();o();var Xn=require("@multiversx/sdk-core");U();o();o();o();o();C();o();o();var tr=require("@reduxjs/toolkit"),vo=require("react-redux/lib/utils/Subscription");pe();o();var Qn=v(require("lodash.throttle"));b();pe();Ft();_e();fe();var ji=[Re],nt=!1,zi=(0,Qn.default)(()=>{ye(Te())},5e3),Jn=e=>t=>r=>{var d;if(ji.includes(r.type))return t(r);let n=e.getState(),i=le.local.getItem(re.loginExpiresAt);if(!rt((d=n==null?void 0:n.loginInfo)==null?void 0:d.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return ye(Te());let l=Date.now();return i-l<0&&!nt?setTimeout(()=>{nt=!0,e.dispatch(yn())},1e3):(nt&&(nt=!1),zi()),t(r)};o();o();function ot(){return typeof sessionStorage!="undefined"}var So=ot()?(po(),ge(lo)).default:(go(),ge(uo)).default,wo=ot()?(fo(),ge(mo)).default:[],bo=ot()?(xo(),ge(ho)).default:e=>e;it();var ue=(0,tr.configureStore)({reducer:So,middleware:e=>e({serializableCheck:{ignoredActions:[...wo,gn.type,dn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Pd=(0,vo.createSubscription)(ue),Cd=bo(ue),_d=(0,tr.configureStore)({reducer:oe});o();o();o();o();o();o();o();o();o();o();L();o();o();L();o();o();o();var Ss=v(require("bignumber.js"));b();o();var xs=require("@multiversx/sdk-core"),rr=v(require("bignumber.js"));b();o();var ys=v(require("bignumber.js"));o();rr.default.config({ROUNDING_MODE:rr.default.ROUND_FLOOR});o();o();o();b();o();o();o();o();b();o();b();o();var ws=require("@multiversx/sdk-core");b();o();var be=require("@multiversx/sdk-core"),vs=require("@multiversx/sdk-network-providers");b();o();o();var bs=v(require("bignumber.js"));b();o();b();o();o();o();o();o();b();o();L();var As=["reDelegateRewards","claimRewards","unBond"],ks=["wrapEgld","unwrapEgld"],Es=["unStake"],Ls=["unDelegate"];o();o();o();b();o();var Rs=v(require("bignumber.js"));o();o();o();L();o();var Ps=v(require("bignumber.js"));o();o();o();o();L();o();o();o();var _s=v(require("linkifyjs"));o();b();o();var Ms=v(require("bignumber.js"));o();U();o();o();C();o();C();o();o();o();L();o();L();o();var Os=v(require("bignumber.js"));b();L();o();L();o();var Lo=require("react");U();o();o();L();o();var Fs=require("@multiversx/sdk-core/out"),Bs=v(require("bignumber.js"));L();o();L();o();o();C();var vy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var Do=require("react");U();o();var $s=require("react");L();var Ny=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var lt=e=>e.transactions,ve=m(lt,e=>e.signedTransactions),mh=m(lt,e=>e.signTransactionsError),fh=m(lt,e=>e.signTransactionsCancelMessage),pt=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),Th=m(ve,pt(Fn)),yh=m(ve,pt(Xe)),hh=m(ve,pt(Qe)),xh=m(ve,pt(Bn)),Sh=m(lt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:S(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Qt(r)))||[]})}),wh=m(ve,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});C();o();o();function No(){let e=me();return Jr(e)}function Ie(e){return No()===e}function Vs(){let{search:e}=window.location,t=ue.getState(),r=me(),n=xe(t),i=Wn(t),p=Hn(t);if(!r)throw"provider not initialized";return Ie("ledger")&&i?new Promise(l=>{l(n)}):!Ie("")&&!Ie("wallet")&&!Ie("extra")?r.getAddress():new Promise(l=>{if(p!=null){let g=new URLSearchParams(e),d=Object.fromEntries(g);Se(d.address)&&l(d.address)}i&&l(n),l("")})}0&&(module.exports={getAddress});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var qe=Object.create;var M=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var je=Object.getPrototypeOf,Ve=Object.prototype.hasOwnProperty;var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ye=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of He(e))!Ve.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var se=(t,e,r)=>(r=t!=null?qe(je(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),Xe=t=>ae(M({},"__esModule",{value:!0}),t);var pe=G(W=>{"use strict";l();W.byteLength=Ke;W.toByteArray=Je;W.fromByteArray=tr;var k=[],v=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,le=V.length;F<le;++F)k[F]=V[F],v[V.charCodeAt(F)]=F;var F,le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ce(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Ke(t){var e=ce(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ze(t,e,r){return(e+r)*3/4-r}function Je(t){var e,r=ce(t),n=r[0],i=r[1],o=new Qe(Ze(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function er(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function rr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(er(n));return i.join("")}function tr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(rr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ue=G($=>{l();$.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,b=r?-1:1,T=t[e+u];for(u+=b,o=T&(1<<-g)-1,T>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=b,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,D=n?1:-1,We=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=b/p:e+=b*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=c&255,T+=D,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+T]=a&255,T+=D,a/=256,d-=8);t[r+T-D]|=We*128}});var Ee=G(U=>{"use strict";l();var Y=pe(),B=ue(),de=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=lr;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=nr();!s.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 nr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return or(t,e);if(ArrayBuffer.isView(t))return ar(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return Q(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=sr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function he(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ir(t,e,r){return he(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return ir(t,e,r)};function Z(t){return he(t),R(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function or(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ye(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function ar(t){if(E(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return X(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function sr(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function lr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),E(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(E(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ye(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ke(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ye;function cr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return xr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return yr(this,e,r);case"latin1":case"binary":return wr(this,e,r);case"base64":return fr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):cr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};de&&(s.prototype[de]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function we(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ge(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ge(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ge(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(T,D){return o===1?T[D]:T.readUInt16BE(D*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,b=0;b<c;b++)if(p(t,d+b)!==p(e,b)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return we(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return we(this,e,r,n,!1)};function pr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function ur(t,e,r,n){return z(K(e,t.length-r),t,r,n)}function dr(t,e,r,n){return z(kr(e),t,r,n)}function gr(t,e,r,n){return z(ke(e),t,r,n)}function mr(t,e,r,n){return z(Er(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return pr(this,e,r,n);case"utf8":case"utf-8":return ur(this,e,r,n);case"ascii":case"latin1":case"binary":return dr(this,e,r,n);case"base64":return gr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return hr(n)}var me=4096;function hr(t){var e=t.length;if(e<=me)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=me));return r}function yr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function wr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function xr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=_r[t[o]];return i}function Tr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!1,52,8)};function x(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;x(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;x(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);x(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);x(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||x(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Te(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ve(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ve(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ve(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var vr=/[^+/0-9A-Za-z-_]/g;function br(t){if(t=t.split("=")[0],t=t.trim().replace(vr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function kr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Er(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function ke(t){return Y.toByteArray(br(t))}function z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function E(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var _r=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Se=G((Dr,Re)=>{l();var y=Re.exports={},_,I;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?I=clearTimeout:I=te}catch(t){I=te}})();function _e(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Ir(t){if(I===clearTimeout)return clearTimeout(t);if((I===te||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],O=!1,P,H=-1;function Ar(){!O||!P||(O=!1,P.length?S=P.concat(S):H=-1,S.length&&Ie())}function Ie(){if(!O){var t=_e(Ar);O=!0;for(var e=S.length;e;){for(P=S,S=[];++H<e;)P&&P[H].run();H=-1,e=S.length}P=null,O=!1,Ir(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Ae(t,e)),S.length===1&&!O&&_e(Ie)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Br,l=$e(()=>{m=se(Ee()),f=se(Se()),Br=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Lr={};Ye(Lr,{getIsProviderEqualTo:()=>Sr});module.exports=Xe(Lr);l();l();l();l();l();var Ce=require("@multiversx/sdk-extension-provider"),Pe=require("@multiversx/sdk-hw-provider"),De=require("@multiversx/sdk-opera-provider"),Be=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Ue=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Oe=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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:Le,egldLabel:rt}=ne["devnet"],{chainId:Ne,egldLabel:tt}=ne["testnet"],{chainId:Fe,egldLabel:nt}=ne["mainnet"];var it={["devnet"]:Le,["testnet"]:Ne,["mainnet"]:Fe},ot={[Le]:"devnet",[Ne]:"testnet",[Fe]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Me=t=>{switch(t==null?void 0:t.constructor){case Oe.WalletProvider:return"wallet";case Be.WalletConnectProvider:return"walletconnect";case Ue.WalletConnectV2Provider:return"walletconnectv2";case Pe.HWProvider:return"ledger";case Ce.ExtensionProvider:return"extension";case De.OperaProvider:return"opera";case j:return"";default:return"extra"}};var N=t=>`Unable to perform ${t}, Provider not initialized`,j=class{init(){return Promise.resolve(!1)}login(e){throw new Error(N(`login with options: ${e}`))}logout(e){throw new Error(N(`logout with options: ${e}`))}getAddress(){throw new Error(N("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(N(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(N(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(N(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(N(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(N(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(N(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},ie=new j;var Rr=ie;function oe(){return Rr||ie}function Ge(){let t=oe();return Me(t)}function Sr(t){return Ge()===t}0&&(module.exports={getIsProviderEqualTo});
|
|
1
|
+
"use strict";var ze=Object.create;var M=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var je=Object.getPrototypeOf,Ve=Object.prototype.hasOwnProperty;var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ye=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of He(e))!Ve.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=We(e,i))||n.enumerable});return t};var se=(t,e,r)=>(r=t!=null?ze(je(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),Xe=t=>ae(M({},"__esModule",{value:!0}),t);var pe=G(q=>{"use strict";l();q.byteLength=Ke;q.toByteArray=Je;q.fromByteArray=tr;var k=[],v=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,le=V.length;F<le;++F)k[F]=V[F],v[V.charCodeAt(F)]=F;var F,le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ce(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Ke(t){var e=ce(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ze(t,e,r){return(e+r)*3/4-r}function Je(t){var e,r=ce(t),n=r[0],i=r[1],o=new Qe(Ze(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function er(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function rr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(er(n));return i.join("")}function tr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(rr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ue=G($=>{l();$.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,b=r?-1:1,T=t[e+u];for(u+=b,o=T&(1<<-g)-1,T>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=b,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,D=n?1:-1,qe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=b/p:e+=b*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=c&255,T+=D,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+T]=a&255,T+=D,a/=256,d-=8);t[r+T-D]|=qe*128}});var Ee=G(U=>{"use strict";l();var Y=pe(),B=ue(),de=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=lr;U.INSPECT_MAX_BYTES=50;var z=2147483647;U.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=nr();!s.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 nr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return or(t,e);if(ArrayBuffer.isView(t))return ar(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return Q(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=sr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function he(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ir(t,e,r){return he(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return ir(t,e,r)};function Z(t){return he(t),R(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function or(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ye(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function ar(t){if(E(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return X(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function sr(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function lr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),E(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(E(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ye(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ke(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ye;function cr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return wr(this,e,r);case"utf8":case"utf-8":return we(this,e,r);case"ascii":return yr(this,e,r);case"latin1":case"binary":return xr(this,e,r);case"base64":return fr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?we(this,0,e):cr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};de&&(s.prototype[de]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function xe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ge(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ge(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ge(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(T,D){return o===1?T[D]:T.readUInt16BE(D*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,b=0;b<c;b++)if(p(t,d+b)!==p(e,b)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return xe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return xe(this,e,r,n,!1)};function pr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function ur(t,e,r,n){return W(K(e,t.length-r),t,r,n)}function dr(t,e,r,n){return W(kr(e),t,r,n)}function gr(t,e,r,n){return W(ke(e),t,r,n)}function mr(t,e,r,n){return W(Er(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return pr(this,e,r,n);case"utf8":case"utf-8":return ur(this,e,r,n);case"ascii":case"latin1":case"binary":return dr(this,e,r,n);case"base64":return gr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function we(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return hr(n)}var me=4096;function hr(t){var e=t.length;if(e<=me)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=me));return r}function yr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function xr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function wr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=_r[t[o]];return i}function Tr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Te(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ve(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ve(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ve(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var vr=/[^+/0-9A-Za-z-_]/g;function br(t){if(t=t.split("=")[0],t=t.trim().replace(vr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function kr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Er(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function ke(t){return Y.toByteArray(br(t))}function W(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function E(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var _r=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Se=G((Dr,Re)=>{l();var y=Re.exports={},_,I;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?I=clearTimeout:I=te}catch(t){I=te}})();function _e(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Ir(t){if(I===clearTimeout)return clearTimeout(t);if((I===te||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],O=!1,P,H=-1;function Ar(){!O||!P||(O=!1,P.length?S=P.concat(S):H=-1,S.length&&Ie())}function Ie(){if(!O){var t=_e(Ar);O=!0;for(var e=S.length;e;){for(P=S,S=[];++H<e;)P&&P[H].run();H=-1,e=S.length}P=null,O=!1,Ir(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Ae(t,e)),S.length===1&&!O&&_e(Ie)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Br,l=$e(()=>{m=se(Ee()),f=se(Se()),Br=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Lr={};Ye(Lr,{getIsProviderEqualTo:()=>Sr});module.exports=Xe(Lr);l();l();l();l();l();var Ce=require("@multiversx/sdk-extension-provider"),Pe=require("@multiversx/sdk-hw-provider"),De=require("@multiversx/sdk-opera-provider"),Be=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Ue=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Oe=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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:Le,egldLabel:rt}=ne["devnet"],{chainId:Ne,egldLabel:tt}=ne["testnet"],{chainId:Fe,egldLabel:nt}=ne["mainnet"];var it={["devnet"]:Le,["testnet"]:Ne,["mainnet"]:Fe},ot={[Le]:"devnet",[Ne]:"testnet",[Fe]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Me=t=>{switch(t==null?void 0:t.constructor){case Oe.WalletProvider:return"wallet";case Be.WalletConnectProvider:return"walletconnect";case Ue.WalletConnectV2Provider:return"walletconnectv2";case Pe.HWProvider:return"ledger";case Ce.ExtensionProvider:return"extension";case De.OperaProvider:return"opera";case j:return"";default:return"extra"}};var N=t=>`Unable to perform ${t}, Provider not initialized`,j=class{init(){return Promise.resolve(!1)}login(e){throw new Error(N(`login with options: ${e}`))}logout(e){throw new Error(N(`logout with options: ${e}`))}getAddress(){throw new Error(N("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(N(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(N(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(N(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(N(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(N(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(N(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},ie=new j;var Rr=ie;function oe(){return Rr||ie}function Ge(){let t=oe();return Me(t)}function Sr(t){return Ge()===t}0&&(module.exports={getIsProviderEqualTo});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|