@multiversx/sdk-dapp 2.40.5 → 2.40.7
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/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/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/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/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/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/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/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/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/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/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.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/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/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-GTTQMZBT.js → chunk-256ELXUN.js} +2 -2
- package/__chunks__/{chunk-JCNAOAHB.js → chunk-2I2CD3JW.js} +2 -2
- package/__chunks__/chunk-2O3XAXVP.js +2 -0
- package/__chunks__/chunk-2P4QW6L2.js +2 -0
- package/__chunks__/{chunk-D6AWNAHC.js → chunk-2RBMIVLO.js} +2 -2
- package/__chunks__/{chunk-ORD45C6B.js → chunk-2SUDHD3F.js} +2 -2
- package/__chunks__/{chunk-42XO3XDT.js → chunk-2ULLNCOZ.js} +2 -2
- package/__chunks__/{chunk-W3CUABJ2.js → chunk-2YGGTKCM.js} +2 -2
- package/__chunks__/{chunk-H7A3B56E.js → chunk-33C5OTPC.js} +2 -2
- package/__chunks__/{chunk-PMIUKWDC.js → chunk-3CI3JNO2.js} +2 -2
- package/__chunks__/{chunk-6BE7QH2R.js → chunk-3IUCDOHS.js} +2 -2
- package/__chunks__/{chunk-WJBFGFNP.js → chunk-3KBUXJNU.js} +2 -2
- package/__chunks__/{chunk-7H6ICC2C.js → chunk-3QMF6PSW.js} +2 -2
- package/__chunks__/{chunk-TAXES22D.js → chunk-3SLF3S4V.js} +2 -2
- package/__chunks__/{chunk-H2JJPQCB.js → chunk-3SV3CIMC.js} +2 -2
- package/__chunks__/{chunk-ZI7DR2J3.js → chunk-3W6UEGJU.js} +2 -2
- package/__chunks__/{chunk-GHJFKD4B.js → chunk-4EUNTSNN.js} +2 -2
- package/__chunks__/{chunk-GMGOHWFR.js → chunk-4FZRLMXO.js} +2 -2
- package/__chunks__/{chunk-EDCV2TZQ.js → chunk-4K3BTVR7.js} +2 -2
- package/__chunks__/{chunk-ONKEXPNQ.js → chunk-4MVNCUTP.js} +2 -2
- package/__chunks__/{chunk-H3FGN72B.js → chunk-4OYQINH3.js} +2 -2
- package/__chunks__/{chunk-TPTVNJLE.js → chunk-4PPUW3MU.js} +2 -2
- package/__chunks__/{chunk-KDPBQM7D.js → chunk-4SECHEFP.js} +2 -2
- package/__chunks__/{chunk-CKA5JFH5.js → chunk-4WBOQ2JX.js} +2 -2
- package/__chunks__/{chunk-JJFHJEWJ.js → chunk-5BARWVI6.js} +2 -2
- package/__chunks__/{chunk-R65FEYIW.js → chunk-5BLO5LC4.js} +2 -2
- package/__chunks__/{chunk-DRUENIF6.js → chunk-5DNMHYUQ.js} +2 -2
- package/__chunks__/{chunk-Z7OIXQYX.js → chunk-5I4EOIWP.js} +2 -2
- package/__chunks__/{chunk-OW5RAG33.js → chunk-5LLZAO75.js} +2 -2
- package/__chunks__/{chunk-I335IWQB.js → chunk-5P2LHLTD.js} +2 -2
- package/__chunks__/{chunk-EQUQ7BRA.js → chunk-5UF3KVGT.js} +2 -2
- package/__chunks__/{chunk-OHGSFOQA.js → chunk-647EPCPB.js} +2 -2
- package/__chunks__/chunk-64Y5SFL2.js +2 -0
- package/__chunks__/{chunk-UDOUGPVZ.js → chunk-6AQMPEBH.js} +2 -2
- package/__chunks__/{chunk-KBNEFBJT.js → chunk-6DKTUH4L.js} +2 -2
- package/__chunks__/chunk-6NNKJDPQ.js +2 -0
- package/__chunks__/chunk-6Q6SKGP3.js +2 -0
- package/__chunks__/{chunk-FHGKTS7E.js → chunk-73TAL55E.js} +2 -2
- package/__chunks__/{chunk-X6EAVIFT.js → chunk-7AAFEBYY.js} +2 -2
- package/__chunks__/{chunk-H46BD7WR.js → chunk-7BQ6JQGO.js} +2 -2
- package/__chunks__/{chunk-AQOBNZAQ.js → chunk-7EXVTLNQ.js} +2 -2
- package/__chunks__/{chunk-47CMJ2FZ.js → chunk-7EZMJ5IL.js} +2 -2
- package/__chunks__/{chunk-XL76YPAY.js → chunk-7F35K7XA.js} +2 -2
- package/__chunks__/chunk-7FYDX26G.js +2 -0
- package/__chunks__/chunk-7OWGSABI.js +2 -0
- package/__chunks__/{chunk-UHD67VUL.js → chunk-7SDB5EVR.js} +2 -2
- package/__chunks__/{chunk-2732T4DP.js → chunk-A6BXACIU.js} +2 -2
- package/__chunks__/{chunk-4BRT3VKO.js → chunk-AB6NSEZO.js} +2 -2
- package/__chunks__/{chunk-PJO4K5FT.js → chunk-ACGSNTB5.js} +2 -2
- package/__chunks__/chunk-AGCR3BWU.js +2 -0
- package/__chunks__/{chunk-UBRZRH5O.js → chunk-AIQD2X3F.js} +2 -2
- package/__chunks__/chunk-APNJKWK3.js +2 -0
- package/__chunks__/{chunk-CSLJELG7.js → chunk-AWBKIM76.js} +2 -2
- package/__chunks__/{chunk-LPK2XK3Z.js → chunk-B2EHHHHT.js} +2 -2
- package/__chunks__/{chunk-XCL2DJCN.js → chunk-B4MDUUC4.js} +2 -2
- package/__chunks__/{chunk-RQAMPTFS.js → chunk-B7UOTI2W.js} +2 -2
- package/__chunks__/{chunk-RWYXEBL2.js → chunk-BIJJEFX4.js} +2 -2
- package/__chunks__/{chunk-WCZX3I5K.js → chunk-BLKMOBM3.js} +2 -2
- package/__chunks__/{chunk-ACSMK7V6.js → chunk-BVBFUEXJ.js} +2 -2
- package/__chunks__/{chunk-6YGA42WQ.js → chunk-BWOFE7ED.js} +2 -2
- package/__chunks__/{chunk-REDUKIAW.js → chunk-BYU6XDUR.js} +2 -2
- package/__chunks__/{chunk-4VU2EPIT.js → chunk-C6L3K6EE.js} +2 -2
- package/__chunks__/{chunk-WFENM6WT.js → chunk-C7PAJLAT.js} +2 -2
- package/__chunks__/{chunk-5RR2E2Q4.js → chunk-CKL6I5PT.js} +2 -2
- package/__chunks__/{chunk-WPADQQNW.js → chunk-CL4H4IVM.js} +2 -2
- package/__chunks__/{chunk-4NXJHGDL.js → chunk-CSXA4TQQ.js} +2 -2
- package/__chunks__/{chunk-2MHBQF2A.js → chunk-CTMSGWKY.js} +2 -2
- package/__chunks__/{chunk-BG4AMJGX.js → chunk-CWSFAAKZ.js} +2 -2
- package/__chunks__/chunk-CZN2PADO.js +2 -0
- package/__chunks__/{chunk-MKGT6MMC.js → chunk-DCTZVFXY.js} +2 -2
- package/__chunks__/{chunk-ACW7VGCL.js → chunk-DGYISS44.js} +2 -2
- package/__chunks__/{chunk-PRAJF6BO.js → chunk-DLU7MRBR.js} +2 -2
- package/__chunks__/{chunk-MW7OPBWJ.js → chunk-E2N4A72V.js} +2 -2
- package/__chunks__/{chunk-VFAGY6CY.js → chunk-E3OXSBXP.js} +2 -2
- package/__chunks__/{chunk-WECAQCJD.js → chunk-EF6O73FT.js} +2 -2
- package/__chunks__/{chunk-OGU4J5WX.js → chunk-EOHDGODE.js} +2 -2
- package/__chunks__/{chunk-CLU7FG6U.js → chunk-EXGP7MBK.js} +2 -2
- package/__chunks__/{chunk-J24B4EEC.js → chunk-EYXOIZHH.js} +2 -2
- package/__chunks__/{chunk-Y4W5CUVC.js → chunk-F4MIIKBO.js} +2 -2
- package/__chunks__/{chunk-Z4FB6ODT.js → chunk-FFELGPPN.js} +2 -2
- package/__chunks__/{chunk-74WZECDO.js → chunk-FHSUBK37.js} +2 -2
- package/__chunks__/chunk-FKO7ZBQK.js +2 -0
- package/__chunks__/{chunk-6WVSBV6U.js → chunk-FOTWB46L.js} +2 -2
- package/__chunks__/{chunk-NW4OM7A4.js → chunk-FPCNDKKN.js} +2 -2
- package/__chunks__/{chunk-AUA3WRKV.js → chunk-FT7ZBDDX.js} +2 -2
- package/__chunks__/{chunk-QSQB3KPF.js → chunk-FWBFJPYW.js} +2 -2
- package/__chunks__/{chunk-3ZB5INPG.js → chunk-G4P4EJFU.js} +2 -2
- package/__chunks__/{chunk-ESO4IBXM.js → chunk-G5EIEPV2.js} +2 -2
- package/__chunks__/chunk-GIWNPTO6.js +2 -0
- package/__chunks__/{chunk-XR6WKP5A.js → chunk-GLOK5WOD.js} +2 -2
- package/__chunks__/{chunk-QYUJ2XSZ.js → chunk-GQGPKKCC.js} +2 -2
- package/__chunks__/{chunk-XUWF3Y7T.js → chunk-GTMNF6CO.js} +2 -2
- package/__chunks__/{chunk-CFX3WU4C.js → chunk-GVJDKDHX.js} +2 -2
- package/__chunks__/{chunk-67O3JK6B.js → chunk-GXVRKXVI.js} +2 -2
- package/__chunks__/{chunk-TZU2AHJQ.js → chunk-HCQ7FAID.js} +2 -2
- package/__chunks__/{chunk-L6SNPAEU.js → chunk-HPKAJG6T.js} +2 -2
- package/__chunks__/{chunk-QGA6ODTA.js → chunk-HQVZMIEO.js} +2 -2
- package/__chunks__/{chunk-DHDUT3G3.js → chunk-HWG4JVJI.js} +2 -2
- package/__chunks__/{chunk-QIYMIFHX.js → chunk-HX3R3AAV.js} +2 -2
- package/__chunks__/{chunk-7L57DIXF.js → chunk-I3C542XR.js} +2 -2
- package/__chunks__/{chunk-YWPKM4DH.js → chunk-IDL7ZJZU.js} +2 -2
- package/__chunks__/{chunk-KGIQNRTR.js → chunk-IDRELJ3S.js} +2 -2
- package/__chunks__/{chunk-Q3K6CQUI.js → chunk-IOY2Q7PE.js} +2 -2
- package/__chunks__/{chunk-U7ZNOVTM.js → chunk-IQYXZFFP.js} +2 -2
- package/__chunks__/{chunk-MGUF7U3E.js → chunk-IXJMOCYK.js} +2 -2
- package/__chunks__/{chunk-FS3TVPEX.js → chunk-J53IRRIS.js} +2 -2
- package/__chunks__/{chunk-KWNNXZRA.js → chunk-JAGDPU4B.js} +2 -2
- package/__chunks__/{chunk-T4J5TTGX.js → chunk-JAZLAI24.js} +2 -2
- package/__chunks__/{chunk-7WIEB6PO.js → chunk-JBVJWBTS.js} +2 -2
- package/__chunks__/{chunk-EHNHHJRF.js → chunk-JCBDAJYT.js} +2 -2
- package/__chunks__/{chunk-QAIBUAMW.js → chunk-JQOEARYD.js} +2 -2
- package/__chunks__/{chunk-ITVS5RYQ.js → chunk-JSJMO42V.js} +2 -2
- package/__chunks__/{chunk-HHXJC4G2.js → chunk-JSZ53WUI.js} +2 -2
- package/__chunks__/{chunk-JJXFIDJV.js → chunk-JWDEMVRQ.js} +2 -2
- package/__chunks__/{chunk-WA5BOWGU.js → chunk-JXF2JB3C.js} +2 -2
- package/__chunks__/{chunk-4STW42B2.js → chunk-KC5YD7BH.js} +2 -2
- package/__chunks__/{chunk-TRZ3QVRF.js → chunk-KF6JN34Y.js} +2 -2
- package/__chunks__/{chunk-BXAOBLS6.js → chunk-KIH63IPZ.js} +2 -2
- package/__chunks__/{chunk-TIF3XCLE.js → chunk-KIQNKTYD.js} +2 -2
- package/__chunks__/chunk-KS4SI3EJ.js +2 -0
- package/__chunks__/{chunk-2B2F5FAB.js → chunk-KUNVZQD4.js} +2 -2
- package/__chunks__/{chunk-IV2G2DQ7.js → chunk-KWY63ZV6.js} +2 -2
- package/__chunks__/chunk-KXQRDG5F.js +2 -0
- package/__chunks__/{chunk-MGXEC7PT.js → chunk-L3H7CU2R.js} +2 -2
- package/__chunks__/{chunk-UQDJEUTM.js → chunk-LCPV5GQG.js} +2 -2
- package/__chunks__/{chunk-NNLLAEDW.js → chunk-LFN65XGW.js} +2 -2
- package/__chunks__/{chunk-P7KS6ZGK.js → chunk-LGCFDGVP.js} +2 -2
- package/__chunks__/{chunk-C2DIQAR5.js → chunk-LLV2VJ5L.js} +2 -2
- package/__chunks__/{chunk-PYOAZZLY.js → chunk-LR6MY64W.js} +2 -2
- package/__chunks__/{chunk-UYCTCFY6.js → chunk-LSO7R2OQ.js} +2 -2
- package/__chunks__/{chunk-CKXOZQKO.js → chunk-M3H563MI.js} +2 -2
- package/__chunks__/{chunk-AFWXURLX.js → chunk-MEJLQRVP.js} +2 -2
- package/__chunks__/{chunk-3CXZOGXV.js → chunk-MHLVWX64.js} +2 -2
- package/__chunks__/{chunk-7LOO3ROQ.js → chunk-MTP44NBW.js} +2 -2
- package/__chunks__/{chunk-YUTL3ZNS.js → chunk-NERNXPH2.js} +2 -2
- package/__chunks__/{chunk-ISHTCWDR.js → chunk-NFZ7JO2Z.js} +2 -2
- package/__chunks__/{chunk-OAMC6DAX.js → chunk-NH6FT3IZ.js} +2 -2
- package/__chunks__/{chunk-O2JJ7TX2.js → chunk-NNOOMFID.js} +2 -2
- package/__chunks__/{chunk-DNHNKFHJ.js → chunk-NUUCOV6X.js} +2 -2
- package/__chunks__/{chunk-JLBHATQM.js → chunk-NW5ZGNQV.js} +2 -2
- package/__chunks__/{chunk-V3VNZ3LF.js → chunk-NZQKUKIU.js} +2 -2
- package/__chunks__/{chunk-JIE5CDBM.js → chunk-NZVWRMBH.js} +2 -2
- package/__chunks__/{chunk-7JQ3JF2S.js → chunk-O27E4JG4.js} +2 -2
- package/__chunks__/{chunk-BIMZTWXB.js → chunk-O2EPXHIC.js} +2 -2
- package/__chunks__/{chunk-JLIP76TX.js → chunk-O3X2Z3NX.js} +2 -2
- package/__chunks__/{chunk-CYUQTFV4.js → chunk-O57K5BPD.js} +2 -2
- package/__chunks__/{chunk-WPS5WCAD.js → chunk-OA5NXEM5.js} +2 -2
- package/__chunks__/{chunk-K2GJDKLB.js → chunk-OCSDRIZL.js} +2 -2
- package/__chunks__/{chunk-VSDJBGTI.js → chunk-OFZL7QGE.js} +2 -2
- package/__chunks__/{chunk-EGXFICI6.js → chunk-OHAZISBB.js} +2 -2
- package/__chunks__/{chunk-ULY6I5G4.js → chunk-OHLUDCZP.js} +2 -2
- package/__chunks__/{chunk-E5WZG22Q.js → chunk-OJJW7N3Y.js} +2 -2
- package/__chunks__/{chunk-LHOGTSVM.js → chunk-OK5VPSYN.js} +2 -2
- package/__chunks__/{chunk-7WIVWVYG.js → chunk-OM4HIUZV.js} +2 -2
- package/__chunks__/{chunk-JTA3GVIR.js → chunk-OPYMG7J6.js} +2 -2
- package/__chunks__/{chunk-TT6I2JPD.js → chunk-OXT27KBX.js} +2 -2
- package/__chunks__/{chunk-XV5T3OGI.js → chunk-P2I2W66R.js} +2 -2
- package/__chunks__/{chunk-YY7YJV3Z.js → chunk-P2TS43BL.js} +2 -2
- package/__chunks__/{chunk-2MTCVCJY.js → chunk-P3WILR7P.js} +2 -2
- package/__chunks__/{chunk-Y4NWJTDF.js → chunk-P7OHWGVE.js} +2 -2
- package/__chunks__/{chunk-2BLD2S6Y.js → chunk-PCBKXJAS.js} +2 -2
- package/__chunks__/{chunk-LBMDUUX2.js → chunk-PEE6QS7F.js} +2 -2
- package/__chunks__/{chunk-VBHFVCAT.js → chunk-PEHJVSQJ.js} +2 -2
- package/__chunks__/{chunk-EFYPXCHD.js → chunk-PJAESNTN.js} +2 -2
- package/__chunks__/chunk-PVDQFAJH.js +2 -0
- package/__chunks__/{chunk-4I2R2YBI.js → chunk-PZIEUX5I.js} +2 -2
- package/__chunks__/{chunk-5JAHGJZ3.js → chunk-Q4CSBUGG.js} +2 -2
- package/__chunks__/{chunk-2QJMUXY5.js → chunk-Q4MYQMLU.js} +2 -2
- package/__chunks__/{chunk-BN5LCWRP.js → chunk-Q5GRUOBA.js} +2 -2
- package/__chunks__/{chunk-AZ7PQ7BZ.js → chunk-Q6RIPAYC.js} +2 -2
- package/__chunks__/{chunk-ZZGKPNPK.js → chunk-QBKC3L3M.js} +2 -2
- package/__chunks__/{chunk-B5FEJ4M2.js → chunk-QIG55ESS.js} +2 -2
- package/__chunks__/{chunk-2QH46LHC.js → chunk-QJKWCOAE.js} +2 -2
- package/__chunks__/{chunk-GWWXW44U.js → chunk-QLTKW7UX.js} +2 -2
- package/__chunks__/{chunk-QBXIIWYO.js → chunk-RFBKEGBF.js} +2 -2
- package/__chunks__/{chunk-37HZU2NS.js → chunk-RI25J73C.js} +2 -2
- package/__chunks__/{chunk-HTIHDRK6.js → chunk-S2PFP7G2.js} +2 -2
- package/__chunks__/{chunk-OOXMCSWF.js → chunk-S5NJJAPQ.js} +2 -2
- package/__chunks__/{chunk-YO5YBMN5.js → chunk-S77UNI5R.js} +2 -2
- package/__chunks__/{chunk-Q4ULGJFI.js → chunk-SAVFWFK5.js} +2 -2
- package/__chunks__/{chunk-XKSXFTS2.js → chunk-SBQ57SK6.js} +2 -2
- package/__chunks__/{chunk-LW7ND3VE.js → chunk-SIC3HEYU.js} +2 -2
- package/__chunks__/{chunk-LICFOMVB.js → chunk-SK7YYO4P.js} +2 -2
- package/__chunks__/{chunk-VL7NMTCR.js → chunk-SWCKOXSX.js} +2 -2
- package/__chunks__/{chunk-GVJVBY3M.js → chunk-SY3UOM25.js} +2 -2
- package/__chunks__/{chunk-U6A2XQPV.js → chunk-SZCMNOHY.js} +2 -2
- package/__chunks__/{chunk-UOQBG7X3.js → chunk-TBIV2K6X.js} +2 -2
- package/__chunks__/{chunk-6OWJWBI5.js → chunk-TCHHIVWG.js} +2 -2
- package/__chunks__/{chunk-A4G62MA5.js → chunk-TEEBL6AK.js} +2 -2
- package/__chunks__/{chunk-Y7WN66J2.js → chunk-TH7LB4LY.js} +2 -2
- package/__chunks__/{chunk-NK7ZL2DT.js → chunk-THR6RXYS.js} +2 -2
- package/__chunks__/{chunk-VXRXUNEN.js → chunk-TL4XBKDU.js} +2 -2
- package/__chunks__/{chunk-CFF5LJLP.js → chunk-TMGLGASZ.js} +2 -2
- package/__chunks__/{chunk-T5WSVPXH.js → chunk-TNTBYP6K.js} +2 -2
- package/__chunks__/{chunk-JVP5G4OH.js → chunk-TRZUUKRO.js} +2 -2
- package/__chunks__/{chunk-3XKG2IZ7.js → chunk-TVESPVBL.js} +2 -2
- package/__chunks__/{chunk-GZU4XOBN.js → chunk-TZ7D3ABD.js} +2 -2
- package/__chunks__/{chunk-Y4JO6CBF.js → chunk-U3QQELXI.js} +2 -2
- package/__chunks__/{chunk-4XGVEFWE.js → chunk-U5QW2K3I.js} +2 -2
- package/__chunks__/{chunk-GCE7L2D3.js → chunk-U5UIO4UF.js} +2 -2
- package/__chunks__/{chunk-I7VLLM33.js → chunk-UICSKYIJ.js} +2 -2
- package/__chunks__/{chunk-YHTSP4GJ.js → chunk-ULECHZKW.js} +2 -2
- package/__chunks__/{chunk-B2JEMS3V.js → chunk-URAYO74E.js} +2 -2
- package/__chunks__/{chunk-7RCWI5DV.js → chunk-US4GXOAG.js} +2 -2
- package/__chunks__/{chunk-OEFBVOVP.js → chunk-UWKLKRGH.js} +2 -2
- package/__chunks__/{chunk-QJCZJ43W.js → chunk-V25ZKV7N.js} +2 -2
- package/__chunks__/{chunk-5V2VVYR4.js → chunk-VNJCCAFW.js} +2 -2
- package/__chunks__/{chunk-FBKUW7RX.js → chunk-VRP4T4FV.js} +2 -2
- package/__chunks__/chunk-VSE72FLZ.js +2 -0
- package/__chunks__/{chunk-4QMZL3QQ.js → chunk-VVNYKZD5.js} +2 -2
- package/__chunks__/{chunk-EI42VQCK.js → chunk-VZ72WJ2X.js} +2 -2
- package/__chunks__/{chunk-UYBXREWT.js → chunk-W6KBLENQ.js} +2 -2
- package/__chunks__/{chunk-MSXOQLN2.js → chunk-W7YIY5E7.js} +2 -2
- package/__chunks__/{chunk-LO3VURDM.js → chunk-WBKRKXLD.js} +2 -2
- package/__chunks__/{chunk-XEGV54WV.js → chunk-WCBZ6Z34.js} +2 -2
- package/__chunks__/{chunk-OPHZSLD4.js → chunk-WGEOYDAG.js} +2 -2
- package/__chunks__/{chunk-BWZPYI5B.js → chunk-WSRC4TQI.js} +2 -2
- package/__chunks__/{chunk-UH43PEYV.js → chunk-WTRR3D36.js} +2 -2
- package/__chunks__/{chunk-HXJ4HFX7.js → chunk-WW2ZOHAS.js} +2 -2
- package/__chunks__/chunk-WYDCYB2E.js +2 -0
- package/__chunks__/chunk-X3FCPAMI.js +2 -0
- package/__chunks__/chunk-X7WDIBT5.js +2 -0
- package/__chunks__/{chunk-JWOJVPSQ.js → chunk-XCGDGLK3.js} +2 -2
- package/__chunks__/{chunk-YHGHGEDP.js → chunk-XGACROB3.js} +2 -2
- package/__chunks__/{chunk-AGHBEBGH.js → chunk-XLJJNITC.js} +2 -2
- package/__chunks__/{chunk-CKTVDXZB.js → chunk-XPDTLVYA.js} +2 -2
- package/__chunks__/{chunk-IAAPCWKC.js → chunk-XQP76V2M.js} +2 -2
- package/__chunks__/{chunk-EQJ5TR37.js → chunk-XVF4IG3A.js} +2 -2
- package/__chunks__/{chunk-HLBUCVWT.js → chunk-XWPLCBYN.js} +2 -2
- package/__chunks__/{chunk-QHOAQEWT.js → chunk-XYT2TK3Q.js} +2 -2
- package/__chunks__/{chunk-NLHXFLTD.js → chunk-Y6KSTO3A.js} +2 -2
- package/__chunks__/{chunk-6ERULYYM.js → chunk-Y7ZCJ622.js} +2 -2
- package/__chunks__/{chunk-LV3SR5AZ.js → chunk-YCSJTLCS.js} +2 -2
- package/__chunks__/{chunk-AOWSKJU4.js → chunk-YG7VDKRN.js} +2 -2
- package/__chunks__/{chunk-VZP77QAT.js → chunk-YMS7SA5X.js} +2 -2
- package/__chunks__/{chunk-ALACRIIG.js → chunk-YTPED4VI.js} +2 -2
- package/__chunks__/{chunk-WZGTPUPX.js → chunk-YY2JXRIX.js} +2 -2
- package/__chunks__/{chunk-QZDIC3DK.js → chunk-Z2TN7537.js} +2 -2
- package/__chunks__/{chunk-SZZD7FYR.js → chunk-Z42BLK44.js} +2 -2
- package/__chunks__/chunk-Z5BQ5KOQ.js +2 -0
- package/__chunks__/{chunk-5CAUCI7D.js → chunk-ZBA5RQC3.js} +2 -2
- package/__chunks__/{chunk-LDY2FDOV.js → chunk-ZEM76I54.js} +2 -2
- package/__chunks__/{chunk-64PUFCWO.js → chunk-ZGZXVEDL.js} +2 -2
- package/__chunks__/{chunk-3MJ5MEYW.js → chunk-ZMMELDU7.js} +2 -2
- package/__chunks__/{chunk-7EY2LJ6M.js → chunk-ZO6MKGLO.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
- package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +3 -3
- package/__commonjs/UI/TransactionDetails/components/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- 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/DataField/DataField.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/index.js +1 -1
- package/__commonjs/UI/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/WalletConnectLoginButton.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/__commonjs/UI/walletConnect/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.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/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.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/helpers/useGetLedgerProvider.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignMultipleTransactions.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/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/utils/account/addressIsValid.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/getSearchParamAddress.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
- package/__commonjs/web/hooks/index.js +1 -1
- package/__commonjs/web/hooks/useIdleTimer.js +1 -1
- package/__commonjs/web/index.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.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/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/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.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/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/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/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.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/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.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/package.json +2 -2
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.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/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/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/utils/account/addressIsValid.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getSearchParamAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/refreshAccount.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/smartContracts.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/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTokenFromData.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.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/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/waitForChainID.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-3DRKBT5E.js +0 -2
- package/__chunks__/chunk-3YXLL6MW.js +0 -2
- package/__chunks__/chunk-5RZCYYFB.js +0 -2
- package/__chunks__/chunk-6OFEUWAW.js +0 -2
- package/__chunks__/chunk-6ORF3QPY.js +0 -2
- package/__chunks__/chunk-AYX7II5D.js +0 -2
- package/__chunks__/chunk-B2HUNSVF.js +0 -2
- package/__chunks__/chunk-FDI635JG.js +0 -2
- package/__chunks__/chunk-FIJSATLB.js +0 -2
- package/__chunks__/chunk-KGBCMOWB.js +0 -2
- package/__chunks__/chunk-M7XHLNDA.js +0 -2
- package/__chunks__/chunk-OFNDNL4K.js +0 -2
- package/__chunks__/chunk-OQPKYQ27.js +0 -2
- package/__chunks__/chunk-PUT4EQQN.js +0 -2
- package/__chunks__/chunk-V3DA6SW6.js +0 -2
- package/__chunks__/chunk-VBL2PL7V.js +0 -2
- package/__chunks__/chunk-WAYWMIAI.js +0 -2
- package/__chunks__/chunk-Y2CELDON.js +0 -2
- package/__chunks__/chunk-YLWL2XAU.js +0 -2
- package/__chunks__/chunk-Z5GTNNXT.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var gt=Object.create;var ie=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptor,Tt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,xt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var Qe=(r,e,t)=>e in r?ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))er.call(e,t)&&Qe(r,t,e[t]);if(Je)for(var t of Je(e))bt.call(e,t)&&Qe(r,t,e[t]);return r},X=(r,e)=>ft(r,Tt(e));var wt=(r,e)=>()=>(r&&(e=r(r=0)),e);var pe=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),vt=(r,e)=>{for(var t in e)ie(r,t,{get:e[t],enumerable:!0})},rr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yt(e))!er.call(r,i)&&i!==t&&ie(r,i,{get:()=>e[i],enumerable:!(n=ht(e,i))||n.enumerable});return r};var R=(r,e,t)=>(t=r!=null?gt(xt(r)):{},rr(e||!r||!r.__esModule?ie(t,"default",{value:r,enumerable:!0}):t,r)),St=r=>rr(ie({},"__esModule",{value:!0}),r);var ir=pe(de=>{"use strict";a();de.byteLength=At;de.toByteArray=Nt;de.fromByteArray=Rt;var D=[],k=[],kt=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(H=0,tr=ve.length;H<tr;++H)D[H]=ve[H],k[ve.charCodeAt(H)]=H;var H,tr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function nr(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function At(r){var e=nr(r),t=e[0],n=e[1];return(t+n)*3/4-n}function It(r,e,t){return(e+t)*3/4-t}function Nt(r){var e,t=nr(r),n=t[0],i=t[1],o=new kt(It(r,n,i)),s=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=k[r.charCodeAt(m)]<<18|k[r.charCodeAt(m+1)]<<12|k[r.charCodeAt(m+2)]<<6|k[r.charCodeAt(m+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=k[r.charCodeAt(m)]<<2|k[r.charCodeAt(m+1)]>>4,o[s++]=e&255),i===1&&(e=k[r.charCodeAt(m)]<<10|k[r.charCodeAt(m+1)]<<4|k[r.charCodeAt(m+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Et(r){return D[r>>18&63]+D[r>>12&63]+D[r>>6&63]+D[r&63]}function _t(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Et(n));return i.join("")}function Rt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,u=t-n;s<u;s+=o)i.push(_t(r,s,s+o>u?u:s+o));return n===1?(e=r[t-1],i.push(D[e>>2]+D[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(D[e>>10]+D[e>>4&63]+D[e<<2&63]+"=")),i.join("")}});var or=pe(Se=>{a();Se.read=function(r,e,t,n,i){var o,s,u=i*8-n-1,m=(1<<u)-1,g=m>>1,h=-7,f=t?i-1:0,T=t?-1:1,y=r[e+f];for(f+=T,o=y&(1<<-h)-1,y>>=-h,h+=u;h>0;o=o*256+r[e+f],f+=T,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+r[e+f],f+=T,h-=8);if(o===0)o=1-g;else{if(o===m)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-g}return(y?-1:1)*s*Math.pow(2,o-n)};Se.write=function(r,e,t,n,i,o){var s,u,m,g=o*8-i-1,h=(1<<g)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,b=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=T/m:e+=T*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(u=0,s=h):s+f>=1?(u=(e*m-1)*Math.pow(2,i),s=s+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;r[t+y]=u&255,y+=b,u/=256,i-=8);for(s=s<<i|u,g+=i;g>0;r[t+y]=s&255,y+=b,s/=256,g-=8);r[t+y-b]|=I*128}});var yr=pe(Z=>{"use strict";a();var ke=ir(),Y=or(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=c;Z.SlowBuffer=Bt;Z.INSPECT_MAX_BYTES=50;var me=2147483647;Z.kMaxLength=me;c.TYPED_ARRAY_SUPPORT=Dt();!c.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 Dt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(r){if(r>me)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ee(r)}return lr(r,e,t)}c.poolSize=8192;function lr(r,e,t){if(typeof r=="string")return Ft(r,e);if(ArrayBuffer.isView(r))return Ct(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(L(r,ArrayBuffer)||r&&L(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(L(r,SharedArrayBuffer)||r&&L(r.buffer,SharedArrayBuffer)))return Ie(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=Ot(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return lr(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function ur(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Lt(r,e,t){return ur(r),r<=0?U(r):e!==void 0?typeof t=="string"?U(r).fill(e,t):U(r).fill(e):U(r)}c.alloc=function(r,e,t){return Lt(r,e,t)};function Ee(r){return ur(r),U(r<0?0:_e(r)|0)}c.allocUnsafe=function(r){return Ee(r)};c.allocUnsafeSlow=function(r){return Ee(r)};function Ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=pr(r,e)|0,n=U(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function Ae(r){for(var e=r.length<0?0:_e(r.length)|0,t=U(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function Ct(r){if(L(r,Uint8Array)){var e=new Uint8Array(r);return Ie(e.buffer,e.byteOffset,e.byteLength)}return Ae(r)}function Ie(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function Ot(r){if(c.isBuffer(r)){var e=_e(r.length)|0,t=U(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Re(r.length)?U(0):Ae(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Ae(r.data)}function _e(r){if(r>=me)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+me.toString(16)+" bytes");return r|0}function Bt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.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}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(L(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function pr(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||L(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Ne(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Tr(r).length;default:if(i)return n?-1:Ne(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=pr;function Ut(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return zt(this,e,t);case"utf8":case"utf-8":return mr(this,e,t);case"ascii":return qt(this,e,t);case"latin1":case"binary":return jt(this,e,t);case"base64":return Wt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function q(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.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 t=0;t<e;t+=2)q(this,t,t+1);return this};c.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 t=0;t<e;t+=4)q(this,t,t+3),q(this,t+1,t+2);return this};c.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 t=0;t<e;t+=8)q(this,t,t+7),q(this,t+1,t+6),q(this,t+2,t+5),q(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?mr(this,0,e):Ut.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=Z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};ar&&(c.prototype[ar]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,u=n-t,m=Math.min(s,u),g=this.slice(i,o),h=e.slice(t,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],u=h[f];break}return s<u?-1:u<s?1:0};function dr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Re(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:sr(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):sr(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(r,e,t,n,i){var o=1,s=r.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,u/=2,t/=2}function m(y,b){return o===1?y[b]:y.readUInt16BE(b*o)}var g;if(i){var h=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===u)return h*o}else h!==-1&&(g-=g-h),h=-1}else for(t+u>s&&(t=s-u),g=t;g>=0;g--){for(var f=!0,T=0;T<u;T++)if(m(r,g+T)!==m(e,T)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return dr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return dr(this,e,t,n,!1)};function Pt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(s*2,2),16);if(Re(u))return s;r[t+s]=u}return s}function Mt(r,e,t,n){return ge(Ne(e,r.length-t),r,t,n)}function Gt(r,e,t,n){return ge(Zt(e),r,t,n)}function Vt(r,e,t,n){return ge(Tr(e),r,t,n)}function $t(r,e,t,n){return ge(Jt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Pt(this,e,t,n);case"utf8":case"utf-8":return Mt(this,e,t,n);case"ascii":case"latin1":case"binary":return Gt(this,e,t,n);case"base64":return Vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $t(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wt(r,e,t){return e===0&&t===r.length?ke.fromByteArray(r):ke.fromByteArray(r.slice(e,t))}function mr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,h,f;switch(u){case 1:o<128&&(s=o);break;case 2:m=r[i+1],(m&192)===128&&(f=(o&31)<<6|m&63,f>127&&(s=f));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(f=(o&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=r[i+1],g=r[i+2],h=r[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(o&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=u}return Ht(n)}var cr=4096;function Ht(r){var e=r.length;if(e<=cr)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=cr));return t}function qt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function jt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function zt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Qt[r[o]];return i}function Kt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!1,52,8)};function S(r,e,t,n,i,o){if(!c.isBuffer(r))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(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=1,u=0;for(this[t]=e&255;++u<n&&(s*=256);)this[t+u]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=n-1,u=1;for(this[t+s]=e&255;--s>=0&&(u*=256);)this[t+s]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=0,u=1,m=0;for(this[t]=e&255;++s<n&&(u*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=n-1,u=1,m=0;for(this[t+s]=e&255;--s>=0&&(u*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function gr(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function fr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,4,34028234663852886e22,-34028234663852886e22),Y.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return fr(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return fr(this,e,t,!1,n)};function hr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,8,17976931348623157e292,-17976931348623157e292),Y.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return hr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return hr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.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(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=u[s%m]}return this};var Xt=/[^+/0-9A-Za-z-_]/g;function Yt(r){if(r=r.split("=")[0],r=r.trim().replace(Xt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ne(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Zt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Jt(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Tr(r){return ke.toByteArray(Yt(r))}function ge(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function L(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Re(r){return r!==r}var Qt=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var Sr=pe((In,vr)=>{a();var x=vr.exports={},F,C;function De(){throw new Error("setTimeout has not been defined")}function Le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=De}catch(r){F=De}try{typeof clearTimeout=="function"?C=clearTimeout:C=Le}catch(r){C=Le}})();function xr(r){if(F===setTimeout)return setTimeout(r,0);if((F===De||!F)&&setTimeout)return F=setTimeout,setTimeout(r,0);try{return F(r,0)}catch(e){try{return F.call(null,r,0)}catch(t){return F.call(this,r,0)}}}function en(r){if(C===clearTimeout)return clearTimeout(r);if((C===Le||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(r);try{return C(r)}catch(e){try{return C.call(null,r)}catch(t){return C.call(this,r)}}}var P=[],J=!1,j,fe=-1;function rn(){!J||!j||(J=!1,j.length?P=j.concat(P):fe=-1,P.length&&br())}function br(){if(!J){var r=xr(rn);J=!0;for(var e=P.length;e;){for(j=P,P=[];++fe<e;)j&&j[fe].run();fe=-1,e=P.length}j=null,J=!1,en(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];P.push(new wr(r,e)),P.length===1&&!J&&xr(br)};function wr(r,e){this.fun=r,this.array=e}wr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function M(){}x.on=M;x.addListener=M;x.once=M;x.off=M;x.removeListener=M;x.removeAllListeners=M;x.emit=M;x.prependListener=M;x.prependOnceListener=M;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Nn,a=wt(()=>{l=R(yr()),p=R(Sr()),Nn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var wn={};vt(wn,{ACTIONS_WITH_EGLD_VALUE:()=>Xe,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>Ke,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>Ze,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>Ye,explorerUrlBuilder:()=>_,getExplorerLink:()=>K,getHumanReadableTimeFormat:()=>dn,getInterpretedTransaction:()=>bn,getOperationsMessages:()=>mn,getReceiptMessage:()=>fn,getTransactionMethod:()=>$e,getTransactionReceiver:()=>se,getTransactionReceiverAssets:()=>Ve,getTransactionTokens:()=>ae,getTransactionTransferType:()=>We,getTransactionValue:()=>xn});module.exports=St(wn);a();a();a();var oe=require("@multiversx/sdk-core");a();a();a();a();a();a();var Fe=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),Q=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var kr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(kr||{}),Ln=E(E({},Q.WindowProviderRequestEnums),kr),Ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ar||{}),Fn=E(E({},Q.WindowProviderResponseEnums),Ar);a();a();a();var Ce=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ce||{});a();a();a();a();var Ir=require("@multiversx/sdk-core");function tn(r){try{let e=new Ir.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function he(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&tn(r)}a();function Oe(r){try{let e=atob(r),t=btoa(e),n=l.Buffer.from(r,"base64").toString(),i=l.Buffer.from(n).toString("base64"),o=r===t||t.startsWith(r),s=r===i||i.startsWith(r);if(o&&s)return!0}catch(e){return!1}return!1}function Nr(r){return Oe(r)?atob(r):r}var nn=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function Er(r,e,t=""){if(!he(r))return!1;if(new oe.Address(r).isContractAddress())return!0;let o=cn({receiver:r,data:t});return o?new oe.Address(o).isContractAddress()||sn(r,e,t):!1}var on=r=>r.toLowerCase().match(/[0-9a-f]/g),an=r=>r.length%2===0;function sn(r,e,t){let n=t==null?void 0:t.split("@");if(n==null)return!1;let[i,...o]=n,s=e!=null&&r!=null&&r===e,u=nn.includes(i),m=o.every(g=>on(g)&&an(g));return s&&u&&m}function cn({receiver:r,data:e}){try{if(!e)return r;let t=Oe(e)?oe.TransactionPayload.fromEncoded(e).toString():e,n=ln(t),i=t.split("@");return n>-1?i[n]:r}catch(t){console.log(t);return}}function ln(r){return r.includes("MultiESDTNFTTransfer")?1:r.includes("ESDTNFTTransfer")?4:-1}a();var Ue=require("@multiversx/sdk-core"),Te=R(require("bignumber.js"));a();a();function _r(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Rr(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();_r(t)&&t.length>1&&(e=t)}catch(t){}return e}var Be={tokenId:"",amount:""},Dr=r=>r.split("@").map((o,s)=>[2,3].includes(s)?o:Rr(o));function Lr(r){if(!r)return Be;let e=r.startsWith("ESDTTransfer"),t=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),n=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(e){let[,i,o]=r.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return Be;let u=new Te.default("0x"+o.replace("0x","")).toString(10);return{tokenId:s,amount:u}}catch(s){console.error("Error getting token from transaction data",s)}}if(t)try{let[,i,o,s,u]=Dr(r);if([i,o,s,u].every(m=>Boolean(m))&&he(new Ue.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o,receiver:new Ue.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,s]=Dr(r);if([i,o,s].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o}}catch(i){}return Be}a();a();a();var V="accounts";var Fr="blocks",Cr="code",Or="collections";var Br="contracts";var Ur="identities";var Pr="locked-accounts",Mr="logs",Gr="miniblocks";var Pe="nfts",Vr="nodes",Me="providers",$r="roles",Ge="sc-results";var ee="tokens";var z="transactions";var _={shard:r=>`/${Fr}?shard=${r}`,receiverShard:r=>`/${z}?receivershard=${r}`,senderShard:r=>`/${z}?sendershard=${r}`,transactionDetails:r=>`/${z}/${r}`,transactionDetailsScResults:r=>`/${z}/${r}/${Ge}`,transactionDetailsLogs:r=>`/${z}/${r}/${Mr}`,nodeDetails:r=>`/${Vr}/${r}`,accountDetails:r=>`/${V}/${r}`,accountDetailsContractCode:r=>`/${V}/${r}/${Cr}`,accountDetailsTokens:r=>`/${V}/${r}/${ee}`,accountDetailsNfts:r=>`/${V}/${r}/${Pe}`,accountDetailsScResults:r=>`/${V}/${r}/${Ge}`,accountDetailsContracts:r=>`/${V}/${r}/${Br}`,identityDetails:r=>`/${Ur}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${V}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Pr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${$r}`,collectionDetails:r=>`/${Or}/${r}`,nftDetails:r=>`/${Pe}/${r}`,providerDetails:r=>`/${Me}/${r}`,providerDetailsTransactions:r=>`/${Me}/${r}/${z}`,miniblockDetails:r=>`/${Gr}/${r}`};a();var ae=r=>{var e,t,n,i;if(r.action){let o=[(e=r.action.arguments)==null?void 0:e.token,(t=r.action.arguments)==null?void 0:t.token1,(n=r.action.arguments)==null?void 0:n.token2,(i=r.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};a();a();function se(r){var t,n;let e=r.receiver;return(n=(t=r.action)==null?void 0:t.arguments)!=null&&n.receiver&&(e=r.action.arguments.receiver),e}function Ve(r){let e=se(r);return r.receiver===e?r.receiverAssets:void 0}a();var $e=r=>{var n,i,o,s,u,m;let e="Transaction";return((n=r.action)==null?void 0:n.name)&&((i=r.action)==null?void 0:i.category)&&(((o=r.action)==null?void 0:o.category)==="esdtNft"&&((s=r.action)==null?void 0:s.name)==="transfer"?e="Transaction":r.action&&(e=r.action.name),(m=(u=r.action)==null?void 0:u.arguments)!=null&&m.functionName&&(e=r.action.arguments.functionName)),e};a();var Wr=!1;function pn(r){Wr||(console.error(r),Wr=!0)}function K({explorerAddress:r,to:e}){try{return new URL(e).href}catch(t){return e.startsWith("/")||(pn(`Link not prepended by / : ${e}`),e=`/${e}`),r?`${r}${e}`:e}}a();function We(r,e,t){let n=r===e.sender,i=r===t,o=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case o:return"Self";case i:return"In";case n:default:return"Out"}}a();function dn({value:r,noSeconds:e,utc:t,meridiem:n=!0}){let i=new Date(r*1e3),[,o]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,u]=s.split(","),[m,g,h,f]=u.trim().split(" "),[T,y,b]=f.split(":"),I=`:${b}`,te=`${T}:${y}${e?"":I}`,W=`${n?o:""} ${t?"UTC":""}`.trim();return`${g} ${m}, ${h} ${te} ${W}`.trim()}a();function mn(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}a();var Jr=R(require("bignumber.js"));a();a();a();a();a();a();a();a();a();var He={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",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",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",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hr,egldLabel:Ui}=He["devnet"],{chainId:qr,egldLabel:Pi}=He["testnet"],{chainId:jr,egldLabel:Mi}=He["mainnet"];var Gi={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},Vi={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"};a();a();var O=require("@multiversx/sdk-web-wallet-provider");a();var zr,Kr,qe=String((Kr=(zr=Fe.safeWindow)==null?void 0:zr.navigator)==null?void 0:Kr.userAgent),ji=/^((?!chrome|android).)*safari/i.test(qe),zi=/firefox/i.test(qe)&&/windows/i.test(qe);var v=18,re=4;var Xr="refundedGas";var ye="0";a();var Zr=require("@multiversx/sdk-core"),$=R(require("bignumber.js"));a();var Yr=R(require("bignumber.js")),je=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function G(r){return{if:function(e){return e?{then:t=>t instanceof Function?G(t(r)):G(t)}:{then:()=>G(r)}},then:e=>e instanceof Function?G(e(r)):G(e),valueOf:function(){return r}}}$.default.config({ROUNDING_MODE:$.default.ROUND_FLOOR});function B({input:r,decimals:e=v,digits:t=re,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!je(r,!1))throw new Error("Invalid input");let s=new $.default(r).isNegative(),u=r;return s&&(u=r.substring(1)),G(u).then(()=>Zr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new $.default(m);if(g.isZero())return ye;let h=g.toString(10),[f,T]=h.split("."),y=new $.default(T||0),b=G(0).if(Boolean(T&&n)).then(()=>Math.max(T.length,t)).if(y.isZero()&&!n).then(0).if(Boolean(T&&!n)).then(()=>Math.min(T.length,t)).valueOf(),I=T&&t>=1&&t<=T.length&&y.isGreaterThan(0)&&new $.default(T.substring(0,t)).isZero(),te=g.toFormat(b);return G(h).if(o).then(te).if(Boolean(I)).then(ne=>{let W=new $.default(f).isZero(),[N,le]=ne.split("."),ue=new Array(t-1).fill(0),dt=[...ue,0].join(""),mt=[...ue,1].join("");return W?i?`<${N}.${mt}`:n?`${N}.${le}`:N:`${N}.${dt}`}).if(Boolean(!I&&T)).then(ne=>{let[W]=ne.split("."),N=T.substring(0,b);if(n){let le=t-N.length;if(le>0){let ue=Array(le).fill(0).join("");return N=`${N}${ue}`,`${W}.${N}`}return ne}return N?`${W}.${N}`:W}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var gn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Xr){let n=B({input:r.receipt.value,decimals:v,digits:re,showLastNonZeroDecimal:!0});return new Jr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function fn(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=gn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();a();a();a();var xe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(xe||{});a();a();a();a();a();var hn=require("@multiversx/sdk-core");a();var ce=require("@multiversx/sdk-core"),yn=R(require("bignumber.js"));a();a();a();var Tn=R(require("bignumber.js"));a();a();var ze={isEsdt:!1,isNft:!1,isEgld:!1};function Qr(r){let e=r==null?void 0:r.split("-").length;return e===2?X(E({},ze),{isEsdt:!0}):e===3?X(E({},ze),{isNft:!0}):X(E({},ze),{isEgld:!0})}a();a();a();a();a();a();function be({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let s="";n&&i&&(s=i?B({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=_.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function we({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?B({input:r.value,decimals:(u=r.decimals)!=null?u:v,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=_.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ke=["reDelegateRewards","claimRewards","unBond"],Xe=["wrapEgld","unwrapEgld"],Ye=["unStake"],Ze=["unDelegate"];a();a();var et=r=>{let e=r.map(n=>{let{isNft:i}=Qr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:T}=be({token:n});return`${h!=null?`(${h}) `:""}${f} ${T}`}let{tokenFormattedAmount:o,tokenLinkText:s,token:u}=we({token:n}),m=u.collection?u.identifier:u.token;return`${o} ${s} (${m})`});return decodeURI(e.join("%0A"))};a();var A=r=>({egldValueData:{value:r,formattedValue:B({input:r}),decimals:v}});a();var tt=R(require("bignumber.js"));a();a();a();var rt=!1;function nt(r){var e;try{let n=Nr(r.data).replace(`${(e=r.action)==null?void 0:e.name}@`,""),i=new tt.default(n,16);if(!i.isNaN())return A(i.toString(10))}catch(t){rt||(console.error(`Unable to extract value for txHash: ${r.txHash}`),rt=!0)}return A(r.value)}a();a();var it=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ce).includes(i.type)))!=null?n:[]};var ot=!1,at=r=>{ot||(console.error(`Operations field missing for txHash: ${r}.
|
|
1
|
+
"use strict";var gt=Object.create;var ie=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptor,Tt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,xt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var Qe=(r,e,t)=>e in r?ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))er.call(e,t)&&Qe(r,t,e[t]);if(Je)for(var t of Je(e))bt.call(e,t)&&Qe(r,t,e[t]);return r},X=(r,e)=>ft(r,Tt(e));var wt=(r,e)=>()=>(r&&(e=r(r=0)),e);var pe=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),vt=(r,e)=>{for(var t in e)ie(r,t,{get:e[t],enumerable:!0})},rr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yt(e))!er.call(r,i)&&i!==t&&ie(r,i,{get:()=>e[i],enumerable:!(n=ht(e,i))||n.enumerable});return r};var R=(r,e,t)=>(t=r!=null?gt(xt(r)):{},rr(e||!r||!r.__esModule?ie(t,"default",{value:r,enumerable:!0}):t,r)),St=r=>rr(ie({},"__esModule",{value:!0}),r);var ir=pe(de=>{"use strict";a();de.byteLength=At;de.toByteArray=Nt;de.fromByteArray=Rt;var D=[],k=[],kt=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(H=0,tr=ve.length;H<tr;++H)D[H]=ve[H],k[ve.charCodeAt(H)]=H;var H,tr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function nr(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function At(r){var e=nr(r),t=e[0],n=e[1];return(t+n)*3/4-n}function It(r,e,t){return(e+t)*3/4-t}function Nt(r){var e,t=nr(r),n=t[0],i=t[1],o=new kt(It(r,n,i)),s=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=k[r.charCodeAt(m)]<<18|k[r.charCodeAt(m+1)]<<12|k[r.charCodeAt(m+2)]<<6|k[r.charCodeAt(m+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=k[r.charCodeAt(m)]<<2|k[r.charCodeAt(m+1)]>>4,o[s++]=e&255),i===1&&(e=k[r.charCodeAt(m)]<<10|k[r.charCodeAt(m+1)]<<4|k[r.charCodeAt(m+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Et(r){return D[r>>18&63]+D[r>>12&63]+D[r>>6&63]+D[r&63]}function _t(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Et(n));return i.join("")}function Rt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,u=t-n;s<u;s+=o)i.push(_t(r,s,s+o>u?u:s+o));return n===1?(e=r[t-1],i.push(D[e>>2]+D[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(D[e>>10]+D[e>>4&63]+D[e<<2&63]+"=")),i.join("")}});var or=pe(Se=>{a();Se.read=function(r,e,t,n,i){var o,s,u=i*8-n-1,m=(1<<u)-1,g=m>>1,h=-7,f=t?i-1:0,T=t?-1:1,y=r[e+f];for(f+=T,o=y&(1<<-h)-1,y>>=-h,h+=u;h>0;o=o*256+r[e+f],f+=T,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+r[e+f],f+=T,h-=8);if(o===0)o=1-g;else{if(o===m)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-g}return(y?-1:1)*s*Math.pow(2,o-n)};Se.write=function(r,e,t,n,i,o){var s,u,m,g=o*8-i-1,h=(1<<g)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,b=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=T/m:e+=T*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(u=0,s=h):s+f>=1?(u=(e*m-1)*Math.pow(2,i),s=s+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;r[t+y]=u&255,y+=b,u/=256,i-=8);for(s=s<<i|u,g+=i;g>0;r[t+y]=s&255,y+=b,s/=256,g-=8);r[t+y-b]|=I*128}});var yr=pe(Z=>{"use strict";a();var ke=ir(),Y=or(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=c;Z.SlowBuffer=Bt;Z.INSPECT_MAX_BYTES=50;var me=2147483647;Z.kMaxLength=me;c.TYPED_ARRAY_SUPPORT=Dt();!c.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 Dt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(r){if(r>me)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ee(r)}return lr(r,e,t)}c.poolSize=8192;function lr(r,e,t){if(typeof r=="string")return Ft(r,e);if(ArrayBuffer.isView(r))return Ct(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(L(r,ArrayBuffer)||r&&L(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(L(r,SharedArrayBuffer)||r&&L(r.buffer,SharedArrayBuffer)))return Ie(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=Ot(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return lr(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function ur(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Lt(r,e,t){return ur(r),r<=0?U(r):e!==void 0?typeof t=="string"?U(r).fill(e,t):U(r).fill(e):U(r)}c.alloc=function(r,e,t){return Lt(r,e,t)};function Ee(r){return ur(r),U(r<0?0:_e(r)|0)}c.allocUnsafe=function(r){return Ee(r)};c.allocUnsafeSlow=function(r){return Ee(r)};function Ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=pr(r,e)|0,n=U(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function Ae(r){for(var e=r.length<0?0:_e(r.length)|0,t=U(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function Ct(r){if(L(r,Uint8Array)){var e=new Uint8Array(r);return Ie(e.buffer,e.byteOffset,e.byteLength)}return Ae(r)}function Ie(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function Ot(r){if(c.isBuffer(r)){var e=_e(r.length)|0,t=U(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Re(r.length)?U(0):Ae(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Ae(r.data)}function _e(r){if(r>=me)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+me.toString(16)+" bytes");return r|0}function Bt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.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}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(L(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function pr(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||L(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Ne(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Tr(r).length;default:if(i)return n?-1:Ne(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=pr;function Ut(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return zt(this,e,t);case"utf8":case"utf-8":return mr(this,e,t);case"ascii":return qt(this,e,t);case"latin1":case"binary":return jt(this,e,t);case"base64":return Wt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function q(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.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 t=0;t<e;t+=2)q(this,t,t+1);return this};c.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 t=0;t<e;t+=4)q(this,t,t+3),q(this,t+1,t+2);return this};c.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 t=0;t<e;t+=8)q(this,t,t+7),q(this,t+1,t+6),q(this,t+2,t+5),q(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?mr(this,0,e):Ut.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=Z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};ar&&(c.prototype[ar]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,u=n-t,m=Math.min(s,u),g=this.slice(i,o),h=e.slice(t,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],u=h[f];break}return s<u?-1:u<s?1:0};function dr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Re(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:sr(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):sr(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(r,e,t,n,i){var o=1,s=r.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,u/=2,t/=2}function m(y,b){return o===1?y[b]:y.readUInt16BE(b*o)}var g;if(i){var h=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===u)return h*o}else h!==-1&&(g-=g-h),h=-1}else for(t+u>s&&(t=s-u),g=t;g>=0;g--){for(var f=!0,T=0;T<u;T++)if(m(r,g+T)!==m(e,T)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return dr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return dr(this,e,t,n,!1)};function Pt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(s*2,2),16);if(Re(u))return s;r[t+s]=u}return s}function Mt(r,e,t,n){return ge(Ne(e,r.length-t),r,t,n)}function Gt(r,e,t,n){return ge(Zt(e),r,t,n)}function Vt(r,e,t,n){return ge(Tr(e),r,t,n)}function $t(r,e,t,n){return ge(Jt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Pt(this,e,t,n);case"utf8":case"utf-8":return Mt(this,e,t,n);case"ascii":case"latin1":case"binary":return Gt(this,e,t,n);case"base64":return Vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $t(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wt(r,e,t){return e===0&&t===r.length?ke.fromByteArray(r):ke.fromByteArray(r.slice(e,t))}function mr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,h,f;switch(u){case 1:o<128&&(s=o);break;case 2:m=r[i+1],(m&192)===128&&(f=(o&31)<<6|m&63,f>127&&(s=f));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(f=(o&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=r[i+1],g=r[i+2],h=r[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(o&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=u}return Ht(n)}var cr=4096;function Ht(r){var e=r.length;if(e<=cr)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=cr));return t}function qt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function jt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function zt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Qt[r[o]];return i}function Kt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!1,52,8)};function S(r,e,t,n,i,o){if(!c.isBuffer(r))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(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=1,u=0;for(this[t]=e&255;++u<n&&(s*=256);)this[t+u]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=n-1,u=1;for(this[t+s]=e&255;--s>=0&&(u*=256);)this[t+s]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=0,u=1,m=0;for(this[t]=e&255;++s<n&&(u*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=n-1,u=1,m=0;for(this[t+s]=e&255;--s>=0&&(u*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function gr(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function fr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,4,34028234663852886e22,-34028234663852886e22),Y.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return fr(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return fr(this,e,t,!1,n)};function hr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,8,17976931348623157e292,-17976931348623157e292),Y.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return hr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return hr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.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(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=u[s%m]}return this};var Xt=/[^+/0-9A-Za-z-_]/g;function Yt(r){if(r=r.split("=")[0],r=r.trim().replace(Xt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ne(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Zt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Jt(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Tr(r){return ke.toByteArray(Yt(r))}function ge(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function L(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Re(r){return r!==r}var Qt=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var Sr=pe((In,vr)=>{a();var x=vr.exports={},F,C;function De(){throw new Error("setTimeout has not been defined")}function Le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=De}catch(r){F=De}try{typeof clearTimeout=="function"?C=clearTimeout:C=Le}catch(r){C=Le}})();function xr(r){if(F===setTimeout)return setTimeout(r,0);if((F===De||!F)&&setTimeout)return F=setTimeout,setTimeout(r,0);try{return F(r,0)}catch(e){try{return F.call(null,r,0)}catch(t){return F.call(this,r,0)}}}function en(r){if(C===clearTimeout)return clearTimeout(r);if((C===Le||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(r);try{return C(r)}catch(e){try{return C.call(null,r)}catch(t){return C.call(this,r)}}}var P=[],J=!1,j,fe=-1;function rn(){!J||!j||(J=!1,j.length?P=j.concat(P):fe=-1,P.length&&br())}function br(){if(!J){var r=xr(rn);J=!0;for(var e=P.length;e;){for(j=P,P=[];++fe<e;)j&&j[fe].run();fe=-1,e=P.length}j=null,J=!1,en(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];P.push(new wr(r,e)),P.length===1&&!J&&xr(br)};function wr(r,e){this.fun=r,this.array=e}wr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function M(){}x.on=M;x.addListener=M;x.once=M;x.off=M;x.removeListener=M;x.removeAllListeners=M;x.emit=M;x.prependListener=M;x.prependOnceListener=M;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Nn,a=wt(()=>{l=R(yr()),p=R(Sr()),Nn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var wn={};vt(wn,{ACTIONS_WITH_EGLD_VALUE:()=>Xe,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>Ke,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>Ze,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>Ye,explorerUrlBuilder:()=>_,getExplorerLink:()=>K,getHumanReadableTimeFormat:()=>dn,getInterpretedTransaction:()=>bn,getOperationsMessages:()=>mn,getReceiptMessage:()=>fn,getTransactionMethod:()=>$e,getTransactionReceiver:()=>se,getTransactionReceiverAssets:()=>Ve,getTransactionTokens:()=>ae,getTransactionTransferType:()=>We,getTransactionValue:()=>xn});module.exports=St(wn);a();a();a();var oe=require("@multiversx/sdk-core");a();a();a();a();a();a();var Fe=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),Q=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var kr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(kr||{}),Ln=E(E({},Q.WindowProviderRequestEnums),kr),Ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ar||{}),Fn=E(E({},Q.WindowProviderResponseEnums),Ar);a();a();a();var Ce=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ce||{});a();a();a();a();var Ir=require("@multiversx/sdk-core");function tn(r){try{let e=new Ir.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function he(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&tn(r)}a();function Oe(r){try{let e=atob(r),t=btoa(e),n=l.Buffer.from(r,"base64").toString(),i=l.Buffer.from(n).toString("base64"),o=r===t||t.startsWith(r),s=r===i||i.startsWith(r);if(o&&s)return!0}catch(e){return!1}return!1}function Nr(r){return Oe(r)?atob(r):r}var nn=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function Er(r,e,t=""){if(!he(r))return!1;if(new oe.Address(r).isContractAddress())return!0;let o=cn({receiver:r,data:t});return o?new oe.Address(o).isContractAddress()||sn(r,e,t):!1}var on=r=>r.toLowerCase().match(/[0-9a-f]/g),an=r=>r.length%2===0;function sn(r,e,t){let n=t==null?void 0:t.split("@");if(n==null)return!1;let[i,...o]=n,s=e!=null&&r!=null&&r===e,u=nn.includes(i),m=o.every(g=>on(g)&&an(g));return s&&u&&m}function cn({receiver:r,data:e}){try{if(!e)return r;let t=Oe(e)?oe.TransactionPayload.fromEncoded(e).toString():e,n=ln(t),i=t.split("@");return n>-1?i[n]:r}catch(t){console.log(t);return}}function ln(r){return r.includes("MultiESDTNFTTransfer")?1:r.includes("ESDTNFTTransfer")?4:-1}a();var Ue=require("@multiversx/sdk-core"),Te=R(require("bignumber.js"));a();a();function _r(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Rr(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();_r(t)&&t.length>1&&(e=t)}catch(t){}return e}var Be={tokenId:"",amount:""},Dr=r=>r.split("@").map((o,s)=>[2,3].includes(s)?o:Rr(o));function Lr(r){if(!r)return Be;let e=r.startsWith("ESDTTransfer"),t=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),n=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(e){let[,i,o]=r.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return Be;let u=new Te.default("0x"+o.replace("0x","")).toString(10);return{tokenId:s,amount:u}}catch(s){console.error("Error getting token from transaction data",s)}}if(t)try{let[,i,o,s,u]=Dr(r);if([i,o,s,u].every(m=>Boolean(m))&&he(new Ue.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o,receiver:new Ue.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,s]=Dr(r);if([i,o,s].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o}}catch(i){}return Be}a();a();a();var V="accounts";var Fr="blocks",Cr="code",Or="collections";var Br="contracts";var Ur="identities";var Pr="locked-accounts",Mr="logs",Gr="miniblocks";var Pe="nfts",Vr="nodes",Me="providers",$r="roles",Ge="sc-results";var ee="tokens";var z="transactions";var _={shard:r=>`/${Fr}?shard=${r}`,receiverShard:r=>`/${z}?receivershard=${r}`,senderShard:r=>`/${z}?sendershard=${r}`,transactionDetails:r=>`/${z}/${r}`,transactionDetailsScResults:r=>`/${z}/${r}/${Ge}`,transactionDetailsLogs:r=>`/${z}/${r}/${Mr}`,nodeDetails:r=>`/${Vr}/${r}`,accountDetails:r=>`/${V}/${r}`,accountDetailsContractCode:r=>`/${V}/${r}/${Cr}`,accountDetailsTokens:r=>`/${V}/${r}/${ee}`,accountDetailsNfts:r=>`/${V}/${r}/${Pe}`,accountDetailsScResults:r=>`/${V}/${r}/${Ge}`,accountDetailsContracts:r=>`/${V}/${r}/${Br}`,identityDetails:r=>`/${Ur}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${V}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Pr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${$r}`,collectionDetails:r=>`/${Or}/${r}`,nftDetails:r=>`/${Pe}/${r}`,providerDetails:r=>`/${Me}/${r}`,providerDetailsTransactions:r=>`/${Me}/${r}/${z}`,miniblockDetails:r=>`/${Gr}/${r}`};a();var ae=r=>{var e,t,n,i;if(r.action){let o=[(e=r.action.arguments)==null?void 0:e.token,(t=r.action.arguments)==null?void 0:t.token1,(n=r.action.arguments)==null?void 0:n.token2,(i=r.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};a();a();function se(r){var t,n;let e=r.receiver;return(n=(t=r.action)==null?void 0:t.arguments)!=null&&n.receiver&&(e=r.action.arguments.receiver),e}function Ve(r){let e=se(r);return r.receiver===e?r.receiverAssets:void 0}a();var $e=r=>{var n,i,o,s,u,m;let e="Transaction";return((n=r.action)==null?void 0:n.name)&&((i=r.action)==null?void 0:i.category)&&(((o=r.action)==null?void 0:o.category)==="esdtNft"&&((s=r.action)==null?void 0:s.name)==="transfer"?e="Transaction":r.action&&(e=r.action.name),(m=(u=r.action)==null?void 0:u.arguments)!=null&&m.functionName&&(e=r.action.arguments.functionName)),e};a();var Wr=!1;function pn(r){Wr||(console.error(r),Wr=!0)}function K({explorerAddress:r,to:e}){try{return new URL(e).href}catch(t){return e.startsWith("/")||(pn(`Link not prepended by / : ${e}`),e=`/${e}`),r?`${r}${e}`:e}}a();function We(r,e,t){let n=r===e.sender,i=r===t,o=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case o:return"Self";case i:return"In";case n:default:return"Out"}}a();function dn({value:r,noSeconds:e,utc:t,meridiem:n=!0}){let i=new Date(r*1e3),[,o]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,u]=s.split(","),[m,g,h,f]=u.trim().split(" "),[T,y,b]=f.split(":"),I=`:${b}`,te=`${T}:${y}${e?"":I}`,W=`${n?o:""} ${t?"UTC":""}`.trim();return`${g} ${m}, ${h} ${te} ${W}`.trim()}a();function mn(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}a();var Jr=R(require("bignumber.js"));a();a();a();a();a();a();a();a();a();var He={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",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",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",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hr,egldLabel:Ui}=He["devnet"],{chainId:qr,egldLabel:Pi}=He["testnet"],{chainId:jr,egldLabel:Mi}=He["mainnet"];var Gi={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},Vi={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"};a();a();var O=require("@multiversx/sdk-web-wallet-provider");a();var zr,Kr,qe=String((Kr=(zr=Fe.safeWindow)==null?void 0:zr.navigator)==null?void 0:Kr.userAgent),ji=/^((?!chrome|android).)*safari/i.test(qe),zi=/firefox/i.test(qe)&&/windows/i.test(qe);var v=18,re=4;var Xr="refundedGas";var ye="0";a();var Zr=require("@multiversx/sdk-core"),$=R(require("bignumber.js"));a();var Yr=R(require("bignumber.js")),je=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function G(r){return{if:function(e){return e?{then:t=>t instanceof Function?G(t(r)):G(t)}:{then:()=>G(r)}},then:e=>e instanceof Function?G(e(r)):G(e),valueOf:function(){return r}}}$.default.config({ROUNDING_MODE:$.default.ROUND_FLOOR});function B({input:r,decimals:e=v,digits:t=re,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!je(r,!1))throw new Error("Invalid input");let s=new $.default(r).isNegative(),u=r;return s&&(u=r.substring(1)),G(u).then(()=>Zr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new $.default(m);if(g.isZero())return ye;let h=g.toString(10),[f,T]=h.split("."),y=new $.default(T||0),b=G(0).if(Boolean(T&&n)).then(()=>Math.max(T.length,t)).if(y.isZero()&&!n).then(0).if(Boolean(T&&!n)).then(()=>Math.min(T.length,t)).valueOf(),I=T&&t>=1&&t<=T.length&&y.isGreaterThan(0)&&new $.default(T.substring(0,t)).isZero(),te=g.toFormat(b);return G(h).if(o).then(te).if(Boolean(I)).then(ne=>{let W=new $.default(f).isZero(),[N,le]=ne.split("."),ue=new Array(t-1).fill(0),dt=[...ue,0].join(""),mt=[...ue,1].join("");return W?i?`<${N}.${mt}`:n?`${N}.${le}`:N:`${N}.${dt}`}).if(Boolean(!I&&T)).then(ne=>{let[W]=ne.split("."),N=T.substring(0,b);if(n){let le=t-N.length;if(le>0){let ue=Array(le).fill(0).join("");return N=`${N}${ue}`,`${W}.${N}`}return ne}return N?`${W}.${N}`:W}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var gn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Xr){let n=B({input:r.receipt.value,decimals:v,digits:re,showLastNonZeroDecimal:!0});return new Jr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function fn(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=gn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();a();a();a();var xe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(xe||{});a();a();a();a();a();var hn=require("@multiversx/sdk-core");a();var ce=require("@multiversx/sdk-core"),yn=R(require("bignumber.js"));a();a();a();var Tn=R(require("bignumber.js"));a();a();var ze={isEsdt:!1,isNft:!1,isEgld:!1};function Qr(r){let e=r==null?void 0:r.split("-").length;return e===2?X(E({},ze),{isEsdt:!0}):e===3?X(E({},ze),{isNft:!0}):X(E({},ze),{isEgld:!0})}a();a();a();a();a();a();function be({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let s="";n&&i&&(s=i?B({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=_.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function we({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?B({input:r.value,decimals:(u=r.decimals)!=null?u:v,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=_.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ke=["reDelegateRewards","claimRewards","unBond"],Xe=["wrapEgld","unwrapEgld"],Ye=["unStake"],Ze=["unDelegate"];a();a();var et=r=>{let e=r.map(n=>{let{isNft:i}=Qr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:T}=be({token:n});return`${h!=null?`(${h}) `:""}${f} ${T}`}let{tokenFormattedAmount:o,tokenLinkText:s,token:u}=we({token:n}),m=u.collection?u.identifier:u.token;return`${o} ${s} (${m})`});return decodeURI(e.join("%0A"))};a();var A=r=>({egldValueData:{value:r,formattedValue:B({input:r}),decimals:v}});a();var tt=R(require("bignumber.js"));a();a();a();var rt=!1;function nt(r){var e;try{let n=Nr(r.data).replace(`${(e=r.action)==null?void 0:e.name}@`,""),i=new tt.default(n,16);if(!i.isNaN())return A(i.toString(10))}catch(t){rt||(console.error(`Unable to extract value for txHash: ${r.txHash}`),rt=!0)}return A(r.value)}a();a();var it=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ce).includes(i.type)))!=null?n:[]};var ot=!1,at=r=>{ot||(console.error(`Operations field missing for txHash: ${r}.
|
|
2
2
|
Unable to compute value field.`),ot=!0)};function st(r){try{if(r.operations){let[e]=it(r);return A(e==null?void 0:e.value)}else at(r.txHash)}catch(e){at(r.txHash)}return A(r.value)}a();var lt=R(require("bignumber.js"));var ct=!1;function ut(r){var t,n,i,o,s;return new lt.default((n=(t=r.action)==null?void 0:t.arguments)==null?void 0:n.value).isNaN()?(ct||(console.error(`Unable to interpret ${(s=r.action)==null?void 0:s.name} data for txHash: ${r.txHash}`),ct=!0),A(r.value)):A((o=(i=r.action)==null?void 0:i.arguments)==null?void 0:o.value)}var xn=({transaction:r,hideMultipleBadge:e})=>{var t;if(r.action){if(Xe.includes(r.action.name))return A(r.value);if(Ye.includes(r.action.name))return nt(r);if(Ke.includes(r.action.name))return st(r);if(Ze.includes(r.action.name))return ut(r);let n=ae(r);if(n.length){let i=n[0],o=Object.values(xe).includes(i.type),u=!e&&n.length>1?et(n):"";if(o){let{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te}=be({token:i});return{nftValueData:{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te,transactionTokens:n,token:i,value:b!=null?i.value:null,decimals:b!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:T}=we({token:i});return{tokenValueData:{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:T,value:i.value,decimals:(t=i.decimals)!=null?t:v,titleText:u}}}}return A(r.value)};function bn({transaction:r,address:e,explorerAddress:t}){var I;let n=(I=r.tokenIdentifier)!=null?I:Lr(r.data).tokenId,i=se(r),o=Ve(r),s=We(e,r,i),u=$e(r),m=ae(r),g=K({explorerAddress:t,to:_.accountDetails(r.sender)}),h=K({explorerAddress:t,to:_.accountDetails(i)}),f=K({explorerAddress:t,to:_.senderShard(r.senderShard)}),T=K({explorerAddress:t,to:_.receiverShard(r.receiverShard)}),y=r.originalTxHash?`${r.originalTxHash}#${r.txHash}`:r.txHash,b=K({explorerAddress:t,to:_.transactionDetails(y)});return X(E({},r),{tokenIdentifier:n,receiver:i,receiverAssets:o,transactionDetails:{direction:s,method:u,transactionTokens:m,isContract:Er(r.sender)},links:{senderLink:g,receiverLink:h,senderShardLink:f,receiverShardLink:T,transactionLink:b}})}0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD,explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getInterpretedTransaction,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
|
|
3
3
|
/*!
|
|
4
4
|
* The buffer module from node.js, for the browser.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Gr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable;var fr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,q=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&fr(t,e,r[e]);if(ar)for(var e of ar(r))Pr.call(r,e)&&fr(t,e,r[e]);return t};var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),$r=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},hr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var $=(t,r,e)=>(e=t!=null?Gr(Hr(t)):{},hr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Xr=t=>hr(W({},"__esModule",{value:!0}),t);var sr=G(O=>{"use strict";s();O.byteLength=zr;O.toByteArray=Kr;O.fromByteArray=re;var d=[],F=[],Qr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(k=0,pr=X.length;k<pr;++k)d[k]=X[k],F[X.charCodeAt(k)]=k;var k,pr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function Kr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Qr(Jr(t,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=F[t.charCodeAt(c)]<<18|F[t.charCodeAt(c+1)]<<12|F[t.charCodeAt(c+2)]<<6|F[t.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=F[t.charCodeAt(c)]<<2|F[t.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=F[t.charCodeAt(c)]<<10|F[t.charCodeAt(c+1)]<<4|F[t.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Zr(t){return d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[t&63]}function jr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function re(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,f=e-n;u<f;u+=o)i.push(jr(t,u,u+o>f?f:u+o));return n===1?(r=t[e-1],i.push(d[r>>2]+d[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(d[r>>10]+d[r>>4&63]+d[r<<2&63]+"=")),i.join("")}});var wr=G(Q=>{s();Q.read=function(t,r,e,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,p=c>>1,l=-7,h=e?i-1:0,E=e?-1:1,m=t[r+h];for(h+=E,o=m&(1<<-l)-1,m>>=-l,l+=f;l>0;o=o*256+t[r+h],h+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+t[r+h],h+=E,l-=8);if(o===0)o=1-p;else{if(o===c)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-p}return(m?-1:1)*u*Math.pow(2,o-n)};Q.write=function(t,r,e,n,i,o){var u,f,c,p=o*8-i-1,l=(1<<p)-1,h=l>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,_=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+h>=1?r+=E/c:r+=E*Math.pow(2,1-h),r*c>=2&&(u++,c/=2),u+h>=l?(f=0,u=l):u+h>=1?(f=(r*c-1)*Math.pow(2,i),u=u+h):(f=r*Math.pow(2,h-1)*Math.pow(2,i),u=0));i>=8;t[e+m]=f&255,m+=_,f/=256,i-=8);for(u=u<<i|f,p+=i;p>0;t[e+m]=u&255,m+=_,u/=256,p-=8);t[e+m-_]|=qr*128}});var Ur=G(b=>{"use strict";s();var z=sr(),S=wr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=ue;b.INSPECT_MAX_BYTES=50;var Y=2147483647;b.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=ee();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ee(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return Fr(t,r,e)}a.poolSize=8192;function Fr(t,r,e){if(typeof t=="string")return ne(t,r);if(ArrayBuffer.isView(t))return ie(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(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(t,SharedArrayBuffer)||t&&B(t.buffer,SharedArrayBuffer)))return K(t,r,e);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 a.from(n,r,e);var i=oe(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return Fr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function gr(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 te(t,r,e){return gr(t),t<=0?U(t):r!==void 0?typeof e=="string"?U(t).fill(r,e):U(t).fill(r):U(t)}a.alloc=function(t,r,e){return te(t,r,e)};function j(t){return gr(t),U(t<0?0:rr(t)|0)}a.allocUnsafe=function(t){return j(t)};a.allocUnsafeSlow=function(t){return j(t)};function ne(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Er(t,r)|0,n=U(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:rr(t.length)|0,e=U(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ie(t){if(B(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function oe(t){if(a.isBuffer(t)){var r=rr(t.length)|0,e=U(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?U(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function rr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ue(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function Er(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(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 e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=Er;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return me(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return se(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function N(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)N(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)N(this,e,e+3),N(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)N(this,e,e+7),N(this,e+1,e+6),N(this,e+2,e+5),N(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ae.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(a.prototype[xr]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,f=n-e,c=Math.min(u,f),p=this.slice(i,o),l=r.slice(e,n),h=0;h<c;++h)if(p[h]!==l[h]){u=p[h],f=l[h];break}return u<f?-1:f<u?1:0};function dr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,u=t.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function c(m,_){return o===1?m[_]:m.readUInt16BE(_*o)}var p;if(i){var l=-1;for(p=e;p<u;p++)if(c(t,p)===c(r,l===-1?0:p-l)){if(l===-1&&(l=p),p-l+1===f)return l*o}else l!==-1&&(p-=p-l),l=-1}else for(e+f>u&&(e=u-f),p=e;p>=0;p--){for(var h=!0,E=0;E<f;E++)if(c(t,p+E)!==c(r,E)){h=!1;break}if(h)return p}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return dr(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return dr(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(er(f))return u;t[e+u]=f}return u}function ce(t,r,e,n){return H(Z(r,t.length-e),t,e,n)}function he(t,r,e,n){return H(de(r),t,e,n)}function pe(t,r,e,n){return H(Ir(r),t,e,n)}function le(t,r,e,n){return H(ve(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>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-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function se(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=e){var c,p,l,h;switch(f){case 1:o<128&&(u=o);break;case 2:c=t[i+1],(c&192)===128&&(h=(o&31)<<6|c&63,h>127&&(u=h));break;case 3:c=t[i+1],p=t[i+2],(c&192)===128&&(p&192)===128&&(h=(o&15)<<12|(c&63)<<6|p&63,h>2047&&(h<55296||h>57343)&&(u=h));break;case 4:c=t[i+1],p=t[i+2],l=t[i+3],(c&192)===128&&(p&192)===128&&(l&192)===128&&(h=(o&15)<<18|(c&63)<<12|(p&63)<<6|l&63,h>65535&&h<1114112&&(u=h))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return we(n)}var mr=4096;function we(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function me(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Be[t[o]];return i}function Fe(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,f=0;for(this[e]=r&255;++f<n&&(u*=256);)this[e+f]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,f=1,c=0;for(this[e]=r&255;++u<n&&(f*=256);)r<0&&c===0&&this[e+u-1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,f=1,c=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&c===0&&this[e+u+1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,4,34028234663852886e22,-34028234663852886e22),S.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return Ar(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return Ar(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,8,17976931348623157e292,-17976931348623157e292),S.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),c=f.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=f[u%c]}return this};var ge=/[^+/0-9A-Za-z-_]/g;function Ee(t){if(t=t.split("=")[0],t=t.trim().replace(ge,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function de(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ve(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return z.toByteArray(Ee(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function B(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var Be=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Dr=G((Se,Nr)=>{s();var w=Nr.exports={},A,T;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=tr}catch(t){A=tr}try{typeof clearTimeout=="function"?T=clearTimeout:T=nr}catch(t){T=nr}})();function Rr(t){if(A===setTimeout)return setTimeout(t,0);if((A===tr||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(r){try{return A.call(null,t,0)}catch(e){return A.call(this,t,0)}}}function Ae(t){if(T===clearTimeout)return clearTimeout(t);if((T===nr||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var R=[],L=!1,D,P=-1;function Te(){!L||!D||(L=!1,D.length?R=D.concat(R):P=-1,R.length&&Cr())}function Cr(){if(!L){var t=Rr(Te);L=!0;for(var r=R.length;r;){for(D=R,R=[];++P<r;)D&&D[P].run();P=-1,r=R.length}D=null,L=!1,Ae(t)}}w.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new kr(t,r)),R.length===1&&!L&&Rr(Cr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function C(){}w.on=C;w.addListener=C;w.once=C;w.off=C;w.removeListener=C;w.removeAllListeners=C;w.emit=C;w.prependListener=C;w.prependOnceListener=C;w.listeners=function(t){return[]};w.binding=function(t){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(t){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var g,v,be,s=Vr(()=>{g=$(Ur()),v=$(Dr()),be=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ce={};$r(Ce,{decodeData:()=>ur,getTokenFromData:()=>Re});module.exports=Xr(Ce);s();var or=require("@multiversx/sdk-core"),V=$(require("bignumber.js"));s();s();var Ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var _r=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(_r||{}),qe=q(q({},M.WindowProviderRequestEnums),_r),Sr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Sr||{}),Ge=q(q({},M.WindowProviderResponseEnums),Sr);s();var br=require("@multiversx/sdk-core");function Ue(t){try{let r=new br.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ue(t)}s();s();function Mr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function Wr(t){let r=t;try{let e=g.Buffer.from(t,"hex").toString();Mr(e)&&e.length>1&&(r=e)}catch(e){}return r}var ir={tokenId:"",amount:""},ur=t=>t.split("@").map((o,u)=>[2,3].includes(u)?o:Wr(o));function Re(t){if(!t)return ir;let r=t.startsWith("ESDTTransfer"),e=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(r){let[,i,o]=t.split("@");try{let u=g.Buffer.from(i,"hex").toString("ascii");if(!u)return ir;let f=new V.default("0x"+o.replace("0x","")).toString(10);return{tokenId:u,amount:f}}catch(u){console.error("Error getting token from transaction data",u)}}if(e)try{let[,i,o,u,f]=ur(t);if([i,o,u,f].every(c=>Boolean(c))&&Lr(new or.Address(f).bech32()))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o,receiver:new or.Address(f).bech32()}}catch(i){}if(n)try{let[,i,o,u]=ur(t);if([i,o,u].every(f=>Boolean(f)))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o}}catch(i){}return ir}0&&(module.exports={decodeData,getTokenFromData});
|
|
1
|
+
"use strict";var Gr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable;var fr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,q=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&fr(t,e,r[e]);if(ar)for(var e of ar(r))Pr.call(r,e)&&fr(t,e,r[e]);return t};var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),$r=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},hr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var $=(t,r,e)=>(e=t!=null?Gr(Hr(t)):{},hr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Xr=t=>hr(W({},"__esModule",{value:!0}),t);var sr=G(O=>{"use strict";s();O.byteLength=zr;O.toByteArray=Kr;O.fromByteArray=re;var E=[],F=[],Qr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(k=0,pr=X.length;k<pr;++k)E[k]=X[k],F[X.charCodeAt(k)]=k;var k,pr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function Kr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Qr(Jr(t,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=F[t.charCodeAt(c)]<<18|F[t.charCodeAt(c+1)]<<12|F[t.charCodeAt(c+2)]<<6|F[t.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=F[t.charCodeAt(c)]<<2|F[t.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=F[t.charCodeAt(c)]<<10|F[t.charCodeAt(c+1)]<<4|F[t.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Zr(t){return E[t>>18&63]+E[t>>12&63]+E[t>>6&63]+E[t&63]}function jr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function re(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,f=e-n;u<f;u+=o)i.push(jr(t,u,u+o>f?f:u+o));return n===1?(r=t[e-1],i.push(E[r>>2]+E[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(E[r>>10]+E[r>>4&63]+E[r<<2&63]+"=")),i.join("")}});var wr=G(Q=>{s();Q.read=function(t,r,e,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,p=c>>1,l=-7,h=e?i-1:0,d=e?-1:1,m=t[r+h];for(h+=d,o=m&(1<<-l)-1,m>>=-l,l+=f;l>0;o=o*256+t[r+h],h+=d,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+t[r+h],h+=d,l-=8);if(o===0)o=1-p;else{if(o===c)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-p}return(m?-1:1)*u*Math.pow(2,o-n)};Q.write=function(t,r,e,n,i,o){var u,f,c,p=o*8-i-1,l=(1<<p)-1,h=l>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,_=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+h>=1?r+=d/c:r+=d*Math.pow(2,1-h),r*c>=2&&(u++,c/=2),u+h>=l?(f=0,u=l):u+h>=1?(f=(r*c-1)*Math.pow(2,i),u=u+h):(f=r*Math.pow(2,h-1)*Math.pow(2,i),u=0));i>=8;t[e+m]=f&255,m+=_,f/=256,i-=8);for(u=u<<i|f,p+=i;p>0;t[e+m]=u&255,m+=_,u/=256,p-=8);t[e+m-_]|=qr*128}});var Ur=G(b=>{"use strict";s();var z=sr(),S=wr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=ue;b.INSPECT_MAX_BYTES=50;var Y=2147483647;b.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=ee();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ee(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return Fr(t,r,e)}a.poolSize=8192;function Fr(t,r,e){if(typeof t=="string")return ne(t,r);if(ArrayBuffer.isView(t))return ie(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(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(t,SharedArrayBuffer)||t&&B(t.buffer,SharedArrayBuffer)))return K(t,r,e);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 a.from(n,r,e);var i=oe(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return Fr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function gr(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 te(t,r,e){return gr(t),t<=0?U(t):r!==void 0?typeof e=="string"?U(t).fill(r,e):U(t).fill(r):U(t)}a.alloc=function(t,r,e){return te(t,r,e)};function j(t){return gr(t),U(t<0?0:rr(t)|0)}a.allocUnsafe=function(t){return j(t)};a.allocUnsafeSlow=function(t){return j(t)};function ne(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=dr(t,r)|0,n=U(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:rr(t.length)|0,e=U(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ie(t){if(B(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function oe(t){if(a.isBuffer(t)){var r=rr(t.length)|0,e=U(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?U(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function rr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ue(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function dr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(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 e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=dr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return me(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return se(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function N(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)N(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)N(this,e,e+3),N(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)N(this,e,e+7),N(this,e+1,e+6),N(this,e+2,e+5),N(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ae.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(a.prototype[xr]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,f=n-e,c=Math.min(u,f),p=this.slice(i,o),l=r.slice(e,n),h=0;h<c;++h)if(p[h]!==l[h]){u=p[h],f=l[h];break}return u<f?-1:f<u?1:0};function Er(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,u=t.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function c(m,_){return o===1?m[_]:m.readUInt16BE(_*o)}var p;if(i){var l=-1;for(p=e;p<u;p++)if(c(t,p)===c(r,l===-1?0:p-l)){if(l===-1&&(l=p),p-l+1===f)return l*o}else l!==-1&&(p-=p-l),l=-1}else for(e+f>u&&(e=u-f),p=e;p>=0;p--){for(var h=!0,d=0;d<f;d++)if(c(t,p+d)!==c(r,d)){h=!1;break}if(h)return p}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return Er(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return Er(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(er(f))return u;t[e+u]=f}return u}function ce(t,r,e,n){return H(Z(r,t.length-e),t,e,n)}function he(t,r,e,n){return H(Ee(r),t,e,n)}function pe(t,r,e,n){return H(Ir(r),t,e,n)}function le(t,r,e,n){return H(ve(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>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-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function se(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=e){var c,p,l,h;switch(f){case 1:o<128&&(u=o);break;case 2:c=t[i+1],(c&192)===128&&(h=(o&31)<<6|c&63,h>127&&(u=h));break;case 3:c=t[i+1],p=t[i+2],(c&192)===128&&(p&192)===128&&(h=(o&15)<<12|(c&63)<<6|p&63,h>2047&&(h<55296||h>57343)&&(u=h));break;case 4:c=t[i+1],p=t[i+2],l=t[i+3],(c&192)===128&&(p&192)===128&&(l&192)===128&&(h=(o&15)<<18|(c&63)<<12|(p&63)<<6|l&63,h>65535&&h<1114112&&(u=h))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return we(n)}var mr=4096;function we(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function me(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Be[t[o]];return i}function Fe(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,f=0;for(this[e]=r&255;++f<n&&(u*=256);)this[e+f]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,f=1,c=0;for(this[e]=r&255;++u<n&&(f*=256);)r<0&&c===0&&this[e+u-1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,f=1,c=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&c===0&&this[e+u+1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,4,34028234663852886e22,-34028234663852886e22),S.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return Ar(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return Ar(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,8,17976931348623157e292,-17976931348623157e292),S.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),c=f.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=f[u%c]}return this};var ge=/[^+/0-9A-Za-z-_]/g;function de(t){if(t=t.split("=")[0],t=t.trim().replace(ge,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Ee(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ve(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return z.toByteArray(de(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function B(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var Be=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Dr=G((Se,Nr)=>{s();var w=Nr.exports={},A,T;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=tr}catch(t){A=tr}try{typeof clearTimeout=="function"?T=clearTimeout:T=nr}catch(t){T=nr}})();function Rr(t){if(A===setTimeout)return setTimeout(t,0);if((A===tr||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(r){try{return A.call(null,t,0)}catch(e){return A.call(this,t,0)}}}function Ae(t){if(T===clearTimeout)return clearTimeout(t);if((T===nr||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var R=[],L=!1,D,P=-1;function Te(){!L||!D||(L=!1,D.length?R=D.concat(R):P=-1,R.length&&Cr())}function Cr(){if(!L){var t=Rr(Te);L=!0;for(var r=R.length;r;){for(D=R,R=[];++P<r;)D&&D[P].run();P=-1,r=R.length}D=null,L=!1,Ae(t)}}w.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new kr(t,r)),R.length===1&&!L&&Rr(Cr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function C(){}w.on=C;w.addListener=C;w.once=C;w.off=C;w.removeListener=C;w.removeAllListeners=C;w.emit=C;w.prependListener=C;w.prependOnceListener=C;w.listeners=function(t){return[]};w.binding=function(t){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(t){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var g,v,be,s=Vr(()=>{g=$(Ur()),v=$(Dr()),be=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ce={};$r(Ce,{decodeData:()=>ur,getTokenFromData:()=>Re});module.exports=Xr(Ce);s();var or=require("@multiversx/sdk-core"),V=$(require("bignumber.js"));s();s();var Ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var _r=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(_r||{}),qe=q(q({},M.WindowProviderRequestEnums),_r),Sr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Sr||{}),Ge=q(q({},M.WindowProviderResponseEnums),Sr);s();var br=require("@multiversx/sdk-core");function Ue(t){try{let r=new br.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ue(t)}s();s();function Mr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function Wr(t){let r=t;try{let e=g.Buffer.from(t,"hex").toString();Mr(e)&&e.length>1&&(r=e)}catch(e){}return r}var ir={tokenId:"",amount:""},ur=t=>t.split("@").map((o,u)=>[2,3].includes(u)?o:Wr(o));function Re(t){if(!t)return ir;let r=t.startsWith("ESDTTransfer"),e=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(r){let[,i,o]=t.split("@");try{let u=g.Buffer.from(i,"hex").toString("ascii");if(!u)return ir;let f=new V.default("0x"+o.replace("0x","")).toString(10);return{tokenId:u,amount:f}}catch(u){console.error("Error getting token from transaction data",u)}}if(e)try{let[,i,o,u,f]=ur(t);if([i,o,u,f].every(c=>Boolean(c))&&Lr(new or.Address(f).bech32()))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o,receiver:new or.Address(f).bech32()}}catch(i){}if(n)try{let[,i,o,u]=ur(t);if([i,o,u].every(f=>Boolean(f)))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o}}catch(i){}return ir}0&&(module.exports={decodeData,getTokenFromData});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|