@multiversx/sdk-dapp 3.0.19 → 3.0.20
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/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.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/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.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/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.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/TransactionData.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode.js +1 -1
- package/UI/TransactionData/components/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/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/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/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.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/TransactionMethod.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/CustomComponentToast.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/DefaultToastDeleteButton.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/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.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/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/chunk-23W57VQI.js +2 -0
- package/__chunks__/{chunk-KESYGJYU.js → chunk-23WC2KZD.js} +2 -2
- package/__chunks__/{chunk-PL254HTU.js → chunk-2EWCUWIU.js} +2 -2
- package/__chunks__/{chunk-4AYFR46S.js → chunk-2F54G2RO.js} +2 -2
- package/__chunks__/chunk-2FAELKQI.js +2 -0
- package/__chunks__/{chunk-FOB5N4UB.js → chunk-2MPHNLIR.js} +2 -2
- package/__chunks__/{chunk-A5FD7DTK.js → chunk-2PVUEXHG.js} +2 -2
- package/__chunks__/{chunk-UQF6NDG4.js → chunk-2S3WLTTZ.js} +2 -2
- package/__chunks__/chunk-2W3HTAH6.js +2 -0
- package/__chunks__/{chunk-4TY7XTOD.js → chunk-2WIDHMD3.js} +2 -2
- package/__chunks__/{chunk-KKHZHP3E.js → chunk-2ZQUCJ3M.js} +2 -2
- package/__chunks__/{chunk-7GYR3BZZ.js → chunk-32LDF3IW.js} +2 -2
- package/__chunks__/chunk-32MQMBNY.js +2 -0
- package/__chunks__/{chunk-RBQXSOSJ.js → chunk-35PKC5YY.js} +2 -2
- package/__chunks__/chunk-373LPU6U.js +2 -0
- package/__chunks__/{chunk-PXO3KXPV.js → chunk-374FMRMN.js} +2 -2
- package/__chunks__/{chunk-WNUN6H4T.js → chunk-37LZRS45.js} +2 -2
- package/__chunks__/{chunk-P3K3ST24.js → chunk-3CA7ECJG.js} +2 -2
- package/__chunks__/{chunk-SOOZPADC.js → chunk-3FCH2UAZ.js} +2 -2
- package/__chunks__/chunk-3FK4DGLL.js +2 -0
- package/__chunks__/{chunk-MNJFPX3O.js → chunk-3HZ45UYC.js} +2 -2
- package/__chunks__/{chunk-5B3VR2FV.js → chunk-3KLEQWPP.js} +2 -2
- package/__chunks__/{chunk-MBNT47JC.js → chunk-3MFOF236.js} +2 -2
- package/__chunks__/chunk-3MMLW2FM.js +2 -0
- package/__chunks__/{chunk-K6Q3BCRA.js → chunk-3RLOPS7A.js} +2 -2
- package/__chunks__/{chunk-TJVSSB6L.js → chunk-3T5225YP.js} +2 -2
- package/__chunks__/{chunk-UEWYCOIN.js → chunk-3Y6TKA2K.js} +2 -2
- package/__chunks__/{chunk-XYPHPEVE.js → chunk-4ANW6FS5.js} +2 -2
- package/__chunks__/{chunk-CPTGXWUV.js → chunk-4G4VB35P.js} +2 -2
- package/__chunks__/{chunk-CZMQWDNV.js → chunk-4I7E4NJZ.js} +2 -2
- package/__chunks__/{chunk-FFPSOIDK.js → chunk-4MOGFP3Q.js} +2 -2
- package/__chunks__/{chunk-4GKDZ3TO.js → chunk-4ROI3DNA.js} +2 -2
- package/__chunks__/{chunk-2XKDGL5T.js → chunk-4TUUC3VG.js} +2 -2
- package/__chunks__/{chunk-R666NKD7.js → chunk-4UIDHBRY.js} +2 -2
- package/__chunks__/{chunk-DST6SZX2.js → chunk-4XP7MUPS.js} +2 -2
- package/__chunks__/{chunk-SKI27VQD.js → chunk-4XVLB7O2.js} +2 -2
- package/__chunks__/{chunk-HS7U64J3.js → chunk-4ZPA2ZNG.js} +2 -2
- package/__chunks__/{chunk-BZGRD26P.js → chunk-5352BVHS.js} +2 -2
- package/__chunks__/chunk-53UDFLVS.js +2 -0
- package/__chunks__/{chunk-XCXIJG4P.js → chunk-57MR6GDY.js} +2 -2
- package/__chunks__/chunk-57R6QXXS.js +2 -0
- package/__chunks__/chunk-5AG7LTJX.js +2 -0
- package/__chunks__/{chunk-BRMDGFCG.js → chunk-5BLBYHWX.js} +2 -2
- package/__chunks__/{chunk-VTFUHAXE.js → chunk-5C4JVHQ3.js} +2 -2
- package/__chunks__/{chunk-QZD5N7RZ.js → chunk-5D4CGOGE.js} +2 -2
- package/__chunks__/{chunk-BAJZ4MU7.js → chunk-5GBKDMCE.js} +2 -2
- package/__chunks__/chunk-5L7UGYCL.js +2 -0
- package/__chunks__/{chunk-UL64XUYA.js → chunk-5LRWSHX3.js} +2 -2
- package/__chunks__/chunk-5NREUPDN.js +2 -0
- package/__chunks__/{chunk-SOD2H65H.js → chunk-5QJNIURL.js} +2 -2
- package/__chunks__/{chunk-XECVYP4E.js → chunk-5R22KYMS.js} +2 -2
- package/__chunks__/{chunk-K3JRXFGH.js → chunk-5SCA66ZU.js} +2 -2
- package/__chunks__/chunk-5SHZENX7.js +2 -0
- package/__chunks__/{chunk-3CINYBP7.js → chunk-5SS7NZ62.js} +2 -2
- package/__chunks__/{chunk-PBD3PMQ6.js → chunk-5UW3KHZF.js} +2 -2
- package/__chunks__/chunk-5ZTQTA57.js +2 -0
- package/__chunks__/chunk-67LZSTQG.js +2 -0
- package/__chunks__/chunk-6DLLJ73W.js +2 -0
- package/__chunks__/{chunk-VRTCS22N.js → chunk-6EJ3CDZ2.js} +2 -2
- package/__chunks__/{chunk-MBDPT5AM.js → chunk-6MFLNPAV.js} +2 -2
- package/__chunks__/{chunk-XIH5JQMU.js → chunk-6MSKJ2PR.js} +2 -2
- package/__chunks__/{chunk-V4A4RI3N.js → chunk-6PBV75WN.js} +2 -2
- package/__chunks__/{chunk-XYD5IJAJ.js → chunk-753TEHRM.js} +2 -2
- package/__chunks__/{chunk-L7JIR6OV.js → chunk-77HA2TCZ.js} +2 -2
- package/__chunks__/{chunk-45TZJ2VF.js → chunk-7AHPPG66.js} +2 -2
- package/__chunks__/chunk-7HIOJST5.js +2 -0
- package/__chunks__/chunk-7QQW7OZC.js +2 -0
- package/__chunks__/{chunk-4SMYG4AO.js → chunk-7VPFM2FM.js} +2 -2
- package/__chunks__/{chunk-XSPP3G57.js → chunk-7X6D3IN6.js} +2 -2
- package/__chunks__/{chunk-6IOVE2XD.js → chunk-A4PKFKOI.js} +2 -2
- package/__chunks__/{chunk-77ZPJ5ZZ.js → chunk-A57Z5SS4.js} +2 -2
- package/__chunks__/{chunk-AHFVMJ7X.js → chunk-AEE3RXHB.js} +2 -2
- package/__chunks__/chunk-AEL32BBY.js +2 -0
- package/__chunks__/{chunk-XQIEPK5J.js → chunk-AELXW3UM.js} +2 -2
- package/__chunks__/{chunk-4MYDIG2C.js → chunk-AH5JZOCZ.js} +2 -2
- package/__chunks__/{chunk-JD4QKREV.js → chunk-AMHG363J.js} +2 -2
- package/__chunks__/{chunk-ZZ3PILAG.js → chunk-AR72EQDQ.js} +2 -2
- package/__chunks__/{chunk-TIMS5S2C.js → chunk-B3RDMC5R.js} +2 -2
- package/__chunks__/{chunk-LPRQ2IYP.js → chunk-B6AES4OZ.js} +2 -2
- package/__chunks__/{chunk-6MNICFK6.js → chunk-BBQYRT3U.js} +2 -2
- package/__chunks__/{chunk-JWSME6SY.js → chunk-BGY3RENH.js} +2 -2
- package/__chunks__/{chunk-4VEIGU4J.js → chunk-BH6L3X37.js} +2 -2
- package/__chunks__/{chunk-33ZQXWGC.js → chunk-BSAFBHP4.js} +2 -2
- package/__chunks__/chunk-BSS45KE5.js +2 -0
- package/__chunks__/{chunk-76WLQW5F.js → chunk-BSSSW6DS.js} +2 -2
- package/__chunks__/{chunk-YOZHK36J.js → chunk-BT5CQ3TL.js} +2 -2
- package/__chunks__/{chunk-MJZ7CDPB.js → chunk-BVC772NI.js} +2 -2
- package/__chunks__/{chunk-L5MDW727.js → chunk-C2WXU3NW.js} +2 -2
- package/__chunks__/{chunk-XL7XIOJR.js → chunk-C3FEVXGG.js} +2 -2
- package/__chunks__/{chunk-V3TVICHS.js → chunk-C3WI7D7F.js} +2 -2
- package/__chunks__/{chunk-N2M34KLB.js → chunk-C7FBZTKK.js} +2 -2
- package/__chunks__/{chunk-DYVTV6RQ.js → chunk-C7SLWPOR.js} +2 -2
- package/__chunks__/{chunk-FV6H3A4M.js → chunk-CAWOYSSN.js} +2 -2
- package/__chunks__/{chunk-HCWQSW2G.js → chunk-CH76NS43.js} +2 -2
- package/__chunks__/{chunk-YQT2T3WW.js → chunk-CLYKUTT7.js} +2 -2
- package/__chunks__/chunk-CMQ35IPJ.js +2 -0
- package/__chunks__/{chunk-CUYJAD7W.js → chunk-COI4EMDU.js} +2 -2
- package/__chunks__/{chunk-6JKT3JAV.js → chunk-CP466LLF.js} +2 -2
- package/__chunks__/chunk-D3W4OXHN.js +2 -0
- package/__chunks__/{chunk-CTZINBSZ.js → chunk-D4US64MS.js} +2 -2
- package/__chunks__/{chunk-D643KB2W.js → chunk-DCBM62KH.js} +2 -2
- package/__chunks__/{chunk-NC27GOVK.js → chunk-DD4LPADX.js} +2 -2
- package/__chunks__/{chunk-3B4DWW6O.js → chunk-DDMO5HPN.js} +2 -2
- package/__chunks__/{chunk-2AIEU6LZ.js → chunk-DIM4QWEK.js} +2 -2
- package/__chunks__/{chunk-KACXL2VQ.js → chunk-DLCUTHCZ.js} +2 -2
- package/__chunks__/{chunk-HVGKEJEB.js → chunk-DLZTETOY.js} +2 -2
- package/__chunks__/{chunk-4ES3KUQJ.js → chunk-DPIDKLDE.js} +2 -2
- package/__chunks__/{chunk-K34NQEQO.js → chunk-DUHIIQF3.js} +2 -2
- package/__chunks__/{chunk-J5WQX5EE.js → chunk-DUJ3I45G.js} +2 -2
- package/__chunks__/chunk-DVZPZ72H.js +2 -0
- package/__chunks__/{chunk-NW56V3MY.js → chunk-EAG3ETLP.js} +2 -2
- package/__chunks__/{chunk-BNQM3PSY.js → chunk-EBFN2JQC.js} +2 -2
- package/__chunks__/{chunk-TWMGKIYA.js → chunk-EBR57EHR.js} +2 -2
- package/__chunks__/{chunk-N3YUZLCM.js → chunk-ECLZP7XW.js} +2 -2
- package/__chunks__/{chunk-GAMY5LR7.js → chunk-EF57BAGN.js} +2 -2
- package/__chunks__/{chunk-TTFHCVKE.js → chunk-EG6G2Y34.js} +2 -2
- package/__chunks__/{chunk-4YOJYG6R.js → chunk-EHWKULWV.js} +2 -2
- package/__chunks__/{chunk-DPY2TNEY.js → chunk-EIMOK4HN.js} +2 -2
- package/__chunks__/{chunk-PQQY2VA2.js → chunk-EMZYG7TB.js} +2 -2
- package/__chunks__/{chunk-SJFNSQDE.js → chunk-ENOR2DGK.js} +2 -2
- package/__chunks__/chunk-EPMMOVPH.js +2 -0
- package/__chunks__/chunk-ER7U52LM.js +2 -0
- package/__chunks__/{chunk-VO5H44X2.js → chunk-ESGYVSGQ.js} +2 -2
- package/__chunks__/{chunk-YZB7HVFC.js → chunk-EUFDZO65.js} +2 -2
- package/__chunks__/{chunk-EZ2PLUR5.js → chunk-EW26E3PC.js} +2 -2
- package/__chunks__/chunk-F4KUUGH7.js +2 -0
- package/__chunks__/{chunk-SUPKMGBY.js → chunk-F4ZVPXUD.js} +2 -2
- package/__chunks__/{chunk-3DIC5G74.js → chunk-F5HX2V7Y.js} +2 -2
- package/__chunks__/chunk-F7TPGTAX.js +2 -0
- package/__chunks__/{chunk-ZAXYP5DO.js → chunk-FDR3SFSN.js} +2 -2
- package/__chunks__/{chunk-M6UZBBM2.js → chunk-FE5MUQSZ.js} +2 -2
- package/__chunks__/{chunk-6XLP6QV5.js → chunk-FFO63W7J.js} +2 -2
- package/__chunks__/{chunk-QFFXJQMU.js → chunk-FITLB2Z5.js} +2 -2
- package/__chunks__/{chunk-2FT64D47.js → chunk-FNO4USUA.js} +2 -2
- package/__chunks__/chunk-FTTEVENT.js +2 -0
- package/__chunks__/{chunk-DFXCBJPX.js → chunk-FYRM2TPY.js} +2 -2
- package/__chunks__/{chunk-ZD5GDFTR.js → chunk-G2QZJWIY.js} +2 -2
- package/__chunks__/chunk-GABJA3SW.js +2 -0
- package/__chunks__/{chunk-TJ462GVP.js → chunk-GBTPD7XI.js} +2 -2
- package/__chunks__/chunk-GFBJ6KSR.js +2 -0
- package/__chunks__/{chunk-NMC25ZUJ.js → chunk-GGJYXINP.js} +2 -2
- package/__chunks__/{chunk-Q2II6WAH.js → chunk-GJPDUXUP.js} +2 -2
- package/__chunks__/{chunk-LABFKDKK.js → chunk-GLHSSAW5.js} +2 -2
- package/__chunks__/{chunk-A4X2GOUI.js → chunk-GMBVYARR.js} +2 -2
- package/__chunks__/chunk-GOHJBIXQ.js +2 -0
- package/__chunks__/{chunk-IE3IVXRG.js → chunk-GPK5TKRY.js} +2 -2
- package/__chunks__/{chunk-BBPVQC7L.js → chunk-GYZKZJYT.js} +2 -2
- package/__chunks__/{chunk-Y4OZCVUZ.js → chunk-HC62WSPV.js} +2 -2
- package/__chunks__/{chunk-TPMTRTYF.js → chunk-HFNGX3KT.js} +2 -2
- package/__chunks__/{chunk-NRHVGC3B.js → chunk-HG4W2KMT.js} +2 -2
- package/__chunks__/{chunk-HWKORQ2K.js → chunk-HGGDLHW3.js} +2 -2
- package/__chunks__/{chunk-O7BFK3AK.js → chunk-HHOGX6TO.js} +2 -2
- package/__chunks__/{chunk-3QAMKN76.js → chunk-HHPJ6WV3.js} +2 -2
- package/__chunks__/{chunk-2YBZB3QT.js → chunk-HMF2IDRU.js} +2 -2
- package/__chunks__/{chunk-SEELVEOF.js → chunk-HNGOWZIV.js} +2 -2
- package/__chunks__/{chunk-WNUGX7UH.js → chunk-HRTPY35M.js} +2 -2
- package/__chunks__/{chunk-OJ65PGXZ.js → chunk-I2A5AQNP.js} +2 -2
- package/__chunks__/{chunk-H7F7QSSU.js → chunk-I3X6N7LO.js} +2 -2
- package/__chunks__/chunk-IFE6VMJ3.js +2 -0
- package/__chunks__/{chunk-AUTRTBBJ.js → chunk-IGW3VTIY.js} +2 -2
- package/__chunks__/{chunk-D75WP7GF.js → chunk-INBYDHWB.js} +2 -2
- package/__chunks__/{chunk-XI3XVOOA.js → chunk-IOPVZ45X.js} +2 -2
- package/__chunks__/{chunk-ZDIO44CA.js → chunk-IRNEDUNB.js} +2 -2
- package/__chunks__/chunk-ISZ75WJH.js +2 -0
- package/__chunks__/chunk-IV2UAHHR.js +2 -0
- package/__chunks__/{chunk-H664UVLI.js → chunk-IZZTMNKL.js} +2 -2
- package/__chunks__/{chunk-OE2KHOEY.js → chunk-J4B76GXU.js} +2 -2
- package/__chunks__/{chunk-NUHG6ACY.js → chunk-J6OGEOZF.js} +2 -2
- package/__chunks__/{chunk-AN3PVYB6.js → chunk-JE427V4Z.js} +2 -2
- package/__chunks__/{chunk-TFZRV4WV.js → chunk-JFEGFJYG.js} +2 -2
- package/__chunks__/{chunk-NYBV3BY2.js → chunk-JIK3LUAR.js} +2 -2
- package/__chunks__/chunk-JJTGLVUF.js +2 -0
- package/__chunks__/{chunk-Z4HYDMJT.js → chunk-JLIHM4EX.js} +2 -2
- package/__chunks__/{chunk-6EGCNSFW.js → chunk-JPCER52L.js} +2 -2
- package/__chunks__/{chunk-DQBNJKXP.js → chunk-JPD3QTIU.js} +2 -2
- package/__chunks__/{chunk-W3IQPPVZ.js → chunk-JPDRIR4Z.js} +2 -2
- package/__chunks__/{chunk-G2TQCLY5.js → chunk-JPKVM3BC.js} +2 -2
- package/__chunks__/chunk-JQMWV6DI.js +2 -0
- package/__chunks__/{chunk-IIO4O6XX.js → chunk-JSB4XBCL.js} +2 -2
- package/__chunks__/chunk-K6BN2PIQ.js +2 -0
- package/__chunks__/{chunk-3AOUWDRN.js → chunk-KCGGUA32.js} +2 -2
- package/__chunks__/{chunk-6DGZJKY3.js → chunk-KHPD52EJ.js} +2 -2
- package/__chunks__/{chunk-UPRCDBIL.js → chunk-KMB7EN5T.js} +2 -2
- package/__chunks__/{chunk-ENATCDDM.js → chunk-KQWCGLKP.js} +2 -2
- package/__chunks__/chunk-KSQWG7D6.js +2 -0
- package/__chunks__/{chunk-2ZQNGVTU.js → chunk-KWHIRYM3.js} +2 -2
- package/__chunks__/{chunk-TFN5IPAO.js → chunk-KXVCKONE.js} +2 -2
- package/__chunks__/{chunk-IJ3VVADG.js → chunk-L3NF2WWJ.js} +2 -2
- package/__chunks__/{chunk-AFOBGIC6.js → chunk-LAFMXFOI.js} +2 -2
- package/__chunks__/{chunk-V5CKNZA2.js → chunk-LBUDVIWP.js} +2 -2
- package/__chunks__/{chunk-LYO6GZ3A.js → chunk-LEQ75G3A.js} +2 -2
- package/__chunks__/chunk-LFKVDONT.js +2 -0
- package/__chunks__/{chunk-GSIGCMHA.js → chunk-LGJ4VZCA.js} +2 -2
- package/__chunks__/{chunk-2B7ZGYEB.js → chunk-LHRY3BCM.js} +2 -2
- package/__chunks__/{chunk-5AMJYRJ2.js → chunk-LHUR76KN.js} +2 -2
- package/__chunks__/{chunk-MYP4XQY5.js → chunk-LIEOTQFR.js} +2 -2
- package/__chunks__/chunk-LLOW255X.js +2 -0
- package/__chunks__/{chunk-5B5X4S2N.js → chunk-LO5TIX3Y.js} +2 -2
- package/__chunks__/{chunk-XCEBI3EQ.js → chunk-LTYEDJJ2.js} +2 -2
- package/__chunks__/{chunk-D62OYHN4.js → chunk-LV2S4RYW.js} +2 -2
- package/__chunks__/{chunk-Y4GMWUQR.js → chunk-LWLTZEUR.js} +2 -2
- package/__chunks__/{chunk-GDIJ3VWC.js → chunk-M246O3B3.js} +2 -2
- package/__chunks__/{chunk-36UWRGFL.js → chunk-M2MGPV3G.js} +2 -2
- package/__chunks__/{chunk-A6ZSNFXP.js → chunk-M7BKKUT5.js} +2 -2
- package/__chunks__/{chunk-VDQSHSAP.js → chunk-MA2KGP7W.js} +2 -2
- package/__chunks__/chunk-MBDEDSEW.js +2 -0
- package/__chunks__/{chunk-ZIIDK2IX.js → chunk-MCUKOZTI.js} +2 -2
- package/__chunks__/{chunk-QUMXWER5.js → chunk-MF2ADMXP.js} +2 -2
- package/__chunks__/{chunk-HK3BL5WJ.js → chunk-MIULHZAH.js} +2 -2
- package/__chunks__/chunk-MPUNA5XV.js +2 -0
- package/__chunks__/{chunk-RNXCDZE7.js → chunk-MVCZXQXR.js} +2 -2
- package/__chunks__/{chunk-UES4R3TC.js → chunk-MX7UJG44.js} +2 -2
- package/__chunks__/{chunk-B7YPTPRE.js → chunk-MXUHVHOH.js} +2 -2
- package/__chunks__/chunk-N57EYQI7.js +2 -0
- package/__chunks__/{chunk-XCETJVG5.js → chunk-N663DLSJ.js} +2 -2
- package/__chunks__/{chunk-HFGBJ5GL.js → chunk-N66X65TX.js} +2 -2
- package/__chunks__/{chunk-KDC72FBJ.js → chunk-N6HKO3SW.js} +2 -2
- package/__chunks__/{chunk-QGCSWJ3J.js → chunk-NFZXFTIJ.js} +2 -2
- package/__chunks__/chunk-NHLOLDJR.js +2 -0
- package/__chunks__/{chunk-ZQBSKR72.js → chunk-NHROF5TT.js} +2 -2
- package/__chunks__/{chunk-TISG47PR.js → chunk-NIVQGF2V.js} +2 -2
- package/__chunks__/{chunk-P5MIE6MI.js → chunk-NMHPPGKU.js} +2 -2
- package/__chunks__/{chunk-XNDB3RCO.js → chunk-NNWU2XKG.js} +2 -2
- package/__chunks__/{chunk-BF4DM7R5.js → chunk-NQAHCE7L.js} +2 -2
- package/__chunks__/chunk-NVL466WG.js +2 -0
- package/__chunks__/{chunk-W6YGSEZ4.js → chunk-NXNZKTGH.js} +2 -2
- package/__chunks__/{chunk-XEEY3HDK.js → chunk-O7A3B5UL.js} +2 -2
- package/__chunks__/{chunk-I5OGC7V5.js → chunk-O7JYT45R.js} +2 -2
- package/__chunks__/{chunk-EIV36FLO.js → chunk-OBQG7TN6.js} +2 -2
- package/__chunks__/{chunk-ICO7LEX6.js → chunk-OC33PRLG.js} +2 -2
- package/__chunks__/{chunk-5VBOKKA2.js → chunk-OCJRSBSJ.js} +2 -2
- package/__chunks__/{chunk-RV7HFQKN.js → chunk-OHAEDCR2.js} +2 -2
- package/__chunks__/{chunk-K6LPKU4O.js → chunk-OMVKOTXJ.js} +2 -2
- package/__chunks__/{chunk-XB5AV6KL.js → chunk-OPT3JYNI.js} +2 -2
- package/__chunks__/chunk-OQPJ4PWY.js +2 -0
- package/__chunks__/{chunk-Q6C25DHD.js → chunk-OT6KGZK7.js} +2 -2
- package/__chunks__/{chunk-3VDMQS32.js → chunk-OTH7NKIZ.js} +2 -2
- package/__chunks__/chunk-OUPXEHT3.js +2 -0
- package/__chunks__/{chunk-4D6645YL.js → chunk-OX6AVWT2.js} +2 -2
- package/__chunks__/{chunk-F74R22JL.js → chunk-OXOSM3NE.js} +2 -2
- package/__chunks__/{chunk-MKL2OLL6.js → chunk-P34RUZDS.js} +2 -2
- package/__chunks__/{chunk-L2JEVZQR.js → chunk-P6QWJR6B.js} +2 -2
- package/__chunks__/{chunk-5O6AK6MZ.js → chunk-PAGUMJIE.js} +2 -2
- package/__chunks__/{chunk-5IFIHV7J.js → chunk-PCOFQP2Q.js} +2 -2
- package/__chunks__/{chunk-3LHVCJCV.js → chunk-PEA3BMKQ.js} +2 -2
- package/__chunks__/{chunk-NLSTULNQ.js → chunk-PKNQHUL6.js} +2 -2
- package/__chunks__/chunk-PNBNE73F.js +2 -0
- package/__chunks__/{chunk-YTARCORV.js → chunk-PO7Q5SP6.js} +2 -2
- package/__chunks__/{chunk-WH5HQCTW.js → chunk-PPUI3BLS.js} +2 -2
- package/__chunks__/chunk-PZ4AH7DF.js +2 -0
- package/__chunks__/{chunk-IAQHH2SB.js → chunk-Q3ADNNYG.js} +2 -2
- package/__chunks__/{chunk-P4STGZJH.js → chunk-Q3FE2XOG.js} +2 -2
- package/__chunks__/{chunk-ASQ3U46M.js → chunk-Q7OFESUO.js} +2 -2
- package/__chunks__/{chunk-EGXPMWIO.js → chunk-QD537MZU.js} +2 -2
- package/__chunks__/{chunk-4EMUKO3O.js → chunk-QENN6NDL.js} +2 -2
- package/__chunks__/{chunk-CJKEPVMO.js → chunk-QMDTJFU3.js} +2 -2
- package/__chunks__/{chunk-DZICGNLZ.js → chunk-QRFFMY5Q.js} +2 -2
- package/__chunks__/{chunk-TLSDRYRG.js → chunk-QVVGHLCM.js} +2 -2
- package/__chunks__/chunk-QXKMNMR3.js +2 -0
- package/__chunks__/{chunk-JA3SLGX2.js → chunk-QZEWDJAT.js} +2 -2
- package/__chunks__/{chunk-CHAMM5KE.js → chunk-R23P6IMF.js} +2 -2
- package/__chunks__/{chunk-CLK5H5ZL.js → chunk-RCAOXHIW.js} +2 -2
- package/__chunks__/{chunk-ELUYAFQH.js → chunk-REB7V7GV.js} +2 -2
- package/__chunks__/{chunk-DBEM42SR.js → chunk-REW33NNZ.js} +2 -2
- package/__chunks__/chunk-RFTCPHFA.js +2 -0
- package/__chunks__/{chunk-2RG4XFAN.js → chunk-RGY3TNI6.js} +2 -2
- package/__chunks__/{chunk-KVFROWIW.js → chunk-RH2NFBDT.js} +2 -2
- package/__chunks__/{chunk-OOKK6JJ4.js → chunk-RP3LIXMU.js} +2 -2
- package/__chunks__/{chunk-4QMNIBLK.js → chunk-RPHIP3GG.js} +2 -2
- package/__chunks__/{chunk-6CJSFB2U.js → chunk-RPTNX4QD.js} +2 -2
- package/__chunks__/{chunk-U72Y75C7.js → chunk-RQLFNBVQ.js} +2 -2
- package/__chunks__/{chunk-4HU7AQ47.js → chunk-RSS5QMSG.js} +2 -2
- package/__chunks__/{chunk-BOTYGAX2.js → chunk-RUHCRI3J.js} +2 -2
- package/__chunks__/{chunk-JN4X6QCT.js → chunk-RUKWPAV5.js} +2 -2
- package/__chunks__/{chunk-R54WJX7Q.js → chunk-RYLWXDF3.js} +2 -2
- package/__chunks__/{chunk-WUKH5HLL.js → chunk-S3GSO657.js} +2 -2
- package/__chunks__/{chunk-YUFTVV2H.js → chunk-S4PQUBHR.js} +2 -2
- package/__chunks__/{chunk-ZKOWOXAQ.js → chunk-S5LOOIBU.js} +2 -2
- package/__chunks__/chunk-S7JXM4IQ.js +2 -0
- package/__chunks__/{chunk-EZP4DAXA.js → chunk-SBM5GGVT.js} +2 -2
- package/__chunks__/{chunk-I4ESH2AI.js → chunk-SCEWAVPS.js} +2 -2
- package/__chunks__/{chunk-KNAS7VNV.js → chunk-SI6KZT6Z.js} +2 -2
- package/__chunks__/chunk-SOKDCDVQ.js +2 -0
- package/__chunks__/chunk-SSU7LQ75.js +2 -0
- package/__chunks__/chunk-SVTFFUPI.js +2 -0
- package/__chunks__/{chunk-366BFEAQ.js → chunk-SW63E4XF.js} +2 -2
- package/__chunks__/{chunk-E5O47KXV.js → chunk-SYKBZAK4.js} +2 -2
- package/__chunks__/chunk-T5QULXFT.js +2 -0
- package/__chunks__/{chunk-DNEZKZYF.js → chunk-T6QWXWTA.js} +2 -2
- package/__chunks__/{chunk-Z5T3PMJE.js → chunk-TDQPGZCU.js} +2 -2
- package/__chunks__/{chunk-4F4ULUEW.js → chunk-TFUQIJSW.js} +2 -2
- package/__chunks__/{chunk-PXO2J644.js → chunk-THJQY7LP.js} +2 -2
- package/__chunks__/chunk-TPTVXCBM.js +2 -0
- package/__chunks__/{chunk-7G45MSVR.js → chunk-TPWHSHYF.js} +2 -2
- package/__chunks__/{chunk-MFPKPOZT.js → chunk-TQ6QT3CV.js} +2 -2
- package/__chunks__/chunk-TQKWYQTH.js +2 -0
- package/__chunks__/{chunk-MX3ROSNA.js → chunk-TQMYGMJN.js} +2 -2
- package/__chunks__/{chunk-P63VQOHF.js → chunk-TWF7LLNO.js} +2 -2
- package/__chunks__/chunk-TXIATRKL.js +2 -0
- package/__chunks__/{chunk-CMGGVTKB.js → chunk-TY6FMLO7.js} +2 -2
- package/__chunks__/{chunk-4YP6ER5C.js → chunk-UD77MOQO.js} +2 -2
- package/__chunks__/{chunk-JKKAJ4MH.js → chunk-UIQ6LSH7.js} +2 -2
- package/__chunks__/{chunk-XP6N4TB2.js → chunk-ULH46A2C.js} +2 -2
- package/__chunks__/{chunk-ZC5N5NQ2.js → chunk-UMRELM7U.js} +2 -2
- package/__chunks__/{chunk-XRNT76UY.js → chunk-UQVUMEKB.js} +2 -2
- package/__chunks__/{chunk-SD2ZJL4Z.js → chunk-UVNNIJQM.js} +2 -2
- package/__chunks__/{chunk-6QMORR5K.js → chunk-V3KBU724.js} +2 -2
- package/__chunks__/{chunk-CDJPQRSF.js → chunk-V74FQV7G.js} +2 -2
- package/__chunks__/{chunk-PTP4ZK4E.js → chunk-V7FF6W7W.js} +2 -2
- package/__chunks__/chunk-VA4VLSZI.js +2 -0
- package/__chunks__/{chunk-ZIIQ5MFR.js → chunk-VCAGTDM5.js} +2 -2
- package/__chunks__/{chunk-KZ5L5NV5.js → chunk-VDOK2XCW.js} +2 -2
- package/__chunks__/{chunk-SL6BQO6U.js → chunk-VDQ6Y4OL.js} +2 -2
- package/__chunks__/chunk-VGKYKXQB.js +2 -0
- package/__chunks__/{chunk-SOM3C6KB.js → chunk-VHCCDSRK.js} +2 -2
- package/__chunks__/{chunk-VLCJAOJZ.js → chunk-VHWU4HAI.js} +2 -2
- package/__chunks__/{chunk-SS4FJ5PL.js → chunk-VK5UZVMC.js} +2 -2
- package/__chunks__/{chunk-QWDXQ3EZ.js → chunk-VKCOXQGP.js} +2 -2
- package/__chunks__/{chunk-GR7XHWC7.js → chunk-VNBEES2K.js} +2 -2
- package/__chunks__/{chunk-TLR5RFIN.js → chunk-VVMCY4ZQ.js} +2 -2
- package/__chunks__/{chunk-FYDI5I4M.js → chunk-VZD2OAVQ.js} +2 -2
- package/__chunks__/{chunk-2LILI4WL.js → chunk-W2JAHF5E.js} +2 -2
- package/__chunks__/chunk-W4DKUYK4.js +2 -0
- package/__chunks__/chunk-W5BDR4MJ.js +2 -0
- package/__chunks__/{chunk-NKKIJCQE.js → chunk-WAJFNNWI.js} +2 -2
- package/__chunks__/{chunk-KBWCG46F.js → chunk-WCAGWATQ.js} +2 -2
- package/__chunks__/{chunk-DOB2VWUN.js → chunk-WDESVFYS.js} +2 -2
- package/__chunks__/{chunk-JUNOVW6Y.js → chunk-WI3J4ZLS.js} +2 -2
- package/__chunks__/{chunk-WLBFOLRM.js → chunk-WJ6U5ICO.js} +2 -2
- package/__chunks__/{chunk-HV5N6FIR.js → chunk-WJWXV2SS.js} +2 -2
- package/__chunks__/{chunk-ZYFEH2PC.js → chunk-WLWZKCS2.js} +2 -2
- package/__chunks__/{chunk-XB3JKHGC.js → chunk-WOYSC7TW.js} +2 -2
- package/__chunks__/{chunk-KAGCFYLJ.js → chunk-WPLVRP4T.js} +2 -2
- package/__chunks__/{chunk-5PD4V7PN.js → chunk-WQGESRXP.js} +2 -2
- package/__chunks__/{chunk-K6D6CCIL.js → chunk-WQOSFEA5.js} +2 -2
- package/__chunks__/{chunk-UJIL6NPK.js → chunk-WSPLEEDF.js} +2 -2
- package/__chunks__/chunk-WTS4XZXU.js +2 -0
- package/__chunks__/{chunk-G6OWQ4GF.js → chunk-WYMEJDWE.js} +2 -2
- package/__chunks__/{chunk-GISBTWRR.js → chunk-WZGQ3WJA.js} +2 -2
- package/__chunks__/{chunk-IOEM2OZK.js → chunk-X6JF6LLX.js} +2 -2
- package/__chunks__/{chunk-DNPORMYG.js → chunk-X74BWI6J.js} +2 -2
- package/__chunks__/chunk-XK47X6QI.js +2 -0
- package/__chunks__/{chunk-DJMFNRIK.js → chunk-XKTWOOJ5.js} +2 -2
- package/__chunks__/{chunk-57LO2NIO.js → chunk-XSUYLYIB.js} +2 -2
- package/__chunks__/{chunk-X7YCL332.js → chunk-XUD3HGD3.js} +2 -2
- package/__chunks__/{chunk-XEGOSC3M.js → chunk-XVBZAHE6.js} +2 -2
- package/__chunks__/{chunk-E2S6CATO.js → chunk-XXEKL2DH.js} +2 -2
- package/__chunks__/{chunk-CRHEOOZD.js → chunk-Y35IRBFJ.js} +2 -2
- package/__chunks__/{chunk-IQ4ZNGVQ.js → chunk-Y443WR2P.js} +2 -2
- package/__chunks__/{chunk-NCJMLUYQ.js → chunk-Y7K6U7RL.js} +2 -2
- package/__chunks__/chunk-YDINZ72C.js +2 -0
- package/__chunks__/{chunk-BCDVSSQ6.js → chunk-YGCKNH5E.js} +2 -2
- package/__chunks__/{chunk-OUSIKRNJ.js → chunk-YMMFPBKR.js} +2 -2
- package/__chunks__/{chunk-ACV6ZBKI.js → chunk-YRZRHMBY.js} +2 -2
- package/__chunks__/{chunk-IGORY6G3.js → chunk-YYBSA2IS.js} +2 -2
- package/__chunks__/{chunk-2GRCIZYF.js → chunk-YZYBMXLD.js} +2 -2
- package/__chunks__/chunk-Z2FOGQXQ.js +2 -0
- package/__chunks__/{chunk-6UMOENOE.js → chunk-Z3WGQIRQ.js} +2 -2
- package/__chunks__/{chunk-YDLPR32M.js → chunk-Z5UAJISV.js} +2 -2
- package/__chunks__/chunk-ZA4AXCRU.js +2 -0
- package/__chunks__/chunk-ZD4N2Y4Y.js +2 -0
- package/__chunks__/{chunk-2KGXFHHC.js → chunk-ZF5JN26G.js} +2 -2
- package/__chunks__/chunk-ZFTKBHKQ.js +2 -0
- package/__chunks__/chunk-ZGMSULLK.js +2 -0
- package/__chunks__/{chunk-2AQTAXV7.js → chunk-ZI7MNIRO.js} +2 -2
- package/__chunks__/{chunk-TWS6ONFZ.js → chunk-ZLKKGZC6.js} +2 -2
- package/__chunks__/{chunk-OP3ST6P3.js → chunk-ZM73TWIN.js} +2 -2
- package/__chunks__/{chunk-AO4C3VYM.js → chunk-ZMM64XFP.js} +2 -2
- package/__chunks__/{chunk-N7MH2TQM.js → chunk-ZOKTZX4J.js} +2 -2
- package/__chunks__/{chunk-YGQ6MAF7.js → chunk-ZRE4EBGO.js} +2 -2
- package/__chunks__/chunk-ZSGIG23Q.js +2 -0
- package/__chunks__/chunk-ZSIT433N.js +2 -0
- package/__chunks__/{chunk-ZHHX65UY.js → chunk-ZSPWULMC.js} +2 -2
- package/__chunks__/chunk-ZYQJI6VW.js +2 -0
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithIframeModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +24 -24
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +24 -24
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionData/TransactionData.js +2 -2
- package/__commonjs/UI/TransactionData/components/TransactionDataDecode.js +2 -2
- package/__commonjs/UI/TransactionData/components/index.js +2 -2
- package/__commonjs/UI/TransactionData/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/index.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/__commonjs/UI/index.js +11 -11
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
- package/__commonjs/UI/walletConnect/index.js +4 -4
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +2 -2
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +2 -2
- package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/types/network.types.d.ts +2 -0
- package/__commonjs/types/network.types.js +1 -1
- package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/index.js +5 -5
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/__commonjs/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +2 -2
- package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
- package/__commonjs/wrappers/DappProvider/index.js +2 -2
- package/__commonjs/wrappers/index.js +2 -2
- 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/accounts/useGetAccountFromApi.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/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/tokens/getPersistedToken.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.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/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.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/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/helpers/clearInitiatedLogins.js +1 -1
- package/hooks/login/helpers/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.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/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.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/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.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/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.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 +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.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/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.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/networkConfigSlice.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/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.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/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/network.types.d.ts +2 -0
- package/types/network.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/getWebviewToken.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/calculateFeeInFiat.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/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/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/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.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/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.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/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.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/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-27FH5G67.js +0 -2
- package/__chunks__/chunk-3QTOYBJL.js +0 -2
- package/__chunks__/chunk-3WJH7V52.js +0 -2
- package/__chunks__/chunk-3WOM6G5J.js +0 -2
- package/__chunks__/chunk-42M6IY4Z.js +0 -2
- package/__chunks__/chunk-4YSNFMZJ.js +0 -2
- package/__chunks__/chunk-6DPQGCTQ.js +0 -2
- package/__chunks__/chunk-6M47QO6V.js +0 -2
- package/__chunks__/chunk-6NVQH3XS.js +0 -2
- package/__chunks__/chunk-6P3IJTZK.js +0 -2
- package/__chunks__/chunk-6W7DVGIL.js +0 -2
- package/__chunks__/chunk-76MRIOQK.js +0 -2
- package/__chunks__/chunk-7A55YIB6.js +0 -2
- package/__chunks__/chunk-7FJ2PHIP.js +0 -2
- package/__chunks__/chunk-AEUBW6XP.js +0 -2
- package/__chunks__/chunk-AHGZNBYH.js +0 -2
- package/__chunks__/chunk-BG5F4VLD.js +0 -2
- package/__chunks__/chunk-BMV2L5DM.js +0 -2
- package/__chunks__/chunk-BQKEUDXY.js +0 -2
- package/__chunks__/chunk-BTFGUXUS.js +0 -2
- package/__chunks__/chunk-BWGNDVVC.js +0 -2
- package/__chunks__/chunk-CE4M7AXK.js +0 -2
- package/__chunks__/chunk-CL6IW7IS.js +0 -2
- package/__chunks__/chunk-DCGMBO5Q.js +0 -2
- package/__chunks__/chunk-DP3KRPAW.js +0 -2
- package/__chunks__/chunk-E4VQH6BK.js +0 -2
- package/__chunks__/chunk-EMIZYMPZ.js +0 -2
- package/__chunks__/chunk-EWRLMXDS.js +0 -2
- package/__chunks__/chunk-GE6AWBV7.js +0 -2
- package/__chunks__/chunk-GO3KTKAY.js +0 -2
- package/__chunks__/chunk-H6V3642M.js +0 -2
- package/__chunks__/chunk-HCRNWCPS.js +0 -2
- package/__chunks__/chunk-HGBHLYSY.js +0 -2
- package/__chunks__/chunk-HK3IGHZP.js +0 -2
- package/__chunks__/chunk-IXUNCHI4.js +0 -2
- package/__chunks__/chunk-JOLQVYZM.js +0 -2
- package/__chunks__/chunk-JPHGRIUG.js +0 -2
- package/__chunks__/chunk-JV2YMLWW.js +0 -2
- package/__chunks__/chunk-JW36RK53.js +0 -2
- package/__chunks__/chunk-KB6C5NNL.js +0 -2
- package/__chunks__/chunk-L43ZE6DO.js +0 -2
- package/__chunks__/chunk-L6F4CXJI.js +0 -2
- package/__chunks__/chunk-M3KZ5ZCM.js +0 -2
- package/__chunks__/chunk-MOINY2V5.js +0 -2
- package/__chunks__/chunk-MQYKLTUO.js +0 -2
- package/__chunks__/chunk-N5OGU3OY.js +0 -2
- package/__chunks__/chunk-NJPCK4MP.js +0 -2
- package/__chunks__/chunk-NTXXBNQ3.js +0 -2
- package/__chunks__/chunk-OBXVMKUP.js +0 -2
- package/__chunks__/chunk-ONKEMUBS.js +0 -2
- package/__chunks__/chunk-PVCQBXC5.js +0 -2
- package/__chunks__/chunk-PYOBFWGE.js +0 -2
- package/__chunks__/chunk-QSQMERZY.js +0 -2
- package/__chunks__/chunk-R7FMYSFZ.js +0 -2
- package/__chunks__/chunk-REVI6QV5.js +0 -2
- package/__chunks__/chunk-RPRH53SN.js +0 -2
- package/__chunks__/chunk-S6WU7FIP.js +0 -2
- package/__chunks__/chunk-SHX5DLRE.js +0 -2
- package/__chunks__/chunk-SYEARPKN.js +0 -2
- package/__chunks__/chunk-SYYNFXUN.js +0 -2
- package/__chunks__/chunk-UREH36PU.js +0 -2
- package/__chunks__/chunk-UXLAYBPI.js +0 -2
- package/__chunks__/chunk-VF2ER254.js +0 -2
- package/__chunks__/chunk-VKSVMOTZ.js +0 -2
- package/__chunks__/chunk-VVYCLY74.js +0 -2
- package/__chunks__/chunk-X4IJUWVA.js +0 -2
- package/__chunks__/chunk-XCL6JUJD.js +0 -2
- package/__chunks__/chunk-XNL2TWXZ.js +0 -2
- package/__chunks__/chunk-XSCEIJSP.js +0 -2
- package/__chunks__/chunk-XVIPFZ65.js +0 -2
- package/__chunks__/chunk-Y75XZXEI.js +0 -2
- package/__chunks__/chunk-YWRTTCYK.js +0 -2
- package/__chunks__/chunk-ZGV573YZ.js +0 -2
- package/__chunks__/chunk-ZT2MNNMR.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],k=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],k[he.charCodeAt(V)]=V;var V,Ge;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function Ve(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=k[t.charCodeAt(g)]<<18|k[t.charCodeAt(g+1)]<<12|k[t.charCodeAt(g+2)]<<6|k[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=k[t.charCodeAt(g)]<<2|k[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=k[t.charCodeAt(g)]<<10|k[t.charCodeAt(g+1)]<<4|k[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function C(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pt(t,e,r){return Ke(t),t<=0?C(t):e!==void 0?typeof r=="string"?C(t).fill(e,r):C(t).fill(e):C(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),C(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=C(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:Ae(t.length)|0,r=C(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=C(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ke(t.length)?C(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function Ae(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return kt(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)W(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)W(this,r,r+3),W(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ke(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(a*2,2),16);if(ke(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return At(n)}var je=4096;function At(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function kt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function It(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ke(t){return t!==t}var Dt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ct(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var F=[],K=!1,$,le=-1;function Ft(){!K||!$||(K=!1,$.length?F=$.concat(F):le=-1,F.length&&ir())}function ir(){if(!K){var t=nr(Ft);K=!0;for(var e=F.length;e;){for($=F,F=[];++le<e;)$&&$[le].run();le=-1,e=F.length}$=null,K=!1,Ct(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new or(t,e)),F.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,Kt,s=et(()=>{c=U(tr()),p=U(sr()),Kt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={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",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var A=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=A,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var Ar="identities";var kr="locked-accounts",Ir="logs",Sr="miniblocks";var Ce="nfts",Nr="nodes",Fe="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ce}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${Ar}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${kr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Ce}/${t}`,providerDetails:t=>`/${Fe}/${t}`,providerDetailsTransactions:t=>`/${Fe}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:A,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Cr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:A}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Fr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Fr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
|
|
2
|
-
Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),u=!e&&n.length>1?Cr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:
|
|
1
|
+
"use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function C(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pt(t,e,r){return Ke(t),t<=0?C(t):e!==void 0?typeof r=="string"?C(t).fill(e,r):C(t).fill(e):C(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),C(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=C(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=C(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=C(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?C(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)W(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)W(this,r,r+3),W(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Ae(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(a*2,2),16);if(Ae(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function It(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ae(t){return t!==t}var Dt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ct(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var F=[],K=!1,$,le=-1;function Ft(){!K||!$||(K=!1,$.length?F=$.concat(F):le=-1,F.length&&ir())}function ir(){if(!K){var t=nr(Ft);K=!0;for(var e=F.length;e;){for($=F,F=[];++le<e;)$&&$[le].run();le=-1,e=F.length}$=null,K=!1,Ct(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new or(t,e)),F.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,Kt,s=et(()=>{c=U(tr()),p=U(sr()),Kt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={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",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Ce="nfts",Nr="nodes",Fe="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ce}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Ce}/${t}`,providerDetails:t=>`/${Fe}/${t}`,providerDetailsTransactions:t=>`/${Fe}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Cr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Fr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Fr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
|
|
2
|
+
Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),u=!e&&n.length>1?Cr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:k,titleText:u}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
|
|
3
3
|
/*!
|
|
4
4
|
* The buffer module from node.js, for the browser.
|
|
5
5
|
*
|
package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],k=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],k[he.charCodeAt(V)]=V;var V,Ge;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function Ve(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,p=i>0?n-4:n,g;for(g=0;g<p;g+=4)e=k[t.charCodeAt(g)]<<18|k[t.charCodeAt(g+1)]<<12|k[t.charCodeAt(g+2)]<<6|k[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=k[t.charCodeAt(g)]<<2|k[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=k[t.charCodeAt(g)]<<10|k[t.charCodeAt(g+1)]<<4|k[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(lt(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,g=(1<<p)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=p;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,p,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(p=0,a=h):a+f>=1?(p=(e*g-1)*Math.pow(2,i),a=a+f):(p=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=p&255,T+=w,p/=256,i-=8);for(a=a<<i|p,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function C(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pt(t,e,r){return Ke(t),t<=0?C(t):e!==void 0?typeof r=="string"?C(t).fill(e,r):C(t).fill(e):C(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),C(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=C(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:Ae(t.length)|0,r=C(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=C(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ke(t.length)?C(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function Ae(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return kt(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)W(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)W(this,r,r+3),W(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,p=n-r,g=Math.min(a,p),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],p=h[f];break}return a<p?-1:p<a?1:0};function Ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ke(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,p=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,p/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===p)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+p>a&&(r=a-p),m=r;m>=0;m--){for(var f=!0,y=0;y<p;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(e.substr(a*2,2),16);if(ke(p))return a;t[r+a]=p}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var g,m,h,f;switch(p){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return At(n)}var je=4096;function At(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function kt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function It(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,p=1,g=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,p=1,g=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var p=l.isBuffer(e)?e:l.from(e,i),g=p.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ke(t){return t!==t}var Dt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ct(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var F=[],K=!1,$,le=-1;function Ft(){!K||!$||(K=!1,$.length?F=$.concat(F):le=-1,F.length&&ir())}function ir(){if(!K){var t=nr(Ft);K=!0;for(var e=F.length;e;){for($=F,F=[];++le<e;)$&&$[le].run();le=-1,e=F.length}$=null,K=!1,Ct(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new or(t,e)),F.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,u,Kt,s=et(()=>{c=U(tr()),u=U(sr()),Kt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={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",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var A=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(p=>p!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=A,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),p=t;return a&&(p=t.substring(1)),B(p).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",p,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var Ar="identities";var kr="locked-accounts",Ir="logs",Sr="miniblocks";var Ce="nfts",Nr="nodes",Fe="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ce}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${Ar}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${kr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Ce}/${t}`,providerDetails:t=>`/${Fe}/${t}`,providerDetailsTransactions:t=>`/${Fe}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let p=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:p,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var p;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(p=t.decimals)!=null?p:A,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Cr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:p}=me({token:n}),g=p.collection?p.identifier:p.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:A}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Fr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Fr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
|
|
2
|
-
Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),p=!e&&n.length>1?Cr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:p}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:
|
|
1
|
+
"use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,p=i>0?n-4:n,g;for(g=0;g<p;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(lt(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,g=(1<<p)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=p;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,p,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(p=0,a=h):a+f>=1?(p=(e*g-1)*Math.pow(2,i),a=a+f):(p=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=p&255,T+=w,p/=256,i-=8);for(a=a<<i|p,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function C(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pt(t,e,r){return Ke(t),t<=0?C(t):e!==void 0?typeof r=="string"?C(t).fill(e,r):C(t).fill(e):C(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),C(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=C(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=C(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=C(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?C(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)W(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)W(this,r,r+3),W(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,p=n-r,g=Math.min(a,p),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],p=h[f];break}return a<p?-1:p<a?1:0};function Ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Ae(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,p=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,p/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===p)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+p>a&&(r=a-p),m=r;m>=0;m--){for(var f=!0,y=0;y<p;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(e.substr(a*2,2),16);if(Ae(p))return a;t[r+a]=p}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var g,m,h,f;switch(p){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function It(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,p=1,g=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,p=1,g=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var p=l.isBuffer(e)?e:l.from(e,i),g=p.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ae(t){return t!==t}var Dt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ct(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var F=[],K=!1,$,le=-1;function Ft(){!K||!$||(K=!1,$.length?F=$.concat(F):le=-1,F.length&&ir())}function ir(){if(!K){var t=nr(Ft);K=!0;for(var e=F.length;e;){for($=F,F=[];++le<e;)$&&$[le].run();le=-1,e=F.length}$=null,K=!1,Ct(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new or(t,e)),F.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,u,Kt,s=et(()=>{c=U(tr()),u=U(sr()),Kt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={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",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(p=>p!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),p=t;return a&&(p=t.substring(1)),B(p).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",p,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Ce="nfts",Nr="nodes",Fe="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ce}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Ce}/${t}`,providerDetails:t=>`/${Fe}/${t}`,providerDetailsTransactions:t=>`/${Fe}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let p=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:p,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var p;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(p=t.decimals)!=null?p:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Cr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:p}=me({token:n}),g=p.collection?p.identifier:p.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Fr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Fr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
|
|
2
|
+
Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),p=!e&&n.length>1?Cr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:p}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:k,titleText:p}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
|
|
3
3
|
/*!
|
|
4
4
|
* The buffer module from node.js, for the browser.
|
|
5
5
|
*
|