@multiversx/sdk-dapp 2.9.4 → 2.10.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/ScamPhishingAlert/ScamPhishingAlert.d.ts +6 -0
- package/UI/ScamPhishingAlert/ScamPhishingAlert.js +1 -1
- package/UI/ScamPhishingAlert/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-QB77NCQP.js → chunk-23C7PSCU.js} +2 -2
- package/__chunks__/chunk-24L47LFC.js +2 -0
- package/__chunks__/chunk-24NXBISC.js +2 -0
- package/__chunks__/{chunk-CKON224P.js → chunk-275ET3MG.js} +2 -2
- package/__chunks__/chunk-27FOVSG4.js +2 -0
- package/__chunks__/{chunk-DJE62XNL.js → chunk-2AUVCAY2.js} +2 -2
- package/__chunks__/{chunk-ZJLU56XW.js → chunk-2C4D4BXB.js} +2 -2
- package/__chunks__/{chunk-MUARPNJ4.js → chunk-2F2F6SXB.js} +2 -2
- package/__chunks__/{chunk-6D3XECJF.js → chunk-2GRUAWVQ.js} +2 -2
- package/__chunks__/{chunk-OGM64QGG.js → chunk-2OGSUSTF.js} +2 -2
- package/__chunks__/{chunk-YMALAD3K.js → chunk-2VZDXZQ5.js} +2 -2
- package/__chunks__/{chunk-QNBNTXIT.js → chunk-2W2FXPJN.js} +2 -2
- package/__chunks__/{chunk-KJDC7FVK.js → chunk-33RUZW2A.js} +2 -2
- package/__chunks__/{chunk-LT2FAIWS.js → chunk-3FTRTVML.js} +2 -2
- package/__chunks__/{chunk-OYESXIST.js → chunk-3LZDI5TU.js} +2 -2
- package/__chunks__/{chunk-4BNSTWCX.js → chunk-3M4SIGZT.js} +2 -2
- package/__chunks__/{chunk-JZ2Y7SFA.js → chunk-3Z3XQSPU.js} +2 -2
- package/__chunks__/{chunk-R7JGMLFZ.js → chunk-45AZIANS.js} +2 -2
- package/__chunks__/{chunk-YZSCV3FW.js → chunk-463NLZJE.js} +2 -2
- package/__chunks__/{chunk-HLEXPOK5.js → chunk-4BE3NFUD.js} +2 -2
- package/__chunks__/chunk-4JUSV4O3.js +2 -0
- package/__chunks__/{chunk-BYYVJIPP.js → chunk-4NK74AZF.js} +2 -2
- package/__chunks__/{chunk-MSXSTSBP.js → chunk-4PBGN6HU.js} +2 -2
- package/__chunks__/{chunk-7XL5MCJK.js → chunk-4QT63WFQ.js} +2 -2
- package/__chunks__/{chunk-ZGQSC36F.js → chunk-4QVOURVU.js} +2 -2
- package/__chunks__/{chunk-BBQMKL5D.js → chunk-4XDCRJFT.js} +2 -2
- package/__chunks__/{chunk-4AOEMKED.js → chunk-5DATHNGR.js} +2 -2
- package/__chunks__/chunk-5HEC3YLM.js +2 -0
- package/__chunks__/{chunk-BAG2O7IE.js → chunk-5KGYQ5YJ.js} +2 -2
- package/__chunks__/{chunk-5CTSV7TH.js → chunk-5LVOAS3B.js} +2 -2
- package/__chunks__/{chunk-NHNWAEZU.js → chunk-5MYSV4SO.js} +2 -2
- package/__chunks__/{chunk-ESYXEFZ7.js → chunk-5OLXKR6C.js} +2 -2
- package/__chunks__/{chunk-H2H3IXYD.js → chunk-5RTST5UL.js} +2 -2
- package/__chunks__/{chunk-PYG3OL3F.js → chunk-5VRKUYL5.js} +2 -2
- package/__chunks__/{chunk-5MRTWQBG.js → chunk-5ZMUR7H7.js} +2 -2
- package/__chunks__/{chunk-PBXY5VMX.js → chunk-62LPCEWI.js} +2 -2
- package/__chunks__/{chunk-DQ2DOR6B.js → chunk-64FKZVXB.js} +2 -2
- package/__chunks__/{chunk-AMM27AEW.js → chunk-6D35ISCH.js} +2 -2
- package/__chunks__/{chunk-PHI6WXH3.js → chunk-6DXP6E4O.js} +2 -2
- package/__chunks__/chunk-6DYUOTME.js +2 -0
- package/__chunks__/{chunk-7EY74WNI.js → chunk-6GTXZ4FY.js} +2 -2
- package/__chunks__/{chunk-GFGHEH4C.js → chunk-6HLEIPL4.js} +2 -2
- package/__chunks__/chunk-6LYP3E7T.js +2 -0
- package/__chunks__/{chunk-J5EWZ734.js → chunk-6MI5GXXO.js} +2 -2
- package/__chunks__/chunk-6PH5XEI7.js +2 -0
- package/__chunks__/{chunk-D2O5MZMR.js → chunk-6QYMQVME.js} +2 -2
- package/__chunks__/{chunk-JJP72MAJ.js → chunk-6RHGIGMZ.js} +2 -2
- package/__chunks__/{chunk-ZLERNDUF.js → chunk-6ROKDWR7.js} +2 -2
- package/__chunks__/{chunk-VEAORVA6.js → chunk-74Q5MYVW.js} +2 -2
- package/__chunks__/chunk-7AEDPEBX.js +2 -0
- package/__chunks__/{chunk-OT2NVXBU.js → chunk-7KZPFHA7.js} +2 -2
- package/__chunks__/{chunk-JS2HC4SX.js → chunk-7WE7OBCZ.js} +2 -2
- package/__chunks__/{chunk-SA2UKCJX.js → chunk-7YH5VZS2.js} +2 -2
- package/__chunks__/{chunk-KMDMJSTX.js → chunk-A3XBAFZH.js} +2 -2
- package/__chunks__/{chunk-JI2RQZZD.js → chunk-AIL4PBA7.js} +2 -2
- package/__chunks__/chunk-AL2J7KB6.js +2 -0
- package/__chunks__/{chunk-5ZW4DA22.js → chunk-AQ3UNMCA.js} +2 -2
- package/__chunks__/chunk-AVGHJOI6.js +2 -0
- package/__chunks__/{chunk-UMK6DGBB.js → chunk-AWEYI553.js} +2 -2
- package/__chunks__/{chunk-N5TBTK3M.js → chunk-AWQPH4LC.js} +2 -2
- package/__chunks__/{chunk-M5D23LEL.js → chunk-B3M2FLWF.js} +2 -2
- package/__chunks__/{chunk-WUZCRVSU.js → chunk-B4WCXVUI.js} +2 -2
- package/__chunks__/{chunk-U63TNTLR.js → chunk-B7U7C44X.js} +2 -2
- package/__chunks__/{chunk-ALN2ZAQY.js → chunk-BGHY6J4G.js} +2 -2
- package/__chunks__/{chunk-4B4D6PRI.js → chunk-BHXTZPBC.js} +2 -2
- package/__chunks__/{chunk-XXJ64HPL.js → chunk-BK5NO33M.js} +2 -2
- package/__chunks__/chunk-BM4XGIZN.js +2 -0
- package/__chunks__/{chunk-L2UUUYJG.js → chunk-BMHV4H76.js} +2 -2
- package/__chunks__/{chunk-V6H2IJKH.js → chunk-BUPVEQ5J.js} +2 -2
- package/__chunks__/chunk-C2H5OPTX.js +2 -0
- package/__chunks__/{chunk-VMNKME5Q.js → chunk-C34CKSUX.js} +2 -2
- package/__chunks__/chunk-C4MQO6LF.js +2 -0
- package/__chunks__/{chunk-DUPCI6XE.js → chunk-C5CGNL6I.js} +2 -2
- package/__chunks__/{chunk-N6WFQG55.js → chunk-C6XUZNBO.js} +2 -2
- package/__chunks__/{chunk-RGS2R63F.js → chunk-CA4Q4MT7.js} +2 -2
- package/__chunks__/{chunk-XWRW4TO4.js → chunk-CFRQE7JG.js} +2 -2
- package/__chunks__/{chunk-VNODUVFK.js → chunk-CGM7WOQF.js} +2 -2
- package/__chunks__/{chunk-KTUPMIFX.js → chunk-CLB447PY.js} +2 -2
- package/__chunks__/{chunk-KYEQ3HY7.js → chunk-CLY5MAPE.js} +2 -2
- package/__chunks__/{chunk-RUDUNU34.js → chunk-CNPDPX2F.js} +2 -2
- package/__chunks__/{chunk-TGRX3YCF.js → chunk-CQGYS7PC.js} +2 -2
- package/__chunks__/{chunk-WQ22KG5Y.js → chunk-CZJRRY2I.js} +2 -2
- package/__chunks__/{chunk-24SJCJRG.js → chunk-D2DOX7XX.js} +2 -2
- package/__chunks__/{chunk-7JLRHOSP.js → chunk-DHHFPYRR.js} +2 -2
- package/__chunks__/{chunk-WVNUK67H.js → chunk-DI67V6VC.js} +2 -2
- package/__chunks__/{chunk-VOLUHLVM.js → chunk-DNIYPVUV.js} +2 -2
- package/__chunks__/chunk-DNOXON3M.js +2 -0
- package/__chunks__/chunk-DSFJO624.js +2 -0
- package/__chunks__/{chunk-5EGPVDYI.js → chunk-DVOTPSUB.js} +2 -2
- package/__chunks__/chunk-DY7CS3RG.js +2 -0
- package/__chunks__/{chunk-65KFD325.js → chunk-E2NBQFIC.js} +2 -2
- package/__chunks__/{chunk-RFVFASBJ.js → chunk-E5KECQYG.js} +2 -2
- package/__chunks__/{chunk-LGYW2J5J.js → chunk-E7ZJLCWM.js} +2 -2
- package/__chunks__/{chunk-LVOMPLSI.js → chunk-EAVICDCR.js} +2 -2
- package/__chunks__/chunk-EBEYQZIS.js +2 -0
- package/__chunks__/{chunk-RRXC3HFG.js → chunk-ECNBTR2P.js} +2 -2
- package/__chunks__/chunk-EHBEIKPT.js +2 -0
- package/__chunks__/{chunk-BN5PQAN2.js → chunk-ELJRZBUP.js} +2 -2
- package/__chunks__/{chunk-OPDO5T3P.js → chunk-ESY2WJZF.js} +2 -2
- package/__chunks__/{chunk-VGPEWMQW.js → chunk-EU3M2TPH.js} +2 -2
- package/__chunks__/{chunk-SPLIL3ZF.js → chunk-EVHHLVIO.js} +2 -2
- package/__chunks__/{chunk-7KR7Q4BZ.js → chunk-EVKVW6OP.js} +2 -2
- package/__chunks__/{chunk-EFQAZJYN.js → chunk-F4LPQWRK.js} +2 -2
- package/__chunks__/{chunk-VP5L3R3J.js → chunk-F5O3Z6FA.js} +2 -2
- package/__chunks__/{chunk-JGZCNGRV.js → chunk-FDG3CTJQ.js} +2 -2
- package/__chunks__/{chunk-DXOQOQTD.js → chunk-FG7U2ZRB.js} +2 -2
- package/__chunks__/{chunk-5XELCN7M.js → chunk-FITCOASE.js} +2 -2
- package/__chunks__/chunk-FL42ANFT.js +2 -0
- package/__chunks__/chunk-FT6XZQFL.js +2 -0
- package/__chunks__/{chunk-52ECK57H.js → chunk-FUMYEVN5.js} +2 -2
- package/__chunks__/{chunk-PUO4W3JY.js → chunk-FWTCHRN5.js} +2 -2
- package/__chunks__/{chunk-LTDUS257.js → chunk-G5T5SM4B.js} +2 -2
- package/__chunks__/{chunk-72FDUWXP.js → chunk-GDEIDSQC.js} +2 -2
- package/__chunks__/chunk-GFAN5STZ.js +2 -0
- package/__chunks__/{chunk-35VZ6NCK.js → chunk-GHTSBIH4.js} +2 -2
- package/__chunks__/chunk-GKSVI6Q5.js +2 -0
- package/__chunks__/{chunk-6CORFLG2.js → chunk-GO7NXC6I.js} +2 -2
- package/__chunks__/{chunk-OPAGSP3Y.js → chunk-GPQOL7GB.js} +2 -2
- package/__chunks__/chunk-GQX2AXPF.js +2 -0
- package/__chunks__/{chunk-TDYVMPIO.js → chunk-GYT7W4IV.js} +2 -2
- package/__chunks__/{chunk-JP736RXG.js → chunk-GZ7UARPP.js} +2 -2
- package/__chunks__/{chunk-XJVQOJZB.js → chunk-H5VMN2B4.js} +2 -2
- package/__chunks__/{chunk-KLLXNFCE.js → chunk-HCBNUJGK.js} +2 -2
- package/__chunks__/{chunk-J3POMKPU.js → chunk-HCG2PO6Z.js} +2 -2
- package/__chunks__/{chunk-FZ3BVOID.js → chunk-HFD6SX7K.js} +2 -2
- package/__chunks__/chunk-HFLWYN2V.js +2 -0
- package/__chunks__/{chunk-NHLZWMC2.js → chunk-HHL5UDTQ.js} +2 -2
- package/__chunks__/chunk-HHNOK5PG.js +2 -0
- package/__chunks__/{chunk-KFKU4K4H.js → chunk-HKO35JVE.js} +2 -2
- package/__chunks__/{chunk-RVISUG5T.js → chunk-HQYYJGF4.js} +2 -2
- package/__chunks__/{chunk-LKJPV45E.js → chunk-I4VYIHJD.js} +2 -2
- package/__chunks__/{chunk-TGQUDIQS.js → chunk-I5VKTCVW.js} +2 -2
- package/__chunks__/{chunk-IMNJMWNY.js → chunk-ID3NTT4Z.js} +2 -2
- package/__chunks__/{chunk-MIUU5UXK.js → chunk-IFVVHVQM.js} +2 -2
- package/__chunks__/{chunk-VKLTH4PZ.js → chunk-IJIYT3QB.js} +2 -2
- package/__chunks__/chunk-IRBTPHUB.js +2 -0
- package/__chunks__/{chunk-FT2IN7BT.js → chunk-ITUIM5G6.js} +2 -2
- package/__chunks__/{chunk-5KK3CLWQ.js → chunk-IUSZYBUQ.js} +2 -2
- package/__chunks__/{chunk-CLAUUCCC.js → chunk-IWAB24AH.js} +2 -2
- package/__chunks__/{chunk-6LGKAMXK.js → chunk-J56U5IAV.js} +2 -2
- package/__chunks__/{chunk-5DV7AOX4.js → chunk-J7M5HUAD.js} +2 -2
- package/__chunks__/{chunk-JCMBU43R.js → chunk-JDCJAJD4.js} +2 -2
- package/__chunks__/{chunk-SRVNBVIN.js → chunk-JHQFA6YK.js} +2 -2
- package/__chunks__/{chunk-PNXAVAWX.js → chunk-JMCMYELN.js} +2 -2
- package/__chunks__/{chunk-QQS7BRLY.js → chunk-JNMLUSOK.js} +2 -2
- package/__chunks__/{chunk-HEQQ64B6.js → chunk-JPJTXA2G.js} +2 -2
- package/__chunks__/{chunk-PADNJI6W.js → chunk-JQYERTXG.js} +2 -2
- package/__chunks__/{chunk-32JTIMBG.js → chunk-JUURLCJI.js} +2 -2
- package/__chunks__/chunk-JVSYNX7I.js +2 -0
- package/__chunks__/{chunk-6IBZJR36.js → chunk-JY3HMAMR.js} +2 -2
- package/__chunks__/{chunk-46PCNA3N.js → chunk-JZNLILZQ.js} +2 -2
- package/__chunks__/{chunk-CILXKB6B.js → chunk-K3WF2VCZ.js} +2 -2
- package/__chunks__/{chunk-QN2Y4SM6.js → chunk-K7WZNW5X.js} +2 -2
- package/__chunks__/{chunk-7S7LAS32.js → chunk-KDSNYB35.js} +2 -2
- package/__chunks__/{chunk-YKNQQTMV.js → chunk-KN53GKZX.js} +2 -2
- package/__chunks__/{chunk-JR6NRUWF.js → chunk-KOQXMQSP.js} +2 -2
- package/__chunks__/{chunk-OJC5LON4.js → chunk-KV4BYCDF.js} +2 -2
- package/__chunks__/{chunk-TXKLIAKR.js → chunk-KYFQ6IIQ.js} +2 -2
- package/__chunks__/{chunk-TF77GIBC.js → chunk-LNOKECRH.js} +2 -2
- package/__chunks__/{chunk-CXMSIGN3.js → chunk-LTJVHYYW.js} +2 -2
- package/__chunks__/{chunk-EWWRMWGQ.js → chunk-LVWF5CKD.js} +2 -2
- package/__chunks__/chunk-LW7U3EUB.js +2 -0
- package/__chunks__/{chunk-R6OGIXW3.js → chunk-LWAL5OMN.js} +2 -2
- package/__chunks__/{chunk-TMUOMOCN.js → chunk-LYN37XH5.js} +2 -2
- package/__chunks__/{chunk-BPPVSU25.js → chunk-M233YJDK.js} +1 -1
- package/__chunks__/{chunk-NUNUM2A2.js → chunk-M5BOIA6B.js} +2 -2
- package/__chunks__/chunk-M7T4AUBP.js +2 -0
- package/__chunks__/{chunk-QH27B2OC.js → chunk-MC7RXBF4.js} +2 -2
- package/__chunks__/{chunk-VLHTKYIW.js → chunk-ME4CQMKT.js} +2 -2
- package/__chunks__/chunk-MFT36UPJ.js +2 -0
- package/__chunks__/{chunk-CQVMLDWA.js → chunk-MM5XW7VA.js} +2 -2
- package/__chunks__/{chunk-Z4CVKFHQ.js → chunk-MTWKFHRA.js} +2 -2
- package/__chunks__/chunk-MX3CY6TB.js +2 -0
- package/__chunks__/{chunk-YTSEILVL.js → chunk-MY5N6ROI.js} +2 -2
- package/__chunks__/{chunk-7FIOYGVQ.js → chunk-MYBMSS23.js} +2 -2
- package/__chunks__/chunk-N5EEQD2P.js +2 -0
- package/__chunks__/{chunk-RLOOYBXD.js → chunk-NALUFJK4.js} +2 -2
- package/__chunks__/chunk-NHZC5PWW.js +2 -0
- package/__chunks__/{chunk-X7KSFJQK.js → chunk-NKWA6FJW.js} +2 -2
- package/__chunks__/{chunk-CVSHXU7I.js → chunk-NTPWI3LZ.js} +2 -2
- package/__chunks__/chunk-NUQWOH62.js +2 -0
- package/__chunks__/chunk-O76SO5NN.js +2 -0
- package/__chunks__/chunk-OBCFAKCR.js +2 -0
- package/__chunks__/chunk-OCH5X6XJ.js +2 -0
- package/__chunks__/{chunk-ZUXEYBK5.js → chunk-OCIFQ26I.js} +2 -2
- package/__chunks__/{chunk-NR5NGCMG.js → chunk-OJUAVBN4.js} +2 -2
- package/__chunks__/chunk-OKGLECMC.js +2 -0
- package/__chunks__/chunk-OLI3TNCJ.js +2 -0
- package/__chunks__/{chunk-HED7LZVU.js → chunk-OQ2YXDWR.js} +2 -2
- package/__chunks__/{chunk-YANNTW2Q.js → chunk-OQ3JVDP4.js} +2 -2
- package/__chunks__/{chunk-UORGIPVL.js → chunk-OQUCU64T.js} +2 -2
- package/__chunks__/{chunk-BACKWDOJ.js → chunk-ORCYEIJZ.js} +2 -2
- package/__chunks__/chunk-OT7R2NEQ.js +2 -0
- package/__chunks__/chunk-OZBDF76V.js +2 -0
- package/__chunks__/{chunk-PDWYQFPS.js → chunk-P24VSIZF.js} +2 -2
- package/__chunks__/{chunk-W4GZJ24H.js → chunk-P2KRF4TX.js} +2 -2
- package/__chunks__/{chunk-TLCTBY2K.js → chunk-P4ZLCGAX.js} +2 -2
- package/__chunks__/{chunk-CSSOPAY3.js → chunk-PRBT2JHG.js} +2 -2
- package/__chunks__/chunk-PV4P32HG.js +2 -0
- package/__chunks__/{chunk-KBFFGMRC.js → chunk-PYNDT3DJ.js} +2 -2
- package/__chunks__/{chunk-CWCTVSSE.js → chunk-Q7HPUVKJ.js} +2 -2
- package/__chunks__/{chunk-UY7WU4RX.js → chunk-QE6MZGN5.js} +2 -2
- package/__chunks__/{chunk-ZGUGCPPH.js → chunk-QFLGG2EQ.js} +2 -2
- package/__chunks__/{chunk-D5K7WBRB.js → chunk-QGZR4AIT.js} +2 -2
- package/__chunks__/{chunk-O3DTNAEY.js → chunk-QSHIJADJ.js} +2 -2
- package/__chunks__/{chunk-ONX2WKS4.js → chunk-QVIRQKAN.js} +2 -2
- package/__chunks__/{chunk-RCHL72K4.js → chunk-QWWOCHOY.js} +2 -2
- package/__chunks__/{chunk-G2OLVYAC.js → chunk-QWZX4YJN.js} +2 -2
- package/__chunks__/{chunk-CEU34V6N.js → chunk-R2TDBDEX.js} +2 -2
- package/__chunks__/{chunk-3F3GOL42.js → chunk-R5AZ5VME.js} +2 -2
- package/__chunks__/chunk-RF7HMR74.js +2 -0
- package/__chunks__/{chunk-GBAACFEX.js → chunk-RYJFVB3O.js} +2 -2
- package/__chunks__/{chunk-FQ72GI3P.js → chunk-SF4HPDHQ.js} +2 -2
- package/__chunks__/{chunk-K5EF6Y3F.js → chunk-SHWQX35Z.js} +2 -2
- package/__chunks__/{chunk-3M4QTTV7.js → chunk-SMYUEECP.js} +2 -2
- package/__chunks__/{chunk-S75EYWKY.js → chunk-SP5SBX3P.js} +2 -2
- package/__chunks__/{chunk-XX2BDOLP.js → chunk-SPD45ZEH.js} +2 -2
- package/__chunks__/{chunk-N4WBG64L.js → chunk-SQDL2UBG.js} +2 -2
- package/__chunks__/chunk-SW27GSXL.js +2 -0
- package/__chunks__/{chunk-THATLRXI.js → chunk-TKGUBRTO.js} +2 -2
- package/__chunks__/chunk-TQPEOA25.js +2 -0
- package/__chunks__/{chunk-PKNLHLMK.js → chunk-TU5N4L3F.js} +2 -2
- package/__chunks__/{chunk-NQVKUO5J.js → chunk-U5LSCOHZ.js} +2 -2
- package/__chunks__/{chunk-CV6LTYEN.js → chunk-UB4DU6IY.js} +2 -2
- package/__chunks__/{chunk-ZUBYGCI6.js → chunk-UGG4ZVT7.js} +2 -2
- package/__chunks__/{chunk-HUHBWTGV.js → chunk-UHNAW66J.js} +2 -2
- package/__chunks__/{chunk-W4BJGGSU.js → chunk-UIMOFTYA.js} +2 -2
- package/__chunks__/{chunk-WL5XAOJQ.js → chunk-UNC4ZPZ7.js} +2 -2
- package/__chunks__/{chunk-Z2ZEUHYK.js → chunk-UNWWLB6H.js} +2 -2
- package/__chunks__/{chunk-QXVU5FGO.js → chunk-USGR36BQ.js} +2 -2
- package/__chunks__/{chunk-SNGAFUP6.js → chunk-UV3BQKFK.js} +2 -2
- package/__chunks__/{chunk-HKOVN6MG.js → chunk-V3X7UG2C.js} +2 -2
- package/__chunks__/{chunk-COUZONBL.js → chunk-V5QSDNY3.js} +2 -2
- package/__chunks__/{chunk-XMM4AD2U.js → chunk-V7ACSO4O.js} +2 -2
- package/__chunks__/{chunk-LO3RIUS3.js → chunk-VH5YTYFI.js} +2 -2
- package/__chunks__/chunk-VMD67BF6.js +2 -0
- package/__chunks__/{chunk-JJ5TU65J.js → chunk-VXWN2IY4.js} +2 -2
- package/__chunks__/{chunk-65PTUMFW.js → chunk-W3YW72OF.js} +2 -2
- package/__chunks__/{chunk-KXYOZZWH.js → chunk-WA5XP3EV.js} +2 -2
- package/__chunks__/{chunk-QMFN5L42.js → chunk-WEA4C5X7.js} +2 -2
- package/__chunks__/{chunk-IINAI2T7.js → chunk-WFMSTO6P.js} +2 -2
- package/__chunks__/{chunk-4UQWT5ZQ.js → chunk-WHJDOGU7.js} +2 -2
- package/__chunks__/{chunk-YNWHJAAC.js → chunk-WJF3CIOE.js} +2 -2
- package/__chunks__/{chunk-7ATRC2HC.js → chunk-WNSPURWS.js} +2 -2
- package/__chunks__/{chunk-GDDIVHLD.js → chunk-WOHL234A.js} +2 -2
- package/__chunks__/chunk-WQV4NSZG.js +2 -0
- package/__chunks__/{chunk-AUMJWTVL.js → chunk-WRO6THDA.js} +2 -2
- package/__chunks__/chunk-WTMHDI3F.js +2 -0
- package/__chunks__/{chunk-7VAMMQBW.js → chunk-WXYQ5GK4.js} +2 -2
- package/__chunks__/{chunk-FULWXGZA.js → chunk-X2VKBIHG.js} +2 -2
- package/__chunks__/{chunk-LPOKARPF.js → chunk-XCEK2L6C.js} +2 -2
- package/__chunks__/{chunk-G5FPMOKK.js → chunk-XHD63UMY.js} +2 -2
- package/__chunks__/{chunk-BJLACGZ2.js → chunk-XKG6MJJF.js} +2 -2
- package/__chunks__/{chunk-GZH3R2XH.js → chunk-XRI4KXUU.js} +2 -2
- package/__chunks__/{chunk-QX22NYVR.js → chunk-Y3NLPZAR.js} +2 -2
- package/__chunks__/{chunk-RULY5VOQ.js → chunk-YB4BVMRP.js} +2 -2
- package/__chunks__/{chunk-EEI35GZT.js → chunk-YNIWDNDQ.js} +2 -2
- package/__chunks__/{chunk-C5LKGARX.js → chunk-YPXBAXJG.js} +2 -2
- package/__chunks__/{chunk-JSOZJSKF.js → chunk-YRXFSVU4.js} +2 -2
- package/__chunks__/chunk-YSQKUC2C.js +2 -0
- package/__chunks__/{chunk-RQJTGIXR.js → chunk-YT6MEERZ.js} +2 -2
- package/__chunks__/{chunk-RHJRKQLW.js → chunk-YUW6HFTC.js} +2 -2
- package/__chunks__/{chunk-FKIKFBN6.js → chunk-YX7HCJV4.js} +2 -2
- package/__chunks__/{chunk-JH6JZ4CB.js → chunk-YZLRTQIA.js} +2 -2
- package/__chunks__/{chunk-TKL5MHDO.js → chunk-Z2W42GR6.js} +2 -2
- package/__chunks__/{chunk-2L5WU6KF.js → chunk-Z5HOLA7Z.js} +2 -2
- package/__chunks__/{chunk-GVQUOFTI.js → chunk-ZEN5RLW4.js} +2 -2
- package/__chunks__/{chunk-BOW2EG2N.js → chunk-ZFOGJLJ6.js} +2 -2
- package/__chunks__/{chunk-HWHFIUZU.js → chunk-ZJ6WAYTZ.js} +2 -2
- package/__chunks__/{chunk-7YQ54JUZ.js → chunk-ZV5ESV2M.js} +2 -2
- package/__chunks__/{chunk-GSMMBXTD.js → chunk-ZYBZKJ66.js} +2 -2
- package/__chunks__/{chunk-NL2BF2BK.js → chunk-ZYXYZADX.js} +2 -2
- package/__chunks__/{chunk-5RYOEKY5.js → chunk-ZZ4XEJL7.js} +2 -2
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/DappModal/index.js +1 -1
- package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
- package/__commonjs/UI/ModalContainer/index.js +1 -1
- package/__commonjs/UI/NotificationModal/index.js +1 -1
- package/__commonjs/UI/ScamPhishingAlert/ScamPhishingAlert.js +2 -2
- package/__commonjs/UI/ScamPhishingAlert/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +4 -4
- 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/TransactionInfo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/__commonjs/UI/TransactionsTable/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +8 -8
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +8 -8
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/index.js +1 -1
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/__commonjs/UI/index.js +69 -69
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +15 -15
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +14 -14
- package/__commonjs/UI/ledger/index.js +15 -15
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +18 -18
- package/__commonjs/UI/pages/index.js +18 -18
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
- package/__commonjs/UI/walletConnect/index.js +7 -7
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.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/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.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/useWalletConnectLogin.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/{useVerifyMessage.js → verifyMessage.js} +2 -2
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.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/commonActions.js +1 -1
- package/__commonjs/reduxStore/persistedRootReducer.js +1 -1
- package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/decodeNativeAuthToken.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getTokenExpiration.js +1 -1
- package/__commonjs/services/nativeAuth/methods/index.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.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.d.ts +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.d.ts +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/signMessage/verifyMessage.d.ts +6 -0
- package/hooks/signMessage/verifyMessage.js +2 -0
- 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/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.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/decodeNativeAuthToken.d.ts +1 -1
- package/services/nativeAuth/helpers/decodeNativeAuthToken.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getNativeAuthConfig.d.ts +1 -1
- package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/services/nativeAuth/methods/getToken.js +1 -1
- package/services/nativeAuth/methods/getTokenExpiration.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.d.ts +1 -1
- package/services/nativeAuth/nativeAuth.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/index.js +1 -1
- package/types/login.types.d.ts +1 -1
- package/types/login.types.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/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/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/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/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-23WPUIWM.js +0 -2
- package/__chunks__/chunk-2LFAG5UW.js +0 -2
- package/__chunks__/chunk-4QMATHBG.js +0 -2
- package/__chunks__/chunk-5C5IMDWD.js +0 -2
- package/__chunks__/chunk-5VEFV3IS.js +0 -2
- package/__chunks__/chunk-7A4X3VND.js +0 -2
- package/__chunks__/chunk-AFAUYTFM.js +0 -2
- package/__chunks__/chunk-AZVCA6PP.js +0 -2
- package/__chunks__/chunk-BMM3EAVE.js +0 -2
- package/__chunks__/chunk-BQOOU5JN.js +0 -2
- package/__chunks__/chunk-CHTJEAWJ.js +0 -2
- package/__chunks__/chunk-CUPMM5UN.js +0 -2
- package/__chunks__/chunk-DQ6NMBLV.js +0 -2
- package/__chunks__/chunk-DXWP7WID.js +0 -2
- package/__chunks__/chunk-EGUQKZHO.js +0 -2
- package/__chunks__/chunk-EPODPC7N.js +0 -2
- package/__chunks__/chunk-FDNJRVRV.js +0 -2
- package/__chunks__/chunk-FZKUX6GT.js +0 -2
- package/__chunks__/chunk-GTFL6MTY.js +0 -2
- package/__chunks__/chunk-IH6JAQIK.js +0 -2
- package/__chunks__/chunk-J5MXYBME.js +0 -2
- package/__chunks__/chunk-JRCA2D4O.js +0 -2
- package/__chunks__/chunk-JZMR4U4G.js +0 -2
- package/__chunks__/chunk-K4JDGZX7.js +0 -2
- package/__chunks__/chunk-KK63JPYF.js +0 -2
- package/__chunks__/chunk-KL3ZFTGO.js +0 -2
- package/__chunks__/chunk-KVKIF44C.js +0 -2
- package/__chunks__/chunk-LHMBRPVE.js +0 -2
- package/__chunks__/chunk-MNBMZXH4.js +0 -2
- package/__chunks__/chunk-N53WBDGP.js +0 -2
- package/__chunks__/chunk-NJ2FRDNT.js +0 -2
- package/__chunks__/chunk-NJAB7S6U.js +0 -2
- package/__chunks__/chunk-NLB665WA.js +0 -2
- package/__chunks__/chunk-O3IP5FLJ.js +0 -2
- package/__chunks__/chunk-OQLWGB56.js +0 -2
- package/__chunks__/chunk-PK3B7MMU.js +0 -2
- package/__chunks__/chunk-Q2MHKB63.js +0 -2
- package/__chunks__/chunk-QC4HFPGK.js +0 -2
- package/__chunks__/chunk-QMD3AU7N.js +0 -2
- package/__chunks__/chunk-RNF6NJNX.js +0 -2
- package/__chunks__/chunk-T7QMSC3P.js +0 -2
- package/__chunks__/chunk-TMCGSBFK.js +0 -2
- package/__chunks__/chunk-TMST4RY3.js +0 -2
- package/__chunks__/chunk-U2HS3BH7.js +0 -2
- package/__chunks__/chunk-XUFBPLE5.js +0 -2
- package/__chunks__/chunk-XW4TJUAM.js +0 -2
- package/__chunks__/chunk-YHN6UC5D.js +0 -2
- package/__chunks__/chunk-YMCJEH4Z.js +0 -2
- package/__chunks__/chunk-Z5PKPJRS.js +0 -2
- package/__chunks__/chunk-ZTLF7T3Z.js +0 -2
- package/hooks/signMessage/useVerifyMessage.d.ts +0 -2
- package/hooks/signMessage/useVerifyMessage.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Qo=Object.create;var Se=Object.defineProperty,ei=Object.defineProperties,ti=Object.getOwnPropertyDescriptor,ri=Object.getOwnPropertyDescriptors,ni=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,oi=Object.getPrototypeOf,It=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable;var yr=(e,t,r)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))It.call(t,r)&&yr(e,r,t[r]);if(Me)for(var r of Me(t))hr.call(t,r)&&yr(e,r,t[r]);return e},A=(e,t)=>ei(e,ri(t));var xr=(e,t)=>{var r={};for(var o in e)It.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&hr.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},Sr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ni(t))!It.call(e,i)&&i!==r&&Se(e,i,{get:()=>t[i],enumerable:!(o=ti(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Qo(oi(e)):{},Sr(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),we=e=>Sr(Se({},"__esModule",{value:!0}),e);var L=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var Ir=Oe(Fe=>{"use strict";n();Fe.byteLength=si;Fe.toByteArray=ci;Fe.fromByteArray=ui;var U=[],M=[],ii=typeof Uint8Array!="undefined"?Uint8Array:Array,bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,wr=bt.length;ne<wr;++ne)U[ne]=bt[ne],M[bt.charCodeAt(ne)]=ne;var ne,wr;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Ar(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function si(e){var t=Ar(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ai(e,t,r){return(t+r)*3/4-r}function ci(e){var t,r=Ar(e),o=r[0],i=r[1],l=new ii(ai(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function li(e){return U[e>>18&63]+U[e>>12&63]+U[e>>6&63]+U[e&63]}function pi(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(li(o));return i.join("")}function ui(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(pi(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(U[t>>2]+U[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(U[t>>10]+U[t>>4&63]+U[t<<2&63]+"=")),i.join("")}});var br=Oe(vt=>{n();vt.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,x=-7,T=r?i-1:0,w=r?-1:1,E=e[t+T];for(T+=w,l=E&(1<<-x)-1,E>>=-x,x+=m;x>0;l=l*256+e[t+T],T+=w,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+T],T+=w,x-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(E?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(E?-1:1)*p*Math.pow(2,l-o)};vt.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,x=(1<<g)-1,T=x>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=o?0:l-1,v=o?1:-1,P=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+T>=1?t+=w/d:t+=w*Math.pow(2,1-T),t*d>=2&&(p++,d/=2),p+T>=x?(m=0,p=x):p+T>=1?(m=(t*d-1)*Math.pow(2,i),p=p+T):(m=t*Math.pow(2,T-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=m&255,E+=v,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+E]=p&255,E+=v,p/=256,g-=8);e[r+E-v]|=P*128}});var Fr=Oe(de=>{"use strict";n();var kt=Ir(),ue=br(),vr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;de.Buffer=u;de.SlowBuffer=yi;de.INSPECT_MAX_BYTES=50;var Be=2147483647;de.kMaxLength=Be;u.TYPED_ARRAY_SUPPORT=di();!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 di(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function q(e){if(e>Be)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Nt(e)}return Lr(e,t,r)}u.poolSize=8192;function Lr(e,t,r){if(typeof e=="string")return gi(e,t);if(ArrayBuffer.isView(e))return fi(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return Lt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Ti(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 Lr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Dr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function mi(e,t,r){return Dr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return mi(e,t,r)};function Nt(e){return Dr(e),q(e<0?0:Ct(e)|0)}u.allocUnsafe=function(e){return Nt(e)};u.allocUnsafeSlow=function(e){return Nt(e)};function gi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Nr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Et(e){for(var t=e.length<0?0:Ct(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function fi(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return Lt(t.buffer,t.byteOffset,t.byteLength)}return Et(e)}function Lt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Ti(e){if(u.isBuffer(e)){var t=Ct(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Pt(e.length)?q(0):Et(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Et(e.data)}function Ct(e){if(e>=Be)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Be.toString(16)+" bytes");return e|0}function yi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Nr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Dt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Or(e).length;default:if(i)return o?-1:Dt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Nr;function hi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Li(this,t,r);case"utf8":case"utf-8":return Pr(this,t,r);case"ascii":return ki(this,t,r);case"latin1":case"binary":return Ei(this,t,r);case"base64":return bi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Di(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function oe(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)oe(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)oe(this,r,r+3),oe(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)oe(this,r,r+7),oe(this,r+1,r+6),oe(this,r+2,r+5),oe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Pr(this,0,t):hi.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=de.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};vr&&(u.prototype[vr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),g=this.slice(i,l),x=t.slice(r,o),T=0;T<d;++T)if(g[T]!==x[T]){p=g[T],m=x[T];break}return p<m?-1:m<p?1:0};function Cr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Pt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:kr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):kr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function kr(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(E,v){return l===1?E[v]:E.readUInt16BE(v*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===m)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var T=!0,w=0;w<m;w++)if(d(e,g+w)!==d(t,w)){T=!1;break}if(T)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Cr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Cr(this,t,r,o,!1)};function xi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Pt(m))return p;e[r+p]=m}return p}function Si(e,t,r,o){return Ue(Dt(t,e.length-r),e,r,o)}function wi(e,t,r,o){return Ue(Pi(t),e,r,o)}function Ai(e,t,r,o){return Ue(Or(t),e,r,o)}function Ii(e,t,r,o){return Ue(Ri(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return xi(this,t,r,o);case"utf8":case"utf-8":return Si(this,t,r,o);case"ascii":case"latin1":case"binary":return wi(this,t,r,o);case"base64":return Ai(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ii(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bi(e,t,r){return t===0&&r===e.length?kt.fromByteArray(e):kt.fromByteArray(e.slice(t,r))}function Pr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,g,x,T;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(T=(l&31)<<6|d&63,T>127&&(p=T));break;case 3:d=e[i+1],g=e[i+2],(d&192)===128&&(g&192)===128&&(T=(l&15)<<12|(d&63)<<6|g&63,T>2047&&(T<55296||T>57343)&&(p=T));break;case 4:d=e[i+1],g=e[i+2],x=e[i+3],(d&192)===128&&(g&192)===128&&(x&192)===128&&(T=(l&15)<<18|(d&63)<<12|(g&63)<<6|x&63,T>65535&&T<1114112&&(p=T))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return vi(o)}var Er=4096;function vi(e){var t=e.length;if(t<=Er)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Er));return r}function ki(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Ei(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Li(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=_i[e[l]];return i}function Di(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function k(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||k(t,4,this.length),ue.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||k(t,4,this.length),ue.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||k(t,8,this.length),ue.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||k(t,8,this.length),ue.read(this,t,!1,52,8)};function N(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;N(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;N(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);N(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);N(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||N(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 Rr(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _r(e,t,r,o,i){return t=+t,r=r>>>0,i||Rr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ue.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return _r(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return _r(this,t,r,!1,o)};function Mr(e,t,r,o,i){return t=+t,r=r>>>0,i||Rr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ue.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Mr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Mr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ni=/[^+/0-9A-Za-z-_]/g;function Ci(e){if(e=e.split("=")[0],e=e.trim().replace(Ni,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Dt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Pi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ri(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function Or(e){return kt.toByteArray(Ci(e))}function Ue(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Pt(e){return e!==e}var _i=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Hr=Oe((Ra,Vr)=>{n();var I=Vr.exports={},V,H;function Rt(){throw new Error("setTimeout has not been defined")}function _t(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?V=setTimeout:V=Rt}catch(e){V=Rt}try{typeof clearTimeout=="function"?H=clearTimeout:H=_t}catch(e){H=_t}})();function Br(e){if(V===setTimeout)return setTimeout(e,0);if((V===Rt||!V)&&setTimeout)return V=setTimeout,setTimeout(e,0);try{return V(e,0)}catch(t){try{return V.call(null,e,0)}catch(r){return V.call(this,e,0)}}}function Mi(e){if(H===clearTimeout)return clearTimeout(e);if((H===_t||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var j=[],me=!1,ie,$e=-1;function Oi(){!me||!ie||(me=!1,ie.length?j=ie.concat(j):$e=-1,j.length&&Ur())}function Ur(){if(!me){var e=Br(Oi);me=!0;for(var t=j.length;t;){for(ie=j,j=[];++$e<t;)ie&&ie[$e].run();$e=-1,t=j.length}ie=null,me=!1,Mi(e)}}I.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];j.push(new $r(e,t)),j.length===1&&!me&&Br(Ur)};function $r(e,t){this.fun=e,this.array=t}$r.prototype.run=function(){this.fun.apply(null,this.array)};I.title="browser";I.browser=!0;I.env={};I.argv=[];I.version="";I.versions={};function z(){}I.on=z;I.addListener=z;I.once=z;I.off=z;I.removeListener=z;I.removeAllListeners=z;I.emit=z;I.prependListener=z;I.prependOnceListener=z;I.listeners=function(e){return[]};I.binding=function(e){throw new Error("process.binding is not supported")};I.cwd=function(){return"/"};I.chdir=function(e){throw new Error("process.chdir is not supported")};I.umask=function(){return 0}});var s,a,_a,n=y(()=>{s=S(Fr()),a=S(Hr()),_a=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Gr=y(()=>{"use strict";n()});var Wr=y(()=>{"use strict";n()});var qr=y(()=>{"use strict";n()});var jr=y(()=>{"use strict";n()});var G=y(()=>{"use strict";n()});var zr=y(()=>{"use strict";n()});var Kr=y(()=>{"use strict";n()});var C=y(()=>{"use strict";n()});var Yr=y(()=>{"use strict";n()});var Zr=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();Wr();qr();jr();G();zr();Kr();C();Yr();Zr()});var Mt,Xr,Qa,Jr,ec,Qr,tc,rc,nc,en=y(()=>{"use strict";n();O();Mt={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:Xr,egldLabel:Qa}=Mt["devnet"],{chainId:Jr,egldLabel:ec}=Mt["testnet"],{chainId:Qr,egldLabel:tc}=Mt["mainnet"],rc={["devnet"]:Xr,["testnet"]:Jr,["mainnet"]:Qr},nc={[Xr]:"devnet",[Jr]:"testnet",[Qr]:"mainnet"}});var Ot=y(()=>{"use strict";n()});var tn=y(()=>{"use strict";n()});var rn,Ft=y(()=>{"use strict";n();rn="transaction-status-toast-id"});var W,nn=y(()=>{"use strict";n();W=require("@multiversx/sdk-web-wallet-provider")});var Bt,Ut,on,Ve,sn,ge,b=y(()=>{"use strict";n();Gr();en();Ot();tn();Ft();nn();Bt=5e4,Ut=1e9,on=1,Ve="logout",sn="login",ge="0"});var fe,He=y(()=>{"use strict";n();fe=()=>Date.now()/1e3});var an=y(()=>{"use strict";n()});var cn=y(()=>{"use strict";n()});var ln=y(()=>{"use strict";n();He();an();cn()});var Vt={};re(Vt,{getItem:()=>Bi,localStorageKeys:()=>se,removeItem:()=>Ui,setItem:()=>Fi});var se,$t,Fi,Bi,Ui,Ae=y(()=>{"use strict";n();ln();se={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},$t=typeof localStorage!="undefined",Fi=({key:e,data:t,expires:r})=>{!$t||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Bi=e=>{if(!$t)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:fe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ui=e=>{!$t||localStorage.removeItem(String(e))}});var Ht={};re(Ht,{clear:()=>mn,getItem:()=>un,removeItem:()=>dn,setItem:()=>pn,storage:()=>$i});var pn,un,dn,mn,$i,gn=y(()=>{"use strict";n();pn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},un=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},dn=e=>sessionStorage.removeItem(String(e)),mn=()=>sessionStorage.clear(),$i={setItem:pn,getItem:un,removeItem:dn,clear:mn}});var Te,Ge=y(()=>{"use strict";n();Ae();gn();Te={session:Ht,local:Vt}});var Gt,D,We,K=y(()=>{"use strict";n();Gt=require("@reduxjs/toolkit");b();D=(0,Gt.createAction)(Ve),We=(0,Gt.createAction)(sn,e=>({payload:e}))});var qt,fn,Tn,qe,Wt,yn,hn,Rc,xn,_c,Mc,Oc,Fc,Bc,Uc,$c,je,ze=y(()=>{"use strict";n();qt=require("@multiversx/sdk-core"),fn=require("@reduxjs/toolkit"),Tn=require("redux-persist");b();Ge();Ae();K();qe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ge},Wt={address:"",websocketEvent:null,accounts:{"":qe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},yn=(0,fn.createSlice)({name:"accountInfoSlice",initialState:Wt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new qt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:qe},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(D,()=>(Te.local.removeItem(se.loginExpiresAt),Wt)),e.addCase(We,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new qt.Address(o).hex()}),e.addCase(Tn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Wt.accounts,t.publicKey=m})}}),{setAccount:hn,setAddress:Rc,setAccountNonce:xn,setAccountShard:_c,setLedgerAccount:Mc,updateLedgerAccount:Oc,setWalletConnectAccount:Fc,setIsAccountLoading:Bc,setAccountLoadingError:Uc,setWebsocketEvent:$c}=yn.actions,je=yn.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function be(e){Te.local.setItem({key:se.loginExpiresAt,data:e,expires:e})}var jt=y(()=>{"use strict";n();Ge();Ae()});var An,Sn,In,Zc,Xc,Jc,Ke,Qc,el,bn,tl,Ye,Ze=y(()=>{"use strict";n();An=require("@reduxjs/toolkit");jt();G();K();Sn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},In=(0,An.createSlice)({name:"loginInfoSlice",initialState:Sn,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(D,()=>Sn),e.addCase(We,(t,r)=>{t.loginMethod=r.payload.loginMethod,be(Ie())})}}),{setLoginMethod:Zc,setWalletConnectLogin:Xc,setLedgerLogin:Jc,setTokenLogin:Ke,setTokenLoginSignature:Qc,setWalletLogin:el,invalidateLoginSession:bn,setLogoutRoute:tl}=In.actions,Ye=In.reducer});var kn,vn,En,il,sl,al,cl,Xe,Je=y(()=>{"use strict";n();kn=require("@reduxjs/toolkit");K();vn={},En=(0,kn.createSlice)({name:"modalsSlice",initialState:vn,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(D,()=>vn)}}),{setTxSubmittedModal:il,setNotificationModal:sl,clearTxSubmittedModal:al,clearNotificationModal:cl}=En.actions,Xe=En.reducer});var Ln=y(()=>{"use strict";n()});var Dn=y(()=>{"use strict";n();Ln()});function zt(e){return e[Math.floor(Math.random()*e.length)]}var Nn=y(()=>{"use strict";n()});var Cn=y(()=>{"use strict";n();Ot()});var Pn=y(()=>{"use strict";n();Dn();Nn();Cn()});var Rn,_n,Kt,Vi,Mn,bl,vl,Qe,et=y(()=>{"use strict";n();Rn=require("@reduxjs/toolkit"),_n=S(require("lodash.omit"));Pn();Kt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Vi={network:Kt,chainID:"-1"},Mn=(0,Rn.createSlice)({name:"appConfig",initialState:Vi,reducers:{initializeNetworkConfig:(e,t)=>{let r=zt(t.payload.walletConnectBridgeAddresses),o=zt(t.payload.walletConnectV2RelayAddresses),i=(0,_n.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:bl,setChainID:vl}=Mn.actions,Qe=Mn.reducer});var On,Yt,Fn,Cl,Pl,Rl,tt,rt=y(()=>{"use strict";n();On=require("@reduxjs/toolkit");O();K();Yt={isSigning:!1,signedSessions:{}},Fn=(0,On.createSlice)({name:"signedMessageInfoSliceState",initialState:Yt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return A(h({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:A(h({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>Yt},extraReducers:e=>{e.addCase(D,()=>Yt)}}),{setSignSession:Cl,clearSignedMessageInfo:Pl,setSignSessionState:Rl}=Fn.actions,tt=Fn.reducer});var Un,$n,Bn,Vn,Vl,Hl,Gl,Wl,ql,jl,nt,ot=y(()=>{"use strict";n();Un=require("@reduxjs/toolkit"),$n=require("redux-persist");Ft();O();He();K();Bn={customToasts:[],transactionToasts:[],failTransactionToast:null},Vn=(0,Un.createSlice)({name:"toastsSlice",initialState:Bn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(h({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:fe(),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=A(h({},t.payload),{toastId:rn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(D,()=>Bn),e.addCase($n.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Vl,removeCustomToast:Hl,addTransactionToast:Gl,removeTransactionToast:Wl,addFailTransactionToast:ql,removeFailTransactionToast:jl}=Vn.actions,nt=Vn.reducer});var Hn,Xt,Jt,Qt,Hi,Zt,Gn,Zl,Xl,Jl,it,st=y(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");K();Xt="Transaction failed",Jt="Transaction successful",Qt="Processing transaction",Hi="Transaction submitted",Zt={},Gn=(0,Hn.createSlice)({name:"transactionsInfo",initialState:Zt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Xt,successMessage:(o==null?void 0:o.successMessage)||Jt,processingMessage:(o==null?void 0:o.processingMessage)||Qt,submittedMessage:(o==null?void 0:o.submittedMessage)||Hi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Zt},extraReducers:e=>{e.addCase(D,()=>Zt)}}),{clearTransactionsInfo:Zl,setTransactionsDisplayInfo:Xl,clearTransactionsInfoForSessionId:Jl}=Gn.actions,it=Gn.reducer});function Wn(e){return e!=null&&(Xi(e)||ts(e))}function at(e){return e!=null&&(Ji(e)||rs(e))}function ct(e){return e!=null&&(Qi(e)||ns(e))}function qn(e){return e!=null&&es(e)}function Xi(e){return e!=null&&Wi.includes(e)}function Ji(e){return e!=null&&qi.includes(e)}function Qi(e){return e!=null&&ji.includes(e)}function es(e){return e!=null&&zi.includes(e)}function ts(e){return e!=null&&Ki.includes(e)}function rs(e){return e!=null&&Yi.includes(e)}function ns(e){return e!=null&&Zi.includes(e)}var Wi,qi,ji,zi,Ki,Yi,Zi,tr=y(()=>{"use strict";n();G();Wi=["sent"],qi=["success"],ji=["fail","cancelled","timedOut"],zi=["timedOut"],Ki=["pending"],Yi=["success"],Zi=["fail","invalid"]});var jn,zn,ve,os,Kn,ap,cp,lp,pp,up,dp,mp,gp,fp,Tp,lt,pt=y(()=>{"use strict";n();jn=require("@reduxjs/toolkit"),zn=require("redux-persist");G();tr();K();ve={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},os={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Kn=(0,jn.createSlice)({name:"transactionsSlice",initialState:ve,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||os;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=ve.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=h(h({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,g,x,T,w;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(P=>P.hash===l?A(h({},P),{status:o,errorMessage:i}):P);let E=(x=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:x.every(P=>at(P.status)),v=(w=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:w.every(P=>ct(P.status));E&&(e.signedTransactions[r].status="success"),v&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ve.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ve.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(D,()=>ve),e.addCase(zn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,g])=>{let x=new Date(d),T=new Date;return T.setHours(T.getHours()+5),T-x>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ap,updateSignedTransactions:cp,setTransactionsToSign:lp,clearAllTransactionsToSign:pp,clearAllSignedTransactions:up,clearSignedTransaction:dp,clearTransactionToSign:mp,setSignTransactionsError:gp,setSignTransactionsCancelMessage:fp,moveTransactionsToSignedState:Tp}=Kn.actions,lt=Kn.reducer});var ae=y(()=>{"use strict";n();ze();Ze();Je();et();rt();ot();st();pt()});var rr=y(()=>{"use strict";n()});var Qn,Jn,eo,$p,Vp,Hp,Gp,Wp,qp,to,ro=y(()=>{"use strict";n();Qn=require("@reduxjs/toolkit");K();Jn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},eo=(0,Qn.createSlice)({name:"dappModalsSlice",initialState:Jn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=h({},t.payload)}},extraReducers:e=>{e.addCase(D,()=>Jn)}}),{setDappModalVisibility:$p,setDappModalHeaderVisibility:Vp,setDappModalFooterVisibility:Hp,setDappModalHeaderText:Gp,setDappModalFooterText:Wp,setDappModalConfig:qp}=eo.actions,to=eo.reducer});var no,cs,ls,ce,gt=y(()=>{"use strict";n();no=require("@reduxjs/toolkit");rr();ze();ro();Ze();Je();et();rt();ot();st();pt();cs={["account"]:je,["dappModal"]:to,["loginInfo"]:Ye,["modals"]:Xe,["networkConfig"]:Qe,["signedMessageInfo"]:tt,["toasts"]:nt,["transactionsInfo"]:it,["transactions"]:lt},ls=(e={})=>(0,no.combineReducers)(h(h({},cs),e)),ce=ls});var ao={};re(ao,{default:()=>bs,sessionStorageReducers:()=>nr});function Q(e,t=[]){return{key:e,version:1,storage:io.default,blacklist:t}}var R,oo,io,ps,Ee,us,ds,ms,gs,fs,Ts,ys,hs,xs,so,Ss,nr,ws,As,Is,bs,co=y(()=>{"use strict";n();R=require("redux-persist"),oo=S(require("redux-persist/lib/storage")),io=S(require("redux-persist/lib/storage/session"));gt();ae();ze();Ze();Je();et();rt();ot();st();pt();rr();ps={persistReducersStorageType:"localStorage"},Ee={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},us=Q(Ee["account"]),ds=Q(Ee["loginInfo"]),ms=Q(Ee["modals"]),gs=Q(Ee["networkConfig"]),fs={2:e=>A(h({},e),{networkConfig:Kt})};Ts=Q("sdk-dapp-transactionsInfo"),ys=Q("sdk-dapp-transactions",["transactionsToSign"]),hs=Q("sdk-dapp-toasts"),xs=Q("sdk-dapp-signedMessageInfo"),so={key:"sdk-dapp-store",version:2,storage:oo.default,whitelist:Object.keys(Ee),migrate:(0,R.createMigrate)(fs,{debug:!1})},Ss=A(h({},so),{whitelist:[]}),nr={["toasts"]:(0,R.persistReducer)(hs,nt),["transactions"]:(0,R.persistReducer)(ys,lt),["transactionsInfo"]:(0,R.persistReducer)(Ts,it),["signedMessageInfo"]:(0,R.persistReducer)(xs,tt)},ws=A(h({},nr),{["account"]:(0,R.persistReducer)(us,je),["loginInfo"]:(0,R.persistReducer)(ds,Ye),["modals"]:(0,R.persistReducer)(ms,Xe),["networkConfig"]:(0,R.persistReducer)(gs,Qe)}),As=ps.persistReducersStorageType==="localStorage",Is=As?(0,R.persistReducer)(so,ce(nr)):(0,R.persistReducer)(Ss,ce(ws)),bs=Is});var lo={};re(lo,{default:()=>vs});var vs,po=y(()=>{"use strict";n();gt();vs=ce()});var uo={};re(uo,{default:()=>Es});var F,ks,Es,mo=y(()=>{"use strict";n();F=require("redux-persist"),ks=[F.FLUSH,F.REHYDRATE,F.PAUSE,F.PERSIST,F.PURGE,F.REGISTER],Es=ks});var To={};re(To,{default:()=>fo});function fo(e){return(0,go.persistStore)(e)}var go,yo=y(()=>{"use strict";n();go=require("redux-persist")});var La={};re(La,{useLoginService:()=>Ea});module.exports=we(La);n();var Xo=require("react"),wt=require("@multiversx/sdk-core");n();n();n();var Io=require("react"),ye=require("react-redux");n();var or=require("@reduxjs/toolkit"),wo=require("react-redux/lib/utils/Subscription");ae();n();var Zn=S(require("lodash.throttle"));b();n();var Yn=S(require("lodash.isequal")),ut=require("reselect");O();var f=(0,ut.createSelectorCreator)(ut.defaultMemoize,Yn.default),ke=(e,t)=>e!=""&&Boolean(t);ae();jt();Ge();Ae();var is=[Ve],dt=!1,ss=(0,Zn.default)(()=>{be(Ie())},5e3),Xn=e=>t=>r=>{var d;if(is.includes(r.type))return t(r);let o=e.getState(),i=Te.local.getItem(se.loginExpiresAt);if(!ke((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return be(Ie());let p=Date.now();return i-p<0&&!dt?setTimeout(()=>{dt=!0,e.dispatch(bn())},1e3):(dt&&(dt=!1),ss()),t(r)};n();n();function mt(){return typeof sessionStorage!="undefined"}var ho=mt()?(co(),we(ao)).default:(po(),we(lo)).default,xo=mt()?(mo(),we(uo)).default:[],So=mt()?(yo(),we(To)).default:e=>e;gt();var ee=(0,or.configureStore)({reducer:ho,middleware:e=>e({serializableCheck:{ignoredActions:[...xo,xn.type,hn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Xn)}),Ao=(0,wo.createSubscription)(ee),Au=So(ee),Iu=(0,or.configureStore)({reducer:ce});var Ls={store:ee,subscription:Ao},ir=(0,Io.createContext)(Ls),Eu=(0,ye.createStoreHook)(ir),bo=(0,ye.createDispatchHook)(ir),Y=(0,ye.createSelectorHook)(ir);n();n();ae();var Z=e=>e.account,sr=f(Z,e=>e.address),Le=f(Z,sr,(e,t)=>t in e.accounts?e.accounts[t]:qe),Ds=f(Z,Le,(e,t)=>{let i=e,{accounts:r}=i,o=xr(i,["accounts"]);return A(h({},o),{account:t})}),Cu=f(Le,e=>e.balance),Pu=f(Le,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Ru=f(Z,e=>e.shard),_u=f(Z,e=>e.ledgerAccount),Mu=f(Z,e=>e.walletConnectAccount),Ou=f(Z,e=>e.isAccountLoading),Fu=f(Z,e=>e.accountLoadingError),Ns=f(Z,e=>e.websocketEvent);n();var B=e=>e.loginInfo,Vu=f(B,e=>e.loginMethod),Cs=f(B,sr,(e,t)=>ke(e.loginMethod,t)),Hu=f(B,e=>e.walletConnectLogin),Gu=f(B,e=>e.ledgerLogin),Wu=f(B,e=>e.walletLogin),qu=f(B,e=>e.isLoginSessionInvalid),vo=f(B,e=>e.tokenLogin),ju=f(B,e=>e.logoutRoute);n();var ko=e=>e.modals,Yu=f(ko,e=>e.txSubmittedModal),Zu=f(ko,e=>e.notificationModal);n();var le=e=>e.networkConfig,Qu=f(le,e=>e.chainID),ed=f(le,e=>e.network.walletConnectBridgeAddress),td=f(le,e=>e.network.walletConnectV2RelayAddress),rd=f(le,e=>e.network.walletConnectV2ProjectId),nd=f(le,e=>e.network.walletConnectV2Options),od=f(le,e=>e.network.walletConnectDeepLink),De=f(le,e=>e.network),id=f(De,e=>e.apiAddress),Eo=f(De,e=>e.explorerAddress),sd=f(De,e=>e.egldLabel);n();var ar=e=>e.signedMessageInfo,ld=f(ar,e=>e.isSigning),pd=f(ar,e=>e.errorMessage),ud=f(ar,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var cr=e=>e.toasts,gd=f(cr,e=>e.customToasts),fd=f(cr,e=>e.transactionToasts),Td=f(cr,e=>e.failTransactionToast);n();ae();var Lo={errorMessage:Xt,successMessage:Jt,processingMessage:Qt},Ps=e=>e.transactionsInfo,Sd=f(Ps,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Lo);n();n();var _=require("@multiversx/sdk-core");b();n();function lr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function he(e){return atob(e)}function pr(e){var i,l,p;let{data:t}=e,r=lr(t!=null?t:"")?_.TransactionPayload.fromEncoded(t):new _.TransactionPayload(t),o=new _.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new _.Address(e.receiver),sender:new _.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Bt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Ut,chainID:e.chainID.valueOf(),version:new _.TransactionVersion((p=e.version)!=null?p:on)},e.options?{options:new _.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new _.Address(e.sender)),o}n();tr();n();var _s=S(require("bignumber.js"));O();n();n();n();n();var Os=require("@multiversx/sdk-core"),Fs=S(require("bignumber.js"));G();n();var Ms=require("@multiversx/sdk-core");n();n();n();var Us=require("@multiversx/sdk-core/out");n();b();n();var Po=require("@multiversx/sdk-core");O();n();n();n();n();G();n();n();n();n();n();n();n();var ur="blocks";n();n();n();n();C();n();n();C();n();n();n();var qs=S(require("bignumber.js"));b();n();var Ws=require("@multiversx/sdk-core"),dr=S(require("bignumber.js"));b();n();var Hs=S(require("bignumber.js"));n();dr.default.config({ROUNDING_MODE:dr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var js=require("@multiversx/sdk-core");b();n();var Ne=require("@multiversx/sdk-core"),Ks=require("@multiversx/sdk-network-providers");b();n();n();var zs=S(require("bignumber.js"));b();n();b();n();n();n();n();n();b();n();C();var Zs=["reDelegateRewards","claimRewards","unBond"],Xs=["wrapEgld","unwrapEgld"],Js=["unStake"],Qs=["unDelegate"];n();n();n();b();n();var ra=S(require("bignumber.js"));n();n();n();n();C();n();var na=S(require("bignumber.js"));n();n();n();n();C();n();n();n();var ia=S(require("linkifyjs"));n();b();n();var sa=S(require("bignumber.js"));n();O();n();n();G();n();G();n();n();n();C();n();C();n();var aa=S(require("bignumber.js"));b();C();n();C();n();var Fo=require("react");O();n();n();C();n();n();var ca=require("@multiversx/sdk-core/out"),la=S(require("bignumber.js"));C();n();O();n();n();O();var ih=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Bo=require("react");O();n();var ua=require("react");C();var dh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var ht=e=>e.transactions,Ce=f(ht,e=>e.signedTransactions),Zh=f(ht,e=>e.signTransactionsError),Xh=f(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Jh=f(Ce,xt(Wn)),Qh=f(Ce,xt(at)),ex=f(Ce,xt(ct)),tx=f(Ce,xt(qn)),rx=f(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>pr(r)))||[]})}),nx=f(Ce,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var gr=()=>Y(Le);n();n();n();n();n();var Pe=S(require("react"));var Ex=(0,Pe.createContext)({}),Lx=ee.getState();n();var $o=S(require("react"));n();var fr=S(require("react")),da=S(require("axios"));n();n();n();n();n();var ma=require("@multiversx/sdk-extension-provider"),ga=require("@multiversx/sdk-hw-provider"),fa=require("@multiversx/sdk-opera-provider"),Ta=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ya=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),ha=require("@multiversx/sdk-web-wallet-provider");b();G();var X=e=>`Unable to perform ${e}, Provider not initialized`,Tr=class{init(){return Promise.resolve(!1)}login(t){throw new Error(X(`login with options: ${t}`))}logout(t){throw new Error(X(`logout with options: ${t}`))}getAddress(){throw new Error(X("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(X(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(X(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(X(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(X(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(X(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(X(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},xa=new Tr;n();ae();n();n();n();n();var wa=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),xe=e=>wa(s.Buffer.from(e,"utf8").toString("base64"));n();var Wo=S(require("axios"));n();n();n();function Vo(e){return L(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ho=(e,t,r,o=0)=>L(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Vo(t.delay)),yield Ho(e,t,r,o+1)):null}}),Go=(e,t={retries:5,delay:500})=>(...r)=>L(void 0,null,function*(){return yield Ho(e,t,r)});var Aa=4,Ia=3e4,St={current:null},pe={current:null},ba=Go((e,t)=>L(void 0,null,function*(){let{data:r}=yield Wo.default.get(`${e}/${ur}?from=${Aa}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function qo(e,t){return L(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(St.current!=null&&r<St.current.timestamp*1e3+Ia)return St.current;if(pe.current!=null)return yield pe.current;pe.current=ba(e,t);try{let o=yield pe.current;if(o==null)throw pe.current=null,new Error("could not get block hash");return St.current={hash:o.hash,timestamp:o.timestamp},pe.current=null,o}catch(o){return pe.current=null,null}})}n();function va(e){return Object.prototype.toString.call(e)==="[object String]"}var jo=e=>{if(!e||!va(e))return null;try{let[t,r,o]=e.split("."),i=he(t),l=he(r),[p,m,d,g]=l.split("."),x=JSON.parse(he(g)),T=he(p),w={ttl:Number(d),address:i,extraInfo:x,host:T,signature:o,blockHash:m,body:l};return g==="e30"&&delete w.extraInfo,w}catch(t){return null}};n();n();He();var zo=e=>{let t=jo(e);if(!t)return{isExpired:!1};let r=fe(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};n();var Ko,Re={hostname:typeof window!="undefined"?(Ko=window==null?void 0:window.location)==null?void 0:Ko.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},_e=e=>{var r,o,i,l,p;return e===!0?Re:{hostname:(r=e==null?void 0:e.hostname)!=null?r:Re.hostname,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:Re.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:Re.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Re.tokenExpirationToastWarningSeconds}};n();var Yo=({address:e,token:t,signature:r})=>{let o=xe(e),i=xe(t);return`${o}.${i}.${r}`};var Zo=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=_e(e);return{getNativeAuthConfig:_e,initialize:(...d)=>L(void 0,[...d],function*(p={},m){if(!r||!t)return"";let g=m!=null?m:yield qo(r,i),{hash:x,timestamp:T}=g,w=xe(JSON.stringify(h(h({},p),T?{timestamp:T}:{})));return`${xe(t)}.${x}.${o}.${w}`}),getToken:Yo,getTokenExpiration:zo}};var ka=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Ea=e=>{let t=Y(De),r=Y(vo),o=(0,Xo.useRef)(r==null?void 0:r.loginToken),i=ka(t.apiAddress,e),l=_e(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Zo(l),{address:d}=gr(),g=bo(),x=v=>{o.current=v,g(Ke(h({loginToken:v},i?{nativeAuthConfig:l}:{})))},T=()=>L(void 0,null,function*(){try{return yield m.initialize()}catch(v){console.error("Unable to get block. Login failed.",v);return}}),w=({address:v,signature:P})=>{let J=o.current;if(!J)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Ke({loginToken:J,signature:P}));return}let At=m.getToken({address:v,token:J,signature:P});g(Ke(h({loginToken:J,signature:P,nativeAuthToken:At},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:T,setTokenLoginInfo:w,refreshNativeAuthTokenLogin:P=>L(void 0,[P],function*({signMessageCallback:v}){let J=yield T();if(o.current=J,!J)return;let At=new wt.SignableMessage({address:new wt.Address(d),message:s.Buffer.from(J)}),Jo=yield v(At,{});w({address:d,signature:Jo.toJSON().signature})})}};0&&(module.exports={useLoginService});
|
|
1
|
+
"use strict";var Qo=Object.create;var Se=Object.defineProperty,ei=Object.defineProperties,ti=Object.getOwnPropertyDescriptor,ri=Object.getOwnPropertyDescriptors,ni=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,oi=Object.getPrototypeOf,It=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable;var yr=(e,t,r)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))It.call(t,r)&&yr(e,r,t[r]);if(Me)for(var r of Me(t))hr.call(t,r)&&yr(e,r,t[r]);return e},A=(e,t)=>ei(e,ri(t));var xr=(e,t)=>{var r={};for(var o in e)It.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&hr.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},Sr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ni(t))!It.call(e,i)&&i!==r&&Se(e,i,{get:()=>t[i],enumerable:!(o=ti(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Qo(oi(e)):{},Sr(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),we=e=>Sr(Se({},"__esModule",{value:!0}),e);var L=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var Ir=Oe(Fe=>{"use strict";n();Fe.byteLength=si;Fe.toByteArray=ci;Fe.fromByteArray=ui;var U=[],M=[],ii=typeof Uint8Array!="undefined"?Uint8Array:Array,bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,wr=bt.length;ne<wr;++ne)U[ne]=bt[ne],M[bt.charCodeAt(ne)]=ne;var ne,wr;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Ar(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function si(e){var t=Ar(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ai(e,t,r){return(t+r)*3/4-r}function ci(e){var t,r=Ar(e),o=r[0],i=r[1],l=new ii(ai(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function li(e){return U[e>>18&63]+U[e>>12&63]+U[e>>6&63]+U[e&63]}function pi(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(li(o));return i.join("")}function ui(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(pi(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(U[t>>2]+U[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(U[t>>10]+U[t>>4&63]+U[t<<2&63]+"=")),i.join("")}});var br=Oe(vt=>{n();vt.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,x=-7,T=r?i-1:0,w=r?-1:1,E=e[t+T];for(T+=w,l=E&(1<<-x)-1,E>>=-x,x+=m;x>0;l=l*256+e[t+T],T+=w,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+T],T+=w,x-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(E?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(E?-1:1)*p*Math.pow(2,l-o)};vt.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,x=(1<<g)-1,T=x>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=o?0:l-1,v=o?1:-1,P=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+T>=1?t+=w/d:t+=w*Math.pow(2,1-T),t*d>=2&&(p++,d/=2),p+T>=x?(m=0,p=x):p+T>=1?(m=(t*d-1)*Math.pow(2,i),p=p+T):(m=t*Math.pow(2,T-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=m&255,E+=v,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+E]=p&255,E+=v,p/=256,g-=8);e[r+E-v]|=P*128}});var Fr=Oe(de=>{"use strict";n();var kt=Ir(),ue=br(),vr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;de.Buffer=u;de.SlowBuffer=yi;de.INSPECT_MAX_BYTES=50;var Be=2147483647;de.kMaxLength=Be;u.TYPED_ARRAY_SUPPORT=di();!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 di(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function q(e){if(e>Be)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Nt(e)}return Lr(e,t,r)}u.poolSize=8192;function Lr(e,t,r){if(typeof e=="string")return gi(e,t);if(ArrayBuffer.isView(e))return fi(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return Lt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Ti(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 Lr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Dr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function mi(e,t,r){return Dr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return mi(e,t,r)};function Nt(e){return Dr(e),q(e<0?0:Ct(e)|0)}u.allocUnsafe=function(e){return Nt(e)};u.allocUnsafeSlow=function(e){return Nt(e)};function gi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Nr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Et(e){for(var t=e.length<0?0:Ct(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function fi(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return Lt(t.buffer,t.byteOffset,t.byteLength)}return Et(e)}function Lt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Ti(e){if(u.isBuffer(e)){var t=Ct(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Pt(e.length)?q(0):Et(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Et(e.data)}function Ct(e){if(e>=Be)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Be.toString(16)+" bytes");return e|0}function yi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Nr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Dt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Or(e).length;default:if(i)return o?-1:Dt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Nr;function hi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Li(this,t,r);case"utf8":case"utf-8":return Pr(this,t,r);case"ascii":return ki(this,t,r);case"latin1":case"binary":return Ei(this,t,r);case"base64":return bi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Di(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function oe(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)oe(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)oe(this,r,r+3),oe(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)oe(this,r,r+7),oe(this,r+1,r+6),oe(this,r+2,r+5),oe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Pr(this,0,t):hi.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=de.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};vr&&(u.prototype[vr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),g=this.slice(i,l),x=t.slice(r,o),T=0;T<d;++T)if(g[T]!==x[T]){p=g[T],m=x[T];break}return p<m?-1:m<p?1:0};function Cr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Pt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:kr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):kr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function kr(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(E,v){return l===1?E[v]:E.readUInt16BE(v*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===m)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var T=!0,w=0;w<m;w++)if(d(e,g+w)!==d(t,w)){T=!1;break}if(T)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Cr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Cr(this,t,r,o,!1)};function xi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Pt(m))return p;e[r+p]=m}return p}function Si(e,t,r,o){return Ue(Dt(t,e.length-r),e,r,o)}function wi(e,t,r,o){return Ue(Pi(t),e,r,o)}function Ai(e,t,r,o){return Ue(Or(t),e,r,o)}function Ii(e,t,r,o){return Ue(Ri(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return xi(this,t,r,o);case"utf8":case"utf-8":return Si(this,t,r,o);case"ascii":case"latin1":case"binary":return wi(this,t,r,o);case"base64":return Ai(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ii(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bi(e,t,r){return t===0&&r===e.length?kt.fromByteArray(e):kt.fromByteArray(e.slice(t,r))}function Pr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,g,x,T;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(T=(l&31)<<6|d&63,T>127&&(p=T));break;case 3:d=e[i+1],g=e[i+2],(d&192)===128&&(g&192)===128&&(T=(l&15)<<12|(d&63)<<6|g&63,T>2047&&(T<55296||T>57343)&&(p=T));break;case 4:d=e[i+1],g=e[i+2],x=e[i+3],(d&192)===128&&(g&192)===128&&(x&192)===128&&(T=(l&15)<<18|(d&63)<<12|(g&63)<<6|x&63,T>65535&&T<1114112&&(p=T))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return vi(o)}var Er=4096;function vi(e){var t=e.length;if(t<=Er)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Er));return r}function ki(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Ei(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Li(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=_i[e[l]];return i}function Di(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function k(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||k(t,4,this.length),ue.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||k(t,4,this.length),ue.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||k(t,8,this.length),ue.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||k(t,8,this.length),ue.read(this,t,!1,52,8)};function N(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;N(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;N(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);N(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);N(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||N(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||N(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 Rr(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _r(e,t,r,o,i){return t=+t,r=r>>>0,i||Rr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ue.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return _r(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return _r(this,t,r,!1,o)};function Mr(e,t,r,o,i){return t=+t,r=r>>>0,i||Rr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ue.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Mr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Mr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ni=/[^+/0-9A-Za-z-_]/g;function Ci(e){if(e=e.split("=")[0],e=e.trim().replace(Ni,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Dt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Pi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ri(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function Or(e){return kt.toByteArray(Ci(e))}function Ue(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Pt(e){return e!==e}var _i=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Hr=Oe((Ra,Vr)=>{n();var I=Vr.exports={},V,H;function Rt(){throw new Error("setTimeout has not been defined")}function _t(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?V=setTimeout:V=Rt}catch(e){V=Rt}try{typeof clearTimeout=="function"?H=clearTimeout:H=_t}catch(e){H=_t}})();function Br(e){if(V===setTimeout)return setTimeout(e,0);if((V===Rt||!V)&&setTimeout)return V=setTimeout,setTimeout(e,0);try{return V(e,0)}catch(t){try{return V.call(null,e,0)}catch(r){return V.call(this,e,0)}}}function Mi(e){if(H===clearTimeout)return clearTimeout(e);if((H===_t||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var j=[],me=!1,ie,$e=-1;function Oi(){!me||!ie||(me=!1,ie.length?j=ie.concat(j):$e=-1,j.length&&Ur())}function Ur(){if(!me){var e=Br(Oi);me=!0;for(var t=j.length;t;){for(ie=j,j=[];++$e<t;)ie&&ie[$e].run();$e=-1,t=j.length}ie=null,me=!1,Mi(e)}}I.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];j.push(new $r(e,t)),j.length===1&&!me&&Br(Ur)};function $r(e,t){this.fun=e,this.array=t}$r.prototype.run=function(){this.fun.apply(null,this.array)};I.title="browser";I.browser=!0;I.env={};I.argv=[];I.version="";I.versions={};function z(){}I.on=z;I.addListener=z;I.once=z;I.off=z;I.removeListener=z;I.removeAllListeners=z;I.emit=z;I.prependListener=z;I.prependOnceListener=z;I.listeners=function(e){return[]};I.binding=function(e){throw new Error("process.binding is not supported")};I.cwd=function(){return"/"};I.chdir=function(e){throw new Error("process.chdir is not supported")};I.umask=function(){return 0}});var s,a,_a,n=y(()=>{s=S(Fr()),a=S(Hr()),_a=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Gr=y(()=>{"use strict";n()});var Wr=y(()=>{"use strict";n()});var qr=y(()=>{"use strict";n()});var jr=y(()=>{"use strict";n()});var G=y(()=>{"use strict";n()});var zr=y(()=>{"use strict";n()});var Kr=y(()=>{"use strict";n()});var C=y(()=>{"use strict";n()});var Yr=y(()=>{"use strict";n()});var Zr=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();Wr();qr();jr();G();zr();Kr();C();Yr();Zr()});var Mt,Xr,Qa,Jr,ec,Qr,tc,rc,nc,en=y(()=>{"use strict";n();O();Mt={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:Xr,egldLabel:Qa}=Mt["devnet"],{chainId:Jr,egldLabel:ec}=Mt["testnet"],{chainId:Qr,egldLabel:tc}=Mt["mainnet"],rc={["devnet"]:Xr,["testnet"]:Jr,["mainnet"]:Qr},nc={[Xr]:"devnet",[Jr]:"testnet",[Qr]:"mainnet"}});var Ot=y(()=>{"use strict";n()});var tn=y(()=>{"use strict";n()});var rn,Ft=y(()=>{"use strict";n();rn="transaction-status-toast-id"});var W,nn=y(()=>{"use strict";n();W=require("@multiversx/sdk-web-wallet-provider")});var Bt,Ut,on,Ve,sn,ge,b=y(()=>{"use strict";n();Gr();en();Ot();tn();Ft();nn();Bt=5e4,Ut=1e9,on=1,Ve="logout",sn="login",ge="0"});var fe,He=y(()=>{"use strict";n();fe=()=>Date.now()/1e3});var an=y(()=>{"use strict";n()});var cn=y(()=>{"use strict";n()});var ln=y(()=>{"use strict";n();He();an();cn()});var Vt={};re(Vt,{getItem:()=>Bi,localStorageKeys:()=>se,removeItem:()=>Ui,setItem:()=>Fi});var se,$t,Fi,Bi,Ui,Ae=y(()=>{"use strict";n();ln();se={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},$t=typeof localStorage!="undefined",Fi=({key:e,data:t,expires:r})=>{!$t||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Bi=e=>{if(!$t)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:fe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ui=e=>{!$t||localStorage.removeItem(String(e))}});var Ht={};re(Ht,{clear:()=>mn,getItem:()=>un,removeItem:()=>dn,setItem:()=>pn,storage:()=>$i});var pn,un,dn,mn,$i,gn=y(()=>{"use strict";n();pn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},un=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},dn=e=>sessionStorage.removeItem(String(e)),mn=()=>sessionStorage.clear(),$i={setItem:pn,getItem:un,removeItem:dn,clear:mn}});var Te,Ge=y(()=>{"use strict";n();Ae();gn();Te={session:Ht,local:Vt}});var Gt,D,We,K=y(()=>{"use strict";n();Gt=require("@reduxjs/toolkit");b();D=(0,Gt.createAction)(Ve),We=(0,Gt.createAction)(sn,e=>({payload:e}))});var qt,fn,Tn,qe,Wt,yn,hn,Rc,xn,_c,Mc,Oc,Fc,Bc,Uc,$c,je,ze=y(()=>{"use strict";n();qt=require("@multiversx/sdk-core"),fn=require("@reduxjs/toolkit"),Tn=require("redux-persist");b();Ge();Ae();K();qe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ge},Wt={address:"",websocketEvent:null,accounts:{"":qe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},yn=(0,fn.createSlice)({name:"accountInfoSlice",initialState:Wt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new qt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:qe},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(D,()=>(Te.local.removeItem(se.loginExpiresAt),Wt)),e.addCase(We,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new qt.Address(o).hex()}),e.addCase(Tn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Wt.accounts,t.publicKey=m})}}),{setAccount:hn,setAddress:Rc,setAccountNonce:xn,setAccountShard:_c,setLedgerAccount:Mc,updateLedgerAccount:Oc,setWalletConnectAccount:Fc,setIsAccountLoading:Bc,setAccountLoadingError:Uc,setWebsocketEvent:$c}=yn.actions,je=yn.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function be(e){Te.local.setItem({key:se.loginExpiresAt,data:e,expires:e})}var jt=y(()=>{"use strict";n();Ge();Ae()});var An,Sn,In,Zc,Xc,Jc,Ke,Qc,el,bn,tl,Ye,Ze=y(()=>{"use strict";n();An=require("@reduxjs/toolkit");jt();G();K();Sn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},In=(0,An.createSlice)({name:"loginInfoSlice",initialState:Sn,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(D,()=>Sn),e.addCase(We,(t,r)=>{t.loginMethod=r.payload.loginMethod,be(Ie())})}}),{setLoginMethod:Zc,setWalletConnectLogin:Xc,setLedgerLogin:Jc,setTokenLogin:Ke,setTokenLoginSignature:Qc,setWalletLogin:el,invalidateLoginSession:bn,setLogoutRoute:tl}=In.actions,Ye=In.reducer});var kn,vn,En,il,sl,al,cl,Xe,Je=y(()=>{"use strict";n();kn=require("@reduxjs/toolkit");K();vn={},En=(0,kn.createSlice)({name:"modalsSlice",initialState:vn,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(D,()=>vn)}}),{setTxSubmittedModal:il,setNotificationModal:sl,clearTxSubmittedModal:al,clearNotificationModal:cl}=En.actions,Xe=En.reducer});var Ln=y(()=>{"use strict";n()});var Dn=y(()=>{"use strict";n();Ln()});function zt(e){return e[Math.floor(Math.random()*e.length)]}var Nn=y(()=>{"use strict";n()});var Cn=y(()=>{"use strict";n();Ot()});var Pn=y(()=>{"use strict";n();Dn();Nn();Cn()});var Rn,_n,Kt,Vi,Mn,bl,vl,Qe,et=y(()=>{"use strict";n();Rn=require("@reduxjs/toolkit"),_n=S(require("lodash.omit"));Pn();Kt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Vi={network:Kt,chainID:"-1"},Mn=(0,Rn.createSlice)({name:"appConfig",initialState:Vi,reducers:{initializeNetworkConfig:(e,t)=>{let r=zt(t.payload.walletConnectBridgeAddresses),o=zt(t.payload.walletConnectV2RelayAddresses),i=(0,_n.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:bl,setChainID:vl}=Mn.actions,Qe=Mn.reducer});var On,Yt,Fn,Cl,Pl,Rl,tt,rt=y(()=>{"use strict";n();On=require("@reduxjs/toolkit");O();K();Yt={isSigning:!1,signedSessions:{}},Fn=(0,On.createSlice)({name:"signedMessageInfoSliceState",initialState:Yt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return A(h({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:A(h({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>Yt},extraReducers:e=>{e.addCase(D,()=>Yt)}}),{setSignSession:Cl,clearSignedMessageInfo:Pl,setSignSessionState:Rl}=Fn.actions,tt=Fn.reducer});var Un,$n,Bn,Vn,Vl,Hl,Gl,Wl,ql,jl,nt,ot=y(()=>{"use strict";n();Un=require("@reduxjs/toolkit"),$n=require("redux-persist");Ft();O();He();K();Bn={customToasts:[],transactionToasts:[],failTransactionToast:null},Vn=(0,Un.createSlice)({name:"toastsSlice",initialState:Bn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(h({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:fe(),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=A(h({},t.payload),{toastId:rn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(D,()=>Bn),e.addCase($n.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Vl,removeCustomToast:Hl,addTransactionToast:Gl,removeTransactionToast:Wl,addFailTransactionToast:ql,removeFailTransactionToast:jl}=Vn.actions,nt=Vn.reducer});var Hn,Xt,Jt,Qt,Hi,Zt,Gn,Zl,Xl,Jl,it,st=y(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");K();Xt="Transaction failed",Jt="Transaction successful",Qt="Processing transaction",Hi="Transaction submitted",Zt={},Gn=(0,Hn.createSlice)({name:"transactionsInfo",initialState:Zt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Xt,successMessage:(o==null?void 0:o.successMessage)||Jt,processingMessage:(o==null?void 0:o.processingMessage)||Qt,submittedMessage:(o==null?void 0:o.submittedMessage)||Hi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Zt},extraReducers:e=>{e.addCase(D,()=>Zt)}}),{clearTransactionsInfo:Zl,setTransactionsDisplayInfo:Xl,clearTransactionsInfoForSessionId:Jl}=Gn.actions,it=Gn.reducer});function Wn(e){return e!=null&&(Xi(e)||ts(e))}function at(e){return e!=null&&(Ji(e)||rs(e))}function ct(e){return e!=null&&(Qi(e)||ns(e))}function qn(e){return e!=null&&es(e)}function Xi(e){return e!=null&&Wi.includes(e)}function Ji(e){return e!=null&&qi.includes(e)}function Qi(e){return e!=null&&ji.includes(e)}function es(e){return e!=null&&zi.includes(e)}function ts(e){return e!=null&&Ki.includes(e)}function rs(e){return e!=null&&Yi.includes(e)}function ns(e){return e!=null&&Zi.includes(e)}var Wi,qi,ji,zi,Ki,Yi,Zi,tr=y(()=>{"use strict";n();G();Wi=["sent"],qi=["success"],ji=["fail","cancelled","timedOut"],zi=["timedOut"],Ki=["pending"],Yi=["success"],Zi=["fail","invalid"]});var jn,zn,ve,os,Kn,ap,cp,lp,pp,up,dp,mp,gp,fp,Tp,lt,pt=y(()=>{"use strict";n();jn=require("@reduxjs/toolkit"),zn=require("redux-persist");G();tr();K();ve={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},os={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Kn=(0,jn.createSlice)({name:"transactionsSlice",initialState:ve,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||os;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=ve.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=h(h({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,g,x,T,w;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(P=>P.hash===l?A(h({},P),{status:o,errorMessage:i}):P);let E=(x=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:x.every(P=>at(P.status)),v=(w=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:w.every(P=>ct(P.status));E&&(e.signedTransactions[r].status="success"),v&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ve.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ve.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(D,()=>ve),e.addCase(zn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,g])=>{let x=new Date(d),T=new Date;return T.setHours(T.getHours()+5),T-x>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ap,updateSignedTransactions:cp,setTransactionsToSign:lp,clearAllTransactionsToSign:pp,clearAllSignedTransactions:up,clearSignedTransaction:dp,clearTransactionToSign:mp,setSignTransactionsError:gp,setSignTransactionsCancelMessage:fp,moveTransactionsToSignedState:Tp}=Kn.actions,lt=Kn.reducer});var ae=y(()=>{"use strict";n();ze();Ze();Je();et();rt();ot();st();pt()});var rr=y(()=>{"use strict";n()});var Qn,Jn,eo,$p,Vp,Hp,Gp,Wp,qp,to,ro=y(()=>{"use strict";n();Qn=require("@reduxjs/toolkit");K();Jn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},eo=(0,Qn.createSlice)({name:"dappModalsSlice",initialState:Jn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=h({},t.payload)}},extraReducers:e=>{e.addCase(D,()=>Jn)}}),{setDappModalVisibility:$p,setDappModalHeaderVisibility:Vp,setDappModalFooterVisibility:Hp,setDappModalHeaderText:Gp,setDappModalFooterText:Wp,setDappModalConfig:qp}=eo.actions,to=eo.reducer});var no,cs,ls,ce,gt=y(()=>{"use strict";n();no=require("@reduxjs/toolkit");rr();ze();ro();Ze();Je();et();rt();ot();st();pt();cs={["account"]:je,["dappModal"]:to,["loginInfo"]:Ye,["modals"]:Xe,["networkConfig"]:Qe,["signedMessageInfo"]:tt,["toasts"]:nt,["transactionsInfo"]:it,["transactions"]:lt},ls=(e={})=>(0,no.combineReducers)(h(h({},cs),e)),ce=ls});var ao={};re(ao,{default:()=>bs,sessionStorageReducers:()=>nr});function Q(e,t=[]){return{key:e,version:1,storage:io.default,blacklist:t}}var R,oo,io,ps,Ee,us,ds,ms,gs,fs,Ts,ys,hs,xs,so,Ss,nr,ws,As,Is,bs,co=y(()=>{"use strict";n();R=require("redux-persist"),oo=S(require("redux-persist/lib/storage")),io=S(require("redux-persist/lib/storage/session"));gt();ae();ze();Ze();Je();et();rt();ot();st();pt();rr();ps={persistReducersStorageType:"localStorage"},Ee={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},us=Q(Ee["account"]),ds=Q(Ee["loginInfo"]),ms=Q(Ee["modals"]),gs=Q(Ee["networkConfig"]),fs={2:e=>A(h({},e),{networkConfig:Kt})};Ts=Q("sdk-dapp-transactionsInfo"),ys=Q("sdk-dapp-transactions",["transactionsToSign"]),hs=Q("sdk-dapp-toasts"),xs=Q("sdk-dapp-signedMessageInfo"),so={key:"sdk-dapp-store",version:2,storage:oo.default,whitelist:Object.keys(Ee),migrate:(0,R.createMigrate)(fs,{debug:!1})},Ss=A(h({},so),{whitelist:[]}),nr={["toasts"]:(0,R.persistReducer)(hs,nt),["transactions"]:(0,R.persistReducer)(ys,lt),["transactionsInfo"]:(0,R.persistReducer)(Ts,it),["signedMessageInfo"]:(0,R.persistReducer)(xs,tt)},ws=A(h({},nr),{["account"]:(0,R.persistReducer)(us,je),["loginInfo"]:(0,R.persistReducer)(ds,Ye),["modals"]:(0,R.persistReducer)(ms,Xe),["networkConfig"]:(0,R.persistReducer)(gs,Qe)}),As=ps.persistReducersStorageType==="localStorage",Is=As?(0,R.persistReducer)(so,ce(nr)):(0,R.persistReducer)(Ss,ce(ws)),bs=Is});var lo={};re(lo,{default:()=>vs});var vs,po=y(()=>{"use strict";n();gt();vs=ce()});var uo={};re(uo,{default:()=>Es});var F,ks,Es,mo=y(()=>{"use strict";n();F=require("redux-persist"),ks=[F.FLUSH,F.REHYDRATE,F.PAUSE,F.PERSIST,F.PURGE,F.REGISTER],Es=ks});var To={};re(To,{default:()=>fo});function fo(e){return(0,go.persistStore)(e)}var go,yo=y(()=>{"use strict";n();go=require("redux-persist")});var La={};re(La,{useLoginService:()=>Ea});module.exports=we(La);n();var Xo=require("react"),wt=require("@multiversx/sdk-core");n();n();n();var Io=require("react"),ye=require("react-redux");n();var or=require("@reduxjs/toolkit"),wo=require("react-redux/lib/utils/Subscription");ae();n();var Zn=S(require("lodash.throttle"));b();n();var Yn=S(require("lodash.isequal")),ut=require("reselect");O();var f=(0,ut.createSelectorCreator)(ut.defaultMemoize,Yn.default),ke=(e,t)=>e!=""&&Boolean(t);ae();jt();Ge();Ae();var is=[Ve],dt=!1,ss=(0,Zn.default)(()=>{be(Ie())},5e3),Xn=e=>t=>r=>{var d;if(is.includes(r.type))return t(r);let o=e.getState(),i=Te.local.getItem(se.loginExpiresAt);if(!ke((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return be(Ie());let p=Date.now();return i-p<0&&!dt?setTimeout(()=>{dt=!0,e.dispatch(bn())},1e3):(dt&&(dt=!1),ss()),t(r)};n();n();function mt(){return typeof sessionStorage!="undefined"}var ho=mt()?(co(),we(ao)).default:(po(),we(lo)).default,xo=mt()?(mo(),we(uo)).default:[],So=mt()?(yo(),we(To)).default:e=>e;gt();var ee=(0,or.configureStore)({reducer:ho,middleware:e=>e({serializableCheck:{ignoredActions:[...xo,xn.type,hn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Xn)}),Ao=(0,wo.createSubscription)(ee),Au=So(ee),Iu=(0,or.configureStore)({reducer:ce});var Ls={store:ee,subscription:Ao},ir=(0,Io.createContext)(Ls),Eu=(0,ye.createStoreHook)(ir),bo=(0,ye.createDispatchHook)(ir),Y=(0,ye.createSelectorHook)(ir);n();n();ae();var Z=e=>e.account,sr=f(Z,e=>e.address),Le=f(Z,sr,(e,t)=>t in e.accounts?e.accounts[t]:qe),Ds=f(Z,Le,(e,t)=>{let i=e,{accounts:r}=i,o=xr(i,["accounts"]);return A(h({},o),{account:t})}),Cu=f(Le,e=>e.balance),Pu=f(Le,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Ru=f(Z,e=>e.shard),_u=f(Z,e=>e.ledgerAccount),Mu=f(Z,e=>e.walletConnectAccount),Ou=f(Z,e=>e.isAccountLoading),Fu=f(Z,e=>e.accountLoadingError),Ns=f(Z,e=>e.websocketEvent);n();var B=e=>e.loginInfo,Vu=f(B,e=>e.loginMethod),Cs=f(B,sr,(e,t)=>ke(e.loginMethod,t)),Hu=f(B,e=>e.walletConnectLogin),Gu=f(B,e=>e.ledgerLogin),Wu=f(B,e=>e.walletLogin),qu=f(B,e=>e.isLoginSessionInvalid),vo=f(B,e=>e.tokenLogin),ju=f(B,e=>e.logoutRoute);n();var ko=e=>e.modals,Yu=f(ko,e=>e.txSubmittedModal),Zu=f(ko,e=>e.notificationModal);n();var le=e=>e.networkConfig,Qu=f(le,e=>e.chainID),ed=f(le,e=>e.network.walletConnectBridgeAddress),td=f(le,e=>e.network.walletConnectV2RelayAddress),rd=f(le,e=>e.network.walletConnectV2ProjectId),nd=f(le,e=>e.network.walletConnectV2Options),od=f(le,e=>e.network.walletConnectDeepLink),De=f(le,e=>e.network),id=f(De,e=>e.apiAddress),Eo=f(De,e=>e.explorerAddress),sd=f(De,e=>e.egldLabel);n();var ar=e=>e.signedMessageInfo,ld=f(ar,e=>e.isSigning),pd=f(ar,e=>e.errorMessage),ud=f(ar,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var cr=e=>e.toasts,gd=f(cr,e=>e.customToasts),fd=f(cr,e=>e.transactionToasts),Td=f(cr,e=>e.failTransactionToast);n();ae();var Lo={errorMessage:Xt,successMessage:Jt,processingMessage:Qt},Ps=e=>e.transactionsInfo,Sd=f(Ps,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Lo);n();n();var _=require("@multiversx/sdk-core");b();n();function lr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function he(e){return atob(e)}function pr(e){var i,l,p;let{data:t}=e,r=lr(t!=null?t:"")?_.TransactionPayload.fromEncoded(t):new _.TransactionPayload(t),o=new _.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new _.Address(e.receiver),sender:new _.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Bt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Ut,chainID:e.chainID.valueOf(),version:new _.TransactionVersion((p=e.version)!=null?p:on)},e.options?{options:new _.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new _.Address(e.sender)),o}n();tr();n();var _s=S(require("bignumber.js"));O();n();n();n();n();var Os=require("@multiversx/sdk-core"),Fs=S(require("bignumber.js"));G();n();var Ms=require("@multiversx/sdk-core");n();n();n();var Us=require("@multiversx/sdk-core/out");n();b();n();var Po=require("@multiversx/sdk-core");O();n();n();n();n();G();n();n();n();n();n();n();n();var ur="blocks";n();n();n();n();C();n();n();C();n();n();n();var qs=S(require("bignumber.js"));b();n();var Ws=require("@multiversx/sdk-core"),dr=S(require("bignumber.js"));b();n();var Hs=S(require("bignumber.js"));n();dr.default.config({ROUNDING_MODE:dr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var js=require("@multiversx/sdk-core");b();n();var Ne=require("@multiversx/sdk-core"),Ks=require("@multiversx/sdk-network-providers");b();n();n();var zs=S(require("bignumber.js"));b();n();b();n();n();n();n();n();b();n();C();var Zs=["reDelegateRewards","claimRewards","unBond"],Xs=["wrapEgld","unwrapEgld"],Js=["unStake"],Qs=["unDelegate"];n();n();n();b();n();var ra=S(require("bignumber.js"));n();n();n();n();C();n();var na=S(require("bignumber.js"));n();n();n();n();C();n();n();n();var ia=S(require("linkifyjs"));n();b();n();var sa=S(require("bignumber.js"));n();O();n();n();G();n();G();n();n();n();C();n();C();n();var aa=S(require("bignumber.js"));b();C();n();C();n();var Fo=require("react");O();n();n();C();n();n();var ca=require("@multiversx/sdk-core/out"),la=S(require("bignumber.js"));C();n();O();n();n();O();var ih=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Bo=require("react");O();n();var ua=require("react");C();var dh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var ht=e=>e.transactions,Ce=f(ht,e=>e.signedTransactions),Zh=f(ht,e=>e.signTransactionsError),Xh=f(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Jh=f(Ce,xt(Wn)),Qh=f(Ce,xt(at)),ex=f(Ce,xt(ct)),tx=f(Ce,xt(qn)),rx=f(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>pr(r)))||[]})}),nx=f(Ce,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var gr=()=>Y(Le);n();n();n();n();n();var Pe=S(require("react"));var Ex=(0,Pe.createContext)({}),Lx=ee.getState();n();var $o=S(require("react"));n();var fr=S(require("react")),da=S(require("axios"));n();n();n();n();n();var ma=require("@multiversx/sdk-extension-provider"),ga=require("@multiversx/sdk-hw-provider"),fa=require("@multiversx/sdk-opera-provider"),Ta=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ya=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),ha=require("@multiversx/sdk-web-wallet-provider");b();G();var X=e=>`Unable to perform ${e}, Provider not initialized`,Tr=class{init(){return Promise.resolve(!1)}login(t){throw new Error(X(`login with options: ${t}`))}logout(t){throw new Error(X(`logout with options: ${t}`))}getAddress(){throw new Error(X("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(X(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(X(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(X(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(X(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(X(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(X(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},xa=new Tr;n();ae();n();n();n();n();var wa=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),xe=e=>wa(s.Buffer.from(e,"utf8").toString("base64"));n();var Wo=S(require("axios"));n();n();n();function Vo(e){return L(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ho=(e,t,r,o=0)=>L(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Vo(t.delay)),yield Ho(e,t,r,o+1)):null}}),Go=(e,t={retries:5,delay:500})=>(...r)=>L(void 0,null,function*(){return yield Ho(e,t,r)});var Aa=4,Ia=3e4,St={current:null},pe={current:null},ba=Go((e,t)=>L(void 0,null,function*(){let{data:r}=yield Wo.default.get(`${e}/${ur}?from=${Aa}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function qo(e,t){return L(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(St.current!=null&&r<St.current.timestamp*1e3+Ia)return St.current;if(pe.current!=null)return yield pe.current;pe.current=ba(e,t);try{let o=yield pe.current;if(o==null)throw pe.current=null,new Error("could not get block hash");return St.current={hash:o.hash,timestamp:o.timestamp},pe.current=null,o}catch(o){return pe.current=null,null}})}n();function va(e){return Object.prototype.toString.call(e)==="[object String]"}var jo=e=>{if(!e||!va(e))return null;try{let[t,r,o]=e.split("."),i=he(t),l=he(r),[p,m,d,g]=l.split("."),x=JSON.parse(he(g)),T=he(p),w={ttl:Number(d),address:i,extraInfo:x,origin:T,signature:o,blockHash:m,body:l};return g==="e30"&&delete w.extraInfo,w}catch(t){return null}};n();n();He();var zo=e=>{let t=jo(e);if(!t)return{isExpired:!1};let r=fe(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};n();var Ko,Re={origin:typeof window!="undefined"?(Ko=window==null?void 0:window.location)==null?void 0:Ko.origin:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},_e=e=>{var r,o,i,l,p;return e===!0?Re:{origin:(r=e==null?void 0:e.origin)!=null?r:Re.origin,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:Re.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:Re.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Re.tokenExpirationToastWarningSeconds}};n();var Yo=({address:e,token:t,signature:r})=>{let o=xe(e),i=xe(t);return`${o}.${i}.${r}`};var Zo=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=_e(e);return{getNativeAuthConfig:_e,initialize:(...d)=>L(void 0,[...d],function*(p={},m){if(!r||!t)return"";let g=m!=null?m:yield qo(r,i),{hash:x,timestamp:T}=g,w=xe(JSON.stringify(h(h({},p),T?{timestamp:T}:{})));return`${xe(t)}.${x}.${o}.${w}`}),getToken:Yo,getTokenExpiration:zo}};var ka=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Ea=e=>{let t=Y(De),r=Y(vo),o=(0,Xo.useRef)(r==null?void 0:r.loginToken),i=ka(t.apiAddress,e),l=_e(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Zo(l),{address:d}=gr(),g=bo(),x=v=>{o.current=v,g(Ke(h({loginToken:v},i?{nativeAuthConfig:l}:{})))},T=()=>L(void 0,null,function*(){try{return yield m.initialize()}catch(v){console.error("Unable to get block. Login failed.",v);return}}),w=({address:v,signature:P})=>{let J=o.current;if(!J)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Ke({loginToken:J,signature:P}));return}let At=m.getToken({address:v,token:J,signature:P});g(Ke(h({loginToken:J,signature:P,nativeAuthToken:At},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:T,setTokenLoginInfo:w,refreshNativeAuthTokenLogin:P=>L(void 0,[P],function*({signMessageCallback:v}){let J=yield T();if(o.current=J,!J)return;let At=new wt.SignableMessage({address:new wt.Address(d),message:s.Buffer.from(J)}),Jo=yield v(At,{});w({address:d,signature:Jo.toJSON().signature})})}};0&&(module.exports={useLoginService});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|