@multiversx/sdk-dapp 4.5.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/Pagination/Pagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
- package/UI/Pagination/helpers/getPagination/index.js +1 -1
- package/UI/Pagination/helpers/index.js +1 -1
- package/UI/Pagination/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.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/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-Z3BHYWI2.js → chunk-2K2I7POW.js} +2 -2
- package/__chunks__/{chunk-YVDQRW6Z.js → chunk-2NDFZFFA.js} +2 -2
- package/__chunks__/{chunk-JQOAJCEE.js → chunk-2OMXS33B.js} +2 -2
- package/__chunks__/{chunk-NMQOTJVE.js → chunk-2UPRUAJD.js} +2 -2
- package/__chunks__/{chunk-5NLDE2M6.js → chunk-2WK27JLL.js} +2 -2
- package/__chunks__/{chunk-IU4XYDFL.js → chunk-35IMGEGS.js} +2 -2
- package/__chunks__/{chunk-753ZKERX.js → chunk-36J2YD36.js} +2 -2
- package/__chunks__/{chunk-E445ZLFG.js → chunk-3ASMFH3M.js} +2 -2
- package/__chunks__/chunk-3DLCJJT3.js +2 -0
- package/__chunks__/{chunk-XY2ADFOV.js → chunk-3FLBDMZL.js} +2 -2
- package/__chunks__/{chunk-23YQWJ53.js → chunk-3ITNC4BR.js} +2 -2
- package/__chunks__/{chunk-N2YFQIHN.js → chunk-3LI4G6J5.js} +2 -2
- package/__chunks__/{chunk-OMUZRB52.js → chunk-3LNZUSHQ.js} +2 -2
- package/__chunks__/{chunk-NW3NUEH4.js → chunk-3MH6BOK2.js} +2 -2
- package/__chunks__/{chunk-53MJS2UN.js → chunk-3OFQJ5EE.js} +2 -2
- package/__chunks__/{chunk-LYQHJMVE.js → chunk-3XJAG4WD.js} +2 -2
- package/__chunks__/{chunk-35DEXYGI.js → chunk-44CRUFPA.js} +2 -2
- package/__chunks__/{chunk-3WQ4IBE4.js → chunk-4AYROJTH.js} +2 -2
- package/__chunks__/{chunk-N6D4CBS3.js → chunk-4EMLN6H7.js} +2 -2
- package/__chunks__/{chunk-INLSUUDL.js → chunk-4FDCZ72Q.js} +2 -2
- package/__chunks__/{chunk-VPRAZBFT.js → chunk-4GTSITDA.js} +2 -2
- package/__chunks__/{chunk-BMQ2D6AI.js → chunk-4HDJTTN5.js} +2 -2
- package/__chunks__/{chunk-IFCVOGBC.js → chunk-4IRXMJL2.js} +2 -2
- package/__chunks__/{chunk-MC3NWM2P.js → chunk-4KDGJ5YP.js} +2 -2
- package/__chunks__/{chunk-WF2453OL.js → chunk-4NLJWHH4.js} +2 -2
- package/__chunks__/{chunk-WBYKDP4P.js → chunk-4QF3Q4BD.js} +2 -2
- package/__chunks__/{chunk-IPF5D5U6.js → chunk-4SU4BMTK.js} +2 -2
- package/__chunks__/{chunk-KXVWXU7X.js → chunk-4TYYEUKJ.js} +2 -2
- package/__chunks__/{chunk-VDKCS5XV.js → chunk-4VUQ6AJV.js} +2 -2
- package/__chunks__/{chunk-7MD6JYSE.js → chunk-4X4YGCNU.js} +2 -2
- package/__chunks__/{chunk-YC4PYJSV.js → chunk-4X7CLN37.js} +2 -2
- package/__chunks__/chunk-54HQEPKH.js +2 -0
- package/__chunks__/{chunk-CTZRMAIE.js → chunk-56WHADDT.js} +2 -2
- package/__chunks__/{chunk-SYNQCYKY.js → chunk-5AA4GXNY.js} +2 -2
- package/__chunks__/{chunk-WHY4HSMI.js → chunk-5EV3AWHZ.js} +2 -2
- package/__chunks__/chunk-5F4AET3X.js +2 -0
- package/__chunks__/{chunk-OMINC7E6.js → chunk-5JW5RYZG.js} +2 -2
- package/__chunks__/chunk-5OVPPTAT.js +2 -0
- package/__chunks__/{chunk-CBB3SAMO.js → chunk-5QQBGBO6.js} +2 -2
- package/__chunks__/{chunk-IAMOD6DB.js → chunk-5VZ37H4A.js} +2 -2
- package/__chunks__/{chunk-BLWQF7RV.js → chunk-66LBGFRZ.js} +2 -2
- package/__chunks__/chunk-6BIBC3R3.js +2 -0
- package/__chunks__/chunk-6G4W7Y3U.js +2 -0
- package/__chunks__/{chunk-YSH7GZ72.js → chunk-6PGMCNST.js} +2 -2
- package/__chunks__/{chunk-CAQE3LB5.js → chunk-6SJCQU3L.js} +2 -2
- package/__chunks__/{chunk-AO5NJUJ5.js → chunk-6USVZZ6Q.js} +2 -2
- package/__chunks__/{chunk-KIVUCBDI.js → chunk-6WFSCYTL.js} +2 -2
- package/__chunks__/{chunk-LLYCQY4F.js → chunk-6Z4IIJB3.js} +2 -2
- package/__chunks__/{chunk-5UWMFB5V.js → chunk-75CVQ6GE.js} +2 -2
- package/__chunks__/{chunk-CNJYC4ME.js → chunk-7M5GCSH6.js} +2 -2
- package/__chunks__/chunk-7SBQ3LEX.js +2 -0
- package/__chunks__/{chunk-OEYDXF7S.js → chunk-7UCDGHRA.js} +2 -2
- package/__chunks__/{chunk-XLZEJFGA.js → chunk-7ULKRQFD.js} +2 -2
- package/__chunks__/{chunk-FLHFOQWH.js → chunk-7XFQ6AIO.js} +2 -2
- package/__chunks__/{chunk-WRFRJHHT.js → chunk-7YK3453O.js} +2 -2
- package/__chunks__/chunk-AAHCQZFX.js +2 -0
- package/__chunks__/{chunk-4J7T3ITM.js → chunk-AB5HSFHR.js} +2 -2
- package/__chunks__/{chunk-YXCA6OWH.js → chunk-AD2G7ML2.js} +2 -2
- package/__chunks__/{chunk-UMMDHDDK.js → chunk-ADEFMXJL.js} +2 -2
- package/__chunks__/{chunk-S7A5K4N6.js → chunk-AFSN2BHB.js} +2 -2
- package/__chunks__/chunk-AIOEYTOG.js +2 -0
- package/__chunks__/chunk-AOBYVG7C.js +2 -0
- package/__chunks__/{chunk-QQBLDHHX.js → chunk-APCIKBV6.js} +2 -2
- package/__chunks__/{chunk-WVFNSSLI.js → chunk-APGVNXFV.js} +2 -2
- package/__chunks__/{chunk-ZCBY7D6F.js → chunk-ARM7CW7F.js} +2 -2
- package/__chunks__/{chunk-FDHEJ7TD.js → chunk-ATPOT5O4.js} +2 -2
- package/__chunks__/chunk-AW5DF4SB.js +2 -0
- package/__chunks__/chunk-B6SRZVD4.js +2 -0
- package/__chunks__/{chunk-7JHWHHOA.js → chunk-B6SZ3LU7.js} +2 -2
- package/__chunks__/{chunk-IN2RGX66.js → chunk-B75YSVLP.js} +2 -2
- package/__chunks__/{chunk-HZXRDHWZ.js → chunk-BECPO6EF.js} +2 -2
- package/__chunks__/{chunk-H36F2DC6.js → chunk-BF657KHL.js} +2 -2
- package/__chunks__/chunk-BGQFAV2J.js +2 -0
- package/__chunks__/chunk-BGT54OVS.js +2 -0
- package/__chunks__/{chunk-DPE6LMNH.js → chunk-BIUS2EVV.js} +2 -2
- package/__chunks__/{chunk-NT7GWM46.js → chunk-BJ5NMDKV.js} +2 -2
- package/__chunks__/{chunk-ZBMS25W3.js → chunk-BJ6C74OV.js} +2 -2
- package/__chunks__/{chunk-MTKIP56T.js → chunk-BLUCNNR2.js} +2 -2
- package/__chunks__/{chunk-THPXO2GZ.js → chunk-BPGX25LY.js} +2 -2
- package/__chunks__/{chunk-ZPLBE5I4.js → chunk-BU7GTULJ.js} +2 -2
- package/__chunks__/{chunk-G6RECRW4.js → chunk-BVOVWN5Y.js} +2 -2
- package/__chunks__/{chunk-AIS2COIW.js → chunk-BWGLODP6.js} +2 -2
- package/__chunks__/{chunk-GRQGQ3NE.js → chunk-BWX4676R.js} +2 -2
- package/__chunks__/chunk-BXKSPPIC.js +2 -0
- package/__chunks__/{chunk-2KKODEHE.js → chunk-CB4GEA4S.js} +2 -2
- package/__chunks__/chunk-CFRLFYAV.js +2 -0
- package/__chunks__/{chunk-P23Q3D4G.js → chunk-CGXJFVZM.js} +2 -2
- package/__chunks__/{chunk-7G3HPM22.js → chunk-CH3C53AO.js} +2 -2
- package/__chunks__/chunk-CINXL6S6.js +2 -0
- package/__chunks__/chunk-CMT2YLHS.js +2 -0
- package/__chunks__/{chunk-3DAQVHZA.js → chunk-COIOGDTJ.js} +2 -2
- package/__chunks__/{chunk-AWMNYB42.js → chunk-CPEXDCSU.js} +2 -2
- package/__chunks__/chunk-CQVG7IY4.js +2 -0
- package/__chunks__/{chunk-USAAXM5Q.js → chunk-CT2QI4K2.js} +2 -2
- package/__chunks__/{chunk-QTDF6V5P.js → chunk-CUGUE4LD.js} +2 -2
- package/__chunks__/chunk-CUKB5INY.js +2 -0
- package/__chunks__/{chunk-NLJWAMY7.js → chunk-CWN2QGRT.js} +2 -2
- package/__chunks__/{chunk-FYNDKXBZ.js → chunk-CX6KTHP5.js} +2 -2
- package/__chunks__/{chunk-X3JHZFAE.js → chunk-CX7KCL5H.js} +2 -2
- package/__chunks__/{chunk-QKFY3IKC.js → chunk-D3MHXO7L.js} +2 -2
- package/__chunks__/{chunk-4D6NBDW2.js → chunk-DDWRCCCZ.js} +2 -2
- package/__chunks__/{chunk-CJWOZ7WH.js → chunk-DG4FPIVJ.js} +2 -2
- package/__chunks__/{chunk-6XXPSZN5.js → chunk-DGEGNXMM.js} +2 -2
- package/__chunks__/chunk-DKU4VSVV.js +2 -0
- package/__chunks__/{chunk-YYHAWMRH.js → chunk-DM4BJXEM.js} +2 -2
- package/__chunks__/{chunk-UWNULMVI.js → chunk-DMULRVRA.js} +2 -2
- package/__chunks__/{chunk-7KAAWHQR.js → chunk-DRS3U275.js} +2 -2
- package/__chunks__/{chunk-H2LOTPFT.js → chunk-DZSMQIIA.js} +2 -2
- package/__chunks__/{chunk-BLDYFAMF.js → chunk-E6Q2Y3W3.js} +2 -2
- package/__chunks__/{chunk-KPLDAPRZ.js → chunk-E6TYN2RW.js} +2 -2
- package/__chunks__/{chunk-DQZ5XI37.js → chunk-EMLCTW7A.js} +2 -2
- package/__chunks__/{chunk-HKXLCM7L.js → chunk-EMVCPTHR.js} +2 -2
- package/__chunks__/{chunk-EREZSUUB.js → chunk-EO6HXDCR.js} +2 -2
- package/__chunks__/{chunk-OKHUJ6CT.js → chunk-EPVNC46A.js} +2 -2
- package/__chunks__/{chunk-ZYLKUSOM.js → chunk-EYQC3ENH.js} +2 -2
- package/__chunks__/{chunk-6UTDKIJQ.js → chunk-F3NQDSS7.js} +2 -2
- package/__chunks__/chunk-FC4AKO7M.js +2 -0
- package/__chunks__/{chunk-L2OZR2CY.js → chunk-FDIU3DMA.js} +2 -2
- package/__chunks__/{chunk-IHMIYIXV.js → chunk-FEFMKBHU.js} +2 -2
- package/__chunks__/{chunk-KZSL52ES.js → chunk-FIU4IYCF.js} +2 -2
- package/__chunks__/{chunk-C6OAICVO.js → chunk-FJ3NU4RP.js} +2 -2
- package/__chunks__/{chunk-R7PG4CX5.js → chunk-FZDOJFOW.js} +2 -2
- package/__chunks__/{chunk-OADCTH2V.js → chunk-G2JNPFUT.js} +2 -2
- package/__chunks__/chunk-G36Z3MYL.js +2 -0
- package/__chunks__/{chunk-HOTZHU6C.js → chunk-GDVUBIAA.js} +2 -2
- package/__chunks__/chunk-GEEKB72J.js +2 -0
- package/__chunks__/{chunk-SWUZLNZF.js → chunk-GFTHBT5S.js} +2 -2
- package/__chunks__/{chunk-OUI3PAS7.js → chunk-GGVRPC44.js} +2 -2
- package/__chunks__/{chunk-V45PX7SK.js → chunk-GI4FSMXP.js} +2 -2
- package/__chunks__/chunk-GIORI2OH.js +2 -0
- package/__chunks__/{chunk-VIIMPGHZ.js → chunk-GSEUOARU.js} +2 -2
- package/__chunks__/{chunk-RK4EFPVI.js → chunk-GXB2HDQT.js} +2 -2
- package/__chunks__/{chunk-6BWEAQYK.js → chunk-H2OAZP4M.js} +2 -2
- package/__chunks__/{chunk-OMEZRPYI.js → chunk-H3SVFYNB.js} +2 -2
- package/__chunks__/{chunk-KTHN7K4J.js → chunk-H6MUJD4E.js} +2 -2
- package/__chunks__/{chunk-5HE26PEM.js → chunk-HAQS3VTI.js} +2 -2
- package/__chunks__/{chunk-TFYCUHSH.js → chunk-HBPDRU2X.js} +2 -2
- package/__chunks__/{chunk-ORUY525X.js → chunk-HCSOTX7M.js} +2 -2
- package/__chunks__/{chunk-PIBSWY65.js → chunk-HJ365HGN.js} +2 -2
- package/__chunks__/{chunk-OB7A2DQB.js → chunk-HJS7UPLA.js} +2 -2
- package/__chunks__/{chunk-WT53PGGK.js → chunk-HNQE3MUU.js} +2 -2
- package/__chunks__/chunk-HU3KKNCO.js +2 -0
- package/__chunks__/chunk-HZG4VDTB.js +2 -0
- package/__chunks__/{chunk-D2FZ3AY6.js → chunk-IBRCVMB3.js} +2 -2
- package/__chunks__/{chunk-ONSQEJQ7.js → chunk-ICBJRFED.js} +2 -2
- package/__chunks__/{chunk-5GOVGL5F.js → chunk-IOB7ZE6S.js} +2 -2
- package/__chunks__/{chunk-U6ZMO2NF.js → chunk-IPFJF54U.js} +2 -2
- package/__chunks__/{chunk-K2REVJW5.js → chunk-IS5TGR57.js} +2 -2
- package/__chunks__/{chunk-MSC3X6UJ.js → chunk-IY32SQ2N.js} +2 -2
- package/__chunks__/{chunk-4EH75OYN.js → chunk-IZ326AFU.js} +2 -2
- package/__chunks__/{chunk-45IK7E3E.js → chunk-J2WDVSN3.js} +2 -2
- package/__chunks__/{chunk-EOADUL42.js → chunk-J3YUJE2R.js} +2 -2
- package/__chunks__/{chunk-VHE5W3LK.js → chunk-J4F5N3ZT.js} +2 -2
- package/__chunks__/{chunk-HRI3IU3O.js → chunk-J5V3BK3K.js} +2 -2
- package/__chunks__/{chunk-XLIHKENR.js → chunk-JEEIA3PW.js} +2 -2
- package/__chunks__/{chunk-2ILBLRYP.js → chunk-JICIOSCH.js} +2 -2
- package/__chunks__/{chunk-PUKSSL4B.js → chunk-JKZAYYS7.js} +2 -2
- package/__chunks__/{chunk-AWTCUL56.js → chunk-JLILH67N.js} +2 -2
- package/__chunks__/{chunk-KNR666GN.js → chunk-JNLAZTS4.js} +2 -2
- package/__chunks__/{chunk-NBRXKEWE.js → chunk-JOWEGCWE.js} +2 -2
- package/__chunks__/chunk-JQJQ7LHF.js +2 -0
- package/__chunks__/{chunk-OWQN4SST.js → chunk-JQXPZ6QT.js} +2 -2
- package/__chunks__/chunk-JR45NQ66.js +2 -0
- package/__chunks__/{chunk-CNMPGSI4.js → chunk-K2S5LXYA.js} +2 -2
- package/__chunks__/{chunk-4UI7AJUB.js → chunk-K2X5ELXZ.js} +2 -2
- package/__chunks__/{chunk-2TNJWI6O.js → chunk-K7ZPCXVP.js} +2 -2
- package/__chunks__/chunk-KBJOYGV3.js +2 -0
- package/__chunks__/{chunk-CLMEZF3T.js → chunk-KIAMT7PX.js} +2 -2
- package/__chunks__/{chunk-C6FWOIAJ.js → chunk-KLOCMESI.js} +2 -2
- package/__chunks__/chunk-KR4AUSGR.js +2 -0
- package/__chunks__/{chunk-AUTX2AU4.js → chunk-KSQBMD6F.js} +2 -2
- package/__chunks__/{chunk-2Q2YI5BP.js → chunk-KUWKJTM3.js} +2 -2
- package/__chunks__/{chunk-PB26C735.js → chunk-KWB3CSYB.js} +2 -2
- package/__chunks__/{chunk-AUV2YMMV.js → chunk-KWQEBYAL.js} +2 -2
- package/__chunks__/chunk-KYNY6J5Y.js +2 -0
- package/__chunks__/chunk-LE6GU2X4.js +2 -0
- package/__chunks__/{chunk-CZU5I22H.js → chunk-LIELXMI3.js} +2 -2
- package/__chunks__/chunk-LK3GLF7O.js +2 -0
- package/__chunks__/{chunk-XJUJRMW2.js → chunk-LLGTKTPK.js} +2 -2
- package/__chunks__/{chunk-A2IGIV7E.js → chunk-LLZNCZE6.js} +2 -2
- package/__chunks__/{chunk-W4VJ6KST.js → chunk-LNSE5XNM.js} +2 -2
- package/__chunks__/{chunk-KEG5V3YK.js → chunk-LOQ76KHF.js} +2 -2
- package/__chunks__/chunk-LQBB552V.js +2 -0
- package/__chunks__/chunk-LS7ZYS4M.js +2 -0
- package/__chunks__/{chunk-MN6IA7DE.js → chunk-LZWGCXQS.js} +2 -2
- package/__chunks__/{chunk-DB3X3DBS.js → chunk-M3EARCD3.js} +2 -2
- package/__chunks__/{chunk-LAHEZYF6.js → chunk-M5JEB3JX.js} +2 -2
- package/__chunks__/chunk-M5OD2X65.js +2 -0
- package/__chunks__/{chunk-SBAXVPVV.js → chunk-MDG6MATJ.js} +2 -2
- package/__chunks__/chunk-MELVLLHR.js +2 -0
- package/__chunks__/{chunk-ISO2AWEE.js → chunk-MGO2OJJR.js} +2 -2
- package/__chunks__/{chunk-4SDU6RPN.js → chunk-MJQLD33A.js} +2 -2
- package/__chunks__/chunk-MNWCBW5Y.js +2 -0
- package/__chunks__/{chunk-MYKHD6TD.js → chunk-MR4F7VN3.js} +2 -2
- package/__chunks__/{chunk-QAHRORZG.js → chunk-MTUOEG4L.js} +2 -2
- package/__chunks__/chunk-MXGXIZED.js +2 -0
- package/__chunks__/{chunk-BXJIXZFJ.js → chunk-MYCI2XL6.js} +2 -2
- package/__chunks__/{chunk-BSTV7EXM.js → chunk-N3BJ42WD.js} +2 -2
- package/__chunks__/{chunk-FBN5LHMU.js → chunk-N3S4PVNK.js} +2 -2
- package/__chunks__/{chunk-ZTQDAQIB.js → chunk-N7SQSNMP.js} +2 -2
- package/__chunks__/chunk-NDVYP4GL.js +2 -0
- package/__chunks__/{chunk-B5J4WVB2.js → chunk-NGKIF246.js} +2 -2
- package/__chunks__/chunk-NIGPIPSW.js +2 -0
- package/__chunks__/chunk-NJMDHZIK.js +2 -0
- package/__chunks__/{chunk-NPJOOCZ7.js → chunk-NMKEUZS6.js} +2 -2
- package/__chunks__/{chunk-LHPFWKUO.js → chunk-NO5JSFSP.js} +2 -2
- package/__chunks__/{chunk-67WBRVY5.js → chunk-NRGXWLE3.js} +2 -2
- package/__chunks__/chunk-NT56YZIX.js +2 -0
- package/__chunks__/{chunk-HTJUWOTH.js → chunk-NTXARDKH.js} +2 -2
- package/__chunks__/chunk-NXPG6E4S.js +2 -0
- package/__chunks__/{chunk-I23RFGCU.js → chunk-NXSIIFLS.js} +2 -2
- package/__chunks__/{chunk-T6BGDGI4.js → chunk-O2K6SRXS.js} +2 -2
- package/__chunks__/{chunk-WCES5BZL.js → chunk-O2WWOVAA.js} +2 -2
- package/__chunks__/{chunk-ZX34BIQY.js → chunk-O77TEM5H.js} +2 -2
- package/__chunks__/{chunk-6CHMDMOI.js → chunk-OBKZA6WE.js} +2 -2
- package/__chunks__/{chunk-PHMNM5J6.js → chunk-ODFJ4D3P.js} +2 -2
- package/__chunks__/{chunk-WH3DQSON.js → chunk-OEMMQBND.js} +2 -2
- package/__chunks__/{chunk-D6GAS366.js → chunk-OGWPFO2E.js} +2 -2
- package/__chunks__/{chunk-5YBHFKIF.js → chunk-OJJCYG3B.js} +2 -2
- package/__chunks__/{chunk-OTLA6FLL.js → chunk-OJXKCUI6.js} +2 -2
- package/__chunks__/{chunk-L6HAFP2H.js → chunk-OKDLNCLS.js} +2 -2
- package/__chunks__/{chunk-QZT2SFMM.js → chunk-OLTIGYTD.js} +2 -2
- package/__chunks__/chunk-OLXMTV3K.js +2 -0
- package/__chunks__/{chunk-5BDF4YMO.js → chunk-ORKOMULF.js} +2 -2
- package/__chunks__/{chunk-AB3PZCYE.js → chunk-OUQUVMP5.js} +2 -2
- package/__chunks__/{chunk-SXKWSF42.js → chunk-OVQY55MU.js} +2 -2
- package/__chunks__/{chunk-FKXDLGWC.js → chunk-P3OIVL6D.js} +2 -2
- package/__chunks__/chunk-P3WBUHDD.js +2 -0
- package/__chunks__/{chunk-HGPBGLTH.js → chunk-P563BKWF.js} +2 -2
- package/__chunks__/{chunk-AFCV3QID.js → chunk-PDA5OY3Q.js} +2 -2
- package/__chunks__/{chunk-LBWDM2WS.js → chunk-PG2EUCFN.js} +2 -2
- package/__chunks__/{chunk-YG27VNDE.js → chunk-PIW74OD5.js} +2 -2
- package/__chunks__/{chunk-BX5HH547.js → chunk-PNHQ2N3L.js} +2 -2
- package/__chunks__/{chunk-H5T2IEFD.js → chunk-PPIRVTWC.js} +2 -2
- package/__chunks__/{chunk-TKVDUKJ5.js → chunk-PRFA6SXP.js} +2 -2
- package/__chunks__/{chunk-TGYN752O.js → chunk-PRSAX766.js} +2 -2
- package/__chunks__/{chunk-BHSNVNQO.js → chunk-PSWY5DES.js} +2 -2
- package/__chunks__/{chunk-YG7UA67K.js → chunk-Q4F7QCMB.js} +2 -2
- package/__chunks__/{chunk-W4GHVZZI.js → chunk-Q74F5K2H.js} +2 -2
- package/__chunks__/{chunk-SZEUI4OR.js → chunk-Q74FEJZV.js} +2 -2
- package/__chunks__/chunk-Q76COMSQ.js +2 -0
- package/__chunks__/{chunk-ON5LP6JP.js → chunk-Q7VFYYE6.js} +2 -2
- package/__chunks__/chunk-QC2HODGU.js +2 -0
- package/__chunks__/{chunk-3VM4WTSL.js → chunk-QCXE5MDH.js} +2 -2
- package/__chunks__/{chunk-GUYURVJK.js → chunk-QG55NZL3.js} +2 -2
- package/__chunks__/{chunk-BC3IQLZJ.js → chunk-QGOMOCS5.js} +2 -2
- package/__chunks__/{chunk-ZTEUU5H5.js → chunk-QOD57VGA.js} +2 -2
- package/__chunks__/{chunk-AFWXD6D2.js → chunk-QU32YKRN.js} +2 -2
- package/__chunks__/{chunk-IIIUTIXU.js → chunk-QVC437DJ.js} +2 -2
- package/__chunks__/{chunk-US37PFYF.js → chunk-QVN57DZM.js} +2 -2
- package/__chunks__/{chunk-3S44WZ6S.js → chunk-QYYRMYZZ.js} +2 -2
- package/__chunks__/{chunk-DGJNZAH7.js → chunk-R5JHOYMG.js} +2 -2
- package/__chunks__/{chunk-XHESHVFW.js → chunk-RKOYLBHX.js} +2 -2
- package/__chunks__/{chunk-5RMZNCGN.js → chunk-RLJQFYZO.js} +2 -2
- package/__chunks__/{chunk-YLCNB656.js → chunk-RNKMCLKC.js} +2 -2
- package/__chunks__/{chunk-CDDW2IBX.js → chunk-RNR7TM4C.js} +2 -2
- package/__chunks__/{chunk-Y5MSFSID.js → chunk-RPLMYIHO.js} +2 -2
- package/__chunks__/{chunk-I3KUOXAQ.js → chunk-RV5MR57H.js} +2 -2
- package/__chunks__/{chunk-GCIT5EQL.js → chunk-RWM2DX2N.js} +2 -2
- package/__chunks__/{chunk-QTEMRGTF.js → chunk-RWRE7J6C.js} +2 -2
- package/__chunks__/{chunk-IIVIW4IU.js → chunk-S35OO5TF.js} +2 -2
- package/__chunks__/chunk-S3LHPV2C.js +2 -0
- package/__chunks__/{chunk-EIOQ4AZU.js → chunk-S42LSTGT.js} +2 -2
- package/__chunks__/{chunk-AUCWY6HH.js → chunk-S44ARFAW.js} +2 -2
- package/__chunks__/{chunk-OWLKFN3L.js → chunk-S67USAUD.js} +2 -2
- package/__chunks__/{chunk-BVHM5RCS.js → chunk-SITMCCOG.js} +2 -2
- package/__chunks__/{chunk-747W4CCW.js → chunk-SP4WXLGN.js} +2 -2
- package/__chunks__/{chunk-QAILRCL2.js → chunk-SUFG3P2I.js} +2 -2
- package/__chunks__/{chunk-7O6FTRXC.js → chunk-T3ZE2WFR.js} +2 -2
- package/__chunks__/{chunk-K6Z6FB2Z.js → chunk-T6XTMCQC.js} +2 -2
- package/__chunks__/{chunk-TRHXE2FH.js → chunk-TC2WVD6T.js} +2 -2
- package/__chunks__/chunk-TCEQHR33.js +2 -0
- package/__chunks__/{chunk-J55FTVT5.js → chunk-TDHAGKBY.js} +2 -2
- package/__chunks__/chunk-TGYMSW3J.js +2 -0
- package/__chunks__/{chunk-HYAP5S7Y.js → chunk-TIJP4PS7.js} +2 -2
- package/__chunks__/chunk-TOKNON6B.js +2 -0
- package/__chunks__/{chunk-2YJ77Q6U.js → chunk-TPTPBUTP.js} +2 -2
- package/__chunks__/{chunk-2AFSONSG.js → chunk-TR2WXKZY.js} +2 -2
- package/__chunks__/{chunk-H466TX27.js → chunk-TUQKHHOA.js} +2 -2
- package/__chunks__/{chunk-J2Y6GBC2.js → chunk-TZ5PMIJ3.js} +2 -2
- package/__chunks__/{chunk-22SSNQZC.js → chunk-TZIVVSS6.js} +2 -2
- package/__chunks__/{chunk-N77RIXSH.js → chunk-U2KLQAGM.js} +2 -2
- package/__chunks__/{chunk-TAQCSBSJ.js → chunk-U32PX6NF.js} +2 -2
- package/__chunks__/{chunk-2L4SILFQ.js → chunk-U3XBUPXD.js} +2 -2
- package/__chunks__/{chunk-AWKMJ6BH.js → chunk-U4CDBI6P.js} +2 -2
- package/__chunks__/{chunk-25Z4RRV2.js → chunk-U62E2JHZ.js} +2 -2
- package/__chunks__/chunk-UBSBJF3A.js +2 -0
- package/__chunks__/{chunk-XDWFAAXF.js → chunk-UDJZII4B.js} +2 -2
- package/__chunks__/{chunk-5ERYPF64.js → chunk-UGJQKACR.js} +2 -2
- package/__chunks__/chunk-UNR5DH2P.js +2 -0
- package/__chunks__/chunk-UNV565VI.js +2 -0
- package/__chunks__/{chunk-AC6CKWKK.js → chunk-UOF2PVU3.js} +2 -2
- package/__chunks__/{chunk-ZZC6YAK2.js → chunk-UQSSY2CE.js} +2 -2
- package/__chunks__/chunk-UZGZ2ISZ.js +2 -0
- package/__chunks__/{chunk-XCYTLFVY.js → chunk-UZYWNRXB.js} +2 -2
- package/__chunks__/{chunk-FOMXUSAM.js → chunk-VCDU5F5F.js} +2 -2
- package/__chunks__/chunk-VH5LM3UB.js +2 -0
- package/__chunks__/{chunk-CJNQHFTG.js → chunk-VKH7RCJZ.js} +2 -2
- package/__chunks__/{chunk-GZERAGVT.js → chunk-VKL3IX6D.js} +2 -2
- package/__chunks__/{chunk-6OW2H4GX.js → chunk-VLKMA43H.js} +2 -2
- package/__chunks__/{chunk-67RP574Q.js → chunk-VOLV2VKJ.js} +2 -2
- package/__chunks__/{chunk-PSPRNXGD.js → chunk-VSI5CFOL.js} +2 -2
- package/__chunks__/{chunk-KXEIICKC.js → chunk-VX22PWSV.js} +2 -2
- package/__chunks__/{chunk-UZXHNLYR.js → chunk-VZZWVSGN.js} +2 -2
- package/__chunks__/{chunk-KT55VLK7.js → chunk-W6OHCIBK.js} +2 -2
- package/__chunks__/chunk-WBABHHWB.js +2 -0
- package/__chunks__/{chunk-2OXZHY47.js → chunk-WG6VCGOH.js} +2 -2
- package/__chunks__/{chunk-KQLXRMEE.js → chunk-WHCSXRYV.js} +2 -2
- package/__chunks__/{chunk-2C47U57W.js → chunk-WJ2GENHB.js} +2 -2
- package/__chunks__/{chunk-M45Q3B6D.js → chunk-WOWQGT7T.js} +2 -2
- package/__chunks__/{chunk-6IRIYBXO.js → chunk-WPDQHXZM.js} +2 -2
- package/__chunks__/{chunk-LQ4H4XMZ.js → chunk-WSG6OJID.js} +2 -2
- package/__chunks__/{chunk-SNG6AUN5.js → chunk-WSJ4FZAD.js} +2 -2
- package/__chunks__/{chunk-XSJL7C5B.js → chunk-WXMF242R.js} +2 -2
- package/__chunks__/{chunk-OITS4WSY.js → chunk-WYIOA2CW.js} +2 -2
- package/__chunks__/{chunk-QHH3TL5J.js → chunk-WZEXDOL3.js} +2 -2
- package/__chunks__/{chunk-LC7VM2V2.js → chunk-X2LMCP63.js} +2 -2
- package/__chunks__/{chunk-3KBIJZ5B.js → chunk-X3OARZY4.js} +2 -2
- package/__chunks__/{chunk-XRF5BC57.js → chunk-X65KMBSX.js} +2 -2
- package/__chunks__/{chunk-CZ67K2JP.js → chunk-XBWMKBSN.js} +2 -2
- package/__chunks__/{chunk-AN4EQXPW.js → chunk-XDNPLITT.js} +2 -2
- package/__chunks__/{chunk-KZYHCUBK.js → chunk-XFSTF6UC.js} +2 -2
- package/__chunks__/chunk-XH77T23W.js +2 -0
- package/__chunks__/{chunk-UOALD6V5.js → chunk-XNLN42WC.js} +2 -2
- package/__chunks__/{chunk-A7SBHPK3.js → chunk-XOBLTJNU.js} +2 -2
- package/__chunks__/{chunk-NJG4RGRY.js → chunk-XSFCMLI3.js} +2 -2
- package/__chunks__/{chunk-46Q4JMMY.js → chunk-XT6L5CMF.js} +2 -2
- package/__chunks__/{chunk-B77YM2QS.js → chunk-XU33WKHX.js} +2 -2
- package/__chunks__/{chunk-ZI35GMEV.js → chunk-XUEPSM7T.js} +2 -2
- package/__chunks__/{chunk-2UHZELCK.js → chunk-XXISC3KD.js} +2 -2
- package/__chunks__/{chunk-L23BUP6N.js → chunk-XXSB4UGQ.js} +2 -2
- package/__chunks__/{chunk-ZPCED2P2.js → chunk-XXWCVDZO.js} +2 -2
- package/__chunks__/{chunk-Z2KDG7AO.js → chunk-YBPRSVO6.js} +2 -2
- package/__chunks__/{chunk-Z6OXO2BW.js → chunk-YC2CGRNI.js} +2 -2
- package/__chunks__/chunk-YH6HFGXF.js +2 -0
- package/__chunks__/{chunk-XCVB7MGI.js → chunk-YIWF5JW6.js} +2 -2
- package/__chunks__/{chunk-TRTXE3Z7.js → chunk-YK7LH7KM.js} +2 -2
- package/__chunks__/{chunk-CDI4B37I.js → chunk-YQ6NUZ2W.js} +2 -2
- package/__chunks__/chunk-YQDDOHUJ.js +2 -0
- package/__chunks__/{chunk-46Z23CL7.js → chunk-YSRVOBZJ.js} +2 -2
- package/__chunks__/chunk-YV4AGZES.js +2 -0
- package/__chunks__/{chunk-BKTFKAC4.js → chunk-YY6PRNL7.js} +2 -2
- package/__chunks__/{chunk-LSQTYC7X.js → chunk-Z32YFOTU.js} +2 -2
- package/__chunks__/{chunk-RQQPHH3S.js → chunk-Z4ETRVIP.js} +2 -2
- package/__chunks__/{chunk-WSN6FXFB.js → chunk-Z4QVA43D.js} +2 -2
- package/__chunks__/{chunk-NXXPLTPH.js → chunk-Z6OTYTVD.js} +2 -2
- package/__chunks__/{chunk-DBKTZD7C.js → chunk-ZDLS2ROS.js} +2 -2
- package/__chunks__/{chunk-Q6A7MYXT.js → chunk-ZFM3AKZB.js} +2 -2
- package/__chunks__/{chunk-QTYHDB7M.js → chunk-ZJYZLU6I.js} +2 -2
- package/__chunks__/{chunk-V5XLW2QX.js → chunk-ZNZM64XX.js} +2 -2
- package/__chunks__/{chunk-KFAAZM3U.js → chunk-ZOF7RQG3.js} +2 -2
- package/__chunks__/{chunk-BQNKL3NQ.js → chunk-ZR4MYNG7.js} +2 -2
- package/__chunks__/{chunk-YDRJBGVE.js → chunk-ZRQ2S7FV.js} +2 -2
- package/__chunks__/{chunk-FCFDUSOQ.js → chunk-ZSFQJ5ZZ.js} +2 -2
- package/__chunks__/{chunk-66GRGLZZ.js → chunk-ZSXLZAFD.js} +2 -2
- package/__chunks__/chunk-ZU2IKIWJ.js +2 -0
- package/__chunks__/{chunk-XBWZHLBR.js → chunk-ZU6LWXRY.js} +2 -2
- package/__chunks__/{chunk-2EBHEIPK.js → chunk-ZWVTQKFC.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.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 +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
- 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/TransactionInfo/components/OperationsList/components/DetailedItem.js +12 -12
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +8 -8
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +8 -8
- package/__commonjs/UI/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/constants/index.js +1 -1
- package/__commonjs/hooks/account/index.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/__commonjs/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/operations/nominate.js +1 -1
- package/__commonjs/utils/operations/parseAmount.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/wrappers/AppInitializer.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/getGasStationMetadata.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/tokens/getPersistedToken.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/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/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelActionAndDispose.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/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/index.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2Q5VPGVR.js +0 -2
- package/__chunks__/chunk-3Q2QS7OH.js +0 -2
- package/__chunks__/chunk-53QQTAG7.js +0 -2
- package/__chunks__/chunk-54N4RLY7.js +0 -2
- package/__chunks__/chunk-5K4MPEY2.js +0 -2
- package/__chunks__/chunk-5WAZ3K6U.js +0 -2
- package/__chunks__/chunk-5XWVSVRW.js +0 -2
- package/__chunks__/chunk-67G3XPT7.js +0 -2
- package/__chunks__/chunk-6FE2EYKS.js +0 -2
- package/__chunks__/chunk-6MTDG7G3.js +0 -2
- package/__chunks__/chunk-6T4AZFRE.js +0 -2
- package/__chunks__/chunk-6TPYTRCS.js +0 -2
- package/__chunks__/chunk-7BOOLJNP.js +0 -2
- package/__chunks__/chunk-A5IPDDY2.js +0 -2
- package/__chunks__/chunk-APJUXVK5.js +0 -2
- package/__chunks__/chunk-B3CXC2BR.js +0 -2
- package/__chunks__/chunk-B3PWB73S.js +0 -2
- package/__chunks__/chunk-BOAI2G6O.js +0 -2
- package/__chunks__/chunk-CAL3BHAI.js +0 -2
- package/__chunks__/chunk-CN3FGBRK.js +0 -2
- package/__chunks__/chunk-DVINHABK.js +0 -2
- package/__chunks__/chunk-E6AIPJSA.js +0 -2
- package/__chunks__/chunk-E6BNKX7K.js +0 -2
- package/__chunks__/chunk-EARJ52RB.js +0 -2
- package/__chunks__/chunk-EDFVHYJF.js +0 -2
- package/__chunks__/chunk-EDK6INJL.js +0 -2
- package/__chunks__/chunk-EJ2CBRFF.js +0 -2
- package/__chunks__/chunk-EUCMN4BM.js +0 -2
- package/__chunks__/chunk-EXEWFABM.js +0 -2
- package/__chunks__/chunk-FRJB4JTM.js +0 -2
- package/__chunks__/chunk-G2A36HG2.js +0 -2
- package/__chunks__/chunk-GMNKJ4ZS.js +0 -2
- package/__chunks__/chunk-GTSTSF47.js +0 -2
- package/__chunks__/chunk-HEAKSCAP.js +0 -2
- package/__chunks__/chunk-I4Y3IIJO.js +0 -2
- package/__chunks__/chunk-I63Y245T.js +0 -2
- package/__chunks__/chunk-IMZUYKG4.js +0 -2
- package/__chunks__/chunk-JHDN4BLB.js +0 -2
- package/__chunks__/chunk-JQATXIEX.js +0 -2
- package/__chunks__/chunk-KLEOGM4X.js +0 -2
- package/__chunks__/chunk-LGWKMXIO.js +0 -2
- package/__chunks__/chunk-M3MIM7GR.js +0 -2
- package/__chunks__/chunk-M5VRMICG.js +0 -2
- package/__chunks__/chunk-MOKL3ZOL.js +0 -2
- package/__chunks__/chunk-MOPJUB6Q.js +0 -2
- package/__chunks__/chunk-NSWJUNJF.js +0 -2
- package/__chunks__/chunk-OADTUICJ.js +0 -2
- package/__chunks__/chunk-OXWCW7XG.js +0 -2
- package/__chunks__/chunk-PNP2BH4R.js +0 -2
- package/__chunks__/chunk-QMKFQ6ZQ.js +0 -2
- package/__chunks__/chunk-SRH7RK7R.js +0 -2
- package/__chunks__/chunk-THUOPOUB.js +0 -2
- package/__chunks__/chunk-TKGTFJEU.js +0 -2
- package/__chunks__/chunk-TS7WMZBR.js +0 -2
- package/__chunks__/chunk-TSXGHSFO.js +0 -2
- package/__chunks__/chunk-U636KPVK.js +0 -2
- package/__chunks__/chunk-UAKBMT2M.js +0 -2
- package/__chunks__/chunk-USRAPINT.js +0 -2
- package/__chunks__/chunk-V7GRT5JW.js +0 -2
- package/__chunks__/chunk-WMMWWMRE.js +0 -2
- package/__chunks__/chunk-WYYEOAV7.js +0 -2
- package/__chunks__/chunk-XDTJMHQJ.js +0 -2
- package/__chunks__/chunk-YWPMLMPE.js +0 -2
- package/__chunks__/chunk-ZTTCSRY7.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Is=Object.create;var Le=Object.defineProperty,vs=Object.defineProperties,bs=Object.getOwnPropertyDescriptor,Es=Object.getOwnPropertyDescriptors,ks=Object.getOwnPropertyNames,Ye=Object.getOwnPropertySymbols,Ls=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable;var nn=(e,t,r)=>t in e?Le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Kt.call(t,r)&&nn(e,r,t[r]);if(Ye)for(var r of Ye(t))on.call(t,r)&&nn(e,r,t[r]);return e},A=(e,t)=>vs(e,Es(t));var Xe=(e,t)=>{var r={};for(var o in e)Kt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ye)for(var o of Ye(e))t.indexOf(o)<0&&on.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ie=(e,t)=>{for(var r in t)Le(e,r,{get:t[r],enumerable:!0})},sn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ks(t))!Kt.call(e,i)&&i!==r&&Le(e,i,{get:()=>t[i],enumerable:!(o=bs(t,i))||o.enumerable});return e};var x=(e,t,r)=>(r=e!=null?Is(Ls(e)):{},sn(t||!e||!e.__esModule?Le(r,"default",{value:e,enumerable:!0}):r,e)),Ne=e=>sn(Le({},"__esModule",{value:!0}),e);var w=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(y){i(y)}},p=m=>{try{d(r.throw(m))}catch(y){i(y)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var ln=Ze(Je=>{"use strict";n();Je.byteLength=Rs;Je.toByteArray=Ps;Je.fromByteArray=Os;var $=[],B=[],Ns=typeof Uint8Array!="undefined"?Uint8Array:Array,Yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(se=0,an=Yt.length;se<an;++se)$[se]=Yt[se],B[Yt.charCodeAt(se)]=se;var se,an;B["-".charCodeAt(0)]=62;B["_".charCodeAt(0)]=63;function cn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Rs(e){var t=cn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Cs(e,t,r){return(t+r)*3/4-r}function Ps(e){var t,r=cn(e),o=r[0],i=r[1],l=new Ns(Cs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=B[e.charCodeAt(m)]<<18|B[e.charCodeAt(m+1)]<<12|B[e.charCodeAt(m+2)]<<6|B[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=B[e.charCodeAt(m)]<<2|B[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=B[e.charCodeAt(m)]<<10|B[e.charCodeAt(m+1)]<<4|B[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Ds(e){return $[e>>18&63]+$[e>>12&63]+$[e>>6&63]+$[e&63]}function _s(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Ds(o));return i.join("")}function Os(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(_s(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push($[t>>2]+$[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push($[t>>10]+$[t>>4&63]+$[t<<2&63]+"=")),i.join("")}});var pn=Ze(Xt=>{n();Xt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,y=m>>1,S=-7,h=r?i-1:0,k=r?-1:1,N=e[t+h];for(h+=k,l=N&(1<<-S)-1,N>>=-S,S+=d;S>0;l=l*256+e[t+h],h+=k,S-=8);for(p=l&(1<<-S)-1,l>>=-S,S+=o;S>0;p=p*256+e[t+h],h+=k,S-=8);if(l===0)l=1-y;else{if(l===m)return p?NaN:(N?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(N?-1:1)*p*Math.pow(2,l-o)};Xt.write=function(e,t,r,o,i,l){var p,d,m,y=l*8-i-1,S=(1<<y)-1,h=S>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=o?0:l-1,_=o?1:-1,ge=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=S):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=k/m:t+=k*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=S?(d=0,p=S):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+N]=d&255,N+=_,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+N]=p&255,N+=_,p/=256,y-=8);e[r+N-_]|=ge*128}});var In=Ze(Te=>{"use strict";n();var Zt=ln(),fe=pn(),un=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Te.Buffer=u;Te.SlowBuffer=Gs;Te.INSPECT_MAX_BYTES=50;var Qe=2147483647;Te.kMaxLength=Qe;u.TYPED_ARRAY_SUPPORT=Bs();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Bs(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function Y(e){if(e>Qe)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(e)}return gn(e,t,r)}u.poolSize=8192;function gn(e,t,r){if(typeof e=="string")return Ms(e,t);if(ArrayBuffer.isView(e))return Us(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(V(e,ArrayBuffer)||e&&V(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(V(e,SharedArrayBuffer)||e&&V(e.buffer,SharedArrayBuffer)))return Qt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Ws(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return gn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function fn(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Fs(e,t,r){return fn(e),e<=0?Y(e):t!==void 0?typeof r=="string"?Y(e).fill(t,r):Y(e).fill(t):Y(e)}u.alloc=function(e,t,r){return Fs(e,t,r)};function tr(e){return fn(e),Y(e<0?0:rr(e)|0)}u.allocUnsafe=function(e){return tr(e)};u.allocUnsafeSlow=function(e){return tr(e)};function Ms(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Tn(e,t)|0,o=Y(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Jt(e){for(var t=e.length<0?0:rr(e.length)|0,r=Y(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Us(e){if(V(e,Uint8Array)){var t=new Uint8Array(e);return Qt(t.buffer,t.byteOffset,t.byteLength)}return Jt(e)}function Qt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Ws(e){if(u.isBuffer(e)){var t=rr(e.length)|0,r=Y(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||nr(e.length)?Y(0):Jt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Jt(e.data)}function rr(e){if(e>=Qe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Qe.toString(16)+" bytes");return e|0}function Gs(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(V(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),V(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(V(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Tn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||V(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return er(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return An(e).length;default:if(i)return o?-1:er(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Tn;function $s(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Js(this,t,r);case"utf8":case"utf-8":return hn(this,t,r);case"ascii":return Xs(this,t,r);case"latin1":case"binary":return Zs(this,t,r);case"base64":return Ks(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qs(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ae(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ae(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ae(this,r,r+3),ae(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ae(this,r,r+7),ae(this,r+1,r+6),ae(this,r+2,r+5),ae(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?hn(this,0,t):$s.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=Te.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};un&&(u.prototype[un]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(V(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),y=this.slice(i,l),S=t.slice(r,o),h=0;h<m;++h)if(y[h]!==S[h]){p=y[h],d=S[h];break}return p<d?-1:d<p?1:0};function yn(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,nr(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:dn(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):dn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function dn(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(N,_){return l===1?N[_]:N.readUInt16BE(_*l)}var y;if(i){var S=-1;for(y=r;y<p;y++)if(m(e,y)===m(t,S===-1?0:y-S)){if(S===-1&&(S=y),y-S+1===d)return S*l}else S!==-1&&(y-=y-S),S=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,k=0;k<d;k++)if(m(e,y+k)!==m(t,k)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return yn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return yn(this,t,r,o,!1)};function Vs(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(nr(d))return p;e[r+p]=d}return p}function Hs(e,t,r,o){return et(er(t,e.length-r),e,r,o)}function qs(e,t,r,o){return et(ra(t),e,r,o)}function js(e,t,r,o){return et(An(t),e,r,o)}function zs(e,t,r,o){return et(na(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Vs(this,t,r,o);case"utf8":case"utf-8":return Hs(this,t,r,o);case"ascii":case"latin1":case"binary":return qs(this,t,r,o);case"base64":return js(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zs(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ks(e,t,r){return t===0&&r===e.length?Zt.fromByteArray(e):Zt.fromByteArray(e.slice(t,r))}function hn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,y,S,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],y=e[i+2],(m&192)===128&&(y&192)===128&&(h=(l&15)<<12|(m&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],y=e[i+2],S=e[i+3],(m&192)===128&&(y&192)===128&&(S&192)===128&&(h=(l&15)<<18|(m&63)<<12|(y&63)<<6|S&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return Ys(o)}var mn=4096;function Ys(e){var t=e.length;if(t<=mn)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=mn));return r}function Xs(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Zs(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Js(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=oa[e[l]];return i}function Qs(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||L(t,4,this.length),fe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),fe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),fe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),fe.read(this,t,!1,52,8)};function R(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function xn(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Sn(e,t,r,o,i){return t=+t,r=r>>>0,i||xn(e,t,r,4,34028234663852886e22,-34028234663852886e22),fe.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Sn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Sn(this,t,r,!1,o)};function wn(e,t,r,o,i){return t=+t,r=r>>>0,i||xn(e,t,r,8,17976931348623157e292,-17976931348623157e292),fe.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return wn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return wn(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var ea=/[^+/0-9A-Za-z-_]/g;function ta(e){if(e=e.split("=")[0],e=e.trim().replace(ea,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function er(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function ra(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function na(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function An(e){return Zt.toByteArray(ta(e))}function et(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function V(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function nr(e){return e!==e}var oa=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Ln=Ze((El,kn)=>{n();var b=kn.exports={},H,q;function or(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?H=setTimeout:H=or}catch(e){H=or}try{typeof clearTimeout=="function"?q=clearTimeout:q=ir}catch(e){q=ir}})();function vn(e){if(H===setTimeout)return setTimeout(e,0);if((H===or||!H)&&setTimeout)return H=setTimeout,setTimeout(e,0);try{return H(e,0)}catch(t){try{return H.call(null,e,0)}catch(r){return H.call(this,e,0)}}}function ia(e){if(q===clearTimeout)return clearTimeout(e);if((q===ir||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var X=[],ye=!1,ce,tt=-1;function sa(){!ye||!ce||(ye=!1,ce.length?X=ce.concat(X):tt=-1,X.length&&bn())}function bn(){if(!ye){var e=vn(sa);ye=!0;for(var t=X.length;t;){for(ce=X,X=[];++tt<t;)ce&&ce[tt].run();tt=-1,t=X.length}ce=null,ye=!1,ia(e)}}b.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];X.push(new En(e,t)),X.length===1&&!ye&&vn(bn)};function En(e,t){this.fun=e,this.array=t}En.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function Z(){}b.on=Z;b.addListener=Z;b.once=Z;b.off=Z;b.removeListener=Z;b.removeAllListeners=Z;b.emit=Z;b.prependListener=Z;b.prependOnceListener=Z;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var s,a,kl,n=f(()=>{s=x(In()),a=x(Ln()),kl=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Nn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n()});var Cn=f(()=>{"use strict";n()});var sr,he,ar=f(()=>{"use strict";n();sr=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),he=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Pn,Pl,Dn,Dl,U=f(()=>{"use strict";n();ar();Pn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Pn||{}),Pl=g(g({},he.WindowProviderRequestEnums),Pn),Dn=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Dn||{}),Dl=g(g({},he.WindowProviderResponseEnums),Dn)});var _n=f(()=>{"use strict";n()});var On=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var Fn=f(()=>{"use strict";n()});var Mn=f(()=>{"use strict";n()});var P=f(()=>{"use strict";n();Nn();Rn();Cn();U();_n();On();C();Bn();Fn();Mn()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var Gn=f(()=>{"use strict";n()});var cr,$n=f(()=>{"use strict";n();cr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(cr||{})});var Vn=f(()=>{"use strict";n()});var lr=f(()=>{"use strict";n()});var Hn=f(()=>{"use strict";n()});var Re,qn,np,jn,op,zn,ip,sp,aa,pr,le=f(()=>{"use strict";n();P();Re={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",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:qn,egldLabel:np}=Re["devnet"],{chainId:jn,egldLabel:op}=Re["testnet"],{chainId:zn,egldLabel:ip}=Re["mainnet"],sp={["devnet"]:qn,["testnet"]:jn,["mainnet"]:zn},aa={[qn]:"devnet",[jn]:"testnet",[zn]:"mainnet"},pr=3e3});var ur=f(()=>{"use strict";n()});var j,Kn=f(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var rt,dr=f(()=>{"use strict";n();rt=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Yn,Xn,mr,dp,mp,Zn=f(()=>{"use strict";n();dr();mr=String((Xn=(Yn=rt.safeWindow)==null?void 0:Yn.navigator)==null?void 0:Xn.userAgent),dp=/^((?!chrome|android).)*safari/i.test(mr),mp=/firefox/i.test(mr)&&/windows/i.test(mr)});var gr,fr,Jn,nt,Qn,xe,Tr,I=f(()=>{"use strict";n();Un();Wn();Gn();$n();Vn();lr();Hn();le();ur();Kn();Zn();gr=5e4,fr=1e9,Jn=1,nt="logout",Qn="login",xe="0",Tr="-"});var ot,yr=f(()=>{"use strict";n();ot=()=>Date.now()/1e3});var eo=f(()=>{"use strict";n()});var to=f(()=>{"use strict";n()});var ro=f(()=>{"use strict";n();yr();eo();to()});var hr={};ie(hr,{clear:()=>ua,getItem:()=>la,localStorageKeys:()=>pe,removeItem:()=>pa,setItem:()=>ca});var pe,it,ca,la,pa,ua,Ce=f(()=>{"use strict";n();ro();pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},it=typeof localStorage!="undefined",ca=({key:e,data:t,expires:r})=>{!it||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},la=e=>{if(!it)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:ot()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},pa=e=>{!it||localStorage.removeItem(String(e))},ua=()=>{!it||localStorage.clear()}});var xr={};ie(xr,{clear:()=>so,getItem:()=>oo,removeItem:()=>io,sessionStorageKeys:()=>da,setItem:()=>no,storage:()=>ma});var da,no,oo,io,so,ma,ao=f(()=>{"use strict";n();da={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},no=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},oo=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},io=e=>sessionStorage.removeItem(String(e)),so=()=>sessionStorage.clear(),ma={setItem:no,getItem:oo,removeItem:io,clear:so}});var Se,st=f(()=>{"use strict";n();Ce();ao();Se={session:xr,local:hr}});var Sr,E,at,W=f(()=>{"use strict";n();Sr=require("@reduxjs/toolkit");I();E=(0,Sr.createAction)(nt),at=(0,Sr.createAction)(Qn,e=>({payload:e}))});var Ar,co,lo,ct,wr,po,lt,Hp,uo,qp,jp,zp,Kp,Yp,Xp,Zp,Jp,pt,ut=f(()=>{"use strict";n();Ar=require("@multiversx/sdk-core"),co=require("@reduxjs/toolkit"),lo=require("redux-persist");I();st();Ce();W();ct={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:xe},wr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ct},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},po=(0,co.createSlice)({name:"accountInfoSlice",initialState:wr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Ar.Address(r).toHex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:ct},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(E,()=>(Se.local.removeItem(pe.loginExpiresAt),wr)),e.addCase(at,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ar.Address(o).toHex()}),e.addCase(lo.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:wr.accounts,t.publicKey=d})}}),{setAccount:lt,setAddress:Hp,setAccountNonce:uo,setAccountShard:qp,setLedgerAccount:jp,updateLedgerAccount:zp,setWalletConnectAccount:Kp,setIsAccountLoading:Yp,setAccountLoadingError:Xp,setWebsocketEvent:Zp,setWebsocketBatchEvent:Jp}=po.actions,pt=po.reducer});function Pe(){return new Date().setHours(new Date().getHours()+24)}function De(e){Se.local.setItem({key:pe.loginExpiresAt,data:e,expires:e})}var Ir=f(()=>{"use strict";n();st();Ce()});var fo,mo,To,cu,lu,pu,uu,du,mu,yo,gu,fu,Tu,dt,mt=f(()=>{"use strict";n();fo=require("@reduxjs/toolkit");Ir();U();W();mo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},To=(0,fo.createSlice)({name:"loginInfoSlice",initialState:mo,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(E,()=>mo),e.addCase(at,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,De(Pe())})}}),{setLoginMethod:cu,setWalletConnectLogin:lu,setLedgerLogin:pu,setTokenLogin:uu,setTokenLoginSignature:du,setWalletLogin:mu,invalidateLoginSession:yo,setLogoutRoute:gu,setIsWalletConnectV2Initialized:fu,setWebviewLogin:Tu}=To.actions,dt=To.reducer});var xo,ho,So,Su,wu,Au,Iu,gt,ft=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");W();ho={},So=(0,xo.createSlice)({name:"modalsSlice",initialState:ho,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(E,()=>ho)}}),{setTxSubmittedModal:Su,setNotificationModal:wu,clearTxSubmittedModal:Au,clearNotificationModal:Iu}=So.actions,gt=So.reducer});var _e,Tt=f(()=>{"use strict";n();_e=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var ne,ue=f(()=>{"use strict";n();Tt();ne=()=>{if(!_e())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var wo=f(()=>{"use strict";n();ue()});var Ao=f(()=>{"use strict";n();yt()});var Io=f(()=>{"use strict";n();dr()});var yt=f(()=>{"use strict";n();wo();Ao();ue();Io()});var vo=f(()=>{"use strict";n();yt()});var bo=f(()=>{"use strict";n();vo()});function Eo(e){return e[Math.floor(Math.random()*e.length)]}var ko=f(()=>{"use strict";n()});var Lo=f(()=>{"use strict";n();lr()});var No=f(()=>{"use strict";n();bo();ko();Lo()});var Ro,Co,Po,vr,fa,Do,nd,od,id,ht,xt=f(()=>{"use strict";n();Ro=require("@reduxjs/toolkit"),Co=x(require("lodash.omit")),Po=require("redux-persist");ur();W();No();vr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},fa={network:vr},Do=(0,Ro.createSlice)({name:"appConfig",initialState:fa,reducers:{initializeNetworkConfig:(e,t)=>{let r=Eo(t.payload.walletConnectV2RelayAddresses),o=(0,Co.default)(t.payload,"walletConnectV2RelayAddresses");e.network=A(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(E,t=>{t.network.customWalletAddress=void 0}),e.addCase(Po.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:nd,updateNetworkConfig:od,setCustomWalletAddress:id}=Do.actions,ht=Do.reducer});var _o,br,Oo,ud,dd,md,St,wt=f(()=>{"use strict";n();_o=require("@reduxjs/toolkit");P();W();br={isSigning:!1,signedSessions:{}},Oo=(0,_o.createSlice)({name:"signedMessageInfoSliceState",initialState:br,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>br},extraReducers:e=>{e.addCase(E,()=>br)}}),{setSignSession:ud,clearSignedMessageInfo:dd,setSignSessionState:md}=Oo.actions,St=Oo.reducer});var Fo,Mo,Bo,Uo,Sd,wd,Ad,Id,At,It=f(()=>{"use strict";n();Fo=require("@reduxjs/toolkit"),Mo=require("redux-persist");P();yr();W();Bo={customToasts:[],transactionToasts:[]},Uo=(0,Fo.createSlice)({name:"toastsSlice",initialState:Bo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=A(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(A(g({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:ot(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(E,()=>Bo),e.addCase(Mo.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Sd,removeCustomToast:wd,addTransactionToast:Ad,removeTransactionToast:Id}=Uo.actions,At=Uo.reducer});var Wo,kr,Lr,Nr,Ta,Er,Go,kd,Ld,Nd,vt,bt=f(()=>{"use strict";n();Wo=require("@reduxjs/toolkit");W();kr="Transaction failed",Lr="Transaction successful",Nr="Processing transaction",Ta="Transaction submitted",Er={},Go=(0,Wo.createSlice)({name:"transactionsInfo",initialState:Er,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||kr,successMessage:(o==null?void 0:o.successMessage)||Lr,processingMessage:(o==null?void 0:o.processingMessage)||Nr,submittedMessage:(o==null?void 0:o.submittedMessage)||Ta,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Er},extraReducers:e=>{e.addCase(E,()=>Er)}}),{clearTransactionsInfo:kd,setTransactionsDisplayInfo:Ld,clearTransactionsInfoForSessionId:Nd}=Go.actions,vt=Go.reducer});function $o(e){return e!=null&&(ka(e)||Pa(e))}function Et(e){return e!=null&&(La(e)||Da(e))}function kt(e){return e!=null&&(Na(e)||_a(e))}function Vo(e){return e!=null&&(Ra(e)||Oa(e))}function Ho(e){return e!=null&&Ca(e)}function ka(e){return e!=null&&ha.includes(e)}function La(e){return e!=null&&xa.includes(e)}function Na(e){return e!=null&&Sa.includes(e)}function Ra(e){return e!=null&&wa.includes(e)}function Ca(e){return e!=null&&Aa.includes(e)}function Pa(e){return e!=null&&Ia.includes(e)}function Da(e){return e!=null&&va.includes(e)}function _a(e){return e!=null&&ba.includes(e)}function Oa(e){return e!=null&&Ea.includes(e)}var ha,xa,Sa,wa,Aa,Ia,va,ba,Ea,Rr=f(()=>{"use strict";n();U();ha=["sent"],xa=["success"],Sa=["fail","cancelled","timedOut"],wa=["invalid"],Aa=["timedOut"],Ia=["pending"],va=["success"],ba=["fail","invalid"],Ea=["not executed"]});var qo,jo,Be,Ba,zo,Lt,Md,Ud,Wd,Gd,$d,Vd,Hd,qd,jd,zd,Nt,Rt=f(()=>{"use strict";n();qo=require("@reduxjs/toolkit"),jo=require("redux-persist");U();Rr();W();Be={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ba={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},zo=(0,qo.createSlice)({name:"transactionsSlice",initialState:Be,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},Ba),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Be.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=g(g({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var y,S,h,k,N,_,ge,ze;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(S=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:S.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(O=>O.hash===l?A(g(g({},p!=null?p:{}),O),{status:o,errorMessage:i,inTransit:d}):O);let jt=(k=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:k.every(O=>Et(O.status)),Qr=(_=(N=e.signedTransactions[r])==null?void 0:N.transactions)==null?void 0:_.some(O=>kt(O.status)),Ke=(ze=(ge=e.signedTransactions[r])==null?void 0:ge.transactions)==null?void 0:ze.every(O=>Vo(O.status));jt&&(e.signedTransactions[r].status="success"),Qr&&(e.signedTransactions[r].status="fail"),Ke&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Be.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Be.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(E,()=>Be),e.addCase(jo.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[m,y])=>{let S=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-S>0||(d[m]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Lt,updateSignedTransactions:Md,setTransactionsToSign:Ud,clearAllTransactionsToSign:Wd,clearAllSignedTransactions:Gd,clearSignedTransaction:$d,clearTransactionToSign:Vd,setSignTransactionsError:Hd,setSignTransactionsCancelMessage:qd,moveTransactionsToSignedState:jd,updateSignedTransactionsCustomTransactionInformation:zd}=zo.actions,Nt=zo.reducer});var Ko,Cr,Yo,Zd,Xo,Jd,Qd,Ct,Pt=f(()=>{"use strict";n();Ko=require("@reduxjs/toolkit");W();Cr={},Yo=(0,Ko.createSlice)({name:"batchTransactionsSlice",initialState:Cr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Cr},extraReducers:e=>{e.addCase(E,()=>Cr)}}),{setBatchTransactions:Zd,updateBatchTransactions:Xo,clearBatchTransactions:Jd,clearAllBatchTransactions:Qd}=Yo.actions,Ct=Yo.reducer});var Jo,Zo,Qo,nm,ei,Pr=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");W();Zo={},Qo=(0,Jo.createSlice)({name:"dappConfigSlice",initialState:Zo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(E,()=>Zo)}}),{setDappConfig:nm}=Qo.actions,ei=Qo.reducer});var J=f(()=>{"use strict";n();ut();mt();ft();xt();wt();It();bt();Rt();Pt();Pr()});var Dr=f(()=>{"use strict";n()});var ni,Wa,Ga,Fe,_r=f(()=>{"use strict";n();ni=require("@reduxjs/toolkit");Dr();ut();Pt();Pr();mt();ft();xt();wt();It();bt();Rt();Wa={["account"]:pt,["dappConfig"]:ei,["loginInfo"]:dt,["modals"]:gt,["networkConfig"]:ht,["signedMessageInfo"]:St,["toasts"]:At,["transactionsInfo"]:vt,["transactions"]:Nt,["batchTransactions"]:Ct},Ga=(e={})=>(0,ni.combineReducers)(g(g({},Wa),e)),Fe=Ga});var ai={};ie(ai,{default:()=>nc,sessionStorageReducers:()=>Or});function Q(e,t=[]){return{key:e,version:1,storage:ii.default,blacklist:t}}var D,oi,ii,$a,Me,Va,Ha,qa,ja,za,Ka,Ya,Xa,Za,Ja,si,Qa,Or,ec,tc,rc,nc,ci=f(()=>{"use strict";n();D=require("redux-persist"),oi=x(require("redux-persist/lib/storage")),ii=x(require("redux-persist/lib/storage/session"));_r();J();ut();Pt();mt();ft();xt();wt();It();bt();Rt();Dr();$a={persistReducersStorageType:"localStorage"},Me={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Va=Q(Me["account"]),Ha=Q(Me["loginInfo"]),qa=Q(Me["modals"]),ja=Q(Me["networkConfig"]),za={2:e=>A(g({},e),{networkConfig:vr})};Ka=Q("sdk-dapp-transactionsInfo"),Ya=Q("sdk-dapp-transactions",["transactionsToSign"]),Xa=Q("sdk-dapp-batchTransactions",["batchTransactions"]),Za=Q("sdk-dapp-toasts"),Ja=Q("sdk-dapp-signedMessageInfo"),si={key:"sdk-dapp-store",version:2,storage:oi.default,whitelist:Object.keys(Me),migrate:(0,D.createMigrate)(za,{debug:!1})},Qa=A(g({},si),{whitelist:[]}),Or={["toasts"]:(0,D.persistReducer)(Za,At),["transactions"]:(0,D.persistReducer)(Ya,Nt),["transactionsInfo"]:(0,D.persistReducer)(Ka,vt),["batchTransactions"]:(0,D.persistReducer)(Xa,Ct),["signedMessageInfo"]:(0,D.persistReducer)(Ja,St)},ec=A(g({},Or),{["account"]:(0,D.persistReducer)(Va,pt),["loginInfo"]:(0,D.persistReducer)(Ha,dt),["modals"]:(0,D.persistReducer)(qa,gt),["networkConfig"]:(0,D.persistReducer)(ja,ht)}),tc=$a.persistReducersStorageType==="localStorage",rc=tc?(0,D.persistReducer)(si,Fe(Or)):(0,D.persistReducer)(Qa,Fe(ec)),nc=rc});var li={};ie(li,{default:()=>oc});var oc,pi=f(()=>{"use strict";n();_r();oc=Fe()});var ui={};ie(ui,{default:()=>sc});var F,ic,sc,di=f(()=>{"use strict";n();F=require("redux-persist"),ic=[F.FLUSH,F.REHYDRATE,F.PAUSE,F.PERSIST,F.PURGE,F.REGISTER],sc=ic});var fi={};ie(fi,{default:()=>gi});function gi(e){return(0,mi.persistStore)(e)}var mi,Ti=f(()=>{"use strict";n();mi=require("redux-persist")});var wl={};ie(wl,{useVerifyBatchStatus:()=>Sl});module.exports=Ne(wl);n();var As=require("react");n();var ss=require("react");P();n();var os=require("react");n();n();n();var Ii=require("react"),we=require("react-redux");n();var Si=require("@reduxjs/toolkit"),wi=require("react-redux/lib/utils/Subscription");J();n();var ti=x(require("lodash.throttle"));I();J();Ir();st();Ce();var Fa=[nt],Dt=!1,Ma=(0,ti.default)(()=>{De(Pe())},5e3),ri=e=>t=>r=>{if(Fa.includes(r.type))return t(r);let o=e.getState(),i=Se.local.getItem(pe.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return De(Pe()),t(r);let p=Date.now();return i-p<0&&!Dt?setTimeout(()=>{Dt=!0,e.dispatch(yo())},1e3):(Dt&&(Dt=!1),Ma()),t(r)};n();n();function _t(){return typeof sessionStorage!="undefined"}var yi=_t()?(ci(),Ne(ai)).default:(pi(),Ne(li)).default,hi=_t()?(di(),Ne(ui)).default:[],xi=_t()?(Ti(),Ne(fi)).default:e=>e;var v=(0,Si.configureStore)({reducer:yi,middleware:e=>e({serializableCheck:{ignoredActions:[...hi,uo.type,lt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ri)}),Ai=(0,wi.createSubscription)(v),eg=xi(v);var ac={store:v,subscription:Ai},Br=(0,Ii.createContext)(ac),og=(0,we.createStoreHook)(Br),Ae=(0,we.createDispatchHook)(Br),z=(0,we.createSelectorHook)(Br);n();n();J();n();var vi=x(require("lodash.isequal")),Ot=require("reselect"),T=(0,Ot.createSelectorCreator)(Ot.defaultMemoize,vi.default);var K=e=>e.account,Ie=T(K,e=>e.address),Ue=T(K,Ie,(e,t)=>t in e.accounts?e.accounts[t]:ct),cc=T(K,Ue,(e,t)=>{let i=e,{accounts:r}=i,o=Xe(i,["accounts"]);return A(g({},o),{address:t.address,account:t})}),lg=T(Ue,e=>e.balance),bi=T(Ue,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),pg=T(K,e=>e.shard),ug=T(K,e=>e.ledgerAccount),dg=T(K,e=>e.walletConnectAccount),mg=T(K,e=>e.isAccountLoading),gg=T(K,e=>e.accountLoadingError),lc=T(K,e=>e.websocketEvent),pc=T(K,e=>e.websocketBatchEvent);n();var uc=e=>e.dappConfig,yg=T(uc,e=>e.shouldUseWebViewProvider);n();var M=e=>e.loginInfo,wg=T(M,e=>e.loginMethod),Fr=T(M,Ie,(e,t)=>Boolean(t)),Ag=T(M,e=>e.walletConnectLogin),Ig=T(M,e=>e.ledgerLogin),Ei=T(M,e=>e.walletLogin),vg=T(M,e=>e.isLoginSessionInvalid),bg=T(M,e=>e.tokenLogin),Eg=T(M,e=>e.logoutRoute),dc=T(M,e=>e.isWalletConnectV2Initialized);n();var ki=e=>e.modals,Ng=T(ki,e=>e.txSubmittedModal),Rg=T(ki,e=>e.notificationModal);n();var ee=e=>e.networkConfig,Dg=T(ee,e=>e.network.chainId),_g=T(ee,e=>e.network.roundDuration),Og=T(ee,e=>e.network.walletConnectBridgeAddress),Bg=T(ee,e=>e.network.walletConnectV2RelayAddress),Fg=T(ee,e=>e.network.walletConnectV2ProjectId),Mg=T(ee,e=>e.network.walletConnectV2Options),Ug=T(ee,e=>e.network.walletConnectDeepLink),te=T(ee,e=>e.network),Bt=T(te,e=>e.apiAddress),Li=T(te,e=>e.explorerAddress),Wg=T(te,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Gg=T(te,e=>e.xAliasAddress),$g=T(te,e=>e.egldLabel);n();var Ft=e=>e.signedMessageInfo,qg=T(Ft,e=>e.isSigning),jg=T(Ft,e=>e.errorMessage),zg=T(Ft,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Kg=T(Ft,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Ni=e=>e.toasts,Zg=T(Ni,e=>e.customToasts),Jg=T(Ni,e=>e.transactionToasts);n();J();var Ri={errorMessage:kr,successMessage:Lr,processingMessage:Nr},mc=e=>e.transactionsInfo,nf=T(mc,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[t])||Ri);n();n();var de=require("@multiversx/sdk-core");I();n();n();n();function Mr(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}n();n();n();n();var Ci=e=>{let t=e!=null?e:"";return Mr(t)?s.Buffer.from(s.Buffer.from(t,"base64").toString().trim()):s.Buffer.from(t.trim())};n();I();var Mt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(cr).some(r=>e.startsWith(r)):!1;function Ur(e){var o,i,l;let t=g({},e);Mt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new de.Transaction(g(g(A(g(A(g(g({value:BigInt(t.value.valueOf()),data:Ci(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new de.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new de.Address(t.relayer)}:{}),{sender:new de.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:gr),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:fr),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:Jn}),t.options?{options:t.options}:{}),t.guardian?{guardian:new de.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();I();n();n();n();var yc=require("@multiversx/sdk-core");n();I();n();var xc=require("@multiversx/sdk-core");P();n();var Pi=require("@multiversx/sdk-core");function hc(e){try{return Pi.Address.isValid(e)}catch(t){return!1}}function We(e){return/^\w+$/.test(e)&&hc(e)}n();n();n();var Sc=require("@multiversx/sdk-core"),wc=x(require("bignumber.js"));U();n();n();n();var Ge="accounts";var Wr="batch";n();n();n();n();C();n();n();C();n();n();n();var vc=x(require("bignumber.js"));I();n();var Gr=x(require("bignumber.js"));I();n();var Bi=x(require("bignumber.js")),Gt=(e,t=!0)=>{let r=String(e);if(!r.match(/^[-]?\d+$/))return!1;let o=new Bi.default(r),i=!t||o.isGreaterThanOrEqualTo(0);return o.toString(10)===r&&i};n();Gr.default.config({ROUNDING_MODE:Gr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Fi=require("@multiversx/sdk-core"),bc=x(require("bignumber.js"));I();n();var Vr=require("@multiversx/sdk-core"),kc=x(require("bignumber.js"));I();n();n();var Ec=x(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();C();var Nc=["reDelegateRewards","claimRewards","unBond"],Rc=["wrapEgld","unwrapEgld"],Cc=["unStake"],Pc=["unDelegate"];n();n();n();I();n();var Oc=x(require("bignumber.js"));n();n();C();n();var Fc=x(require("bignumber.js"));n();n();n();n();var Uc=x(require("bignumber.js"));P();n();n();var Wc=require("@multiversx/sdk-core");n();n();U();n();var Vc=require("@multiversx/sdk-web-wallet-provider");I();n();var $c=x(require("qs"));n();yt();Tt();n();Tt();var Vx={search:_e()?window.location.search:"",removeParams:[]};n();n();n();ue();n();C();n();n();ue();n();var Hc=x(require("linkifyjs"));n();I();n();var qc=x(require("bignumber.js"));n();P();n();n();U();n();U();n();n();n();C();n();C();n();var jc=x(require("bignumber.js"));I();C();n();C();n();var Wi=require("react");P();n();n();C();n();n();var zc=require("@multiversx/sdk-core"),Kc=x(require("bignumber.js"));C();n();P();n();n();P();var Bw=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Gi=require("react");P();ue();n();var Xc=require("react");C();var Hw=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Rr();n();var $t=e=>e.transactions,me=T($t,e=>e.signedTransactions),_A=T($t,e=>e.signTransactionsError),OA=T($t,e=>e.signTransactionsCancelMessage),Vt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),BA=T(me,Vt($o)),FA=T(me,Vt(Et)),MA=T(me,Vt(kt)),UA=T(me,Vt(Ho)),WA=T($t,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Ur(r)))||[]})}),GA=T(me,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var He=()=>z(Ue);n();n();n();n();n();var Vi=require("@multiversx/sdk-extension-provider"),Hi=require("@multiversx/sdk-hw-provider"),qi=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),ji=require("@multiversx/sdk-opera-provider"),zi=require("@multiversx/sdk-passkey-provider/out"),Ki=require("@multiversx/sdk-web-wallet-provider");I();ar();n();var qr=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Zc=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");U();n();var $i=ve;var jr=e=>{switch(e==null?void 0:e.constructor){case Ki.WalletProvider:return"wallet";case $i:return"walletconnectv2";case Hi.HWProvider:return"ledger";case Vi.ExtensionProvider:return"extension";case zi.PasskeyProvider:return"passkey";case qi.MetamaskProvider:return"metamask";case ji.OperaProvider:return"opera";case sr.CrossWindowProvider:return"crossWindow";case qr.IframeProvider:return"iframe";case ve:return"";default:return"extra"}};var G=e=>`Unable to perform ${e}, Provider not initialized`,ve=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(G("getAccount"))}setAccount(t){throw new Error(G(`setAccount: ${t}`))}login(t){throw new Error(G(`login with options: ${t}`))}logout(t){throw new Error(G(`logout with options: ${t}`))}getAddress(){throw new Error(G("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(G(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(G(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(G(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(G(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(G(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(G(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},zr=new ve;var Jc=zr;function oe(){return Jc||zr}n();n();n();n();n();n();n();var qe=x(require("react"));var DI=(0,qe.createContext)({}),_I=v.getState();n();var Xi=x(require("react"));n();var Kr=x(require("react")),Qc=x(require("axios"));n();n();n();var rs=x(require("axios"));n();n();n();var el=x(require("axios"));n();var tl=x(require("axios"));le();n();I();n();var Zi=x(require("axios"));var Ji=e=>{let t=Bt(v.getState());return Zi.default.get(`${t}/transactions/${e}`,{timeout:1e4})};n();var nl=x(require("axios"));n();n();var ol=x(require("axios"));n();var il=x(require("axios"));n();n();n();n();n();var es=require("@lifeomic/axios-fetch"),Yr=x(require("axios")),Xr=(0,es.buildAxiosFetch)(Yr.default),Zr=(e,t)=>w(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function sl(e,t,r){return w(this,null,function*(){try{let o=yield Xr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function al(e,t){return w(this,null,function*(){try{let r=yield Xr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Zr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function cl(e,t,r){return w(this,null,function*(){try{let o=yield Xr(e,g({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var be=Yr.default.create();be.get=al;be.post=sl;be.patch=cl;n();var Ee=e=>{let t=e!=null?e:Bt(v.getState());return t.endsWith("/")?t.slice(0,-1):t};n();var ll=x(require("axios"));n();var pl=x(require("swr"));n();n();var ul=(e,t)=>{var l;let r=(l=t==null?void 0:t.apiAddress)!=null?l:Ee(),o=t!=null&&t.headers?{headers:t==null?void 0:t.headers}:void 0,i=`${r}/${Ge}/${e}?withGuardianInfo=true`;return be.get(i,o)},ts=(e,t)=>w(void 0,null,function*(){if(!e)return null;try{let{data:r}=yield ul(e,t);return r}catch(r){console.error("error fetching configuration for ",e,r)}return null});n();n();n();le();n();var gl=x(require("axios"));n();var Tl=x(require("axios"));n();var yl=x(require("axios"));n();le();n();le();n();n();n();n();var xl=x(require("axios"));n();le();function ns(r){return w(this,arguments,function*({batchId:e,address:t}){let{apiAddress:o,apiTimeout:i}=te(v.getState()),{data:l}=yield rs.default.get(`${o}/${Wr}/${t}/${e}`,{timeout:Number(i!=null?i:pr)});return l})}var is=()=>{let{address:e}=He();return(0,os.useCallback)(t=>w(void 0,null,function*(){try{return yield ns({batchId:t,address:e})}catch(r){return console.error(r),null}}),[e])};var qt=()=>{let e=is();return(0,ss.useCallback)(r=>w(void 0,[r],function*({batchId:t}){let o=yield e(t);return o?{statusResponse:o,isBatchSuccessful:o.status==="success",isBatchFailed:o.status==="fail"||o.status==="invalid"||o.status==="dropped",isBatchNotFound:Boolean(o.statusCode)&&Boolean(o.message)}:{statusResponse:o,isBatchSuccessful:!1,isBatchFailed:!0,isBatchNotFound:!1}}),[e])};n();I();var as=e=>{if(!e||typeof e!="string")return null;let t=e.split(Tr)[0];return Gt(t)?parseInt(t,10):null};n();function cs(){let e=z(me),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{signedTransactions:e,signedTransactionsArray:t,hasSignedTransactions:r}}n();P();var ls=({transactions:e,hasUnrelatedTransactions:t})=>{let r=e.every(({status:m})=>m==="fail"),o=e.some(({status:m})=>m==="fail"),i=e.some(({status:m})=>m==="pending"),l=e.every(({status:m})=>m==="success"),p=t&&Boolean(!i&&!r&&o);return{isPending:i,isSuccessful:l,isFailed:t?p?!1:r:o,isIncompleteFailed:p}};n();var Jr=require("react");J();n();n();var ke=class{constructor(t){this.status=(t||"").toLowerCase()}static createUnknown(){return new ke("unknown")}isPending(){return this.status=="received"||this.status=="pending"}isExecuted(){return this.isSuccessful()||this.isFailed()||this.isInvalid()}isSuccessful(){return this.status=="executed"||this.status=="success"||this.status=="successful"}isFailed(){return this.status=="fail"||this.status=="failed"||this.status=="unsuccessful"||this.isInvalid()}isInvalid(){return this.status=="invalid"}toString(){return this.status}valueOf(){return this.status}equals(t){return t?this.status==t.status:!1}};n();function ps(e){return new Promise(t=>setTimeout(t,e))}var us=e=>w(void 0,null,function*(){let r=4,o;if(e.length===0)return{data:o,success:!1};for(;o===void 0&&r>0;)try{yield ps(3e3);let l=(yield Promise.allSettled(e.map(d=>Ji(d)))).map(d=>d.status==="fulfilled"?d.value.data:void 0).filter(d=>d!==void 0);if(l.length>0){let d=l.length===e.length,m=l.some(y=>new ke(y.status).isPending());d&&!m||r===1?(o=l,r=0):r-=1}else r-=1}catch(i){r-=1}return{data:o,success:o!==void 0}});P();n();J();n();var ds=(e,t)=>ts(e,t);n();U();n();n();function ms(){let e=oe();return jr(e)}function je(e){return ms()===e}n();ue();var gs=()=>{let{search:e}=ne(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return We(o)?o:null};function fs(){let e=v.getState(),t=oe(),r=Ie(e),o=Fr(e),i=Ei(e);if(!t)throw"provider not initialized";return je("ledger")&&o?new Promise(l=>{l(r)}):!je("")&&!je("wallet")&&!je("extra")?t.getAddress():new Promise(l=>{let p=gs();i!=null&&p&&l(p),o&&l(r),l("")})}n();function Ts(e){let t=v.getState(),r=bi(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}var ys=()=>w(void 0,null,function*(){try{let e=yield fs();try{let t=yield ds(e);if(t!=null){let r=A(g({},t),{nonce:Ts(t)});return v.dispatch(lt(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function hs(){return w(this,null,function*(){let e=oe();if(e==null)throw"Provider not initialized";if(!e.isInitialized||e.isInitialized())return ys();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?ys():void 0}catch(t){console.error("Failed initializing provider ",t)}})}function xs(){let e=Ae(),{address:t}=He(),r=(0,Jr.useCallback)(({sessionId:o,dropUnprocessedTransactions:i,serverTransactions:l,signedTransactions:p})=>{for(let d of p){let m=l.find(y=>y.txHash===d.hash);if(!m){i&&e(Lt({sessionId:o,status:"fail",transactionHash:d.hash}));continue}e(Lt({sessionId:o,status:m.status,transactionHash:d.hash,serverTransaction:m}))}},[e]);return(0,Jr.useCallback)(o=>w(this,null,function*(){if(!o)return;let{transactions:i,isFailed:l,sessionId:p}=o;if(!i||i.length===0)return;if(l){for(let y of i)e(Lt({sessionId:p,status:"fail",transactionHash:y.hash}));return}let{data:d,success:m}=yield us(i.map(({hash:y})=>y).filter(y=>Boolean(y)));m&&d&&r({sessionId:p,dropUnprocessedTransactions:o.dropUnprocessedTransactions,serverTransactions:d,signedTransactions:i}),o.shouldRefreshBalance&&(yield hs())}),[e,t,r])}n();var Ss=require("react");J();function ws(){let e=Ae(),t=qt();return(0,Ss.useCallback)(o=>w(this,[o],function*({batchId:r}){let i=yield t({batchId:r});return i.statusResponse&&e(Xo(i.statusResponse)),i}),[e,t])}var Sl=e=>{let t=Ae(),{signedTransactions:r}=cs(),o=ws(),i=xs(),l=qt(),p=e==null?void 0:e.onSuccess,d=e==null?void 0:e.onFail;return{verifyBatchStatus:(0,As.useCallback)(S=>w(void 0,[S],function*({batchId:y}){var Ke,O,en,tn,rn;let h=(O=(Ke=as(y))==null?void 0:Ke.toString())!=null?O:"",k=r[h];if(!k||!((en=k.customTransactionInformation)==null?void 0:en.grouping))return;let _=(rn=(tn=r[h])==null?void 0:tn.transactions)!=null?rn:[],{isSuccessful:ge,isFailed:ze,isPending:jt}=ls({transactions:_});if(!jt)ge&&(p==null||p(h)),ze&&(d==null||d(h,"Error processing batch transactions."));else{let zt=yield o({batchId:y});yield i({sessionId:h.toString(),isFailed:zt==null?void 0:zt.isBatchFailed,shouldRefreshBalance:!0,transactions:_})}}),[t,l,i,r,o,p,d])}};0&&(module.exports={useVerifyBatchStatus});
|
|
1
|
+
"use strict";var Is=Object.create;var Le=Object.defineProperty,vs=Object.defineProperties,bs=Object.getOwnPropertyDescriptor,Es=Object.getOwnPropertyDescriptors,ks=Object.getOwnPropertyNames,Ye=Object.getOwnPropertySymbols,Ls=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable;var nn=(e,t,r)=>t in e?Le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Kt.call(t,r)&&nn(e,r,t[r]);if(Ye)for(var r of Ye(t))on.call(t,r)&&nn(e,r,t[r]);return e},A=(e,t)=>vs(e,Es(t));var Xe=(e,t)=>{var r={};for(var o in e)Kt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ye)for(var o of Ye(e))t.indexOf(o)<0&&on.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ie=(e,t)=>{for(var r in t)Le(e,r,{get:t[r],enumerable:!0})},sn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ks(t))!Kt.call(e,i)&&i!==r&&Le(e,i,{get:()=>t[i],enumerable:!(o=bs(t,i))||o.enumerable});return e};var x=(e,t,r)=>(r=e!=null?Is(Ls(e)):{},sn(t||!e||!e.__esModule?Le(r,"default",{value:e,enumerable:!0}):r,e)),Ne=e=>sn(Le({},"__esModule",{value:!0}),e);var w=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(y){i(y)}},p=m=>{try{d(r.throw(m))}catch(y){i(y)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var ln=Ze(Je=>{"use strict";n();Je.byteLength=Rs;Je.toByteArray=Ps;Je.fromByteArray=Os;var $=[],F=[],Ns=typeof Uint8Array!="undefined"?Uint8Array:Array,Yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(se=0,an=Yt.length;se<an;++se)$[se]=Yt[se],F[Yt.charCodeAt(se)]=se;var se,an;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function cn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Rs(e){var t=cn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Cs(e,t,r){return(t+r)*3/4-r}function Ps(e){var t,r=cn(e),o=r[0],i=r[1],l=new Ns(Cs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=F[e.charCodeAt(m)]<<18|F[e.charCodeAt(m+1)]<<12|F[e.charCodeAt(m+2)]<<6|F[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=F[e.charCodeAt(m)]<<2|F[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=F[e.charCodeAt(m)]<<10|F[e.charCodeAt(m+1)]<<4|F[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Ds(e){return $[e>>18&63]+$[e>>12&63]+$[e>>6&63]+$[e&63]}function _s(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Ds(o));return i.join("")}function Os(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(_s(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push($[t>>2]+$[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push($[t>>10]+$[t>>4&63]+$[t<<2&63]+"=")),i.join("")}});var pn=Ze(Xt=>{n();Xt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,y=m>>1,S=-7,h=r?i-1:0,k=r?-1:1,N=e[t+h];for(h+=k,l=N&(1<<-S)-1,N>>=-S,S+=d;S>0;l=l*256+e[t+h],h+=k,S-=8);for(p=l&(1<<-S)-1,l>>=-S,S+=o;S>0;p=p*256+e[t+h],h+=k,S-=8);if(l===0)l=1-y;else{if(l===m)return p?NaN:(N?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(N?-1:1)*p*Math.pow(2,l-o)};Xt.write=function(e,t,r,o,i,l){var p,d,m,y=l*8-i-1,S=(1<<y)-1,h=S>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=o?0:l-1,_=o?1:-1,ge=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=S):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=k/m:t+=k*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=S?(d=0,p=S):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+N]=d&255,N+=_,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+N]=p&255,N+=_,p/=256,y-=8);e[r+N-_]|=ge*128}});var In=Ze(Te=>{"use strict";n();var Zt=ln(),fe=pn(),un=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Te.Buffer=u;Te.SlowBuffer=Gs;Te.INSPECT_MAX_BYTES=50;var Qe=2147483647;Te.kMaxLength=Qe;u.TYPED_ARRAY_SUPPORT=Fs();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Fs(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function Y(e){if(e>Qe)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(e)}return gn(e,t,r)}u.poolSize=8192;function gn(e,t,r){if(typeof e=="string")return Ms(e,t);if(ArrayBuffer.isView(e))return Us(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(V(e,ArrayBuffer)||e&&V(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(V(e,SharedArrayBuffer)||e&&V(e.buffer,SharedArrayBuffer)))return Qt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Ws(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return gn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function fn(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Bs(e,t,r){return fn(e),e<=0?Y(e):t!==void 0?typeof r=="string"?Y(e).fill(t,r):Y(e).fill(t):Y(e)}u.alloc=function(e,t,r){return Bs(e,t,r)};function tr(e){return fn(e),Y(e<0?0:rr(e)|0)}u.allocUnsafe=function(e){return tr(e)};u.allocUnsafeSlow=function(e){return tr(e)};function Ms(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Tn(e,t)|0,o=Y(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Jt(e){for(var t=e.length<0?0:rr(e.length)|0,r=Y(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Us(e){if(V(e,Uint8Array)){var t=new Uint8Array(e);return Qt(t.buffer,t.byteOffset,t.byteLength)}return Jt(e)}function Qt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Ws(e){if(u.isBuffer(e)){var t=rr(e.length)|0,r=Y(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||nr(e.length)?Y(0):Jt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Jt(e.data)}function rr(e){if(e>=Qe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Qe.toString(16)+" bytes");return e|0}function Gs(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(V(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),V(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(V(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Tn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||V(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return er(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return An(e).length;default:if(i)return o?-1:er(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Tn;function $s(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Js(this,t,r);case"utf8":case"utf-8":return hn(this,t,r);case"ascii":return Xs(this,t,r);case"latin1":case"binary":return Zs(this,t,r);case"base64":return Ks(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qs(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ae(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ae(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ae(this,r,r+3),ae(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ae(this,r,r+7),ae(this,r+1,r+6),ae(this,r+2,r+5),ae(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?hn(this,0,t):$s.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=Te.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};un&&(u.prototype[un]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(V(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),y=this.slice(i,l),S=t.slice(r,o),h=0;h<m;++h)if(y[h]!==S[h]){p=y[h],d=S[h];break}return p<d?-1:d<p?1:0};function yn(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,nr(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:dn(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):dn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function dn(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(N,_){return l===1?N[_]:N.readUInt16BE(_*l)}var y;if(i){var S=-1;for(y=r;y<p;y++)if(m(e,y)===m(t,S===-1?0:y-S)){if(S===-1&&(S=y),y-S+1===d)return S*l}else S!==-1&&(y-=y-S),S=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,k=0;k<d;k++)if(m(e,y+k)!==m(t,k)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return yn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return yn(this,t,r,o,!1)};function Vs(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(nr(d))return p;e[r+p]=d}return p}function Hs(e,t,r,o){return et(er(t,e.length-r),e,r,o)}function qs(e,t,r,o){return et(ra(t),e,r,o)}function js(e,t,r,o){return et(An(t),e,r,o)}function zs(e,t,r,o){return et(na(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Vs(this,t,r,o);case"utf8":case"utf-8":return Hs(this,t,r,o);case"ascii":case"latin1":case"binary":return qs(this,t,r,o);case"base64":return js(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zs(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ks(e,t,r){return t===0&&r===e.length?Zt.fromByteArray(e):Zt.fromByteArray(e.slice(t,r))}function hn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,y,S,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],y=e[i+2],(m&192)===128&&(y&192)===128&&(h=(l&15)<<12|(m&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],y=e[i+2],S=e[i+3],(m&192)===128&&(y&192)===128&&(S&192)===128&&(h=(l&15)<<18|(m&63)<<12|(y&63)<<6|S&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return Ys(o)}var mn=4096;function Ys(e){var t=e.length;if(t<=mn)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=mn));return r}function Xs(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Zs(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Js(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=oa[e[l]];return i}function Qs(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||L(t,4,this.length),fe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),fe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),fe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),fe.read(this,t,!1,52,8)};function R(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function xn(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Sn(e,t,r,o,i){return t=+t,r=r>>>0,i||xn(e,t,r,4,34028234663852886e22,-34028234663852886e22),fe.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Sn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Sn(this,t,r,!1,o)};function wn(e,t,r,o,i){return t=+t,r=r>>>0,i||xn(e,t,r,8,17976931348623157e292,-17976931348623157e292),fe.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return wn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return wn(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var ea=/[^+/0-9A-Za-z-_]/g;function ta(e){if(e=e.split("=")[0],e=e.trim().replace(ea,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function er(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function ra(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function na(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function An(e){return Zt.toByteArray(ta(e))}function et(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function V(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function nr(e){return e!==e}var oa=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Ln=Ze((El,kn)=>{n();var b=kn.exports={},H,q;function or(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?H=setTimeout:H=or}catch(e){H=or}try{typeof clearTimeout=="function"?q=clearTimeout:q=ir}catch(e){q=ir}})();function vn(e){if(H===setTimeout)return setTimeout(e,0);if((H===or||!H)&&setTimeout)return H=setTimeout,setTimeout(e,0);try{return H(e,0)}catch(t){try{return H.call(null,e,0)}catch(r){return H.call(this,e,0)}}}function ia(e){if(q===clearTimeout)return clearTimeout(e);if((q===ir||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var X=[],ye=!1,ce,tt=-1;function sa(){!ye||!ce||(ye=!1,ce.length?X=ce.concat(X):tt=-1,X.length&&bn())}function bn(){if(!ye){var e=vn(sa);ye=!0;for(var t=X.length;t;){for(ce=X,X=[];++tt<t;)ce&&ce[tt].run();tt=-1,t=X.length}ce=null,ye=!1,ia(e)}}b.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];X.push(new En(e,t)),X.length===1&&!ye&&vn(bn)};function En(e,t){this.fun=e,this.array=t}En.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function Z(){}b.on=Z;b.addListener=Z;b.once=Z;b.off=Z;b.removeListener=Z;b.removeAllListeners=Z;b.emit=Z;b.prependListener=Z;b.prependOnceListener=Z;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var s,a,kl,n=f(()=>{s=x(In()),a=x(Ln()),kl=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Nn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n()});var Cn=f(()=>{"use strict";n()});var sr,he,ar=f(()=>{"use strict";n();sr=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),he=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Pn,Pl,Dn,Dl,U=f(()=>{"use strict";n();ar();Pn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Pn||{}),Pl=g(g({},he.WindowProviderRequestEnums),Pn),Dn=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Dn||{}),Dl=g(g({},he.WindowProviderResponseEnums),Dn)});var _n=f(()=>{"use strict";n()});var On=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n()});var Fn=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var Mn=f(()=>{"use strict";n()});var P=f(()=>{"use strict";n();Nn();Rn();Cn();U();_n();On();C();Fn();Bn();Mn()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var Gn=f(()=>{"use strict";n()});var cr,$n=f(()=>{"use strict";n();cr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(cr||{})});var Vn=f(()=>{"use strict";n()});var lr=f(()=>{"use strict";n()});var Hn=f(()=>{"use strict";n()});var Re,qn,np,jn,op,zn,ip,sp,aa,pr,le=f(()=>{"use strict";n();P();Re={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",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:qn,egldLabel:np}=Re["devnet"],{chainId:jn,egldLabel:op}=Re["testnet"],{chainId:zn,egldLabel:ip}=Re["mainnet"],sp={["devnet"]:qn,["testnet"]:jn,["mainnet"]:zn},aa={[qn]:"devnet",[jn]:"testnet",[zn]:"mainnet"},pr=3e3});var ur=f(()=>{"use strict";n()});var j,Kn=f(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var rt,dr=f(()=>{"use strict";n();rt=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Yn,Xn,mr,dp,mp,Zn=f(()=>{"use strict";n();dr();mr=String((Xn=(Yn=rt.safeWindow)==null?void 0:Yn.navigator)==null?void 0:Xn.userAgent),dp=/^((?!chrome|android).)*safari/i.test(mr),mp=/firefox/i.test(mr)&&/windows/i.test(mr)});var gr,fr,Jn,nt,Qn,xe,Tr,I=f(()=>{"use strict";n();Un();Wn();Gn();$n();Vn();lr();Hn();le();ur();Kn();Zn();gr=5e4,fr=1e9,Jn=1,nt="logout",Qn="login",xe="0",Tr="-"});var ot,yr=f(()=>{"use strict";n();ot=()=>Date.now()/1e3});var eo=f(()=>{"use strict";n()});var to=f(()=>{"use strict";n()});var ro=f(()=>{"use strict";n();yr();eo();to()});var hr={};ie(hr,{clear:()=>ua,getItem:()=>la,localStorageKeys:()=>pe,removeItem:()=>pa,setItem:()=>ca});var pe,it,ca,la,pa,ua,Ce=f(()=>{"use strict";n();ro();pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},it=typeof localStorage!="undefined",ca=({key:e,data:t,expires:r})=>{!it||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},la=e=>{if(!it)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:ot()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},pa=e=>{!it||localStorage.removeItem(String(e))},ua=()=>{!it||localStorage.clear()}});var xr={};ie(xr,{clear:()=>so,getItem:()=>oo,removeItem:()=>io,sessionStorageKeys:()=>da,setItem:()=>no,storage:()=>ma});var da,no,oo,io,so,ma,ao=f(()=>{"use strict";n();da={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},no=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},oo=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},io=e=>sessionStorage.removeItem(String(e)),so=()=>sessionStorage.clear(),ma={setItem:no,getItem:oo,removeItem:io,clear:so}});var Se,st=f(()=>{"use strict";n();Ce();ao();Se={session:xr,local:hr}});var Sr,E,at,W=f(()=>{"use strict";n();Sr=require("@reduxjs/toolkit");I();E=(0,Sr.createAction)(nt),at=(0,Sr.createAction)(Qn,e=>({payload:e}))});var Ar,co,lo,ct,wr,po,lt,Hp,uo,qp,jp,zp,Kp,Yp,Xp,Zp,Jp,pt,ut=f(()=>{"use strict";n();Ar=require("@multiversx/sdk-core"),co=require("@reduxjs/toolkit"),lo=require("redux-persist");I();st();Ce();W();ct={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:xe},wr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ct},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},po=(0,co.createSlice)({name:"accountInfoSlice",initialState:wr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Ar.Address(r).toHex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:ct},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(E,()=>(Se.local.removeItem(pe.loginExpiresAt),wr)),e.addCase(at,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ar.Address(o).toHex()}),e.addCase(lo.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:wr.accounts,t.publicKey=d})}}),{setAccount:lt,setAddress:Hp,setAccountNonce:uo,setAccountShard:qp,setLedgerAccount:jp,updateLedgerAccount:zp,setWalletConnectAccount:Kp,setIsAccountLoading:Yp,setAccountLoadingError:Xp,setWebsocketEvent:Zp,setWebsocketBatchEvent:Jp}=po.actions,pt=po.reducer});function Pe(){return new Date().setHours(new Date().getHours()+24)}function De(e){Se.local.setItem({key:pe.loginExpiresAt,data:e,expires:e})}var Ir=f(()=>{"use strict";n();st();Ce()});var fo,mo,To,cu,lu,pu,uu,du,mu,yo,gu,fu,Tu,dt,mt=f(()=>{"use strict";n();fo=require("@reduxjs/toolkit");Ir();U();W();mo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},To=(0,fo.createSlice)({name:"loginInfoSlice",initialState:mo,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(E,()=>mo),e.addCase(at,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,De(Pe())})}}),{setLoginMethod:cu,setWalletConnectLogin:lu,setLedgerLogin:pu,setTokenLogin:uu,setTokenLoginSignature:du,setWalletLogin:mu,invalidateLoginSession:yo,setLogoutRoute:gu,setIsWalletConnectV2Initialized:fu,setWebviewLogin:Tu}=To.actions,dt=To.reducer});var xo,ho,So,Su,wu,Au,Iu,gt,ft=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");W();ho={},So=(0,xo.createSlice)({name:"modalsSlice",initialState:ho,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(E,()=>ho)}}),{setTxSubmittedModal:Su,setNotificationModal:wu,clearTxSubmittedModal:Au,clearNotificationModal:Iu}=So.actions,gt=So.reducer});var _e,Tt=f(()=>{"use strict";n();_e=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var ne,ue=f(()=>{"use strict";n();Tt();ne=()=>{if(!_e())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var wo=f(()=>{"use strict";n();ue()});var Ao=f(()=>{"use strict";n();yt()});var Io=f(()=>{"use strict";n();dr()});var yt=f(()=>{"use strict";n();wo();Ao();ue();Io()});var vo=f(()=>{"use strict";n();yt()});var bo=f(()=>{"use strict";n();vo()});function Eo(e){return e[Math.floor(Math.random()*e.length)]}var ko=f(()=>{"use strict";n()});var Lo=f(()=>{"use strict";n();lr()});var No=f(()=>{"use strict";n();bo();ko();Lo()});var Ro,Co,Po,vr,fa,Do,nd,od,id,ht,xt=f(()=>{"use strict";n();Ro=require("@reduxjs/toolkit"),Co=x(require("lodash.omit")),Po=require("redux-persist");ur();W();No();vr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},fa={network:vr},Do=(0,Ro.createSlice)({name:"appConfig",initialState:fa,reducers:{initializeNetworkConfig:(e,t)=>{let r=Eo(t.payload.walletConnectV2RelayAddresses),o=(0,Co.default)(t.payload,"walletConnectV2RelayAddresses");e.network=A(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(E,t=>{t.network.customWalletAddress=void 0}),e.addCase(Po.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:nd,updateNetworkConfig:od,setCustomWalletAddress:id}=Do.actions,ht=Do.reducer});var _o,br,Oo,ud,dd,md,St,wt=f(()=>{"use strict";n();_o=require("@reduxjs/toolkit");P();W();br={isSigning:!1,signedSessions:{}},Oo=(0,_o.createSlice)({name:"signedMessageInfoSliceState",initialState:br,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>br},extraReducers:e=>{e.addCase(E,()=>br)}}),{setSignSession:ud,clearSignedMessageInfo:dd,setSignSessionState:md}=Oo.actions,St=Oo.reducer});var Bo,Mo,Fo,Uo,Sd,wd,Ad,Id,At,It=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit"),Mo=require("redux-persist");P();yr();W();Fo={customToasts:[],transactionToasts:[]},Uo=(0,Bo.createSlice)({name:"toastsSlice",initialState:Fo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=A(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(A(g({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:ot(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(E,()=>Fo),e.addCase(Mo.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Sd,removeCustomToast:wd,addTransactionToast:Ad,removeTransactionToast:Id}=Uo.actions,At=Uo.reducer});var Wo,kr,Lr,Nr,Ta,Er,Go,kd,Ld,Nd,vt,bt=f(()=>{"use strict";n();Wo=require("@reduxjs/toolkit");W();kr="Transaction failed",Lr="Transaction successful",Nr="Processing transaction",Ta="Transaction submitted",Er={},Go=(0,Wo.createSlice)({name:"transactionsInfo",initialState:Er,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||kr,successMessage:(o==null?void 0:o.successMessage)||Lr,processingMessage:(o==null?void 0:o.processingMessage)||Nr,submittedMessage:(o==null?void 0:o.submittedMessage)||Ta,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Er},extraReducers:e=>{e.addCase(E,()=>Er)}}),{clearTransactionsInfo:kd,setTransactionsDisplayInfo:Ld,clearTransactionsInfoForSessionId:Nd}=Go.actions,vt=Go.reducer});function $o(e){return e!=null&&(ka(e)||Pa(e))}function Et(e){return e!=null&&(La(e)||Da(e))}function kt(e){return e!=null&&(Na(e)||_a(e))}function Vo(e){return e!=null&&(Ra(e)||Oa(e))}function Ho(e){return e!=null&&Ca(e)}function ka(e){return e!=null&&ha.includes(e)}function La(e){return e!=null&&xa.includes(e)}function Na(e){return e!=null&&Sa.includes(e)}function Ra(e){return e!=null&&wa.includes(e)}function Ca(e){return e!=null&&Aa.includes(e)}function Pa(e){return e!=null&&Ia.includes(e)}function Da(e){return e!=null&&va.includes(e)}function _a(e){return e!=null&&ba.includes(e)}function Oa(e){return e!=null&&Ea.includes(e)}var ha,xa,Sa,wa,Aa,Ia,va,ba,Ea,Rr=f(()=>{"use strict";n();U();ha=["sent"],xa=["success"],Sa=["fail","cancelled","timedOut"],wa=["invalid"],Aa=["timedOut"],Ia=["pending"],va=["success"],ba=["fail","invalid"],Ea=["not executed"]});var qo,jo,Fe,Fa,zo,Lt,Md,Ud,Wd,Gd,$d,Vd,Hd,qd,jd,zd,Nt,Rt=f(()=>{"use strict";n();qo=require("@reduxjs/toolkit"),jo=require("redux-persist");U();Rr();W();Fe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Fa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},zo=(0,qo.createSlice)({name:"transactionsSlice",initialState:Fe,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},Fa),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Fe.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=g(g({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var y,S,h,k,N,_,ge,ze;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(S=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:S.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(O=>O.hash===l?A(g(g({},p!=null?p:{}),O),{status:o,errorMessage:i,inTransit:d}):O);let jt=(k=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:k.every(O=>Et(O.status)),Qr=(_=(N=e.signedTransactions[r])==null?void 0:N.transactions)==null?void 0:_.some(O=>kt(O.status)),Ke=(ze=(ge=e.signedTransactions[r])==null?void 0:ge.transactions)==null?void 0:ze.every(O=>Vo(O.status));jt&&(e.signedTransactions[r].status="success"),Qr&&(e.signedTransactions[r].status="fail"),Ke&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Fe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Fe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(E,()=>Fe),e.addCase(jo.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[m,y])=>{let S=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-S>0||(d[m]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Lt,updateSignedTransactions:Md,setTransactionsToSign:Ud,clearAllTransactionsToSign:Wd,clearAllSignedTransactions:Gd,clearSignedTransaction:$d,clearTransactionToSign:Vd,setSignTransactionsError:Hd,setSignTransactionsCancelMessage:qd,moveTransactionsToSignedState:jd,updateSignedTransactionsCustomTransactionInformation:zd}=zo.actions,Nt=zo.reducer});var Ko,Cr,Yo,Zd,Xo,Jd,Qd,Ct,Pt=f(()=>{"use strict";n();Ko=require("@reduxjs/toolkit");W();Cr={},Yo=(0,Ko.createSlice)({name:"batchTransactionsSlice",initialState:Cr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Cr},extraReducers:e=>{e.addCase(E,()=>Cr)}}),{setBatchTransactions:Zd,updateBatchTransactions:Xo,clearBatchTransactions:Jd,clearAllBatchTransactions:Qd}=Yo.actions,Ct=Yo.reducer});var Jo,Zo,Qo,nm,ei,Pr=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");W();Zo={},Qo=(0,Jo.createSlice)({name:"dappConfigSlice",initialState:Zo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(E,()=>Zo)}}),{setDappConfig:nm}=Qo.actions,ei=Qo.reducer});var J=f(()=>{"use strict";n();ut();mt();ft();xt();wt();It();bt();Rt();Pt();Pr()});var Dr=f(()=>{"use strict";n()});var ni,Wa,Ga,Be,_r=f(()=>{"use strict";n();ni=require("@reduxjs/toolkit");Dr();ut();Pt();Pr();mt();ft();xt();wt();It();bt();Rt();Wa={["account"]:pt,["dappConfig"]:ei,["loginInfo"]:dt,["modals"]:gt,["networkConfig"]:ht,["signedMessageInfo"]:St,["toasts"]:At,["transactionsInfo"]:vt,["transactions"]:Nt,["batchTransactions"]:Ct},Ga=(e={})=>(0,ni.combineReducers)(g(g({},Wa),e)),Be=Ga});var ai={};ie(ai,{default:()=>nc,sessionStorageReducers:()=>Or});function Q(e,t=[]){return{key:e,version:1,storage:ii.default,blacklist:t}}var D,oi,ii,$a,Me,Va,Ha,qa,ja,za,Ka,Ya,Xa,Za,Ja,si,Qa,Or,ec,tc,rc,nc,ci=f(()=>{"use strict";n();D=require("redux-persist"),oi=x(require("redux-persist/lib/storage")),ii=x(require("redux-persist/lib/storage/session"));_r();J();ut();Pt();mt();ft();xt();wt();It();bt();Rt();Dr();$a={persistReducersStorageType:"localStorage"},Me={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Va=Q(Me["account"]),Ha=Q(Me["loginInfo"]),qa=Q(Me["modals"]),ja=Q(Me["networkConfig"]),za={2:e=>A(g({},e),{networkConfig:vr})};Ka=Q("sdk-dapp-transactionsInfo"),Ya=Q("sdk-dapp-transactions",["transactionsToSign"]),Xa=Q("sdk-dapp-batchTransactions",["batchTransactions"]),Za=Q("sdk-dapp-toasts"),Ja=Q("sdk-dapp-signedMessageInfo"),si={key:"sdk-dapp-store",version:2,storage:oi.default,whitelist:Object.keys(Me),migrate:(0,D.createMigrate)(za,{debug:!1})},Qa=A(g({},si),{whitelist:[]}),Or={["toasts"]:(0,D.persistReducer)(Za,At),["transactions"]:(0,D.persistReducer)(Ya,Nt),["transactionsInfo"]:(0,D.persistReducer)(Ka,vt),["batchTransactions"]:(0,D.persistReducer)(Xa,Ct),["signedMessageInfo"]:(0,D.persistReducer)(Ja,St)},ec=A(g({},Or),{["account"]:(0,D.persistReducer)(Va,pt),["loginInfo"]:(0,D.persistReducer)(Ha,dt),["modals"]:(0,D.persistReducer)(qa,gt),["networkConfig"]:(0,D.persistReducer)(ja,ht)}),tc=$a.persistReducersStorageType==="localStorage",rc=tc?(0,D.persistReducer)(si,Be(Or)):(0,D.persistReducer)(Qa,Be(ec)),nc=rc});var li={};ie(li,{default:()=>oc});var oc,pi=f(()=>{"use strict";n();_r();oc=Be()});var ui={};ie(ui,{default:()=>sc});var B,ic,sc,di=f(()=>{"use strict";n();B=require("redux-persist"),ic=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],sc=ic});var fi={};ie(fi,{default:()=>gi});function gi(e){return(0,mi.persistStore)(e)}var mi,Ti=f(()=>{"use strict";n();mi=require("redux-persist")});var wl={};ie(wl,{useVerifyBatchStatus:()=>Sl});module.exports=Ne(wl);n();var As=require("react");n();var ss=require("react");P();n();var os=require("react");n();n();n();var Ii=require("react"),we=require("react-redux");n();var Si=require("@reduxjs/toolkit"),wi=require("react-redux/lib/utils/Subscription");J();n();var ti=x(require("lodash.throttle"));I();J();Ir();st();Ce();var Ba=[nt],Dt=!1,Ma=(0,ti.default)(()=>{De(Pe())},5e3),ri=e=>t=>r=>{if(Ba.includes(r.type))return t(r);let o=e.getState(),i=Se.local.getItem(pe.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return De(Pe()),t(r);let p=Date.now();return i-p<0&&!Dt?setTimeout(()=>{Dt=!0,e.dispatch(yo())},1e3):(Dt&&(Dt=!1),Ma()),t(r)};n();n();function _t(){return typeof sessionStorage!="undefined"}var yi=_t()?(ci(),Ne(ai)).default:(pi(),Ne(li)).default,hi=_t()?(di(),Ne(ui)).default:[],xi=_t()?(Ti(),Ne(fi)).default:e=>e;var v=(0,Si.configureStore)({reducer:yi,middleware:e=>e({serializableCheck:{ignoredActions:[...hi,uo.type,lt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ri)}),Ai=(0,wi.createSubscription)(v),eg=xi(v);var ac={store:v,subscription:Ai},Fr=(0,Ii.createContext)(ac),og=(0,we.createStoreHook)(Fr),Ae=(0,we.createDispatchHook)(Fr),z=(0,we.createSelectorHook)(Fr);n();n();J();n();var vi=x(require("lodash.isequal")),Ot=require("reselect"),T=(0,Ot.createSelectorCreator)(Ot.defaultMemoize,vi.default);var K=e=>e.account,Ie=T(K,e=>e.address),Ue=T(K,Ie,(e,t)=>t in e.accounts?e.accounts[t]:ct),cc=T(K,Ue,(e,t)=>{let i=e,{accounts:r}=i,o=Xe(i,["accounts"]);return A(g({},o),{address:t.address,account:t})}),lg=T(Ue,e=>e.balance),bi=T(Ue,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),pg=T(K,e=>e.shard),ug=T(K,e=>e.ledgerAccount),dg=T(K,e=>e.walletConnectAccount),mg=T(K,e=>e.isAccountLoading),gg=T(K,e=>e.accountLoadingError),lc=T(K,e=>e.websocketEvent),pc=T(K,e=>e.websocketBatchEvent);n();var uc=e=>e.dappConfig,yg=T(uc,e=>e.shouldUseWebViewProvider);n();var M=e=>e.loginInfo,wg=T(M,e=>e.loginMethod),Br=T(M,Ie,(e,t)=>Boolean(t)),Ag=T(M,e=>e.walletConnectLogin),Ig=T(M,e=>e.ledgerLogin),Ei=T(M,e=>e.walletLogin),vg=T(M,e=>e.isLoginSessionInvalid),bg=T(M,e=>e.tokenLogin),Eg=T(M,e=>e.logoutRoute),dc=T(M,e=>e.isWalletConnectV2Initialized);n();var ki=e=>e.modals,Ng=T(ki,e=>e.txSubmittedModal),Rg=T(ki,e=>e.notificationModal);n();var ee=e=>e.networkConfig,Dg=T(ee,e=>e.network.chainId),_g=T(ee,e=>e.network.roundDuration),Og=T(ee,e=>e.network.walletConnectBridgeAddress),Fg=T(ee,e=>e.network.walletConnectV2RelayAddress),Bg=T(ee,e=>e.network.walletConnectV2ProjectId),Mg=T(ee,e=>e.network.walletConnectV2Options),Ug=T(ee,e=>e.network.walletConnectDeepLink),te=T(ee,e=>e.network),Ft=T(te,e=>e.apiAddress),Li=T(te,e=>e.explorerAddress),Wg=T(te,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Gg=T(te,e=>e.xAliasAddress),$g=T(te,e=>e.egldLabel);n();var Bt=e=>e.signedMessageInfo,qg=T(Bt,e=>e.isSigning),jg=T(Bt,e=>e.errorMessage),zg=T(Bt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Kg=T(Bt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Ni=e=>e.toasts,Zg=T(Ni,e=>e.customToasts),Jg=T(Ni,e=>e.transactionToasts);n();J();var Ri={errorMessage:kr,successMessage:Lr,processingMessage:Nr},mc=e=>e.transactionsInfo,nf=T(mc,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[t])||Ri);n();n();var de=require("@multiversx/sdk-core");I();n();n();n();function Mr(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}n();n();n();n();var Ci=e=>{let t=e!=null?e:"";return Mr(t)?s.Buffer.from(s.Buffer.from(t,"base64").toString().trim()):s.Buffer.from(t.trim())};n();I();var Mt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(cr).some(r=>e.startsWith(r)):!1;function Ur(e){var o,i,l;let t=g({},e);Mt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new de.Transaction(g(g(A(g(A(g(g({value:BigInt(t.value.valueOf()),data:Ci(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new de.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new de.Address(t.relayer)}:{}),{sender:new de.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:gr),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:fr),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:Jn}),t.options?{options:t.options}:{}),t.guardian?{guardian:new de.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();I();n();n();n();var yc=require("@multiversx/sdk-core");n();I();n();var xc=require("@multiversx/sdk-core");P();n();var Pi=require("@multiversx/sdk-core");function hc(e){try{return Pi.Address.isValid(e)}catch(t){return!1}}function We(e){return/^\w+$/.test(e)&&hc(e)}n();n();n();var Sc=require("@multiversx/sdk-core"),wc=x(require("bignumber.js"));U();n();n();n();var Ge="accounts";var Wr="batch";n();n();n();n();C();n();n();C();n();n();n();var vc=x(require("bignumber.js"));I();n();var Gr=x(require("bignumber.js"));I();n();var Fi=x(require("bignumber.js")),Gt=(e,t=!0)=>{let r=String(e);if(!r.match(/^[-]?\d+$/))return!1;let o=new Fi.default(r),i=!t||o.isGreaterThanOrEqualTo(0);return o.toString(10)===r&&i};n();Gr.default.config({ROUNDING_MODE:Gr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Bi=require("@multiversx/sdk-core"),bc=x(require("bignumber.js"));I();n();var Vr=require("@multiversx/sdk-core"),kc=x(require("bignumber.js"));I();n();n();var Ec=x(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();C();var Nc=["reDelegateRewards","claimRewards","unBond"],Rc=["wrapEgld","unwrapEgld"],Cc=["unStake"],Pc=["unDelegate"];n();n();n();I();n();var Oc=x(require("bignumber.js"));n();n();C();n();var Bc=x(require("bignumber.js"));n();n();n();n();var Uc=x(require("bignumber.js"));P();n();n();var Wc=require("@multiversx/sdk-core");n();n();U();n();var Vc=require("@multiversx/sdk-web-wallet-provider");I();n();var $c=x(require("qs"));n();yt();Tt();n();Tt();var Vx={search:_e()?window.location.search:"",removeParams:[]};n();n();n();ue();n();C();n();n();ue();n();var Hc=x(require("linkifyjs"));n();I();n();var qc=x(require("bignumber.js"));n();P();n();n();U();n();U();n();n();n();C();n();C();n();var jc=x(require("bignumber.js"));I();C();n();C();n();var Wi=require("react");P();n();n();C();n();n();var zc=require("@multiversx/sdk-core"),Kc=x(require("bignumber.js"));C();n();P();n();n();P();var Fw=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Gi=require("react");P();ue();n();var Xc=require("react");C();var Hw=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Rr();n();var $t=e=>e.transactions,me=T($t,e=>e.signedTransactions),_A=T($t,e=>e.signTransactionsError),OA=T($t,e=>e.signTransactionsCancelMessage),Vt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),FA=T(me,Vt($o)),BA=T(me,Vt(Et)),MA=T(me,Vt(kt)),UA=T(me,Vt(Ho)),WA=T($t,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Ur(r)))||[]})}),GA=T(me,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var He=()=>z(Ue);n();n();n();n();n();var Vi=require("@multiversx/sdk-extension-provider"),Hi=require("@multiversx/sdk-hw-provider"),qi=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),ji=require("@multiversx/sdk-opera-provider"),zi=require("@multiversx/sdk-passkey-provider/out"),Ki=require("@multiversx/sdk-web-wallet-provider");I();ar();n();var qr=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Zc=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");U();n();var $i=ve;var jr=e=>{switch(e==null?void 0:e.constructor){case Ki.WalletProvider:return"wallet";case $i:return"walletconnectv2";case Hi.HWProvider:return"ledger";case Vi.ExtensionProvider:return"extension";case zi.PasskeyProvider:return"passkey";case qi.MetamaskProvider:return"metamask";case ji.OperaProvider:return"opera";case sr.CrossWindowProvider:return"crossWindow";case qr.IframeProvider:return"iframe";case ve:return"";default:return"extra"}};var G=e=>`Unable to perform ${e}, Provider not initialized`,ve=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(G("getAccount"))}setAccount(t){throw new Error(G(`setAccount: ${t}`))}login(t){throw new Error(G(`login with options: ${t}`))}logout(t){throw new Error(G(`logout with options: ${t}`))}getAddress(){throw new Error(G("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(G(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(G(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(G(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(G(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(G(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(G(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},zr=new ve;var Jc=zr;function oe(){return Jc||zr}n();n();n();n();n();n();n();var qe=x(require("react"));var DI=(0,qe.createContext)({}),_I=v.getState();n();var Xi=x(require("react"));n();var Kr=x(require("react")),Qc=x(require("axios"));n();n();n();var rs=x(require("axios"));n();n();n();var el=x(require("axios"));n();var tl=x(require("axios"));le();n();I();n();var Zi=x(require("axios"));var Ji=e=>{let t=Ft(v.getState());return Zi.default.get(`${t}/transactions/${e}`,{timeout:1e4})};n();var nl=x(require("axios"));n();n();var ol=x(require("axios"));n();var il=x(require("axios"));n();n();n();n();n();var es=require("@lifeomic/axios-fetch"),Yr=x(require("axios")),Xr=(0,es.buildAxiosFetch)(Yr.default),Zr=(e,t)=>w(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function sl(e,t,r){return w(this,null,function*(){try{let o=yield Xr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function al(e,t){return w(this,null,function*(){try{let r=yield Xr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Zr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function cl(e,t,r){return w(this,null,function*(){try{let o=yield Xr(e,g({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var be=Yr.default.create();be.get=al;be.post=sl;be.patch=cl;n();var Ee=e=>{let t=e!=null?e:Ft(v.getState());return t.endsWith("/")?t.slice(0,-1):t};n();var ll=x(require("axios"));n();var pl=x(require("swr"));n();n();var ul=(e,t)=>{var l;let r=(l=t==null?void 0:t.apiAddress)!=null?l:Ee(),o=t!=null&&t.headers?{headers:t==null?void 0:t.headers}:void 0,i=`${r}/${Ge}/${e}?withGuardianInfo=true`;return be.get(i,o)},ts=(e,t)=>w(void 0,null,function*(){if(!e)return null;try{let{data:r}=yield ul(e,t);return r}catch(r){console.error("error fetching configuration for ",e,r)}return null});n();n();n();le();n();var gl=x(require("axios"));n();var Tl=x(require("axios"));n();var yl=x(require("axios"));n();le();n();le();n();n();n();n();var xl=x(require("axios"));n();le();function ns(r){return w(this,arguments,function*({batchId:e,address:t}){let{apiAddress:o,apiTimeout:i}=te(v.getState()),{data:l}=yield rs.default.get(`${o}/${Wr}/${t}/${e}`,{timeout:Number(i!=null?i:pr)});return l})}var is=()=>{let{address:e}=He();return(0,os.useCallback)(t=>w(void 0,null,function*(){try{return yield ns({batchId:t,address:e})}catch(r){return console.error(r),null}}),[e])};var qt=()=>{let e=is();return(0,ss.useCallback)(r=>w(void 0,[r],function*({batchId:t}){let o=yield e(t);return o?{statusResponse:o,isBatchSuccessful:o.status==="success",isBatchFailed:o.status==="fail"||o.status==="invalid"||o.status==="dropped",isBatchNotFound:Boolean(o.statusCode)&&Boolean(o.message)}:{statusResponse:o,isBatchSuccessful:!1,isBatchFailed:!0,isBatchNotFound:!1}}),[e])};n();I();var as=e=>{if(!e||typeof e!="string")return null;let t=e.split(Tr)[0];return Gt(t)?parseInt(t,10):null};n();function cs(){let e=z(me),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{signedTransactions:e,signedTransactionsArray:t,hasSignedTransactions:r}}n();P();var ls=({transactions:e,hasUnrelatedTransactions:t})=>{let r=e.every(({status:m})=>m==="fail"),o=e.some(({status:m})=>m==="fail"),i=e.some(({status:m})=>m==="pending"),l=e.every(({status:m})=>m==="success"),p=t&&Boolean(!i&&!r&&o);return{isPending:i,isSuccessful:l,isFailed:t?p?!1:r:o,isIncompleteFailed:p}};n();var Jr=require("react");J();n();n();var ke=class{constructor(t){this.status=(t||"").toLowerCase()}static createUnknown(){return new ke("unknown")}isPending(){return this.status=="received"||this.status=="pending"}isExecuted(){return this.isSuccessful()||this.isFailed()||this.isInvalid()}isSuccessful(){return this.status=="executed"||this.status=="success"||this.status=="successful"}isFailed(){return this.status=="fail"||this.status=="failed"||this.status=="unsuccessful"||this.isInvalid()}isInvalid(){return this.status=="invalid"}toString(){return this.status}valueOf(){return this.status}equals(t){return t?this.status==t.status:!1}};n();function ps(e){return new Promise(t=>setTimeout(t,e))}var us=e=>w(void 0,null,function*(){let r=4,o;if(e.length===0)return{data:o,success:!1};for(;o===void 0&&r>0;)try{yield ps(3e3);let l=(yield Promise.allSettled(e.map(d=>Ji(d)))).map(d=>d.status==="fulfilled"?d.value.data:void 0).filter(d=>d!==void 0);if(l.length>0){let d=l.length===e.length,m=l.some(y=>new ke(y.status).isPending());d&&!m||r===1?(o=l,r=0):r-=1}else r-=1}catch(i){r-=1}return{data:o,success:o!==void 0}});P();n();J();n();var ds=(e,t)=>ts(e,t);n();U();n();n();function ms(){let e=oe();return jr(e)}function je(e){return ms()===e}n();ue();var gs=()=>{let{search:e}=ne(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return We(o)?o:null};function fs(){let e=v.getState(),t=oe(),r=Ie(e),o=Br(e),i=Ei(e);if(!t)throw"provider not initialized";return je("ledger")&&o?new Promise(l=>{l(r)}):!je("")&&!je("wallet")&&!je("extra")?t.getAddress():new Promise(l=>{let p=gs();i!=null&&p&&l(p),o&&l(r),l("")})}n();function Ts(e){let t=v.getState(),r=bi(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}var ys=()=>w(void 0,null,function*(){try{let e=yield fs();try{let t=yield ds(e);if(t!=null){let r=A(g({},t),{nonce:Ts(t)});return v.dispatch(lt(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function hs(){return w(this,null,function*(){let e=oe();if(e==null)throw"Provider not initialized";if(!e.isInitialized||e.isInitialized())return ys();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?ys():void 0}catch(t){console.error("Failed initializing provider ",t)}})}function xs(){let e=Ae(),{address:t}=He(),r=(0,Jr.useCallback)(({sessionId:o,dropUnprocessedTransactions:i,serverTransactions:l,signedTransactions:p})=>{for(let d of p){let m=l.find(y=>y.txHash===d.hash);if(!m){i&&e(Lt({sessionId:o,status:"fail",transactionHash:d.hash}));continue}e(Lt({sessionId:o,status:m.status,transactionHash:d.hash,serverTransaction:m}))}},[e]);return(0,Jr.useCallback)(o=>w(this,null,function*(){if(!o)return;let{transactions:i,isFailed:l,sessionId:p}=o;if(!i||i.length===0)return;if(l){for(let y of i)e(Lt({sessionId:p,status:"fail",transactionHash:y.hash}));return}let{data:d,success:m}=yield us(i.map(({hash:y})=>y).filter(y=>Boolean(y)));m&&d&&r({sessionId:p,dropUnprocessedTransactions:o.dropUnprocessedTransactions,serverTransactions:d,signedTransactions:i}),o.shouldRefreshBalance&&(yield hs())}),[e,t,r])}n();var Ss=require("react");J();function ws(){let e=Ae(),t=qt();return(0,Ss.useCallback)(o=>w(this,[o],function*({batchId:r}){let i=yield t({batchId:r});return i.statusResponse&&e(Xo(i.statusResponse)),i}),[e,t])}var Sl=e=>{let t=Ae(),{signedTransactions:r}=cs(),o=ws(),i=xs(),l=qt(),p=e==null?void 0:e.onSuccess,d=e==null?void 0:e.onFail;return{verifyBatchStatus:(0,As.useCallback)(S=>w(void 0,[S],function*({batchId:y}){var Ke,O,en,tn,rn;let h=(O=(Ke=as(y))==null?void 0:Ke.toString())!=null?O:"",k=r[h];if(!k||!((en=k.customTransactionInformation)==null?void 0:en.grouping))return;let _=(rn=(tn=r[h])==null?void 0:tn.transactions)!=null?rn:[],{isSuccessful:ge,isFailed:ze,isPending:jt}=ls({transactions:_});if(!jt)ge&&(p==null||p(h)),ze&&(d==null||d(h,"Error processing batch transactions."));else{let zt=yield o({batchId:y});yield i({sessionId:h.toString(),isFailed:zt==null?void 0:zt.isBatchFailed,shouldRefreshBalance:!0,transactions:_})}}),[t,l,i,r,o,p,d])}};0&&(module.exports={useVerifyBatchStatus});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|