@multiversx/sdk-dapp 2.28.8-alpha.3 → 2.28.8-alpha.5
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/Balance/Balance.js +1 -1
- package/UI/Balance/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/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-AEY3YZHG.js → chunk-26COE5IP.js} +2 -2
- package/__chunks__/{chunk-RWQWMQYA.js → chunk-26G6FCMY.js} +2 -2
- package/__chunks__/chunk-2AJKFUGF.js +2 -0
- package/__chunks__/{chunk-YLHXOYXE.js → chunk-2B6VD6NB.js} +2 -2
- package/__chunks__/{chunk-ZERI3KFG.js → chunk-2CAWEPYC.js} +2 -2
- package/__chunks__/chunk-2K4NSPB4.js +2 -0
- package/__chunks__/{chunk-5VIHCVAC.js → chunk-2K4PI2EN.js} +2 -2
- package/__chunks__/{chunk-KNT7OBR5.js → chunk-2LMX6E7W.js} +2 -2
- package/__chunks__/{chunk-WAEJT3XY.js → chunk-2MLNB5M3.js} +2 -2
- package/__chunks__/chunk-2MPDY7FU.js +2 -0
- package/__chunks__/{chunk-M3UJFHSS.js → chunk-2NCYKXGY.js} +2 -2
- package/__chunks__/{chunk-6TJHWNEE.js → chunk-2RN2CTIG.js} +2 -2
- package/__chunks__/{chunk-LY4FYJ4C.js → chunk-2UD2T4LH.js} +2 -2
- package/__chunks__/{chunk-7BG7OJFY.js → chunk-2VRVY6R5.js} +2 -2
- package/__chunks__/chunk-2VVFMHPM.js +2 -0
- package/__chunks__/chunk-2ZMH7BF5.js +2 -0
- package/__chunks__/{chunk-XQX65RBG.js → chunk-33JUCMYL.js} +2 -2
- package/__chunks__/{chunk-3EBZCS6H.js → chunk-3AQOIP5C.js} +2 -2
- package/__chunks__/chunk-3EKQC4N3.js +2 -0
- package/__chunks__/{chunk-3M6VV54N.js → chunk-3K65UWQD.js} +2 -2
- package/__chunks__/{chunk-7UXM7ZH5.js → chunk-3LCZFDA5.js} +2 -2
- package/__chunks__/chunk-3PTTQP5F.js +2 -0
- package/__chunks__/{chunk-OM2PBUXL.js → chunk-3TRNANVU.js} +2 -2
- package/__chunks__/chunk-3UCCTJRS.js +2 -0
- package/__chunks__/{chunk-L3Y2N2ZE.js → chunk-42CI5VRY.js} +2 -2
- package/__chunks__/{chunk-PSZ43UM4.js → chunk-46XX2SUZ.js} +2 -2
- package/__chunks__/chunk-4ATC2YPN.js +2 -0
- package/__chunks__/{chunk-GJVTTTFM.js → chunk-4B34DOIM.js} +2 -2
- package/__chunks__/{chunk-ZZIA4FNX.js → chunk-4HSWLDBE.js} +2 -2
- package/__chunks__/{chunk-JS3FJJEV.js → chunk-4IVEIA46.js} +2 -2
- package/__chunks__/{chunk-35Q3N5XX.js → chunk-4JD5YRVA.js} +2 -2
- package/__chunks__/chunk-4MDZSKGH.js +2 -0
- package/__chunks__/{chunk-DKOTJF3L.js → chunk-4O3E4YVS.js} +2 -2
- package/__chunks__/{chunk-RRGE6Q5M.js → chunk-4O4ATG25.js} +2 -2
- package/__chunks__/{chunk-AO6FSMJ4.js → chunk-4Q566V3Q.js} +2 -2
- package/__chunks__/{chunk-7NDTJX2Q.js → chunk-4QQIKMDG.js} +2 -2
- package/__chunks__/{chunk-P2MJDUIG.js → chunk-4QYLGFCM.js} +2 -2
- package/__chunks__/{chunk-PMOBF2HP.js → chunk-4S2AHOBQ.js} +2 -2
- package/__chunks__/{chunk-SIYAGK7F.js → chunk-4URMTDLP.js} +2 -2
- package/__chunks__/{chunk-TNJO3WBQ.js → chunk-4WCBJJ5E.js} +2 -2
- package/__chunks__/{chunk-GMVEA5Y7.js → chunk-4WJ7AC5O.js} +2 -2
- package/__chunks__/{chunk-XU63QGBN.js → chunk-4YSSTP5D.js} +2 -2
- package/__chunks__/{chunk-C5VMAZGA.js → chunk-4YTCITLL.js} +2 -2
- package/__chunks__/{chunk-IRWYOEMH.js → chunk-53EVTDZS.js} +2 -2
- package/__chunks__/{chunk-2JQS7ZAF.js → chunk-55FRSRZM.js} +2 -2
- package/__chunks__/{chunk-GVMVOVZM.js → chunk-57P4P6MH.js} +2 -2
- package/__chunks__/{chunk-ABZ4AZB6.js → chunk-57RPTBRI.js} +2 -2
- package/__chunks__/{chunk-CGWB6F7A.js → chunk-57VIZFO3.js} +2 -2
- package/__chunks__/{chunk-6GPLPANI.js → chunk-5BFLBNCD.js} +2 -2
- package/__chunks__/{chunk-WQCOC3YC.js → chunk-5MQ2XVIS.js} +2 -2
- package/__chunks__/{chunk-DAGUSJS3.js → chunk-5MURY2Q5.js} +2 -2
- package/__chunks__/chunk-5NR7EY4R.js +2 -0
- package/__chunks__/{chunk-UA2OH5NV.js → chunk-5TLQYCPW.js} +2 -2
- package/__chunks__/{chunk-MVXFZ55N.js → chunk-5UDINEHU.js} +2 -2
- package/__chunks__/chunk-5XZ4TRYL.js +2 -0
- package/__chunks__/{chunk-OWZ3YJEX.js → chunk-64F5V5BX.js} +2 -2
- package/__chunks__/{chunk-25VDTV44.js → chunk-6BFJSBIX.js} +2 -2
- package/__chunks__/{chunk-VONLUM6U.js → chunk-6DL526RA.js} +2 -2
- package/__chunks__/chunk-6EYJTOLY.js +2 -0
- package/__chunks__/{chunk-KWOUJGVB.js → chunk-6FFQ5PZO.js} +2 -2
- package/__chunks__/{chunk-VX7FZQWW.js → chunk-6J7LNWRR.js} +2 -2
- package/__chunks__/{chunk-4F6XJNT5.js → chunk-6LUTLHAD.js} +2 -2
- package/__chunks__/{chunk-OQDYMJP6.js → chunk-6MTKCMT4.js} +2 -2
- package/__chunks__/{chunk-MZ5SG35I.js → chunk-6NRMY73X.js} +2 -2
- package/__chunks__/{chunk-6M2AJ4C4.js → chunk-6QDOHWW2.js} +2 -2
- package/__chunks__/chunk-6S7N2C6D.js +2 -0
- package/__chunks__/{chunk-3OIENMSM.js → chunk-6SN7FHV3.js} +2 -2
- package/__chunks__/{chunk-CP3KWVXW.js → chunk-6TPV5FC6.js} +2 -2
- package/__chunks__/{chunk-PMUWC3LS.js → chunk-6WFBUOP7.js} +2 -2
- package/__chunks__/chunk-72WRDLII.js +2 -0
- package/__chunks__/{chunk-BBAQDTOC.js → chunk-75SLFK2Q.js} +2 -2
- package/__chunks__/{chunk-SJQRYX4Z.js → chunk-77Y7YXI4.js} +2 -2
- package/__chunks__/{chunk-F7YI44JE.js → chunk-7HDRJIC3.js} +2 -2
- package/__chunks__/{chunk-TM2VGOOE.js → chunk-7HOYI2GS.js} +2 -2
- package/__chunks__/{chunk-QSXZEDPY.js → chunk-7IYA5FTN.js} +2 -2
- package/__chunks__/chunk-7W2PAH2H.js +2 -0
- package/__chunks__/{chunk-OME7FKGA.js → chunk-A2XHTZTP.js} +2 -2
- package/__chunks__/{chunk-VWU2KLAH.js → chunk-ABM54K5G.js} +2 -2
- package/__chunks__/{chunk-O7PO2TJD.js → chunk-ABN47K5C.js} +2 -2
- package/__chunks__/{chunk-CQAZBUMQ.js → chunk-ABSRKQVX.js} +2 -2
- package/__chunks__/{chunk-7D5RMPCM.js → chunk-AEQB5MJR.js} +2 -2
- package/__chunks__/{chunk-47NC2ZEA.js → chunk-AFMYXNZC.js} +2 -2
- package/__chunks__/{chunk-Y5VDYDI6.js → chunk-AJSTWXJY.js} +2 -2
- package/__chunks__/{chunk-UR7LHERC.js → chunk-AMALHWHI.js} +2 -2
- package/__chunks__/{chunk-W4526R6B.js → chunk-ATGST3LV.js} +2 -2
- package/__chunks__/{chunk-YVRXUMNX.js → chunk-AUBCAPK6.js} +2 -2
- package/__chunks__/chunk-AYMSNLUW.js +2 -0
- package/__chunks__/{chunk-N6QOVYEG.js → chunk-AYWUPTI4.js} +2 -2
- package/__chunks__/{chunk-GG6P5SOY.js → chunk-AZSZZ6JU.js} +2 -2
- package/__chunks__/{chunk-Y5EVK7YU.js → chunk-B4W5XZXF.js} +2 -2
- package/__chunks__/{chunk-M62JBHWI.js → chunk-B5M4HJ4X.js} +2 -2
- package/__chunks__/{chunk-UMQOVYCA.js → chunk-BA2FNDCI.js} +2 -2
- package/__chunks__/{chunk-YJMMSAIM.js → chunk-BEGJHQL5.js} +2 -2
- package/__chunks__/chunk-BJN5LYS7.js +2 -0
- package/__chunks__/{chunk-KJZ5HOHL.js → chunk-BKAIOOU2.js} +2 -2
- package/__chunks__/{chunk-J53H7LWL.js → chunk-BKKNUEG2.js} +2 -2
- package/__chunks__/{chunk-KGTV2NHP.js → chunk-BLGLQZJ6.js} +2 -2
- package/__chunks__/{chunk-MGE5DV6U.js → chunk-BMJNBP4W.js} +2 -2
- package/__chunks__/{chunk-4WBX753N.js → chunk-BNFPGOMX.js} +2 -2
- package/__chunks__/{chunk-XOASCDHY.js → chunk-BR4LUB34.js} +2 -2
- package/__chunks__/{chunk-ARUR4UYT.js → chunk-BRSIRMNO.js} +2 -2
- package/__chunks__/{chunk-E4QMWYNU.js → chunk-BTWR3AML.js} +2 -2
- package/__chunks__/{chunk-LJ56LB7F.js → chunk-BU6FL5GY.js} +2 -2
- package/__chunks__/chunk-C64UP7XN.js +2 -0
- package/__chunks__/{chunk-BU6UP44N.js → chunk-CBX5ETP4.js} +2 -2
- package/__chunks__/{chunk-4JU4XGLP.js → chunk-CC5BKACL.js} +2 -2
- package/__chunks__/{chunk-RMEYGT5K.js → chunk-CGHSOQH5.js} +2 -2
- package/__chunks__/{chunk-C2GSKYTZ.js → chunk-CHF2G7S4.js} +2 -2
- package/__chunks__/{chunk-GSEGZFJ4.js → chunk-CLRYDNYB.js} +2 -2
- package/__chunks__/{chunk-JBREMCGD.js → chunk-CP4JVLHK.js} +2 -2
- package/__chunks__/{chunk-XVDAFFMR.js → chunk-CULOTYLY.js} +2 -2
- package/__chunks__/{chunk-NQJWCAAS.js → chunk-CVTC3JCQ.js} +2 -2
- package/__chunks__/{chunk-YXCCLYLY.js → chunk-D2SJ4L55.js} +2 -2
- package/__chunks__/chunk-DMYWJKUL.js +2 -0
- package/__chunks__/{chunk-32YG6NQX.js → chunk-DNI2RXBV.js} +2 -2
- package/__chunks__/{chunk-I5LCH7GI.js → chunk-DQ4YLC3Y.js} +2 -2
- package/__chunks__/chunk-DRGP6IUA.js +2 -0
- package/__chunks__/{chunk-H3L62SNH.js → chunk-DUSQ3Q63.js} +2 -2
- package/__chunks__/chunk-DVKTRXPN.js +2 -0
- package/__chunks__/chunk-DVLWZLHS.js +2 -0
- package/__chunks__/{chunk-N6LQOJNC.js → chunk-E3SXFR22.js} +2 -2
- package/__chunks__/{chunk-BN7UUEON.js → chunk-E4HRNWR3.js} +2 -2
- package/__chunks__/{chunk-HZLYANQB.js → chunk-E4YNEQB2.js} +2 -2
- package/__chunks__/chunk-ECWM7OXO.js +2 -0
- package/__chunks__/{chunk-RA3EVNL2.js → chunk-EE7Z6UJB.js} +2 -2
- package/__chunks__/{chunk-6QKDH7BO.js → chunk-EFK24Y54.js} +2 -2
- package/__chunks__/{chunk-YFNQDULX.js → chunk-EGJMDVEJ.js} +2 -2
- package/__chunks__/{chunk-FK7TQ6GT.js → chunk-EHRGU6E5.js} +2 -2
- package/__chunks__/{chunk-FX253HDQ.js → chunk-EHTJXX46.js} +2 -2
- package/__chunks__/{chunk-HZFR5MUN.js → chunk-ELE57PHK.js} +2 -2
- package/__chunks__/chunk-EMLADDRW.js +2 -0
- package/__chunks__/{chunk-V4OGQVE5.js → chunk-ENMEJCGA.js} +2 -2
- package/__chunks__/chunk-ETCXTTQT.js +2 -0
- package/__chunks__/{chunk-HLATLA47.js → chunk-EV7L54HF.js} +2 -2
- package/__chunks__/{chunk-KHN2BDZY.js → chunk-EVEMBMAZ.js} +2 -2
- package/__chunks__/{chunk-PCZMANR4.js → chunk-EXLJ7D6N.js} +2 -2
- package/__chunks__/{chunk-IXE232G2.js → chunk-EZHYNYBV.js} +2 -2
- package/__chunks__/{chunk-7AK6HBWA.js → chunk-F5PK2DLL.js} +2 -2
- package/__chunks__/{chunk-UVQCYFJM.js → chunk-F73WGUBB.js} +2 -2
- package/__chunks__/{chunk-4Q542GD7.js → chunk-F7GINFHE.js} +2 -2
- package/__chunks__/{chunk-U6FOX6XC.js → chunk-FCHIQFAO.js} +2 -2
- package/__chunks__/{chunk-OQQHKPP3.js → chunk-FENWYKBA.js} +2 -2
- package/__chunks__/{chunk-NILEXKDY.js → chunk-FGCZ6MJF.js} +2 -2
- package/__chunks__/{chunk-ZESNLEOM.js → chunk-FI2Y52X7.js} +2 -2
- package/__chunks__/chunk-FINLRQYS.js +2 -0
- package/__chunks__/{chunk-IH6XL5SK.js → chunk-FJK4XVFV.js} +2 -2
- package/__chunks__/{chunk-AJCMFHBP.js → chunk-FN5LNRKQ.js} +2 -2
- package/__chunks__/{chunk-X5N4DDKX.js → chunk-FUROVQOO.js} +2 -2
- package/__chunks__/{chunk-IF4Y5NFC.js → chunk-FYBDTJIZ.js} +2 -2
- package/__chunks__/{chunk-PRH6Q4Z6.js → chunk-G2SM5NLV.js} +2 -2
- package/__chunks__/{chunk-OPWBERLX.js → chunk-G37YQEWR.js} +2 -2
- package/__chunks__/{chunk-ZEFRKMY5.js → chunk-G5HD56AQ.js} +2 -2
- package/__chunks__/{chunk-LINHOJPD.js → chunk-G6CM7YIA.js} +2 -2
- package/__chunks__/{chunk-VGIIHK2L.js → chunk-G6ETLSAC.js} +2 -2
- package/__chunks__/chunk-GCTVBLUC.js +2 -0
- package/__chunks__/{chunk-EVOOEQLP.js → chunk-GIPOCBL7.js} +2 -2
- package/__chunks__/{chunk-F5Y4BWIQ.js → chunk-GKKTECSV.js} +2 -2
- package/__chunks__/chunk-GPGRNZ5D.js +2 -0
- package/__chunks__/{chunk-YE7AXCKR.js → chunk-GVOVK3OP.js} +2 -2
- package/__chunks__/chunk-GWPC5S2W.js +2 -0
- package/__chunks__/{chunk-HZJOWXVT.js → chunk-GZKFTOC2.js} +2 -2
- package/__chunks__/{chunk-QIXTNSSF.js → chunk-H2ANQT7C.js} +2 -2
- package/__chunks__/{chunk-WAYHLBVC.js → chunk-H4NIBT3T.js} +2 -2
- package/__chunks__/chunk-HB2AQNAA.js +2 -0
- package/__chunks__/{chunk-FLPGJLAD.js → chunk-HSSNMK2U.js} +2 -2
- package/__chunks__/{chunk-4GUBV4KR.js → chunk-HT5HIZAC.js} +2 -2
- package/__chunks__/{chunk-X7B7HGQH.js → chunk-HUS5DPFG.js} +2 -2
- package/__chunks__/chunk-HW7CYGII.js +2 -0
- package/__chunks__/chunk-HWYDDJQQ.js +2 -0
- package/__chunks__/{chunk-32OEQS2D.js → chunk-HXJKENZL.js} +2 -2
- package/__chunks__/{chunk-JIKTTFUV.js → chunk-HYKZDFJM.js} +2 -2
- package/__chunks__/{chunk-ZUP7EEJG.js → chunk-HZRSV3G2.js} +2 -2
- package/__chunks__/{chunk-7OIOL4ZE.js → chunk-I5WN7R6Z.js} +2 -2
- package/__chunks__/{chunk-UT3MVDKW.js → chunk-I7ILTZ5P.js} +2 -2
- package/__chunks__/{chunk-WLT7RNJI.js → chunk-IDB453XR.js} +2 -2
- package/__chunks__/{chunk-ZNTXKKKO.js → chunk-IJ23N6WY.js} +2 -2
- package/__chunks__/{chunk-3NWO2ERM.js → chunk-IJDERVXE.js} +2 -2
- package/__chunks__/{chunk-HN4HUSS3.js → chunk-IKV24MVK.js} +2 -2
- package/__chunks__/{chunk-GZACSDSD.js → chunk-ILU5SFH6.js} +2 -2
- package/__chunks__/{chunk-7NZRWTON.js → chunk-IM3AZJAD.js} +2 -2
- package/__chunks__/{chunk-QB7GUAUC.js → chunk-IMMWCLDM.js} +2 -2
- package/__chunks__/{chunk-E5ZVNNCE.js → chunk-IV6ZGT67.js} +2 -2
- package/__chunks__/{chunk-ZQVR5HSR.js → chunk-IZMH3QGY.js} +2 -2
- package/__chunks__/{chunk-IOR42F55.js → chunk-J2KMYTPN.js} +2 -2
- package/__chunks__/{chunk-APW4UMNQ.js → chunk-JDP4I2ZF.js} +2 -2
- package/__chunks__/{chunk-VDETGTYQ.js → chunk-JHFEXSSE.js} +2 -2
- package/__chunks__/{chunk-HINPJG36.js → chunk-JHHTHF5T.js} +2 -2
- package/__chunks__/{chunk-KREHJ27B.js → chunk-JME62QKU.js} +2 -2
- package/__chunks__/{chunk-BZ7JKIE2.js → chunk-JWRFTXRI.js} +2 -2
- package/__chunks__/chunk-JWRV5OR4.js +2 -0
- package/__chunks__/{chunk-XBWR6QVL.js → chunk-K2C3PZC4.js} +2 -2
- package/__chunks__/{chunk-DBYYILOA.js → chunk-K37YXRPF.js} +2 -2
- package/__chunks__/{chunk-55TWX2KL.js → chunk-KBTE6UHR.js} +2 -2
- package/__chunks__/{chunk-NST37LLV.js → chunk-KERQT6CP.js} +2 -2
- package/__chunks__/{chunk-PCEOHE4P.js → chunk-KJCPK623.js} +2 -2
- package/__chunks__/chunk-KJLJ5RVV.js +2 -0
- package/__chunks__/{chunk-RG5PYZJD.js → chunk-KKUAYYKA.js} +2 -2
- package/__chunks__/{chunk-IPQ75WSA.js → chunk-KPO7OQZG.js} +2 -2
- package/__chunks__/chunk-KREJHIKT.js +2 -0
- package/__chunks__/{chunk-YUMJQIEF.js → chunk-KVD2GK7Z.js} +2 -2
- package/__chunks__/chunk-L26FLXPJ.js +2 -0
- package/__chunks__/{chunk-7HX6CCY6.js → chunk-L2KAFWCO.js} +2 -2
- package/__chunks__/{chunk-A4FD5PVX.js → chunk-L5NPMWGV.js} +2 -2
- package/__chunks__/chunk-L73BOVD5.js +2 -0
- package/__chunks__/{chunk-ZHN6UHDQ.js → chunk-L75BQVGZ.js} +2 -2
- package/__chunks__/{chunk-7LSQ7ACU.js → chunk-LC5BNHXE.js} +2 -2
- package/__chunks__/{chunk-3O34BALI.js → chunk-LCJGCBS7.js} +2 -2
- package/__chunks__/chunk-LCXZXVDF.js +2 -0
- package/__chunks__/{chunk-N5RGN6AW.js → chunk-LEUMOZSE.js} +2 -2
- package/__chunks__/{chunk-X4XJKUDS.js → chunk-LIMM24M6.js} +2 -2
- package/__chunks__/chunk-LN4QIVIG.js +2 -0
- package/__chunks__/chunk-LNG3NB75.js +2 -0
- package/__chunks__/{chunk-MW2XHIFZ.js → chunk-LNH5FA34.js} +2 -2
- package/__chunks__/chunk-LQVN6UTC.js +2 -0
- package/__chunks__/{chunk-LLRPL7VG.js → chunk-LUBI2EG3.js} +2 -2
- package/__chunks__/{chunk-WDPVE2XW.js → chunk-LUHMTT2B.js} +2 -2
- package/__chunks__/{chunk-X3Q2IPVQ.js → chunk-LUIIIUZA.js} +2 -2
- package/__chunks__/{chunk-FJDOZ3X6.js → chunk-MEHYJDOE.js} +2 -2
- package/__chunks__/{chunk-YNT7TRXV.js → chunk-MG3XUBGY.js} +2 -2
- package/__chunks__/{chunk-JZTWJVWG.js → chunk-MKD6EXNM.js} +2 -2
- package/__chunks__/{chunk-N5D5BIIE.js → chunk-MMYDTJDU.js} +2 -2
- package/__chunks__/{chunk-HXG6DPBV.js → chunk-MOO7EYNQ.js} +2 -2
- package/__chunks__/chunk-MQV426QM.js +2 -0
- package/__chunks__/{chunk-OG7NSAVA.js → chunk-MRYYMHIK.js} +2 -2
- package/__chunks__/{chunk-5OF253YD.js → chunk-MSD53E4K.js} +2 -2
- package/__chunks__/chunk-MU6US6VC.js +2 -0
- package/__chunks__/chunk-MUXSCXCD.js +2 -0
- package/__chunks__/chunk-MYYPZXOH.js +2 -0
- package/__chunks__/{chunk-GZOFFTQZ.js → chunk-N3DIVLOK.js} +2 -2
- package/__chunks__/{chunk-ANJIBOLB.js → chunk-N3M4ENAJ.js} +2 -2
- package/__chunks__/{chunk-TIAN5FXB.js → chunk-N4FQNDIJ.js} +2 -2
- package/__chunks__/{chunk-GUWZWWUO.js → chunk-NC4XA3NF.js} +2 -2
- package/__chunks__/{chunk-YPW2QWVE.js → chunk-ND6O4JDM.js} +2 -2
- package/__chunks__/{chunk-OLD47LVY.js → chunk-NFTTCOLJ.js} +2 -2
- package/__chunks__/{chunk-FRVVBONN.js → chunk-NK7TCIMO.js} +2 -2
- package/__chunks__/chunk-NTUFZGTX.js +2 -0
- package/__chunks__/{chunk-CIXIB66V.js → chunk-NTVYVACP.js} +2 -2
- package/__chunks__/{chunk-Z3XCW7WY.js → chunk-O6QH74A7.js} +2 -2
- package/__chunks__/{chunk-NGEOSEE4.js → chunk-OBALNDRQ.js} +2 -2
- package/__chunks__/{chunk-GWJZAREP.js → chunk-OI37IHXZ.js} +2 -2
- package/__chunks__/chunk-OJTOC7IW.js +2 -0
- package/__chunks__/{chunk-JTZO5YEH.js → chunk-OVLIFZY2.js} +2 -2
- package/__chunks__/{chunk-WW3W2CHJ.js → chunk-OWAT2W3B.js} +2 -2
- package/__chunks__/{chunk-QYQP2MUH.js → chunk-P4KXGO65.js} +2 -2
- package/__chunks__/{chunk-TBPXAFJI.js → chunk-P6EU4QAK.js} +2 -2
- package/__chunks__/chunk-PC5RKLN2.js +2 -0
- package/__chunks__/{chunk-XCRCY2N2.js → chunk-PDZKTIMO.js} +2 -2
- package/__chunks__/{chunk-4N42UMTZ.js → chunk-PFHLXO4N.js} +2 -2
- package/__chunks__/{chunk-2BMVS5MO.js → chunk-PKMDIHIV.js} +2 -2
- package/__chunks__/{chunk-DF7MT5DM.js → chunk-PNTYCESC.js} +2 -2
- package/__chunks__/{chunk-W62XGHXQ.js → chunk-PUO5MCHD.js} +2 -2
- package/__chunks__/{chunk-ZKNJEXUK.js → chunk-PVDSFU5T.js} +2 -2
- package/__chunks__/{chunk-53D66PL3.js → chunk-PVSVQ7YT.js} +2 -2
- package/__chunks__/{chunk-IEWTO627.js → chunk-PVWM6SS6.js} +2 -2
- package/__chunks__/{chunk-3RUGJIXL.js → chunk-PVXQD4BF.js} +2 -2
- package/__chunks__/{chunk-OT3JKMQN.js → chunk-PYREV2ZY.js} +2 -2
- package/__chunks__/{chunk-E62ERLKG.js → chunk-Q3KFLYSY.js} +2 -2
- package/__chunks__/chunk-Q6JQBITH.js +2 -0
- package/__chunks__/chunk-QFFUAWS5.js +2 -0
- package/__chunks__/{chunk-S7LQA3H4.js → chunk-QIHYTPOD.js} +2 -2
- package/__chunks__/{chunk-5WHZXANI.js → chunk-QLENMWST.js} +2 -2
- package/__chunks__/{chunk-E7BL535N.js → chunk-QNDIHANQ.js} +2 -2
- package/__chunks__/{chunk-NHERXOOF.js → chunk-QRMMGWRR.js} +2 -2
- package/__chunks__/{chunk-57IYVSAC.js → chunk-QTTXTNUK.js} +2 -2
- package/__chunks__/{chunk-2K72YS2Q.js → chunk-QVG6SUQP.js} +2 -2
- package/__chunks__/{chunk-UCL3MGVD.js → chunk-QWHC3HIG.js} +2 -2
- package/__chunks__/{chunk-BO342HPT.js → chunk-R4DHX3NQ.js} +2 -2
- package/__chunks__/{chunk-O7RJLQVO.js → chunk-REEHQP26.js} +2 -2
- package/__chunks__/{chunk-QOEB4TKX.js → chunk-RHQ4LHVN.js} +2 -2
- package/__chunks__/{chunk-2ERYD4ZD.js → chunk-RLEDC4BC.js} +2 -2
- package/__chunks__/{chunk-KXNGKRWN.js → chunk-RMDS3DDD.js} +2 -2
- package/__chunks__/{chunk-KU7IS4LH.js → chunk-RMXWXRGE.js} +2 -2
- package/__chunks__/{chunk-E7QFSJPE.js → chunk-RPTSM4RX.js} +2 -2
- package/__chunks__/chunk-RPVTCMM6.js +2 -0
- package/__chunks__/{chunk-CKZEUQMT.js → chunk-RUIREAYF.js} +2 -2
- package/__chunks__/{chunk-MCXTDL7M.js → chunk-RV6FF2CX.js} +2 -2
- package/__chunks__/{chunk-NANP63QY.js → chunk-S2K2SGHM.js} +2 -2
- package/__chunks__/chunk-S45ZEHNQ.js +2 -0
- package/__chunks__/{chunk-IE3WVY56.js → chunk-S6NJ3A36.js} +2 -2
- package/__chunks__/{chunk-ITGCTIQR.js → chunk-S6W67CPT.js} +2 -2
- package/__chunks__/{chunk-J6PRBMY2.js → chunk-S77MBIXB.js} +2 -2
- package/__chunks__/{chunk-QJ7RAZOZ.js → chunk-SBMWXPZV.js} +2 -2
- package/__chunks__/{chunk-Y36SZKM5.js → chunk-SDQP2OPK.js} +2 -2
- package/__chunks__/{chunk-6WIVTBKC.js → chunk-SH7H776W.js} +2 -2
- package/__chunks__/{chunk-SSVFAPJV.js → chunk-SLT6MJJS.js} +2 -2
- package/__chunks__/{chunk-OREAUDQO.js → chunk-SMAJ4GGK.js} +2 -2
- package/__chunks__/chunk-SRGJF7BR.js +2 -0
- package/__chunks__/{chunk-2RGBIP6Q.js → chunk-SRMND6ED.js} +2 -2
- package/__chunks__/{chunk-FPSCZGXP.js → chunk-SUYYTEYG.js} +2 -2
- package/__chunks__/chunk-SWDQTHQX.js +2 -0
- package/__chunks__/{chunk-DYMBAFGH.js → chunk-SZNIRAZC.js} +2 -2
- package/__chunks__/{chunk-ZLLO4S7S.js → chunk-T762N6UR.js} +2 -2
- package/__chunks__/{chunk-FK32LI4J.js → chunk-TB3B27AI.js} +2 -2
- package/__chunks__/chunk-TFEUWC34.js +2 -0
- package/__chunks__/{chunk-SUSQBNBA.js → chunk-TGKOEL7F.js} +2 -2
- package/__chunks__/{chunk-6VYC5OKD.js → chunk-TJABPXRB.js} +2 -2
- package/__chunks__/{chunk-N6KMY3WS.js → chunk-TNYIO76V.js} +2 -2
- package/__chunks__/{chunk-N3K5DP6C.js → chunk-TPWVNO5G.js} +2 -2
- package/__chunks__/{chunk-QER724JH.js → chunk-TVS23C7E.js} +2 -2
- package/__chunks__/{chunk-J5NXQ44T.js → chunk-U2HW2MAL.js} +2 -2
- package/__chunks__/chunk-U2PIL2MO.js +2 -0
- package/__chunks__/{chunk-BCHXOUUJ.js → chunk-UC64N4JP.js} +2 -2
- package/__chunks__/chunk-UFOUFQKW.js +2 -0
- package/__chunks__/{chunk-VG2N5QZN.js → chunk-UFUQ2VAP.js} +2 -2
- package/__chunks__/{chunk-H3CUGDQT.js → chunk-UIYS6FI7.js} +2 -2
- package/__chunks__/chunk-UP54ASVU.js +2 -0
- package/__chunks__/chunk-URNNS54S.js +2 -0
- package/__chunks__/{chunk-D2ZNJPI4.js → chunk-UTP6CM2Y.js} +2 -2
- package/__chunks__/{chunk-MZFBK3MH.js → chunk-VGLPFJ6P.js} +2 -2
- package/__chunks__/{chunk-BHPLOUX5.js → chunk-VJYWU7V5.js} +2 -2
- package/__chunks__/{chunk-IN5BY72I.js → chunk-VMI37GBI.js} +2 -2
- package/__chunks__/{chunk-ULZXTWWQ.js → chunk-VPTKWT3P.js} +2 -2
- package/__chunks__/{chunk-RV633TYI.js → chunk-VPU7K4YP.js} +2 -2
- package/__chunks__/{chunk-VJPHESXT.js → chunk-VSK5GVNM.js} +2 -2
- package/__chunks__/chunk-VWAE22CC.js +2 -0
- package/__chunks__/chunk-VWEVXCSN.js +2 -0
- package/__chunks__/{chunk-V4P5UPHO.js → chunk-VXMQPK7N.js} +2 -2
- package/__chunks__/chunk-VYDHTNC5.js +2 -0
- package/__chunks__/chunk-WPB6JHJR.js +2 -0
- package/__chunks__/{chunk-MTONUUKX.js → chunk-WPUAIQXX.js} +2 -2
- package/__chunks__/{chunk-WQGUXW72.js → chunk-WQIG4D3T.js} +2 -2
- package/__chunks__/{chunk-LM4U25YU.js → chunk-WSOVW2OY.js} +2 -2
- package/__chunks__/{chunk-YGMQXUMC.js → chunk-WUFKG5YS.js} +2 -2
- package/__chunks__/{chunk-HPZDSCI6.js → chunk-WUKGWGMT.js} +2 -2
- package/__chunks__/chunk-WZABT6B3.js +2 -0
- package/__chunks__/{chunk-W5HTJUFS.js → chunk-X4GU63UJ.js} +2 -2
- package/__chunks__/{chunk-JWPAUWS5.js → chunk-XATI4SUH.js} +2 -2
- package/__chunks__/{chunk-FKCNM2K3.js → chunk-XCH5U3E5.js} +2 -2
- package/__chunks__/{chunk-BK6MHHKQ.js → chunk-XFDEGBN7.js} +2 -2
- package/__chunks__/{chunk-E2UYWEIE.js → chunk-XHW5SCXJ.js} +2 -2
- package/__chunks__/{chunk-LVZMEOPI.js → chunk-XIRV4TLJ.js} +2 -2
- package/__chunks__/{chunk-RWI5W7N3.js → chunk-XRXPEKRY.js} +2 -2
- package/__chunks__/{chunk-62WIQJ6C.js → chunk-XXDCUCVH.js} +2 -2
- package/__chunks__/{chunk-A2VXYBDC.js → chunk-Y2ZWEIYT.js} +2 -2
- package/__chunks__/{chunk-K77PSVIN.js → chunk-Y3IW7UJ7.js} +2 -2
- package/__chunks__/{chunk-33HBGMZG.js → chunk-Y4FYOO4G.js} +2 -2
- package/__chunks__/{chunk-BSUMT4SS.js → chunk-YCYU4A2U.js} +2 -2
- package/__chunks__/chunk-YE43KXCX.js +2 -0
- package/__chunks__/{chunk-MAPRBRT2.js → chunk-YGB7YFW4.js} +2 -2
- package/__chunks__/chunk-YGFJVLQ4.js +2 -0
- package/__chunks__/chunk-YIDZRVDG.js +2 -0
- package/__chunks__/{chunk-YEJ3T2VF.js → chunk-YJAR447O.js} +2 -2
- package/__chunks__/{chunk-4HKT77ZD.js → chunk-YLPIJILC.js} +2 -2
- package/__chunks__/chunk-YNIWCOGZ.js +2 -0
- package/__chunks__/chunk-YPR7OO6R.js +2 -0
- package/__chunks__/{chunk-EOATHPT6.js → chunk-YSVHWRCQ.js} +2 -2
- package/__chunks__/{chunk-QQ4N3P62.js → chunk-YTACLQVY.js} +2 -2
- package/__chunks__/{chunk-ZWQBM3X3.js → chunk-YUD2DSWV.js} +2 -2
- package/__chunks__/{chunk-B64H62WZ.js → chunk-YWAE2VCT.js} +2 -2
- package/__chunks__/chunk-YZYRF7Y5.js +2 -0
- package/__chunks__/{chunk-REW5VIRV.js → chunk-Z32UGUMP.js} +2 -2
- package/__chunks__/{chunk-3MHO2PI2.js → chunk-ZC6EOJTP.js} +2 -2
- package/__chunks__/{chunk-ZYA573UA.js → chunk-ZDSLVLAA.js} +2 -2
- package/__chunks__/{chunk-NY2AEE55.js → chunk-ZEYLIVXH.js} +2 -2
- package/__chunks__/{chunk-W6UGF3HH.js → chunk-ZF6D75T4.js} +2 -2
- package/__chunks__/chunk-ZLJK3JRS.js +2 -0
- package/__chunks__/{chunk-7BIBNXKM.js → chunk-ZSKDF3AC.js} +2 -2
- package/__commonjs/UI/Balance/Balance.js +3 -3
- package/__commonjs/UI/Balance/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +7 -7
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +16 -16
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +7 -7
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +16 -16
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +2 -2
- package/__commonjs/UI/index.js +17 -17
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/__commonjs/__mocks__/index.js +3 -3
- package/__commonjs/__mocks__/utils/index.js +3 -3
- package/__commonjs/__mocks__/utils/renderWithProvider.js +3 -3
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.d.ts +2 -0
- package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/helpers/notInitializedError.d.ts +2 -0
- package/__commonjs/providers/experimentalWebViewProvider/helpers/notInitializedError.js +9 -0
- package/__commonjs/providers/experimentalWebViewProvider/helpers/webviewProviderEventHandler.d.ts +9 -0
- package/__commonjs/providers/experimentalWebViewProvider/helpers/webviewProviderEventHandler.js +9 -0
- package/__commonjs/providers/experimentalWebViewProvider/index.js +1 -1
- package/__commonjs/types/enums.types.d.ts +2 -0
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
- package/__commonjs/wrappers/DappProvider/index.js +3 -3
- package/__commonjs/wrappers/index.js +3 -3
- 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/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processMultisigAccount.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/useGetAccountFromApi.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +2 -2
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.d.ts +2 -0
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/helpers/notInitializedError.d.ts +2 -0
- package/providers/experimentalWebViewProvider/helpers/notInitializedError.js +2 -0
- package/providers/experimentalWebViewProvider/helpers/webviewProviderEventHandler.d.ts +9 -0
- package/providers/experimentalWebViewProvider/helpers/webviewProviderEventHandler.js +2 -0
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/enums.types.d.ts +2 -0
- package/types/index.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/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/decoders/index.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/internal/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getDataPayloadForTransaction.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/getTransactionLink.js +1 -1
- package/utils/transactions/getUsernameForTransaction.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/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/decodeByMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/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-2MX5NY6P.js +0 -2
- package/__chunks__/chunk-2SGND5VW.js +0 -2
- package/__chunks__/chunk-3HCYF6NH.js +0 -2
- package/__chunks__/chunk-3WMTU7D6.js +0 -2
- package/__chunks__/chunk-46RQXWFP.js +0 -2
- package/__chunks__/chunk-4U5X73LG.js +0 -2
- package/__chunks__/chunk-52I2BI6Z.js +0 -2
- package/__chunks__/chunk-5JBGLREC.js +0 -2
- package/__chunks__/chunk-5SYUFB4T.js +0 -2
- package/__chunks__/chunk-67GE423Z.js +0 -2
- package/__chunks__/chunk-6JWZU7PL.js +0 -2
- package/__chunks__/chunk-6RYERRD4.js +0 -2
- package/__chunks__/chunk-6YQCBWBA.js +0 -2
- package/__chunks__/chunk-AJK4FD6T.js +0 -2
- package/__chunks__/chunk-AZFHCNC6.js +0 -2
- package/__chunks__/chunk-CRTIH7AP.js +0 -2
- package/__chunks__/chunk-D622OYEQ.js +0 -2
- package/__chunks__/chunk-DSBFDCAY.js +0 -2
- package/__chunks__/chunk-DXGD2GVF.js +0 -2
- package/__chunks__/chunk-DYDE4DDN.js +0 -2
- package/__chunks__/chunk-EHWX4J2R.js +0 -2
- package/__chunks__/chunk-ESLS6YRW.js +0 -2
- package/__chunks__/chunk-FSHUNDGU.js +0 -2
- package/__chunks__/chunk-FXYRRW3E.js +0 -2
- package/__chunks__/chunk-G2LKHDIP.js +0 -2
- package/__chunks__/chunk-GB7QG654.js +0 -2
- package/__chunks__/chunk-H6WJP47W.js +0 -2
- package/__chunks__/chunk-HCMZNSGG.js +0 -2
- package/__chunks__/chunk-HFAS7WJT.js +0 -2
- package/__chunks__/chunk-HOOXIO4A.js +0 -2
- package/__chunks__/chunk-I42LHUQH.js +0 -2
- package/__chunks__/chunk-IEDR2E5J.js +0 -2
- package/__chunks__/chunk-IZFMBOQX.js +0 -2
- package/__chunks__/chunk-JCY3XPSZ.js +0 -2
- package/__chunks__/chunk-JJQABQAC.js +0 -2
- package/__chunks__/chunk-K4GUVAWS.js +0 -2
- package/__chunks__/chunk-K7N5ME2C.js +0 -2
- package/__chunks__/chunk-KDTMCH6U.js +0 -2
- package/__chunks__/chunk-KOQMQ6NG.js +0 -2
- package/__chunks__/chunk-L7K7RJH7.js +0 -2
- package/__chunks__/chunk-LLC3UDRN.js +0 -2
- package/__chunks__/chunk-M2ZHAKMS.js +0 -2
- package/__chunks__/chunk-MJ4S3KAV.js +0 -2
- package/__chunks__/chunk-MTTVEC3D.js +0 -2
- package/__chunks__/chunk-O7VKOZ6K.js +0 -2
- package/__chunks__/chunk-OMAHG3SX.js +0 -2
- package/__chunks__/chunk-P3BXGRI4.js +0 -2
- package/__chunks__/chunk-P65Y7FVM.js +0 -2
- package/__chunks__/chunk-QAUY7FPF.js +0 -2
- package/__chunks__/chunk-QGMCEQ74.js +0 -2
- package/__chunks__/chunk-QSMJSG2S.js +0 -2
- package/__chunks__/chunk-QSZ4OR7T.js +0 -2
- package/__chunks__/chunk-RBK3B5XU.js +0 -2
- package/__chunks__/chunk-RX2NGJSD.js +0 -2
- package/__chunks__/chunk-S3KD5KK2.js +0 -2
- package/__chunks__/chunk-SQ7M7N35.js +0 -2
- package/__chunks__/chunk-TBTWHMSN.js +0 -2
- package/__chunks__/chunk-TQXBCQQK.js +0 -2
- package/__chunks__/chunk-TS765RFJ.js +0 -2
- package/__chunks__/chunk-TT2ZPCXX.js +0 -2
- package/__chunks__/chunk-TV4V2DZI.js +0 -2
- package/__chunks__/chunk-U4VASFRN.js +0 -2
- package/__chunks__/chunk-UKMQXP4L.js +0 -2
- package/__chunks__/chunk-W543P3II.js +0 -2
- package/__chunks__/chunk-WAYLHTCR.js +0 -2
- package/__chunks__/chunk-WG3ZMB32.js +0 -2
- package/__chunks__/chunk-WOSJM5SC.js +0 -2
- package/__chunks__/chunk-YXJVLN63.js +0 -2
- package/__chunks__/chunk-ZHUIQSVX.js +0 -2
- package/__chunks__/chunk-ZTTE3F5O.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Io=Object.create;var ae=Object.defineProperty,ko=Object.defineProperties,Lo=Object.getOwnPropertyDescriptor,Ro=Object.getOwnPropertyDescriptors,Eo=Object.getOwnPropertyNames,kt=Object.getOwnPropertySymbols,Co=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Po=Object.prototype.propertyIsEnumerable;var Lt=(t,e,r)=>e in t?ae(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))Rt.call(e,r)&&Lt(t,r,e[r]);if(kt)for(var r of kt(e))Po.call(e,r)&&Lt(t,r,e[r]);return t},k=(t,e)=>ko(t,Ro(e));var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var L=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),z=(t,e)=>{for(var r in e)ae(t,r,{get:e[r],enumerable:!0})},Et=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Eo(e))!Rt.call(t,o)&&o!==r&&ae(t,o,{get:()=>e[o],enumerable:!(n=Lo(e,o))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?Io(Co(t)):{},Et(e||!t||!t.__esModule?ae(r,"default",{value:t,enumerable:!0}):r,t)),se=t=>Et(ae({},"__esModule",{value:!0}),t);var R=(t,e,r)=>new Promise((n,o)=>{var i=g=>{try{u(r.next(g))}catch(m){o(m)}},s=g=>{try{u(r.throw(g))}catch(m){o(m)}},u=g=>g.done?n(g.value):Promise.resolve(g.value).then(i,s);u((r=r.apply(t,e)).next())});var _t=L(xe=>{"use strict";a();xe.byteLength=No;xe.toByteArray=Bo;xe.fromByteArray=Do;var _=[],E=[],_o=typeof Uint8Array!="undefined"?Uint8Array:Array,Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Y=0,Ct=Je.length;Y<Ct;++Y)_[Y]=Je[Y],E[Je.charCodeAt(Y)]=Y;var Y,Ct;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function Pt(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function No(t){var e=Pt(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Mo(t,e,r){return(e+r)*3/4-r}function Bo(t){var e,r=Pt(t),n=r[0],o=r[1],i=new _o(Mo(t,n,o)),s=0,u=o>0?n-4:n,g;for(g=0;g<u;g+=4)e=E[t.charCodeAt(g)]<<18|E[t.charCodeAt(g+1)]<<12|E[t.charCodeAt(g+2)]<<6|E[t.charCodeAt(g+3)],i[s++]=e>>16&255,i[s++]=e>>8&255,i[s++]=e&255;return o===2&&(e=E[t.charCodeAt(g)]<<2|E[t.charCodeAt(g+1)]>>4,i[s++]=e&255),o===1&&(e=E[t.charCodeAt(g)]<<10|E[t.charCodeAt(g+1)]<<4|E[t.charCodeAt(g+2)]>>2,i[s++]=e>>8&255,i[s++]=e&255),i}function Fo(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function Oo(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(t[i+2]&255),o.push(Fo(n));return o.join("")}function Do(t){for(var e,r=t.length,n=r%3,o=[],i=16383,s=0,u=r-n;s<u;s+=i)o.push(Oo(t,s,s+i>u?u:s+i));return n===1?(e=t[r-1],o.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),o.join("")}});var Nt=L(Ze=>{a();Ze.read=function(t,e,r,n,o){var i,s,u=o*8-n-1,g=(1<<u)-1,m=g>>1,T=-7,y=r?o-1:0,v=r?-1:1,b=t[e+y];for(y+=v,i=b&(1<<-T)-1,b>>=-T,T+=u;T>0;i=i*256+t[e+y],y+=v,T-=8);for(s=i&(1<<-T)-1,i>>=-T,T+=n;T>0;s=s*256+t[e+y],y+=v,T-=8);if(i===0)i=1-m;else{if(i===g)return s?NaN:(b?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-m}return(b?-1:1)*s*Math.pow(2,i-n)};Ze.write=function(t,e,r,n,o,i){var s,u,g,m=i*8-o-1,T=(1<<m)-1,y=T>>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:i-1,O=n?1:-1,he=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=T):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+y>=1?e+=v/g:e+=v*Math.pow(2,1-y),e*g>=2&&(s++,g/=2),s+y>=T?(u=0,s=T):s+y>=1?(u=(e*g-1)*Math.pow(2,o),s=s+y):(u=e*Math.pow(2,y-1)*Math.pow(2,o),s=0));o>=8;t[r+b]=u&255,b+=O,u/=256,o-=8);for(s=s<<o|u,m+=o;m>0;t[r+b]=s&255,b+=O,s/=256,m-=8);t[r+b-O]|=he*128}});var zt=L(ee=>{"use strict";a();var Qe=_t(),Q=Nt(),Mt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=c;ee.SlowBuffer=Ho;ee.INSPECT_MAX_BYTES=50;var Se=2147483647;ee.kMaxLength=Se;c.TYPED_ARRAY_SUPPORT=Uo();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Uo(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(t){if(t>Se)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nt(t)}return Ot(t,e,r)}c.poolSize=8192;function Ot(t,e,r){if(typeof t=="string")return Go(t,e);if(ArrayBuffer.isView(t))return Vo(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(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return tt(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var o=qo(t);if(o)return o;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Ot(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Dt(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 Wo(t,e,r){return Dt(t),t<=0?U(t):e!==void 0?typeof r=="string"?U(t).fill(e,r):U(t).fill(e):U(t)}c.alloc=function(t,e,r){return Wo(t,e,r)};function nt(t){return Dt(t),U(t<0?0:ot(t)|0)}c.allocUnsafe=function(t){return nt(t)};c.allocUnsafeSlow=function(t){return nt(t)};function Go(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ut(t,e)|0,n=U(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function et(t){for(var e=t.length<0?0:ot(t.length)|0,r=U(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Vo(t){if(N(t,Uint8Array)){var e=new Uint8Array(t);return tt(e.buffer,e.byteOffset,e.byteLength)}return et(t)}function tt(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function qo(t){if(c.isBuffer(t)){var e=ot(t.length)|0,r=U(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||it(t.length)?U(0):et(t);if(t.type==="Buffer"&&Array.isArray(t.data))return et(t.data)}function ot(t){if(t>=Se)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Se.toString(16)+" bytes");return t|0}function Ho(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(N(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),N(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,o=r.length,i=0,s=Math.min(n,o);i<s;++i)if(e[i]!==r[i]){n=e[i],o=r[i];break}return n<o?-1:o<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=c.allocUnsafe(r),i=0;for(n=0;n<e.length;++n){var s=e[n];if(N(s,Uint8Array))i+s.length>o.length?c.from(s).copy(o,i):Uint8Array.prototype.set.call(o,s,i);else if(c.isBuffer(s))s.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=s.length}return o};function Ut(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return jt(t).length;default:if(o)return n?-1:rt(t).length;e=(""+e).toLowerCase(),o=!0}}c.byteLength=Ut;function jo(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ti(this,e,r);case"utf8":case"utf-8":return Gt(this,e,r);case"ascii":return Qo(this,e,r);case"latin1":case"binary":return ei(this,e,r);case"base64":return Jo(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ri(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)$(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)$(this,r,r+3),$(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)$(this,r,r+7),$(this,r+1,r+6),$(this,r+2,r+5),$(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Gt(this,0,e):jo.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=ee.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Mt&&(c.prototype[Mt]=c.prototype.inspect);c.prototype.compare=function(e,r,n,o,i){if(N(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var s=i-o,u=n-r,g=Math.min(s,u),m=this.slice(o,i),T=e.slice(r,n),y=0;y<g;++y)if(m[y]!==T[y]){s=m[y],u=T[y];break}return s<u?-1:u<s?1:0};function Wt(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,it(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Bt(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Bt(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Bt(t,e,r,n,o){var i=1,s=t.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;i=2,s/=2,u/=2,r/=2}function g(b,O){return i===1?b[O]:b.readUInt16BE(O*i)}var m;if(o){var T=-1;for(m=r;m<s;m++)if(g(t,m)===g(e,T===-1?0:m-T)){if(T===-1&&(T=m),m-T+1===u)return T*i}else T!==-1&&(m-=m-T),T=-1}else for(r+u>s&&(r=s-u),m=r;m>=0;m--){for(var y=!0,v=0;v<u;v++)if(g(t,m+v)!==g(e,v)){y=!1;break}if(y)return m}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return Wt(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return Wt(this,e,r,n,!1)};function zo(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(s*2,2),16);if(it(u))return s;t[r+s]=u}return s}function Ko(t,e,r,n){return we(rt(e,t.length-r),t,r,n)}function Yo(t,e,r,n){return we(ii(e),t,r,n)}function $o(t,e,r,n){return we(jt(e),t,r,n)}function Xo(t,e,r,n){return we(ai(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-r;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var s=!1;;)switch(o){case"hex":return zo(this,e,r,n);case"utf8":case"utf-8":return Ko(this,e,r,n);case"ascii":case"latin1":case"binary":return Yo(this,e,r,n);case"base64":return $o(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xo(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Jo(t,e,r){return e===0&&r===t.length?Qe.fromByteArray(t):Qe.fromByteArray(t.slice(e,r))}function Gt(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i=t[o],s=null,u=i>239?4:i>223?3:i>191?2:1;if(o+u<=r){var g,m,T,y;switch(u){case 1:i<128&&(s=i);break;case 2:g=t[o+1],(g&192)===128&&(y=(i&31)<<6|g&63,y>127&&(s=y));break;case 3:g=t[o+1],m=t[o+2],(g&192)===128&&(m&192)===128&&(y=(i&15)<<12|(g&63)<<6|m&63,y>2047&&(y<55296||y>57343)&&(s=y));break;case 4:g=t[o+1],m=t[o+2],T=t[o+3],(g&192)===128&&(m&192)===128&&(T&192)===128&&(y=(i&15)<<18|(g&63)<<12|(m&63)<<6|T&63,y>65535&&y<1114112&&(s=y))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=u}return Zo(n)}var Ft=4096;function Zo(t){var e=t.length;if(e<=Ft)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ft));return r}function Qo(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function ei(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function ti(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=si[t[i]];return o}function ri(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,c.prototype),o};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,s=0;++s<r&&(i*=256);)o+=this[e+s]*i;return o};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e+--r],i=1;r>0&&(i*=256);)o+=this[e+--r]*i;return o};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,s=0;++s<r&&(i*=256);)o+=this[e+s]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=r,i=1,s=this[e+--o];o>0&&(i*=256);)s+=this[e+--o]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),Q.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),Q.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),Q.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),Q.read(this,e,!1,52,8)};function A(t,e,r,n,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;A(this,e,r,n,i,0)}var s=1,u=0;for(this[r]=e&255;++u<n&&(s*=256);)this[r+u]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;A(this,e,r,n,i,0)}var s=n-1,u=1;for(this[r+s]=e&255;--s>=0&&(u*=256);)this[r+s]=e/u&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);A(this,e,r,n,i-1,-i)}var s=0,u=1,g=0;for(this[r]=e&255;++s<n&&(u*=256);)e<0&&g===0&&this[r+s-1]!==0&&(g=1),this[r+s]=(e/u>>0)-g&255;return r+n};c.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);A(this,e,r,n,i-1,-i)}var s=n-1,u=1,g=0;for(this[r+s]=e&255;--s>=0&&(u*=256);)e<0&&g===0&&this[r+s+1]!==0&&(g=1),this[r+s]=(e/u>>0)-g&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Vt(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function qt(t,e,r,n,o){return e=+e,r=r>>>0,o||Vt(t,e,r,4,34028234663852886e22,-34028234663852886e22),Q.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return qt(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return qt(this,e,r,!1,n)};function Ht(t,e,r,n,o){return e=+e,r=r>>>0,o||Vt(t,e,r,8,17976931348623157e292,-17976931348623157e292),Q.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return Ht(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return Ht(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var i=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),i};c.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var i=e.charCodeAt(0);(o==="utf8"&&i<128||o==="latin1")&&(e=i)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var u=c.isBuffer(e)?e:c.from(e,o),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=u[s%g]}return this};var ni=/[^+/0-9A-Za-z-_]/g;function oi(t){if(t=t.split("=")[0],t=t.trim().replace(ni,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function rt(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function ii(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function ai(t,e){for(var r,n,o,i=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function jt(t){return Qe.toByteArray(oi(t))}function we(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function N(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function it(t){return t!==t}var si=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()});var Jt=L((qa,Xt)=>{a();var x=Xt.exports={},M,B;function at(){throw new Error("setTimeout has not been defined")}function st(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?M=setTimeout:M=at}catch(t){M=at}try{typeof clearTimeout=="function"?B=clearTimeout:B=st}catch(t){B=st}})();function Kt(t){if(M===setTimeout)return setTimeout(t,0);if((M===at||!M)&&setTimeout)return M=setTimeout,setTimeout(t,0);try{return M(t,0)}catch(e){try{return M.call(null,t,0)}catch(r){return M.call(this,t,0)}}}function ci(t){if(B===clearTimeout)return clearTimeout(t);if((B===st||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(e){try{return B.call(null,t)}catch(r){return B.call(this,t)}}}var W=[],te=!1,X,be=-1;function li(){!te||!X||(te=!1,X.length?W=X.concat(W):be=-1,W.length&&Yt())}function Yt(){if(!te){var t=Kt(li);te=!0;for(var e=W.length;e;){for(X=W,W=[];++be<e;)X&&X[be].run();be=-1,e=W.length}X=null,te=!1,ci(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];W.push(new $t(t,e)),W.length===1&&!te&&Kt(Yt)};function $t(t,e){this.fun=t,this.array=e}$t.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function G(){}x.on=G;x.addListener=G;x.once=G;x.off=G;x.removeListener=G;x.removeAllListeners=G;x.emit=G;x.prependListener=G;x.prependOnceListener=G;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var p,d,pi,l,a=f(()=>{p=K(zt()),d=K(Jt()),pi=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object),l=pi});var Zt=f(()=>{"use strict";a()});var Qt=f(()=>{"use strict";a()});var er=f(()=>{"use strict";a()});var tr=f(()=>{"use strict";a()});var rr=f(()=>{"use strict";a()});var ct=f(()=>{"use strict";a()});var nr=f(()=>{"use strict";a()});var or=f(()=>{"use strict";a()});var ir=f(()=>{"use strict";a()});var ar=f(()=>{"use strict";a()});var ve,sr,Qa,cr,es,re=f(()=>{"use strict";a();ve=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types"),sr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(sr||{}),Qa=h(h({},ve.CrossWindowProviderRequestEnums),sr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),es=h(h({},ve.CrossWindowProviderResponseEnums),cr)});var lr=f(()=>{"use strict";a()});var pr=f(()=>{"use strict";a()});var dr=f(()=>{"use strict";a()});var ur=f(()=>{"use strict";a()});var gr=f(()=>{"use strict";a()});var fr=f(()=>{"use strict";a()});var ce=f(()=>{"use strict";a();or();ir();ar();re();lr();pr();dr();ur();gr();fr()});var lt,mr,Ts,yr,hs,Tr,xs,Ss,ws,hr=f(()=>{"use strict";a();ce();lt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:mr,egldLabel:Ts}=lt["devnet"],{chainId:yr,egldLabel:hs}=lt["testnet"],{chainId:Tr,egldLabel:xs}=lt["mainnet"],Ss={["devnet"]:mr,["testnet"]:yr,["mainnet"]:Tr},ws={[mr]:"devnet",[yr]:"testnet",[Tr]:"mainnet"}});var xr=f(()=>{"use strict";a()});var F,Sr=f(()=>{"use strict";a();F=require("@multiversx/sdk-web-wallet-provider")});var Ae,wr,br,le=f(()=>{"use strict";a();Zt();Qt();er();tr();rr();ct();nr();hr();xr();Sr();Ae="logout",wr="login",br="0"});var pt,S,ne,C=f(()=>{"use strict";a();pt=require("@reduxjs/toolkit");le();S=(0,pt.createAction)(Ae),ne=(0,pt.createAction)(wr,t=>({payload:t}))});var Ie,dt=f(()=>{"use strict";a();Ie=()=>Date.now()/1e3});var vr=f(()=>{"use strict";a()});var Ar=f(()=>{"use strict";a()});var Ir=f(()=>{"use strict";a();dt();vr();Ar()});var ut={};z(ut,{clear:()=>fi,getItem:()=>ui,localStorageKeys:()=>J,removeItem:()=>gi,setItem:()=>di});var J,ke,di,ui,gi,fi,pe=f(()=>{"use strict";a();Ir();J={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ke=typeof localStorage!="undefined",di=({key:t,data:e,expires:r})=>{!ke||localStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},ui=t=>{if(!ke)return;let e=localStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ie()>=r.expires?(localStorage.removeItem(String(t)),null):r.data},gi=t=>{!ke||localStorage.removeItem(String(t))},fi=()=>{!ke||localStorage.clear()}});var gt={};z(gt,{clear:()=>Er,getItem:()=>Lr,removeItem:()=>Rr,setItem:()=>kr,storage:()=>mi});var kr,Lr,Rr,Er,mi,Cr=f(()=>{"use strict";a();kr=({key:t,data:e,expires:r})=>{sessionStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Lr=t=>{let e=sessionStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(t)),null):r.data},Rr=t=>sessionStorage.removeItem(String(t)),Er=()=>sessionStorage.clear(),mi={setItem:kr,getItem:Lr,removeItem:Rr,clear:Er}});var oe,Le=f(()=>{"use strict";a();pe();Cr();oe={session:gt,local:ut}});var mt,Pr,_r,Nr,ft,Mr,Br,Qs,Fr,ec,tc,rc,nc,oc,ic,ac,sc,Re,Ee=f(()=>{"use strict";a();mt=require("@multiversx/sdk-core"),Pr=require("@reduxjs/toolkit"),_r=require("redux-persist");le();Le();pe();C();Nr={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:br},ft={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Nr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Mr=(0,Pr.createSlice)({name:"accountInfoSlice",initialState:ft,reducers:{setAddress:(t,e)=>{let r=e.payload;t.address=r,t.publicKey=new mt.Address(r).hex()},setAccount:(t,e)=>{let r=t.address===e.payload.address;t.accounts={[t.address]:r?e.payload:Nr},t.shard=e.payload.shard,t.isAccountLoading=!1,t.accountLoadingError=null},setAccountNonce:(t,e)=>{let{address:r}=t;t.accounts[r].nonce=e.payload},setAccountShard:(t,e)=>{t.shard=e.payload},setLedgerAccount:(t,e)=>{t.ledgerAccount=e.payload},updateLedgerAccount:(t,e)=>{t.ledgerAccount!=null&&(t.ledgerAccount.index=e.payload.index,t.ledgerAccount.address=e.payload.address)},setWalletConnectAccount:(t,e)=>{t.walletConnectAccount=e.payload},setIsAccountLoading:(t,e)=>{t.isAccountLoading=e.payload,t.accountLoadingError=null},setAccountLoadingError:(t,e)=>{t.accountLoadingError=e.payload,t.isAccountLoading=!1},setWebsocketEvent:(t,e)=>{t.websocketEvent={timestamp:Date.now(),message:e.payload}},setWebsocketBatchEvent:(t,e)=>{t.websocketBatchEvent={timestamp:Date.now(),data:e.payload}}},extraReducers:t=>{t.addCase(S,()=>(oe.local.removeItem(J.loginExpiresAt),ft)),t.addCase(ne,(e,r)=>{let{address:n}=r.payload;e.address=n,e.publicKey=new mt.Address(n).hex()}),t.addCase(_r.REHYDRATE,(e,r)=>{var m;if(!((m=r.payload)!=null&&m.account))return;let{account:n}=r.payload,{address:o,shard:i,accounts:s,publicKey:u}=n;e.address=o,e.shard=i;let g=s&&o in s;e.accounts=g?s:ft.accounts,e.publicKey=u})}}),{setAccount:Br,setAddress:Qs,setAccountNonce:Fr,setAccountShard:ec,setLedgerAccount:tc,updateLedgerAccount:rc,setWalletConnectAccount:nc,setIsAccountLoading:oc,setAccountLoadingError:ic,setWebsocketEvent:ac,setWebsocketBatchEvent:sc}=Mr.actions,Re=Mr.reducer});function de(){return new Date().setHours(new Date().getHours()+24)}function ue(t){oe.local.setItem({key:J.loginExpiresAt,data:t,expires:t})}var yt=f(()=>{"use strict";a();Le();pe()});var Ur,Or,Wr,Tc,hc,xc,Gr,Sc,wc,Vr,bc,vc,Ce,Pe=f(()=>{"use strict";a();Ur=require("@reduxjs/toolkit");yt();re();C();Or={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},Wr=(0,Ur.createSlice)({name:"loginInfoSlice",initialState:Or,reducers:{setLoginMethod:(t,e)=>{t.loginMethod=e.payload},setTokenLogin:(t,e)=>{t.tokenLogin=e.payload},setTokenLoginSignature:(t,e)=>{(t==null?void 0:t.tokenLogin)!=null&&(t.tokenLogin.signature=e.payload)},setWalletLogin:(t,e)=>{t.walletLogin=e.payload},setWalletConnectLogin:(t,e)=>{t.walletConnectLogin=e.payload},setLedgerLogin:(t,e)=>{t.ledgerLogin=e.payload},invalidateLoginSession:t=>{t.isLoginSessionInvalid=!0},setLogoutRoute:(t,e)=>{t.logoutRoute=e.payload},setIsWalletConnectV2Initialized:(t,e)=>{t.isWalletConnectV2Initialized=e.payload}},extraReducers:t=>{t.addCase(S,()=>Or),t.addCase(ne,(e,r)=>{e.isLoginSessionInvalid=!1,e.loginMethod=r.payload.loginMethod,ue(de())})}}),{setLoginMethod:Tc,setWalletConnectLogin:hc,setLedgerLogin:xc,setTokenLogin:Gr,setTokenLoginSignature:Sc,setWalletLogin:wc,invalidateLoginSession:Vr,setLogoutRoute:bc,setIsWalletConnectV2Initialized:vc}=Wr.actions,Ce=Wr.reducer});var Hr,qr,jr,Lc,Rc,Ec,Cc,_e,Ne=f(()=>{"use strict";a();Hr=require("@reduxjs/toolkit");C();qr={},jr=(0,Hr.createSlice)({name:"modalsSlice",initialState:qr,reducers:{setTxSubmittedModal:(t,e)=>{t.txSubmittedModal=e.payload},setNotificationModal:(t,e)=>{t.notificationModal=e.payload},clearTxSubmittedModal:t=>{t.txSubmittedModal=void 0},clearNotificationModal:t=>{t.notificationModal=void 0}},extraReducers:t=>{t.addCase(S,()=>qr)}}),{setTxSubmittedModal:Lc,setNotificationModal:Rc,clearTxSubmittedModal:Ec,clearNotificationModal:Cc}=jr.actions,_e=jr.reducer});var zr=f(()=>{"use strict";a()});var Kr=f(()=>{"use strict";a();zr()});function Yr(t){return t[Math.floor(Math.random()*t.length)]}var $r=f(()=>{"use strict";a()});var Xr=f(()=>{"use strict";a();ct()});var Jr=f(()=>{"use strict";a();Kr();$r();Xr()});var Zr,Qr,en,Tt,yi,tn,Kc,Yc,$c,Me,Be=f(()=>{"use strict";a();Zr=require("@reduxjs/toolkit"),Qr=K(require("lodash.omit")),en=require("redux-persist");C();Jr();Tt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},yi={network:Tt,chainID:"-1"},tn=(0,Zr.createSlice)({name:"appConfig",initialState:yi,reducers:{initializeNetworkConfig:(t,e)=>{let r=Yr(e.payload.walletConnectV2RelayAddresses),n=(0,Qr.default)(e.payload,"walletConnectV2RelayAddresses");t.network=k(h(h({},t.network),n),{walletConnectV2RelayAddress:r})},setChainID:(t,e)=>{t.chainID=e.payload},setCustomWalletAddress:(t,e)=>{t.network.customWalletAddress=e.payload}},extraReducers:t=>{t.addCase(S,e=>{e.network.customWalletAddress=void 0}),t.addCase(en.REHYDRATE,(e,r)=>{var o,i;if(!((i=(o=r.payload)==null?void 0:o.network)!=null&&i.customWalletAddress))return;let{network:{customWalletAddress:n}}=r.payload;e.network.customWalletAddress=n})}}),{initializeNetworkConfig:Kc,setChainID:Yc,setCustomWalletAddress:$c}=tn.actions,Me=tn.reducer});var rn,ht,nn,tl,rl,nl,Fe,Oe=f(()=>{"use strict";a();rn=require("@reduxjs/toolkit");ce();C();ht={isSigning:!1,signedSessions:{}},nn=(0,rn.createSlice)({name:"signedMessageInfoSliceState",initialState:ht,reducers:{setSignSession:(t,e)=>{let{sessionId:r,signedSession:n,errorMessage:o}=e.payload;o&&(t.errorMessage=o),t.isSigning=n.status==="pending",t.signedSessions[r]=h(h({},t.signedSessions[r]),n)},setSignSessionState:(t,e)=>h(h({},t),e.payload),clearSignedMessageInfo:()=>ht},extraReducers:t=>{t.addCase(S,()=>ht)}}),{setSignSession:tl,clearSignedMessageInfo:rl,setSignSessionState:nl}=nn.actions,Fe=nn.reducer});var an,sn,on,cn,pl,dl,ul,gl,De,Ue=f(()=>{"use strict";a();an=require("@reduxjs/toolkit"),sn=require("redux-persist");ce();dt();C();on={customToasts:[],transactionToasts:[]},cn=(0,an.createSlice)({name:"toastsSlice",initialState:on,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(o=>o.toastId===r);if(n!==-1){t.customToasts[n]=k(h(h({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(k(h({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:Ie(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(S,()=>on),t.addCase(sn.REHYDRATE,(e,r)=>{var o,i;let n=(i=(o=r.customToasts)==null?void 0:o.filter(s=>!("component"in s)))!=null?i:[];e.customToasts=n})}}),{addCustomToast:pl,removeCustomToast:dl,addTransactionToast:ul,removeTransactionToast:gl}=cn.actions,De=cn.reducer});var ln,Ti,hi,xi,Si,xt,pn,Tl,hl,xl,We,Ge=f(()=>{"use strict";a();ln=require("@reduxjs/toolkit");C();Ti="Transaction failed",hi="Transaction successful",xi="Processing transaction",Si="Transaction submitted",xt={},pn=(0,ln.createSlice)({name:"transactionsInfo",initialState:xt,reducers:{setTransactionsDisplayInfo(t,e){let{sessionId:r,transactionsDisplayInfo:n}=e.payload;r!=null&&(t[r]={errorMessage:(n==null?void 0:n.errorMessage)||Ti,successMessage:(n==null?void 0:n.successMessage)||hi,processingMessage:(n==null?void 0:n.processingMessage)||xi,submittedMessage:(n==null?void 0:n.submittedMessage)||Si,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(t,e){e.payload!=null&&delete t[e.payload]},clearTransactionsInfo:()=>xt},extraReducers:t=>{t.addCase(S,()=>xt)}}),{clearTransactionsInfo:Tl,setTransactionsDisplayInfo:hl,clearTransactionsInfoForSessionId:xl}=pn.actions,We=pn.reducer});function dn(t){return t!=null&&(Ri(t)||Pi(t))}function un(t){return t!=null&&(Ei(t)||_i(t))}function gn(t){return t!=null&&(Ci(t)||Ni(t))}function Ri(t){return t!=null&&bi.includes(t)}function Ei(t){return t!=null&&vi.includes(t)}function Ci(t){return t!=null&&Ai.includes(t)}function Pi(t){return t!=null&&Ii.includes(t)}function _i(t){return t!=null&&ki.includes(t)}function Ni(t){return t!=null&&Li.includes(t)}var vl,bi,vi,Ai,Al,Il,Ii,ki,Li,fn=f(()=>{"use strict";a();re();vl=["sent"],bi=["success"],vi=["fail","cancelled","timedOut"],Ai=["invalid"],Al=["timedOut"],Il=["pending"],Ii=["success"],ki=["fail","invalid"],Li=["not executed"]});var mn,yn,ge,Mi,Tn,_l,Nl,Ml,Bl,Fl,Ol,Dl,Ul,Wl,Gl,Vl,Ve,qe=f(()=>{"use strict";a();mn=require("@reduxjs/toolkit"),yn=require("redux-persist");re();fn();C();ge={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Mi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Tn=(0,mn.createSlice)({name:"transactionsSlice",initialState:ge,reducers:{moveTransactionsToSignedState:(t,e)=>{var g,m;let{sessionId:r,transactions:n,errorMessage:o,status:i,redirectRoute:s,customTransactionInformation:u}=e.payload;t.customTransactionInformationForSessionId[r]=h(h(h({},Mi),((g=t.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),t.customTransactionInformationForSessionId[r]||{}),t.signedTransactions[r]={transactions:n,status:i,errorMessage:o,redirectRoute:s,customTransactionInformation:h(h({},t.customTransactionInformationForSessionId[r]),u!=null?u:{})},((m=t==null?void 0:t.transactionsToSign)==null?void 0:m.sessionId)===r&&(t.transactionsToSign=ge.transactionsToSign)},clearSignedTransaction:(t,e)=>{t.signedTransactions[e.payload]&&delete t.signedTransactions[e.payload]},clearTransactionToSign:t=>{t!=null&&t.transactionsToSign&&(t.transactionsToSign=null)},updateSignedTransaction:(t,e)=>{t.signedTransactions=h(h({},t.signedTransactions),e.payload)},updateSignedTransactions:(t,e)=>{let{sessionId:r,status:n,errorMessage:o,transactions:i}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].status=n,o!=null&&(t.signedTransactions[r].errorMessage=o),i!=null&&(t.signedTransactions[r].transactions=i))},updateSignedTransactionStatus:(t,e)=>{var g,m,T,y,v,b,O,he;let{sessionId:r,status:n,errorMessage:o,transactionHash:i,inTransit:s}=e.payload,u=(m=(g=t.signedTransactions)==null?void 0:g[r])==null?void 0:m.transactions;if(u!=null){t.signedTransactions[r].transactions=u.map(D=>D.hash===i?k(h({},D),{status:n,errorMessage:o,inTransit:s}):D);let bo=(y=(T=t.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:y.every(D=>dn(D.status)),vo=(b=(v=t.signedTransactions[r])==null?void 0:v.transactions)==null?void 0:b.every(D=>un(D.status)),Ao=(he=(O=t.signedTransactions[r])==null?void 0:O.transactions)==null?void 0:he.every(D=>gn(D.status));bo&&(t.signedTransactions[r].status="success"),vo&&(t.signedTransactions[r].status="fail"),Ao&&(t.signedTransactions[r].status="invalid")}},setTransactionsToSign:(t,e)=>{t.transactionsToSign=e.payload;let{sessionId:r,customTransactionInformation:n}=e.payload;t.customTransactionInformationForSessionId[r]=n,t.signTransactionsError=null},clearAllTransactionsToSign:t=>{t.transactionsToSign=ge.transactionsToSign,t.signTransactionsError=null},clearAllSignedTransactions:t=>{t.signedTransactions=ge.signedTransactions},setSignTransactionsError:(t,e)=>{t.signTransactionsError=e.payload},setSignTransactionsCancelMessage:(t,e)=>{t.signTransactionsCancelMessage=e.payload},updateSignedTransactionsCustomTransactionInformation:(t,e)=>{let{sessionId:r,customTransactionInformationOverrides:n}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].customTransactionInformation=h(h({},t.signedTransactions[r].customTransactionInformation),n))}},extraReducers:t=>{t.addCase(S,()=>ge),t.addCase(yn.REHYDRATE,(e,r)=>{var s;if(e.signTransactionsCancelMessage=null,!((s=r.payload)!=null&&s.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:o}=r.payload.transactions,i=Object.entries(n).reduce((u,[g,m])=>{let T=new Date(g),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(u[g]=m),u},{});o!=null&&(e.customTransactionInformationForSessionId=o),n!=null&&(e.signedTransactions=i)})}}),{updateSignedTransactionStatus:_l,updateSignedTransactions:Nl,setTransactionsToSign:Ml,clearAllTransactionsToSign:Bl,clearAllSignedTransactions:Fl,clearSignedTransaction:Ol,clearTransactionToSign:Dl,setSignTransactionsError:Ul,setSignTransactionsCancelMessage:Wl,moveTransactionsToSignedState:Gl,updateSignedTransactionsCustomTransactionInformation:Vl}=Tn.actions,Ve=Tn.reducer});var hn,St,xn,zl,Kl,Yl,$l,He,je=f(()=>{"use strict";a();hn=require("@reduxjs/toolkit");C();St={},xn=(0,hn.createSlice)({name:"batchTransactionsSlice",initialState:St,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>St},extraReducers:t=>{t.addCase(S,()=>St)}}),{setBatchTransactions:zl,updateBatchTransactions:Kl,clearBatchTransactions:Yl,clearAllBatchTransactions:$l}=xn.actions,He=xn.reducer});var wn,Sn,bn,Ql,vn,wt=f(()=>{"use strict";a();wn=require("@reduxjs/toolkit");C();Sn={},bn=(0,wn.createSlice)({name:"dappConfigSlice",initialState:Sn,reducers:{setDappConfig:(t,e)=>e.payload},extraReducers:t=>{t.addCase(S,()=>Sn)}}),{setDappConfig:Ql}=bn.actions,vn=bn.reducer});var fe=f(()=>{"use strict";a();Ee();Pe();Ne();Be();Oe();Ue();Ge();qe();je();wt()});var bt=f(()=>{"use strict";a()});var kn,Di,Ui,Z,Ye=f(()=>{"use strict";a();kn=require("@reduxjs/toolkit");bt();Ee();je();wt();Pe();Ne();Be();Oe();Ue();Ge();qe();Di={["account"]:Re,["dappConfig"]:vn,["loginInfo"]:Ce,["modals"]:_e,["networkConfig"]:Me,["signedMessageInfo"]:Fe,["toasts"]:De,["transactionsInfo"]:We,["transactions"]:Ve,["batchTransactions"]:He},Ui=(t={})=>(0,kn.combineReducers)(h(h({},Di),t)),Z=Ui});var Cn={};z(Cn,{default:()=>ta,sessionStorageReducers:()=>vt});function V(t,e=[]){return{key:t,version:1,storage:Rn.default,blacklist:e}}var I,Ln,Rn,Wi,me,Gi,Vi,qi,Hi,ji,zi,Ki,Yi,$i,Xi,En,Ji,vt,Zi,Qi,ea,ta,Pn=f(()=>{"use strict";a();I=require("redux-persist"),Ln=K(require("redux-persist/lib/storage")),Rn=K(require("redux-persist/lib/storage/session"));Ye();fe();Ee();je();Pe();Ne();Be();Oe();Ue();Ge();qe();bt();Wi={persistReducersStorageType:"localStorage"},me={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Gi=V(me["account"]),Vi=V(me["loginInfo"]),qi=V(me["modals"]),Hi=V(me["networkConfig"]),ji={2:t=>k(h({},t),{networkConfig:Tt})};zi=V("sdk-dapp-transactionsInfo"),Ki=V("sdk-dapp-transactions",["transactionsToSign"]),Yi=V("sdk-dapp-batchTransactions",["batchTransactions"]),$i=V("sdk-dapp-toasts"),Xi=V("sdk-dapp-signedMessageInfo"),En={key:"sdk-dapp-store",version:2,storage:Ln.default,whitelist:Object.keys(me),migrate:(0,I.createMigrate)(ji,{debug:!1})},Ji=k(h({},En),{whitelist:[]}),vt={["toasts"]:(0,I.persistReducer)($i,De),["transactions"]:(0,I.persistReducer)(Ki,Ve),["transactionsInfo"]:(0,I.persistReducer)(zi,We),["batchTransactions"]:(0,I.persistReducer)(Yi,He),["signedMessageInfo"]:(0,I.persistReducer)(Xi,Fe)},Zi=k(h({},vt),{["account"]:(0,I.persistReducer)(Gi,Re),["loginInfo"]:(0,I.persistReducer)(Vi,Ce),["modals"]:(0,I.persistReducer)(qi,_e),["networkConfig"]:(0,I.persistReducer)(Hi,Me)}),Qi=Wi.persistReducersStorageType==="localStorage",ea=Qi?(0,I.persistReducer)(En,Z(vt)):(0,I.persistReducer)(Ji,Z(Zi)),ta=ea});var _n={};z(_n,{default:()=>ra});var ra,Nn=f(()=>{"use strict";a();Ye();ra=Z()});var Mn={};z(Mn,{default:()=>oa});var P,na,oa,Bn=f(()=>{"use strict";a();P=require("redux-persist"),na=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],oa=na});var Dn={};z(Dn,{default:()=>On});function On(t){return(0,Fn.persistStore)(t)}var Fn,Un=f(()=>{"use strict";a();Fn=require("redux-persist")});var jn=L((rd,Hn)=>{a();var aa=typeof l=="object"&&l&&l.Object===Object&&l;Hn.exports=aa});var Kn=L((nd,zn)=>{a();var sa=jn(),ca=typeof self=="object"&&self&&self.Object===Object&&self,la=sa||ca||Function("return this")();zn.exports=la});var It=L((od,Yn)=>{a();var pa=Kn(),da=pa.Symbol;Yn.exports=da});var Zn=L((id,Jn)=>{a();var $n=It(),Xn=Object.prototype,ua=Xn.hasOwnProperty,ga=Xn.toString,ye=$n?$n.toStringTag:void 0;function fa(t){var e=ua.call(t,ye),r=t[ye];try{t[ye]=void 0;var n=!0}catch(i){}var o=ga.call(t);return n&&(e?t[ye]=r:delete t[ye]),o}Jn.exports=fa});var eo=L((ad,Qn)=>{a();var ma=Object.prototype,ya=ma.toString;function Ta(t){return ya.call(t)}Qn.exports=Ta});var oo=L((sd,no)=>{a();var to=It(),ha=Zn(),xa=eo(),Sa="[object Null]",wa="[object Undefined]",ro=to?to.toStringTag:void 0;function ba(t){return t==null?t===void 0?wa:Sa:ro&&ro in Object(t)?ha(t):xa(t)}no.exports=ba});var ao=L((cd,io)=>{a();var va=Array.isArray;io.exports=va});var co=L((ld,so)=>{a();function Aa(t){return t!=null&&typeof t=="object"}so.exports=Aa});var po=L((pd,lo)=>{a();var Ia=oo(),ka=ao(),La=co(),Ra="[object String]";function Ea(t){return typeof t=="string"||!ka(t)&&La(t)&&Ia(t)==Ra}lo.exports=Ea});var Da={};z(Da,{ExperimentalWebviewProvider:()=>j});module.exports=se(Da);a();var So=require("@multiversx/sdk-core"),wo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/constants"),H=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");a();C();fe();a();var At=require("@reduxjs/toolkit"),qn=require("react-redux/lib/utils/Subscription");fe();a();var An=K(require("lodash.throttle"));le();fe();yt();Le();pe();var Bi=[Ae],ze=!1,Fi=(0,An.default)(()=>{ue(de())},5e3),In=t=>e=>r=>{if(Bi.includes(r.type))return e(r);let n=t.getState(),o=oe.local.getItem(J.loginExpiresAt);if(!Boolean(n==null?void 0:n.account.address))return e(r);if(o==null)return ue(de());let s=Date.now();return o-s<0&&!ze?setTimeout(()=>{ze=!0,t.dispatch(Vr())},1e3):(ze&&(ze=!1),Fi()),e(r)};a();a();function Ke(){return typeof sessionStorage!="undefined"}var Wn=Ke()?(Pn(),se(Cn)).default:(Nn(),se(_n)).default,Gn=Ke()?(Bn(),se(Mn)).default:[],Vn=Ke()?(Un(),se(Dn)).default:t=>t;Ye();var $e=(0,At.configureStore)({reducer:Wn,middleware:t=>t({serializableCheck:{ignoredActions:[...Gn,Fr.type,Br.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(In)}),Jp=(0,qn.createSubscription)($e),Zp=Vn($e),Qp=(0,At.configureStore)({reducer:Z});ce();a();a();function ia(t){try{let e=atob(t),r=btoa(e),n=p.Buffer.from(t,"base64").toString(),o=p.Buffer.from(n).toString("base64"),i=t===r||r.startsWith(t),s=t===o||o.startsWith(t);if(i&&s)return!0}catch(e){return!1}return!1}function ie(t){return ia(t)?atob(t):t}a();var uo=K(po());var go=t=>{if(!t||!(0,uo.default)(t))return null;let e=t.split(".");if(e.length!==4)return null;try{let[r,n,o,i]=e,s=JSON.parse(ie(i)),u=ie(r);return{ttl:Number(o),extraInfo:s,origin:u,blockHash:n}}catch(r){return console.error(`Error trying to decode ${t}:`,r),null}};function Ca(t){return Object.prototype.toString.call(t)==="[object String]"}var fo=t=>{var r;if(!t||!Ca(t))return null;let e=t.split(".");if(e.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[n,o,i]=e,s=ie(n),u=ie(o),g=go(u);if(!g)return{address:s,body:u,signature:i,blockHash:"",origin:"",ttl:0};let m=k(h({},g),{address:s,body:u,signature:i});return(r=g.extraInfo)!=null&&r.timestamp||delete m.extraInfo,m}catch(n){return null}};function mo(t,e=$e.dispatch){let r=fo(t);if(r==null)return;let{signature:n,address:o}=r;n&&t&&o&&(e(Gr({loginToken:t,signature:n,nativeAuthToken:t})),e(ne({address:o,loginMethod:"extra"})))}a();a();var Pa=require("@multiversx/sdk-extension-provider"),_a=require("@multiversx/sdk-hw-provider"),Na=require("@multiversx/sdk-opera-provider"),Ma=require("@multiversx/sdk-web-wallet-cross-window-provider"),Ba=require("@multiversx/sdk-web-wallet-provider");le();re();a();a();var q=t=>`Unable to perform ${t}, Provider not initialized`,Xe=class{init(){return Promise.resolve(!1)}login(e){throw new Error(q(`login with options: ${e}`))}logout(e){throw new Error(q(`logout with options: ${e}`))}getAddress(){throw new Error(q("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(q(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(q(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(q(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(q(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(q(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(q(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},yo=new Xe;var Fa=yo,To=null;function ho(){To!=null&&(Fa=To)}a();a();var xo=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Te=()=>{var t;if(xo()){let e=window.location.ancestorOrigins;return(t=e==null?void 0:e[e.length-1])!=null?t:"*"}return"*"};var Oa=t=>()=>{throw new Error(`Unable to perform ${t}, Provider not initialized`)},j=class{constructor(){this.init=()=>R(this,null,function*(){return!0});this.login=()=>R(this,null,function*(){return!0});this.logout=()=>R(this,null,function*(){let e=yield this.sendPostMessage({type:H.CrossWindowProviderRequestEnums.logoutRequest,payload:void 0});return Boolean(e.payload.data)});this.relogin=()=>R(this,null,function*(){let e=yield this.sendPostMessage({type:H.CrossWindowProviderRequestEnums.loginRequest,payload:void 0}),{data:r,error:n}=e.payload;if(n||!r)throw new Error("Unable to re-login");let{accessToken:o}=r;return o?(mo(o),ho(),o):(console.error("Unable to re-login. Missing accessToken."),null)});this.signTransactions=e=>R(this,null,function*(){let r=yield this.sendPostMessage({type:H.CrossWindowProviderRequestEnums.signTransactionsRequest,payload:e.map(i=>i.toPlainObject())}),{data:n,error:o}=r.payload;return o||!n?(console.error("Unable to sign transactions"),null):n.map(i=>So.Transaction.fromPlainObject(i))});this.signTransaction=e=>R(this,null,function*(){let r=yield this.signTransactions([e]);return r==null?void 0:r[0]});this.sendPostMessage=e=>R(this,null,function*(){let r=typeof window!="undefined"?window:{};return r.ReactNativeWebView?r.ReactNativeWebView.postMessage(JSON.stringify(e),Te()):r.webkit?r.webkit.messageHandlers.postMessage(JSON.stringify(e),Te()):r.parent&&r.parent.postMessage(e,Te()),yield this.waitingForResponse(wo.responseTypeMap[e.type])});this.isInitialized=()=>!0;this.isConnected=()=>R(this,null,function*(){return!0});this.getAddress=Oa("getAddress")}static getInstance(){return j.instance||(j.instance=new j),j.instance}signMessage(e){return R(this,null,function*(){let r=yield this.sendPostMessage({type:H.CrossWindowProviderRequestEnums.signMessageRequest,payload:{message:e.message.toString()}}),{data:n,error:o}=r.payload;return o||!n?(console.error("Unable to sign message"),null):n.status!==H.SignMessageStatusEnum.signed?(console.error("Could not sign message"),null):(e.applySignature(p.Buffer.from(String(n.signature),"hex")),e)})}waitingForResponse(e){return R(this,null,function*(){return yield new Promise(r=>{window.addEventListener("message",function n(o){return R(this,null,function*(){let{type:i,payload:s}=o.data;if(o.origin!=Te()){console.error("origin not accepted",{eventOrigin:o.origin});return}(e===i||i===H.CrossWindowProviderResponseEnums.cancelResponse)&&(window.removeEventListener("message",n),r({type:i,payload:s}))})})})})}};0&&(module.exports={ExperimentalWebviewProvider});
|
|
1
|
+
"use strict";var Eo=Object.create;var ce=Object.defineProperty,Lo=Object.defineProperties,Co=Object.getOwnPropertyDescriptor,Po=Object.getOwnPropertyDescriptors,_o=Object.getOwnPropertyNames,Rt=Object.getOwnPropertySymbols,No=Object.getPrototypeOf,Lt=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable;var Et=(t,e,r)=>e in t?ce(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))Lt.call(e,r)&&Et(t,r,e[r]);if(Rt)for(var r of Rt(e))Mo.call(e,r)&&Et(t,r,e[r]);return t},k=(t,e)=>Lo(t,Po(e));var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),z=(t,e)=>{for(var r in e)ce(t,r,{get:e[r],enumerable:!0})},Ct=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of _o(e))!Lt.call(t,o)&&o!==r&&ce(t,o,{get:()=>e[o],enumerable:!(n=Co(e,o))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?Eo(No(t)):{},Ct(e||!t||!t.__esModule?ce(r,"default",{value:t,enumerable:!0}):r,t)),le=t=>Ct(ce({},"__esModule",{value:!0}),t);var L=(t,e,r)=>new Promise((n,o)=>{var a=g=>{try{u(r.next(g))}catch(m){o(m)}},s=g=>{try{u(r.throw(g))}catch(m){o(m)}},u=g=>g.done?n(g.value):Promise.resolve(g.value).then(a,s);u((r=r.apply(t,e)).next())});var Nt=R(Se=>{"use strict";i();Se.byteLength=Fo;Se.toByteArray=Do;Se.fromByteArray=Go;var N=[],C=[],Bo=typeof Uint8Array!="undefined"?Uint8Array:Array,Ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Y=0,Pt=Ze.length;Y<Pt;++Y)N[Y]=Ze[Y],C[Ze.charCodeAt(Y)]=Y;var Y,Pt;C["-".charCodeAt(0)]=62;C["_".charCodeAt(0)]=63;function _t(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Fo(t){var e=_t(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Oo(t,e,r){return(e+r)*3/4-r}function Do(t){var e,r=_t(t),n=r[0],o=r[1],a=new Bo(Oo(t,n,o)),s=0,u=o>0?n-4:n,g;for(g=0;g<u;g+=4)e=C[t.charCodeAt(g)]<<18|C[t.charCodeAt(g+1)]<<12|C[t.charCodeAt(g+2)]<<6|C[t.charCodeAt(g+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return o===2&&(e=C[t.charCodeAt(g)]<<2|C[t.charCodeAt(g+1)]>>4,a[s++]=e&255),o===1&&(e=C[t.charCodeAt(g)]<<10|C[t.charCodeAt(g+1)]<<4|C[t.charCodeAt(g+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function Uo(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function Wo(t,e,r){for(var n,o=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),o.push(Uo(n));return o.join("")}function Go(t){for(var e,r=t.length,n=r%3,o=[],a=16383,s=0,u=r-n;s<u;s+=a)o.push(Wo(t,s,s+a>u?u:s+a));return n===1?(e=t[r-1],o.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),o.join("")}});var Mt=R(Qe=>{i();Qe.read=function(t,e,r,n,o){var a,s,u=o*8-n-1,g=(1<<u)-1,m=g>>1,T=-7,y=r?o-1:0,v=r?-1:1,b=t[e+y];for(y+=v,a=b&(1<<-T)-1,b>>=-T,T+=u;T>0;a=a*256+t[e+y],y+=v,T-=8);for(s=a&(1<<-T)-1,a>>=-T,T+=n;T>0;s=s*256+t[e+y],y+=v,T-=8);if(a===0)a=1-m;else{if(a===g)return s?NaN:(b?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-m}return(b?-1:1)*s*Math.pow(2,a-n)};Qe.write=function(t,e,r,n,o,a){var s,u,g,m=a*8-o-1,T=(1<<m)-1,y=T>>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,D=n?1:-1,xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=T):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+y>=1?e+=v/g:e+=v*Math.pow(2,1-y),e*g>=2&&(s++,g/=2),s+y>=T?(u=0,s=T):s+y>=1?(u=(e*g-1)*Math.pow(2,o),s=s+y):(u=e*Math.pow(2,y-1)*Math.pow(2,o),s=0));o>=8;t[r+b]=u&255,b+=D,u/=256,o-=8);for(s=s<<o|u,m+=o;m>0;t[r+b]=s&255,b+=D,s/=256,m-=8);t[r+b-D]|=xe*128}});var Kt=R(ee=>{"use strict";i();var et=Nt(),Q=Mt(),Bt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=c;ee.SlowBuffer=Ko;ee.INSPECT_MAX_BYTES=50;var we=2147483647;ee.kMaxLength=we;c.TYPED_ARRAY_SUPPORT=Vo();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Vo(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function W(t){if(t>we)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ot(t)}return Dt(t,e,r)}c.poolSize=8192;function Dt(t,e,r){if(typeof t=="string")return Ho(t,e);if(ArrayBuffer.isView(t))return jo(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(M(t,ArrayBuffer)||t&&M(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(M(t,SharedArrayBuffer)||t&&M(t.buffer,SharedArrayBuffer)))return rt(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var o=zo(t);if(o)return o;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Dt(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ut(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 qo(t,e,r){return Ut(t),t<=0?W(t):e!==void 0?typeof r=="string"?W(t).fill(e,r):W(t).fill(e):W(t)}c.alloc=function(t,e,r){return qo(t,e,r)};function ot(t){return Ut(t),W(t<0?0:it(t)|0)}c.allocUnsafe=function(t){return ot(t)};c.allocUnsafeSlow=function(t){return ot(t)};function Ho(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Wt(t,e)|0,n=W(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function tt(t){for(var e=t.length<0?0:it(t.length)|0,r=W(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function jo(t){if(M(t,Uint8Array)){var e=new Uint8Array(t);return rt(e.buffer,e.byteOffset,e.byteLength)}return tt(t)}function rt(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function zo(t){if(c.isBuffer(t)){var e=it(t.length)|0,r=W(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||at(t.length)?W(0):tt(t);if(t.type==="Buffer"&&Array.isArray(t.data))return tt(t.data)}function it(t){if(t>=we)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+we.toString(16)+" bytes");return t|0}function Ko(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(M(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),M(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,o=r.length,a=0,s=Math.min(n,o);a<s;++a)if(e[a]!==r[a]){n=e[a],o=r[a];break}return n<o?-1:o<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=c.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(M(s,Uint8Array))a+s.length>o.length?c.from(s).copy(o,a):Uint8Array.prototype.set.call(o,s,a);else if(c.isBuffer(s))s.copy(o,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return o};function Wt(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||M(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return nt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return zt(t).length;default:if(o)return n?-1:nt(t).length;e=(""+e).toLowerCase(),o=!0}}c.byteLength=Wt;function Yo(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return oi(this,e,r);case"utf8":case"utf-8":return Vt(this,e,r);case"ascii":return ri(this,e,r);case"latin1":case"binary":return ni(this,e,r);case"base64":return ei(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ii(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)$(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)$(this,r,r+3),$(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)$(this,r,r+7),$(this,r+1,r+6),$(this,r+2,r+5),$(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Vt(this,0,e):Yo.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=ee.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Bt&&(c.prototype[Bt]=c.prototype.inspect);c.prototype.compare=function(e,r,n,o,a){if(M(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),a===void 0&&(a=this.length),r<0||n>e.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&r>=n)return 0;if(o>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,a>>>=0,this===e)return 0;for(var s=a-o,u=n-r,g=Math.min(s,u),m=this.slice(o,a),T=e.slice(r,n),y=0;y<g;++y)if(m[y]!==T[y]){s=m[y],u=T[y];break}return s<u?-1:u<s?1:0};function Gt(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,at(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ft(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ft(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Ft(t,e,r,n,o){var a=1,s=t.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function g(b,D){return a===1?b[D]:b.readUInt16BE(D*a)}var m;if(o){var T=-1;for(m=r;m<s;m++)if(g(t,m)===g(e,T===-1?0:m-T)){if(T===-1&&(T=m),m-T+1===u)return T*a}else T!==-1&&(m-=m-T),T=-1}else for(r+u>s&&(r=s-u),m=r;m>=0;m--){for(var y=!0,v=0;v<u;v++)if(g(t,m+v)!==g(e,v)){y=!1;break}if(y)return m}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return Gt(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return Gt(this,e,r,n,!1)};function $o(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(s*2,2),16);if(at(u))return s;t[r+s]=u}return s}function Xo(t,e,r,n){return be(nt(e,t.length-r),t,r,n)}function Jo(t,e,r,n){return be(ci(e),t,r,n)}function Zo(t,e,r,n){return be(zt(e),t,r,n)}function Qo(t,e,r,n){return be(li(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var s=!1;;)switch(o){case"hex":return $o(this,e,r,n);case"utf8":case"utf-8":return Xo(this,e,r,n);case"ascii":case"latin1":case"binary":return Jo(this,e,r,n);case"base64":return Zo(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qo(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ei(t,e,r){return e===0&&r===t.length?et.fromByteArray(t):et.fromByteArray(t.slice(e,r))}function Vt(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var a=t[o],s=null,u=a>239?4:a>223?3:a>191?2:1;if(o+u<=r){var g,m,T,y;switch(u){case 1:a<128&&(s=a);break;case 2:g=t[o+1],(g&192)===128&&(y=(a&31)<<6|g&63,y>127&&(s=y));break;case 3:g=t[o+1],m=t[o+2],(g&192)===128&&(m&192)===128&&(y=(a&15)<<12|(g&63)<<6|m&63,y>2047&&(y<55296||y>57343)&&(s=y));break;case 4:g=t[o+1],m=t[o+2],T=t[o+3],(g&192)===128&&(m&192)===128&&(T&192)===128&&(y=(a&15)<<18|(g&63)<<12|(m&63)<<6|T&63,y>65535&&y<1114112&&(s=y))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=u}return ti(n)}var Ot=4096;function ti(t){var e=t.length;if(e<=Ot)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ot));return r}function ri(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function ni(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function oi(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",a=e;a<r;++a)o+=pi[t[a]];return o}function ii(t,e,r){for(var n=t.slice(e,r),o="",a=0;a<n.length-1;a+=2)o+=String.fromCharCode(n[a]+n[a+1]*256);return o}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,c.prototype),o};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],a=1,s=0;++s<r&&(a*=256);)o+=this[e+s]*a;return o};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e+--r],a=1;r>0&&(a*=256);)o+=this[e+--r]*a;return o};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],a=1,s=0;++s<r&&(a*=256);)o+=this[e+s]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=r,a=1,s=this[e+--o];o>0&&(a*=256);)s+=this[e+--o]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),Q.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),Q.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),Q.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),Q.read(this,e,!1,52,8)};function A(t,e,r,n,o,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=1,u=0;for(this[r]=e&255;++u<n&&(s*=256);)this[r+u]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=n-1,u=1;for(this[r+s]=e&255;--s>=0&&(u*=256);)this[r+s]=e/u&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=0,u=1,g=0;for(this[r]=e&255;++s<n&&(u*=256);)e<0&&g===0&&this[r+s-1]!==0&&(g=1),this[r+s]=(e/u>>0)-g&255;return r+n};c.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=n-1,u=1,g=0;for(this[r+s]=e&255;--s>=0&&(u*=256);)e<0&&g===0&&this[r+s+1]!==0&&(g=1),this[r+s]=(e/u>>0)-g&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function qt(t,e,r,n,o,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ht(t,e,r,n,o){return e=+e,r=r>>>0,o||qt(t,e,r,4,34028234663852886e22,-34028234663852886e22),Q.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return Ht(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return Ht(this,e,r,!1,n)};function jt(t,e,r,n,o){return e=+e,r=r>>>0,o||qt(t,e,r,8,17976931348623157e292,-17976931348623157e292),Q.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return jt(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return jt(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var a=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),a};c.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var a=e.charCodeAt(0);(o==="utf8"&&a<128||o==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var u=c.isBuffer(e)?e:c.from(e,o),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=u[s%g]}return this};var ai=/[^+/0-9A-Za-z-_]/g;function si(t){if(t=t.split("=")[0],t=t.trim().replace(ai,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function nt(t,e){e=e||1/0;for(var r,n=t.length,o=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function ci(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function li(t,e){for(var r,n,o,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,o=r%256,a.push(o),a.push(n);return a}function zt(t){return et.toByteArray(si(t))}function be(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function M(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function at(t){return t!==t}var pi=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()});var Zt=R((ja,Jt)=>{i();var S=Jt.exports={},B,F;function st(){throw new Error("setTimeout has not been defined")}function ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=st}catch(t){B=st}try{typeof clearTimeout=="function"?F=clearTimeout:F=ct}catch(t){F=ct}})();function Yt(t){if(B===setTimeout)return setTimeout(t,0);if((B===st||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(e){try{return B.call(null,t,0)}catch(r){return B.call(this,t,0)}}}function di(t){if(F===clearTimeout)return clearTimeout(t);if((F===ct||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(t);try{return F(t)}catch(e){try{return F.call(null,t)}catch(r){return F.call(this,t)}}}var G=[],te=!1,X,ve=-1;function ui(){!te||!X||(te=!1,X.length?G=X.concat(G):ve=-1,G.length&&$t())}function $t(){if(!te){var t=Yt(ui);te=!0;for(var e=G.length;e;){for(X=G,G=[];++ve<e;)X&&X[ve].run();ve=-1,e=G.length}X=null,te=!1,di(t)}}S.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];G.push(new Xt(t,e)),G.length===1&&!te&&Yt($t)};function Xt(t,e){this.fun=t,this.array=e}Xt.prototype.run=function(){this.fun.apply(null,this.array)};S.title="browser";S.browser=!0;S.env={};S.argv=[];S.version="";S.versions={};function V(){}S.on=V;S.addListener=V;S.once=V;S.off=V;S.removeListener=V;S.removeAllListeners=V;S.emit=V;S.prependListener=V;S.prependOnceListener=V;S.listeners=function(t){return[]};S.binding=function(t){throw new Error("process.binding is not supported")};S.cwd=function(){return"/"};S.chdir=function(t){throw new Error("process.chdir is not supported")};S.umask=function(){return 0}});var p,d,gi,l,i=f(()=>{p=K(Kt()),d=K(Zt()),gi=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object),l=gi});var Qt=f(()=>{"use strict";i()});var er=f(()=>{"use strict";i()});var tr=f(()=>{"use strict";i()});var rr=f(()=>{"use strict";i()});var nr=f(()=>{"use strict";i()});var lt=f(()=>{"use strict";i()});var or=f(()=>{"use strict";i()});var ir=f(()=>{"use strict";i()});var ar=f(()=>{"use strict";i()});var sr=f(()=>{"use strict";i()});var Ae,cr,ts,lr,rs,re=f(()=>{"use strict";i();Ae=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types"),cr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(cr||{}),ts=h(h({},Ae.CrossWindowProviderRequestEnums),cr),lr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(lr||{}),rs=h(h({},Ae.CrossWindowProviderResponseEnums),lr)});var pr=f(()=>{"use strict";i()});var dr=f(()=>{"use strict";i()});var ur=f(()=>{"use strict";i()});var gr=f(()=>{"use strict";i()});var fr=f(()=>{"use strict";i()});var mr=f(()=>{"use strict";i()});var pe=f(()=>{"use strict";i();ir();ar();sr();re();pr();dr();ur();gr();fr();mr()});var pt,yr,xs,Tr,Ss,hr,ws,bs,vs,xr=f(()=>{"use strict";i();pe();pt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:yr,egldLabel:xs}=pt["devnet"],{chainId:Tr,egldLabel:Ss}=pt["testnet"],{chainId:hr,egldLabel:ws}=pt["mainnet"],bs={["devnet"]:yr,["testnet"]:Tr,["mainnet"]:hr},vs={[yr]:"devnet",[Tr]:"testnet",[hr]:"mainnet"}});var Sr=f(()=>{"use strict";i()});var O,wr=f(()=>{"use strict";i();O=require("@multiversx/sdk-web-wallet-provider")});var Ie,br,vr,de=f(()=>{"use strict";i();Qt();er();tr();rr();nr();lt();or();xr();Sr();wr();Ie="logout",br="login",vr="0"});var dt,x,ne,E=f(()=>{"use strict";i();dt=require("@reduxjs/toolkit");de();x=(0,dt.createAction)(Ie),ne=(0,dt.createAction)(br,t=>({payload:t}))});var ke,ut=f(()=>{"use strict";i();ke=()=>Date.now()/1e3});var Ar=f(()=>{"use strict";i()});var Ir=f(()=>{"use strict";i()});var kr=f(()=>{"use strict";i();ut();Ar();Ir()});var gt={};z(gt,{clear:()=>Ti,getItem:()=>mi,localStorageKeys:()=>J,removeItem:()=>yi,setItem:()=>fi});var J,Re,fi,mi,yi,Ti,ue=f(()=>{"use strict";i();kr();J={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Re=typeof localStorage!="undefined",fi=({key:t,data:e,expires:r})=>{!Re||localStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},mi=t=>{if(!Re)return;let e=localStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:ke()>=r.expires?(localStorage.removeItem(String(t)),null):r.data},yi=t=>{!Re||localStorage.removeItem(String(t))},Ti=()=>{!Re||localStorage.clear()}});var ft={};z(ft,{clear:()=>Cr,getItem:()=>Er,removeItem:()=>Lr,setItem:()=>Rr,storage:()=>hi});var Rr,Er,Lr,Cr,hi,Pr=f(()=>{"use strict";i();Rr=({key:t,data:e,expires:r})=>{sessionStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Er=t=>{let e=sessionStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(t)),null):r.data},Lr=t=>sessionStorage.removeItem(String(t)),Cr=()=>sessionStorage.clear(),hi={setItem:Rr,getItem:Er,removeItem:Lr,clear:Cr}});var oe,Ee=f(()=>{"use strict";i();ue();Pr();oe={session:ft,local:gt}});var yt,_r,Nr,Mr,mt,Br,Fr,tc,Or,rc,nc,oc,ic,ac,sc,cc,lc,Le,Ce=f(()=>{"use strict";i();yt=require("@multiversx/sdk-core"),_r=require("@reduxjs/toolkit"),Nr=require("redux-persist");de();Ee();ue();E();Mr={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:vr},mt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Mr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Br=(0,_r.createSlice)({name:"accountInfoSlice",initialState:mt,reducers:{setAddress:(t,e)=>{let r=e.payload;t.address=r,t.publicKey=new yt.Address(r).hex()},setAccount:(t,e)=>{let r=t.address===e.payload.address;t.accounts={[t.address]:r?e.payload:Mr},t.shard=e.payload.shard,t.isAccountLoading=!1,t.accountLoadingError=null},setAccountNonce:(t,e)=>{let{address:r}=t;t.accounts[r].nonce=e.payload},setAccountShard:(t,e)=>{t.shard=e.payload},setLedgerAccount:(t,e)=>{t.ledgerAccount=e.payload},updateLedgerAccount:(t,e)=>{t.ledgerAccount!=null&&(t.ledgerAccount.index=e.payload.index,t.ledgerAccount.address=e.payload.address)},setWalletConnectAccount:(t,e)=>{t.walletConnectAccount=e.payload},setIsAccountLoading:(t,e)=>{t.isAccountLoading=e.payload,t.accountLoadingError=null},setAccountLoadingError:(t,e)=>{t.accountLoadingError=e.payload,t.isAccountLoading=!1},setWebsocketEvent:(t,e)=>{t.websocketEvent={timestamp:Date.now(),message:e.payload}},setWebsocketBatchEvent:(t,e)=>{t.websocketBatchEvent={timestamp:Date.now(),data:e.payload}}},extraReducers:t=>{t.addCase(x,()=>(oe.local.removeItem(J.loginExpiresAt),mt)),t.addCase(ne,(e,r)=>{let{address:n}=r.payload;e.address=n,e.publicKey=new yt.Address(n).hex()}),t.addCase(Nr.REHYDRATE,(e,r)=>{var m;if(!((m=r.payload)!=null&&m.account))return;let{account:n}=r.payload,{address:o,shard:a,accounts:s,publicKey:u}=n;e.address=o,e.shard=a;let g=s&&o in s;e.accounts=g?s:mt.accounts,e.publicKey=u})}}),{setAccount:Fr,setAddress:tc,setAccountNonce:Or,setAccountShard:rc,setLedgerAccount:nc,updateLedgerAccount:oc,setWalletConnectAccount:ic,setIsAccountLoading:ac,setAccountLoadingError:sc,setWebsocketEvent:cc,setWebsocketBatchEvent:lc}=Br.actions,Le=Br.reducer});function ge(){return new Date().setHours(new Date().getHours()+24)}function fe(t){oe.local.setItem({key:J.loginExpiresAt,data:t,expires:t})}var Tt=f(()=>{"use strict";i();Ee();ue()});var Wr,Dr,Gr,xc,Sc,wc,Vr,bc,vc,qr,Ac,Ic,Pe,_e=f(()=>{"use strict";i();Wr=require("@reduxjs/toolkit");Tt();re();E();Dr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},Gr=(0,Wr.createSlice)({name:"loginInfoSlice",initialState:Dr,reducers:{setLoginMethod:(t,e)=>{t.loginMethod=e.payload},setTokenLogin:(t,e)=>{t.tokenLogin=e.payload},setTokenLoginSignature:(t,e)=>{(t==null?void 0:t.tokenLogin)!=null&&(t.tokenLogin.signature=e.payload)},setWalletLogin:(t,e)=>{t.walletLogin=e.payload},setWalletConnectLogin:(t,e)=>{t.walletConnectLogin=e.payload},setLedgerLogin:(t,e)=>{t.ledgerLogin=e.payload},invalidateLoginSession:t=>{t.isLoginSessionInvalid=!0},setLogoutRoute:(t,e)=>{t.logoutRoute=e.payload},setIsWalletConnectV2Initialized:(t,e)=>{t.isWalletConnectV2Initialized=e.payload}},extraReducers:t=>{t.addCase(x,()=>Dr),t.addCase(ne,(e,r)=>{e.isLoginSessionInvalid=!1,e.loginMethod=r.payload.loginMethod,fe(ge())})}}),{setLoginMethod:xc,setWalletConnectLogin:Sc,setLedgerLogin:wc,setTokenLogin:Vr,setTokenLoginSignature:bc,setWalletLogin:vc,invalidateLoginSession:qr,setLogoutRoute:Ac,setIsWalletConnectV2Initialized:Ic}=Gr.actions,Pe=Gr.reducer});var jr,Hr,zr,Lc,Cc,Pc,_c,Ne,Me=f(()=>{"use strict";i();jr=require("@reduxjs/toolkit");E();Hr={},zr=(0,jr.createSlice)({name:"modalsSlice",initialState:Hr,reducers:{setTxSubmittedModal:(t,e)=>{t.txSubmittedModal=e.payload},setNotificationModal:(t,e)=>{t.notificationModal=e.payload},clearTxSubmittedModal:t=>{t.txSubmittedModal=void 0},clearNotificationModal:t=>{t.notificationModal=void 0}},extraReducers:t=>{t.addCase(x,()=>Hr)}}),{setTxSubmittedModal:Lc,setNotificationModal:Cc,clearTxSubmittedModal:Pc,clearNotificationModal:_c}=zr.actions,Ne=zr.reducer});var Kr=f(()=>{"use strict";i()});var Yr=f(()=>{"use strict";i();Kr()});function $r(t){return t[Math.floor(Math.random()*t.length)]}var Xr=f(()=>{"use strict";i()});var Jr=f(()=>{"use strict";i();lt()});var Zr=f(()=>{"use strict";i();Yr();Xr();Jr()});var Qr,en,tn,ht,xi,rn,$c,Xc,Jc,Be,Fe=f(()=>{"use strict";i();Qr=require("@reduxjs/toolkit"),en=K(require("lodash.omit")),tn=require("redux-persist");E();Zr();ht={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},xi={network:ht,chainID:"-1"},rn=(0,Qr.createSlice)({name:"appConfig",initialState:xi,reducers:{initializeNetworkConfig:(t,e)=>{let r=$r(e.payload.walletConnectV2RelayAddresses),n=(0,en.default)(e.payload,"walletConnectV2RelayAddresses");t.network=k(h(h({},t.network),n),{walletConnectV2RelayAddress:r})},setChainID:(t,e)=>{t.chainID=e.payload},setCustomWalletAddress:(t,e)=>{t.network.customWalletAddress=e.payload}},extraReducers:t=>{t.addCase(x,e=>{e.network.customWalletAddress=void 0}),t.addCase(tn.REHYDRATE,(e,r)=>{var o,a;if(!((a=(o=r.payload)==null?void 0:o.network)!=null&&a.customWalletAddress))return;let{network:{customWalletAddress:n}}=r.payload;e.network.customWalletAddress=n})}}),{initializeNetworkConfig:$c,setChainID:Xc,setCustomWalletAddress:Jc}=rn.actions,Be=rn.reducer});var nn,xt,on,nl,ol,il,Oe,De=f(()=>{"use strict";i();nn=require("@reduxjs/toolkit");pe();E();xt={isSigning:!1,signedSessions:{}},on=(0,nn.createSlice)({name:"signedMessageInfoSliceState",initialState:xt,reducers:{setSignSession:(t,e)=>{let{sessionId:r,signedSession:n,errorMessage:o}=e.payload;o&&(t.errorMessage=o),t.isSigning=n.status==="pending",t.signedSessions[r]=h(h({},t.signedSessions[r]),n)},setSignSessionState:(t,e)=>h(h({},t),e.payload),clearSignedMessageInfo:()=>xt},extraReducers:t=>{t.addCase(x,()=>xt)}}),{setSignSession:nl,clearSignedMessageInfo:ol,setSignSessionState:il}=on.actions,Oe=on.reducer});var sn,cn,an,ln,ul,gl,fl,ml,Ue,We=f(()=>{"use strict";i();sn=require("@reduxjs/toolkit"),cn=require("redux-persist");pe();ut();E();an={customToasts:[],transactionToasts:[]},ln=(0,sn.createSlice)({name:"toastsSlice",initialState:an,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(o=>o.toastId===r);if(n!==-1){t.customToasts[n]=k(h(h({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(k(h({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:ke(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(x,()=>an),t.addCase(cn.REHYDRATE,(e,r)=>{var o,a;let n=(a=(o=r.customToasts)==null?void 0:o.filter(s=>!("component"in s)))!=null?a:[];e.customToasts=n})}}),{addCustomToast:ul,removeCustomToast:gl,addTransactionToast:fl,removeTransactionToast:ml}=ln.actions,Ue=ln.reducer});var pn,Si,wi,bi,vi,St,dn,xl,Sl,wl,Ge,Ve=f(()=>{"use strict";i();pn=require("@reduxjs/toolkit");E();Si="Transaction failed",wi="Transaction successful",bi="Processing transaction",vi="Transaction submitted",St={},dn=(0,pn.createSlice)({name:"transactionsInfo",initialState:St,reducers:{setTransactionsDisplayInfo(t,e){let{sessionId:r,transactionsDisplayInfo:n}=e.payload;r!=null&&(t[r]={errorMessage:(n==null?void 0:n.errorMessage)||Si,successMessage:(n==null?void 0:n.successMessage)||wi,processingMessage:(n==null?void 0:n.processingMessage)||bi,submittedMessage:(n==null?void 0:n.submittedMessage)||vi,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(t,e){e.payload!=null&&delete t[e.payload]},clearTransactionsInfo:()=>St},extraReducers:t=>{t.addCase(x,()=>St)}}),{clearTransactionsInfo:xl,setTransactionsDisplayInfo:Sl,clearTransactionsInfoForSessionId:wl}=dn.actions,Ge=dn.reducer});function un(t){return t!=null&&(Pi(t)||Mi(t))}function gn(t){return t!=null&&(_i(t)||Bi(t))}function fn(t){return t!=null&&(Ni(t)||Fi(t))}function Pi(t){return t!=null&&Ii.includes(t)}function _i(t){return t!=null&&ki.includes(t)}function Ni(t){return t!=null&&Ri.includes(t)}function Mi(t){return t!=null&&Ei.includes(t)}function Bi(t){return t!=null&&Li.includes(t)}function Fi(t){return t!=null&&Ci.includes(t)}var Il,Ii,ki,Ri,kl,Rl,Ei,Li,Ci,mn=f(()=>{"use strict";i();re();Il=["sent"],Ii=["success"],ki=["fail","cancelled","timedOut"],Ri=["invalid"],kl=["timedOut"],Rl=["pending"],Ei=["success"],Li=["fail","invalid"],Ci=["not executed"]});var yn,Tn,me,Oi,hn,Ml,Bl,Fl,Ol,Dl,Ul,Wl,Gl,Vl,ql,Hl,qe,He=f(()=>{"use strict";i();yn=require("@reduxjs/toolkit"),Tn=require("redux-persist");re();mn();E();me={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Oi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},hn=(0,yn.createSlice)({name:"transactionsSlice",initialState:me,reducers:{moveTransactionsToSignedState:(t,e)=>{var g,m;let{sessionId:r,transactions:n,errorMessage:o,status:a,redirectRoute:s,customTransactionInformation:u}=e.payload;t.customTransactionInformationForSessionId[r]=h(h(h({},Oi),((g=t.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),t.customTransactionInformationForSessionId[r]||{}),t.signedTransactions[r]={transactions:n,status:a,errorMessage:o,redirectRoute:s,customTransactionInformation:h(h({},t.customTransactionInformationForSessionId[r]),u!=null?u:{})},((m=t==null?void 0:t.transactionsToSign)==null?void 0:m.sessionId)===r&&(t.transactionsToSign=me.transactionsToSign)},clearSignedTransaction:(t,e)=>{t.signedTransactions[e.payload]&&delete t.signedTransactions[e.payload]},clearTransactionToSign:t=>{t!=null&&t.transactionsToSign&&(t.transactionsToSign=null)},updateSignedTransaction:(t,e)=>{t.signedTransactions=h(h({},t.signedTransactions),e.payload)},updateSignedTransactions:(t,e)=>{let{sessionId:r,status:n,errorMessage:o,transactions:a}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].status=n,o!=null&&(t.signedTransactions[r].errorMessage=o),a!=null&&(t.signedTransactions[r].transactions=a))},updateSignedTransactionStatus:(t,e)=>{var g,m,T,y,v,b,D,xe;let{sessionId:r,status:n,errorMessage:o,transactionHash:a,inTransit:s}=e.payload,u=(m=(g=t.signedTransactions)==null?void 0:g[r])==null?void 0:m.transactions;if(u!=null){t.signedTransactions[r].transactions=u.map(U=>U.hash===a?k(h({},U),{status:n,errorMessage:o,inTransit:s}):U);let Io=(y=(T=t.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:y.every(U=>un(U.status)),ko=(b=(v=t.signedTransactions[r])==null?void 0:v.transactions)==null?void 0:b.every(U=>gn(U.status)),Ro=(xe=(D=t.signedTransactions[r])==null?void 0:D.transactions)==null?void 0:xe.every(U=>fn(U.status));Io&&(t.signedTransactions[r].status="success"),ko&&(t.signedTransactions[r].status="fail"),Ro&&(t.signedTransactions[r].status="invalid")}},setTransactionsToSign:(t,e)=>{t.transactionsToSign=e.payload;let{sessionId:r,customTransactionInformation:n}=e.payload;t.customTransactionInformationForSessionId[r]=n,t.signTransactionsError=null},clearAllTransactionsToSign:t=>{t.transactionsToSign=me.transactionsToSign,t.signTransactionsError=null},clearAllSignedTransactions:t=>{t.signedTransactions=me.signedTransactions},setSignTransactionsError:(t,e)=>{t.signTransactionsError=e.payload},setSignTransactionsCancelMessage:(t,e)=>{t.signTransactionsCancelMessage=e.payload},updateSignedTransactionsCustomTransactionInformation:(t,e)=>{let{sessionId:r,customTransactionInformationOverrides:n}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].customTransactionInformation=h(h({},t.signedTransactions[r].customTransactionInformation),n))}},extraReducers:t=>{t.addCase(x,()=>me),t.addCase(Tn.REHYDRATE,(e,r)=>{var s;if(e.signTransactionsCancelMessage=null,!((s=r.payload)!=null&&s.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:o}=r.payload.transactions,a=Object.entries(n).reduce((u,[g,m])=>{let T=new Date(g),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(u[g]=m),u},{});o!=null&&(e.customTransactionInformationForSessionId=o),n!=null&&(e.signedTransactions=a)})}}),{updateSignedTransactionStatus:Ml,updateSignedTransactions:Bl,setTransactionsToSign:Fl,clearAllTransactionsToSign:Ol,clearAllSignedTransactions:Dl,clearSignedTransaction:Ul,clearTransactionToSign:Wl,setSignTransactionsError:Gl,setSignTransactionsCancelMessage:Vl,moveTransactionsToSignedState:ql,updateSignedTransactionsCustomTransactionInformation:Hl}=hn.actions,qe=hn.reducer});var xn,wt,Sn,Yl,$l,Xl,Jl,je,ze=f(()=>{"use strict";i();xn=require("@reduxjs/toolkit");E();wt={},Sn=(0,xn.createSlice)({name:"batchTransactionsSlice",initialState:wt,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>wt},extraReducers:t=>{t.addCase(x,()=>wt)}}),{setBatchTransactions:Yl,updateBatchTransactions:$l,clearBatchTransactions:Xl,clearAllBatchTransactions:Jl}=Sn.actions,je=Sn.reducer});var bn,wn,vn,tp,An,bt=f(()=>{"use strict";i();bn=require("@reduxjs/toolkit");E();wn={},vn=(0,bn.createSlice)({name:"dappConfigSlice",initialState:wn,reducers:{setDappConfig:(t,e)=>e.payload},extraReducers:t=>{t.addCase(x,()=>wn)}}),{setDappConfig:tp}=vn.actions,An=vn.reducer});var ye=f(()=>{"use strict";i();Ce();_e();Me();Fe();De();We();Ve();He();ze();bt()});var vt=f(()=>{"use strict";i()});var Rn,Gi,Vi,Z,$e=f(()=>{"use strict";i();Rn=require("@reduxjs/toolkit");vt();Ce();ze();bt();_e();Me();Fe();De();We();Ve();He();Gi={["account"]:Le,["dappConfig"]:An,["loginInfo"]:Pe,["modals"]:Ne,["networkConfig"]:Be,["signedMessageInfo"]:Oe,["toasts"]:Ue,["transactionsInfo"]:Ge,["transactions"]:qe,["batchTransactions"]:je},Vi=(t={})=>(0,Rn.combineReducers)(h(h({},Gi),t)),Z=Vi});var Pn={};z(Pn,{default:()=>oa,sessionStorageReducers:()=>At});function q(t,e=[]){return{key:t,version:1,storage:Ln.default,blacklist:e}}var I,En,Ln,qi,Te,Hi,ji,zi,Ki,Yi,$i,Xi,Ji,Zi,Qi,Cn,ea,At,ta,ra,na,oa,_n=f(()=>{"use strict";i();I=require("redux-persist"),En=K(require("redux-persist/lib/storage")),Ln=K(require("redux-persist/lib/storage/session"));$e();ye();Ce();ze();_e();Me();Fe();De();We();Ve();He();vt();qi={persistReducersStorageType:"localStorage"},Te={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Hi=q(Te["account"]),ji=q(Te["loginInfo"]),zi=q(Te["modals"]),Ki=q(Te["networkConfig"]),Yi={2:t=>k(h({},t),{networkConfig:ht})};$i=q("sdk-dapp-transactionsInfo"),Xi=q("sdk-dapp-transactions",["transactionsToSign"]),Ji=q("sdk-dapp-batchTransactions",["batchTransactions"]),Zi=q("sdk-dapp-toasts"),Qi=q("sdk-dapp-signedMessageInfo"),Cn={key:"sdk-dapp-store",version:2,storage:En.default,whitelist:Object.keys(Te),migrate:(0,I.createMigrate)(Yi,{debug:!1})},ea=k(h({},Cn),{whitelist:[]}),At={["toasts"]:(0,I.persistReducer)(Zi,Ue),["transactions"]:(0,I.persistReducer)(Xi,qe),["transactionsInfo"]:(0,I.persistReducer)($i,Ge),["batchTransactions"]:(0,I.persistReducer)(Ji,je),["signedMessageInfo"]:(0,I.persistReducer)(Qi,Oe)},ta=k(h({},At),{["account"]:(0,I.persistReducer)(Hi,Le),["loginInfo"]:(0,I.persistReducer)(ji,Pe),["modals"]:(0,I.persistReducer)(zi,Ne),["networkConfig"]:(0,I.persistReducer)(Ki,Be)}),ra=qi.persistReducersStorageType==="localStorage",na=ra?(0,I.persistReducer)(Cn,Z(At)):(0,I.persistReducer)(ea,Z(ta)),oa=na});var Nn={};z(Nn,{default:()=>ia});var ia,Mn=f(()=>{"use strict";i();$e();ia=Z()});var Bn={};z(Bn,{default:()=>sa});var P,aa,sa,Fn=f(()=>{"use strict";i();P=require("redux-persist"),aa=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],sa=aa});var Un={};z(Un,{default:()=>Dn});function Dn(t){return(0,On.persistStore)(t)}var On,Wn=f(()=>{"use strict";i();On=require("redux-persist")});var zn=R((od,jn)=>{i();var la=typeof l=="object"&&l&&l.Object===Object&&l;jn.exports=la});var Yn=R((id,Kn)=>{i();var pa=zn(),da=typeof self=="object"&&self&&self.Object===Object&&self,ua=pa||da||Function("return this")();Kn.exports=ua});var kt=R((ad,$n)=>{i();var ga=Yn(),fa=ga.Symbol;$n.exports=fa});var Qn=R((sd,Zn)=>{i();var Xn=kt(),Jn=Object.prototype,ma=Jn.hasOwnProperty,ya=Jn.toString,he=Xn?Xn.toStringTag:void 0;function Ta(t){var e=ma.call(t,he),r=t[he];try{t[he]=void 0;var n=!0}catch(a){}var o=ya.call(t);return n&&(e?t[he]=r:delete t[he]),o}Zn.exports=Ta});var to=R((cd,eo)=>{i();var ha=Object.prototype,xa=ha.toString;function Sa(t){return xa.call(t)}eo.exports=Sa});var io=R((ld,oo)=>{i();var ro=kt(),wa=Qn(),ba=to(),va="[object Null]",Aa="[object Undefined]",no=ro?ro.toStringTag:void 0;function Ia(t){return t==null?t===void 0?Aa:va:no&&no in Object(t)?wa(t):ba(t)}oo.exports=Ia});var so=R((pd,ao)=>{i();var ka=Array.isArray;ao.exports=ka});var lo=R((dd,co)=>{i();function Ra(t){return t!=null&&typeof t=="object"}co.exports=Ra});var uo=R((ud,po)=>{i();var Ea=io(),La=so(),Ca=lo(),Pa="[object String]";function _a(t){return typeof t=="string"||!La(t)&&Ca(t)&&Ea(t)==Pa}po.exports=_a});var Wa={};z(Wa,{ExperimentalWebviewProvider:()=>j});module.exports=le(Wa);i();var vo=require("@multiversx/sdk-core"),Ao=require("@multiversx/sdk-web-wallet-cross-window-provider/out/constants"),_=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");E();i();var It=require("@reduxjs/toolkit"),Hn=require("react-redux/lib/utils/Subscription");ye();i();var In=K(require("lodash.throttle"));de();ye();Tt();Ee();ue();var Di=[Ie],Ke=!1,Ui=(0,In.default)(()=>{fe(ge())},5e3),kn=t=>e=>r=>{if(Di.includes(r.type))return e(r);let n=t.getState(),o=oe.local.getItem(J.loginExpiresAt);if(!Boolean(n==null?void 0:n.account.address))return e(r);if(o==null)return fe(ge());let s=Date.now();return o-s<0&&!Ke?setTimeout(()=>{Ke=!0,t.dispatch(qr())},1e3):(Ke&&(Ke=!1),Ui()),e(r)};i();i();function Ye(){return typeof sessionStorage!="undefined"}var Gn=Ye()?(_n(),le(Pn)).default:(Mn(),le(Nn)).default,Vn=Ye()?(Fn(),le(Bn)).default:[],qn=Ye()?(Wn(),le(Un)).default:t=>t;$e();var ie=(0,It.configureStore)({reducer:Gn,middleware:t=>t({serializableCheck:{ignoredActions:[...Vn,Or.type,Fr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(kn)}),Qp=(0,Hn.createSubscription)(ie),ed=qn(ie),td=(0,It.configureStore)({reducer:Z});i();E();ye();pe();i();i();function ca(t){try{let e=atob(t),r=btoa(e),n=p.Buffer.from(t,"base64").toString(),o=p.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===o||o.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}function ae(t){return ca(t)?atob(t):t}i();var go=K(uo());var fo=t=>{if(!t||!(0,go.default)(t))return null;let e=t.split(".");if(e.length!==4)return null;try{let[r,n,o,a]=e,s=JSON.parse(ae(a)),u=ae(r);return{ttl:Number(o),extraInfo:s,origin:u,blockHash:n}}catch(r){return console.error(`Error trying to decode ${t}:`,r),null}};function Na(t){return Object.prototype.toString.call(t)==="[object String]"}var mo=t=>{var r;if(!t||!Na(t))return null;let e=t.split(".");if(e.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[n,o,a]=e,s=ae(n),u=ae(o),g=fo(u);if(!g)return{address:s,body:u,signature:a,blockHash:"",origin:"",ttl:0};let m=k(h({},g),{address:s,body:u,signature:a});return(r=g.extraInfo)!=null&&r.timestamp||delete m.extraInfo,m}catch(n){return null}};function yo(t,e=ie.dispatch){let r=mo(t);if(r==null)return;let{signature:n,address:o}=r;n&&t&&o&&(e(Vr({loginToken:t,signature:n,nativeAuthToken:t})),e(ne({address:o,loginMethod:"extra"})))}i();i();var Ma=require("@multiversx/sdk-extension-provider"),Ba=require("@multiversx/sdk-hw-provider"),Fa=require("@multiversx/sdk-opera-provider"),Oa=require("@multiversx/sdk-web-wallet-cross-window-provider"),Da=require("@multiversx/sdk-web-wallet-provider");de();re();i();i();var H=t=>`Unable to perform ${t}, Provider not initialized`,Xe=class{init(){return Promise.resolve(!1)}login(e){throw new Error(H(`login with options: ${e}`))}logout(e){throw new Error(H(`logout with options: ${e}`))}getAddress(){throw new Error(H("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(H(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(H(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(H(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(H(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(H(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(H(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},To=new Xe;var Ua=To,ho=null;function xo(){ho!=null&&(Ua=ho)}i();i();var So=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var se=()=>{var t;if(So()){let e=window.location.ancestorOrigins;return(t=e==null?void 0:e[e.length-1])!=null?t:"*"}return"*"};i();var wo=t=>()=>{throw new Error(`Unable to perform ${t}, Provider not initialized`)};i();var bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Je=(t,e)=>r=>{let{type:n,payload:o}=r.data;if(r.origin!=se()){console.error("origin not accepted",{eventOrigin:r.origin});return}(t===n||n===bo.CrossWindowProviderResponseEnums.cancelResponse)&&(window.removeEventListener("message",Je(t,e)),e({type:n,payload:o}))};var j=class{constructor(){this.resetState=()=>{(typeof window!="undefined"?window:{}).addEventListener("message",Je(_.CrossWindowProviderResponseEnums.resetStateResponse,r=>{r.type===_.CrossWindowProviderResponseEnums.resetStateResponse&&(ie.dispatch(x()),this.sendPostMessage({type:_.CrossWindowProviderRequestEnums.finalizeResetStateRequest,payload:void 0}))}))};this.init=()=>L(this,null,function*(){return!0});this.login=()=>L(this,null,function*(){return!0});this.logout=()=>L(this,null,function*(){let e=yield this.sendPostMessage({type:_.CrossWindowProviderRequestEnums.logoutRequest,payload:void 0});return Boolean(e.payload.data)});this.relogin=()=>L(this,null,function*(){let e=yield this.sendPostMessage({type:_.CrossWindowProviderRequestEnums.loginRequest,payload:void 0}),{data:r,error:n}=e.payload;if(n||!r)throw new Error("Unable to re-login");let{accessToken:o}=r;return o?(yo(o),xo(),o):(console.error("Unable to re-login. Missing accessToken."),null)});this.signTransactions=e=>L(this,null,function*(){let r=yield this.sendPostMessage({type:_.CrossWindowProviderRequestEnums.signTransactionsRequest,payload:e.map(a=>a.toPlainObject())}),{data:n,error:o}=r.payload;return o||!n?(console.error("Unable to sign transactions"),null):n.map(a=>vo.Transaction.fromPlainObject(a))});this.signTransaction=e=>L(this,null,function*(){let r=yield this.signTransactions([e]);return r==null?void 0:r[0]});this.sendPostMessage=e=>L(this,null,function*(){let r=typeof window!="undefined"?window:{};return r.ReactNativeWebView?r.ReactNativeWebView.postMessage(JSON.stringify(e),se()):r.webkit?r.webkit.messageHandlers.postMessage(JSON.stringify(e),se()):r.parent&&r.parent.postMessage(e,se()),yield this.waitingForResponse(Ao.responseTypeMap[e.type])});this.isInitialized=()=>!0;this.isConnected=()=>L(this,null,function*(){return!0});this.getAddress=wo("getAddress");this.resetState()}static getInstance(){return j.instance||(j.instance=new j),j.instance}signMessage(e){return L(this,null,function*(){let r=yield this.sendPostMessage({type:_.CrossWindowProviderRequestEnums.signMessageRequest,payload:{message:e.message.toString()}}),{data:n,error:o}=r.payload;return o||!n?(console.error("Unable to sign message"),null):n.status!==_.SignMessageStatusEnum.signed?(console.error("Could not sign message"),null):(e.applySignature(p.Buffer.from(String(n.signature),"hex")),e)})}waitingForResponse(e){return L(this,null,function*(){return yield new Promise(r=>{window.addEventListener("message",Je(e,r))})})}};0&&(module.exports={ExperimentalWebviewProvider});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";var Tr=Object.create;var b=Object.defineProperty;var Ir=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var Cr=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Sr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!Lr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Ir(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Tr(Cr(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),_r=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(W=>{"use strict";F();W.byteLength=kr;W.toByteArray=br;W.fromByteArray=Yr;var g=[],m=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=X.length;d<er;++d)g[d]=X[d],m[X.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function kr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Dr(e,r,t){return(r+t)*3/4-t}function br(e){var r,t=ir(e),i=t[0],n=t[1],o=new Mr(Dr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Nr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Wr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Nr(i));return n.join("")}function Yr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Wr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(G=>{F();G.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};G.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,S=i?1:-1,Ur=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=S,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=S,u/=256,c-=8);e[t+x-S]|=Ur*128}});var Er=N(_=>{"use strict";F();var J=nr(),R=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=Jr;_.INSPECT_MAX_BYTES=50;var q=2147483647;_.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=qr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function qr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Hr(e,r);if(ArrayBuffer.isView(e))return Xr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Gr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function zr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return zr(e,r,t)};function O(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return O(e)};a.allocUnsafeSlow=function(e){return O(e)};function Hr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function Q(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Xr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Gr(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function Z(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function Jr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:K(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Qr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return et(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return rt(this,r,t);case"latin1":case"binary":return tt(this,r,t);case"base64":return Pr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Qr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,S){return o===1?x[S]:x.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Vr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Kr(e,r,t,i){return z(K(r,e.length-t),e,t,i)}function Or(e,r,t,i){return z(ut(r),e,t,i)}function Zr(e,r,t,i){return z(mr(r),e,t,i)}function $r(e,r,t,i){return z(at(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Vr(this,r,t,i);case"utf8":case"utf-8":return Kr(this,r,t,i);case"ascii":case"latin1":case"binary":return Or(this,r,t,i);case"base64":return Zr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $r(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(e,r,t){return r===0&&t===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return jr(i)}var hr=4096;function jr(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function rt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function et(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ht[e[o]];return n}function it(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var nt=/[^+/0-9A-Za-z-_]/g;function ot(e){if(e=e.split("=")[0],e=e.trim().replace(nt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ut(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function at(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return J.toByteArray(ot(e))}function z(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((mt,Ar)=>{F();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function ft(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],M=!1,L,H=-1;function pt(){!M||!L||(M=!1,L.length?T=L.concat(T):H=-1,T.length&&gr())}function gr(){if(!M){var e=Fr(pt);M=!0;for(var r=T.length;r;){for(L=T,T=[];++H<r;)L&&L[H].run();H=-1,r=T.length}L=null,M=!1,ft(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var k,D,Et,F=Sr(()=>{k=tr(Er()),D=tr(vr()),Et=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var lt={};Rr(lt,{notInitializedError:()=>ct});module.exports=_r(lt);F();var ct=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)};0&&(module.exports={notInitializedError});
|
|
2
|
+
/*!
|
|
3
|
+
* The buffer module from node.js, for the browser.
|
|
4
|
+
*
|
|
5
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
9
|
+
//# sourceMappingURL=notInitializedError.js.map
|
package/__commonjs/providers/experimentalWebViewProvider/helpers/webviewProviderEventHandler.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CrossWindowProviderResponseEnums, ReplyWithPostMessagePayloadType } from '@multiversx/sdk-web-wallet-cross-window-provider/out/types';
|
|
2
|
+
export declare const webviewProviderEventHandler: <T extends CrossWindowProviderResponseEnums>(action: T, resolve: (value: {
|
|
3
|
+
type: T;
|
|
4
|
+
payload: ReplyWithPostMessagePayloadType<T>;
|
|
5
|
+
}) => void) => (event: MessageEvent<{
|
|
6
|
+
type: T;
|
|
7
|
+
payload: ReplyWithPostMessagePayloadType<T>;
|
|
8
|
+
}>) => void;
|
|
9
|
+
//# sourceMappingURL=webviewProviderEventHandler.d.ts.map
|
package/__commonjs/providers/experimentalWebViewProvider/helpers/webviewProviderEventHandler.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";var Rr=Object.create;var N=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Mr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty;var kr=(e,r)=>()=>(e&&(r=e(e=0)),r);var W=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Dr=(e,r)=>{for(var t in r)N(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Sr(r))!_r.call(e,n)&&n!==t&&N(e,n,{get:()=>r[n],enumerable:!(i=Lr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Rr(Mr(e)):{},rr(r||!e||!e.__esModule?N(t,"default",{value:e,enumerable:!0}):t,e)),br=e=>rr(N({},"__esModule",{value:!0}),e);var nr=W(Y=>{"use strict";y();Y.byteLength=Wr;Y.toByteArray=qr;Y.fromByteArray=Or;var F=[],E=[],Nr=typeof Uint8Array!="undefined"?Uint8Array:Array,O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I=0,er=O.length;I<er;++I)F[I]=O[I],E[O.charCodeAt(I)]=I;var I,er;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Wr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Yr(e,r,t){return(r+t)*3/4-t}function qr(e){var r,t=ir(e),i=t[0],n=t[1],o=new Nr(Yr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=E[e.charCodeAt(f)]<<18|E[e.charCodeAt(f+1)]<<12|E[e.charCodeAt(f+2)]<<6|E[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=E[e.charCodeAt(f)]<<2|E[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=E[e.charCodeAt(f)]<<10|E[e.charCodeAt(f+1)]<<4|E[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Hr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function Pr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Hr(i));return n.join("")}function Or(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Pr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(F[r>>2]+F[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),n.join("")}});var or=W(X=>{y();X.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,g=t?-1:1,m=e[r+p];for(p+=g,o=m&(1<<-l)-1,m>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=g,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=g,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(m?-1:1)*u*Math.pow(2,o-i)};X.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,M=i?1:-1,Cr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=g/f:r+=g*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+m]=h&255,m+=M,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+m]=u&255,m+=M,u/=256,c-=8);e[t+m-M]|=Cr*128}});var Er=W(D=>{"use strict";y();var G=nr(),k=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=Vr;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=Xr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Xr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function T(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return V(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return zr(e,r);if(ArrayBuffer.isView(e))return Jr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(v(e,ArrayBuffer)||e&&v(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(e,SharedArrayBuffer)||e&&v(e.buffer,SharedArrayBuffer)))return J(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Qr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Gr(e,r,t){return pr(e),e<=0?T(e):r!==void 0?typeof t=="string"?T(e).fill(r,t):T(e).fill(r):T(e)}a.alloc=function(e,r,t){return Gr(e,r,t)};function V(e){return pr(e),T(e<0?0:K(e)|0)}a.allocUnsafe=function(e){return V(e)};a.allocUnsafeSlow=function(e){return V(e)};function zr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=T(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function z(e){for(var r=e.length<0?0:K(e.length)|0,t=T(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Jr(e){if(v(e,Uint8Array)){var r=new Uint8Array(e);return J(r.buffer,r.byteOffset,r.byteLength)}return z(e)}function J(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Qr(e){if(a.isBuffer(e)){var r=K(e.length)|0,t=T(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||Z(e.length)?T(0):z(e);if(e.type==="Buffer"&&Array.isArray(e.data))return z(e.data)}function K(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function Vr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),v(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(v(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||v(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:Q(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Kr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return ut(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return nt(this,r,t);case"latin1":case"binary":return ot(this,r,t);case"base64":return et(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function L(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)L(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)L(this,t,t+3),L(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)L(this,t,t+7),L(this,t+1,t+6),L(this,t+2,t+5),L(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Kr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Z(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(m,M){return o===1?m[M]:m.readUInt16BE(M*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,g=0;g<h;g++)if(f(e,c+g)!==f(r,g)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Zr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if(Z(h))return u;e[t+u]=h}return u}function $r(e,r,t,i){return H(Q(r,e.length-t),e,t,i)}function jr(e,r,t,i){return H(pt(r),e,t,i)}function rt(e,r,t,i){return H(mr(r),e,t,i)}function tt(e,r,t,i){return H(ct(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Zr(this,r,t,i);case"utf8":case"utf-8":return $r(this,r,t,i);case"ascii":case"latin1":case"binary":return jr(this,r,t,i);case"base64":return rt(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function et(e,r,t){return r===0&&t===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return it(i)}var hr=4096;function it(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function nt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function ot(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function ut(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=lt[e[o]];return n}function at(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!1,52,8)};function x(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;x(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;x(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);x(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);x(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),k.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),k.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ht=/[^+/0-9A-Za-z-_]/g;function ft(e){if(e=e.split("=")[0],e=e.trim().replace(ht,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Q(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function pt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ct(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return G.toByteArray(ft(e))}function H(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function v(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function Z(e){return e!==e}var lt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var Br=W((Ft,Ar)=>{y();var s=Ar.exports={},A,B;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=$}catch(e){A=$}try{typeof clearTimeout=="function"?B=clearTimeout:B=j}catch(e){B=j}})();function gr(e){if(A===setTimeout)return setTimeout(e,0);if((A===$||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function st(e){if(B===clearTimeout)return clearTimeout(e);if((B===j||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(r){try{return B.call(null,e)}catch(t){return B.call(this,e)}}}var d=[],b=!1,S,P=-1;function wt(){!b||!S||(b=!1,S.length?d=S.concat(d):P=-1,d.length&&Fr())}function Fr(){if(!b){var e=gr(wt);b=!0;for(var r=d.length;r;){for(S=d,d=[];++P<r;)S&&S[P].run();P=-1,r=d.length}S=null,b=!1,st(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];d.push(new vr(e,r)),d.length===1&&!b&&gr(Fr)};function vr(e,r){this.fun=e,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function U(){}s.on=U;s.addListener=U;s.once=U;s.off=U;s.removeListener=U;s.removeAllListeners=U;s.emit=U;s.prependListener=U;s.prependOnceListener=U;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var C,R,vt,y=kr(()=>{C=tr(Er()),R=tr(Br()),vt=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var yt={};Dr(yt,{webviewProviderEventHandler:()=>Ir});module.exports=br(yt);y();var Ur=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");y();y();var Tr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var dr=()=>{var e;if(Tr()){let r=window.location.ancestorOrigins;return(e=r==null?void 0:r[r.length-1])!=null?e:"*"}return"*"};var Ir=(e,r)=>t=>{let{type:i,payload:n}=t.data;if(t.origin!=dr()){console.error("origin not accepted",{eventOrigin:t.origin});return}(e===i||i===Ur.CrossWindowProviderResponseEnums.cancelResponse)&&(window.removeEventListener("message",Ir(e,r)),r({type:i,payload:n}))};0&&(module.exports={webviewProviderEventHandler});
|
|
2
|
+
/*!
|
|
3
|
+
* The buffer module from node.js, for the browser.
|
|
4
|
+
*
|
|
5
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
9
|
+
//# sourceMappingURL=webviewProviderEventHandler.js.map
|