@multiversx/sdk-dapp 3.0.19 → 3.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode.js +1 -1
- package/UI/TransactionData/components/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/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/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/chunk-23W57VQI.js +2 -0
- package/__chunks__/{chunk-KESYGJYU.js → chunk-23WC2KZD.js} +2 -2
- package/__chunks__/{chunk-PL254HTU.js → chunk-2EWCUWIU.js} +2 -2
- package/__chunks__/{chunk-4AYFR46S.js → chunk-2F54G2RO.js} +2 -2
- package/__chunks__/chunk-2FAELKQI.js +2 -0
- package/__chunks__/{chunk-FOB5N4UB.js → chunk-2MPHNLIR.js} +2 -2
- package/__chunks__/{chunk-A5FD7DTK.js → chunk-2PVUEXHG.js} +2 -2
- package/__chunks__/{chunk-UQF6NDG4.js → chunk-2S3WLTTZ.js} +2 -2
- package/__chunks__/chunk-2W3HTAH6.js +2 -0
- package/__chunks__/{chunk-4TY7XTOD.js → chunk-2WIDHMD3.js} +2 -2
- package/__chunks__/{chunk-KKHZHP3E.js → chunk-2ZQUCJ3M.js} +2 -2
- package/__chunks__/{chunk-7GYR3BZZ.js → chunk-32LDF3IW.js} +2 -2
- package/__chunks__/chunk-32MQMBNY.js +2 -0
- package/__chunks__/{chunk-RBQXSOSJ.js → chunk-35PKC5YY.js} +2 -2
- package/__chunks__/chunk-373LPU6U.js +2 -0
- package/__chunks__/{chunk-PXO3KXPV.js → chunk-374FMRMN.js} +2 -2
- package/__chunks__/{chunk-WNUN6H4T.js → chunk-37LZRS45.js} +2 -2
- package/__chunks__/{chunk-P3K3ST24.js → chunk-3CA7ECJG.js} +2 -2
- package/__chunks__/{chunk-SOOZPADC.js → chunk-3FCH2UAZ.js} +2 -2
- package/__chunks__/chunk-3FK4DGLL.js +2 -0
- package/__chunks__/{chunk-MNJFPX3O.js → chunk-3HZ45UYC.js} +2 -2
- package/__chunks__/{chunk-5B3VR2FV.js → chunk-3KLEQWPP.js} +2 -2
- package/__chunks__/{chunk-MBNT47JC.js → chunk-3MFOF236.js} +2 -2
- package/__chunks__/chunk-3MMLW2FM.js +2 -0
- package/__chunks__/{chunk-K6Q3BCRA.js → chunk-3RLOPS7A.js} +2 -2
- package/__chunks__/{chunk-TJVSSB6L.js → chunk-3T5225YP.js} +2 -2
- package/__chunks__/{chunk-UEWYCOIN.js → chunk-3Y6TKA2K.js} +2 -2
- package/__chunks__/{chunk-XYPHPEVE.js → chunk-4ANW6FS5.js} +2 -2
- package/__chunks__/{chunk-CPTGXWUV.js → chunk-4G4VB35P.js} +2 -2
- package/__chunks__/{chunk-CZMQWDNV.js → chunk-4I7E4NJZ.js} +2 -2
- package/__chunks__/{chunk-FFPSOIDK.js → chunk-4MOGFP3Q.js} +2 -2
- package/__chunks__/{chunk-4GKDZ3TO.js → chunk-4ROI3DNA.js} +2 -2
- package/__chunks__/{chunk-2XKDGL5T.js → chunk-4TUUC3VG.js} +2 -2
- package/__chunks__/{chunk-R666NKD7.js → chunk-4UIDHBRY.js} +2 -2
- package/__chunks__/{chunk-DST6SZX2.js → chunk-4XP7MUPS.js} +2 -2
- package/__chunks__/{chunk-SKI27VQD.js → chunk-4XVLB7O2.js} +2 -2
- package/__chunks__/{chunk-HS7U64J3.js → chunk-4ZPA2ZNG.js} +2 -2
- package/__chunks__/{chunk-BZGRD26P.js → chunk-5352BVHS.js} +2 -2
- package/__chunks__/chunk-53UDFLVS.js +2 -0
- package/__chunks__/{chunk-XCXIJG4P.js → chunk-57MR6GDY.js} +2 -2
- package/__chunks__/chunk-57R6QXXS.js +2 -0
- package/__chunks__/chunk-5AG7LTJX.js +2 -0
- package/__chunks__/{chunk-BRMDGFCG.js → chunk-5BLBYHWX.js} +2 -2
- package/__chunks__/{chunk-VTFUHAXE.js → chunk-5C4JVHQ3.js} +2 -2
- package/__chunks__/{chunk-QZD5N7RZ.js → chunk-5D4CGOGE.js} +2 -2
- package/__chunks__/{chunk-BAJZ4MU7.js → chunk-5GBKDMCE.js} +2 -2
- package/__chunks__/chunk-5L7UGYCL.js +2 -0
- package/__chunks__/{chunk-UL64XUYA.js → chunk-5LRWSHX3.js} +2 -2
- package/__chunks__/chunk-5NREUPDN.js +2 -0
- package/__chunks__/{chunk-SOD2H65H.js → chunk-5QJNIURL.js} +2 -2
- package/__chunks__/{chunk-XECVYP4E.js → chunk-5R22KYMS.js} +2 -2
- package/__chunks__/{chunk-K3JRXFGH.js → chunk-5SCA66ZU.js} +2 -2
- package/__chunks__/chunk-5SHZENX7.js +2 -0
- package/__chunks__/{chunk-3CINYBP7.js → chunk-5SS7NZ62.js} +2 -2
- package/__chunks__/{chunk-PBD3PMQ6.js → chunk-5UW3KHZF.js} +2 -2
- package/__chunks__/chunk-5ZTQTA57.js +2 -0
- package/__chunks__/chunk-67LZSTQG.js +2 -0
- package/__chunks__/chunk-6DLLJ73W.js +2 -0
- package/__chunks__/{chunk-VRTCS22N.js → chunk-6EJ3CDZ2.js} +2 -2
- package/__chunks__/{chunk-MBDPT5AM.js → chunk-6MFLNPAV.js} +2 -2
- package/__chunks__/{chunk-XIH5JQMU.js → chunk-6MSKJ2PR.js} +2 -2
- package/__chunks__/{chunk-V4A4RI3N.js → chunk-6PBV75WN.js} +2 -2
- package/__chunks__/{chunk-XYD5IJAJ.js → chunk-753TEHRM.js} +2 -2
- package/__chunks__/{chunk-L7JIR6OV.js → chunk-77HA2TCZ.js} +2 -2
- package/__chunks__/{chunk-45TZJ2VF.js → chunk-7AHPPG66.js} +2 -2
- package/__chunks__/chunk-7HIOJST5.js +2 -0
- package/__chunks__/chunk-7QQW7OZC.js +2 -0
- package/__chunks__/{chunk-4SMYG4AO.js → chunk-7VPFM2FM.js} +2 -2
- package/__chunks__/{chunk-XSPP3G57.js → chunk-7X6D3IN6.js} +2 -2
- package/__chunks__/{chunk-6IOVE2XD.js → chunk-A4PKFKOI.js} +2 -2
- package/__chunks__/{chunk-77ZPJ5ZZ.js → chunk-A57Z5SS4.js} +2 -2
- package/__chunks__/{chunk-AHFVMJ7X.js → chunk-AEE3RXHB.js} +2 -2
- package/__chunks__/chunk-AEL32BBY.js +2 -0
- package/__chunks__/{chunk-XQIEPK5J.js → chunk-AELXW3UM.js} +2 -2
- package/__chunks__/{chunk-4MYDIG2C.js → chunk-AH5JZOCZ.js} +2 -2
- package/__chunks__/{chunk-JD4QKREV.js → chunk-AMHG363J.js} +2 -2
- package/__chunks__/{chunk-ZZ3PILAG.js → chunk-AR72EQDQ.js} +2 -2
- package/__chunks__/{chunk-TIMS5S2C.js → chunk-B3RDMC5R.js} +2 -2
- package/__chunks__/{chunk-LPRQ2IYP.js → chunk-B6AES4OZ.js} +2 -2
- package/__chunks__/{chunk-6MNICFK6.js → chunk-BBQYRT3U.js} +2 -2
- package/__chunks__/{chunk-JWSME6SY.js → chunk-BGY3RENH.js} +2 -2
- package/__chunks__/{chunk-4VEIGU4J.js → chunk-BH6L3X37.js} +2 -2
- package/__chunks__/{chunk-33ZQXWGC.js → chunk-BSAFBHP4.js} +2 -2
- package/__chunks__/chunk-BSS45KE5.js +2 -0
- package/__chunks__/{chunk-76WLQW5F.js → chunk-BSSSW6DS.js} +2 -2
- package/__chunks__/{chunk-YOZHK36J.js → chunk-BT5CQ3TL.js} +2 -2
- package/__chunks__/{chunk-MJZ7CDPB.js → chunk-BVC772NI.js} +2 -2
- package/__chunks__/{chunk-L5MDW727.js → chunk-C2WXU3NW.js} +2 -2
- package/__chunks__/{chunk-XL7XIOJR.js → chunk-C3FEVXGG.js} +2 -2
- package/__chunks__/{chunk-V3TVICHS.js → chunk-C3WI7D7F.js} +2 -2
- package/__chunks__/{chunk-N2M34KLB.js → chunk-C7FBZTKK.js} +2 -2
- package/__chunks__/{chunk-DYVTV6RQ.js → chunk-C7SLWPOR.js} +2 -2
- package/__chunks__/{chunk-FV6H3A4M.js → chunk-CAWOYSSN.js} +2 -2
- package/__chunks__/{chunk-HCWQSW2G.js → chunk-CH76NS43.js} +2 -2
- package/__chunks__/{chunk-YQT2T3WW.js → chunk-CLYKUTT7.js} +2 -2
- package/__chunks__/chunk-CMQ35IPJ.js +2 -0
- package/__chunks__/{chunk-CUYJAD7W.js → chunk-COI4EMDU.js} +2 -2
- package/__chunks__/{chunk-6JKT3JAV.js → chunk-CP466LLF.js} +2 -2
- package/__chunks__/chunk-D3W4OXHN.js +2 -0
- package/__chunks__/{chunk-CTZINBSZ.js → chunk-D4US64MS.js} +2 -2
- package/__chunks__/{chunk-D643KB2W.js → chunk-DCBM62KH.js} +2 -2
- package/__chunks__/{chunk-NC27GOVK.js → chunk-DD4LPADX.js} +2 -2
- package/__chunks__/{chunk-3B4DWW6O.js → chunk-DDMO5HPN.js} +2 -2
- package/__chunks__/{chunk-2AIEU6LZ.js → chunk-DIM4QWEK.js} +2 -2
- package/__chunks__/{chunk-KACXL2VQ.js → chunk-DLCUTHCZ.js} +2 -2
- package/__chunks__/{chunk-HVGKEJEB.js → chunk-DLZTETOY.js} +2 -2
- package/__chunks__/{chunk-4ES3KUQJ.js → chunk-DPIDKLDE.js} +2 -2
- package/__chunks__/{chunk-K34NQEQO.js → chunk-DUHIIQF3.js} +2 -2
- package/__chunks__/{chunk-J5WQX5EE.js → chunk-DUJ3I45G.js} +2 -2
- package/__chunks__/chunk-DVZPZ72H.js +2 -0
- package/__chunks__/{chunk-NW56V3MY.js → chunk-EAG3ETLP.js} +2 -2
- package/__chunks__/{chunk-BNQM3PSY.js → chunk-EBFN2JQC.js} +2 -2
- package/__chunks__/{chunk-TWMGKIYA.js → chunk-EBR57EHR.js} +2 -2
- package/__chunks__/{chunk-N3YUZLCM.js → chunk-ECLZP7XW.js} +2 -2
- package/__chunks__/{chunk-GAMY5LR7.js → chunk-EF57BAGN.js} +2 -2
- package/__chunks__/{chunk-TTFHCVKE.js → chunk-EG6G2Y34.js} +2 -2
- package/__chunks__/{chunk-4YOJYG6R.js → chunk-EHWKULWV.js} +2 -2
- package/__chunks__/{chunk-DPY2TNEY.js → chunk-EIMOK4HN.js} +2 -2
- package/__chunks__/{chunk-PQQY2VA2.js → chunk-EMZYG7TB.js} +2 -2
- package/__chunks__/{chunk-SJFNSQDE.js → chunk-ENOR2DGK.js} +2 -2
- package/__chunks__/chunk-EPMMOVPH.js +2 -0
- package/__chunks__/chunk-ER7U52LM.js +2 -0
- package/__chunks__/{chunk-VO5H44X2.js → chunk-ESGYVSGQ.js} +2 -2
- package/__chunks__/{chunk-YZB7HVFC.js → chunk-EUFDZO65.js} +2 -2
- package/__chunks__/{chunk-EZ2PLUR5.js → chunk-EW26E3PC.js} +2 -2
- package/__chunks__/chunk-F4KUUGH7.js +2 -0
- package/__chunks__/{chunk-SUPKMGBY.js → chunk-F4ZVPXUD.js} +2 -2
- package/__chunks__/{chunk-3DIC5G74.js → chunk-F5HX2V7Y.js} +2 -2
- package/__chunks__/chunk-F7TPGTAX.js +2 -0
- package/__chunks__/{chunk-ZAXYP5DO.js → chunk-FDR3SFSN.js} +2 -2
- package/__chunks__/{chunk-M6UZBBM2.js → chunk-FE5MUQSZ.js} +2 -2
- package/__chunks__/{chunk-6XLP6QV5.js → chunk-FFO63W7J.js} +2 -2
- package/__chunks__/{chunk-QFFXJQMU.js → chunk-FITLB2Z5.js} +2 -2
- package/__chunks__/{chunk-2FT64D47.js → chunk-FNO4USUA.js} +2 -2
- package/__chunks__/chunk-FTTEVENT.js +2 -0
- package/__chunks__/{chunk-DFXCBJPX.js → chunk-FYRM2TPY.js} +2 -2
- package/__chunks__/{chunk-ZD5GDFTR.js → chunk-G2QZJWIY.js} +2 -2
- package/__chunks__/chunk-GABJA3SW.js +2 -0
- package/__chunks__/{chunk-TJ462GVP.js → chunk-GBTPD7XI.js} +2 -2
- package/__chunks__/chunk-GFBJ6KSR.js +2 -0
- package/__chunks__/{chunk-NMC25ZUJ.js → chunk-GGJYXINP.js} +2 -2
- package/__chunks__/{chunk-Q2II6WAH.js → chunk-GJPDUXUP.js} +2 -2
- package/__chunks__/{chunk-LABFKDKK.js → chunk-GLHSSAW5.js} +2 -2
- package/__chunks__/{chunk-A4X2GOUI.js → chunk-GMBVYARR.js} +2 -2
- package/__chunks__/chunk-GOHJBIXQ.js +2 -0
- package/__chunks__/{chunk-IE3IVXRG.js → chunk-GPK5TKRY.js} +2 -2
- package/__chunks__/{chunk-BBPVQC7L.js → chunk-GYZKZJYT.js} +2 -2
- package/__chunks__/{chunk-Y4OZCVUZ.js → chunk-HC62WSPV.js} +2 -2
- package/__chunks__/{chunk-TPMTRTYF.js → chunk-HFNGX3KT.js} +2 -2
- package/__chunks__/{chunk-NRHVGC3B.js → chunk-HG4W2KMT.js} +2 -2
- package/__chunks__/{chunk-HWKORQ2K.js → chunk-HGGDLHW3.js} +2 -2
- package/__chunks__/{chunk-O7BFK3AK.js → chunk-HHOGX6TO.js} +2 -2
- package/__chunks__/{chunk-3QAMKN76.js → chunk-HHPJ6WV3.js} +2 -2
- package/__chunks__/{chunk-2YBZB3QT.js → chunk-HMF2IDRU.js} +2 -2
- package/__chunks__/{chunk-SEELVEOF.js → chunk-HNGOWZIV.js} +2 -2
- package/__chunks__/{chunk-WNUGX7UH.js → chunk-HRTPY35M.js} +2 -2
- package/__chunks__/{chunk-OJ65PGXZ.js → chunk-I2A5AQNP.js} +2 -2
- package/__chunks__/{chunk-H7F7QSSU.js → chunk-I3X6N7LO.js} +2 -2
- package/__chunks__/chunk-IFE6VMJ3.js +2 -0
- package/__chunks__/{chunk-AUTRTBBJ.js → chunk-IGW3VTIY.js} +2 -2
- package/__chunks__/{chunk-D75WP7GF.js → chunk-INBYDHWB.js} +2 -2
- package/__chunks__/{chunk-XI3XVOOA.js → chunk-IOPVZ45X.js} +2 -2
- package/__chunks__/{chunk-ZDIO44CA.js → chunk-IRNEDUNB.js} +2 -2
- package/__chunks__/chunk-ISZ75WJH.js +2 -0
- package/__chunks__/chunk-IV2UAHHR.js +2 -0
- package/__chunks__/{chunk-H664UVLI.js → chunk-IZZTMNKL.js} +2 -2
- package/__chunks__/{chunk-OE2KHOEY.js → chunk-J4B76GXU.js} +2 -2
- package/__chunks__/{chunk-NUHG6ACY.js → chunk-J6OGEOZF.js} +2 -2
- package/__chunks__/{chunk-AN3PVYB6.js → chunk-JE427V4Z.js} +2 -2
- package/__chunks__/{chunk-TFZRV4WV.js → chunk-JFEGFJYG.js} +2 -2
- package/__chunks__/{chunk-NYBV3BY2.js → chunk-JIK3LUAR.js} +2 -2
- package/__chunks__/chunk-JJTGLVUF.js +2 -0
- package/__chunks__/{chunk-Z4HYDMJT.js → chunk-JLIHM4EX.js} +2 -2
- package/__chunks__/{chunk-6EGCNSFW.js → chunk-JPCER52L.js} +2 -2
- package/__chunks__/{chunk-DQBNJKXP.js → chunk-JPD3QTIU.js} +2 -2
- package/__chunks__/{chunk-W3IQPPVZ.js → chunk-JPDRIR4Z.js} +2 -2
- package/__chunks__/{chunk-G2TQCLY5.js → chunk-JPKVM3BC.js} +2 -2
- package/__chunks__/chunk-JQMWV6DI.js +2 -0
- package/__chunks__/{chunk-IIO4O6XX.js → chunk-JSB4XBCL.js} +2 -2
- package/__chunks__/chunk-K6BN2PIQ.js +2 -0
- package/__chunks__/{chunk-3AOUWDRN.js → chunk-KCGGUA32.js} +2 -2
- package/__chunks__/{chunk-6DGZJKY3.js → chunk-KHPD52EJ.js} +2 -2
- package/__chunks__/{chunk-UPRCDBIL.js → chunk-KMB7EN5T.js} +2 -2
- package/__chunks__/{chunk-ENATCDDM.js → chunk-KQWCGLKP.js} +2 -2
- package/__chunks__/chunk-KSQWG7D6.js +2 -0
- package/__chunks__/{chunk-2ZQNGVTU.js → chunk-KWHIRYM3.js} +2 -2
- package/__chunks__/{chunk-TFN5IPAO.js → chunk-KXVCKONE.js} +2 -2
- package/__chunks__/{chunk-IJ3VVADG.js → chunk-L3NF2WWJ.js} +2 -2
- package/__chunks__/{chunk-AFOBGIC6.js → chunk-LAFMXFOI.js} +2 -2
- package/__chunks__/{chunk-V5CKNZA2.js → chunk-LBUDVIWP.js} +2 -2
- package/__chunks__/{chunk-LYO6GZ3A.js → chunk-LEQ75G3A.js} +2 -2
- package/__chunks__/chunk-LFKVDONT.js +2 -0
- package/__chunks__/{chunk-GSIGCMHA.js → chunk-LGJ4VZCA.js} +2 -2
- package/__chunks__/{chunk-2B7ZGYEB.js → chunk-LHRY3BCM.js} +2 -2
- package/__chunks__/{chunk-5AMJYRJ2.js → chunk-LHUR76KN.js} +2 -2
- package/__chunks__/{chunk-MYP4XQY5.js → chunk-LIEOTQFR.js} +2 -2
- package/__chunks__/chunk-LLOW255X.js +2 -0
- package/__chunks__/{chunk-5B5X4S2N.js → chunk-LO5TIX3Y.js} +2 -2
- package/__chunks__/{chunk-XCEBI3EQ.js → chunk-LTYEDJJ2.js} +2 -2
- package/__chunks__/{chunk-D62OYHN4.js → chunk-LV2S4RYW.js} +2 -2
- package/__chunks__/{chunk-Y4GMWUQR.js → chunk-LWLTZEUR.js} +2 -2
- package/__chunks__/{chunk-GDIJ3VWC.js → chunk-M246O3B3.js} +2 -2
- package/__chunks__/{chunk-36UWRGFL.js → chunk-M2MGPV3G.js} +2 -2
- package/__chunks__/{chunk-A6ZSNFXP.js → chunk-M7BKKUT5.js} +2 -2
- package/__chunks__/{chunk-VDQSHSAP.js → chunk-MA2KGP7W.js} +2 -2
- package/__chunks__/chunk-MBDEDSEW.js +2 -0
- package/__chunks__/{chunk-ZIIDK2IX.js → chunk-MCUKOZTI.js} +2 -2
- package/__chunks__/{chunk-QUMXWER5.js → chunk-MF2ADMXP.js} +2 -2
- package/__chunks__/{chunk-HK3BL5WJ.js → chunk-MIULHZAH.js} +2 -2
- package/__chunks__/chunk-MPUNA5XV.js +2 -0
- package/__chunks__/{chunk-RNXCDZE7.js → chunk-MVCZXQXR.js} +2 -2
- package/__chunks__/{chunk-UES4R3TC.js → chunk-MX7UJG44.js} +2 -2
- package/__chunks__/{chunk-B7YPTPRE.js → chunk-MXUHVHOH.js} +2 -2
- package/__chunks__/chunk-N57EYQI7.js +2 -0
- package/__chunks__/{chunk-XCETJVG5.js → chunk-N663DLSJ.js} +2 -2
- package/__chunks__/{chunk-HFGBJ5GL.js → chunk-N66X65TX.js} +2 -2
- package/__chunks__/{chunk-KDC72FBJ.js → chunk-N6HKO3SW.js} +2 -2
- package/__chunks__/{chunk-QGCSWJ3J.js → chunk-NFZXFTIJ.js} +2 -2
- package/__chunks__/chunk-NHLOLDJR.js +2 -0
- package/__chunks__/{chunk-ZQBSKR72.js → chunk-NHROF5TT.js} +2 -2
- package/__chunks__/{chunk-TISG47PR.js → chunk-NIVQGF2V.js} +2 -2
- package/__chunks__/{chunk-P5MIE6MI.js → chunk-NMHPPGKU.js} +2 -2
- package/__chunks__/{chunk-XNDB3RCO.js → chunk-NNWU2XKG.js} +2 -2
- package/__chunks__/{chunk-BF4DM7R5.js → chunk-NQAHCE7L.js} +2 -2
- package/__chunks__/chunk-NVL466WG.js +2 -0
- package/__chunks__/{chunk-W6YGSEZ4.js → chunk-NXNZKTGH.js} +2 -2
- package/__chunks__/{chunk-XEEY3HDK.js → chunk-O7A3B5UL.js} +2 -2
- package/__chunks__/{chunk-I5OGC7V5.js → chunk-O7JYT45R.js} +2 -2
- package/__chunks__/{chunk-EIV36FLO.js → chunk-OBQG7TN6.js} +2 -2
- package/__chunks__/{chunk-ICO7LEX6.js → chunk-OC33PRLG.js} +2 -2
- package/__chunks__/{chunk-5VBOKKA2.js → chunk-OCJRSBSJ.js} +2 -2
- package/__chunks__/{chunk-RV7HFQKN.js → chunk-OHAEDCR2.js} +2 -2
- package/__chunks__/{chunk-K6LPKU4O.js → chunk-OMVKOTXJ.js} +2 -2
- package/__chunks__/{chunk-XB5AV6KL.js → chunk-OPT3JYNI.js} +2 -2
- package/__chunks__/chunk-OQPJ4PWY.js +2 -0
- package/__chunks__/{chunk-Q6C25DHD.js → chunk-OT6KGZK7.js} +2 -2
- package/__chunks__/{chunk-3VDMQS32.js → chunk-OTH7NKIZ.js} +2 -2
- package/__chunks__/chunk-OUPXEHT3.js +2 -0
- package/__chunks__/{chunk-4D6645YL.js → chunk-OX6AVWT2.js} +2 -2
- package/__chunks__/{chunk-F74R22JL.js → chunk-OXOSM3NE.js} +2 -2
- package/__chunks__/{chunk-MKL2OLL6.js → chunk-P34RUZDS.js} +2 -2
- package/__chunks__/{chunk-L2JEVZQR.js → chunk-P6QWJR6B.js} +2 -2
- package/__chunks__/{chunk-5O6AK6MZ.js → chunk-PAGUMJIE.js} +2 -2
- package/__chunks__/{chunk-5IFIHV7J.js → chunk-PCOFQP2Q.js} +2 -2
- package/__chunks__/{chunk-3LHVCJCV.js → chunk-PEA3BMKQ.js} +2 -2
- package/__chunks__/{chunk-NLSTULNQ.js → chunk-PKNQHUL6.js} +2 -2
- package/__chunks__/chunk-PNBNE73F.js +2 -0
- package/__chunks__/{chunk-YTARCORV.js → chunk-PO7Q5SP6.js} +2 -2
- package/__chunks__/{chunk-WH5HQCTW.js → chunk-PPUI3BLS.js} +2 -2
- package/__chunks__/chunk-PZ4AH7DF.js +2 -0
- package/__chunks__/{chunk-IAQHH2SB.js → chunk-Q3ADNNYG.js} +2 -2
- package/__chunks__/{chunk-P4STGZJH.js → chunk-Q3FE2XOG.js} +2 -2
- package/__chunks__/{chunk-ASQ3U46M.js → chunk-Q7OFESUO.js} +2 -2
- package/__chunks__/{chunk-EGXPMWIO.js → chunk-QD537MZU.js} +2 -2
- package/__chunks__/{chunk-4EMUKO3O.js → chunk-QENN6NDL.js} +2 -2
- package/__chunks__/{chunk-CJKEPVMO.js → chunk-QMDTJFU3.js} +2 -2
- package/__chunks__/{chunk-DZICGNLZ.js → chunk-QRFFMY5Q.js} +2 -2
- package/__chunks__/{chunk-TLSDRYRG.js → chunk-QVVGHLCM.js} +2 -2
- package/__chunks__/chunk-QXKMNMR3.js +2 -0
- package/__chunks__/{chunk-JA3SLGX2.js → chunk-QZEWDJAT.js} +2 -2
- package/__chunks__/{chunk-CHAMM5KE.js → chunk-R23P6IMF.js} +2 -2
- package/__chunks__/{chunk-CLK5H5ZL.js → chunk-RCAOXHIW.js} +2 -2
- package/__chunks__/{chunk-ELUYAFQH.js → chunk-REB7V7GV.js} +2 -2
- package/__chunks__/{chunk-DBEM42SR.js → chunk-REW33NNZ.js} +2 -2
- package/__chunks__/chunk-RFTCPHFA.js +2 -0
- package/__chunks__/{chunk-2RG4XFAN.js → chunk-RGY3TNI6.js} +2 -2
- package/__chunks__/{chunk-KVFROWIW.js → chunk-RH2NFBDT.js} +2 -2
- package/__chunks__/{chunk-OOKK6JJ4.js → chunk-RP3LIXMU.js} +2 -2
- package/__chunks__/{chunk-4QMNIBLK.js → chunk-RPHIP3GG.js} +2 -2
- package/__chunks__/{chunk-6CJSFB2U.js → chunk-RPTNX4QD.js} +2 -2
- package/__chunks__/{chunk-U72Y75C7.js → chunk-RQLFNBVQ.js} +2 -2
- package/__chunks__/{chunk-4HU7AQ47.js → chunk-RSS5QMSG.js} +2 -2
- package/__chunks__/{chunk-BOTYGAX2.js → chunk-RUHCRI3J.js} +2 -2
- package/__chunks__/{chunk-JN4X6QCT.js → chunk-RUKWPAV5.js} +2 -2
- package/__chunks__/{chunk-R54WJX7Q.js → chunk-RYLWXDF3.js} +2 -2
- package/__chunks__/{chunk-WUKH5HLL.js → chunk-S3GSO657.js} +2 -2
- package/__chunks__/{chunk-YUFTVV2H.js → chunk-S4PQUBHR.js} +2 -2
- package/__chunks__/{chunk-ZKOWOXAQ.js → chunk-S5LOOIBU.js} +2 -2
- package/__chunks__/chunk-S7JXM4IQ.js +2 -0
- package/__chunks__/{chunk-EZP4DAXA.js → chunk-SBM5GGVT.js} +2 -2
- package/__chunks__/{chunk-I4ESH2AI.js → chunk-SCEWAVPS.js} +2 -2
- package/__chunks__/{chunk-KNAS7VNV.js → chunk-SI6KZT6Z.js} +2 -2
- package/__chunks__/chunk-SOKDCDVQ.js +2 -0
- package/__chunks__/chunk-SSU7LQ75.js +2 -0
- package/__chunks__/chunk-SVTFFUPI.js +2 -0
- package/__chunks__/{chunk-366BFEAQ.js → chunk-SW63E4XF.js} +2 -2
- package/__chunks__/{chunk-E5O47KXV.js → chunk-SYKBZAK4.js} +2 -2
- package/__chunks__/chunk-T5QULXFT.js +2 -0
- package/__chunks__/{chunk-DNEZKZYF.js → chunk-T6QWXWTA.js} +2 -2
- package/__chunks__/{chunk-Z5T3PMJE.js → chunk-TDQPGZCU.js} +2 -2
- package/__chunks__/{chunk-4F4ULUEW.js → chunk-TFUQIJSW.js} +2 -2
- package/__chunks__/{chunk-PXO2J644.js → chunk-THJQY7LP.js} +2 -2
- package/__chunks__/chunk-TPTVXCBM.js +2 -0
- package/__chunks__/{chunk-7G45MSVR.js → chunk-TPWHSHYF.js} +2 -2
- package/__chunks__/{chunk-MFPKPOZT.js → chunk-TQ6QT3CV.js} +2 -2
- package/__chunks__/chunk-TQKWYQTH.js +2 -0
- package/__chunks__/{chunk-MX3ROSNA.js → chunk-TQMYGMJN.js} +2 -2
- package/__chunks__/{chunk-P63VQOHF.js → chunk-TWF7LLNO.js} +2 -2
- package/__chunks__/chunk-TXIATRKL.js +2 -0
- package/__chunks__/{chunk-CMGGVTKB.js → chunk-TY6FMLO7.js} +2 -2
- package/__chunks__/{chunk-4YP6ER5C.js → chunk-UD77MOQO.js} +2 -2
- package/__chunks__/{chunk-JKKAJ4MH.js → chunk-UIQ6LSH7.js} +2 -2
- package/__chunks__/{chunk-XP6N4TB2.js → chunk-ULH46A2C.js} +2 -2
- package/__chunks__/{chunk-ZC5N5NQ2.js → chunk-UMRELM7U.js} +2 -2
- package/__chunks__/{chunk-XRNT76UY.js → chunk-UQVUMEKB.js} +2 -2
- package/__chunks__/{chunk-SD2ZJL4Z.js → chunk-UVNNIJQM.js} +2 -2
- package/__chunks__/{chunk-6QMORR5K.js → chunk-V3KBU724.js} +2 -2
- package/__chunks__/{chunk-CDJPQRSF.js → chunk-V74FQV7G.js} +2 -2
- package/__chunks__/{chunk-PTP4ZK4E.js → chunk-V7FF6W7W.js} +2 -2
- package/__chunks__/chunk-VA4VLSZI.js +2 -0
- package/__chunks__/{chunk-ZIIQ5MFR.js → chunk-VCAGTDM5.js} +2 -2
- package/__chunks__/{chunk-KZ5L5NV5.js → chunk-VDOK2XCW.js} +2 -2
- package/__chunks__/{chunk-SL6BQO6U.js → chunk-VDQ6Y4OL.js} +2 -2
- package/__chunks__/chunk-VGKYKXQB.js +2 -0
- package/__chunks__/{chunk-SOM3C6KB.js → chunk-VHCCDSRK.js} +2 -2
- package/__chunks__/{chunk-VLCJAOJZ.js → chunk-VHWU4HAI.js} +2 -2
- package/__chunks__/{chunk-SS4FJ5PL.js → chunk-VK5UZVMC.js} +2 -2
- package/__chunks__/{chunk-QWDXQ3EZ.js → chunk-VKCOXQGP.js} +2 -2
- package/__chunks__/{chunk-GR7XHWC7.js → chunk-VNBEES2K.js} +2 -2
- package/__chunks__/{chunk-TLR5RFIN.js → chunk-VVMCY4ZQ.js} +2 -2
- package/__chunks__/{chunk-FYDI5I4M.js → chunk-VZD2OAVQ.js} +2 -2
- package/__chunks__/{chunk-2LILI4WL.js → chunk-W2JAHF5E.js} +2 -2
- package/__chunks__/chunk-W4DKUYK4.js +2 -0
- package/__chunks__/chunk-W5BDR4MJ.js +2 -0
- package/__chunks__/{chunk-NKKIJCQE.js → chunk-WAJFNNWI.js} +2 -2
- package/__chunks__/{chunk-KBWCG46F.js → chunk-WCAGWATQ.js} +2 -2
- package/__chunks__/{chunk-DOB2VWUN.js → chunk-WDESVFYS.js} +2 -2
- package/__chunks__/{chunk-JUNOVW6Y.js → chunk-WI3J4ZLS.js} +2 -2
- package/__chunks__/{chunk-WLBFOLRM.js → chunk-WJ6U5ICO.js} +2 -2
- package/__chunks__/{chunk-HV5N6FIR.js → chunk-WJWXV2SS.js} +2 -2
- package/__chunks__/{chunk-ZYFEH2PC.js → chunk-WLWZKCS2.js} +2 -2
- package/__chunks__/{chunk-XB3JKHGC.js → chunk-WOYSC7TW.js} +2 -2
- package/__chunks__/{chunk-KAGCFYLJ.js → chunk-WPLVRP4T.js} +2 -2
- package/__chunks__/{chunk-5PD4V7PN.js → chunk-WQGESRXP.js} +2 -2
- package/__chunks__/{chunk-K6D6CCIL.js → chunk-WQOSFEA5.js} +2 -2
- package/__chunks__/{chunk-UJIL6NPK.js → chunk-WSPLEEDF.js} +2 -2
- package/__chunks__/chunk-WTS4XZXU.js +2 -0
- package/__chunks__/{chunk-G6OWQ4GF.js → chunk-WYMEJDWE.js} +2 -2
- package/__chunks__/{chunk-GISBTWRR.js → chunk-WZGQ3WJA.js} +2 -2
- package/__chunks__/{chunk-IOEM2OZK.js → chunk-X6JF6LLX.js} +2 -2
- package/__chunks__/{chunk-DNPORMYG.js → chunk-X74BWI6J.js} +2 -2
- package/__chunks__/chunk-XK47X6QI.js +2 -0
- package/__chunks__/{chunk-DJMFNRIK.js → chunk-XKTWOOJ5.js} +2 -2
- package/__chunks__/{chunk-57LO2NIO.js → chunk-XSUYLYIB.js} +2 -2
- package/__chunks__/{chunk-X7YCL332.js → chunk-XUD3HGD3.js} +2 -2
- package/__chunks__/{chunk-XEGOSC3M.js → chunk-XVBZAHE6.js} +2 -2
- package/__chunks__/{chunk-E2S6CATO.js → chunk-XXEKL2DH.js} +2 -2
- package/__chunks__/{chunk-CRHEOOZD.js → chunk-Y35IRBFJ.js} +2 -2
- package/__chunks__/{chunk-IQ4ZNGVQ.js → chunk-Y443WR2P.js} +2 -2
- package/__chunks__/{chunk-NCJMLUYQ.js → chunk-Y7K6U7RL.js} +2 -2
- package/__chunks__/chunk-YDINZ72C.js +2 -0
- package/__chunks__/{chunk-BCDVSSQ6.js → chunk-YGCKNH5E.js} +2 -2
- package/__chunks__/{chunk-OUSIKRNJ.js → chunk-YMMFPBKR.js} +2 -2
- package/__chunks__/{chunk-ACV6ZBKI.js → chunk-YRZRHMBY.js} +2 -2
- package/__chunks__/{chunk-IGORY6G3.js → chunk-YYBSA2IS.js} +2 -2
- package/__chunks__/{chunk-2GRCIZYF.js → chunk-YZYBMXLD.js} +2 -2
- package/__chunks__/chunk-Z2FOGQXQ.js +2 -0
- package/__chunks__/{chunk-6UMOENOE.js → chunk-Z3WGQIRQ.js} +2 -2
- package/__chunks__/{chunk-YDLPR32M.js → chunk-Z5UAJISV.js} +2 -2
- package/__chunks__/chunk-ZA4AXCRU.js +2 -0
- package/__chunks__/chunk-ZD4N2Y4Y.js +2 -0
- package/__chunks__/{chunk-2KGXFHHC.js → chunk-ZF5JN26G.js} +2 -2
- package/__chunks__/chunk-ZFTKBHKQ.js +2 -0
- package/__chunks__/chunk-ZGMSULLK.js +2 -0
- package/__chunks__/{chunk-2AQTAXV7.js → chunk-ZI7MNIRO.js} +2 -2
- package/__chunks__/{chunk-TWS6ONFZ.js → chunk-ZLKKGZC6.js} +2 -2
- package/__chunks__/{chunk-OP3ST6P3.js → chunk-ZM73TWIN.js} +2 -2
- package/__chunks__/{chunk-AO4C3VYM.js → chunk-ZMM64XFP.js} +2 -2
- package/__chunks__/{chunk-N7MH2TQM.js → chunk-ZOKTZX4J.js} +2 -2
- package/__chunks__/{chunk-YGQ6MAF7.js → chunk-ZRE4EBGO.js} +2 -2
- package/__chunks__/chunk-ZSGIG23Q.js +2 -0
- package/__chunks__/chunk-ZSIT433N.js +2 -0
- package/__chunks__/{chunk-ZHHX65UY.js → chunk-ZSPWULMC.js} +2 -2
- package/__chunks__/chunk-ZYQJI6VW.js +2 -0
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithIframeModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +24 -24
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +24 -24
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionData/TransactionData.js +2 -2
- package/__commonjs/UI/TransactionData/components/TransactionDataDecode.js +2 -2
- package/__commonjs/UI/TransactionData/components/index.js +2 -2
- package/__commonjs/UI/TransactionData/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/index.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/__commonjs/UI/index.js +11 -11
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
- package/__commonjs/UI/walletConnect/index.js +4 -4
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +2 -2
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +2 -2
- package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
- 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/login/index.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/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/hooks/transactions/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/types/network.types.d.ts +2 -0
- package/__commonjs/types/network.types.js +1 -1
- package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/index.js +5 -5
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/__commonjs/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +2 -2
- package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
- package/__commonjs/wrappers/DappProvider/index.js +2 -2
- package/__commonjs/wrappers/index.js +2 -2
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/tokens/getPersistedToken.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/helpers/clearInitiatedLogins.js +1 -1
- package/hooks/login/helpers/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/network.types.d.ts +2 -0
- package/types/network.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-27FH5G67.js +0 -2
- package/__chunks__/chunk-3QTOYBJL.js +0 -2
- package/__chunks__/chunk-3WJH7V52.js +0 -2
- package/__chunks__/chunk-3WOM6G5J.js +0 -2
- package/__chunks__/chunk-42M6IY4Z.js +0 -2
- package/__chunks__/chunk-4YSNFMZJ.js +0 -2
- package/__chunks__/chunk-6DPQGCTQ.js +0 -2
- package/__chunks__/chunk-6M47QO6V.js +0 -2
- package/__chunks__/chunk-6NVQH3XS.js +0 -2
- package/__chunks__/chunk-6P3IJTZK.js +0 -2
- package/__chunks__/chunk-6W7DVGIL.js +0 -2
- package/__chunks__/chunk-76MRIOQK.js +0 -2
- package/__chunks__/chunk-7A55YIB6.js +0 -2
- package/__chunks__/chunk-7FJ2PHIP.js +0 -2
- package/__chunks__/chunk-AEUBW6XP.js +0 -2
- package/__chunks__/chunk-AHGZNBYH.js +0 -2
- package/__chunks__/chunk-BG5F4VLD.js +0 -2
- package/__chunks__/chunk-BMV2L5DM.js +0 -2
- package/__chunks__/chunk-BQKEUDXY.js +0 -2
- package/__chunks__/chunk-BTFGUXUS.js +0 -2
- package/__chunks__/chunk-BWGNDVVC.js +0 -2
- package/__chunks__/chunk-CE4M7AXK.js +0 -2
- package/__chunks__/chunk-CL6IW7IS.js +0 -2
- package/__chunks__/chunk-DCGMBO5Q.js +0 -2
- package/__chunks__/chunk-DP3KRPAW.js +0 -2
- package/__chunks__/chunk-E4VQH6BK.js +0 -2
- package/__chunks__/chunk-EMIZYMPZ.js +0 -2
- package/__chunks__/chunk-EWRLMXDS.js +0 -2
- package/__chunks__/chunk-GE6AWBV7.js +0 -2
- package/__chunks__/chunk-GO3KTKAY.js +0 -2
- package/__chunks__/chunk-H6V3642M.js +0 -2
- package/__chunks__/chunk-HCRNWCPS.js +0 -2
- package/__chunks__/chunk-HGBHLYSY.js +0 -2
- package/__chunks__/chunk-HK3IGHZP.js +0 -2
- package/__chunks__/chunk-IXUNCHI4.js +0 -2
- package/__chunks__/chunk-JOLQVYZM.js +0 -2
- package/__chunks__/chunk-JPHGRIUG.js +0 -2
- package/__chunks__/chunk-JV2YMLWW.js +0 -2
- package/__chunks__/chunk-JW36RK53.js +0 -2
- package/__chunks__/chunk-KB6C5NNL.js +0 -2
- package/__chunks__/chunk-L43ZE6DO.js +0 -2
- package/__chunks__/chunk-L6F4CXJI.js +0 -2
- package/__chunks__/chunk-M3KZ5ZCM.js +0 -2
- package/__chunks__/chunk-MOINY2V5.js +0 -2
- package/__chunks__/chunk-MQYKLTUO.js +0 -2
- package/__chunks__/chunk-N5OGU3OY.js +0 -2
- package/__chunks__/chunk-NJPCK4MP.js +0 -2
- package/__chunks__/chunk-NTXXBNQ3.js +0 -2
- package/__chunks__/chunk-OBXVMKUP.js +0 -2
- package/__chunks__/chunk-ONKEMUBS.js +0 -2
- package/__chunks__/chunk-PVCQBXC5.js +0 -2
- package/__chunks__/chunk-PYOBFWGE.js +0 -2
- package/__chunks__/chunk-QSQMERZY.js +0 -2
- package/__chunks__/chunk-R7FMYSFZ.js +0 -2
- package/__chunks__/chunk-REVI6QV5.js +0 -2
- package/__chunks__/chunk-RPRH53SN.js +0 -2
- package/__chunks__/chunk-S6WU7FIP.js +0 -2
- package/__chunks__/chunk-SHX5DLRE.js +0 -2
- package/__chunks__/chunk-SYEARPKN.js +0 -2
- package/__chunks__/chunk-SYYNFXUN.js +0 -2
- package/__chunks__/chunk-UREH36PU.js +0 -2
- package/__chunks__/chunk-UXLAYBPI.js +0 -2
- package/__chunks__/chunk-VF2ER254.js +0 -2
- package/__chunks__/chunk-VKSVMOTZ.js +0 -2
- package/__chunks__/chunk-VVYCLY74.js +0 -2
- package/__chunks__/chunk-X4IJUWVA.js +0 -2
- package/__chunks__/chunk-XCL6JUJD.js +0 -2
- package/__chunks__/chunk-XNL2TWXZ.js +0 -2
- package/__chunks__/chunk-XSCEIJSP.js +0 -2
- package/__chunks__/chunk-XVIPFZ65.js +0 -2
- package/__chunks__/chunk-Y75XZXEI.js +0 -2
- package/__chunks__/chunk-YWRTTCYK.js +0 -2
- package/__chunks__/chunk-ZGV573YZ.js +0 -2
- package/__chunks__/chunk-ZT2MNNMR.js +0 -2
package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Vr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Or=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,Yr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))zr.call(r,e)&&pr(t,e,r[e]);return t};var Xr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),$r=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Or(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?Vr(Yr(t)):{},lr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),jr=t=>lr(W({},"__esModule",{value:!0}),t);var gr=G(V=>{"use strict";u();V.byteLength=Kr;V.toByteArray=Zr;V.fromByteArray=te;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,fr=$.length;C<fr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function dr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=dr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Qr(t,r,e){return(r+e)*3/4-e}function Zr(t){var r,e=dr(t),n=e[0],i=e[1],o=new Jr(Qr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function re(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function ee(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(re(n));return i.join("")}function te(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(ee(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G(j=>{u();j.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,_=n?1:-1,Gr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=_,a/=256,d-=8);t[e+w-_]|=Gr*128}});var Ar=G(P=>{"use strict";u();var J=gr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ue;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=ne();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ne(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return Tr(t,r,e)}s.poolSize=8192;function Tr(t,r,e){if(typeof t=="string")return oe(t,r);if(ArrayBuffer.isView(t))return ae(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=se(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return Tr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function wr(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 ie(t,r,e){return wr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ie(t,r,e)};function rr(t){return wr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function oe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ae(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function se(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ue(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function pe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Te(this,r,e);case"utf8":case"utf-8":return Fr(this,r,e);case"ascii":return ye(this,r,e);case"latin1":case"binary":return xe(this,r,e);case"base64":return he(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Fr(this,0,r):pe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,_){return o===1?w[_]:w.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function ce(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(tr(p))return a;t[e+a]=p}return a}function le(t,r,e,n){return O(Z(r,t.length-e),t,e,n)}function fe(t,r,e,n){return O(Fe(r),t,e,n)}function de(t,r,e,n){return O(Br(r),t,e,n)}function ge(t,r,e,n){return O(ke(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ce(this,r,e,n);case"utf8":case"utf-8":return le(this,r,e,n);case"ascii":case"latin1":case"binary":return fe(this,r,e,n);case"base64":return de(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function he(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function Fr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return me(n)}var xr=4096;function me(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Se[t[o]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function kr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Sr(this,r,e,!1,n)};function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Ir(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var ve=/[^+/0-9A-Za-z-_]/g;function be(t){if(t=t.split("=")[0],t=t.trim().replace(ve,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Fe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ke(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Br(t){return J.toByteArray(be(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Se=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ur=G((Me,Er)=>{u();var y=Er.exports={},S,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function Rr(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ie(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var A=[],N=!1,U,Y=-1;function Be(){!N||!U||(N=!1,U.length?A=U.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Rr(Be);N=!0;for(var r=A.length;r;){for(U=A,A=[];++Y<r;)U&&U[Y].run();Y=-1,r=A.length}U=null,N=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Rr(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,We,u=Xr(()=>{f=X(Ar()),h=X(Ur()),We=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};$r(Ue,{decodeForDisplay:()=>Ee});module.exports=jr(Ue);u();u();u();u();var Pr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var _r=require("@multiversx/sdk-core");function Ae(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ae(t)}u();u();u();u();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var D=(t,r,e)=>{switch(r){case"text":try{return f.Buffer.from(t,"hex").toString("utf8")}catch(n){}return t;case"decimal":return t!==""?new ar.default(t,16).toString(10):"";case"smart":try{let n=Pr.Address.fromHex(t).toString();if(Lr(n))return n}catch(n){}try{let n=f.Buffer.from(t,"hex").toString("utf8");if(or(n))return n;{if(e&&[...e.esdts,...e.nfts].some(a=>n.includes(a)))return n;let i=new ar.default(t,16);return i.isFinite()?i.toString(10):t}}catch(n){}return t;case"raw":default:return t}};u();u();u();u();u();u();u();var Re=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Nr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Nr||{}),pt=H(H({},M.WindowProviderRequestEnums),Nr),Mr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Mr||{}),ct=H(H({},M.WindowProviderResponseEnums),Mr);u();u();u();u();u();u();var De=t=>t.toLowerCase().match(/^[0-9a-f]+$/i),Ce=t=>t.length%2===0,Wr=t=>{let r=[];return t&&!De(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ce(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var z=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Hr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((a,p)=>{if(t.length>=2&&(p===0&&a.length<64||p===1&&!t[0]))return/[^a-z0-9]/gi.test(a)?D(a,r):a;{let c=Wr(a);return c.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...c]))),D(a,r)}});return r==="smart"?z({parts:t,decodedParts:i,identifier:e}):i};var Ee=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(!t.includes("@")&&!t.includes(`
|
|
1
|
+
"use strict";var Vr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Or=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,Yr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))zr.call(r,e)&&pr(t,e,r[e]);return t};var Xr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),$r=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Or(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?Vr(Yr(t)):{},lr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),jr=t=>lr(W({},"__esModule",{value:!0}),t);var gr=G(V=>{"use strict";u();V.byteLength=Kr;V.toByteArray=Zr;V.fromByteArray=te;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,fr=$.length;C<fr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function dr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=dr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Qr(t,r,e){return(r+e)*3/4-e}function Zr(t){var r,e=dr(t),n=e[0],i=e[1],o=new Jr(Qr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function re(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function ee(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(re(n));return i.join("")}function te(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(ee(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G(j=>{u();j.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(T?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,_=n?1:-1,Gr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+T]=a&255,T+=_,a/=256,d-=8);t[e+T-_]|=Gr*128}});var Ar=G(P=>{"use strict";u();var J=gr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ue;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=ne();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ne(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return oe(t,r);if(ArrayBuffer.isView(t))return ae(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=se(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(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 ie(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ie(t,r,e)};function rr(t){return Tr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function oe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ae(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function se(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ue(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function pe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return we(this,r,e);case"utf8":case"utf-8":return Fr(this,r,e);case"ascii":return ye(this,r,e);case"latin1":case"binary":return xe(this,r,e);case"base64":return he(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function U(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)U(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)U(this,e,e+3),U(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)U(this,e,e+7),U(this,e+1,e+6),U(this,e+2,e+5),U(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Fr(this,0,r):pe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(T,_){return o===1?T[_]:T.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function ce(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(tr(p))return a;t[e+a]=p}return a}function le(t,r,e,n){return O(Z(r,t.length-e),t,e,n)}function fe(t,r,e,n){return O(Fe(r),t,e,n)}function de(t,r,e,n){return O(Br(r),t,e,n)}function ge(t,r,e,n){return O(ke(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ce(this,r,e,n);case"utf8":case"utf-8":return le(this,r,e,n);case"ascii":case"latin1":case"binary":return fe(this,r,e,n);case"base64":return de(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function he(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function Fr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return me(n)}var xr=4096;function me(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function we(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Se[t[o]];return i}function Te(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function kr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Sr(this,r,e,!1,n)};function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Ir(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var ve=/[^+/0-9A-Za-z-_]/g;function be(t){if(t=t.split("=")[0],t=t.trim().replace(ve,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Fe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ke(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Br(t){return J.toByteArray(be(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Se=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Er=G((Me,Ur)=>{u();var y=Ur.exports={},S,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function Rr(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ie(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var A=[],N=!1,E,Y=-1;function Be(){!N||!E||(N=!1,E.length?A=E.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Rr(Be);N=!0;for(var r=A.length;r;){for(E=A,A=[];++Y<r;)E&&E[Y].run();Y=-1,r=A.length}E=null,N=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Rr(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,We,u=Xr(()=>{f=X(Ar()),h=X(Er()),We=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ee={};$r(Ee,{decodeForDisplay:()=>Ue});module.exports=jr(Ee);u();u();u();u();var Pr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var _r=require("@multiversx/sdk-core");function Ae(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ae(t)}u();u();u();u();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var D=(t,r,e)=>{switch(r){case"text":try{return f.Buffer.from(t,"hex").toString("utf8")}catch(n){}return t;case"decimal":return t!==""?new ar.default(t,16).toString(10):"";case"smart":try{let n=Pr.Address.fromHex(t).toString();if(Lr(n))return n}catch(n){}try{let n=f.Buffer.from(t,"hex").toString("utf8");if(or(n))return n;{if(e&&[...e.esdts,...e.nfts].some(a=>n.includes(a)))return n;let i=new ar.default(t,16);return i.isFinite()?i.toString(10):t}}catch(n){}return t;case"raw":default:return t}};u();u();u();u();u();u();u();var Re=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Nr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Nr||{}),pt=H(H({},M.WindowProviderRequestEnums),Nr),Mr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Mr||{}),ct=H(H({},M.WindowProviderResponseEnums),Mr);u();u();u();u();u();u();var De=t=>t.toLowerCase().match(/^[0-9a-f]+$/i),Ce=t=>t.length%2===0,Wr=t=>{let r=[];return t&&!De(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ce(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var z=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Hr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((a,p)=>{if(t.length>=2&&(p===0&&a.length<64||p===1&&!t[0]))return/[^a-z0-9]/gi.test(a)?D(a,r):a;{let c=Wr(a);return c.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...c]))),D(a,r)}});return r==="smart"?z({parts:t,decodedParts:i,identifier:e}):i};var Ue=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(!t.includes("@")&&!t.includes(`
|
|
2
2
|
`))return n.displayValue=D(t,r),n;if(t.includes("@")){let i=t.split("@"),o=Hr({parts:i,identifier:e,decodeMethod:r,display:n});n.displayValue=o.join("@")}if(t.includes(`
|
|
3
3
|
`)){let i=t.split(`
|
|
4
4
|
`),o=i.map(p=>{let c=f.Buffer.from(p,"base64");return r==="raw"?p:D(c.toString("hex"),r)}),a=r==="smart"?z({parts:i,decodedParts:o,identifier:e}):o;n.displayValue=a.join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Gr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Or=Object.getPrototypeOf,ur=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))ur.call(r,e)&&sr(t,e,r[e]);if(ar)for(var e of ar(r))Yr.call(r,e)&&sr(t,e,r[e]);return t};var zr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Xr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Vr(r))!ur.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Gr(Or(t)):{},pr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),$r=t=>pr(W({},"__esModule",{value:!0}),t);var fr=G(q=>{"use strict";u();q.byteLength=Kr;q.toByteArray=Qr;q.fromByteArray=ee;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(D=0,cr=X.length;D<cr;++D)F[D]=X[D],v[X.charCodeAt(D)]=D;var D,cr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function jr(t,r,e){return(r+e)*3/4-e}function Qr(t){var r,e=lr(t),n=e[0],i=e[1],a=new Jr(jr(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Zr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function re(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,c=e-n;o<c;o+=a)i.push(re(t,o,o+a>c?c:o+a));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var dr=G($=>{u();$.read=function(t,r,e,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,f=p>>1,d=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,a=T&(1<<-d)-1,T>>=-d,d+=c;d>0;a=a*256+t[r+l],l+=b,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+t[r+l],l+=b,d-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(T?-1:1)*o*Math.pow(2,a-n)};$.write=function(t,r,e,n,i,a){var o,c,p,f=a*8-i-1,d=(1<<f)-1,l=d>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,U=n?1:-1,Hr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,o=d):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+l>=1?r+=b/p:r+=b*Math.pow(2,1-l),r*p>=2&&(o++,p/=2),o+l>=d?(c=0,o=d):o+l>=1?(c=(r*p-1)*Math.pow(2,i),o=o+l):(c=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=c&255,T+=U,c/=256,i-=8);for(o=o<<i|c,f+=i;f>0;t[e+T]=o&255,T+=U,o/=256,f-=8);t[e+T-U]|=Hr*128}});var Sr=G(L=>{"use strict";u();var J=fr(),_=dr(),gr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;L.Buffer=s;L.SlowBuffer=se;L.INSPECT_MAX_BYTES=50;var V=2147483647;L.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=te();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function te(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return yr(t,r,e)}s.poolSize=8192;function yr(t,r,e){if(typeof t=="string")return ie(t,r);if(ArrayBuffer.isView(t))return oe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ae(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return yr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xr(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 ne(t,r,e){return xr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ne(t,r,e)};function Z(t){return xr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ie(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function oe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ae(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function se(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ue(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return xe(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return me(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return ge(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ue.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=L.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};gr&&(s.prototype[gr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,c=n-e,p=Math.min(o,c),f=this.slice(i,a),d=r.slice(e,n),l=0;l<p;++l)if(f[l]!==d[l]){o=f[l],c=d[l];break}return o<c?-1:c<o?1:0};function Tr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var a=1,o=t.length,c=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,c/=2,e/=2}function p(T,U){return a===1?T[U]:T.readUInt16BE(U*a)}var f;if(i){var d=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,d===-1?0:f-d)){if(d===-1&&(d=f),f-d+1===c)return d*a}else d!==-1&&(f-=f-d),d=-1}else for(e+c>o&&(e=o-c),f=e;f>=0;f--){for(var l=!0,b=0;b<c;b++)if(p(t,f+b)!==p(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function pe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(r.substr(o*2,2),16);if(er(c))return o;t[e+o]=c}return o}function ce(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function le(t,r,e,n){return O(be(r),t,e,n)}function fe(t,r,e,n){return O(Ir(r),t,e,n)}function de(t,r,e,n){return O(Fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return pe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return le(this,r,e,n);case"base64":return fe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ge(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=e){var p,f,d,l;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(l=(a&31)<<6|p&63,l>127&&(o=l));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(l=(a&15)<<12|(p&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:p=t[i+1],f=t[i+2],d=t[i+3],(p&192)===128&&(f&192)===128&&(d&192)===128&&(l=(a&15)<<18|(p&63)<<12|(f&63)<<6|d&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return he(n)}var mr=4096;function he(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function me(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function xe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ke[t[a]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,c=0;for(this[e]=r&255;++c<n&&(o*=256);)this[e+c]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,c=1;for(this[e+o]=r&255;--o>=0&&(c*=256);)this[e+o]=r/c&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,c=1,p=0;for(this[e]=r&255;++o<n&&(c*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[e+o]=r&255;--o>=0&&(c*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function br(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,4,34028234663852886e22,-34028234663852886e22),_.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,8,17976931348623157e292,-17976931348623157e292),_.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return kr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var c=s.isBuffer(r)?r:s.from(r,i),p=c.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=c[o%p]}return this};var Te=/[^+/0-9A-Za-z-_]/g;function ve(t){if(t=t.split("=")[0],t=t.trim().replace(Te,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function be(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Fe(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function Ir(t){return J.toByteArray(ve(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var ke=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Cr=G((Ne,Dr)=>{u();var y=Dr.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Br(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Ie(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],P=!1,E,Y=-1;function Se(){!P||!E||(P=!1,E.length?A=E.concat(A):Y=-1,A.length&&Ar())}function Ar(){if(!P){var t=Br(Se);P=!0;for(var r=A.length;r;){for(E=A,A=[];++Y<r;)E&&E[Y].run();Y=-1,r=A.length}E=null,P=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Rr(t,r)),A.length===1&&!P&&Br(Ar)};function Rr(t,r){this.fun=t,this.array=r}Rr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,h,Me,u=zr(()=>{g=z(Sr()),h=z(Cr()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ee={};Xr(Ee,{getDisplayValueAndValidationWarnings:()=>Ce});module.exports=$r(Ee);u();u();u();u();u();u();u();var Be=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),N=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Ve=H(H({},N.WindowProviderRequestEnums),Er),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Oe=H(H({},N.WindowProviderResponseEnums),Ur);u();u();u();u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));u();var _r=require("@multiversx/sdk-core");function Ae(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ae(t)}u();u();u();u();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var M=(t,r,e)=>{switch(r){case"text":try{return g.Buffer.from(t,"hex").toString("utf8")}catch(n){}return t;case"decimal":return t!==""?new or.default(t,16).toString(10):"";case"smart":try{let n=Nr.Address.fromHex(t).toString();if(Lr(n))return n}catch(n){}try{let n=g.Buffer.from(t,"hex").toString("utf8");if(ir(n))return n;{if(e&&[...e.esdts,...e.nfts].some(o=>n.includes(o)))return n;let i=new or.default(t,16);return i.isFinite()?i.toString(10):t}}catch(n){}return t;case"raw":default:return t}};u();var Re=t=>t.toLowerCase().match(/^[0-9a-f]+$/i),De=t=>t.length%2===0,Mr=t=>{let r=[];return t&&!Re(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!De(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var Wr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=M(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=g.Buffer.from(String(t[1]),"base64");n[1]=M(i.toString("hex"),"decimal")}return n};var Ce=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,c)=>{if(t.length>=2&&(c===0&&o.length<64||c===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?M(o,r):o;{let p=Mr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),M(o,r)}});return r==="smart"?Wr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={getDisplayValueAndValidationWarnings});
|
|
1
|
+
"use strict";var Gr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Or=Object.getPrototypeOf,ur=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))ur.call(r,e)&&sr(t,e,r[e]);if(ar)for(var e of ar(r))Yr.call(r,e)&&sr(t,e,r[e]);return t};var zr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Xr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Vr(r))!ur.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Gr(Or(t)):{},pr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),$r=t=>pr(W({},"__esModule",{value:!0}),t);var fr=G(q=>{"use strict";u();q.byteLength=Kr;q.toByteArray=Qr;q.fromByteArray=ee;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(D=0,cr=X.length;D<cr;++D)F[D]=X[D],v[X.charCodeAt(D)]=D;var D,cr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function jr(t,r,e){return(r+e)*3/4-e}function Qr(t){var r,e=lr(t),n=e[0],i=e[1],a=new Jr(jr(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Zr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function re(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,c=e-n;o<c;o+=a)i.push(re(t,o,o+a>c?c:o+a));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var dr=G($=>{u();$.read=function(t,r,e,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,f=p>>1,d=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,a=T&(1<<-d)-1,T>>=-d,d+=c;d>0;a=a*256+t[r+l],l+=b,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+t[r+l],l+=b,d-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(T?-1:1)*o*Math.pow(2,a-n)};$.write=function(t,r,e,n,i,a){var o,c,p,f=a*8-i-1,d=(1<<f)-1,l=d>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,E=n?1:-1,Hr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,o=d):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+l>=1?r+=b/p:r+=b*Math.pow(2,1-l),r*p>=2&&(o++,p/=2),o+l>=d?(c=0,o=d):o+l>=1?(c=(r*p-1)*Math.pow(2,i),o=o+l):(c=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=c&255,T+=E,c/=256,i-=8);for(o=o<<i|c,f+=i;f>0;t[e+T]=o&255,T+=E,o/=256,f-=8);t[e+T-E]|=Hr*128}});var Sr=G(L=>{"use strict";u();var J=fr(),_=dr(),gr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;L.Buffer=s;L.SlowBuffer=se;L.INSPECT_MAX_BYTES=50;var V=2147483647;L.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=te();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function te(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return yr(t,r,e)}s.poolSize=8192;function yr(t,r,e){if(typeof t=="string")return ie(t,r);if(ArrayBuffer.isView(t))return oe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ae(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return yr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xr(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 ne(t,r,e){return xr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ne(t,r,e)};function Z(t){return xr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ie(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function oe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ae(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function se(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ue(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return xe(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return me(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return ge(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ue.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=L.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};gr&&(s.prototype[gr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,c=n-e,p=Math.min(o,c),f=this.slice(i,a),d=r.slice(e,n),l=0;l<p;++l)if(f[l]!==d[l]){o=f[l],c=d[l];break}return o<c?-1:c<o?1:0};function Tr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var a=1,o=t.length,c=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,c/=2,e/=2}function p(T,E){return a===1?T[E]:T.readUInt16BE(E*a)}var f;if(i){var d=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,d===-1?0:f-d)){if(d===-1&&(d=f),f-d+1===c)return d*a}else d!==-1&&(f-=f-d),d=-1}else for(e+c>o&&(e=o-c),f=e;f>=0;f--){for(var l=!0,b=0;b<c;b++)if(p(t,f+b)!==p(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function pe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(r.substr(o*2,2),16);if(er(c))return o;t[e+o]=c}return o}function ce(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function le(t,r,e,n){return O(be(r),t,e,n)}function fe(t,r,e,n){return O(Ir(r),t,e,n)}function de(t,r,e,n){return O(Fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return pe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return le(this,r,e,n);case"base64":return fe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ge(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=e){var p,f,d,l;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(l=(a&31)<<6|p&63,l>127&&(o=l));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(l=(a&15)<<12|(p&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:p=t[i+1],f=t[i+2],d=t[i+3],(p&192)===128&&(f&192)===128&&(d&192)===128&&(l=(a&15)<<18|(p&63)<<12|(f&63)<<6|d&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return he(n)}var mr=4096;function he(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function me(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function xe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ke[t[a]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,c=0;for(this[e]=r&255;++c<n&&(o*=256);)this[e+c]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,c=1;for(this[e+o]=r&255;--o>=0&&(c*=256);)this[e+o]=r/c&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,c=1,p=0;for(this[e]=r&255;++o<n&&(c*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[e+o]=r&255;--o>=0&&(c*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function br(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,4,34028234663852886e22,-34028234663852886e22),_.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,8,17976931348623157e292,-17976931348623157e292),_.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return kr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var c=s.isBuffer(r)?r:s.from(r,i),p=c.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=c[o%p]}return this};var Te=/[^+/0-9A-Za-z-_]/g;function ve(t){if(t=t.split("=")[0],t=t.trim().replace(Te,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function be(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Fe(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function Ir(t){return J.toByteArray(ve(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var ke=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Cr=G((Ne,Dr)=>{u();var y=Dr.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Br(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Ie(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],P=!1,U,Y=-1;function Se(){!P||!U||(P=!1,U.length?A=U.concat(A):Y=-1,A.length&&Ar())}function Ar(){if(!P){var t=Br(Se);P=!0;for(var r=A.length;r;){for(U=A,A=[];++Y<r;)U&&U[Y].run();Y=-1,r=A.length}U=null,P=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Rr(t,r)),A.length===1&&!P&&Br(Ar)};function Rr(t,r){this.fun=t,this.array=r}Rr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,h,Me,u=zr(()=>{g=z(Sr()),h=z(Cr()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};Xr(Ue,{getDisplayValueAndValidationWarnings:()=>Ce});module.exports=$r(Ue);u();u();u();u();u();u();u();var Be=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),N=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Ur=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Ur||{}),Ve=H(H({},N.WindowProviderRequestEnums),Ur),Er=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Er||{}),Oe=H(H({},N.WindowProviderResponseEnums),Er);u();u();u();u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));u();var _r=require("@multiversx/sdk-core");function Ae(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ae(t)}u();u();u();u();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var M=(t,r,e)=>{switch(r){case"text":try{return g.Buffer.from(t,"hex").toString("utf8")}catch(n){}return t;case"decimal":return t!==""?new or.default(t,16).toString(10):"";case"smart":try{let n=Nr.Address.fromHex(t).toString();if(Lr(n))return n}catch(n){}try{let n=g.Buffer.from(t,"hex").toString("utf8");if(ir(n))return n;{if(e&&[...e.esdts,...e.nfts].some(o=>n.includes(o)))return n;let i=new or.default(t,16);return i.isFinite()?i.toString(10):t}}catch(n){}return t;case"raw":default:return t}};u();var Re=t=>t.toLowerCase().match(/^[0-9a-f]+$/i),De=t=>t.length%2===0,Mr=t=>{let r=[];return t&&!Re(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!De(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var Wr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=M(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=g.Buffer.from(String(t[1]),"base64");n[1]=M(i.toString("hex"),"decimal")}return n};var Ce=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,c)=>{if(t.length>=2&&(c===0&&o.length<64||c===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?M(o,r):o;{let p=Mr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),M(o,r)}});return r==="smart"?Wr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={getDisplayValueAndValidationWarnings});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Vr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))Xr.call(r,e)&&pr(t,e,r[e]);return t};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Jr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Vr(zr(t)):{},lr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Kr=t=>lr(W({},"__esModule",{value:!0}),t);var gr=G(q=>{"use strict";u();q.byteLength=Qr;q.toByteArray=re;q.fromByteArray=ne;var F=[],v=[],jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(D=0,fr=X.length;D<fr;++D)F[D]=X[D],v[X.charCodeAt(D)]=D;var D,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function dr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=dr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Zr(t,r,e){return(r+e)*3/4-e}function re(t){var r,e=dr(t),n=e[0],i=e[1],a=new jr(Zr(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function ee(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function te(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,c=e-n;o<c;o+=a)i.push(te(t,o,o+a>c?c:o+a));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G($=>{u();$.read=function(t,r,e,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,f=p>>1,d=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,a=T&(1<<-d)-1,T>>=-d,d+=c;d>0;a=a*256+t[r+l],l+=b,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+t[r+l],l+=b,d-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(T?-1:1)*o*Math.pow(2,a-n)};$.write=function(t,r,e,n,i,a){var o,c,p,f=a*8-i-1,d=(1<<f)-1,l=d>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,o=d):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+l>=1?r+=b/p:r+=b*Math.pow(2,1-l),r*p>=2&&(o++,p/=2),o+l>=d?(c=0,o=d):o+l>=1?(c=(r*p-1)*Math.pow(2,i),o=o+l):(c=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=c&255,T+=_,c/=256,i-=8);for(o=o<<i|c,f+=i;f>0;t[e+T]=o&255,T+=_,o/=256,f-=8);t[e+T-_]|=qr*128}});var Ar=G(P=>{"use strict";u();var J=gr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=pe;P.INSPECT_MAX_BYTES=50;var V=2147483647;P.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=ie();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ie(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return ae(t,r);if(ArrayBuffer.isView(t))return se(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ue(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(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 oe(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return oe(t,r,e)};function Z(t){return Tr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ae(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function se(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ue(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function pe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function ce(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Te(this,r,e);case"utf8":case"utf-8":return Fr(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return we(this,r,e);case"base64":return me(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Fr(this,0,r):ce.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,c=n-e,p=Math.min(o,c),f=this.slice(i,a),d=r.slice(e,n),l=0;l<p;++l)if(f[l]!==d[l]){o=f[l],c=d[l];break}return o<c?-1:c<o?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var a=1,o=t.length,c=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,c/=2,e/=2}function p(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var f;if(i){var d=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,d===-1?0:f-d)){if(d===-1&&(d=f),f-d+1===c)return d*a}else d!==-1&&(f-=f-d),d=-1}else for(e+c>o&&(e=o-c),f=e;f>=0;f--){for(var l=!0,b=0;b<c;b++)if(p(t,f+b)!==p(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function le(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(r.substr(o*2,2),16);if(er(c))return o;t[e+o]=c}return o}function fe(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function de(t,r,e,n){return O(ke(r),t,e,n)}function ge(t,r,e,n){return O(Br(r),t,e,n)}function he(t,r,e,n){return O(Ie(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return le(this,r,e,n);case"utf8":case"utf-8":return fe(this,r,e,n);case"ascii":case"latin1":case"binary":return de(this,r,e,n);case"base64":return ge(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function Fr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=e){var p,f,d,l;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(l=(a&31)<<6|p&63,l>127&&(o=l));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(l=(a&15)<<12|(p&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:p=t[i+1],f=t[i+2],d=t[i+3],(p&192)===128&&(f&192)===128&&(d&192)===128&&(l=(a&15)<<18|(p&63)<<12|(f&63)<<6|d&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return ye(n)}var xr=4096;function ye(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Se[t[a]];return i}function ve(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,c=0;for(this[e]=r&255;++c<n&&(o*=256);)this[e+c]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,c=1;for(this[e+o]=r&255;--o>=0&&(c*=256);)this[e+o]=r/c&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,c=1,p=0;for(this[e]=r&255;++o<n&&(c*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[e+o]=r&255;--o>=0&&(c*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function kr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var c=s.isBuffer(r)?r:s.from(r,i),p=c.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=c[o%p]}return this};var be=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(be,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ie(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function Br(t){return J.toByteArray(Fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var Se=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ur=G((Ne,Er)=>{u();var y=Er.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Rr(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Be(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],N=!1,E,Y=-1;function Ae(){!N||!E||(N=!1,E.length?A=E.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Rr(Ae);N=!0;for(var r=A.length;r;){for(E=A,A=[];++Y<r;)E&&E[Y].run();Y=-1,r=A.length}E=null,N=!1,Be(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Rr(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,h,Me,u=$r(()=>{g=z(Ar()),h=z(Ur()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ee={};Jr(Ee,{decodeByMethod:()=>U,getDisplayValueAndValidationWarnings:()=>Ce,getHexValidationWarnings:()=>ar,getSmartDecodedParts:()=>sr,isHexValidCharacters:()=>Hr,isHexValidLength:()=>Gr});module.exports=Kr(Ee);u();u();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));u();u();var _r=require("@multiversx/sdk-core");function Re(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Re(t)}u();u();u();u();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var U=(t,r,e)=>{switch(r){case"text":try{return g.Buffer.from(t,"hex").toString("utf8")}catch(n){}return t;case"decimal":return t!==""?new or.default(t,16).toString(10):"";case"smart":try{let n=Nr.Address.fromHex(t).toString();if(Lr(n))return n}catch(n){}try{let n=g.Buffer.from(t,"hex").toString("utf8");if(ir(n))return n;{if(e&&[...e.esdts,...e.nfts].some(o=>n.includes(o)))return n;let i=new or.default(t,16);return i.isFinite()?i.toString(10):t}}catch(n){}return t;case"raw":default:return t}};u();u();u();u();u();u();u();var De=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Mr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Mr||{}),ut=H(H({},M.WindowProviderRequestEnums),Mr),Wr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Wr||{}),pt=H(H({},M.WindowProviderResponseEnums),Wr);u();u();u();u();u();u();var Hr=t=>t.toLowerCase().match(/^[0-9a-f]+$/i),Gr=t=>t.length%2===0,ar=t=>{let r=[];return t&&!Hr(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Gr(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var sr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=U(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=g.Buffer.from(String(t[1]),"base64");n[1]=U(i.toString("hex"),"decimal")}return n};var Ce=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,c)=>{if(t.length>=2&&(c===0&&o.length<64||c===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?U(o,r):o;{let p=ar(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),U(o,r)}});return r==="smart"?sr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={decodeByMethod,getDisplayValueAndValidationWarnings,getHexValidationWarnings,getSmartDecodedParts,isHexValidCharacters,isHexValidLength});
|
|
1
|
+
"use strict";var Vr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))Xr.call(r,e)&&pr(t,e,r[e]);return t};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Jr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Vr(zr(t)):{},lr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Kr=t=>lr(W({},"__esModule",{value:!0}),t);var gr=G(q=>{"use strict";u();q.byteLength=Qr;q.toByteArray=re;q.fromByteArray=ne;var F=[],v=[],jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(D=0,fr=X.length;D<fr;++D)F[D]=X[D],v[X.charCodeAt(D)]=D;var D,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function dr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=dr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Zr(t,r,e){return(r+e)*3/4-e}function re(t){var r,e=dr(t),n=e[0],i=e[1],a=new jr(Zr(t,n,i)),o=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function ee(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function te(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,c=e-n;o<c;o+=a)i.push(te(t,o,o+a>c?c:o+a));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G($=>{u();$.read=function(t,r,e,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,f=p>>1,d=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,a=T&(1<<-d)-1,T>>=-d,d+=c;d>0;a=a*256+t[r+l],l+=b,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=n;d>0;o=o*256+t[r+l],l+=b,d-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(T?-1:1)*o*Math.pow(2,a-n)};$.write=function(t,r,e,n,i,a){var o,c,p,f=a*8-i-1,d=(1<<f)-1,l=d>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,o=d):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+l>=1?r+=b/p:r+=b*Math.pow(2,1-l),r*p>=2&&(o++,p/=2),o+l>=d?(c=0,o=d):o+l>=1?(c=(r*p-1)*Math.pow(2,i),o=o+l):(c=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=c&255,T+=_,c/=256,i-=8);for(o=o<<i|c,f+=i;f>0;t[e+T]=o&255,T+=_,o/=256,f-=8);t[e+T-_]|=qr*128}});var Ar=G(P=>{"use strict";u();var J=gr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=pe;P.INSPECT_MAX_BYTES=50;var V=2147483647;P.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=ie();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ie(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return ae(t,r);if(ArrayBuffer.isView(t))return se(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ue(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(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 oe(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return oe(t,r,e)};function Z(t){return Tr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ae(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function se(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ue(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function pe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function ce(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Te(this,r,e);case"utf8":case"utf-8":return Fr(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return we(this,r,e);case"base64":return me(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Fr(this,0,r):ce.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,c=n-e,p=Math.min(o,c),f=this.slice(i,a),d=r.slice(e,n),l=0;l<p;++l)if(f[l]!==d[l]){o=f[l],c=d[l];break}return o<c?-1:c<o?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var a=1,o=t.length,c=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,c/=2,e/=2}function p(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var f;if(i){var d=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,d===-1?0:f-d)){if(d===-1&&(d=f),f-d+1===c)return d*a}else d!==-1&&(f-=f-d),d=-1}else for(e+c>o&&(e=o-c),f=e;f>=0;f--){for(var l=!0,b=0;b<c;b++)if(p(t,f+b)!==p(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function le(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(r.substr(o*2,2),16);if(er(c))return o;t[e+o]=c}return o}function fe(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function de(t,r,e,n){return O(ke(r),t,e,n)}function ge(t,r,e,n){return O(Br(r),t,e,n)}function he(t,r,e,n){return O(Ie(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return le(this,r,e,n);case"utf8":case"utf-8":return fe(this,r,e,n);case"ascii":case"latin1":case"binary":return de(this,r,e,n);case"base64":return ge(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function Fr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=e){var p,f,d,l;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(l=(a&31)<<6|p&63,l>127&&(o=l));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(l=(a&15)<<12|(p&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:p=t[i+1],f=t[i+2],d=t[i+3],(p&192)===128&&(f&192)===128&&(d&192)===128&&(l=(a&15)<<18|(p&63)<<12|(f&63)<<6|d&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return ye(n)}var xr=4096;function ye(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Se[t[a]];return i}function ve(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,c=0;for(this[e]=r&255;++c<n&&(o*=256);)this[e+c]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,c=1;for(this[e+o]=r&255;--o>=0&&(c*=256);)this[e+o]=r/c&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,c=1,p=0;for(this[e]=r&255;++o<n&&(c*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[e+o]=r&255;--o>=0&&(c*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/c>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function kr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var c=s.isBuffer(r)?r:s.from(r,i),p=c.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=c[o%p]}return this};var be=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(be,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ie(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function Br(t){return J.toByteArray(Fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var Se=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Er=G((Ne,Ur)=>{u();var y=Ur.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Rr(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Be(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],N=!1,U,Y=-1;function Ae(){!N||!U||(N=!1,U.length?A=U.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Rr(Ae);N=!0;for(var r=A.length;r;){for(U=A,A=[];++Y<r;)U&&U[Y].run();Y=-1,r=A.length}U=null,N=!1,Be(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Rr(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,h,Me,u=$r(()=>{g=z(Ar()),h=z(Er()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};Jr(Ue,{decodeByMethod:()=>E,getDisplayValueAndValidationWarnings:()=>Ce,getHexValidationWarnings:()=>ar,getSmartDecodedParts:()=>sr,isHexValidCharacters:()=>Hr,isHexValidLength:()=>Gr});module.exports=Kr(Ue);u();u();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));u();u();var _r=require("@multiversx/sdk-core");function Re(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Re(t)}u();u();u();u();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var E=(t,r,e)=>{switch(r){case"text":try{return g.Buffer.from(t,"hex").toString("utf8")}catch(n){}return t;case"decimal":return t!==""?new or.default(t,16).toString(10):"";case"smart":try{let n=Nr.Address.fromHex(t).toString();if(Lr(n))return n}catch(n){}try{let n=g.Buffer.from(t,"hex").toString("utf8");if(ir(n))return n;{if(e&&[...e.esdts,...e.nfts].some(o=>n.includes(o)))return n;let i=new or.default(t,16);return i.isFinite()?i.toString(10):t}}catch(n){}return t;case"raw":default:return t}};u();u();u();u();u();u();u();var De=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Mr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Mr||{}),ut=H(H({},M.WindowProviderRequestEnums),Mr),Wr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Wr||{}),pt=H(H({},M.WindowProviderResponseEnums),Wr);u();u();u();u();u();u();var Hr=t=>t.toLowerCase().match(/^[0-9a-f]+$/i),Gr=t=>t.length%2===0,ar=t=>{let r=[];return t&&!Hr(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Gr(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var sr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=E(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=g.Buffer.from(String(t[1]),"base64");n[1]=E(i.toString("hex"),"decimal")}return n};var Ce=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,c)=>{if(t.length>=2&&(c===0&&o.length<64||c===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?E(o,r):o;{let p=ar(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),E(o,r)}});return r==="smart"?sr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={decodeByMethod,getDisplayValueAndValidationWarnings,getHexValidationWarnings,getSmartDecodedParts,isHexValidCharacters,isHexValidLength});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|