@multiversx/sdk-dapp 4.2.1 → 4.2.3
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/CopyButton/CopyButton.js +1 -1
- package/UI/CopyButton/index.js +1 -1
- package/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/Pagination/Pagination.js +1 -1
- package/UI/Pagination/components/index.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
- package/UI/Pagination/helpers/getPagination/index.js +1 -1
- package/UI/Pagination/helpers/index.js +1 -1
- package/UI/Pagination/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode/TransactionDataDecode.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode/index.js +1 -1
- package/UI/TransactionData/components/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/Linkified/index.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/TransactionInfoHash/TransactionInfoHash.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-RRWTMIBI.js → chunk-242CJUR6.js} +2 -2
- package/__chunks__/{chunk-5N2YNRY3.js → chunk-2A35GSZR.js} +2 -2
- package/__chunks__/{chunk-ZS426J3D.js → chunk-2AAIALWN.js} +2 -2
- package/__chunks__/{chunk-MD6OEQ2D.js → chunk-2BRDJQFQ.js} +2 -2
- package/__chunks__/chunk-2CEXAXAE.js +2 -0
- package/__chunks__/{chunk-RDOTLBVF.js → chunk-2JSTPZ5D.js} +2 -2
- package/__chunks__/{chunk-WMKHNU4T.js → chunk-2KUT5MZ5.js} +2 -2
- package/__chunks__/{chunk-LM2X5J7S.js → chunk-2LEZNJ7P.js} +2 -2
- package/__chunks__/{chunk-CKE5UJXH.js → chunk-2MSJDOLX.js} +2 -2
- package/__chunks__/{chunk-EADX4RSQ.js → chunk-2VLZVH3I.js} +2 -2
- package/__chunks__/{chunk-MH4WWKIE.js → chunk-2XIINQWJ.js} +2 -2
- package/__chunks__/{chunk-T2GIBCBK.js → chunk-3DEE6PDH.js} +2 -2
- package/__chunks__/chunk-3KXYNLZK.js +2 -0
- package/__chunks__/{chunk-M6WPI6CC.js → chunk-3LAVGDDB.js} +2 -2
- package/__chunks__/chunk-3NNYBAR4.js +2 -0
- package/__chunks__/{chunk-64LOEOBB.js → chunk-3PL3MDJM.js} +2 -2
- package/__chunks__/{chunk-56X4QTMC.js → chunk-3QUSSTB6.js} +2 -2
- package/__chunks__/{chunk-YCHG4VXX.js → chunk-3RKKNHDY.js} +2 -2
- package/__chunks__/{chunk-M4AU77VN.js → chunk-3RRGCKXO.js} +2 -2
- package/__chunks__/{chunk-IHO2WP5U.js → chunk-3RZGMEDJ.js} +2 -2
- package/__chunks__/{chunk-7H3BR74A.js → chunk-3S56P67O.js} +2 -2
- package/__chunks__/{chunk-FYBPLGRA.js → chunk-3SG2CFO2.js} +2 -2
- package/__chunks__/{chunk-ECW7UB5F.js → chunk-3TM3IQNQ.js} +2 -2
- package/__chunks__/{chunk-NEZ3RF4Y.js → chunk-3UQUOKSH.js} +2 -2
- package/__chunks__/{chunk-EILRIH4X.js → chunk-3XGAP6F3.js} +2 -2
- package/__chunks__/{chunk-3G6DSWKM.js → chunk-3ZIAHDH5.js} +2 -2
- package/__chunks__/{chunk-KXKIEWNJ.js → chunk-477NUM3U.js} +2 -2
- package/__chunks__/chunk-4B4U6TLF.js +2 -0
- package/__chunks__/chunk-4BUROECY.js +2 -0
- package/__chunks__/{chunk-VEVQUFPS.js → chunk-4D4C3VWU.js} +2 -2
- package/__chunks__/chunk-4H7QFP32.js +2 -0
- package/__chunks__/{chunk-FKHMRQMX.js → chunk-4HQ7C6HV.js} +2 -2
- package/__chunks__/{chunk-YTJETXYW.js → chunk-4IH3PGIO.js} +2 -2
- package/__chunks__/{chunk-YQ7HWHIA.js → chunk-4JIC2C3M.js} +2 -2
- package/__chunks__/{chunk-IM3CLKAP.js → chunk-4TDJGFAB.js} +2 -2
- package/__chunks__/{chunk-DFJIVFKS.js → chunk-4UG3DULI.js} +2 -2
- package/__chunks__/{chunk-RNKUUHVC.js → chunk-4ZKGD7SC.js} +2 -2
- package/__chunks__/{chunk-IQBDRH6P.js → chunk-4ZRBLBZJ.js} +2 -2
- package/__chunks__/chunk-52KNFYBL.js +2 -0
- package/__chunks__/{chunk-RTP7T7AS.js → chunk-532HFZSI.js} +2 -2
- package/__chunks__/{chunk-M2UKB3C5.js → chunk-55262DQ2.js} +2 -2
- package/__chunks__/{chunk-VJNUI6MG.js → chunk-5726CQ4P.js} +2 -2
- package/__chunks__/{chunk-3R43SDWJ.js → chunk-57OZC7D7.js} +2 -2
- package/__chunks__/{chunk-44Q37HVJ.js → chunk-5CDXMBPJ.js} +2 -2
- package/__chunks__/{chunk-NX7YFRSI.js → chunk-5EKZOKOX.js} +2 -2
- package/__chunks__/{chunk-6YLMK3UC.js → chunk-5HBPP3NR.js} +2 -2
- package/__chunks__/chunk-5JQXLGTT.js +2 -0
- package/__chunks__/{chunk-EVQDKCMG.js → chunk-5KF2FF5Y.js} +2 -2
- package/__chunks__/{chunk-3HOANVSV.js → chunk-5VIVALTC.js} +2 -2
- package/__chunks__/chunk-5WMQYBEG.js +2 -0
- package/__chunks__/chunk-5YBLNHWF.js +2 -0
- package/__chunks__/{chunk-I6XFKGDN.js → chunk-5YLVIU7B.js} +2 -2
- package/__chunks__/{chunk-NAZBK3GN.js → chunk-62GS7625.js} +2 -2
- package/__chunks__/{chunk-LHNLSNQU.js → chunk-63NFPLU7.js} +2 -2
- package/__chunks__/{chunk-RBDMFF6E.js → chunk-65KDW3EF.js} +2 -2
- package/__chunks__/{chunk-F5WSCXFU.js → chunk-6DH3KWPU.js} +2 -2
- package/__chunks__/{chunk-CY2S7XTY.js → chunk-6MOCHGD5.js} +2 -2
- package/__chunks__/{chunk-L4Z3BQZW.js → chunk-6NTPCT3W.js} +2 -2
- package/__chunks__/{chunk-X3ZQ3THA.js → chunk-6O6SQMZU.js} +2 -2
- package/__chunks__/{chunk-D37HRXPV.js → chunk-6QUVE6WS.js} +2 -2
- package/__chunks__/chunk-6WCQBYVF.js +2 -0
- package/__chunks__/{chunk-OBP3JDOC.js → chunk-6X6BSM5V.js} +2 -2
- package/__chunks__/{chunk-7H4ULUPJ.js → chunk-6YCA3KB7.js} +2 -2
- package/__chunks__/{chunk-TP6J2ABW.js → chunk-72QZ7UGQ.js} +2 -2
- package/__chunks__/{chunk-DUTSLGBI.js → chunk-777APJL5.js} +2 -2
- package/__chunks__/{chunk-BIQ6OGQ3.js → chunk-7BP6OIQF.js} +2 -2
- package/__chunks__/{chunk-5FTSMKPK.js → chunk-7CZPDSGE.js} +2 -2
- package/__chunks__/{chunk-22PT6NA7.js → chunk-7JWC6XZR.js} +2 -2
- package/__chunks__/{chunk-7XXM6L2L.js → chunk-7KXAHTDE.js} +2 -2
- package/__chunks__/chunk-7MPDVVDF.js +2 -0
- package/__chunks__/{chunk-JNVJFHUY.js → chunk-7VS667FW.js} +2 -2
- package/__chunks__/{chunk-YMDYOELW.js → chunk-7YS5H53I.js} +2 -2
- package/__chunks__/{chunk-KIMHZJPO.js → chunk-A435EVZJ.js} +2 -2
- package/__chunks__/{chunk-ZLE75TP7.js → chunk-A4IHPAQE.js} +2 -2
- package/__chunks__/chunk-A5KHTEEG.js +2 -0
- package/__chunks__/{chunk-LXIWPNJL.js → chunk-AA635XBD.js} +2 -2
- package/__chunks__/{chunk-J4MWQZGY.js → chunk-AFT25M44.js} +2 -2
- package/__chunks__/chunk-AKDCP4Z5.js +2 -0
- package/__chunks__/{chunk-LTZD7JAO.js → chunk-AKUXNBPC.js} +2 -2
- package/__chunks__/{chunk-5UV246GL.js → chunk-ALCKJUKQ.js} +2 -2
- package/__chunks__/{chunk-XQIVC3XR.js → chunk-AO23PQ7L.js} +2 -2
- package/__chunks__/{chunk-4LA5B4CE.js → chunk-ARPY4UXF.js} +2 -2
- package/__chunks__/{chunk-2KHNWHDK.js → chunk-AUQWY7L4.js} +2 -2
- package/__chunks__/{chunk-FIZIO6ZS.js → chunk-AZMT7E7M.js} +2 -2
- package/__chunks__/{chunk-36AXMBNU.js → chunk-B23EXDNI.js} +2 -2
- package/__chunks__/{chunk-RCWFHUJN.js → chunk-B5EQPJJ5.js} +2 -2
- package/__chunks__/{chunk-VCGMKRNB.js → chunk-B5R5MQQF.js} +2 -2
- package/__chunks__/{chunk-BDI3NBNL.js → chunk-B6MM5QAD.js} +2 -2
- package/__chunks__/{chunk-ICD6A2RX.js → chunk-BAGA6AIQ.js} +2 -2
- package/__chunks__/{chunk-MKHY5K5L.js → chunk-BIA4DCJJ.js} +2 -2
- package/__chunks__/{chunk-TM6MD7QW.js → chunk-BJGKFT37.js} +2 -2
- package/__chunks__/{chunk-3QMPE6B6.js → chunk-BRFJ6VVZ.js} +2 -2
- package/__chunks__/{chunk-4PYOCGXG.js → chunk-BSGJ2PO7.js} +2 -2
- package/__chunks__/{chunk-YX4HKRFQ.js → chunk-BVRY25MQ.js} +2 -2
- package/__chunks__/chunk-BXNKOVQV.js +2 -0
- package/__chunks__/{chunk-EXAOKOTU.js → chunk-BZ2JRNMB.js} +2 -2
- package/__chunks__/{chunk-P7CEQ4MB.js → chunk-C5T5IKW5.js} +2 -2
- package/__chunks__/chunk-C64A5PKW.js +2 -0
- package/__chunks__/{chunk-7GT4S2V6.js → chunk-C6E3B2NS.js} +2 -2
- package/__chunks__/{chunk-J72BS2NZ.js → chunk-C7X3EAOL.js} +2 -2
- package/__chunks__/{chunk-ZYHSGRBQ.js → chunk-CAZ5SKFI.js} +2 -2
- package/__chunks__/{chunk-PZ5BCJK6.js → chunk-CDLAQMNQ.js} +2 -2
- package/__chunks__/{chunk-3DXHKUPG.js → chunk-CJWT7GUT.js} +2 -2
- package/__chunks__/{chunk-5E7WNDIG.js → chunk-CP7EEONG.js} +2 -2
- package/__chunks__/{chunk-JUJLPMBE.js → chunk-CRGQ2KHM.js} +2 -2
- package/__chunks__/{chunk-E2TOO7O2.js → chunk-D3ZSPYMX.js} +2 -2
- package/__chunks__/{chunk-D26MKFO2.js → chunk-DEFRSBCY.js} +2 -2
- package/__chunks__/{chunk-YWMGWIUP.js → chunk-DMLDWFUW.js} +2 -2
- package/__chunks__/{chunk-4BWFNMDX.js → chunk-DNWWNDH5.js} +2 -2
- package/__chunks__/{chunk-2ESQZF2Q.js → chunk-DNYGMAKE.js} +2 -2
- package/__chunks__/{chunk-246SEHGN.js → chunk-DQYVUXSM.js} +2 -2
- package/__chunks__/{chunk-P76QWHGI.js → chunk-DSYQ43KC.js} +2 -2
- package/__chunks__/{chunk-EAZPPMA6.js → chunk-DVNFSDRK.js} +2 -2
- package/__chunks__/{chunk-7TLR4K2V.js → chunk-DWGVZFZF.js} +2 -2
- package/__chunks__/{chunk-5ATFRVJN.js → chunk-DWPQIHUF.js} +2 -2
- package/__chunks__/{chunk-PBPXQA2G.js → chunk-DX6ZH5RY.js} +2 -2
- package/__chunks__/{chunk-LJLRKGBK.js → chunk-EABVABIA.js} +2 -2
- package/__chunks__/{chunk-5AQRJMXO.js → chunk-ED7RVBG7.js} +2 -2
- package/__chunks__/{chunk-AMVYU7WI.js → chunk-EDVWNDPS.js} +2 -2
- package/__chunks__/{chunk-WTOC2FON.js → chunk-EIXYSJWB.js} +2 -2
- package/__chunks__/{chunk-2Y22XOCG.js → chunk-EMHICRRK.js} +2 -2
- package/__chunks__/{chunk-4UXTHYXU.js → chunk-EMI7LPW2.js} +2 -2
- package/__chunks__/{chunk-DLNLDLF7.js → chunk-EOZIJXR7.js} +2 -2
- package/__chunks__/{chunk-4I2APNV5.js → chunk-EPDNB4BC.js} +2 -2
- package/__chunks__/{chunk-NHZCNTWQ.js → chunk-EPYJB33O.js} +2 -2
- package/__chunks__/{chunk-VAC7YU5Q.js → chunk-EWKHXMGK.js} +2 -2
- package/__chunks__/{chunk-N4C77FVC.js → chunk-EYHRTJNZ.js} +2 -2
- package/__chunks__/{chunk-HKBNGR7Q.js → chunk-EZPGGROF.js} +2 -2
- package/__chunks__/{chunk-YPEQT7GI.js → chunk-F6F6VPKV.js} +2 -2
- package/__chunks__/chunk-FBEJ7MUO.js +2 -0
- package/__chunks__/chunk-FDBB4BNW.js +2 -0
- package/__chunks__/{chunk-TN72SUBG.js → chunk-FELZ2VV7.js} +2 -2
- package/__chunks__/{chunk-HXE6NLQ2.js → chunk-FEXBJFXF.js} +2 -2
- package/__chunks__/chunk-FGKIRLPF.js +2 -0
- package/__chunks__/{chunk-GDIHH5HK.js → chunk-FPTP67CR.js} +2 -2
- package/__chunks__/{chunk-5GOKSAGH.js → chunk-FQGT3YF6.js} +2 -2
- package/__chunks__/{chunk-XPJVGDHL.js → chunk-FRS4T3C4.js} +2 -2
- package/__chunks__/{chunk-6AXGBJH4.js → chunk-FTSXWCDC.js} +2 -2
- package/__chunks__/{chunk-NW6NNISJ.js → chunk-FYXQ53XP.js} +2 -2
- package/__chunks__/chunk-G74QR67S.js +2 -0
- package/__chunks__/chunk-GARHCMQR.js +2 -0
- package/__chunks__/{chunk-RVL37TYX.js → chunk-GFRTWV7P.js} +2 -2
- package/__chunks__/{chunk-2SGFIWGZ.js → chunk-GIP6O6JD.js} +2 -2
- package/__chunks__/{chunk-MAAACFTW.js → chunk-GISIHXS4.js} +2 -2
- package/__chunks__/{chunk-PCAPVGX3.js → chunk-GN5R5HKZ.js} +2 -2
- package/__chunks__/{chunk-PFYMT3RI.js → chunk-GXUC46CH.js} +2 -2
- package/__chunks__/chunk-GZXCPZRM.js +2 -0
- package/__chunks__/{chunk-EHVBLSNJ.js → chunk-H24EV5J7.js} +2 -2
- package/__chunks__/{chunk-62M65B2P.js → chunk-H2LLST74.js} +2 -2
- package/__chunks__/{chunk-AQR7KYKE.js → chunk-HBPREG4S.js} +2 -2
- package/__chunks__/chunk-HEFM6TZA.js +2 -0
- package/__chunks__/chunk-HEOKCABE.js +2 -0
- package/__chunks__/{chunk-LHWB2X4A.js → chunk-HKWKPJHM.js} +2 -2
- package/__chunks__/{chunk-ICG3XO37.js → chunk-HRVS4S4Z.js} +2 -2
- package/__chunks__/{chunk-EDHR3GMD.js → chunk-HSLWVMJ4.js} +2 -2
- package/__chunks__/{chunk-QKTDH42S.js → chunk-HTUBVWSA.js} +2 -2
- package/__chunks__/{chunk-ZTAS6YWX.js → chunk-HVDLYVLU.js} +2 -2
- package/__chunks__/{chunk-T4NWU3CB.js → chunk-HWBJDXBQ.js} +2 -2
- package/__chunks__/{chunk-JE7EFQMY.js → chunk-HWFEESVS.js} +2 -2
- package/__chunks__/{chunk-VQJBHZGL.js → chunk-HWKCA6LC.js} +2 -2
- package/__chunks__/{chunk-X6CX6GXN.js → chunk-HXGBHMYD.js} +2 -2
- package/__chunks__/{chunk-L5QWHVTL.js → chunk-HXYW3WRC.js} +2 -2
- package/__chunks__/{chunk-TQXF6T7J.js → chunk-HY2K2QFX.js} +2 -2
- package/__chunks__/{chunk-L7NSUPS6.js → chunk-HZAZM33R.js} +2 -2
- package/__chunks__/{chunk-V7ZDSJTI.js → chunk-I2S2NFBL.js} +2 -2
- package/__chunks__/chunk-I36IFK5J.js +2 -0
- package/__chunks__/{chunk-GSBAEY3W.js → chunk-I4T5U7S5.js} +2 -2
- package/__chunks__/{chunk-A2M2VFBY.js → chunk-I5ZN7EGX.js} +2 -2
- package/__chunks__/{chunk-3QHJV2VI.js → chunk-I7DQGMFK.js} +2 -2
- package/__chunks__/{chunk-MOZNHFBB.js → chunk-IBYLVRHS.js} +2 -2
- package/__chunks__/{chunk-OA6OND4Y.js → chunk-IC3YFVKX.js} +2 -2
- package/__chunks__/chunk-IDYBQVSU.js +2 -0
- package/__chunks__/chunk-IGOSG6FO.js +2 -0
- package/__chunks__/{chunk-44AVIBLJ.js → chunk-ILU3DBNS.js} +2 -2
- package/__chunks__/chunk-IQJJ526U.js +2 -0
- package/__chunks__/{chunk-KEZQJXFV.js → chunk-ITT3WMEV.js} +2 -2
- package/__chunks__/chunk-IVWKEGZD.js +2 -0
- package/__chunks__/{chunk-4FXLLH3L.js → chunk-IW6ABH2I.js} +2 -2
- package/__chunks__/chunk-J7Q73Y4V.js +2 -0
- package/__chunks__/{chunk-5MALZKZK.js → chunk-JAFNILFG.js} +2 -2
- package/__chunks__/chunk-JDGRTGWL.js +2 -0
- package/__chunks__/chunk-JGQO3IYF.js +2 -0
- package/__chunks__/{chunk-75VBNZAB.js → chunk-JIYXCHYX.js} +2 -2
- package/__chunks__/chunk-JLKYKCSN.js +2 -0
- package/__chunks__/chunk-JQ53BADJ.js +2 -0
- package/__chunks__/chunk-JUW7GXJF.js +2 -0
- package/__chunks__/{chunk-FBBLGMXR.js → chunk-JX5Y3ZIO.js} +2 -2
- package/__chunks__/chunk-JZBGAPJR.js +2 -0
- package/__chunks__/{chunk-2PYRCFCQ.js → chunk-K6U7MBQO.js} +2 -2
- package/__chunks__/{chunk-PDFJN6WP.js → chunk-KAAZLV7W.js} +2 -2
- package/__chunks__/{chunk-4OP4Z6I6.js → chunk-KBBVEDM5.js} +2 -2
- package/__chunks__/{chunk-FXVDSQXK.js → chunk-KBPYTTIO.js} +2 -2
- package/__chunks__/{chunk-7RPKDJ5Z.js → chunk-KDIDLBRX.js} +2 -2
- package/__chunks__/chunk-KEKIJOPE.js +2 -0
- package/__chunks__/chunk-KFFRSEAE.js +2 -0
- package/__chunks__/chunk-KTZAMM4J.js +2 -0
- package/__chunks__/{chunk-LVTOOTPF.js → chunk-KVZHA7V5.js} +2 -2
- package/__chunks__/{chunk-G43AFLNO.js → chunk-KZRFY5LH.js} +2 -2
- package/__chunks__/chunk-LBI2QHIC.js +2 -0
- package/__chunks__/{chunk-2OXGDYFE.js → chunk-LC3ST64P.js} +2 -2
- package/__chunks__/{chunk-Y6WYF4XK.js → chunk-LGL2JKVZ.js} +2 -2
- package/__chunks__/chunk-LITJR4IX.js +2 -0
- package/__chunks__/{chunk-HSLIIOKJ.js → chunk-LJOIVUJD.js} +2 -2
- package/__chunks__/{chunk-PGGJ62LE.js → chunk-LLX6H3UV.js} +2 -2
- package/__chunks__/{chunk-P6XLFBZ5.js → chunk-LSSXOVRE.js} +2 -2
- package/__chunks__/{chunk-JPOLLVPV.js → chunk-LWQHAZ7E.js} +2 -2
- package/__chunks__/{chunk-4F4KSSIL.js → chunk-LX6S6HNC.js} +2 -2
- package/__chunks__/{chunk-RGVMK6C6.js → chunk-LYDWQJ5P.js} +2 -2
- package/__chunks__/{chunk-2JKVGBE6.js → chunk-MANDDFQY.js} +2 -2
- package/__chunks__/{chunk-WGA6FNGN.js → chunk-MAUJ5UTG.js} +2 -2
- package/__chunks__/chunk-MBI6VDV3.js +2 -0
- package/__chunks__/{chunk-GFQF6IHJ.js → chunk-MC3XVJOQ.js} +2 -2
- package/__chunks__/chunk-MC63KUID.js +2 -0
- package/__chunks__/{chunk-DV275NBI.js → chunk-MHCHGTSP.js} +2 -2
- package/__chunks__/{chunk-6JAZNLQP.js → chunk-MINDLNCW.js} +2 -2
- package/__chunks__/chunk-MJDDTRII.js +2 -0
- package/__chunks__/{chunk-X246ANSJ.js → chunk-MLD7FQRY.js} +2 -2
- package/__chunks__/{chunk-OLPSFO4K.js → chunk-MRMOYPUQ.js} +2 -2
- package/__chunks__/chunk-N32MM5M3.js +2 -0
- package/__chunks__/{chunk-Y2TJIVHS.js → chunk-N3KCMZJ3.js} +2 -2
- package/__chunks__/{chunk-4OOQBZRK.js → chunk-NGIUEP6P.js} +2 -2
- package/__chunks__/{chunk-PPVI5H5Y.js → chunk-NH26LROD.js} +2 -2
- package/__chunks__/chunk-NIRMGV2J.js +2 -0
- package/__chunks__/{chunk-Y72LY7C5.js → chunk-NL7VHCIM.js} +2 -2
- package/__chunks__/{chunk-76CU64CP.js → chunk-NLQQ6U4B.js} +2 -2
- package/__chunks__/{chunk-HERDTTOE.js → chunk-NMMQZSX2.js} +2 -2
- package/__chunks__/{chunk-EYN23AB4.js → chunk-NP3IVGAX.js} +2 -2
- package/__chunks__/{chunk-LCW2GIUZ.js → chunk-NPG2FF6T.js} +2 -2
- package/__chunks__/{chunk-FXDEJQ7G.js → chunk-NSSHIAWM.js} +2 -2
- package/__chunks__/{chunk-TNUPMR6F.js → chunk-O245T2HR.js} +2 -2
- package/__chunks__/chunk-O6HNLAAX.js +2 -0
- package/__chunks__/{chunk-E4E22VIL.js → chunk-O7UIFSVF.js} +2 -2
- package/__chunks__/{chunk-LNWN32Y5.js → chunk-OEZR3HBU.js} +2 -2
- package/__chunks__/{chunk-AZRBHZKN.js → chunk-OHSFIJ4R.js} +2 -2
- package/__chunks__/chunk-OKYUAN2G.js +2 -0
- package/__chunks__/{chunk-UA6UTHPC.js → chunk-OLXELT4A.js} +2 -2
- package/__chunks__/{chunk-X5B5O2NP.js → chunk-OQAMJGKT.js} +2 -2
- package/__chunks__/{chunk-R5KYO4GC.js → chunk-OR6NJ6W4.js} +2 -2
- package/__chunks__/chunk-OSD627KI.js +2 -0
- package/__chunks__/{chunk-GJVPDJAP.js → chunk-OSJIBHLT.js} +2 -2
- package/__chunks__/{chunk-BNPU5SDJ.js → chunk-OW7Y2O7T.js} +2 -2
- package/__chunks__/{chunk-SJWVYQT3.js → chunk-P3F6Z2PW.js} +2 -2
- package/__chunks__/{chunk-KBCXYFOT.js → chunk-P4TDBATP.js} +2 -2
- package/__chunks__/chunk-P5UKMHMI.js +2 -0
- package/__chunks__/{chunk-7ATGSBHG.js → chunk-P5UTD7RO.js} +2 -2
- package/__chunks__/{chunk-56WM7K52.js → chunk-P6MQR7L3.js} +2 -2
- package/__chunks__/{chunk-2TXWSZWW.js → chunk-P6YRKYPP.js} +2 -2
- package/__chunks__/{chunk-VGUJJYVO.js → chunk-PCTAN22W.js} +2 -2
- package/__chunks__/{chunk-YGOA44Q7.js → chunk-PLUO3C2O.js} +2 -2
- package/__chunks__/chunk-PQZ23AED.js +2 -0
- package/__chunks__/{chunk-6NLVMNUD.js → chunk-PRHH63KO.js} +2 -2
- package/__chunks__/{chunk-3TSJUXNP.js → chunk-PS45HP2Y.js} +2 -2
- package/__chunks__/{chunk-EV7FOZVK.js → chunk-PSDPEZ2M.js} +2 -2
- package/__chunks__/{chunk-3HBOCZWQ.js → chunk-PVAFRFU7.js} +2 -2
- package/__chunks__/{chunk-MK4NDZQ7.js → chunk-PVTSAR6C.js} +2 -2
- package/__chunks__/{chunk-RSPJ2JAK.js → chunk-Q4OZKY2O.js} +2 -2
- package/__chunks__/{chunk-NDGTRYOP.js → chunk-Q6E3BQK2.js} +2 -2
- package/__chunks__/{chunk-AFUI24NN.js → chunk-Q6GKGEEA.js} +2 -2
- package/__chunks__/{chunk-M3LCFBMH.js → chunk-Q6QZGZZ5.js} +2 -2
- package/__chunks__/{chunk-HUJSFBIM.js → chunk-QAFMVLVK.js} +2 -2
- package/__chunks__/{chunk-ALNUI254.js → chunk-QAI3LFAC.js} +2 -2
- package/__chunks__/{chunk-MIGM4ROB.js → chunk-QD6E6E53.js} +2 -2
- package/__chunks__/{chunk-53KTGHH2.js → chunk-QDOXKVYD.js} +2 -2
- package/__chunks__/chunk-QH5BX7L6.js +2 -0
- package/__chunks__/{chunk-UYPYL6CD.js → chunk-QHDY6CQE.js} +2 -2
- package/__chunks__/chunk-QJDNPNQR.js +2 -0
- package/__chunks__/{chunk-ZTVGUU2U.js → chunk-QKRXCPON.js} +2 -2
- package/__chunks__/{chunk-2QXU5RRK.js → chunk-QMVRQULY.js} +2 -2
- package/__chunks__/{chunk-44P3IBWY.js → chunk-QNGDUQSN.js} +2 -2
- package/__chunks__/{chunk-E3V2ICD3.js → chunk-QOEUI5RG.js} +2 -2
- package/__chunks__/{chunk-CFAIVCUS.js → chunk-QON3PPGY.js} +2 -2
- package/__chunks__/{chunk-WVGL6RB3.js → chunk-QQ5DM7Y5.js} +2 -2
- package/__chunks__/{chunk-VAA3NKK5.js → chunk-QXU4PTHU.js} +1 -1
- package/__chunks__/{chunk-DS2W7H3Y.js → chunk-QYL6DOTM.js} +2 -2
- package/__chunks__/chunk-QYXDTGKM.js +2 -0
- package/__chunks__/chunk-R4A35O3P.js +2 -0
- package/__chunks__/{chunk-ZZBNCZS6.js → chunk-R66EXTYX.js} +2 -2
- package/__chunks__/{chunk-FL6IEO3I.js → chunk-RA2ZHW6F.js} +2 -2
- package/__chunks__/{chunk-PMHR4YNO.js → chunk-RAI44GSE.js} +2 -2
- package/__chunks__/{chunk-ZIQY6FYT.js → chunk-RCXLUOYD.js} +2 -2
- package/__chunks__/{chunk-T6OLACWP.js → chunk-RFTARGNU.js} +2 -2
- package/__chunks__/{chunk-DAPDFYLY.js → chunk-RHK543DL.js} +2 -2
- package/__chunks__/{chunk-CMKVGSTT.js → chunk-RHLQG7UG.js} +2 -2
- package/__chunks__/{chunk-M6Y5XTW7.js → chunk-RI3AGJIX.js} +2 -2
- package/__chunks__/{chunk-DLFK5GXR.js → chunk-RIOJZJ2G.js} +2 -2
- package/__chunks__/{chunk-LXY4CTQG.js → chunk-RJX4CGCM.js} +2 -2
- package/__chunks__/{chunk-OSPS2MX3.js → chunk-RNPFJZCY.js} +2 -2
- package/__chunks__/{chunk-QAGNUTA2.js → chunk-RPTPB55O.js} +2 -2
- package/__chunks__/chunk-RQB72OQA.js +2 -0
- package/__chunks__/chunk-RQJLGI5S.js +2 -0
- package/__chunks__/{chunk-YAXIY67D.js → chunk-RTLI55H6.js} +2 -2
- package/__chunks__/{chunk-LZNHTYWB.js → chunk-RTWDLQ5G.js} +2 -2
- package/__chunks__/chunk-RXTIYUEP.js +2 -0
- package/__chunks__/{chunk-UAHQ2SO7.js → chunk-RYWUTGX5.js} +2 -2
- package/__chunks__/{chunk-UVQOWHSF.js → chunk-RZSB6MLX.js} +2 -2
- package/__chunks__/{chunk-PNPENM4X.js → chunk-S2XM3C6X.js} +2 -2
- package/__chunks__/{chunk-VQH4762S.js → chunk-S7TA34AP.js} +2 -2
- package/__chunks__/{chunk-4NEOVISX.js → chunk-SBPWVU3I.js} +2 -2
- package/__chunks__/{chunk-NAMMQBYM.js → chunk-SFBVL6WV.js} +2 -2
- package/__chunks__/{chunk-GL6S7JVA.js → chunk-SKAASQXQ.js} +2 -2
- package/__chunks__/chunk-SRTF4Y22.js +2 -0
- package/__chunks__/{chunk-C5MRLNFO.js → chunk-SUH5BOLV.js} +2 -2
- package/__chunks__/{chunk-KWQYQABF.js → chunk-SVL4RA3G.js} +2 -2
- package/__chunks__/{chunk-E424N6XF.js → chunk-T74KGF7Z.js} +2 -2
- package/__chunks__/{chunk-ZBR4KDPM.js → chunk-TB7OQ47G.js} +2 -2
- package/__chunks__/chunk-TG7HMQFF.js +2 -0
- package/__chunks__/{chunk-74UYR6LB.js → chunk-TGKHVPR3.js} +2 -2
- package/__chunks__/chunk-TI3UJZ3C.js +2 -0
- package/__chunks__/{chunk-DFOHKHT4.js → chunk-TPADIHLD.js} +2 -2
- package/__chunks__/{chunk-PD2I24Z7.js → chunk-TQFXVPA2.js} +2 -2
- package/__chunks__/{chunk-XLMVWIU5.js → chunk-TVLREG4W.js} +2 -2
- package/__chunks__/{chunk-KESMDRSX.js → chunk-U6CA3MQW.js} +2 -2
- package/__chunks__/{chunk-HUZ2SLMM.js → chunk-UDPZFXZN.js} +2 -2
- package/__chunks__/chunk-UFBTFMXX.js +2 -0
- package/__chunks__/{chunk-QOENYTMH.js → chunk-UFKNQ5AL.js} +2 -2
- package/__chunks__/{chunk-FASGOGVV.js → chunk-UKTRBAVX.js} +2 -2
- package/__chunks__/{chunk-GILBZ5N5.js → chunk-UNOJU6A6.js} +2 -2
- package/__chunks__/{chunk-KLATJCZB.js → chunk-UVPCMOMP.js} +2 -2
- package/__chunks__/{chunk-RFSDXWQQ.js → chunk-UY6JSGCH.js} +2 -2
- package/__chunks__/{chunk-Q5SVO3WR.js → chunk-V73354AM.js} +2 -2
- package/__chunks__/{chunk-BXRPYCNE.js → chunk-VA7FKW7S.js} +2 -2
- package/__chunks__/{chunk-CYS2IXO2.js → chunk-VASTIT6L.js} +2 -2
- package/__chunks__/{chunk-K4VM6FZ4.js → chunk-VCV7ZROC.js} +2 -2
- package/__chunks__/{chunk-6A7W2TXX.js → chunk-VDGWMDNA.js} +2 -2
- package/__chunks__/{chunk-N76K57VM.js → chunk-VEBHYBC6.js} +2 -2
- package/__chunks__/chunk-VI7QBYCT.js +2 -0
- package/__chunks__/{chunk-VNYQH2ON.js → chunk-VIVYX6FF.js} +2 -2
- package/__chunks__/{chunk-Z5QDKMS7.js → chunk-VLNXW72K.js} +2 -2
- package/__chunks__/{chunk-KUNHDU36.js → chunk-VMLX26MB.js} +2 -2
- package/__chunks__/{chunk-NTA37WQV.js → chunk-VMVVBCG7.js} +2 -2
- package/__chunks__/{chunk-WAQEGKZR.js → chunk-VNJ33NI6.js} +2 -2
- package/__chunks__/{chunk-IKW3DAWX.js → chunk-VTKTCTGA.js} +2 -2
- package/__chunks__/{chunk-A6YQKC67.js → chunk-VTZ25O2F.js} +2 -2
- package/__chunks__/{chunk-T5AVKKGO.js → chunk-W2DJZNLP.js} +2 -2
- package/__chunks__/chunk-W3P3O7UP.js +2 -0
- package/__chunks__/{chunk-OJPKJEWZ.js → chunk-W4XLHMUR.js} +2 -2
- package/__chunks__/{chunk-2WG2ZSS7.js → chunk-W52RV4NU.js} +2 -2
- package/__chunks__/chunk-W5YCFRWB.js +2 -0
- package/__chunks__/{chunk-TASLMLJ7.js → chunk-W7BJQQQH.js} +2 -2
- package/__chunks__/chunk-W7OEBOUI.js +2 -0
- package/__chunks__/{chunk-YVWKGYPC.js → chunk-WDM5FR2J.js} +2 -2
- package/__chunks__/{chunk-H6UT7BBH.js → chunk-WGK5PNIH.js} +2 -2
- package/__chunks__/{chunk-EH4XFZ3W.js → chunk-WINCYN7N.js} +2 -2
- package/__chunks__/{chunk-BBNBZJML.js → chunk-WJZM5J7G.js} +2 -2
- package/__chunks__/{chunk-OWU5LKYD.js → chunk-WKDFZDJ7.js} +2 -2
- package/__chunks__/{chunk-XI4DQOVR.js → chunk-WMTUIRUR.js} +2 -2
- package/__chunks__/{chunk-JOXFLKQW.js → chunk-WPXWVMHL.js} +2 -2
- package/__chunks__/{chunk-IBXN3OUH.js → chunk-WRTQXPPT.js} +2 -2
- package/__chunks__/chunk-WT4MNW3L.js +2 -0
- package/__chunks__/{chunk-VUQNWRKL.js → chunk-WTTKJ77Y.js} +2 -2
- package/__chunks__/{chunk-PV6CEGIJ.js → chunk-WURVMRB4.js} +2 -2
- package/__chunks__/chunk-X3QVIUJC.js +2 -0
- package/__chunks__/{chunk-EVMWZKPL.js → chunk-X7IRZILW.js} +2 -2
- package/__chunks__/chunk-XHJFHQNV.js +2 -0
- package/__chunks__/{chunk-KVEBZ64E.js → chunk-XJGZH377.js} +2 -2
- package/__chunks__/{chunk-KQMPAWOT.js → chunk-XL42WGIX.js} +2 -2
- package/__chunks__/chunk-XPJ2VZE6.js +2 -0
- package/__chunks__/chunk-XRRQGWJC.js +2 -0
- package/__chunks__/chunk-XS4FBMAJ.js +2 -0
- package/__chunks__/{chunk-TBU5R26G.js → chunk-XSXGHEFM.js} +2 -2
- package/__chunks__/{chunk-SFNPPJV7.js → chunk-XU3DELMD.js} +2 -2
- package/__chunks__/chunk-Y26CCIRN.js +2 -0
- package/__chunks__/chunk-Y2AZSMDD.js +2 -0
- package/__chunks__/chunk-Y3VZUWSW.js +2 -0
- package/__chunks__/{chunk-HX4PC472.js → chunk-Y5A6I4IN.js} +2 -2
- package/__chunks__/{chunk-6M6COMGR.js → chunk-Y67YELPX.js} +2 -2
- package/__chunks__/{chunk-WNPNT4Y7.js → chunk-YB74PTHG.js} +2 -2
- package/__chunks__/{chunk-NZL5SVFU.js → chunk-YDPRKDDZ.js} +2 -2
- package/__chunks__/{chunk-HUQIHTMA.js → chunk-YEBOHU6O.js} +2 -2
- package/__chunks__/{chunk-43WYWTGE.js → chunk-YGXQNLZV.js} +2 -2
- package/__chunks__/{chunk-5C7RNBQ2.js → chunk-YHGBLDCM.js} +2 -2
- package/__chunks__/{chunk-K3D2EAXQ.js → chunk-YLS6QKCU.js} +2 -2
- package/__chunks__/{chunk-IYGYW6W3.js → chunk-YNBOT4EO.js} +2 -2
- package/__chunks__/{chunk-3FIKWNRH.js → chunk-YPLINIJX.js} +2 -2
- package/__chunks__/{chunk-VHT7JIGD.js → chunk-YUCQBS4K.js} +2 -2
- package/__chunks__/{chunk-U2NRK2HN.js → chunk-ZAY442RT.js} +2 -2
- package/__chunks__/chunk-ZB2PG7MA.js +2 -0
- package/__chunks__/{chunk-Y3QVC5SN.js → chunk-ZBS5PFX5.js} +2 -2
- package/__chunks__/{chunk-BM2PLXVV.js → chunk-ZD6OPCYL.js} +2 -2
- package/__chunks__/{chunk-5XSBUUS2.js → chunk-ZKRG6BIT.js} +2 -2
- package/__chunks__/{chunk-TI6Y3EAY.js → chunk-ZLYTZLNR.js} +2 -2
- package/__chunks__/{chunk-ZTMYTCLL.js → chunk-ZLYXKNJ7.js} +2 -2
- package/__chunks__/{chunk-HVFGI23K.js → chunk-ZOLN42OL.js} +2 -2
- package/__chunks__/chunk-ZVLCXTYU.js +2 -0
- package/__chunks__/{chunk-3Y6PD4XA.js → chunk-ZW6IPY3H.js} +2 -2
- package/__chunks__/chunk-ZXLAV6FU.js +2 -0
- package/__chunks__/{chunk-DO75TFLG.js → chunk-ZYYQP3ZY.js} +2 -2
- package/__commonjs/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/__commonjs/UI/ExplorerLink/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +9 -9
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +17 -17
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +17 -17
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +3 -3
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +10 -10
- package/__commonjs/UI/TransactionsTable/components/AccountName.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +9 -9
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/index.js +11 -11
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +11 -11
- package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
- package/__commonjs/UI/Trim/Trim.js +2 -2
- package/__commonjs/UI/Trim/index.js +2 -2
- package/__commonjs/UI/index.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/index.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +7 -7
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +7 -7
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/__mocks__/index.js +4 -4
- package/__commonjs/__mocks__/utils/index.js +4 -4
- package/__commonjs/__mocks__/utils/renderWithProvider.js +4 -4
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/__commonjs/constants/index.js +1 -1
- package/__commonjs/hooks/index.js +2 -2
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +2 -2
- package/__commonjs/hooks/transactions/index.js +2 -2
- package/__commonjs/hooks/transactions/useCancelActionAndDispose.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +2 -2
- package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +3 -3
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +2 -2
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +2 -2
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/index.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/transactions/__tests__/transformAndSignTransactions.test.d.ts +2 -0
- package/__commonjs/services/transactions/__tests__/transformAndSignTransactions.test.js +9 -0
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.test.js +1 -1
- package/__commonjs/services/transactions/sendTransactions.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/services/transactions/transformAndSignTransactions.js +1 -1
- package/__commonjs/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +2 -0
- package/__commonjs/types/transactions.types.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/isInIframe.d.ts +2 -0
- package/__commonjs/utils/isInIframe.js +9 -0
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +2 -2
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +4 -4
- package/__commonjs/wrappers/DappProvider/index.js +4 -4
- package/__commonjs/wrappers/index.js +4 -4
- 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/getGasStationMetadata.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/tokens/getPersistedToken.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/helpers/clearInitiatedLogins.js +1 -1
- package/hooks/login/helpers/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelActionAndDispose.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/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/index.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/__tests__/transformAndSignTransactions.test.d.ts +2 -0
- package/services/transactions/__tests__/transformAndSignTransactions.test.js +2 -0
- 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/transactions.types.d.ts +2 -0
- package/types/transactions.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/isInIframe.d.ts +2 -0
- package/utils/isInIframe.js +2 -0
- 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-2DNMMRYQ.js +0 -2
- package/__chunks__/chunk-2IRDXMR2.js +0 -2
- package/__chunks__/chunk-2KD4AUMB.js +0 -2
- package/__chunks__/chunk-3VLZJ4LL.js +0 -2
- package/__chunks__/chunk-4K45KT23.js +0 -2
- package/__chunks__/chunk-4RVW6PHV.js +0 -2
- package/__chunks__/chunk-5GTOSBFA.js +0 -2
- package/__chunks__/chunk-5WG46JTB.js +0 -2
- package/__chunks__/chunk-63R6NB5K.js +0 -2
- package/__chunks__/chunk-6537K34X.js +0 -2
- package/__chunks__/chunk-6ICHTXOU.js +0 -2
- package/__chunks__/chunk-6OGLL5BA.js +0 -2
- package/__chunks__/chunk-75K7FDNK.js +0 -2
- package/__chunks__/chunk-7C44M3KB.js +0 -2
- package/__chunks__/chunk-7GJ3EFJN.js +0 -2
- package/__chunks__/chunk-AJJO2SZS.js +0 -2
- package/__chunks__/chunk-B2K3KOLI.js +0 -2
- package/__chunks__/chunk-B5EJPJU2.js +0 -2
- package/__chunks__/chunk-B6OXTV5K.js +0 -2
- package/__chunks__/chunk-BUBELTBX.js +0 -2
- package/__chunks__/chunk-C6OFSPUE.js +0 -2
- package/__chunks__/chunk-CEAKTVF4.js +0 -2
- package/__chunks__/chunk-CELNIW64.js +0 -2
- package/__chunks__/chunk-CHONGFFL.js +0 -2
- package/__chunks__/chunk-D2WAX7N2.js +0 -2
- package/__chunks__/chunk-DGQ2ZNQW.js +0 -2
- package/__chunks__/chunk-DVWOLYTA.js +0 -2
- package/__chunks__/chunk-E3SSYOOI.js +0 -2
- package/__chunks__/chunk-FDGD2GFX.js +0 -2
- package/__chunks__/chunk-FHGKEP36.js +0 -2
- package/__chunks__/chunk-GLEJGHC3.js +0 -2
- package/__chunks__/chunk-GRLDFM6I.js +0 -2
- package/__chunks__/chunk-HYYH4OSM.js +0 -2
- package/__chunks__/chunk-IJTEJ3WZ.js +0 -2
- package/__chunks__/chunk-IVVIPB7Y.js +0 -2
- package/__chunks__/chunk-J5ZQUITB.js +0 -2
- package/__chunks__/chunk-JCK2A535.js +0 -2
- package/__chunks__/chunk-K3GQUF5M.js +0 -2
- package/__chunks__/chunk-KJNLCSBS.js +0 -2
- package/__chunks__/chunk-KLVI4S4Z.js +0 -2
- package/__chunks__/chunk-KQQGV6EV.js +0 -2
- package/__chunks__/chunk-KUOPZGBP.js +0 -2
- package/__chunks__/chunk-LKOEYCL6.js +0 -2
- package/__chunks__/chunk-MF4NMH2N.js +0 -2
- package/__chunks__/chunk-MKL2D6SC.js +0 -2
- package/__chunks__/chunk-MQAWPX3D.js +0 -2
- package/__chunks__/chunk-MVM3B7JP.js +0 -2
- package/__chunks__/chunk-NAHMUAG3.js +0 -2
- package/__chunks__/chunk-NX7QGK7P.js +0 -2
- package/__chunks__/chunk-O65OQHVX.js +0 -2
- package/__chunks__/chunk-OFPY2FIF.js +0 -2
- package/__chunks__/chunk-OLRCWSRF.js +0 -2
- package/__chunks__/chunk-OMIEEJKJ.js +0 -2
- package/__chunks__/chunk-OREQKPKX.js +0 -2
- package/__chunks__/chunk-PCB4NQVY.js +0 -2
- package/__chunks__/chunk-Q333H6NI.js +0 -2
- package/__chunks__/chunk-QBINCPM6.js +0 -2
- package/__chunks__/chunk-QKOJ53W6.js +0 -2
- package/__chunks__/chunk-R6ZI37PK.js +0 -2
- package/__chunks__/chunk-RFP27C6N.js +0 -2
- package/__chunks__/chunk-RM73MLS3.js +0 -2
- package/__chunks__/chunk-TDLMCYW4.js +0 -2
- package/__chunks__/chunk-TE5O4DV3.js +0 -2
- package/__chunks__/chunk-TGUV6Z7I.js +0 -2
- package/__chunks__/chunk-VI2CK6WZ.js +0 -2
- package/__chunks__/chunk-W5FZEUTK.js +0 -2
- package/__chunks__/chunk-WDENMWK2.js +0 -2
- package/__chunks__/chunk-WO6DKR7Q.js +0 -2
- package/__chunks__/chunk-XAB5UUOW.js +0 -2
- package/__chunks__/chunk-XHNCZX5O.js +0 -2
- package/__chunks__/chunk-XU5464GZ.js +0 -2
- package/__chunks__/chunk-YVAJQZQH.js +0 -2
- package/__chunks__/chunk-ZIG4UK4W.js +0 -2
- package/__chunks__/chunk-ZQBZFMHS.js +0 -2
- package/__chunks__/chunk-ZRJYULXB.js +0 -2
- package/__chunks__/chunk-ZUDC4NYN.js +0 -2
- package/__chunks__/chunk-ZYKZPNSD.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Mr=Object.create;var M=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Wr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))qr.call(r,e)&&ir(t,e,r[e]);return t};var Or=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Vr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},or=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var sr=(t,r,e)=>(e=t!=null?Mr(Hr(t)):{},or(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Yr=t=>or(M({},"__esModule",{value:!0}),t);var lr=H(q=>{"use strict";l();q.byteLength=Xr;q.toByteArray=jr;q.fromByteArray=Zr;var k=[],v=[],zr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=z.length;E<pr;++E)k[E]=z[E],v[z.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Xr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new zr(Jr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Kr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Kr(n));return i.join("")}function Zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(Qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=H(X=>{l();X.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,r,e,n,i,a){var o,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Pr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=f?(p=0,o=f):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(o=o<<i|p,d+=i;d>0;t[e+T]=o&255,T+=_,o/=256,d-=8);t[e+T-_]|=Pr*128}});var Ir=H(U=>{"use strict";l();var J=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=ie;U.INSPECT_MAX_BYTES=50;var O=2147483647;U.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=$r();!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 $r(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(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 S(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return hr(t,r,e)}s.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return ee(t,r);if(ArrayBuffer.isView(t))return te(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ne(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function mr(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 re(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}s.alloc=function(t,r,e){return re(t,r,e)};function Z(t){return mr(t),S(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ee(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=xr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:$(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function te(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return j(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ne(t){if(s.isBuffer(t)){var r=$(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||rr(t.length)?S(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function $(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function ie(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function xr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=xr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return he(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return fe(this,r,e);case"latin1":case"binary":return ge(this,r,e);case"base64":return ce(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ae.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){o=d[c],p=f[c];break}return o<p?-1:p<o?1:0};function yr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,rr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<o;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>o&&(e=o-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return yr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return yr(this,r,e,n,!1)};function oe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(rr(p))return o;t[e+o]=p}return o}function se(t,r,e,n){return V(Q(r,t.length-e),t,e,n)}function pe(t,r,e,n){return V(we(r),t,e,n)}function ue(t,r,e,n){return V(kr(r),t,e,n)}function le(t,r,e,n){return V(Te(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return oe(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ue(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ce(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return de(n)}var gr=4096;function de(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ge(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function he(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ve[t[a]];return i}function me(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var xe=/[^+/0-9A-Za-z-_]/g;function ye(t){if(t=t.split("=")[0],t=t.trim().replace(xe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function we(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Te(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return J.toByteArray(ye(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function rr(t){return t!==t}var ve=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=H((Ce,Br)=>{l();var g=Br.exports={},F,A;function er(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=er}catch(t){F=er}try{typeof clearTimeout=="function"?A=clearTimeout:A=tr}catch(t){A=tr}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===er||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function be(t){if(A===clearTimeout)return clearTimeout(t);if((A===tr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,L,Y=-1;function ke(){!N||!L||(N=!1,L.length?B=L.concat(B):Y=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(ke);N=!0;for(var r=B.length;r;){for(L=B,B=[];++Y<r;)L&&L[Y].run();Y=-1,r=B.length}L=null,N=!1,be(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=Or(()=>{h=sr(Ir()),m=sr(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ae={};Vr(Ae,{getApiAddressForChainId:()=>Fe});module.exports=Yr(Ae);l();l();l();l();l();l();l();l();var Ie=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Pe=G(G({},P.WindowProviderRequestEnums),Er),Cr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Cr||{}),Me=G(G({},P.WindowProviderResponseEnums),Cr);l();l();l();l();l();l();var W={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Lr,egldLabel:et}=W["devnet"],{chainId:_r,egldLabel:tt}=W["testnet"],{chainId:Dr,egldLabel:nt}=W["mainnet"];var it={["devnet"]:Lr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Lr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};l();function Nr(t){return Ur[t]}function Fe(t){let r=Nr(t),e=W[r].apiAddress;if(!e)throw"Could not extract api address for environment, check if you have a valid chainID";return e}0&&(module.exports={getApiAddressForChainId});
|
|
1
|
+
"use strict";var Mr=Object.create;var M=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Wr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))qr.call(r,e)&&ir(t,e,r[e]);return t};var Or=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Vr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Mr(Hr(t)):{},sr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Yr=t=>sr(M({},"__esModule",{value:!0}),t);var lr=H(q=>{"use strict";l();q.byteLength=Xr;q.toByteArray=jr;q.fromByteArray=Zr;var k=[],v=[],zr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=z.length;E<pr;++E)k[E]=z[E],v[z.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Xr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new zr(Jr(t,n,i)),s=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[s++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[s++]=r>>8&255,a[s++]=r&255),a}function Kr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Kr(n));return i.join("")}function Zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,s=0,p=e-n;s<p;s+=a)i.push(Qr(t,s,s+a>p?p:s+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=H(X=>{l();X.read=function(t,r,e,n,i){var a,s,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-d}return(T?-1:1)*s*Math.pow(2,a-n)};X.write=function(t,r,e,n,i,a){var s,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Pr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(s++,u/=2),s+c>=f?(p=0,s=f):s+c>=1?(p=(r*u-1)*Math.pow(2,i),s=s+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(s=s<<i|p,d+=i;d>0;t[e+T]=s&255,T+=_,s/=256,d-=8);t[e+T-_]|=Pr*128}});var Ir=H(U=>{"use strict";l();var J=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=o;U.SlowBuffer=ie;U.INSPECT_MAX_BYTES=50;var O=2147483647;U.kMaxLength=O;o.TYPED_ARRAY_SUPPORT=$r();!o.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 $r(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}});Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function S(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,o.prototype),r}function o(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return hr(t,r,e)}o.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return ee(t,r);if(ArrayBuffer.isView(t))return te(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return o.from(n,r,e);var i=ne(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}o.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(o.prototype,Uint8Array.prototype);Object.setPrototypeOf(o,Uint8Array);function mr(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 re(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}o.alloc=function(t,r,e){return re(t,r,e)};function Z(t){return mr(t),S(t<0?0:$(t)|0)}o.allocUnsafe=function(t){return Z(t)};o.allocUnsafeSlow=function(t){return Z(t)};function ee(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:$(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function te(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return j(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,o.prototype),n}function ne(t){if(o.isBuffer(t)){var r=$(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||rr(t.length)?S(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function $(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function ie(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype};o.compare=function(r,e){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(r)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,s=Math.min(n,i);a<s;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};o.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=o.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var s=r[n];if(I(s,Uint8Array))a+s.length>i.length?o.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(o.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function yr(t,r){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=yr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return he(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return fe(this,r,e);case"latin1":case"binary":return ge(this,r,e);case"base64":return ce(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}o.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};o.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};o.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};o.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ae.apply(this,arguments)};o.prototype.toLocaleString=o.prototype.toString;o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0};o.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(o.prototype[dr]=o.prototype.inspect);o.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,p=n-e,u=Math.min(s,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){s=d[c],p=f[c];break}return s<p?-1:p<s?1:0};function xr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,rr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,s=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,s/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<s;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>s&&(e=s-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}o.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};o.prototype.indexOf=function(r,e,n){return xr(this,r,e,n,!0)};o.prototype.lastIndexOf=function(r,e,n){return xr(this,r,e,n,!1)};function se(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var p=parseInt(r.substr(s*2,2),16);if(rr(p))return s;t[e+s]=p}return s}function oe(t,r,e,n){return V(Q(r,t.length-e),t,e,n)}function pe(t,r,e,n){return V(we(r),t,e,n)}function ue(t,r,e,n){return V(kr(r),t,e,n)}function le(t,r,e,n){return V(Te(r,t.length-e),t,e,n)}o.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return se(this,r,e,n);case"utf8":case"utf-8":return oe(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ue(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ce(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],s=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(s=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(s=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,p=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=p}return de(n)}var gr=4096;function de(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ge(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function he(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ve[t[a]];return i}function me(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}o.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,o.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return i};o.prototype.readUintBE=o.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};o.prototype.readUint8=o.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};o.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};o.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*e)),s};o.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};o.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};o.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};o.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};o.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};o.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!0,23,4)};o.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!1,23,4)};o.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!0,52,8)};o.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=1,p=0;for(this[e]=r&255;++p<n&&(s*=256);)this[e+p]=r/s&255;return e+n};o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=n-1,p=1;for(this[e+s]=r&255;--s>=0&&(p*=256);)this[e+s]=r/p&255;return e+n};o.prototype.writeUint8=o.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};o.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=0,p=1,u=0;for(this[e]=r&255;++s<n&&(p*=256);)r<0&&u===0&&this[e+s-1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=n-1,p=1,u=0;for(this[e+s]=r&255;--s>=0&&(p*=256);)r<0&&u===0&&this[e+s+1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};o.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};o.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}o.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};o.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};o.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};o.prototype.copy=function(r,e,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};o.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var s;if(typeof r=="number")for(s=e;s<n;++s)this[s]=r;else{var p=o.isBuffer(r)?r:o.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-e;++s)this[s+e]=p[s%u]}return this};var ye=/[^+/0-9A-Za-z-_]/g;function xe(t){if(t=t.split("=")[0],t=t.trim().replace(ye,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],s=0;s<n;++s){if(e=t.charCodeAt(s),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function we(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Te(t,r){for(var e,n,i,a=[],s=0;s<t.length&&!((r-=2)<0);++s)e=t.charCodeAt(s),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return J.toByteArray(xe(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function rr(t){return t!==t}var ve=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=H((Ce,Br)=>{l();var g=Br.exports={},F,A;function er(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=er}catch(t){F=er}try{typeof clearTimeout=="function"?A=clearTimeout:A=tr}catch(t){A=tr}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===er||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function be(t){if(A===clearTimeout)return clearTimeout(t);if((A===tr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,L,Y=-1;function ke(){!N||!L||(N=!1,L.length?B=L.concat(B):Y=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(ke);N=!0;for(var r=B.length;r;){for(L=B,B=[];++Y<r;)L&&L[Y].run();Y=-1,r=B.length}L=null,N=!1,be(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=Or(()=>{h=or(Ir()),m=or(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ae={};Vr(Ae,{getApiAddressForChainId:()=>Fe});module.exports=Yr(Ae);l();l();l();l();l();l();l();l();var Ie=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Pe=G(G({},P.WindowProviderRequestEnums),Er),Cr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Cr||{}),Me=G(G({},P.WindowProviderResponseEnums),Cr);l();l();l();l();l();l();var W={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Lr,egldLabel:et}=W["devnet"],{chainId:_r,egldLabel:tt}=W["testnet"],{chainId:Dr,egldLabel:nt}=W["mainnet"];var it={["devnet"]:Lr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Lr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};l();function Nr(t){return Ur[t]}function Fe(t){let r=Nr(t),e=W[r].apiAddress;if(!e)throw"Could not extract api address for environment, check if you have a valid chainID";return e}0&&(module.exports={getApiAddressForChainId});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Pr=Object.create;var M=Object.defineProperty;var Mr=Object.getOwnPropertyDescriptor;var Gr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Wr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))Hr.call(r,e)&&ir(t,e,r[e]);return t};var qr=(t,r)=>()=>(t&&(r=t(t=0)),r);var W=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Or=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Gr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Mr(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Pr(Wr(t)):{},sr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Vr=t=>sr(M({},"__esModule",{value:!0}),t);var lr=W(H=>{"use strict";l();H.byteLength=zr;H.toByteArray=Jr;H.fromByteArray=Qr;var k=[],v=[],Yr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=Y.length;E<pr;++E)k[E]=Y[E],v[Y.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Xr(t,r,e){return(r+e)*3/4-e}function Jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new Yr(Xr(t,n,i)),s=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[s++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[s++]=r>>8&255,a[s++]=r&255),a}function jr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Kr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(jr(n));return i.join("")}function Qr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,s=0,p=e-n;s<p;s+=a)i.push(Kr(t,s,s+a>p?p:s+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=W(z=>{l();z.read=function(t,r,e,n,i){var a,s,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-d}return(T?-1:1)*s*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var s,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Nr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(s++,u/=2),s+c>=f?(p=0,s=f):s+c>=1?(p=(r*u-1)*Math.pow(2,i),s=s+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(s=s<<i|p,d+=i;d>0;t[e+T]=s&255,T+=_,s/=256,d-=8);t[e+T-_]|=Nr*128}});var Ir=W(U=>{"use strict";l();var X=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=o;U.SlowBuffer=ne;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;o.TYPED_ARRAY_SUPPORT=Zr();!o.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 Zr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}});Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function S(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,o.prototype),r}function o(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return hr(t,r,e)}o.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return re(t,r);if(ArrayBuffer.isView(t))return ee(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return o.from(n,r,e);var i=te(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}o.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(o.prototype,Uint8Array.prototype);Object.setPrototypeOf(o,Uint8Array);function mr(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 $r(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}o.alloc=function(t,r,e){return $r(t,r,e)};function Q(t){return mr(t),S(t<0?0:Z(t)|0)}o.allocUnsafe=function(t){return Q(t)};o.allocUnsafeSlow=function(t){return Q(t)};function re(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=xr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ee(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,o.prototype),n}function te(t){if(o.isBuffer(t)){var r=Z(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?S(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ne(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype};o.compare=function(r,e){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(r)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,s=Math.min(n,i);a<s;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};o.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=o.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var s=r[n];if(I(s,Uint8Array))a+s.length>i.length?o.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(o.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function xr(t,r){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=xr;function ie(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ge(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return de(this,r,e);case"latin1":case"binary":return fe(this,r,e);case"base64":return le(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}o.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};o.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};o.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};o.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ie.apply(this,arguments)};o.prototype.toLocaleString=o.prototype.toString;o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0};o.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(o.prototype[dr]=o.prototype.inspect);o.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,p=n-e,u=Math.min(s,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){s=d[c],p=f[c];break}return s<p?-1:p<s?1:0};function yr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,s=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,s/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<s;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>s&&(e=s-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}o.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};o.prototype.indexOf=function(r,e,n){return yr(this,r,e,n,!0)};o.prototype.lastIndexOf=function(r,e,n){return yr(this,r,e,n,!1)};function ae(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var p=parseInt(r.substr(s*2,2),16);if($(p))return s;t[e+s]=p}return s}function se(t,r,e,n){return O(K(r,t.length-e),t,e,n)}function oe(t,r,e,n){return O(ye(r),t,e,n)}function pe(t,r,e,n){return O(kr(r),t,e,n)}function ue(t,r,e,n){return O(we(r,t.length-e),t,e,n)}o.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return ae(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return oe(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,r,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function le(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],s=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(s=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(s=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,p=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=p}return ce(n)}var gr=4096;function ce(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ge(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Te[t[a]];return i}function he(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}o.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,o.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return i};o.prototype.readUintBE=o.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};o.prototype.readUint8=o.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};o.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};o.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*e)),s};o.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};o.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};o.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};o.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};o.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};o.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!0,23,4)};o.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!1,23,4)};o.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!0,52,8)};o.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=1,p=0;for(this[e]=r&255;++p<n&&(s*=256);)this[e+p]=r/s&255;return e+n};o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=n-1,p=1;for(this[e+s]=r&255;--s>=0&&(p*=256);)this[e+s]=r/p&255;return e+n};o.prototype.writeUint8=o.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};o.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=0,p=1,u=0;for(this[e]=r&255;++s<n&&(p*=256);)r<0&&u===0&&this[e+s-1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=n-1,p=1,u=0;for(this[e+s]=r&255;--s>=0&&(p*=256);)r<0&&u===0&&this[e+s+1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};o.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};o.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}o.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};o.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};o.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};o.prototype.copy=function(r,e,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};o.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var s;if(typeof r=="number")for(s=e;s<n;++s)this[s]=r;else{var p=o.isBuffer(r)?r:o.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-e;++s)this[s+e]=p[s%u]}return this};var me=/[^+/0-9A-Za-z-_]/g;function xe(t){if(t=t.split("=")[0],t=t.trim().replace(me,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],s=0;s<n;++s){if(e=t.charCodeAt(s),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ye(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function we(t,r){for(var e,n,i,a=[],s=0;s<t.length&&!((r-=2)<0);++s)e=t.charCodeAt(s),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return X.toByteArray(xe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var Te=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=W((Ee,Br)=>{l();var g=Br.exports={},F,A;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=rr}catch(t){F=rr}try{typeof clearTimeout=="function"?A=clearTimeout:A=er}catch(t){A=er}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===rr||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function ve(t){if(A===clearTimeout)return clearTimeout(t);if((A===er||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,C,V=-1;function be(){!N||!C||(N=!1,C.length?B=C.concat(B):V=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(be);N=!0;for(var r=B.length;r;){for(C=B,B=[];++V<r;)C&&C[V].run();V=-1,r=B.length}C=null,N=!1,ve(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=qr(()=>{h=or(Ir()),m=or(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Fe={};Or(Fe,{getEnvironmentForChainId:()=>Ie});module.exports=Vr(Fe);l();l();l();l();l();l();l();l();var ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Ne=G(G({},P.WindowProviderRequestEnums),Er),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Pe=G(G({},P.WindowProviderResponseEnums),Lr);l();l();l();l();l();l();var tr={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Cr,egldLabel:rt}=tr["devnet"],{chainId:_r,egldLabel:et}=tr["testnet"],{chainId:Dr,egldLabel:tt}=tr["mainnet"];var nt={["devnet"]:Cr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Cr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};function Ie(t){return Ur[t]}0&&(module.exports={getEnvironmentForChainId});
|
|
1
|
+
"use strict";var Pr=Object.create;var M=Object.defineProperty;var Mr=Object.getOwnPropertyDescriptor;var Gr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Wr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))Hr.call(r,e)&&ir(t,e,r[e]);return t};var qr=(t,r)=>()=>(t&&(r=t(t=0)),r);var W=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Or=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Gr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Mr(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Pr(Wr(t)):{},sr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Vr=t=>sr(M({},"__esModule",{value:!0}),t);var lr=W(H=>{"use strict";l();H.byteLength=zr;H.toByteArray=Jr;H.fromByteArray=Qr;var k=[],v=[],Yr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=Y.length;E<pr;++E)k[E]=Y[E],v[Y.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Xr(t,r,e){return(r+e)*3/4-e}function Jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new Yr(Xr(t,n,i)),s=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[s++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[s++]=r>>8&255,a[s++]=r&255),a}function jr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Kr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(jr(n));return i.join("")}function Qr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,s=0,p=e-n;s<p;s+=a)i.push(Kr(t,s,s+a>p?p:s+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=W(z=>{l();z.read=function(t,r,e,n,i){var a,s,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-d}return(T?-1:1)*s*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var s,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Nr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(s++,u/=2),s+c>=f?(p=0,s=f):s+c>=1?(p=(r*u-1)*Math.pow(2,i),s=s+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(s=s<<i|p,d+=i;d>0;t[e+T]=s&255,T+=_,s/=256,d-=8);t[e+T-_]|=Nr*128}});var Ir=W(U=>{"use strict";l();var X=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=o;U.SlowBuffer=ne;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;o.TYPED_ARRAY_SUPPORT=Zr();!o.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 Zr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}});Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function S(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,o.prototype),r}function o(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return hr(t,r,e)}o.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return re(t,r);if(ArrayBuffer.isView(t))return ee(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return o.from(n,r,e);var i=te(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}o.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(o.prototype,Uint8Array.prototype);Object.setPrototypeOf(o,Uint8Array);function mr(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 $r(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}o.alloc=function(t,r,e){return $r(t,r,e)};function Q(t){return mr(t),S(t<0?0:Z(t)|0)}o.allocUnsafe=function(t){return Q(t)};o.allocUnsafeSlow=function(t){return Q(t)};function re(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ee(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,o.prototype),n}function te(t){if(o.isBuffer(t)){var r=Z(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?S(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ne(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype};o.compare=function(r,e){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(r)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,s=Math.min(n,i);a<s;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};o.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=o.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var s=r[n];if(I(s,Uint8Array))a+s.length>i.length?o.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(o.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function yr(t,r){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=yr;function ie(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ge(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return de(this,r,e);case"latin1":case"binary":return fe(this,r,e);case"base64":return le(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}o.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};o.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};o.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};o.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ie.apply(this,arguments)};o.prototype.toLocaleString=o.prototype.toString;o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0};o.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(o.prototype[dr]=o.prototype.inspect);o.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,p=n-e,u=Math.min(s,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){s=d[c],p=f[c];break}return s<p?-1:p<s?1:0};function xr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,s=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,s/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<s;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>s&&(e=s-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}o.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};o.prototype.indexOf=function(r,e,n){return xr(this,r,e,n,!0)};o.prototype.lastIndexOf=function(r,e,n){return xr(this,r,e,n,!1)};function ae(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var p=parseInt(r.substr(s*2,2),16);if($(p))return s;t[e+s]=p}return s}function se(t,r,e,n){return O(K(r,t.length-e),t,e,n)}function oe(t,r,e,n){return O(xe(r),t,e,n)}function pe(t,r,e,n){return O(kr(r),t,e,n)}function ue(t,r,e,n){return O(we(r,t.length-e),t,e,n)}o.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return ae(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return oe(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,r,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function le(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],s=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(s=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(s=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,p=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=p}return ce(n)}var gr=4096;function ce(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ge(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Te[t[a]];return i}function he(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}o.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,o.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return i};o.prototype.readUintBE=o.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};o.prototype.readUint8=o.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};o.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};o.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*e)),s};o.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};o.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};o.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};o.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};o.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};o.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!0,23,4)};o.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!1,23,4)};o.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!0,52,8)};o.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=1,p=0;for(this[e]=r&255;++p<n&&(s*=256);)this[e+p]=r/s&255;return e+n};o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=n-1,p=1;for(this[e+s]=r&255;--s>=0&&(p*=256);)this[e+s]=r/p&255;return e+n};o.prototype.writeUint8=o.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};o.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=0,p=1,u=0;for(this[e]=r&255;++s<n&&(p*=256);)r<0&&u===0&&this[e+s-1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=n-1,p=1,u=0;for(this[e+s]=r&255;--s>=0&&(p*=256);)r<0&&u===0&&this[e+s+1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};o.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};o.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}o.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};o.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};o.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};o.prototype.copy=function(r,e,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};o.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var s;if(typeof r=="number")for(s=e;s<n;++s)this[s]=r;else{var p=o.isBuffer(r)?r:o.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-e;++s)this[s+e]=p[s%u]}return this};var me=/[^+/0-9A-Za-z-_]/g;function ye(t){if(t=t.split("=")[0],t=t.trim().replace(me,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],s=0;s<n;++s){if(e=t.charCodeAt(s),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function xe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function we(t,r){for(var e,n,i,a=[],s=0;s<t.length&&!((r-=2)<0);++s)e=t.charCodeAt(s),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return X.toByteArray(ye(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var Te=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=W((Ee,Br)=>{l();var g=Br.exports={},F,A;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=rr}catch(t){F=rr}try{typeof clearTimeout=="function"?A=clearTimeout:A=er}catch(t){A=er}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===rr||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function ve(t){if(A===clearTimeout)return clearTimeout(t);if((A===er||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,C,V=-1;function be(){!N||!C||(N=!1,C.length?B=C.concat(B):V=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(be);N=!0;for(var r=B.length;r;){for(C=B,B=[];++V<r;)C&&C[V].run();V=-1,r=B.length}C=null,N=!1,ve(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=qr(()=>{h=or(Ir()),m=or(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Fe={};Or(Fe,{getEnvironmentForChainId:()=>Ie});module.exports=Vr(Fe);l();l();l();l();l();l();l();l();var ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Ne=G(G({},P.WindowProviderRequestEnums),Er),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Pe=G(G({},P.WindowProviderResponseEnums),Lr);l();l();l();l();l();l();var tr={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Cr,egldLabel:rt}=tr["devnet"],{chainId:_r,egldLabel:et}=tr["testnet"],{chainId:Dr,egldLabel:tt}=tr["mainnet"];var nt={["devnet"]:Cr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Cr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};function Ie(t){return Ur[t]}0&&(module.exports={getEnvironmentForChainId});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Vr=Object.create;var M=Object.defineProperty,Yr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertyNames,W=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,X=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,C=(t,r)=>{for(var e in r||(r={}))X.call(r,e)&&sr(t,e,r[e]);if(W)for(var e of W(r))pr.call(r,e)&&sr(t,e,r[e]);return t},ur=(t,r)=>Yr(t,zr(r));var lr=t=>typeof t=="symbol"?t:t+"",cr=(t,r)=>{var e={};for(var n in t)X.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&W)for(var n of W(t))r.indexOf(n)<0&&pr.call(t,n)&&(e[n]=t[n]);return e};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},dr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!X.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Kr(r,i))||n.enumerable});return t};var J=(t,r,e)=>(e=t!=null?Vr(Jr(t)):{},dr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>dr(M({},"__esModule",{value:!0}),t);var q=(t,r,e)=>new Promise((n,i)=>{var o=p=>{try{u(e.next(p))}catch(c){i(c)}},a=p=>{try{u(e.throw(p))}catch(c){i(c)}},u=p=>p.done?n(p.value):Promise.resolve(p.value).then(o,a);u((e=e.apply(t,r)).next())});var hr=H(V=>{"use strict";l();V.byteLength=re;V.toByteArray=te;V.fromByteArray=oe;var b=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,fr=$.length;_<fr;++_)b[_]=$[_],v[$.charCodeAt(_)]=_;var _,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(ie(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var mr=H(j=>{l();j.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,c=p>>1,f=-7,d=e?i-1:0,I=e?-1:1,w=t[r+d];for(d+=I,o=w&(1<<-f)-1,w>>=-f,f+=u;f>0;o=o*256+t[r+d],d+=I,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+t[r+d],d+=I,f-=8);if(o===0)o=1-c;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,u,p,c=o*8-i-1,f=(1<<c)-1,d=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,B=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=f):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?r+=I/p:r+=I*Math.pow(2,1-d),r*p>=2&&(a++,p/=2),a+d>=f?(u=0,a=f):a+d>=1?(u=(r*p-1)*Math.pow(2,i),a=a+d):(u=r*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=B,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;t[e+w]=a&255,w+=B,a/=256,c-=8);t[e+w-B]|=qr*128}});var Er=H(U=>{"use strict";l();var Q=hr(),L=mr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=ce;U.INSPECT_MAX_BYTES=50;var Y=2147483647;U.kMaxLength=Y;s.TYPED_ARRAY_SUPPORT=ae();!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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(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 A(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return pe(t,r);if(ArrayBuffer.isView(t))return ue(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(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return rr(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=le(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function vr(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 se(t,r,e){return vr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return se(t,r,e)};function tr(t){return vr(t),A(t<0?0:nr(t)|0)}s.allocUnsafe=function(t){return tr(t)};s.allocUnsafeSlow=function(t){return tr(t)};function pe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Ir(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Z(t){for(var r=t.length<0?0:nr(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ue(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return rr(r.buffer,r.byteOffset,r.byteLength)}return Z(t)}function rr(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function le(t){if(s.isBuffer(t)){var r=nr(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||ir(t.length)?A(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function nr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ce(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(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 Ir(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return er(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Nr(t).length;default:if(i)return n?-1:er(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=Ir;function de(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Ie(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return ye(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function R(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)R(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)R(this,e,e+3),R(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)R(this,e,e+7),R(this,e+1,e+6),R(this,e+2,e+5),R(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):de.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(s.prototype[xr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),c=this.slice(i,o),f=r.slice(e,n),d=0;d<p;++d)if(c[d]!==f[d]){a=c[d],u=f[d];break}return a<u?-1:u<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,ir(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(w,B){return o===1?w[B]:w.readUInt16BE(B*o)}var c;if(i){var f=-1;for(c=e;c<a;c++)if(p(t,c)===p(r,f===-1?0:c-f)){if(f===-1&&(f=c),c-f+1===u)return f*o}else f!==-1&&(c-=c-f),f=-1}else for(e+u>a&&(e=a-u),c=e;c>=0;c--){for(var d=!0,I=0;I<u;I++)if(p(t,c+I)!==p(r,I)){d=!1;break}if(d)return c}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(ir(u))return a;t[e+a]=u}return a}function ge(t,r,e,n){return K(er(r,t.length-e),t,e,n)}function he(t,r,e,n){return K(Se(r),t,e,n)}function me(t,r,e,n){return K(Nr(r),t,e,n)}function xe(t,r,e,n){return K(Ae(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ge(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,r,e,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 ye(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,c,f,d;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],c=t[i+2],(p&192)===128&&(c&192)===128&&(d=(o&15)<<12|(p&63)<<6|c&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],c=t[i+2],f=t[i+3],(p&192)===128&&(c&192)===128&&(f&192)===128&&(d=(o&15)<<18|(p&63)<<12|(c&63)<<6|f&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return Te(n)}var Tr=4096;function Te(t){var r=t.length;if(r<=Tr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Tr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Ie(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ne[t[o]];return i}function be(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Sr(this,r,e,!1,n)};function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Ar(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Ar(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var ke=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(ke,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function er(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Se(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ae(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Nr(t){return Q.toByteArray(Fe(t))}function K(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function ir(t){return t!==t}var Ne=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=H((Oe,Dr)=>{l();var g=Dr.exports={},F,S;function or(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=or}catch(t){F=or}try{typeof clearTimeout=="function"?S=clearTimeout:S=ar}catch(t){S=ar}})();function Cr(t){if(F===setTimeout)return setTimeout(t,0);if((F===or||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function Ee(t){if(S===clearTimeout)return clearTimeout(t);if((S===ar||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var N=[],P=!1,D,z=-1;function Ce(){!P||!D||(P=!1,D.length?N=D.concat(N):z=-1,N.length&&_r())}function _r(){if(!P){var t=Cr(Ce);P=!0;for(var r=N.length;r;){for(D=N,N=[];++z<r;)D&&D[z].run();z=-1,r=N.length}D=null,P=!1,Ee(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];N.push(new Rr(t,r)),N.length===1&&!P&&Cr(_r)};function Rr(t,r){this.fun=t,this.array=r}Rr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function E(){}g.on=E;g.addListener=E;g.once=E;g.off=E;g.removeListener=E;g.removeAllListeners=E;g.emit=E;g.prependListener=E;g.prependOnceListener=E;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Me,l=$r(()=>{h=J(Er()),m=J(Br()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var De={};jr(De,{getServerConfigurationForEnvironment:()=>Re});module.exports=Qr(De);l();l();l();l();l();l();l();l();var _e=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),O=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),Ve=C(C({},O.WindowProviderRequestEnums),Lr),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Ye=C(C({},O.WindowProviderResponseEnums),Ur);l();l();l();l();l();l();var G={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Pr,egldLabel:pt}=G["devnet"],{chainId:Or,egldLabel:ut}=G["testnet"],{chainId:Mr,egldLabel:lt}=G["mainnet"];var ct={["devnet"]:Pr,["testnet"]:Or,["mainnet"]:Mr},dt={[Pr]:"devnet",[Or]:"testnet",[Mr]:"mainnet"};l();var Wr=J(require("axios"));l();var Gr="dapp/config";function Hr(t){return q(this,null,function*(){let r=`${t}/${Gr}`;try{let{data:n}=yield Wr.default.get(r);if(n!=null){let i="egldDenomination";if(i in n){let e=n,{[i]:o,decimals:a}=e,u=cr(e,[lr(i),"decimals"]);return ur(C({},u),{decimals:o,digits:a})}return n}}catch(n){console.error("error fetching configuration for ",r)}return null})}function Re(t,r){return q(this,null,function*(){var o;let e=G[t],n=(o=r==null?void 0:r.apiAddress)!=null?o:e.apiAddress,i=yield Hr(n);return i!==null?i:e})}0&&(module.exports={getServerConfigurationForEnvironment});
|
|
1
|
+
"use strict";var Vr=Object.create;var M=Object.defineProperty,Yr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertyNames,W=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,X=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,C=(t,r)=>{for(var e in r||(r={}))X.call(r,e)&&sr(t,e,r[e]);if(W)for(var e of W(r))pr.call(r,e)&&sr(t,e,r[e]);return t},ur=(t,r)=>Yr(t,zr(r));var lr=t=>typeof t=="symbol"?t:t+"",cr=(t,r)=>{var e={};for(var n in t)X.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&W)for(var n of W(t))r.indexOf(n)<0&&pr.call(t,n)&&(e[n]=t[n]);return e};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},dr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!X.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Kr(r,i))||n.enumerable});return t};var J=(t,r,e)=>(e=t!=null?Vr(Jr(t)):{},dr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>dr(M({},"__esModule",{value:!0}),t);var q=(t,r,e)=>new Promise((n,i)=>{var o=p=>{try{u(e.next(p))}catch(c){i(c)}},a=p=>{try{u(e.throw(p))}catch(c){i(c)}},u=p=>p.done?n(p.value):Promise.resolve(p.value).then(o,a);u((e=e.apply(t,r)).next())});var hr=H(V=>{"use strict";l();V.byteLength=re;V.toByteArray=te;V.fromByteArray=oe;var b=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,fr=$.length;_<fr;++_)b[_]=$[_],v[$.charCodeAt(_)]=_;var _,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(ie(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var mr=H(j=>{l();j.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,c=p>>1,f=-7,d=e?i-1:0,I=e?-1:1,w=t[r+d];for(d+=I,o=w&(1<<-f)-1,w>>=-f,f+=u;f>0;o=o*256+t[r+d],d+=I,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+t[r+d],d+=I,f-=8);if(o===0)o=1-c;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,u,p,c=o*8-i-1,f=(1<<c)-1,d=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,B=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=f):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?r+=I/p:r+=I*Math.pow(2,1-d),r*p>=2&&(a++,p/=2),a+d>=f?(u=0,a=f):a+d>=1?(u=(r*p-1)*Math.pow(2,i),a=a+d):(u=r*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=B,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;t[e+w]=a&255,w+=B,a/=256,c-=8);t[e+w-B]|=qr*128}});var Er=H(U=>{"use strict";l();var Q=hr(),L=mr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=ce;U.INSPECT_MAX_BYTES=50;var Y=2147483647;U.kMaxLength=Y;s.TYPED_ARRAY_SUPPORT=ae();!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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(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 A(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return pe(t,r);if(ArrayBuffer.isView(t))return ue(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(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return rr(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=le(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function vr(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 se(t,r,e){return vr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return se(t,r,e)};function tr(t){return vr(t),A(t<0?0:nr(t)|0)}s.allocUnsafe=function(t){return tr(t)};s.allocUnsafeSlow=function(t){return tr(t)};function pe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Ir(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Z(t){for(var r=t.length<0?0:nr(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ue(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return rr(r.buffer,r.byteOffset,r.byteLength)}return Z(t)}function rr(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function le(t){if(s.isBuffer(t)){var r=nr(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||ir(t.length)?A(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function nr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ce(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(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 Ir(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return er(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Nr(t).length;default:if(i)return n?-1:er(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=Ir;function de(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Ie(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return ye(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function R(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)R(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)R(this,e,e+3),R(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)R(this,e,e+7),R(this,e+1,e+6),R(this,e+2,e+5),R(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):de.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(s.prototype[xr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),c=this.slice(i,o),f=r.slice(e,n),d=0;d<p;++d)if(c[d]!==f[d]){a=c[d],u=f[d];break}return a<u?-1:u<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,ir(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(w,B){return o===1?w[B]:w.readUInt16BE(B*o)}var c;if(i){var f=-1;for(c=e;c<a;c++)if(p(t,c)===p(r,f===-1?0:c-f)){if(f===-1&&(f=c),c-f+1===u)return f*o}else f!==-1&&(c-=c-f),f=-1}else for(e+u>a&&(e=a-u),c=e;c>=0;c--){for(var d=!0,I=0;I<u;I++)if(p(t,c+I)!==p(r,I)){d=!1;break}if(d)return c}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(ir(u))return a;t[e+a]=u}return a}function ge(t,r,e,n){return K(er(r,t.length-e),t,e,n)}function he(t,r,e,n){return K(Fe(r),t,e,n)}function me(t,r,e,n){return K(Nr(r),t,e,n)}function xe(t,r,e,n){return K(Ae(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ge(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,r,e,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 ye(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,c,f,d;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],c=t[i+2],(p&192)===128&&(c&192)===128&&(d=(o&15)<<12|(p&63)<<6|c&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],c=t[i+2],f=t[i+3],(p&192)===128&&(c&192)===128&&(f&192)===128&&(d=(o&15)<<18|(p&63)<<12|(c&63)<<6|f&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return Te(n)}var Tr=4096;function Te(t){var r=t.length;if(r<=Tr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Tr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Ie(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ne[t[o]];return i}function be(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Sr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Ar(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Ar(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var ke=/[^+/0-9A-Za-z-_]/g;function Se(t){if(t=t.split("=")[0],t=t.trim().replace(ke,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function er(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Fe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ae(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Nr(t){return Q.toByteArray(Se(t))}function K(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function ir(t){return t!==t}var Ne=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=H((Oe,Dr)=>{l();var g=Dr.exports={},S,F;function or(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=or}catch(t){S=or}try{typeof clearTimeout=="function"?F=clearTimeout:F=ar}catch(t){F=ar}})();function Cr(t){if(S===setTimeout)return setTimeout(t,0);if((S===or||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ee(t){if(F===clearTimeout)return clearTimeout(t);if((F===ar||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(t);try{return F(t)}catch(r){try{return F.call(null,t)}catch(e){return F.call(this,t)}}}var N=[],P=!1,D,z=-1;function Ce(){!P||!D||(P=!1,D.length?N=D.concat(N):z=-1,N.length&&_r())}function _r(){if(!P){var t=Cr(Ce);P=!0;for(var r=N.length;r;){for(D=N,N=[];++z<r;)D&&D[z].run();z=-1,r=N.length}D=null,P=!1,Ee(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];N.push(new Rr(t,r)),N.length===1&&!P&&Cr(_r)};function Rr(t,r){this.fun=t,this.array=r}Rr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function E(){}g.on=E;g.addListener=E;g.once=E;g.off=E;g.removeListener=E;g.removeAllListeners=E;g.emit=E;g.prependListener=E;g.prependOnceListener=E;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Me,l=$r(()=>{h=J(Er()),m=J(Br()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var De={};jr(De,{getServerConfigurationForEnvironment:()=>Re});module.exports=Qr(De);l();l();l();l();l();l();l();l();var _e=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),O=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),Ve=C(C({},O.WindowProviderRequestEnums),Lr),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Ye=C(C({},O.WindowProviderResponseEnums),Ur);l();l();l();l();l();l();var G={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Pr,egldLabel:pt}=G["devnet"],{chainId:Or,egldLabel:ut}=G["testnet"],{chainId:Mr,egldLabel:lt}=G["mainnet"];var ct={["devnet"]:Pr,["testnet"]:Or,["mainnet"]:Mr},dt={[Pr]:"devnet",[Or]:"testnet",[Mr]:"mainnet"};l();var Wr=J(require("axios"));l();var Gr="dapp/config";function Hr(t){return q(this,null,function*(){let r=`${t}/${Gr}`;try{let{data:n}=yield Wr.default.get(r);if(n!=null){let i="egldDenomination";if(i in n){let e=n,{[i]:o,decimals:a}=e,u=cr(e,[lr(i),"decimals"]);return ur(C({},u),{decimals:o,digits:a})}return n}}catch(n){console.error("error fetching configuration for ",r)}return null})}function Re(t,r){return q(this,null,function*(){var o;let e=G[t],n=(o=r==null?void 0:r.apiAddress)!=null?o:e.apiAddress,i=yield Hr(n);return i!==null?i:e})}0&&(module.exports={getServerConfigurationForEnvironment});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|