@multiversx/sdk-dapp 2.38.1-alpha.1 → 2.38.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/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/SignWithMetamaskProxyModal/SignWithMetamaskProxyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskProxyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/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/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/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/metamaskProxy/MetamaskProxyLoginButton/MetamaskProxyButton.js +1 -1
- package/UI/metamaskProxy/MetamaskProxyLoginButton/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/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-25ONWZV3.js +2 -0
- package/__chunks__/{chunk-UVW43JTP.js → chunk-2A3OOO4N.js} +2 -2
- package/__chunks__/{chunk-QAE2QX2I.js → chunk-2KBILVBP.js} +2 -2
- package/__chunks__/chunk-2LZQZV6T.js +2 -0
- package/__chunks__/{chunk-YS4BB3WI.js → chunk-2NIPW24L.js} +2 -2
- package/__chunks__/{chunk-77IGYVJY.js → chunk-2NSN26TH.js} +2 -2
- package/__chunks__/{chunk-AW3P44VD.js → chunk-2QIMN7EA.js} +2 -2
- package/__chunks__/{chunk-KF5NQSQP.js → chunk-2TNGJ23Z.js} +2 -2
- package/__chunks__/chunk-2XHD6T57.js +2 -0
- package/__chunks__/{chunk-5QUDLTVY.js → chunk-334WX6O3.js} +2 -2
- package/__chunks__/{chunk-6I5HHMDP.js → chunk-377D4Y6P.js} +2 -2
- package/__chunks__/{chunk-BACF4TMO.js → chunk-37FNY4AD.js} +2 -2
- package/__chunks__/{chunk-IYQ52O3I.js → chunk-3E24I2YQ.js} +2 -2
- package/__chunks__/{chunk-KOKVKIKU.js → chunk-3GXJYKHZ.js} +2 -2
- package/__chunks__/{chunk-LVNXGFKU.js → chunk-3K5QWNBO.js} +2 -2
- package/__chunks__/{chunk-QAMHCADN.js → chunk-3UCLRDEE.js} +2 -2
- package/__chunks__/{chunk-2TEBOHE5.js → chunk-3YUD7SXH.js} +2 -2
- package/__chunks__/{chunk-O5Y5Y67Q.js → chunk-3Z6EMFV2.js} +2 -2
- package/__chunks__/chunk-42MX672P.js +2 -0
- package/__chunks__/{chunk-GGSYV7LB.js → chunk-4BGBEYTB.js} +2 -2
- package/__chunks__/{chunk-F542MKCU.js → chunk-4BLQM6RD.js} +2 -2
- package/__chunks__/{chunk-HALDRIKD.js → chunk-4BSNKW7K.js} +2 -2
- package/__chunks__/{chunk-RRXYXHRZ.js → chunk-4BWE4OVW.js} +2 -2
- package/__chunks__/{chunk-3APJNLJK.js → chunk-4CAZFQRQ.js} +2 -2
- package/__chunks__/{chunk-GYWAS4V7.js → chunk-4G7IMJUN.js} +2 -2
- package/__chunks__/{chunk-DBWZHSCN.js → chunk-4H6HHTGW.js} +2 -2
- package/__chunks__/{chunk-ZNZID5SD.js → chunk-4LGXF7Y4.js} +2 -2
- package/__chunks__/{chunk-UJJVNOF2.js → chunk-4PZP6U5I.js} +2 -2
- package/__chunks__/{chunk-VGQ2YSZH.js → chunk-4S3FP6JL.js} +2 -2
- package/__chunks__/{chunk-V4SRXP3T.js → chunk-4VALQR5B.js} +2 -2
- package/__chunks__/{chunk-AL5XHZ2U.js → chunk-4VR5XZ73.js} +2 -2
- package/__chunks__/{chunk-4ZTT5OYY.js → chunk-4WG65CBQ.js} +2 -2
- package/__chunks__/{chunk-IPZXOD7N.js → chunk-4YUBQMGV.js} +2 -2
- package/__chunks__/chunk-55F7NN3S.js +2 -0
- package/__chunks__/{chunk-NO6XXY3B.js → chunk-57OXPOPV.js} +2 -2
- package/__chunks__/{chunk-RIPPDT75.js → chunk-57SFKXD6.js} +2 -2
- package/__chunks__/{chunk-RFMMECAT.js → chunk-57WFFPUJ.js} +2 -2
- package/__chunks__/{chunk-R5GPFABR.js → chunk-5BPNXNME.js} +2 -2
- package/__chunks__/{chunk-3O274UD2.js → chunk-5CLFZFKR.js} +2 -2
- package/__chunks__/{chunk-SCZUPWQM.js → chunk-5CVFQATZ.js} +2 -2
- package/__chunks__/{chunk-I7EZXIQ2.js → chunk-5F74LPEE.js} +2 -2
- package/__chunks__/chunk-5GGMWJQY.js +2 -0
- package/__chunks__/{chunk-IMIFRJSU.js → chunk-5H37FDFI.js} +2 -2
- package/__chunks__/chunk-5K7LTNIX.js +2 -0
- package/__chunks__/{chunk-VDGC6MKD.js → chunk-5PTO3OMZ.js} +2 -2
- package/__chunks__/{chunk-UZQHQWKT.js → chunk-5R25CR6H.js} +2 -2
- package/__chunks__/{chunk-MLYF4FZT.js → chunk-5ROD3CWT.js} +2 -2
- package/__chunks__/{chunk-4532UP56.js → chunk-5SFQC42Y.js} +2 -2
- package/__chunks__/chunk-64BHWALL.js +2 -0
- package/__chunks__/{chunk-4NO6VCQ5.js → chunk-64GSDGPL.js} +2 -2
- package/__chunks__/chunk-64OKYPRN.js +2 -0
- package/__chunks__/{chunk-UQWKMU76.js → chunk-64ZVG7CY.js} +2 -2
- package/__chunks__/{chunk-WIINEKTU.js → chunk-6ACKIDAI.js} +2 -2
- package/__chunks__/chunk-6BTTI33M.js +2 -0
- package/__chunks__/{chunk-B2NOH53Y.js → chunk-6CBK72WF.js} +2 -2
- package/__chunks__/{chunk-6RQ7VNTO.js → chunk-6CWSMG4U.js} +2 -2
- package/__chunks__/{chunk-45MICGHL.js → chunk-6EVQ7XOI.js} +2 -2
- package/__chunks__/{chunk-7FPT772H.js → chunk-6FQBNOV5.js} +2 -2
- package/__chunks__/{chunk-MBPEHWKN.js → chunk-6LD3BWLP.js} +2 -2
- package/__chunks__/chunk-6RLGJ42T.js +2 -0
- package/__chunks__/{chunk-DQMGVIQY.js → chunk-6SWH5D44.js} +2 -2
- package/__chunks__/{chunk-F5J5SZ6U.js → chunk-6VOHYVOG.js} +2 -2
- package/__chunks__/{chunk-BJRN4GCT.js → chunk-72EUQY4V.js} +2 -2
- package/__chunks__/{chunk-74WSGSPA.js → chunk-76F4VLB5.js} +2 -2
- package/__chunks__/{chunk-JYQSFGDG.js → chunk-7EKMGDOK.js} +2 -2
- package/__chunks__/chunk-7HH4ZUYP.js +2 -0
- package/__chunks__/{chunk-6GZQXKKP.js → chunk-7O7SVFV4.js} +2 -2
- package/__chunks__/chunk-7R2QNBH6.js +2 -0
- package/__chunks__/chunk-7RFEXF75.js +2 -0
- package/__chunks__/{chunk-VOULDEW6.js → chunk-7TRJXA5X.js} +2 -2
- package/__chunks__/{chunk-SXQGRKKN.js → chunk-7UG4ZGYG.js} +2 -2
- package/__chunks__/{chunk-RJFZ2ZAG.js → chunk-7UTFZX7S.js} +2 -2
- package/__chunks__/{chunk-PS5OLCVD.js → chunk-7YEBE7DP.js} +2 -2
- package/__chunks__/{chunk-ZWN5N7RD.js → chunk-A2LF4UUO.js} +2 -2
- package/__chunks__/chunk-A2VVPYTH.js +2 -0
- package/__chunks__/{chunk-SSC5QKGX.js → chunk-A7S3UL3M.js} +2 -2
- package/__chunks__/{chunk-I6O733I4.js → chunk-AC77W52F.js} +2 -2
- package/__chunks__/{chunk-LKYUEF5X.js → chunk-ADGU3NYQ.js} +2 -2
- package/__chunks__/{chunk-Q7DHQD52.js → chunk-AFDSBE7E.js} +2 -2
- package/__chunks__/{chunk-3TBLOHW2.js → chunk-ALBUHGFU.js} +2 -2
- package/__chunks__/{chunk-V65QHBEM.js → chunk-AO636GH7.js} +2 -2
- package/__chunks__/{chunk-GGK4GRDZ.js → chunk-AOOGOFWR.js} +2 -2
- package/__chunks__/{chunk-YQ3CL4HT.js → chunk-ASPF6WFC.js} +2 -2
- package/__chunks__/{chunk-YRLJRPEH.js → chunk-ASU3JS26.js} +2 -2
- package/__chunks__/{chunk-Z5WSW2RI.js → chunk-ATS33IZA.js} +2 -2
- package/__chunks__/chunk-AVMOJPGK.js +2 -0
- package/__chunks__/{chunk-TXI3TAS7.js → chunk-AXFWQ323.js} +2 -2
- package/__chunks__/{chunk-2XNAPH2G.js → chunk-AYJMXZTY.js} +2 -2
- package/__chunks__/{chunk-5JZLYVUE.js → chunk-B2XBO6J7.js} +2 -2
- package/__chunks__/{chunk-ZYG7H2C5.js → chunk-B3NALJL3.js} +2 -2
- package/__chunks__/chunk-BFNMSQSZ.js +2 -0
- package/__chunks__/{chunk-TLIOQGNF.js → chunk-BGENICOG.js} +2 -2
- package/__chunks__/{chunk-FUHJVNTO.js → chunk-BII77MYK.js} +2 -2
- package/__chunks__/{chunk-7BOJVVO6.js → chunk-BMT5DX4S.js} +2 -2
- package/__chunks__/{chunk-GHYNSO5S.js → chunk-BPBM3SZP.js} +2 -2
- package/__chunks__/{chunk-EOWCAK4X.js → chunk-C3Q74FNK.js} +2 -2
- package/__chunks__/{chunk-HUYBBECK.js → chunk-C3W2OC7P.js} +2 -2
- package/__chunks__/{chunk-JIVDJCJR.js → chunk-C6WY5M7E.js} +2 -2
- package/__chunks__/chunk-CBUKBPBN.js +2 -0
- package/__chunks__/{chunk-UYQATNAW.js → chunk-CI4U22RB.js} +2 -2
- package/__chunks__/{chunk-DV3NKQH7.js → chunk-CIB45TY5.js} +2 -2
- package/__chunks__/chunk-CK3N34LI.js +2 -0
- package/__chunks__/{chunk-GKW6OD2Z.js → chunk-CO7NDIWJ.js} +2 -2
- package/__chunks__/{chunk-7OKD5EXC.js → chunk-CPPO4BO6.js} +2 -2
- package/__chunks__/{chunk-OX3T35EN.js → chunk-CRCMKVOE.js} +2 -2
- package/__chunks__/chunk-CYYQ2EPG.js +2 -0
- package/__chunks__/{chunk-DH242RQG.js → chunk-D2MMWBDZ.js} +2 -2
- package/__chunks__/{chunk-VL6TZUKH.js → chunk-D7LI7EOY.js} +2 -2
- package/__chunks__/{chunk-WTS6EQVW.js → chunk-DBCEW46F.js} +2 -2
- package/__chunks__/{chunk-HYN6QKJ4.js → chunk-DBMZD7TQ.js} +2 -2
- package/__chunks__/{chunk-HLHIKDIM.js → chunk-DE7GN3TT.js} +2 -2
- package/__chunks__/{chunk-U4E25A42.js → chunk-DIPR3EVQ.js} +2 -2
- package/__chunks__/{chunk-ORU2ZC7X.js → chunk-DOWTGNNF.js} +2 -2
- package/__chunks__/{chunk-SNMLPRE5.js → chunk-DPSYNXWL.js} +2 -2
- package/__chunks__/{chunk-EGJVF2EB.js → chunk-DR3GKR3S.js} +2 -2
- package/__chunks__/chunk-DRSK26QN.js +2 -0
- package/__chunks__/{chunk-XSAZTF3E.js → chunk-DWYFS7YA.js} +2 -2
- package/__chunks__/{chunk-OAJWGA6J.js → chunk-DX6MXOL3.js} +2 -2
- package/__chunks__/chunk-E2DVYVFL.js +2 -0
- package/__chunks__/{chunk-ZHD5OA4B.js → chunk-E4RJANC6.js} +2 -2
- package/__chunks__/{chunk-CPHA2PYU.js → chunk-E4VMFULQ.js} +2 -2
- package/__chunks__/{chunk-V4PXI5AW.js → chunk-E6RMSDGP.js} +2 -2
- package/__chunks__/{chunk-HYAXG4WF.js → chunk-EAJF3LOQ.js} +2 -2
- package/__chunks__/{chunk-2BN2GIOS.js → chunk-EBL4F6EG.js} +2 -2
- package/__chunks__/chunk-EEUP6SQL.js +2 -0
- package/__chunks__/{chunk-LCNEHLPG.js → chunk-EI4M3YNV.js} +2 -2
- package/__chunks__/chunk-EJY2WU2T.js +2 -0
- package/__chunks__/{chunk-55GCUERG.js → chunk-EPU2S4NS.js} +2 -2
- package/__chunks__/{chunk-UELCKWMT.js → chunk-EQ7JSMKL.js} +2 -2
- package/__chunks__/{chunk-JGNG3BZZ.js → chunk-EXF6JCAS.js} +2 -2
- package/__chunks__/{chunk-IAD2HOAO.js → chunk-F2VSNGKP.js} +2 -2
- package/__chunks__/{chunk-YMIM5HZU.js → chunk-F3SCLSHV.js} +2 -2
- package/__chunks__/{chunk-KT5ZGPMN.js → chunk-F622Q4WG.js} +2 -2
- package/__chunks__/chunk-FDCTVCCL.js +2 -0
- package/__chunks__/{chunk-Y3PV5ZKU.js → chunk-FDKBWYTB.js} +2 -2
- package/__chunks__/{chunk-CD3CPTHP.js → chunk-FJKUQCOD.js} +2 -2
- package/__chunks__/{chunk-6TWPFLGB.js → chunk-FWSQESPG.js} +2 -2
- package/__chunks__/chunk-G4JUZ6ZV.js +2 -0
- package/__chunks__/{chunk-ZQVTKOB7.js → chunk-G5HESV24.js} +2 -2
- package/__chunks__/chunk-G64JHCEP.js +2 -0
- package/__chunks__/chunk-G653YYXG.js +2 -0
- package/__chunks__/{chunk-QE4J7WNW.js → chunk-G67HBKAM.js} +2 -2
- package/__chunks__/{chunk-Y5YN66ZM.js → chunk-GGCF6MCD.js} +2 -2
- package/__chunks__/{chunk-SQL4D5SJ.js → chunk-GM4WOP3D.js} +2 -2
- package/__chunks__/{chunk-DK7ASQKB.js → chunk-GNJ5XM4X.js} +2 -2
- package/__chunks__/{chunk-HF6N63PN.js → chunk-GO2ZDGAQ.js} +2 -2
- package/__chunks__/{chunk-CZ6GQ7OP.js → chunk-GQW5H33I.js} +2 -2
- package/__chunks__/{chunk-C2EOMFFG.js → chunk-GR7SKQTT.js} +2 -2
- package/__chunks__/{chunk-ONOLWZ55.js → chunk-GREPLCAU.js} +2 -2
- package/__chunks__/chunk-GSVWLVPH.js +2 -0
- package/__chunks__/{chunk-ZJHZLWLP.js → chunk-GVZCDPSU.js} +2 -2
- package/__chunks__/{chunk-DZUQSQJC.js → chunk-H5Z33SMT.js} +2 -2
- package/__chunks__/{chunk-T7TLDQQM.js → chunk-H6NIROGY.js} +2 -2
- package/__chunks__/{chunk-HW64BUNG.js → chunk-HAJ6WC45.js} +2 -2
- package/__chunks__/{chunk-ZSPIPZH4.js → chunk-HEV32P3T.js} +2 -2
- package/__chunks__/{chunk-63YEMGRV.js → chunk-HJOCOWHY.js} +2 -2
- package/__chunks__/{chunk-YQ7Q3UO2.js → chunk-HYLRSP34.js} +2 -2
- package/__chunks__/chunk-I3W6QJGL.js +2 -0
- package/__chunks__/{chunk-5XL4MKTV.js → chunk-I3YDBPLE.js} +2 -2
- package/__chunks__/chunk-I6EPBIXX.js +2 -0
- package/__chunks__/{chunk-ZLRZLINX.js → chunk-I6PHK6EZ.js} +2 -2
- package/__chunks__/{chunk-7S7AJZBG.js → chunk-IACFRPXB.js} +2 -2
- package/__chunks__/{chunk-74IRUNXU.js → chunk-IHDSJSAF.js} +2 -2
- package/__chunks__/{chunk-MS63MM74.js → chunk-IKRY7BAV.js} +2 -2
- package/__chunks__/chunk-IKVFBSKP.js +2 -0
- package/__chunks__/{chunk-TJPTLBVO.js → chunk-IWH754PM.js} +2 -2
- package/__chunks__/{chunk-JDSLDQYY.js → chunk-IYNM4XCP.js} +2 -2
- package/__chunks__/{chunk-ZUPVYE33.js → chunk-IZ4L6YPR.js} +2 -2
- package/__chunks__/chunk-IZR3MD5I.js +2 -0
- package/__chunks__/{chunk-YETUJKNY.js → chunk-J5RC5FOI.js} +2 -2
- package/__chunks__/{chunk-QALBKVT2.js → chunk-JALFN6WM.js} +2 -2
- package/__chunks__/{chunk-GBFY546A.js → chunk-JEHMSMO2.js} +2 -2
- package/__chunks__/{chunk-SBBFPMW4.js → chunk-JFC3UEZC.js} +2 -2
- package/__chunks__/{chunk-WHMVNDZ7.js → chunk-JGEHKKCH.js} +2 -2
- package/__chunks__/{chunk-WOXES4SE.js → chunk-JLVJEWGI.js} +2 -2
- package/__chunks__/{chunk-WZJR6U36.js → chunk-JXEAX4VM.js} +2 -2
- package/__chunks__/chunk-JYKPCMVJ.js +2 -0
- package/__chunks__/{chunk-I7R7VBQN.js → chunk-K3OG7MQM.js} +2 -2
- package/__chunks__/{chunk-DYA4BHPN.js → chunk-K7UTI2NA.js} +2 -2
- package/__chunks__/chunk-KC4XJ5AH.js +2 -0
- package/__chunks__/{chunk-4PGLIZK3.js → chunk-KEZEYBSU.js} +2 -2
- package/__chunks__/{chunk-7EA2KGSK.js → chunk-KG3PV2YV.js} +2 -2
- package/__chunks__/{chunk-ZHO7WZDD.js → chunk-KPTSOEKT.js} +2 -2
- package/__chunks__/{chunk-JBMRJD3U.js → chunk-KSVNY63E.js} +2 -2
- package/__chunks__/{chunk-SBYCT2MO.js → chunk-KT2USGB2.js} +2 -2
- package/__chunks__/chunk-KT5RRFJS.js +2 -0
- package/__chunks__/{chunk-BPDKFUZP.js → chunk-KVQGMANS.js} +2 -2
- package/__chunks__/{chunk-2VBBPK4E.js → chunk-L47LF4QT.js} +2 -2
- package/__chunks__/chunk-L5FU5MHG.js +2 -0
- package/__chunks__/{chunk-ZGFCWHWH.js → chunk-LGF5FN36.js} +2 -2
- package/__chunks__/{chunk-TRE7RNOF.js → chunk-LHB2JQTW.js} +2 -2
- package/__chunks__/{chunk-4XBC5W2B.js → chunk-LI7Q7BYH.js} +2 -2
- package/__chunks__/{chunk-R7C77BLV.js → chunk-LIFMIKHQ.js} +2 -2
- package/__chunks__/{chunk-CEATH2VD.js → chunk-LKTSVK5C.js} +2 -2
- package/__chunks__/{chunk-DVVWEADA.js → chunk-LPCM3UFK.js} +2 -2
- package/__chunks__/{chunk-E5BCAOXF.js → chunk-LPYPYPVB.js} +2 -2
- package/__chunks__/{chunk-6YUF54YB.js → chunk-LRENECQC.js} +2 -2
- package/__chunks__/chunk-LSZOIFVE.js +2 -0
- package/__chunks__/chunk-LYZAXA4R.js +2 -0
- package/__chunks__/{chunk-RPGSJCVE.js → chunk-M57SBHEH.js} +2 -2
- package/__chunks__/{chunk-UCWACLHR.js → chunk-M5SWFZ7X.js} +2 -2
- package/__chunks__/{chunk-35XITYXP.js → chunk-MDF4BEOL.js} +2 -2
- package/__chunks__/chunk-MRLBS4QM.js +2 -0
- package/__chunks__/chunk-MSRHA3BD.js +2 -0
- package/__chunks__/{chunk-NN7NMPYL.js → chunk-MZSO7FDC.js} +2 -2
- package/__chunks__/{chunk-VWUY66YN.js → chunk-N2UHQG5V.js} +2 -2
- package/__chunks__/{chunk-YV6XVIQ6.js → chunk-N2ZJQHPK.js} +2 -2
- package/__chunks__/{chunk-Y53GOAF2.js → chunk-N3CCST3N.js} +2 -2
- package/__chunks__/{chunk-HFE2NNRQ.js → chunk-NCNKHB5C.js} +2 -2
- package/__chunks__/{chunk-24EKLZVH.js → chunk-NJ6MU2EU.js} +2 -2
- package/__chunks__/chunk-NNFDBY7D.js +2 -0
- package/__chunks__/{chunk-3XKQJT3Q.js → chunk-NQEXKQ7B.js} +2 -2
- package/__chunks__/{chunk-5WBV7V5C.js → chunk-NQWKBYCD.js} +2 -2
- package/__chunks__/{chunk-FEC5AZSS.js → chunk-NRGPVOVC.js} +2 -2
- package/__chunks__/{chunk-VT23WB4O.js → chunk-OBJ5MLS3.js} +2 -2
- package/__chunks__/{chunk-HZDSREVW.js → chunk-OBXVMKUP.js} +1 -1
- package/__chunks__/{chunk-K3FVG3VC.js → chunk-OKV44XY7.js} +2 -2
- package/__chunks__/chunk-OPHIUK5C.js +2 -0
- package/__chunks__/{chunk-FPBPYIFI.js → chunk-OUAANZJZ.js} +2 -2
- package/__chunks__/{chunk-Y3VJPFZS.js → chunk-OUUBZVL7.js} +2 -2
- package/__chunks__/{chunk-7MCOOH2E.js → chunk-OWTOOSJF.js} +2 -2
- package/__chunks__/{chunk-C4UYVG6H.js → chunk-OYRIANVB.js} +2 -2
- package/__chunks__/{chunk-CAFBEVOA.js → chunk-PA4TELOT.js} +2 -2
- package/__chunks__/{chunk-ZGVVZZNZ.js → chunk-PAUXCIY4.js} +2 -2
- package/__chunks__/{chunk-CI3CDAFI.js → chunk-PBPLOFZI.js} +2 -2
- package/__chunks__/{chunk-NO2BLAZP.js → chunk-PFLLSLLZ.js} +2 -2
- package/__chunks__/{chunk-ABJOAZ4W.js → chunk-PITYHD7S.js} +2 -2
- package/__chunks__/{chunk-UCG3KP2Z.js → chunk-PKPVUD5L.js} +2 -2
- package/__chunks__/{chunk-BRGHJFL4.js → chunk-PLYJHLE6.js} +2 -2
- package/__chunks__/{chunk-36YM4J3O.js → chunk-PMCWQ7AY.js} +2 -2
- package/__chunks__/{chunk-2WCSKO6I.js → chunk-PMIP26KN.js} +2 -2
- package/__chunks__/{chunk-3LFMJ4J4.js → chunk-PMROE73H.js} +2 -2
- package/__chunks__/{chunk-QJEUHRZC.js → chunk-PNQXOSM5.js} +2 -2
- package/__chunks__/{chunk-YRLVEGZZ.js → chunk-PR7P2ULH.js} +2 -2
- package/__chunks__/chunk-PTRGD3CU.js +2 -0
- package/__chunks__/chunk-PXHO3BEJ.js +2 -0
- package/__chunks__/chunk-PZVZZFPY.js +2 -0
- package/__chunks__/{chunk-6O4TSLEB.js → chunk-Q5KITURU.js} +2 -2
- package/__chunks__/{chunk-UYREKEXP.js → chunk-Q5NNBQAV.js} +2 -2
- package/__chunks__/{chunk-OJ6ZKEKH.js → chunk-Q5W5AFGS.js} +2 -2
- package/__chunks__/chunk-Q627GIUA.js +2 -0
- package/__chunks__/chunk-QACG53JG.js +2 -0
- package/__chunks__/{chunk-V7AFF4JI.js → chunk-QAT6C25N.js} +2 -2
- package/__chunks__/{chunk-TUG7YY33.js → chunk-QCHR5HEG.js} +2 -2
- package/__chunks__/{chunk-E63JPJZK.js → chunk-QDAVZ7OA.js} +2 -2
- package/__chunks__/chunk-QDHF4SER.js +2 -0
- package/__chunks__/{chunk-SSXLVERH.js → chunk-QDV4ZP2M.js} +2 -2
- package/__chunks__/{chunk-IAXMRUR5.js → chunk-QGCBUZMI.js} +2 -2
- package/__chunks__/{chunk-RKINNYL5.js → chunk-QHAENUJB.js} +2 -2
- package/__chunks__/{chunk-EJA6DPVS.js → chunk-QIKU3HHV.js} +2 -2
- package/__chunks__/{chunk-UUKOZZQ3.js → chunk-QJKF6GHP.js} +2 -2
- package/__chunks__/chunk-QL24CJTQ.js +2 -0
- package/__chunks__/{chunk-DM3ARLHC.js → chunk-QMPEJJVN.js} +2 -2
- package/__chunks__/{chunk-LOYED3BS.js → chunk-QRM43PJ7.js} +2 -2
- package/__chunks__/{chunk-GMRMYYT3.js → chunk-QS2J5Y5S.js} +2 -2
- package/__chunks__/chunk-QZONUVAE.js +2 -0
- package/__chunks__/chunk-R5ZSOXWN.js +2 -0
- package/__chunks__/{chunk-IHYLEJ2Y.js → chunk-RCWJYPHG.js} +2 -2
- package/__chunks__/chunk-RFJ5GESB.js +2 -0
- package/__chunks__/{chunk-T5LLSLIS.js → chunk-RFV2ZX42.js} +2 -2
- package/__chunks__/{chunk-6WYIWDO6.js → chunk-RHLPZKDL.js} +2 -2
- package/__chunks__/{chunk-5RHZGVRM.js → chunk-RLA3KS3C.js} +2 -2
- package/__chunks__/{chunk-KCY6PM5H.js → chunk-RMRB4PG7.js} +2 -2
- package/__chunks__/{chunk-KAPHRPVZ.js → chunk-RQEQNDPR.js} +2 -2
- package/__chunks__/{chunk-FW22ZABE.js → chunk-RURHW26N.js} +2 -2
- package/__chunks__/{chunk-JGB3LPUJ.js → chunk-RZA2QVJJ.js} +2 -2
- package/__chunks__/{chunk-HIUR254L.js → chunk-SAU3GV5S.js} +2 -2
- package/__chunks__/{chunk-LFOZOY7D.js → chunk-SCF2X64R.js} +2 -2
- package/__chunks__/chunk-SEG5HF52.js +2 -0
- package/__chunks__/{chunk-4HXZGUCY.js → chunk-SIWOU7VR.js} +2 -2
- package/__chunks__/chunk-SP4QKH32.js +2 -0
- package/__chunks__/{chunk-P3DCKAUJ.js → chunk-ST2RCY5I.js} +2 -2
- package/__chunks__/{chunk-7MI5MVOV.js → chunk-STH5LUWT.js} +2 -2
- package/__chunks__/{chunk-GYPY6DJT.js → chunk-SUJVWOKE.js} +2 -2
- package/__chunks__/{chunk-EALKP26X.js → chunk-SUYGYV6S.js} +2 -2
- package/__chunks__/{chunk-4V227JGD.js → chunk-SWLNOKJR.js} +2 -2
- package/__chunks__/{chunk-2GQOBC7J.js → chunk-SXGN3IUH.js} +2 -2
- package/__chunks__/{chunk-CQP4T6OW.js → chunk-SXMVV4S4.js} +2 -2
- package/__chunks__/{chunk-74M7H363.js → chunk-SYID4H73.js} +2 -2
- package/__chunks__/{chunk-DGO6OSB5.js → chunk-T42QAHB6.js} +2 -2
- package/__chunks__/chunk-T55HUATV.js +2 -0
- package/__chunks__/{chunk-WP7JGJT6.js → chunk-TCPXGP5C.js} +2 -2
- package/__chunks__/{chunk-ZWHTJQU3.js → chunk-TI4J3CAV.js} +2 -2
- package/__chunks__/{chunk-FOODUX53.js → chunk-TMIXNEEZ.js} +2 -2
- package/__chunks__/{chunk-ZBSSK6EE.js → chunk-TUIBLRVN.js} +2 -2
- package/__chunks__/{chunk-24A5WUDO.js → chunk-TW3JWVIN.js} +2 -2
- package/__chunks__/chunk-TXGE7LK5.js +2 -0
- package/__chunks__/chunk-U2MQ2NIR.js +2 -0
- package/__chunks__/{chunk-GO5IJGSN.js → chunk-U6Q5QMWK.js} +2 -2
- package/__chunks__/{chunk-QBRKIE2K.js → chunk-UHFUVOIC.js} +2 -2
- package/__chunks__/{chunk-ZUTF5TKZ.js → chunk-UIE5UGIX.js} +2 -2
- package/__chunks__/{chunk-DHDTIRKF.js → chunk-UMX3Z2Z3.js} +2 -2
- package/__chunks__/{chunk-44ILNGCJ.js → chunk-UPEB63DH.js} +2 -2
- package/__chunks__/{chunk-PYOG57YQ.js → chunk-UQTM2ZQV.js} +2 -2
- package/__chunks__/{chunk-SENC42SX.js → chunk-UXL76O4N.js} +2 -2
- package/__chunks__/{chunk-MDZTAYV3.js → chunk-V3PBXWHW.js} +2 -2
- package/__chunks__/{chunk-CPOITXSZ.js → chunk-VCLJHKKN.js} +2 -2
- package/__chunks__/chunk-VEK7KCUM.js +2 -0
- package/__chunks__/{chunk-7QD6A3WA.js → chunk-VFIW3ER2.js} +2 -2
- package/__chunks__/{chunk-JXKRW7Q2.js → chunk-VHPWTNZY.js} +2 -2
- package/__chunks__/{chunk-5AXQ4E5C.js → chunk-VIHVI5XJ.js} +2 -2
- package/__chunks__/{chunk-UF3IVPHW.js → chunk-VINXWKBD.js} +2 -2
- package/__chunks__/{chunk-X3G46H4K.js → chunk-VLM35UCP.js} +2 -2
- package/__chunks__/chunk-VQBPXNF2.js +2 -0
- package/__chunks__/{chunk-XGCL5XNF.js → chunk-VQMFXLQK.js} +2 -2
- package/__chunks__/{chunk-M56IOFGM.js → chunk-VQSVDLAN.js} +2 -2
- package/__chunks__/{chunk-ZYECSDDT.js → chunk-VSKTYG2D.js} +2 -2
- package/__chunks__/{chunk-WO7J73MR.js → chunk-VVOQAMMU.js} +2 -2
- package/__chunks__/{chunk-75HYUZKE.js → chunk-VZSENX24.js} +2 -2
- package/__chunks__/chunk-W3JGVHNE.js +2 -0
- package/__chunks__/{chunk-3O7X7LN3.js → chunk-W5FSOXAZ.js} +2 -2
- package/__chunks__/{chunk-VOF2ZG4V.js → chunk-W6ZILZNE.js} +2 -2
- package/__chunks__/{chunk-GV72WDLK.js → chunk-W73UU7Y7.js} +2 -2
- package/__chunks__/{chunk-SRGHVLIJ.js → chunk-WB4FYIDB.js} +2 -2
- package/__chunks__/{chunk-DR3247LH.js → chunk-WB536AFQ.js} +2 -2
- package/__chunks__/{chunk-2NFWONSO.js → chunk-WCDQECOZ.js} +2 -2
- package/__chunks__/{chunk-7CRWRYXT.js → chunk-WCOEJXIQ.js} +2 -2
- package/__chunks__/{chunk-PLXPG432.js → chunk-WDYQ7MCZ.js} +2 -2
- package/__chunks__/{chunk-Z6VTM6SV.js → chunk-WEWVNK3P.js} +2 -2
- package/__chunks__/{chunk-IFWV76SP.js → chunk-WFMW6BEJ.js} +2 -2
- package/__chunks__/{chunk-AIUO5JWY.js → chunk-WFOUUCRH.js} +2 -2
- package/__chunks__/chunk-WJEQNUAL.js +2 -0
- package/__chunks__/chunk-WKZA3HHK.js +2 -0
- package/__chunks__/{chunk-VAIXGPA2.js → chunk-WLJQ5F4Q.js} +2 -2
- package/__chunks__/{chunk-YPOQHBKB.js → chunk-WMEDQ4UN.js} +2 -2
- package/__chunks__/{chunk-A2EWZWIA.js → chunk-WOE2F5QC.js} +2 -2
- package/__chunks__/chunk-WQZOIG6J.js +2 -0
- package/__chunks__/{chunk-NO7L5F75.js → chunk-WRQUUQP7.js} +2 -2
- package/__chunks__/{chunk-DKKQ4PJR.js → chunk-WVBEDWEP.js} +2 -2
- package/__chunks__/chunk-X57YN4T7.js +2 -0
- package/__chunks__/{chunk-WID7W5E4.js → chunk-XB52F5LP.js} +2 -2
- package/__chunks__/{chunk-BVS3UC7Y.js → chunk-XBTVUOHE.js} +2 -2
- package/__chunks__/{chunk-YFU6WUEB.js → chunk-XCCJS4FI.js} +2 -2
- package/__chunks__/{chunk-EBENIERS.js → chunk-XE4RMOGX.js} +2 -2
- package/__chunks__/{chunk-YMOBP752.js → chunk-XE5BTZIL.js} +2 -2
- package/__chunks__/{chunk-R5YLDIFZ.js → chunk-XNMEPYLW.js} +2 -2
- package/__chunks__/{chunk-46FDO47N.js → chunk-XP4XFIWP.js} +2 -2
- package/__chunks__/chunk-XT3QFIFF.js +2 -0
- package/__chunks__/{chunk-HQ67ZLOD.js → chunk-XTFF6G4Q.js} +2 -2
- package/__chunks__/{chunk-RGNSDRWU.js → chunk-XU3W2FES.js} +2 -2
- package/__chunks__/chunk-XUF4W5KE.js +2 -0
- package/__chunks__/chunk-XXD5XRR7.js +2 -0
- package/__chunks__/chunk-XZCW7JHJ.js +2 -0
- package/__chunks__/{chunk-4D5UWOVI.js → chunk-XZIJNAWV.js} +2 -2
- package/__chunks__/{chunk-QPR5I2H4.js → chunk-Y4QS7CQT.js} +2 -2
- package/__chunks__/{chunk-YWM62O2B.js → chunk-Y74LAEH5.js} +2 -2
- package/__chunks__/{chunk-MCUFKNBQ.js → chunk-YBNFTO5N.js} +2 -2
- package/__chunks__/{chunk-NAJ3XHWI.js → chunk-YMPN4N2M.js} +2 -2
- package/__chunks__/chunk-YMT4ZUYK.js +2 -0
- package/__chunks__/{chunk-EKXGKN5W.js → chunk-YNHECQ3O.js} +2 -2
- package/__chunks__/{chunk-GCK3W6HO.js → chunk-YPVIFNXR.js} +2 -2
- package/__chunks__/{chunk-YEELKGXG.js → chunk-YRF7TVLD.js} +2 -2
- package/__chunks__/{chunk-26MDEIIP.js → chunk-YZYYJF52.js} +2 -2
- package/__chunks__/{chunk-H57J7HDK.js → chunk-Z3IAFUDX.js} +2 -2
- package/__chunks__/{chunk-MPPXC32I.js → chunk-Z4QCHI6K.js} +2 -2
- package/__chunks__/{chunk-4S2JPO6R.js → chunk-Z6O3W5SA.js} +2 -2
- package/__chunks__/{chunk-ZYARFROL.js → chunk-ZCIKETKE.js} +2 -2
- package/__chunks__/{chunk-Z5QNZWPF.js → chunk-ZDKXRSOJ.js} +2 -2
- package/__chunks__/{chunk-A57CFVMI.js → chunk-ZEBB6JN4.js} +2 -2
- package/__chunks__/{chunk-XZ36INBS.js → chunk-ZHRMN7JE.js} +2 -2
- package/__chunks__/{chunk-O45WIZLC.js → chunk-ZIKUXOGF.js} +2 -2
- package/__chunks__/{chunk-RZRO4ZNS.js → chunk-ZK7IKT5K.js} +2 -2
- package/__chunks__/{chunk-S3VWIED2.js → chunk-ZLVHNYWH.js} +2 -2
- package/__chunks__/{chunk-JSNZD3UN.js → chunk-ZNDF6L3J.js} +2 -2
- package/__chunks__/{chunk-QVLXNXDC.js → chunk-ZRGPYVWH.js} +2 -2
- package/__chunks__/{chunk-BH5RQMPG.js → chunk-ZUE2JTL5.js} +2 -2
- package/__chunks__/chunk-ZX4ZQJIT.js +2 -0
- package/__chunks__/{chunk-4SH36YOD.js → chunk-ZY6TBGCN.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/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
- 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/TransactionData/TransactionData.js +2 -2
- package/__commonjs/UI/TransactionData/index.js +2 -2
- package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/__commonjs/UI/TransactionDetails/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +11 -11
- package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionMethod.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +7 -7
- package/__commonjs/UI/index.js +81 -81
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +14 -14
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +14 -14
- package/__commonjs/UI/metamaskProxy/MetamaskProxyLoginButton/MetamaskProxyButton.js +4 -4
- package/__commonjs/UI/metamaskProxy/MetamaskProxyLoginButton/index.js +4 -4
- package/__commonjs/UI/pages/UnlockPage/index.js +23 -23
- package/__commonjs/UI/pages/index.js +23 -23
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
- package/__commonjs/__mocks__/index.js +2 -2
- package/__commonjs/__mocks__/server.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +3 -3
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +1 -1
- package/__commonjs/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/__commonjs/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/useMetamaskProxyLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/__commonjs/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/reduxStore/DappProviderContext.js +1 -1
- package/__commonjs/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.test.js +1 -1
- package/__commonjs/types/network.types.d.ts +2 -0
- package/__commonjs/types/network.types.js +1 -1
- package/__commonjs/utils/account/loginWithExternalProvider.js +1 -1
- package/__commonjs/utils/account/setNonce.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/isGuardianTx.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/__commonjs/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +3 -3
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +3 -3
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/__commonjs/utils/validation/index.js +1 -1
- package/__commonjs/utils/validation/maxDecimals.js +1 -1
- package/__commonjs/utils/validation/stringIsFloat.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.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__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/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/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useMetamaskProxyLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +2 -2
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/network.types.d.ts +2 -0
- package/types/network.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2CY5GUK2.js +0 -2
- package/__chunks__/chunk-2FL7QR5T.js +0 -2
- package/__chunks__/chunk-2R5BODN3.js +0 -2
- package/__chunks__/chunk-2ZJSD44I.js +0 -2
- package/__chunks__/chunk-3DTWVXOA.js +0 -2
- package/__chunks__/chunk-3OHJNWGX.js +0 -2
- package/__chunks__/chunk-4VIGZBCO.js +0 -2
- package/__chunks__/chunk-5CZ2ELHD.js +0 -2
- package/__chunks__/chunk-5GBGYHG4.js +0 -2
- package/__chunks__/chunk-7FUNECIK.js +0 -2
- package/__chunks__/chunk-7GQYWSWO.js +0 -2
- package/__chunks__/chunk-7MECGIFH.js +0 -2
- package/__chunks__/chunk-7NIJSSAX.js +0 -2
- package/__chunks__/chunk-A7ZJS5KP.js +0 -2
- package/__chunks__/chunk-AQR42WCN.js +0 -2
- package/__chunks__/chunk-CEVP5XYQ.js +0 -2
- package/__chunks__/chunk-CL33WWUP.js +0 -2
- package/__chunks__/chunk-CUSOGIOX.js +0 -2
- package/__chunks__/chunk-DUZUYHDS.js +0 -2
- package/__chunks__/chunk-DXRT4CRT.js +0 -2
- package/__chunks__/chunk-ELCUZ75F.js +0 -2
- package/__chunks__/chunk-EQFSC6TK.js +0 -2
- package/__chunks__/chunk-FFT6WXEW.js +0 -2
- package/__chunks__/chunk-FOAITZEO.js +0 -2
- package/__chunks__/chunk-GKNYCTOB.js +0 -2
- package/__chunks__/chunk-GU35CEXE.js +0 -2
- package/__chunks__/chunk-H24VHWQP.js +0 -2
- package/__chunks__/chunk-HKWLUGC6.js +0 -2
- package/__chunks__/chunk-HVPDUMWF.js +0 -2
- package/__chunks__/chunk-I76LZZTZ.js +0 -2
- package/__chunks__/chunk-IRKBX6DD.js +0 -2
- package/__chunks__/chunk-JGSAQGXP.js +0 -2
- package/__chunks__/chunk-JJ4XECYP.js +0 -2
- package/__chunks__/chunk-KALBDWE6.js +0 -2
- package/__chunks__/chunk-KN5PVI4K.js +0 -2
- package/__chunks__/chunk-KYHRJQM5.js +0 -2
- package/__chunks__/chunk-LJ2T33E3.js +0 -2
- package/__chunks__/chunk-LNJ3HFWD.js +0 -2
- package/__chunks__/chunk-LPQI66S3.js +0 -2
- package/__chunks__/chunk-LQNCXVJM.js +0 -2
- package/__chunks__/chunk-LSY2HJTQ.js +0 -2
- package/__chunks__/chunk-MIWBUGWY.js +0 -2
- package/__chunks__/chunk-ML542R3V.js +0 -2
- package/__chunks__/chunk-MLX5UI5O.js +0 -2
- package/__chunks__/chunk-NT2T6JKO.js +0 -2
- package/__chunks__/chunk-NVWTNDEE.js +0 -2
- package/__chunks__/chunk-PI5NXZUX.js +0 -2
- package/__chunks__/chunk-RHOHFJ43.js +0 -2
- package/__chunks__/chunk-RPANWBS7.js +0 -2
- package/__chunks__/chunk-RWDCF23E.js +0 -2
- package/__chunks__/chunk-SC4K7A34.js +0 -2
- package/__chunks__/chunk-STSR7UIJ.js +0 -2
- package/__chunks__/chunk-SUC4JB2Y.js +0 -2
- package/__chunks__/chunk-TFARS2WQ.js +0 -2
- package/__chunks__/chunk-TTJRL2R5.js +0 -2
- package/__chunks__/chunk-UIN4P36H.js +0 -2
- package/__chunks__/chunk-VA3DUEFD.js +0 -2
- package/__chunks__/chunk-VEXNJK4I.js +0 -2
- package/__chunks__/chunk-VHJ72XE6.js +0 -2
- package/__chunks__/chunk-VR5CNK6P.js +0 -2
- package/__chunks__/chunk-VVNFK6FB.js +0 -2
- package/__chunks__/chunk-WD225GVR.js +0 -2
- package/__chunks__/chunk-WO76YEG3.js +0 -2
- package/__chunks__/chunk-XG5ZIYZZ.js +0 -2
- package/__chunks__/chunk-XGEGWTM5.js +0 -2
- package/__chunks__/chunk-XLP5ARGZ.js +0 -2
- package/__chunks__/chunk-Z6XFR3LH.js +0 -2
- package/__chunks__/chunk-Z7R3Q3JG.js +0 -2
- package/__chunks__/chunk-ZGHWOPQ6.js +0 -2
- package/__chunks__/chunk-ZNU6QK2M.js +0 -2
- package/__chunks__/chunk-ZR5DOV7T.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Kn=Object.create;var ee=Object.defineProperty,Xn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptor,Jn=Object.getOwnPropertyDescriptors,Zn=Object.getOwnPropertyNames,vt=Object.getOwnPropertySymbols,$n=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable;var It=(t,e,r)=>e in t?ee(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))kt.call(e,r)&&It(t,r,e[r]);if(vt)for(var r of vt(e))Qn.call(e,r)&&It(t,r,e[r]);return t},R=(t,e)=>Xn(t,Jn(e));var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var le=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)ee(t,r,{get:e[r],enumerable:!0})},Lt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Zn(e))!kt.call(t,o)&&o!==r&&ee(t,o,{get:()=>e[o],enumerable:!(n=Yn(e,o))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?Kn($n(t)):{},Lt(e||!t||!t.__esModule?ee(r,"default",{value:t,enumerable:!0}):r,t)),te=t=>Lt(ee({},"__esModule",{value:!0}),t);var Ct=le(pe=>{"use strict";s();pe.byteLength=to;pe.toByteArray=no;pe.fromByteArray=ao;var C=[],k=[],eo=typeof Uint8Array!="undefined"?Uint8Array:Array,qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Rt=qe.length;V<Rt;++V)C[V]=qe[V],k[qe.charCodeAt(V)]=V;var V,Rt;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function Et(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function to(t){var e=Et(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ro(t,e,r){return(e+r)*3/4-r}function no(t){var e,r=Et(t),n=r[0],o=r[1],i=new eo(ro(t,n,o)),a=0,d=o>0?n-4:n,g;for(g=0;g<d;g+=4)e=k[t.charCodeAt(g)]<<18|k[t.charCodeAt(g+1)]<<12|k[t.charCodeAt(g+2)]<<6|k[t.charCodeAt(g+3)],i[a++]=e>>16&255,i[a++]=e>>8&255,i[a++]=e&255;return o===2&&(e=k[t.charCodeAt(g)]<<2|k[t.charCodeAt(g+1)]>>4,i[a++]=e&255),o===1&&(e=k[t.charCodeAt(g)]<<10|k[t.charCodeAt(g+1)]<<4|k[t.charCodeAt(g+2)]>>2,i[a++]=e>>8&255,i[a++]=e&255),i}function oo(t){return C[t>>18&63]+C[t>>12&63]+C[t>>6&63]+C[t&63]}function io(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(t[i+2]&255),o.push(oo(n));return o.join("")}function ao(t){for(var e,r=t.length,n=r%3,o=[],i=16383,a=0,d=r-n;a<d;a+=i)o.push(io(t,a,a+i>d?d:a+i));return n===1?(e=t[r-1],o.push(C[e>>2]+C[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(C[e>>10]+C[e>>4&63]+C[e<<2&63]+"=")),o.join("")}});var _t=le(je=>{s();je.read=function(t,e,r,n,o){var i,a,d=o*8-n-1,g=(1<<d)-1,m=g>>1,T=-7,y=r?o-1:0,A=r?-1:1,b=t[e+y];for(y+=A,i=b&(1<<-T)-1,b>>=-T,T+=d;T>0;i=i*256+t[e+y],y+=A,T-=8);for(a=i&(1<<-T)-1,i>>=-T,T+=n;T>0;a=a*256+t[e+y],y+=A,T-=8);if(i===0)i=1-m;else{if(i===g)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),i=i-m}return(b?-1:1)*a*Math.pow(2,i-n)};je.write=function(t,e,r,n,o,i){var a,d,g,m=i*8-o-1,T=(1<<m)-1,y=T>>1,A=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:i-1,M=n?1:-1,ce=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,a=T):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+y>=1?e+=A/g:e+=A*Math.pow(2,1-y),e*g>=2&&(a++,g/=2),a+y>=T?(d=0,a=T):a+y>=1?(d=(e*g-1)*Math.pow(2,o),a=a+y):(d=e*Math.pow(2,y-1)*Math.pow(2,o),a=0));o>=8;t[r+b]=d&255,b+=M,d/=256,o-=8);for(a=a<<o|d,m+=o;m>0;t[r+b]=a&255,b+=M,a/=256,m-=8);t[r+b-M]|=ce*128}});var zt=le(Y=>{"use strict";s();var Ke=Ct(),X=_t(),Nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Y.Buffer=c;Y.SlowBuffer=go;Y.INSPECT_MAX_BYTES=50;var ue=2147483647;Y.kMaxLength=ue;c.TYPED_ARRAY_SUPPORT=so();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function so(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(t){if(t>ue)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ze(t)}return Mt(t,e,r)}c.poolSize=8192;function Mt(t,e,r){if(typeof t=="string")return lo(t,e);if(ArrayBuffer.isView(t))return po(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return Ye(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var o=uo(t);if(o)return o;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Mt(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ft(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function co(t,e,r){return Ft(t),t<=0?U(t):e!==void 0?typeof r=="string"?U(t).fill(e,r):U(t).fill(e):U(t)}c.alloc=function(t,e,r){return co(t,e,r)};function Ze(t){return Ft(t),U(t<0?0:$e(t)|0)}c.allocUnsafe=function(t){return Ze(t)};c.allocUnsafeSlow=function(t){return Ze(t)};function lo(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ut(t,e)|0,n=U(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function Xe(t){for(var e=t.length<0?0:$e(t.length)|0,r=U(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function po(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Ye(e.buffer,e.byteOffset,e.byteLength)}return Xe(t)}function Ye(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function uo(t){if(c.isBuffer(t)){var e=$e(t.length)|0,r=U(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Qe(t.length)?U(0):Xe(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Xe(t.data)}function $e(t){if(t>=ue)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ue.toString(16)+" bytes");return t|0}function go(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(_(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,o=r.length,i=0,a=Math.min(n,o);i<a;++i)if(e[i]!==r[i]){n=e[i],o=r[i];break}return n<o?-1:o<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=c.allocUnsafe(r),i=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))i+a.length>o.length?c.from(a).copy(o,i):Uint8Array.prototype.set.call(o,a,i);else if(c.isBuffer(a))a.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=a.length}return o};function Ut(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Je(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ht(t).length;default:if(o)return n?-1:Je(t).length;e=(""+e).toLowerCase(),o=!0}}c.byteLength=Ut;function fo(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return vo(this,e,r);case"utf8":case"utf-8":return Ot(this,e,r);case"ascii":return bo(this,e,r);case"latin1":case"binary":return Ao(this,e,r);case"base64":return So(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Io(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function H(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)H(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)H(this,r,r+3),H(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)H(this,r,r+7),H(this,r+1,r+6),H(this,r+2,r+5),H(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ot(this,0,e):fo.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=Y.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Nt&&(c.prototype[Nt]=c.prototype.inspect);c.prototype.compare=function(e,r,n,o,i){if(_(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var a=i-o,d=n-r,g=Math.min(a,d),m=this.slice(o,i),T=e.slice(r,n),y=0;y<g;++y)if(m[y]!==T[y]){a=m[y],d=T[y];break}return a<d?-1:d<a?1:0};function Dt(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Qe(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Pt(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Pt(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Pt(t,e,r,n,o){var i=1,a=t.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;i=2,a/=2,d/=2,r/=2}function g(b,M){return i===1?b[M]:b.readUInt16BE(M*i)}var m;if(o){var T=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,T===-1?0:m-T)){if(T===-1&&(T=m),m-T+1===d)return T*i}else T!==-1&&(m-=m-T),T=-1}else for(r+d>a&&(r=a-d),m=r;m>=0;m--){for(var y=!0,A=0;A<d;A++)if(g(t,m+A)!==g(e,A)){y=!1;break}if(y)return m}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return Dt(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return Dt(this,e,r,n,!1)};function mo(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var d=parseInt(e.substr(a*2,2),16);if(Qe(d))return a;t[r+a]=d}return a}function yo(t,e,r,n){return de(Je(e,t.length-r),t,r,n)}function ho(t,e,r,n){return de(Ro(e),t,r,n)}function To(t,e,r,n){return de(Ht(e),t,r,n)}function xo(t,e,r,n){return de(Eo(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-r;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return mo(this,e,r,n);case"utf8":case"utf-8":return yo(this,e,r,n);case"ascii":case"latin1":case"binary":return ho(this,e,r,n);case"base64":return To(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xo(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function So(t,e,r){return e===0&&r===t.length?Ke.fromByteArray(t):Ke.fromByteArray(t.slice(e,r))}function Ot(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i=t[o],a=null,d=i>239?4:i>223?3:i>191?2:1;if(o+d<=r){var g,m,T,y;switch(d){case 1:i<128&&(a=i);break;case 2:g=t[o+1],(g&192)===128&&(y=(i&31)<<6|g&63,y>127&&(a=y));break;case 3:g=t[o+1],m=t[o+2],(g&192)===128&&(m&192)===128&&(y=(i&15)<<12|(g&63)<<6|m&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:g=t[o+1],m=t[o+2],T=t[o+3],(g&192)===128&&(m&192)===128&&(T&192)===128&&(y=(i&15)<<18|(g&63)<<12|(m&63)<<6|T&63,y>65535&&y<1114112&&(a=y))}}a===null?(a=65533,d=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),o+=d}return wo(n)}var Bt=4096;function wo(t){var e=t.length;if(e<=Bt)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Bt));return r}function bo(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function Ao(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function vo(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Co[t[i]];return o}function Io(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,c.prototype),o};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,a=0;++a<r&&(i*=256);)o+=this[e+a]*i;return o};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e+--r],i=1;r>0&&(i*=256);)o+=this[e+--r]*i;return o};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,a=0;++a<r&&(i*=256);)o+=this[e+a]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=r,i=1,a=this[e+--o];o>0&&(i*=256);)a+=this[e+--o]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*r)),a};c.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),X.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),X.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),X.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),X.read(this,e,!1,52,8)};function v(t,e,r,n,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;v(this,e,r,n,i,0)}var a=1,d=0;for(this[r]=e&255;++d<n&&(a*=256);)this[r+d]=e/a&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;v(this,e,r,n,i,0)}var a=n-1,d=1;for(this[r+a]=e&255;--a>=0&&(d*=256);)this[r+a]=e/d&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);v(this,e,r,n,i-1,-i)}var a=0,d=1,g=0;for(this[r]=e&255;++a<n&&(d*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/d>>0)-g&255;return r+n};c.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);v(this,e,r,n,i-1,-i)}var a=n-1,d=1,g=0;for(this[r+a]=e&255;--a>=0&&(d*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/d>>0)-g&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Wt(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Gt(t,e,r,n,o){return e=+e,r=r>>>0,o||Wt(t,e,r,4,34028234663852886e22,-34028234663852886e22),X.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return Gt(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return Gt(this,e,r,!1,n)};function Vt(t,e,r,n,o){return e=+e,r=r>>>0,o||Wt(t,e,r,8,17976931348623157e292,-17976931348623157e292),X.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return Vt(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return Vt(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var i=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),i};c.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var i=e.charCodeAt(0);(o==="utf8"&&i<128||o==="latin1")&&(e=i)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var d=c.isBuffer(e)?e:c.from(e,o),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=d[a%g]}return this};var ko=/[^+/0-9A-Za-z-_]/g;function Lo(t){if(t=t.split("=")[0],t=t.trim().replace(ko,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Je(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function Ro(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Eo(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function Ht(t){return Ke.toByteArray(Lo(t))}function de(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Qe(t){return t!==t}var Co=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()});var Yt=le((Ui,Xt)=>{s();var x=Xt.exports={},N,P;function et(){throw new Error("setTimeout has not been defined")}function tt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?N=setTimeout:N=et}catch(t){N=et}try{typeof clearTimeout=="function"?P=clearTimeout:P=tt}catch(t){P=tt}})();function qt(t){if(N===setTimeout)return setTimeout(t,0);if((N===et||!N)&&setTimeout)return N=setTimeout,setTimeout(t,0);try{return N(t,0)}catch(e){try{return N.call(null,t,0)}catch(r){return N.call(this,t,0)}}}function _o(t){if(P===clearTimeout)return clearTimeout(t);if((P===tt||!P)&&clearTimeout)return P=clearTimeout,clearTimeout(t);try{return P(t)}catch(e){try{return P.call(null,t)}catch(r){return P.call(this,t)}}}var D=[],J=!1,z,ge=-1;function No(){!J||!z||(J=!1,z.length?D=z.concat(D):ge=-1,D.length&&jt())}function jt(){if(!J){var t=qt(No);J=!0;for(var e=D.length;e;){for(z=D,D=[];++ge<e;)z&&z[ge].run();ge=-1,e=D.length}z=null,J=!1,_o(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];D.push(new Kt(t,e)),D.length===1&&!J&&qt(jt)};function Kt(t,e){this.fun=t,this.array=e}Kt.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Di,s=f(()=>{l=K(zt()),p=K(Yt()),Di=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Jt=f(()=>{"use strict";s()});var Zt=f(()=>{"use strict";s()});var $t=f(()=>{"use strict";s()});var Qt=f(()=>{"use strict";s()});var er=f(()=>{"use strict";s()});var rt=f(()=>{"use strict";s()});var tr=f(()=>{"use strict";s()});var rr=f(()=>{"use strict";s()});var nr=f(()=>{"use strict";s()});var or=f(()=>{"use strict";s()});var nt,Z,ot=f(()=>{"use strict";s();nt=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),Z=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums")});var ir,Ji,ar,Zi,re=f(()=>{"use strict";s();ot();ir=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(ir||{}),Ji=h(h({},Z.CrossWindowProviderRequestEnums),ir),ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(ar||{}),Zi=h(h({},Z.CrossWindowProviderResponseEnums),ar)});var sr=f(()=>{"use strict";s()});var cr=f(()=>{"use strict";s()});var lr=f(()=>{"use strict";s()});var pr=f(()=>{"use strict";s()});var ur=f(()=>{"use strict";s()});var dr=f(()=>{"use strict";s()});var fe=f(()=>{"use strict";s();rr();nr();or();re();sr();cr();lr();pr();ur();dr()});var it,gr,fa,fr,ma,mr,ya,ha,Ta,yr=f(()=>{"use strict";s();fe();it={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:gr,egldLabel:fa}=it["devnet"],{chainId:fr,egldLabel:ma}=it["testnet"],{chainId:mr,egldLabel:ya}=it["mainnet"],ha={["devnet"]:gr,["testnet"]:fr,["mainnet"]:mr},Ta={[gr]:"devnet",[fr]:"testnet",[mr]:"mainnet"}});var at=f(()=>{"use strict";s()});var B,hr=f(()=>{"use strict";s();B=require("@multiversx/sdk-web-wallet-provider")});var Tr,xr,st,Aa,va,Sr=f(()=>{"use strict";s();ot();st=String((xr=(Tr=nt.safeWindow)==null?void 0:Tr.navigator)==null?void 0:xr.userAgent),Aa=/^((?!chrome|android).)*safari/i.test(st),va=/firefox/i.test(st)&&/windows/i.test(st)});var me,wr,br,ye=f(()=>{"use strict";s();Jt();Zt();$t();Qt();er();rt();tr();yr();at();hr();Sr();me="logout",wr="login",br="0"});var he,ct=f(()=>{"use strict";s();he=()=>Date.now()/1e3});var Ar=f(()=>{"use strict";s()});var vr=f(()=>{"use strict";s()});var Ir=f(()=>{"use strict";s();ct();Ar();vr()});var lt={};G(lt,{clear:()=>Fo,getItem:()=>Bo,localStorageKeys:()=>q,removeItem:()=>Mo,setItem:()=>Po});var q,Te,Po,Bo,Mo,Fo,ne=f(()=>{"use strict";s();Ir();q={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Te=typeof localStorage!="undefined",Po=({key:t,data:e,expires:r})=>{!Te||localStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Bo=t=>{if(!Te)return;let e=localStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:he()>=r.expires?(localStorage.removeItem(String(t)),null):r.data},Mo=t=>{!Te||localStorage.removeItem(String(t))},Fo=()=>{!Te||localStorage.clear()}});var pt={};G(pt,{clear:()=>Er,getItem:()=>Lr,removeItem:()=>Rr,setItem:()=>kr,storage:()=>Uo});var kr,Lr,Rr,Er,Uo,Cr=f(()=>{"use strict";s();kr=({key:t,data:e,expires:r})=>{sessionStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Lr=t=>{let e=sessionStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(t)),null):r.data},Rr=t=>sessionStorage.removeItem(String(t)),Er=()=>sessionStorage.clear(),Uo={setItem:kr,getItem:Lr,removeItem:Rr,clear:Er}});var $,xe=f(()=>{"use strict";s();ne();Cr();$={session:pt,local:lt}});var ut,S,Se,E=f(()=>{"use strict";s();ut=require("@reduxjs/toolkit");ye();S=(0,ut.createAction)(me),Se=(0,ut.createAction)(wr,t=>({payload:t}))});var gt,_r,Nr,Pr,dt,Br,Mr,ts,Fr,rs,ns,os,is,as,ss,cs,ls,we,be=f(()=>{"use strict";s();gt=require("@multiversx/sdk-core"),_r=require("@reduxjs/toolkit"),Nr=require("redux-persist");ye();xe();ne();E();Pr={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:br},dt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Pr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Br=(0,_r.createSlice)({name:"accountInfoSlice",initialState:dt,reducers:{setAddress:(t,e)=>{let r=e.payload;t.address=r,t.publicKey=r?new gt.Address(r).hex():""},setAccount:(t,e)=>{let r=t.address===e.payload.address;t.accounts={[t.address]:r?e.payload:Pr},t.shard=e.payload.shard,t.isAccountLoading=!1,t.accountLoadingError=null},setAccountNonce:(t,e)=>{let{address:r}=t;t.accounts[r].nonce=e.payload},setAccountShard:(t,e)=>{t.shard=e.payload},setLedgerAccount:(t,e)=>{t.ledgerAccount=e.payload},updateLedgerAccount:(t,e)=>{t.ledgerAccount!=null&&(t.ledgerAccount.index=e.payload.index,t.ledgerAccount.address=e.payload.address)},setWalletConnectAccount:(t,e)=>{t.walletConnectAccount=e.payload},setIsAccountLoading:(t,e)=>{t.isAccountLoading=e.payload,t.accountLoadingError=null},setAccountLoadingError:(t,e)=>{t.accountLoadingError=e.payload,t.isAccountLoading=!1},setWebsocketEvent:(t,e)=>{t.websocketEvent={timestamp:Date.now(),message:e.payload}},setWebsocketBatchEvent:(t,e)=>{t.websocketBatchEvent={timestamp:Date.now(),data:e.payload}}},extraReducers:t=>{t.addCase(S,()=>($.local.removeItem(q.loginExpiresAt),dt)),t.addCase(Se,(e,r)=>{let{address:n}=r.payload;e.address=n,e.publicKey=new gt.Address(n).hex()}),t.addCase(Nr.REHYDRATE,(e,r)=>{var m;if(!((m=r.payload)!=null&&m.account))return;let{account:n}=r.payload,{address:o,shard:i,accounts:a,publicKey:d}=n;e.address=o,e.shard=i;let g=a&&o in a;e.accounts=g?a:dt.accounts,e.publicKey=d})}}),{setAccount:Mr,setAddress:ts,setAccountNonce:Fr,setAccountShard:rs,setLedgerAccount:ns,updateLedgerAccount:os,setWalletConnectAccount:is,setIsAccountLoading:as,setAccountLoadingError:ss,setWebsocketEvent:cs,setWebsocketBatchEvent:ls}=Br.actions,we=Br.reducer});function oe(){return new Date().setHours(new Date().getHours()+24)}function ie(t){$.local.setItem({key:q.loginExpiresAt,data:t,expires:t})}var ft=f(()=>{"use strict";s();xe();ne()});var Dr,Ur,Or,Ss,ws,bs,As,vs,Is,Wr,ks,Ls,Rs,Ae,ve=f(()=>{"use strict";s();Dr=require("@reduxjs/toolkit");ft();re();E();Ur={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,metamaskProxyWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Or=(0,Dr.createSlice)({name:"loginInfoSlice",initialState:Ur,reducers:{setLoginMethod:(t,e)=>{t.loginMethod=e.payload},setTokenLogin:(t,e)=>{t.tokenLogin=e.payload},setTokenLoginSignature:(t,e)=>{(t==null?void 0:t.tokenLogin)!=null&&(t.tokenLogin.signature=e.payload)},setWalletLogin:(t,e)=>{t.walletLogin=e.payload},setWalletConnectLogin:(t,e)=>{t.walletConnectLogin=e.payload},setLedgerLogin:(t,e)=>{t.ledgerLogin=e.payload},setWebviewLogin:(t,e)=>{t.webviewLogin=e.payload},invalidateLoginSession:t=>{t.isLoginSessionInvalid=!0},setLogoutRoute:(t,e)=>{t.logoutRoute=e.payload},setIsWalletConnectV2Initialized:(t,e)=>{t.isWalletConnectV2Initialized=e.payload}},extraReducers:t=>{t.addCase(S,()=>Ur),t.addCase(Se,(e,r)=>{e.isLoginSessionInvalid=!1,e.loginMethod=r.payload.loginMethod,ie(oe())})}}),{setLoginMethod:Ss,setWalletConnectLogin:ws,setLedgerLogin:bs,setTokenLogin:As,setTokenLoginSignature:vs,setWalletLogin:Is,invalidateLoginSession:Wr,setLogoutRoute:ks,setIsWalletConnectV2Initialized:Ls,setWebviewLogin:Rs}=Or.actions,Ae=Or.reducer});var Vr,Gr,Hr,Ns,Ps,Bs,Ms,Ie,ke=f(()=>{"use strict";s();Vr=require("@reduxjs/toolkit");E();Gr={},Hr=(0,Vr.createSlice)({name:"modalsSlice",initialState:Gr,reducers:{setTxSubmittedModal:(t,e)=>{t.txSubmittedModal=e.payload},setNotificationModal:(t,e)=>{t.notificationModal=e.payload},clearTxSubmittedModal:t=>{t.txSubmittedModal=void 0},clearNotificationModal:t=>{t.notificationModal=void 0}},extraReducers:t=>{t.addCase(S,()=>Gr)}}),{setTxSubmittedModal:Ns,setNotificationModal:Ps,clearTxSubmittedModal:Bs,clearNotificationModal:Ms}=Hr.actions,Ie=Hr.reducer});var zr=f(()=>{"use strict";s()});var qr=f(()=>{"use strict";s();zr()});function jr(t){return t[Math.floor(Math.random()*t.length)]}var Kr=f(()=>{"use strict";s()});var Xr=f(()=>{"use strict";s();rt()});var Yr=f(()=>{"use strict";s();qr();Kr();Xr()});var Jr,Zr,$r,mt,Oo,Qr,Qs,ec,tc,Le,Re=f(()=>{"use strict";s();Jr=require("@reduxjs/toolkit"),Zr=K(require("lodash.omit")),$r=require("redux-persist");at();E();Yr();mt={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},Oo={network:mt},Qr=(0,Jr.createSlice)({name:"appConfig",initialState:Oo,reducers:{initializeNetworkConfig:(t,e)=>{let r=jr(e.payload.walletConnectV2RelayAddresses),n=(0,Zr.default)(e.payload,"walletConnectV2RelayAddresses");t.network=R(h(h({},t.network),n),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(t,e)=>{t.network=h(h({},t.network),e.payload)},setCustomWalletAddress:(t,e)=>{t.network.customWalletAddress=e.payload}},extraReducers:t=>{t.addCase(S,e=>{e.network.customWalletAddress=void 0}),t.addCase($r.REHYDRATE,(e,r)=>{var o,i;if(!((i=(o=r.payload)==null?void 0:o.network)!=null&&i.customWalletAddress))return;let{network:{customWalletAddress:n}}=r.payload;e.network.customWalletAddress=n})}}),{initializeNetworkConfig:Qs,updateNetworkConfig:ec,setCustomWalletAddress:tc}=Qr.actions,Le=Qr.reducer});var en,yt,tn,sc,cc,lc,Ee,Ce=f(()=>{"use strict";s();en=require("@reduxjs/toolkit");fe();E();yt={isSigning:!1,signedSessions:{}},tn=(0,en.createSlice)({name:"signedMessageInfoSliceState",initialState:yt,reducers:{setSignSession:(t,e)=>{let{sessionId:r,signedSession:n,errorMessage:o}=e.payload;o&&(t.errorMessage=o),t.isSigning=n.status==="pending",t.signedSessions[r]=h(h({},t.signedSessions[r]),n)},setSignSessionState:(t,e)=>h(h({},t),e.payload),clearSignedMessageInfo:()=>yt},extraReducers:t=>{t.addCase(S,()=>yt)}}),{setSignSession:sc,clearSignedMessageInfo:cc,setSignSessionState:lc}=tn.actions,Ee=tn.reducer});var nn,on,rn,an,yc,hc,Tc,xc,_e,Ne=f(()=>{"use strict";s();nn=require("@reduxjs/toolkit"),on=require("redux-persist");fe();ct();E();rn={customToasts:[],transactionToasts:[]},an=(0,nn.createSlice)({name:"toastsSlice",initialState:rn,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(o=>o.toastId===r);if(n!==-1){t.customToasts[n]=R(h(h({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(R(h({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:he(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(S,()=>rn),t.addCase(on.REHYDRATE,(e,r)=>{var o,i;let n=(i=(o=r.customToasts)==null?void 0:o.filter(a=>!("component"in a)))!=null?i:[];e.customToasts=n})}}),{addCustomToast:yc,removeCustomToast:hc,addTransactionToast:Tc,removeTransactionToast:xc}=an.actions,_e=an.reducer});var sn,Wo,Go,Vo,Ho,ht,cn,Ac,vc,Ic,Pe,Be=f(()=>{"use strict";s();sn=require("@reduxjs/toolkit");E();Wo="Transaction failed",Go="Transaction successful",Vo="Processing transaction",Ho="Transaction submitted",ht={},cn=(0,sn.createSlice)({name:"transactionsInfo",initialState:ht,reducers:{setTransactionsDisplayInfo(t,e){let{sessionId:r,transactionsDisplayInfo:n}=e.payload;r!=null&&(t[r]={errorMessage:(n==null?void 0:n.errorMessage)||Wo,successMessage:(n==null?void 0:n.successMessage)||Go,processingMessage:(n==null?void 0:n.processingMessage)||Vo,submittedMessage:(n==null?void 0:n.submittedMessage)||Ho,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(t,e){e.payload!=null&&delete t[e.payload]},clearTransactionsInfo:()=>ht},extraReducers:t=>{t.addCase(S,()=>ht)}}),{clearTransactionsInfo:Ac,setTransactionsDisplayInfo:vc,clearTransactionsInfoForSessionId:Ic}=cn.actions,Pe=cn.reducer});function ln(t){return t!=null&&(Zo(t)||ei(t))}function pn(t){return t!=null&&($o(t)||ti(t))}function un(t){return t!=null&&(Qo(t)||ri(t))}function Zo(t){return t!=null&&qo.includes(t)}function $o(t){return t!=null&&jo.includes(t)}function Qo(t){return t!=null&&Ko.includes(t)}function ei(t){return t!=null&&Xo.includes(t)}function ti(t){return t!=null&&Yo.includes(t)}function ri(t){return t!=null&&Jo.includes(t)}var Ec,qo,jo,Ko,Cc,_c,Xo,Yo,Jo,dn=f(()=>{"use strict";s();re();Ec=["sent"],qo=["success"],jo=["fail","cancelled","timedOut"],Ko=["invalid"],Cc=["timedOut"],_c=["pending"],Xo=["success"],Yo=["fail","invalid"],Jo=["not executed"]});var gn,fn,ae,ni,mn,Dc,Oc,Wc,Gc,Vc,Hc,zc,qc,jc,Kc,Xc,Me,Fe=f(()=>{"use strict";s();gn=require("@reduxjs/toolkit"),fn=require("redux-persist");re();dn();E();ae={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ni={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},mn=(0,gn.createSlice)({name:"transactionsSlice",initialState:ae,reducers:{moveTransactionsToSignedState:(t,e)=>{var g,m;let{sessionId:r,transactions:n,errorMessage:o,status:i,redirectRoute:a,customTransactionInformation:d}=e.payload;t.customTransactionInformationForSessionId[r]=h(h(h({},ni),((g=t.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),t.customTransactionInformationForSessionId[r]||{}),t.signedTransactions[r]={transactions:n,status:i,errorMessage:o,redirectRoute:a,customTransactionInformation:h(h({},t.customTransactionInformationForSessionId[r]),d!=null?d:{})},((m=t==null?void 0:t.transactionsToSign)==null?void 0:m.sessionId)===r&&(t.transactionsToSign=ae.transactionsToSign)},clearSignedTransaction:(t,e)=>{t.signedTransactions[e.payload]&&delete t.signedTransactions[e.payload]},clearTransactionToSign:t=>{t!=null&&t.transactionsToSign&&(t.transactionsToSign=null)},updateSignedTransaction:(t,e)=>{t.signedTransactions=h(h({},t.signedTransactions),e.payload)},updateSignedTransactions:(t,e)=>{let{sessionId:r,status:n,errorMessage:o,transactions:i}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].status=n,o!=null&&(t.signedTransactions[r].errorMessage=o),i!=null&&(t.signedTransactions[r].transactions=i))},updateSignedTransactionStatus:(t,e)=>{var m,T,y,A,b,M,ce,At;let{sessionId:r,status:n,errorMessage:o,transactionHash:i,serverTransaction:a,inTransit:d}=e.payload,g=(T=(m=t.signedTransactions)==null?void 0:m[r])==null?void 0:T.transactions;if(g!=null){t.signedTransactions[r].transactions=g.map(F=>F.hash===i?R(h(h({},a!=null?a:{}),F),{status:n,errorMessage:o,inTransit:d}):F);let zn=(A=(y=t.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:A.every(F=>ln(F.status)),qn=(M=(b=t.signedTransactions[r])==null?void 0:b.transactions)==null?void 0:M.some(F=>pn(F.status)),jn=(At=(ce=t.signedTransactions[r])==null?void 0:ce.transactions)==null?void 0:At.every(F=>un(F.status));zn&&(t.signedTransactions[r].status="success"),qn&&(t.signedTransactions[r].status="fail"),jn&&(t.signedTransactions[r].status="invalid")}},setTransactionsToSign:(t,e)=>{t.transactionsToSign=e.payload;let{sessionId:r,customTransactionInformation:n}=e.payload;t.customTransactionInformationForSessionId[r]=n,t.signTransactionsError=null},clearAllTransactionsToSign:t=>{t.transactionsToSign=ae.transactionsToSign,t.signTransactionsError=null},clearAllSignedTransactions:t=>{t.signedTransactions=ae.signedTransactions},setSignTransactionsError:(t,e)=>{t.signTransactionsError=e.payload},setSignTransactionsCancelMessage:(t,e)=>{t.signTransactionsCancelMessage=e.payload},updateSignedTransactionsCustomTransactionInformation:(t,e)=>{let{sessionId:r,customTransactionInformationOverrides:n}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].customTransactionInformation=h(h({},t.signedTransactions[r].customTransactionInformation),n))}},extraReducers:t=>{t.addCase(S,()=>ae),t.addCase(fn.REHYDRATE,(e,r)=>{var a;if(e.signTransactionsCancelMessage=null,!((a=r.payload)!=null&&a.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:o}=r.payload.transactions,i=Object.entries(n).reduce((d,[g,m])=>{let T=new Date(g),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(d[g]=m),d},{});o!=null&&(e.customTransactionInformationForSessionId=o),n!=null&&(e.signedTransactions=i)})}}),{updateSignedTransactionStatus:Dc,updateSignedTransactions:Oc,setTransactionsToSign:Wc,clearAllTransactionsToSign:Gc,clearAllSignedTransactions:Vc,clearSignedTransaction:Hc,clearTransactionToSign:zc,setSignTransactionsError:qc,setSignTransactionsCancelMessage:jc,moveTransactionsToSignedState:Kc,updateSignedTransactionsCustomTransactionInformation:Xc}=mn.actions,Me=mn.reducer});var yn,Tt,hn,$c,Qc,el,tl,Ue,De=f(()=>{"use strict";s();yn=require("@reduxjs/toolkit");E();Tt={},hn=(0,yn.createSlice)({name:"batchTransactionsSlice",initialState:Tt,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>Tt},extraReducers:t=>{t.addCase(S,()=>Tt)}}),{setBatchTransactions:$c,updateBatchTransactions:Qc,clearBatchTransactions:el,clearAllBatchTransactions:tl}=hn.actions,Ue=hn.reducer});var xn,Tn,Sn,il,wn,xt=f(()=>{"use strict";s();xn=require("@reduxjs/toolkit");E();Tn={},Sn=(0,xn.createSlice)({name:"dappConfigSlice",initialState:Tn,reducers:{setDappConfig:(t,e)=>e.payload},extraReducers:t=>{t.addCase(S,()=>Tn)}}),{setDappConfig:il}=Sn.actions,wn=Sn.reducer});var Oe=f(()=>{"use strict";s();be();ve();ke();Re();Ce();Ne();Be();Fe();De();xt()});var St=f(()=>{"use strict";s()});var vn,si,ci,j,Ve=f(()=>{"use strict";s();vn=require("@reduxjs/toolkit");St();be();De();xt();ve();ke();Re();Ce();Ne();Be();Fe();si={["account"]:we,["dappConfig"]:wn,["loginInfo"]:Ae,["modals"]:Ie,["networkConfig"]:Le,["signedMessageInfo"]:Ee,["toasts"]:_e,["transactionsInfo"]:Pe,["transactions"]:Me,["batchTransactions"]:Ue},ci=(t={})=>(0,vn.combineReducers)(h(h({},si),t)),j=ci});var Rn={};G(Rn,{default:()=>vi,sessionStorageReducers:()=>wt});function W(t,e=[]){return{key:t,version:1,storage:kn.default,blacklist:e}}var I,In,kn,li,se,pi,ui,di,gi,fi,mi,yi,hi,Ti,xi,Ln,Si,wt,wi,bi,Ai,vi,En=f(()=>{"use strict";s();I=require("redux-persist"),In=K(require("redux-persist/lib/storage")),kn=K(require("redux-persist/lib/storage/session"));Ve();Oe();be();De();ve();ke();Re();Ce();Ne();Be();Fe();St();li={persistReducersStorageType:"localStorage"},se={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},pi=W(se["account"]),ui=W(se["loginInfo"]),di=W(se["modals"]),gi=W(se["networkConfig"]),fi={2:t=>R(h({},t),{networkConfig:mt})};mi=W("sdk-dapp-transactionsInfo"),yi=W("sdk-dapp-transactions",["transactionsToSign"]),hi=W("sdk-dapp-batchTransactions",["batchTransactions"]),Ti=W("sdk-dapp-toasts"),xi=W("sdk-dapp-signedMessageInfo"),Ln={key:"sdk-dapp-store",version:2,storage:In.default,whitelist:Object.keys(se),migrate:(0,I.createMigrate)(fi,{debug:!1})},Si=R(h({},Ln),{whitelist:[]}),wt={["toasts"]:(0,I.persistReducer)(Ti,_e),["transactions"]:(0,I.persistReducer)(yi,Me),["transactionsInfo"]:(0,I.persistReducer)(mi,Pe),["batchTransactions"]:(0,I.persistReducer)(hi,Ue),["signedMessageInfo"]:(0,I.persistReducer)(xi,Ee)},wi=R(h({},wt),{["account"]:(0,I.persistReducer)(pi,we),["loginInfo"]:(0,I.persistReducer)(ui,Ae),["modals"]:(0,I.persistReducer)(di,Ie),["networkConfig"]:(0,I.persistReducer)(gi,Le)}),bi=li.persistReducersStorageType==="localStorage",Ai=bi?(0,I.persistReducer)(Ln,j(wt)):(0,I.persistReducer)(Si,j(wi)),vi=Ai});var Cn={};G(Cn,{default:()=>Ii});var Ii,_n=f(()=>{"use strict";s();Ve();Ii=j()});var Nn={};G(Nn,{default:()=>Li});var L,ki,Li,Pn=f(()=>{"use strict";s();L=require("redux-persist"),ki=[L.FLUSH,L.REHYDRATE,L.PAUSE,L.PERSIST,L.PURGE,L.REGISTER],Li=ki});var Fn={};G(Fn,{default:()=>Mn});function Mn(t){return(0,Bn.persistStore)(t)}var Bn,Un=f(()=>{"use strict";s();Bn=require("redux-persist")});var Ni={};G(Ni,{DappCoreContext:()=>ze,useDispatch:()=>Ci,useSelector:()=>_i,useStore:()=>Ei});module.exports=te(Ni);s();var Hn=require("react"),Q=require("react-redux");s();var bt=require("@reduxjs/toolkit"),Gn=require("react-redux/lib/utils/Subscription");Oe();s();var bn=K(require("lodash.throttle"));ye();Oe();ft();xe();ne();var oi=[me],We=!1,ii=(0,bn.default)(()=>{ie(oe())},5e3),An=t=>e=>r=>{if(oi.includes(r.type))return e(r);let n=t.getState(),o=$.local.getItem(q.loginExpiresAt);if(!Boolean(n==null?void 0:n.account.address))return e(r);if(o==null)return ie(oe());let a=Date.now();return o-a<0&&!We?setTimeout(()=>{We=!0,t.dispatch(Wr())},1e3):(We&&(We=!1),ii()),e(r)};s();s();function Ge(){return typeof sessionStorage!="undefined"}var Dn=Ge()?(En(),te(Rn)).default:(_n(),te(Cn)).default,On=Ge()?(Pn(),te(Nn)).default:[],Wn=Ge()?(Un(),te(Fn)).default:t=>t;Ve();var He=(0,bt.configureStore)({reducer:Dn,middleware:t=>t({serializableCheck:{ignoredActions:[...On,Fr.type,Mr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(An)}),Vn=(0,Gn.createSubscription)(He),np=Wn(He),op=(0,bt.configureStore)({reducer:j});var Ri={store:He,subscription:Vn},ze=(0,Hn.createContext)(Ri),Ei=(0,Q.createStoreHook)(ze),Ci=(0,Q.createDispatchHook)(ze),_i=(0,Q.createSelectorHook)(ze);0&&(module.exports={DappCoreContext,useDispatch,useSelector,useStore});
|
|
1
|
+
"use strict";var Kn=Object.create;var ee=Object.defineProperty,Xn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptor,Jn=Object.getOwnPropertyDescriptors,Zn=Object.getOwnPropertyNames,vt=Object.getOwnPropertySymbols,$n=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable;var It=(t,e,r)=>e in t?ee(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))kt.call(e,r)&&It(t,r,e[r]);if(vt)for(var r of vt(e))Qn.call(e,r)&&It(t,r,e[r]);return t},R=(t,e)=>Xn(t,Jn(e));var m=(t,e)=>()=>(t&&(e=t(t=0)),e);var le=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)ee(t,r,{get:e[r],enumerable:!0})},Lt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Zn(e))!kt.call(t,o)&&o!==r&&ee(t,o,{get:()=>e[o],enumerable:!(n=Yn(e,o))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?Kn($n(t)):{},Lt(e||!t||!t.__esModule?ee(r,"default",{value:t,enumerable:!0}):r,t)),te=t=>Lt(ee({},"__esModule",{value:!0}),t);var Ct=le(pe=>{"use strict";s();pe.byteLength=to;pe.toByteArray=no;pe.fromByteArray=ao;var C=[],k=[],eo=typeof Uint8Array!="undefined"?Uint8Array:Array,qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Rt=qe.length;V<Rt;++V)C[V]=qe[V],k[qe.charCodeAt(V)]=V;var V,Rt;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function Et(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function to(t){var e=Et(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ro(t,e,r){return(e+r)*3/4-r}function no(t){var e,r=Et(t),n=r[0],o=r[1],i=new eo(ro(t,n,o)),a=0,d=o>0?n-4:n,g;for(g=0;g<d;g+=4)e=k[t.charCodeAt(g)]<<18|k[t.charCodeAt(g+1)]<<12|k[t.charCodeAt(g+2)]<<6|k[t.charCodeAt(g+3)],i[a++]=e>>16&255,i[a++]=e>>8&255,i[a++]=e&255;return o===2&&(e=k[t.charCodeAt(g)]<<2|k[t.charCodeAt(g+1)]>>4,i[a++]=e&255),o===1&&(e=k[t.charCodeAt(g)]<<10|k[t.charCodeAt(g+1)]<<4|k[t.charCodeAt(g+2)]>>2,i[a++]=e>>8&255,i[a++]=e&255),i}function oo(t){return C[t>>18&63]+C[t>>12&63]+C[t>>6&63]+C[t&63]}function io(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(t[i+2]&255),o.push(oo(n));return o.join("")}function ao(t){for(var e,r=t.length,n=r%3,o=[],i=16383,a=0,d=r-n;a<d;a+=i)o.push(io(t,a,a+i>d?d:a+i));return n===1?(e=t[r-1],o.push(C[e>>2]+C[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(C[e>>10]+C[e>>4&63]+C[e<<2&63]+"=")),o.join("")}});var _t=le(je=>{s();je.read=function(t,e,r,n,o){var i,a,d=o*8-n-1,g=(1<<d)-1,f=g>>1,T=-7,y=r?o-1:0,A=r?-1:1,b=t[e+y];for(y+=A,i=b&(1<<-T)-1,b>>=-T,T+=d;T>0;i=i*256+t[e+y],y+=A,T-=8);for(a=i&(1<<-T)-1,i>>=-T,T+=n;T>0;a=a*256+t[e+y],y+=A,T-=8);if(i===0)i=1-f;else{if(i===g)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),i=i-f}return(b?-1:1)*a*Math.pow(2,i-n)};je.write=function(t,e,r,n,o,i){var a,d,g,f=i*8-o-1,T=(1<<f)-1,y=T>>1,A=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:i-1,M=n?1:-1,ce=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,a=T):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+y>=1?e+=A/g:e+=A*Math.pow(2,1-y),e*g>=2&&(a++,g/=2),a+y>=T?(d=0,a=T):a+y>=1?(d=(e*g-1)*Math.pow(2,o),a=a+y):(d=e*Math.pow(2,y-1)*Math.pow(2,o),a=0));o>=8;t[r+b]=d&255,b+=M,d/=256,o-=8);for(a=a<<o|d,f+=o;f>0;t[r+b]=a&255,b+=M,a/=256,f-=8);t[r+b-M]|=ce*128}});var zt=le(Y=>{"use strict";s();var Ke=Ct(),X=_t(),Nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Y.Buffer=c;Y.SlowBuffer=go;Y.INSPECT_MAX_BYTES=50;var ue=2147483647;Y.kMaxLength=ue;c.TYPED_ARRAY_SUPPORT=so();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function so(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(t){if(t>ue)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ze(t)}return Mt(t,e,r)}c.poolSize=8192;function Mt(t,e,r){if(typeof t=="string")return lo(t,e);if(ArrayBuffer.isView(t))return po(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return Ye(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var o=uo(t);if(o)return o;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Mt(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ft(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function co(t,e,r){return Ft(t),t<=0?U(t):e!==void 0?typeof r=="string"?U(t).fill(e,r):U(t).fill(e):U(t)}c.alloc=function(t,e,r){return co(t,e,r)};function Ze(t){return Ft(t),U(t<0?0:$e(t)|0)}c.allocUnsafe=function(t){return Ze(t)};c.allocUnsafeSlow=function(t){return Ze(t)};function lo(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ut(t,e)|0,n=U(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function Xe(t){for(var e=t.length<0?0:$e(t.length)|0,r=U(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function po(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Ye(e.buffer,e.byteOffset,e.byteLength)}return Xe(t)}function Ye(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function uo(t){if(c.isBuffer(t)){var e=$e(t.length)|0,r=U(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Qe(t.length)?U(0):Xe(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Xe(t.data)}function $e(t){if(t>=ue)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ue.toString(16)+" bytes");return t|0}function go(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(_(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,o=r.length,i=0,a=Math.min(n,o);i<a;++i)if(e[i]!==r[i]){n=e[i],o=r[i];break}return n<o?-1:o<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=c.allocUnsafe(r),i=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))i+a.length>o.length?c.from(a).copy(o,i):Uint8Array.prototype.set.call(o,a,i);else if(c.isBuffer(a))a.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=a.length}return o};function Ut(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Je(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ht(t).length;default:if(o)return n?-1:Je(t).length;e=(""+e).toLowerCase(),o=!0}}c.byteLength=Ut;function mo(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return vo(this,e,r);case"utf8":case"utf-8":return Ot(this,e,r);case"ascii":return bo(this,e,r);case"latin1":case"binary":return Ao(this,e,r);case"base64":return So(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Io(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function H(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)H(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)H(this,r,r+3),H(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)H(this,r,r+7),H(this,r+1,r+6),H(this,r+2,r+5),H(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ot(this,0,e):mo.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=Y.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Nt&&(c.prototype[Nt]=c.prototype.inspect);c.prototype.compare=function(e,r,n,o,i){if(_(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var a=i-o,d=n-r,g=Math.min(a,d),f=this.slice(o,i),T=e.slice(r,n),y=0;y<g;++y)if(f[y]!==T[y]){a=f[y],d=T[y];break}return a<d?-1:d<a?1:0};function Dt(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Qe(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Pt(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Pt(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Pt(t,e,r,n,o){var i=1,a=t.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;i=2,a/=2,d/=2,r/=2}function g(b,M){return i===1?b[M]:b.readUInt16BE(M*i)}var f;if(o){var T=-1;for(f=r;f<a;f++)if(g(t,f)===g(e,T===-1?0:f-T)){if(T===-1&&(T=f),f-T+1===d)return T*i}else T!==-1&&(f-=f-T),T=-1}else for(r+d>a&&(r=a-d),f=r;f>=0;f--){for(var y=!0,A=0;A<d;A++)if(g(t,f+A)!==g(e,A)){y=!1;break}if(y)return f}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return Dt(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return Dt(this,e,r,n,!1)};function fo(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var d=parseInt(e.substr(a*2,2),16);if(Qe(d))return a;t[r+a]=d}return a}function yo(t,e,r,n){return de(Je(e,t.length-r),t,r,n)}function ho(t,e,r,n){return de(Ro(e),t,r,n)}function To(t,e,r,n){return de(Ht(e),t,r,n)}function xo(t,e,r,n){return de(Eo(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-r;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return fo(this,e,r,n);case"utf8":case"utf-8":return yo(this,e,r,n);case"ascii":case"latin1":case"binary":return ho(this,e,r,n);case"base64":return To(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xo(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function So(t,e,r){return e===0&&r===t.length?Ke.fromByteArray(t):Ke.fromByteArray(t.slice(e,r))}function Ot(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i=t[o],a=null,d=i>239?4:i>223?3:i>191?2:1;if(o+d<=r){var g,f,T,y;switch(d){case 1:i<128&&(a=i);break;case 2:g=t[o+1],(g&192)===128&&(y=(i&31)<<6|g&63,y>127&&(a=y));break;case 3:g=t[o+1],f=t[o+2],(g&192)===128&&(f&192)===128&&(y=(i&15)<<12|(g&63)<<6|f&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:g=t[o+1],f=t[o+2],T=t[o+3],(g&192)===128&&(f&192)===128&&(T&192)===128&&(y=(i&15)<<18|(g&63)<<12|(f&63)<<6|T&63,y>65535&&y<1114112&&(a=y))}}a===null?(a=65533,d=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),o+=d}return wo(n)}var Bt=4096;function wo(t){var e=t.length;if(e<=Bt)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Bt));return r}function bo(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function Ao(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function vo(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Co[t[i]];return o}function Io(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,c.prototype),o};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,a=0;++a<r&&(i*=256);)o+=this[e+a]*i;return o};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e+--r],i=1;r>0&&(i*=256);)o+=this[e+--r]*i;return o};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,a=0;++a<r&&(i*=256);)o+=this[e+a]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=r,i=1,a=this[e+--o];o>0&&(i*=256);)a+=this[e+--o]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*r)),a};c.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),X.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),X.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),X.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),X.read(this,e,!1,52,8)};function v(t,e,r,n,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;v(this,e,r,n,i,0)}var a=1,d=0;for(this[r]=e&255;++d<n&&(a*=256);)this[r+d]=e/a&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;v(this,e,r,n,i,0)}var a=n-1,d=1;for(this[r+a]=e&255;--a>=0&&(d*=256);)this[r+a]=e/d&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);v(this,e,r,n,i-1,-i)}var a=0,d=1,g=0;for(this[r]=e&255;++a<n&&(d*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/d>>0)-g&255;return r+n};c.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);v(this,e,r,n,i-1,-i)}var a=n-1,d=1,g=0;for(this[r+a]=e&255;--a>=0&&(d*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/d>>0)-g&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Wt(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Gt(t,e,r,n,o){return e=+e,r=r>>>0,o||Wt(t,e,r,4,34028234663852886e22,-34028234663852886e22),X.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return Gt(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return Gt(this,e,r,!1,n)};function Vt(t,e,r,n,o){return e=+e,r=r>>>0,o||Wt(t,e,r,8,17976931348623157e292,-17976931348623157e292),X.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return Vt(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return Vt(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var i=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),i};c.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var i=e.charCodeAt(0);(o==="utf8"&&i<128||o==="latin1")&&(e=i)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var d=c.isBuffer(e)?e:c.from(e,o),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=d[a%g]}return this};var ko=/[^+/0-9A-Za-z-_]/g;function Lo(t){if(t=t.split("=")[0],t=t.trim().replace(ko,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Je(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function Ro(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Eo(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function Ht(t){return Ke.toByteArray(Lo(t))}function de(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Qe(t){return t!==t}var Co=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()});var Yt=le((Ui,Xt)=>{s();var x=Xt.exports={},N,P;function et(){throw new Error("setTimeout has not been defined")}function tt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?N=setTimeout:N=et}catch(t){N=et}try{typeof clearTimeout=="function"?P=clearTimeout:P=tt}catch(t){P=tt}})();function qt(t){if(N===setTimeout)return setTimeout(t,0);if((N===et||!N)&&setTimeout)return N=setTimeout,setTimeout(t,0);try{return N(t,0)}catch(e){try{return N.call(null,t,0)}catch(r){return N.call(this,t,0)}}}function _o(t){if(P===clearTimeout)return clearTimeout(t);if((P===tt||!P)&&clearTimeout)return P=clearTimeout,clearTimeout(t);try{return P(t)}catch(e){try{return P.call(null,t)}catch(r){return P.call(this,t)}}}var D=[],J=!1,z,ge=-1;function No(){!J||!z||(J=!1,z.length?D=z.concat(D):ge=-1,D.length&&jt())}function jt(){if(!J){var t=qt(No);J=!0;for(var e=D.length;e;){for(z=D,D=[];++ge<e;)z&&z[ge].run();ge=-1,e=D.length}z=null,J=!1,_o(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];D.push(new Kt(t,e)),D.length===1&&!J&&qt(jt)};function Kt(t,e){this.fun=t,this.array=e}Kt.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Di,s=m(()=>{l=K(zt()),p=K(Yt()),Di=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Jt=m(()=>{"use strict";s()});var Zt=m(()=>{"use strict";s()});var $t=m(()=>{"use strict";s()});var Qt=m(()=>{"use strict";s()});var er=m(()=>{"use strict";s()});var rt=m(()=>{"use strict";s()});var tr=m(()=>{"use strict";s()});var rr=m(()=>{"use strict";s()});var nr=m(()=>{"use strict";s()});var or=m(()=>{"use strict";s()});var nt,Z,ot=m(()=>{"use strict";s();nt=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),Z=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums")});var ir,Ji,ar,Zi,re=m(()=>{"use strict";s();ot();ir=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(ir||{}),Ji=h(h({},Z.CrossWindowProviderRequestEnums),ir),ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(ar||{}),Zi=h(h({},Z.CrossWindowProviderResponseEnums),ar)});var sr=m(()=>{"use strict";s()});var cr=m(()=>{"use strict";s()});var lr=m(()=>{"use strict";s()});var pr=m(()=>{"use strict";s()});var ur=m(()=>{"use strict";s()});var dr=m(()=>{"use strict";s()});var me=m(()=>{"use strict";s();rr();nr();or();re();sr();cr();lr();pr();ur();dr()});var it,gr,ma,mr,fa,fr,ya,ha,Ta,yr=m(()=>{"use strict";s();me();it={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:gr,egldLabel:ma}=it["devnet"],{chainId:mr,egldLabel:fa}=it["testnet"],{chainId:fr,egldLabel:ya}=it["mainnet"],ha={["devnet"]:gr,["testnet"]:mr,["mainnet"]:fr},Ta={[gr]:"devnet",[mr]:"testnet",[fr]:"mainnet"}});var at=m(()=>{"use strict";s()});var B,hr=m(()=>{"use strict";s();B=require("@multiversx/sdk-web-wallet-provider")});var Tr,xr,st,Aa,va,Sr=m(()=>{"use strict";s();ot();st=String((xr=(Tr=nt.safeWindow)==null?void 0:Tr.navigator)==null?void 0:xr.userAgent),Aa=/^((?!chrome|android).)*safari/i.test(st),va=/firefox/i.test(st)&&/windows/i.test(st)});var fe,wr,br,ye=m(()=>{"use strict";s();Jt();Zt();$t();Qt();er();rt();tr();yr();at();hr();Sr();fe="logout",wr="login",br="0"});var he,ct=m(()=>{"use strict";s();he=()=>Date.now()/1e3});var Ar=m(()=>{"use strict";s()});var vr=m(()=>{"use strict";s()});var Ir=m(()=>{"use strict";s();ct();Ar();vr()});var lt={};G(lt,{clear:()=>Fo,getItem:()=>Bo,localStorageKeys:()=>q,removeItem:()=>Mo,setItem:()=>Po});var q,Te,Po,Bo,Mo,Fo,ne=m(()=>{"use strict";s();Ir();q={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Te=typeof localStorage!="undefined",Po=({key:t,data:e,expires:r})=>{!Te||localStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Bo=t=>{if(!Te)return;let e=localStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:he()>=r.expires?(localStorage.removeItem(String(t)),null):r.data},Mo=t=>{!Te||localStorage.removeItem(String(t))},Fo=()=>{!Te||localStorage.clear()}});var pt={};G(pt,{clear:()=>Er,getItem:()=>Lr,removeItem:()=>Rr,setItem:()=>kr,storage:()=>Uo});var kr,Lr,Rr,Er,Uo,Cr=m(()=>{"use strict";s();kr=({key:t,data:e,expires:r})=>{sessionStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Lr=t=>{let e=sessionStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(t)),null):r.data},Rr=t=>sessionStorage.removeItem(String(t)),Er=()=>sessionStorage.clear(),Uo={setItem:kr,getItem:Lr,removeItem:Rr,clear:Er}});var $,xe=m(()=>{"use strict";s();ne();Cr();$={session:pt,local:lt}});var ut,S,Se,E=m(()=>{"use strict";s();ut=require("@reduxjs/toolkit");ye();S=(0,ut.createAction)(fe),Se=(0,ut.createAction)(wr,t=>({payload:t}))});var gt,_r,Nr,Pr,dt,Br,Mr,ts,Fr,rs,ns,os,is,as,ss,cs,ls,we,be=m(()=>{"use strict";s();gt=require("@multiversx/sdk-core"),_r=require("@reduxjs/toolkit"),Nr=require("redux-persist");ye();xe();ne();E();Pr={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:br},dt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Pr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Br=(0,_r.createSlice)({name:"accountInfoSlice",initialState:dt,reducers:{setAddress:(t,e)=>{let r=e.payload;t.address=r,t.publicKey=r?new gt.Address(r).hex():""},setAccount:(t,e)=>{let r=t.address===e.payload.address;t.accounts={[t.address]:r?e.payload:Pr},t.shard=e.payload.shard,t.isAccountLoading=!1,t.accountLoadingError=null},setAccountNonce:(t,e)=>{let{address:r}=t;t.accounts[r].nonce=e.payload},setAccountShard:(t,e)=>{t.shard=e.payload},setLedgerAccount:(t,e)=>{t.ledgerAccount=e.payload},updateLedgerAccount:(t,e)=>{t.ledgerAccount!=null&&(t.ledgerAccount.index=e.payload.index,t.ledgerAccount.address=e.payload.address)},setWalletConnectAccount:(t,e)=>{t.walletConnectAccount=e.payload},setIsAccountLoading:(t,e)=>{t.isAccountLoading=e.payload,t.accountLoadingError=null},setAccountLoadingError:(t,e)=>{t.accountLoadingError=e.payload,t.isAccountLoading=!1},setWebsocketEvent:(t,e)=>{t.websocketEvent={timestamp:Date.now(),message:e.payload}},setWebsocketBatchEvent:(t,e)=>{t.websocketBatchEvent={timestamp:Date.now(),data:e.payload}}},extraReducers:t=>{t.addCase(S,()=>($.local.removeItem(q.loginExpiresAt),dt)),t.addCase(Se,(e,r)=>{let{address:n}=r.payload;e.address=n,e.publicKey=new gt.Address(n).hex()}),t.addCase(Nr.REHYDRATE,(e,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:n}=r.payload,{address:o,shard:i,accounts:a,publicKey:d}=n;e.address=o,e.shard=i;let g=a&&o in a;e.accounts=g?a:dt.accounts,e.publicKey=d})}}),{setAccount:Mr,setAddress:ts,setAccountNonce:Fr,setAccountShard:rs,setLedgerAccount:ns,updateLedgerAccount:os,setWalletConnectAccount:is,setIsAccountLoading:as,setAccountLoadingError:ss,setWebsocketEvent:cs,setWebsocketBatchEvent:ls}=Br.actions,we=Br.reducer});function oe(){return new Date().setHours(new Date().getHours()+24)}function ie(t){$.local.setItem({key:q.loginExpiresAt,data:t,expires:t})}var mt=m(()=>{"use strict";s();xe();ne()});var Dr,Ur,Or,Ss,ws,bs,As,vs,Is,Wr,ks,Ls,Rs,Ae,ve=m(()=>{"use strict";s();Dr=require("@reduxjs/toolkit");mt();re();E();Ur={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,metamaskProxyWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Or=(0,Dr.createSlice)({name:"loginInfoSlice",initialState:Ur,reducers:{setLoginMethod:(t,e)=>{t.loginMethod=e.payload},setTokenLogin:(t,e)=>{t.tokenLogin=e.payload},setTokenLoginSignature:(t,e)=>{(t==null?void 0:t.tokenLogin)!=null&&(t.tokenLogin.signature=e.payload)},setWalletLogin:(t,e)=>{t.walletLogin=e.payload},setWalletConnectLogin:(t,e)=>{t.walletConnectLogin=e.payload},setLedgerLogin:(t,e)=>{t.ledgerLogin=e.payload},setWebviewLogin:(t,e)=>{t.webviewLogin=e.payload},invalidateLoginSession:t=>{t.isLoginSessionInvalid=!0},setLogoutRoute:(t,e)=>{t.logoutRoute=e.payload},setIsWalletConnectV2Initialized:(t,e)=>{t.isWalletConnectV2Initialized=e.payload}},extraReducers:t=>{t.addCase(S,()=>Ur),t.addCase(Se,(e,r)=>{e.isLoginSessionInvalid=!1,e.loginMethod=r.payload.loginMethod,ie(oe())})}}),{setLoginMethod:Ss,setWalletConnectLogin:ws,setLedgerLogin:bs,setTokenLogin:As,setTokenLoginSignature:vs,setWalletLogin:Is,invalidateLoginSession:Wr,setLogoutRoute:ks,setIsWalletConnectV2Initialized:Ls,setWebviewLogin:Rs}=Or.actions,Ae=Or.reducer});var Vr,Gr,Hr,Ns,Ps,Bs,Ms,Ie,ke=m(()=>{"use strict";s();Vr=require("@reduxjs/toolkit");E();Gr={},Hr=(0,Vr.createSlice)({name:"modalsSlice",initialState:Gr,reducers:{setTxSubmittedModal:(t,e)=>{t.txSubmittedModal=e.payload},setNotificationModal:(t,e)=>{t.notificationModal=e.payload},clearTxSubmittedModal:t=>{t.txSubmittedModal=void 0},clearNotificationModal:t=>{t.notificationModal=void 0}},extraReducers:t=>{t.addCase(S,()=>Gr)}}),{setTxSubmittedModal:Ns,setNotificationModal:Ps,clearTxSubmittedModal:Bs,clearNotificationModal:Ms}=Hr.actions,Ie=Hr.reducer});var zr=m(()=>{"use strict";s()});var qr=m(()=>{"use strict";s();zr()});function jr(t){return t[Math.floor(Math.random()*t.length)]}var Kr=m(()=>{"use strict";s()});var Xr=m(()=>{"use strict";s();rt()});var Yr=m(()=>{"use strict";s();qr();Kr();Xr()});var Jr,Zr,$r,ft,Oo,Qr,Qs,ec,tc,Le,Re=m(()=>{"use strict";s();Jr=require("@reduxjs/toolkit"),Zr=K(require("lodash.omit")),$r=require("redux-persist");at();E();Yr();ft={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},Oo={network:ft},Qr=(0,Jr.createSlice)({name:"appConfig",initialState:Oo,reducers:{initializeNetworkConfig:(t,e)=>{let r=jr(e.payload.walletConnectV2RelayAddresses),n=(0,Zr.default)(e.payload,"walletConnectV2RelayAddresses");t.network=R(h(h({},t.network),n),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(t,e)=>{t.network=h(h({},t.network),e.payload)},setCustomWalletAddress:(t,e)=>{t.network.customWalletAddress=e.payload}},extraReducers:t=>{t.addCase(S,e=>{e.network.customWalletAddress=void 0}),t.addCase($r.REHYDRATE,(e,r)=>{var o,i;if(!((i=(o=r.payload)==null?void 0:o.network)!=null&&i.customWalletAddress))return;let{network:{customWalletAddress:n}}=r.payload;e.network.customWalletAddress=n})}}),{initializeNetworkConfig:Qs,updateNetworkConfig:ec,setCustomWalletAddress:tc}=Qr.actions,Le=Qr.reducer});var en,yt,tn,sc,cc,lc,Ee,Ce=m(()=>{"use strict";s();en=require("@reduxjs/toolkit");me();E();yt={isSigning:!1,signedSessions:{}},tn=(0,en.createSlice)({name:"signedMessageInfoSliceState",initialState:yt,reducers:{setSignSession:(t,e)=>{let{sessionId:r,signedSession:n,errorMessage:o}=e.payload;o&&(t.errorMessage=o),t.isSigning=n.status==="pending",t.signedSessions[r]=h(h({},t.signedSessions[r]),n)},setSignSessionState:(t,e)=>h(h({},t),e.payload),clearSignedMessageInfo:()=>yt},extraReducers:t=>{t.addCase(S,()=>yt)}}),{setSignSession:sc,clearSignedMessageInfo:cc,setSignSessionState:lc}=tn.actions,Ee=tn.reducer});var nn,on,rn,an,yc,hc,Tc,xc,_e,Ne=m(()=>{"use strict";s();nn=require("@reduxjs/toolkit"),on=require("redux-persist");me();ct();E();rn={customToasts:[],transactionToasts:[]},an=(0,nn.createSlice)({name:"toastsSlice",initialState:rn,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(o=>o.toastId===r);if(n!==-1){t.customToasts[n]=R(h(h({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(R(h({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:he(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(S,()=>rn),t.addCase(on.REHYDRATE,(e,r)=>{var o,i;let n=(i=(o=r.customToasts)==null?void 0:o.filter(a=>!("component"in a)))!=null?i:[];e.customToasts=n})}}),{addCustomToast:yc,removeCustomToast:hc,addTransactionToast:Tc,removeTransactionToast:xc}=an.actions,_e=an.reducer});var sn,Wo,Go,Vo,Ho,ht,cn,Ac,vc,Ic,Pe,Be=m(()=>{"use strict";s();sn=require("@reduxjs/toolkit");E();Wo="Transaction failed",Go="Transaction successful",Vo="Processing transaction",Ho="Transaction submitted",ht={},cn=(0,sn.createSlice)({name:"transactionsInfo",initialState:ht,reducers:{setTransactionsDisplayInfo(t,e){let{sessionId:r,transactionsDisplayInfo:n}=e.payload;r!=null&&(t[r]={errorMessage:(n==null?void 0:n.errorMessage)||Wo,successMessage:(n==null?void 0:n.successMessage)||Go,processingMessage:(n==null?void 0:n.processingMessage)||Vo,submittedMessage:(n==null?void 0:n.submittedMessage)||Ho,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(t,e){e.payload!=null&&delete t[e.payload]},clearTransactionsInfo:()=>ht},extraReducers:t=>{t.addCase(S,()=>ht)}}),{clearTransactionsInfo:Ac,setTransactionsDisplayInfo:vc,clearTransactionsInfoForSessionId:Ic}=cn.actions,Pe=cn.reducer});function ln(t){return t!=null&&(Zo(t)||ei(t))}function pn(t){return t!=null&&($o(t)||ti(t))}function un(t){return t!=null&&(Qo(t)||ri(t))}function Zo(t){return t!=null&&qo.includes(t)}function $o(t){return t!=null&&jo.includes(t)}function Qo(t){return t!=null&&Ko.includes(t)}function ei(t){return t!=null&&Xo.includes(t)}function ti(t){return t!=null&&Yo.includes(t)}function ri(t){return t!=null&&Jo.includes(t)}var Ec,qo,jo,Ko,Cc,_c,Xo,Yo,Jo,dn=m(()=>{"use strict";s();re();Ec=["sent"],qo=["success"],jo=["fail","cancelled","timedOut"],Ko=["invalid"],Cc=["timedOut"],_c=["pending"],Xo=["success"],Yo=["fail","invalid"],Jo=["not executed"]});var gn,mn,ae,ni,fn,Dc,Oc,Wc,Gc,Vc,Hc,zc,qc,jc,Kc,Xc,Me,Fe=m(()=>{"use strict";s();gn=require("@reduxjs/toolkit"),mn=require("redux-persist");re();dn();E();ae={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ni={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},fn=(0,gn.createSlice)({name:"transactionsSlice",initialState:ae,reducers:{moveTransactionsToSignedState:(t,e)=>{var g,f;let{sessionId:r,transactions:n,errorMessage:o,status:i,redirectRoute:a,customTransactionInformation:d}=e.payload;t.customTransactionInformationForSessionId[r]=h(h(h({},ni),((g=t.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),t.customTransactionInformationForSessionId[r]||{}),t.signedTransactions[r]={transactions:n,status:i,errorMessage:o,redirectRoute:a,customTransactionInformation:h(h({},t.customTransactionInformationForSessionId[r]),d!=null?d:{})},((f=t==null?void 0:t.transactionsToSign)==null?void 0:f.sessionId)===r&&(t.transactionsToSign=ae.transactionsToSign)},clearSignedTransaction:(t,e)=>{t.signedTransactions[e.payload]&&delete t.signedTransactions[e.payload]},clearTransactionToSign:t=>{t!=null&&t.transactionsToSign&&(t.transactionsToSign=null)},updateSignedTransaction:(t,e)=>{t.signedTransactions=h(h({},t.signedTransactions),e.payload)},updateSignedTransactions:(t,e)=>{let{sessionId:r,status:n,errorMessage:o,transactions:i}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].status=n,o!=null&&(t.signedTransactions[r].errorMessage=o),i!=null&&(t.signedTransactions[r].transactions=i))},updateSignedTransactionStatus:(t,e)=>{var f,T,y,A,b,M,ce,At;let{sessionId:r,status:n,errorMessage:o,transactionHash:i,serverTransaction:a,inTransit:d}=e.payload,g=(T=(f=t.signedTransactions)==null?void 0:f[r])==null?void 0:T.transactions;if(g!=null){t.signedTransactions[r].transactions=g.map(F=>F.hash===i?R(h(h({},a!=null?a:{}),F),{status:n,errorMessage:o,inTransit:d}):F);let zn=(A=(y=t.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:A.every(F=>ln(F.status)),qn=(M=(b=t.signedTransactions[r])==null?void 0:b.transactions)==null?void 0:M.some(F=>pn(F.status)),jn=(At=(ce=t.signedTransactions[r])==null?void 0:ce.transactions)==null?void 0:At.every(F=>un(F.status));zn&&(t.signedTransactions[r].status="success"),qn&&(t.signedTransactions[r].status="fail"),jn&&(t.signedTransactions[r].status="invalid")}},setTransactionsToSign:(t,e)=>{t.transactionsToSign=e.payload;let{sessionId:r,customTransactionInformation:n}=e.payload;t.customTransactionInformationForSessionId[r]=n,t.signTransactionsError=null},clearAllTransactionsToSign:t=>{t.transactionsToSign=ae.transactionsToSign,t.signTransactionsError=null},clearAllSignedTransactions:t=>{t.signedTransactions=ae.signedTransactions},setSignTransactionsError:(t,e)=>{t.signTransactionsError=e.payload},setSignTransactionsCancelMessage:(t,e)=>{t.signTransactionsCancelMessage=e.payload},updateSignedTransactionsCustomTransactionInformation:(t,e)=>{let{sessionId:r,customTransactionInformationOverrides:n}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].customTransactionInformation=h(h({},t.signedTransactions[r].customTransactionInformation),n))}},extraReducers:t=>{t.addCase(S,()=>ae),t.addCase(mn.REHYDRATE,(e,r)=>{var a;if(e.signTransactionsCancelMessage=null,!((a=r.payload)!=null&&a.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:o}=r.payload.transactions,i=Object.entries(n).reduce((d,[g,f])=>{let T=new Date(g),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(d[g]=f),d},{});o!=null&&(e.customTransactionInformationForSessionId=o),n!=null&&(e.signedTransactions=i)})}}),{updateSignedTransactionStatus:Dc,updateSignedTransactions:Oc,setTransactionsToSign:Wc,clearAllTransactionsToSign:Gc,clearAllSignedTransactions:Vc,clearSignedTransaction:Hc,clearTransactionToSign:zc,setSignTransactionsError:qc,setSignTransactionsCancelMessage:jc,moveTransactionsToSignedState:Kc,updateSignedTransactionsCustomTransactionInformation:Xc}=fn.actions,Me=fn.reducer});var yn,Tt,hn,$c,Qc,el,tl,Ue,De=m(()=>{"use strict";s();yn=require("@reduxjs/toolkit");E();Tt={},hn=(0,yn.createSlice)({name:"batchTransactionsSlice",initialState:Tt,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>Tt},extraReducers:t=>{t.addCase(S,()=>Tt)}}),{setBatchTransactions:$c,updateBatchTransactions:Qc,clearBatchTransactions:el,clearAllBatchTransactions:tl}=hn.actions,Ue=hn.reducer});var xn,Tn,Sn,il,wn,xt=m(()=>{"use strict";s();xn=require("@reduxjs/toolkit");E();Tn={},Sn=(0,xn.createSlice)({name:"dappConfigSlice",initialState:Tn,reducers:{setDappConfig:(t,e)=>e.payload},extraReducers:t=>{t.addCase(S,()=>Tn)}}),{setDappConfig:il}=Sn.actions,wn=Sn.reducer});var Oe=m(()=>{"use strict";s();be();ve();ke();Re();Ce();Ne();Be();Fe();De();xt()});var St=m(()=>{"use strict";s()});var vn,si,ci,j,Ve=m(()=>{"use strict";s();vn=require("@reduxjs/toolkit");St();be();De();xt();ve();ke();Re();Ce();Ne();Be();Fe();si={["account"]:we,["dappConfig"]:wn,["loginInfo"]:Ae,["modals"]:Ie,["networkConfig"]:Le,["signedMessageInfo"]:Ee,["toasts"]:_e,["transactionsInfo"]:Pe,["transactions"]:Me,["batchTransactions"]:Ue},ci=(t={})=>(0,vn.combineReducers)(h(h({},si),t)),j=ci});var Rn={};G(Rn,{default:()=>vi,sessionStorageReducers:()=>wt});function W(t,e=[]){return{key:t,version:1,storage:kn.default,blacklist:e}}var I,In,kn,li,se,pi,ui,di,gi,mi,fi,yi,hi,Ti,xi,Ln,Si,wt,wi,bi,Ai,vi,En=m(()=>{"use strict";s();I=require("redux-persist"),In=K(require("redux-persist/lib/storage")),kn=K(require("redux-persist/lib/storage/session"));Ve();Oe();be();De();ve();ke();Re();Ce();Ne();Be();Fe();St();li={persistReducersStorageType:"localStorage"},se={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},pi=W(se["account"]),ui=W(se["loginInfo"]),di=W(se["modals"]),gi=W(se["networkConfig"]),mi={2:t=>R(h({},t),{networkConfig:ft})};fi=W("sdk-dapp-transactionsInfo"),yi=W("sdk-dapp-transactions",["transactionsToSign"]),hi=W("sdk-dapp-batchTransactions",["batchTransactions"]),Ti=W("sdk-dapp-toasts"),xi=W("sdk-dapp-signedMessageInfo"),Ln={key:"sdk-dapp-store",version:2,storage:In.default,whitelist:Object.keys(se),migrate:(0,I.createMigrate)(mi,{debug:!1})},Si=R(h({},Ln),{whitelist:[]}),wt={["toasts"]:(0,I.persistReducer)(Ti,_e),["transactions"]:(0,I.persistReducer)(yi,Me),["transactionsInfo"]:(0,I.persistReducer)(fi,Pe),["batchTransactions"]:(0,I.persistReducer)(hi,Ue),["signedMessageInfo"]:(0,I.persistReducer)(xi,Ee)},wi=R(h({},wt),{["account"]:(0,I.persistReducer)(pi,we),["loginInfo"]:(0,I.persistReducer)(ui,Ae),["modals"]:(0,I.persistReducer)(di,Ie),["networkConfig"]:(0,I.persistReducer)(gi,Le)}),bi=li.persistReducersStorageType==="localStorage",Ai=bi?(0,I.persistReducer)(Ln,j(wt)):(0,I.persistReducer)(Si,j(wi)),vi=Ai});var Cn={};G(Cn,{default:()=>Ii});var Ii,_n=m(()=>{"use strict";s();Ve();Ii=j()});var Nn={};G(Nn,{default:()=>Li});var L,ki,Li,Pn=m(()=>{"use strict";s();L=require("redux-persist"),ki=[L.FLUSH,L.REHYDRATE,L.PAUSE,L.PERSIST,L.PURGE,L.REGISTER],Li=ki});var Fn={};G(Fn,{default:()=>Mn});function Mn(t){return(0,Bn.persistStore)(t)}var Bn,Un=m(()=>{"use strict";s();Bn=require("redux-persist")});var Ni={};G(Ni,{DappCoreContext:()=>ze,useDispatch:()=>Ci,useSelector:()=>_i,useStore:()=>Ei});module.exports=te(Ni);s();var Hn=require("react"),Q=require("react-redux");s();var bt=require("@reduxjs/toolkit"),Gn=require("react-redux/lib/utils/Subscription");Oe();s();var bn=K(require("lodash.throttle"));ye();Oe();mt();xe();ne();var oi=[fe],We=!1,ii=(0,bn.default)(()=>{ie(oe())},5e3),An=t=>e=>r=>{if(oi.includes(r.type))return e(r);let n=t.getState(),o=$.local.getItem(q.loginExpiresAt);if(!Boolean(n==null?void 0:n.account.address))return e(r);if(o==null)return ie(oe());let a=Date.now();return o-a<0&&!We?setTimeout(()=>{We=!0,t.dispatch(Wr())},1e3):(We&&(We=!1),ii()),e(r)};s();s();function Ge(){return typeof sessionStorage!="undefined"}var Dn=Ge()?(En(),te(Rn)).default:(_n(),te(Cn)).default,On=Ge()?(Pn(),te(Nn)).default:[],Wn=Ge()?(Un(),te(Fn)).default:t=>t;Ve();var He=(0,bt.configureStore)({reducer:Dn,middleware:t=>t({serializableCheck:{ignoredActions:[...On,Fr.type,Mr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(An)}),Vn=(0,Gn.createSubscription)(He),np=Wn(He),op=(0,bt.configureStore)({reducer:j});var Ri={store:He,subscription:Vn},ze=(0,Hn.createContext)(Ri),Ei=(0,Q.createStoreHook)(ze),Ci=(0,Q.createDispatchHook)(ze),_i=(0,Q.createSelectorHook)(ze);0&&(module.exports={DappCoreContext,useDispatch,useSelector,useStore});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ye=Object.create;var M=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var Je=Object.getOwnPropertyNames,le=Object.getOwnPropertySymbols,Ze=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var pe=(t,e,r)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,G=(t,e)=>{for(var r in e||(e={}))ue.call(e,r)&&pe(t,r,e[r]);if(le)for(var r of le(e))Qe.call(e,r)&&pe(t,r,e[r]);return t};var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),er=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},de=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Je(e))!ue.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Ke(e,i))||n.enumerable});return t};var ge=(t,e,r)=>(r=t!=null?Ye(Ze(t)):{},de(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),rr=t=>de(M({},"__esModule",{value:!0}),t);var he=W(V=>{"use strict";c();V.byteLength=nr;V.toByteArray=or;V.fromByteArray=cr;var k=[],T=[],tr=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,fe=j.length;N<fe;++N)k[N]=j[N],T[j.charCodeAt(N)]=N;var N,fe;T["-".charCodeAt(0)]=62;T["_".charCodeAt(0)]=63;function me(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function nr(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ir(t,e,r){return(e+r)*3/4-r}function or(t){var e,r=me(t),n=r[0],i=r[1],o=new tr(ir(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=T[t.charCodeAt(p)]<<18|T[t.charCodeAt(p+1)]<<12|T[t.charCodeAt(p+2)]<<6|T[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=T[t.charCodeAt(p)]<<2|T[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=T[t.charCodeAt(p)]<<10|T[t.charCodeAt(p+1)]<<4|T[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function ar(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function sr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ar(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(sr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ye=W(X=>{c();X.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,b=t[e+u];for(u+=v,o=b&(1<<-g)-1,b>>=-g,g+=l;g>0;o=o*256+t[e+u],u+=v,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=v,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(b?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,e,r,n,i,o){var a,l,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,B=n?1:-1,Xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(l=0,a=g):a+u>=1?(l=(e*p-1)*Math.pow(2,i),a=a+u):(l=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=l&255,b+=B,l/=256,i-=8);for(a=a<<i|l,d+=i;d>0;t[r+b]=a&255,b+=B,a/=256,d-=8);t[r+b-B]|=Xe*128}});var Ee=W(D=>{"use strict";c();var Y=he(),U=ye(),xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=fr;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=lr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function lr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function I(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return Te(t,e,r)}s.poolSize=8192;function Te(t,e,r){if(typeof t=="string")return ur(t,e);if(ArrayBuffer.isView(t))return dr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return J(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=gr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Te(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pr(t,e,r){return ve(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return pr(t,e,r)};function Q(t){return ve(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function ur(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ke(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function dr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function J(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function gr(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ke(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Le(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ke;function mr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return _r(this,e,r);case"utf8":case"utf-8":return _e(this,e,r);case"ascii":return kr(this,e,r);case"latin1":case"binary":return Ar(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?_e(this,0,e):mr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};xe&&(s.prototype[xe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],l=g[u];break}return a<l?-1:l<a?1:0};function Ae(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:we(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):we(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function we(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(b,B){return o===1?b[B]:b.readUInt16BE(B*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+l>a&&(r=a-l),d=r;d>=0;d--){for(var u=!0,v=0;v<l;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Ae(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Ae(this,e,r,n,!1)};function hr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(ee(l))return a;t[r+a]=l}return a}function yr(t,e,r,n){return q(Z(e,t.length-r),t,r,n)}function xr(t,e,r,n){return q(Lr(e),t,r,n)}function wr(t,e,r,n){return q(Le(e),t,r,n)}function br(t,e,r,n){return q(Er(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return hr(this,e,r,n);case"utf8":case"utf-8":return yr(this,e,r,n);case"ascii":case"latin1":case"binary":return xr(this,e,r,n);case"base64":return wr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function _e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,d,g,u;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return vr(n)}var be=4096;function vr(t){var e=t.length;if(e<=be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=be));return r}function kr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Ar(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function _r(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Nr[t[o]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Re(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Se(t,e,r,n,i){return e=+e,r=r>>>0,i||Re(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Se(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Se(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||Re(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Sr=/[^+/0-9A-Za-z-_]/g;function Ir(t){if(t=t.split("=")[0],t=t.trim().replace(Sr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Er(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Le(t){return Y.toByteArray(Ir(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Nr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ue=W((qr,Be)=>{c();var y=Be.exports={},_,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function Ne(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Cr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],O=!1,F,z=-1;function Fr(){!O||!F||(O=!1,F.length?L=F.concat(L):z=-1,L.length&&Ce())}function Ce(){if(!O){var t=Ne(Fr);O=!0;for(var e=L.length;e;){for(F=L,L=[];++z<e;)F&&F[z].run();z=-1,e=L.length}F=null,O=!1,Cr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Fe(t,e)),L.length===1&&!O&&Ne(Ce)};function Fe(t,e){this.fun=t,this.array=e}Fe.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,m,zr,c=$e(()=>{f=ge(Ee()),m=ge(Ue()),zr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Mr={};er(Mr,{batchTransactionsSlice:()=>ce,clearAllBatchTransactions:()=>Or,clearBatchTransactions:()=>Dr,default:()=>Pr,setBatchTransactions:()=>Br,updateBatchTransactions:()=>Ur});module.exports=rr(Mr);c();var je=require("@reduxjs/toolkit");c();var ae=require("@reduxjs/toolkit");c();c();c();c();c();c();c();c();c();c();c();c();c();c();c();var ne=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),P=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var De=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(De||{}),nt=G(G({},P.CrossWindowProviderRequestEnums),De),Oe=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Oe||{}),it=G(G({},P.CrossWindowProviderResponseEnums),Oe);c();c();c();c();c();c();var ie={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Pe,egldLabel:Tt}=ie["devnet"],{chainId:Me,egldLabel:vt}=ie["testnet"],{chainId:Ge,egldLabel:kt}=ie["mainnet"];var At={["devnet"]:Pe,["testnet"]:Me,["mainnet"]:Ge},_t={[Pe]:"devnet",[Me]:"testnet",[Ge]:"mainnet"};c();c();var S=require("@multiversx/sdk-web-wallet-provider");c();var We,Ve,oe=String((Ve=(We=ne.safeWindow)==null?void 0:We.navigator)==null?void 0:Ve.userAgent),Et=/^((?!chrome|android).)*safari/i.test(oe),Nt=/firefox/i.test(oe)&&/windows/i.test(oe);var He="logout",qe="login";var ze=(0,ae.createAction)(He),jt=(0,ae.createAction)(qe,t=>({payload:t}));var se={},ce=(0,je.createSlice)({name:"batchTransactionsSlice",initialState:se,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>se},extraReducers:t=>{t.addCase(ze,()=>se)}}),{setBatchTransactions:Br,updateBatchTransactions:Ur,clearBatchTransactions:Dr,clearAllBatchTransactions:Or}=ce.actions,Pr=ce.reducer;0&&(module.exports={batchTransactionsSlice,clearAllBatchTransactions,clearBatchTransactions,setBatchTransactions,updateBatchTransactions});
|
|
1
|
+
"use strict";var Ye=Object.create;var M=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var Je=Object.getOwnPropertyNames,ce=Object.getOwnPropertySymbols,Ze=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var pe=(t,e,r)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,G=(t,e)=>{for(var r in e||(e={}))ue.call(e,r)&&pe(t,r,e[r]);if(ce)for(var r of ce(e))Qe.call(e,r)&&pe(t,r,e[r]);return t};var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),er=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},de=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Je(e))!ue.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Ke(e,i))||n.enumerable});return t};var ge=(t,e,r)=>(r=t!=null?Ye(Ze(t)):{},de(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),rr=t=>de(M({},"__esModule",{value:!0}),t);var he=W(V=>{"use strict";l();V.byteLength=nr;V.toByteArray=or;V.fromByteArray=lr;var k=[],T=[],tr=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,fe=j.length;N<fe;++N)k[N]=j[N],T[j.charCodeAt(N)]=N;var N,fe;T["-".charCodeAt(0)]=62;T["_".charCodeAt(0)]=63;function me(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function nr(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ir(t,e,r){return(e+r)*3/4-r}function or(t){var e,r=me(t),n=r[0],i=r[1],o=new tr(ir(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=T[t.charCodeAt(p)]<<18|T[t.charCodeAt(p+1)]<<12|T[t.charCodeAt(p+2)]<<6|T[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=T[t.charCodeAt(p)]<<2|T[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=T[t.charCodeAt(p)]<<10|T[t.charCodeAt(p+1)]<<4|T[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function ar(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function sr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ar(n));return i.join("")}function lr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(sr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ye=W(X=>{l();X.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,b=t[e+u];for(u+=v,o=b&(1<<-g)-1,b>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=v,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=v,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(b?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,B=n?1:-1,Xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=B,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=B,a/=256,d-=8);t[r+b-B]|=Xe*128}});var Ee=W(D=>{"use strict";l();var Y=he(),U=ye(),xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=fr;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=cr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function cr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function I(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return Te(t,e,r)}s.poolSize=8192;function Te(t,e,r){if(typeof t=="string")return ur(t,e);if(ArrayBuffer.isView(t))return dr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return J(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=gr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Te(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pr(t,e,r){return ve(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return pr(t,e,r)};function Q(t){return ve(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function ur(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ke(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function dr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function J(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function gr(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ke(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Le(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ke;function mr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return _r(this,e,r);case"utf8":case"utf-8":return _e(this,e,r);case"ascii":return kr(this,e,r);case"latin1":case"binary":return Ar(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?_e(this,0,e):mr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};xe&&(s.prototype[xe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function Ae(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:we(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):we(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function we(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,B){return o===1?b[B]:b.readUInt16BE(B*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,v=0;v<c;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Ae(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Ae(this,e,r,n,!1)};function hr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function yr(t,e,r,n){return q(Z(e,t.length-r),t,r,n)}function xr(t,e,r,n){return q(Lr(e),t,r,n)}function wr(t,e,r,n){return q(Le(e),t,r,n)}function br(t,e,r,n){return q(Er(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return hr(this,e,r,n);case"utf8":case"utf-8":return yr(this,e,r,n);case"ascii":case"latin1":case"binary":return xr(this,e,r,n);case"base64":return wr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function _e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return vr(n)}var be=4096;function vr(t){var e=t.length;if(e<=be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=be));return r}function kr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Ar(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function _r(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Nr[t[o]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Re(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Se(t,e,r,n,i){return e=+e,r=r>>>0,i||Re(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Se(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Se(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||Re(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Sr=/[^+/0-9A-Za-z-_]/g;function Ir(t){if(t=t.split("=")[0],t=t.trim().replace(Sr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Er(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Le(t){return Y.toByteArray(Ir(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Nr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ue=W((qr,Be)=>{l();var y=Be.exports={},_,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function Ne(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Cr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],O=!1,F,z=-1;function Fr(){!O||!F||(O=!1,F.length?L=F.concat(L):z=-1,L.length&&Ce())}function Ce(){if(!O){var t=Ne(Fr);O=!0;for(var e=L.length;e;){for(F=L,L=[];++z<e;)F&&F[z].run();z=-1,e=L.length}F=null,O=!1,Cr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Fe(t,e)),L.length===1&&!O&&Ne(Ce)};function Fe(t,e){this.fun=t,this.array=e}Fe.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,m,zr,l=$e(()=>{f=ge(Ee()),m=ge(Ue()),zr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Mr={};er(Mr,{batchTransactionsSlice:()=>le,clearAllBatchTransactions:()=>Or,clearBatchTransactions:()=>Dr,default:()=>Pr,setBatchTransactions:()=>Br,updateBatchTransactions:()=>Ur});module.exports=rr(Mr);l();var je=require("@reduxjs/toolkit");l();var ae=require("@reduxjs/toolkit");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),P=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var De=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(De||{}),nt=G(G({},P.CrossWindowProviderRequestEnums),De),Oe=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Oe||{}),it=G(G({},P.CrossWindowProviderResponseEnums),Oe);l();l();l();l();l();l();var ie={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Pe,egldLabel:Tt}=ie["devnet"],{chainId:Me,egldLabel:vt}=ie["testnet"],{chainId:Ge,egldLabel:kt}=ie["mainnet"];var At={["devnet"]:Pe,["testnet"]:Me,["mainnet"]:Ge},_t={[Pe]:"devnet",[Me]:"testnet",[Ge]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();var We,Ve,oe=String((Ve=(We=ne.safeWindow)==null?void 0:We.navigator)==null?void 0:Ve.userAgent),Et=/^((?!chrome|android).)*safari/i.test(oe),Nt=/firefox/i.test(oe)&&/windows/i.test(oe);var He="logout",qe="login";var ze=(0,ae.createAction)(He),jt=(0,ae.createAction)(qe,t=>({payload:t}));var se={},le=(0,je.createSlice)({name:"batchTransactionsSlice",initialState:se,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>se},extraReducers:t=>{t.addCase(ze,()=>se)}}),{setBatchTransactions:Br,updateBatchTransactions:Ur,clearBatchTransactions:Dr,clearAllBatchTransactions:Or}=le.actions,Pr=le.reducer;0&&(module.exports={batchTransactionsSlice,clearAllBatchTransactions,clearBatchTransactions,setBatchTransactions,updateBatchTransactions});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|