@multiversx/sdk-dapp 2.40.5 → 2.40.7
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/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/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/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/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/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.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/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/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/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/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/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.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/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/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/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/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/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/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-GTTQMZBT.js → chunk-256ELXUN.js} +2 -2
- package/__chunks__/{chunk-JCNAOAHB.js → chunk-2I2CD3JW.js} +2 -2
- package/__chunks__/chunk-2O3XAXVP.js +2 -0
- package/__chunks__/chunk-2P4QW6L2.js +2 -0
- package/__chunks__/{chunk-D6AWNAHC.js → chunk-2RBMIVLO.js} +2 -2
- package/__chunks__/{chunk-ORD45C6B.js → chunk-2SUDHD3F.js} +2 -2
- package/__chunks__/{chunk-42XO3XDT.js → chunk-2ULLNCOZ.js} +2 -2
- package/__chunks__/{chunk-W3CUABJ2.js → chunk-2YGGTKCM.js} +2 -2
- package/__chunks__/{chunk-H7A3B56E.js → chunk-33C5OTPC.js} +2 -2
- package/__chunks__/{chunk-PMIUKWDC.js → chunk-3CI3JNO2.js} +2 -2
- package/__chunks__/{chunk-6BE7QH2R.js → chunk-3IUCDOHS.js} +2 -2
- package/__chunks__/{chunk-WJBFGFNP.js → chunk-3KBUXJNU.js} +2 -2
- package/__chunks__/{chunk-7H6ICC2C.js → chunk-3QMF6PSW.js} +2 -2
- package/__chunks__/{chunk-TAXES22D.js → chunk-3SLF3S4V.js} +2 -2
- package/__chunks__/{chunk-H2JJPQCB.js → chunk-3SV3CIMC.js} +2 -2
- package/__chunks__/{chunk-ZI7DR2J3.js → chunk-3W6UEGJU.js} +2 -2
- package/__chunks__/{chunk-GHJFKD4B.js → chunk-4EUNTSNN.js} +2 -2
- package/__chunks__/{chunk-GMGOHWFR.js → chunk-4FZRLMXO.js} +2 -2
- package/__chunks__/{chunk-EDCV2TZQ.js → chunk-4K3BTVR7.js} +2 -2
- package/__chunks__/{chunk-ONKEXPNQ.js → chunk-4MVNCUTP.js} +2 -2
- package/__chunks__/{chunk-H3FGN72B.js → chunk-4OYQINH3.js} +2 -2
- package/__chunks__/{chunk-TPTVNJLE.js → chunk-4PPUW3MU.js} +2 -2
- package/__chunks__/{chunk-KDPBQM7D.js → chunk-4SECHEFP.js} +2 -2
- package/__chunks__/{chunk-CKA5JFH5.js → chunk-4WBOQ2JX.js} +2 -2
- package/__chunks__/{chunk-JJFHJEWJ.js → chunk-5BARWVI6.js} +2 -2
- package/__chunks__/{chunk-R65FEYIW.js → chunk-5BLO5LC4.js} +2 -2
- package/__chunks__/{chunk-DRUENIF6.js → chunk-5DNMHYUQ.js} +2 -2
- package/__chunks__/{chunk-Z7OIXQYX.js → chunk-5I4EOIWP.js} +2 -2
- package/__chunks__/{chunk-OW5RAG33.js → chunk-5LLZAO75.js} +2 -2
- package/__chunks__/{chunk-I335IWQB.js → chunk-5P2LHLTD.js} +2 -2
- package/__chunks__/{chunk-EQUQ7BRA.js → chunk-5UF3KVGT.js} +2 -2
- package/__chunks__/{chunk-OHGSFOQA.js → chunk-647EPCPB.js} +2 -2
- package/__chunks__/chunk-64Y5SFL2.js +2 -0
- package/__chunks__/{chunk-UDOUGPVZ.js → chunk-6AQMPEBH.js} +2 -2
- package/__chunks__/{chunk-KBNEFBJT.js → chunk-6DKTUH4L.js} +2 -2
- package/__chunks__/chunk-6NNKJDPQ.js +2 -0
- package/__chunks__/chunk-6Q6SKGP3.js +2 -0
- package/__chunks__/{chunk-FHGKTS7E.js → chunk-73TAL55E.js} +2 -2
- package/__chunks__/{chunk-X6EAVIFT.js → chunk-7AAFEBYY.js} +2 -2
- package/__chunks__/{chunk-H46BD7WR.js → chunk-7BQ6JQGO.js} +2 -2
- package/__chunks__/{chunk-AQOBNZAQ.js → chunk-7EXVTLNQ.js} +2 -2
- package/__chunks__/{chunk-47CMJ2FZ.js → chunk-7EZMJ5IL.js} +2 -2
- package/__chunks__/{chunk-XL76YPAY.js → chunk-7F35K7XA.js} +2 -2
- package/__chunks__/chunk-7FYDX26G.js +2 -0
- package/__chunks__/chunk-7OWGSABI.js +2 -0
- package/__chunks__/{chunk-UHD67VUL.js → chunk-7SDB5EVR.js} +2 -2
- package/__chunks__/{chunk-2732T4DP.js → chunk-A6BXACIU.js} +2 -2
- package/__chunks__/{chunk-4BRT3VKO.js → chunk-AB6NSEZO.js} +2 -2
- package/__chunks__/{chunk-PJO4K5FT.js → chunk-ACGSNTB5.js} +2 -2
- package/__chunks__/chunk-AGCR3BWU.js +2 -0
- package/__chunks__/{chunk-UBRZRH5O.js → chunk-AIQD2X3F.js} +2 -2
- package/__chunks__/chunk-APNJKWK3.js +2 -0
- package/__chunks__/{chunk-CSLJELG7.js → chunk-AWBKIM76.js} +2 -2
- package/__chunks__/{chunk-LPK2XK3Z.js → chunk-B2EHHHHT.js} +2 -2
- package/__chunks__/{chunk-XCL2DJCN.js → chunk-B4MDUUC4.js} +2 -2
- package/__chunks__/{chunk-RQAMPTFS.js → chunk-B7UOTI2W.js} +2 -2
- package/__chunks__/{chunk-RWYXEBL2.js → chunk-BIJJEFX4.js} +2 -2
- package/__chunks__/{chunk-WCZX3I5K.js → chunk-BLKMOBM3.js} +2 -2
- package/__chunks__/{chunk-ACSMK7V6.js → chunk-BVBFUEXJ.js} +2 -2
- package/__chunks__/{chunk-6YGA42WQ.js → chunk-BWOFE7ED.js} +2 -2
- package/__chunks__/{chunk-REDUKIAW.js → chunk-BYU6XDUR.js} +2 -2
- package/__chunks__/{chunk-4VU2EPIT.js → chunk-C6L3K6EE.js} +2 -2
- package/__chunks__/{chunk-WFENM6WT.js → chunk-C7PAJLAT.js} +2 -2
- package/__chunks__/{chunk-5RR2E2Q4.js → chunk-CKL6I5PT.js} +2 -2
- package/__chunks__/{chunk-WPADQQNW.js → chunk-CL4H4IVM.js} +2 -2
- package/__chunks__/{chunk-4NXJHGDL.js → chunk-CSXA4TQQ.js} +2 -2
- package/__chunks__/{chunk-2MHBQF2A.js → chunk-CTMSGWKY.js} +2 -2
- package/__chunks__/{chunk-BG4AMJGX.js → chunk-CWSFAAKZ.js} +2 -2
- package/__chunks__/chunk-CZN2PADO.js +2 -0
- package/__chunks__/{chunk-MKGT6MMC.js → chunk-DCTZVFXY.js} +2 -2
- package/__chunks__/{chunk-ACW7VGCL.js → chunk-DGYISS44.js} +2 -2
- package/__chunks__/{chunk-PRAJF6BO.js → chunk-DLU7MRBR.js} +2 -2
- package/__chunks__/{chunk-MW7OPBWJ.js → chunk-E2N4A72V.js} +2 -2
- package/__chunks__/{chunk-VFAGY6CY.js → chunk-E3OXSBXP.js} +2 -2
- package/__chunks__/{chunk-WECAQCJD.js → chunk-EF6O73FT.js} +2 -2
- package/__chunks__/{chunk-OGU4J5WX.js → chunk-EOHDGODE.js} +2 -2
- package/__chunks__/{chunk-CLU7FG6U.js → chunk-EXGP7MBK.js} +2 -2
- package/__chunks__/{chunk-J24B4EEC.js → chunk-EYXOIZHH.js} +2 -2
- package/__chunks__/{chunk-Y4W5CUVC.js → chunk-F4MIIKBO.js} +2 -2
- package/__chunks__/{chunk-Z4FB6ODT.js → chunk-FFELGPPN.js} +2 -2
- package/__chunks__/{chunk-74WZECDO.js → chunk-FHSUBK37.js} +2 -2
- package/__chunks__/chunk-FKO7ZBQK.js +2 -0
- package/__chunks__/{chunk-6WVSBV6U.js → chunk-FOTWB46L.js} +2 -2
- package/__chunks__/{chunk-NW4OM7A4.js → chunk-FPCNDKKN.js} +2 -2
- package/__chunks__/{chunk-AUA3WRKV.js → chunk-FT7ZBDDX.js} +2 -2
- package/__chunks__/{chunk-QSQB3KPF.js → chunk-FWBFJPYW.js} +2 -2
- package/__chunks__/{chunk-3ZB5INPG.js → chunk-G4P4EJFU.js} +2 -2
- package/__chunks__/{chunk-ESO4IBXM.js → chunk-G5EIEPV2.js} +2 -2
- package/__chunks__/chunk-GIWNPTO6.js +2 -0
- package/__chunks__/{chunk-XR6WKP5A.js → chunk-GLOK5WOD.js} +2 -2
- package/__chunks__/{chunk-QYUJ2XSZ.js → chunk-GQGPKKCC.js} +2 -2
- package/__chunks__/{chunk-XUWF3Y7T.js → chunk-GTMNF6CO.js} +2 -2
- package/__chunks__/{chunk-CFX3WU4C.js → chunk-GVJDKDHX.js} +2 -2
- package/__chunks__/{chunk-67O3JK6B.js → chunk-GXVRKXVI.js} +2 -2
- package/__chunks__/{chunk-TZU2AHJQ.js → chunk-HCQ7FAID.js} +2 -2
- package/__chunks__/{chunk-L6SNPAEU.js → chunk-HPKAJG6T.js} +2 -2
- package/__chunks__/{chunk-QGA6ODTA.js → chunk-HQVZMIEO.js} +2 -2
- package/__chunks__/{chunk-DHDUT3G3.js → chunk-HWG4JVJI.js} +2 -2
- package/__chunks__/{chunk-QIYMIFHX.js → chunk-HX3R3AAV.js} +2 -2
- package/__chunks__/{chunk-7L57DIXF.js → chunk-I3C542XR.js} +2 -2
- package/__chunks__/{chunk-YWPKM4DH.js → chunk-IDL7ZJZU.js} +2 -2
- package/__chunks__/{chunk-KGIQNRTR.js → chunk-IDRELJ3S.js} +2 -2
- package/__chunks__/{chunk-Q3K6CQUI.js → chunk-IOY2Q7PE.js} +2 -2
- package/__chunks__/{chunk-U7ZNOVTM.js → chunk-IQYXZFFP.js} +2 -2
- package/__chunks__/{chunk-MGUF7U3E.js → chunk-IXJMOCYK.js} +2 -2
- package/__chunks__/{chunk-FS3TVPEX.js → chunk-J53IRRIS.js} +2 -2
- package/__chunks__/{chunk-KWNNXZRA.js → chunk-JAGDPU4B.js} +2 -2
- package/__chunks__/{chunk-T4J5TTGX.js → chunk-JAZLAI24.js} +2 -2
- package/__chunks__/{chunk-7WIEB6PO.js → chunk-JBVJWBTS.js} +2 -2
- package/__chunks__/{chunk-EHNHHJRF.js → chunk-JCBDAJYT.js} +2 -2
- package/__chunks__/{chunk-QAIBUAMW.js → chunk-JQOEARYD.js} +2 -2
- package/__chunks__/{chunk-ITVS5RYQ.js → chunk-JSJMO42V.js} +2 -2
- package/__chunks__/{chunk-HHXJC4G2.js → chunk-JSZ53WUI.js} +2 -2
- package/__chunks__/{chunk-JJXFIDJV.js → chunk-JWDEMVRQ.js} +2 -2
- package/__chunks__/{chunk-WA5BOWGU.js → chunk-JXF2JB3C.js} +2 -2
- package/__chunks__/{chunk-4STW42B2.js → chunk-KC5YD7BH.js} +2 -2
- package/__chunks__/{chunk-TRZ3QVRF.js → chunk-KF6JN34Y.js} +2 -2
- package/__chunks__/{chunk-BXAOBLS6.js → chunk-KIH63IPZ.js} +2 -2
- package/__chunks__/{chunk-TIF3XCLE.js → chunk-KIQNKTYD.js} +2 -2
- package/__chunks__/chunk-KS4SI3EJ.js +2 -0
- package/__chunks__/{chunk-2B2F5FAB.js → chunk-KUNVZQD4.js} +2 -2
- package/__chunks__/{chunk-IV2G2DQ7.js → chunk-KWY63ZV6.js} +2 -2
- package/__chunks__/chunk-KXQRDG5F.js +2 -0
- package/__chunks__/{chunk-MGXEC7PT.js → chunk-L3H7CU2R.js} +2 -2
- package/__chunks__/{chunk-UQDJEUTM.js → chunk-LCPV5GQG.js} +2 -2
- package/__chunks__/{chunk-NNLLAEDW.js → chunk-LFN65XGW.js} +2 -2
- package/__chunks__/{chunk-P7KS6ZGK.js → chunk-LGCFDGVP.js} +2 -2
- package/__chunks__/{chunk-C2DIQAR5.js → chunk-LLV2VJ5L.js} +2 -2
- package/__chunks__/{chunk-PYOAZZLY.js → chunk-LR6MY64W.js} +2 -2
- package/__chunks__/{chunk-UYCTCFY6.js → chunk-LSO7R2OQ.js} +2 -2
- package/__chunks__/{chunk-CKXOZQKO.js → chunk-M3H563MI.js} +2 -2
- package/__chunks__/{chunk-AFWXURLX.js → chunk-MEJLQRVP.js} +2 -2
- package/__chunks__/{chunk-3CXZOGXV.js → chunk-MHLVWX64.js} +2 -2
- package/__chunks__/{chunk-7LOO3ROQ.js → chunk-MTP44NBW.js} +2 -2
- package/__chunks__/{chunk-YUTL3ZNS.js → chunk-NERNXPH2.js} +2 -2
- package/__chunks__/{chunk-ISHTCWDR.js → chunk-NFZ7JO2Z.js} +2 -2
- package/__chunks__/{chunk-OAMC6DAX.js → chunk-NH6FT3IZ.js} +2 -2
- package/__chunks__/{chunk-O2JJ7TX2.js → chunk-NNOOMFID.js} +2 -2
- package/__chunks__/{chunk-DNHNKFHJ.js → chunk-NUUCOV6X.js} +2 -2
- package/__chunks__/{chunk-JLBHATQM.js → chunk-NW5ZGNQV.js} +2 -2
- package/__chunks__/{chunk-V3VNZ3LF.js → chunk-NZQKUKIU.js} +2 -2
- package/__chunks__/{chunk-JIE5CDBM.js → chunk-NZVWRMBH.js} +2 -2
- package/__chunks__/{chunk-7JQ3JF2S.js → chunk-O27E4JG4.js} +2 -2
- package/__chunks__/{chunk-BIMZTWXB.js → chunk-O2EPXHIC.js} +2 -2
- package/__chunks__/{chunk-JLIP76TX.js → chunk-O3X2Z3NX.js} +2 -2
- package/__chunks__/{chunk-CYUQTFV4.js → chunk-O57K5BPD.js} +2 -2
- package/__chunks__/{chunk-WPS5WCAD.js → chunk-OA5NXEM5.js} +2 -2
- package/__chunks__/{chunk-K2GJDKLB.js → chunk-OCSDRIZL.js} +2 -2
- package/__chunks__/{chunk-VSDJBGTI.js → chunk-OFZL7QGE.js} +2 -2
- package/__chunks__/{chunk-EGXFICI6.js → chunk-OHAZISBB.js} +2 -2
- package/__chunks__/{chunk-ULY6I5G4.js → chunk-OHLUDCZP.js} +2 -2
- package/__chunks__/{chunk-E5WZG22Q.js → chunk-OJJW7N3Y.js} +2 -2
- package/__chunks__/{chunk-LHOGTSVM.js → chunk-OK5VPSYN.js} +2 -2
- package/__chunks__/{chunk-7WIVWVYG.js → chunk-OM4HIUZV.js} +2 -2
- package/__chunks__/{chunk-JTA3GVIR.js → chunk-OPYMG7J6.js} +2 -2
- package/__chunks__/{chunk-TT6I2JPD.js → chunk-OXT27KBX.js} +2 -2
- package/__chunks__/{chunk-XV5T3OGI.js → chunk-P2I2W66R.js} +2 -2
- package/__chunks__/{chunk-YY7YJV3Z.js → chunk-P2TS43BL.js} +2 -2
- package/__chunks__/{chunk-2MTCVCJY.js → chunk-P3WILR7P.js} +2 -2
- package/__chunks__/{chunk-Y4NWJTDF.js → chunk-P7OHWGVE.js} +2 -2
- package/__chunks__/{chunk-2BLD2S6Y.js → chunk-PCBKXJAS.js} +2 -2
- package/__chunks__/{chunk-LBMDUUX2.js → chunk-PEE6QS7F.js} +2 -2
- package/__chunks__/{chunk-VBHFVCAT.js → chunk-PEHJVSQJ.js} +2 -2
- package/__chunks__/{chunk-EFYPXCHD.js → chunk-PJAESNTN.js} +2 -2
- package/__chunks__/chunk-PVDQFAJH.js +2 -0
- package/__chunks__/{chunk-4I2R2YBI.js → chunk-PZIEUX5I.js} +2 -2
- package/__chunks__/{chunk-5JAHGJZ3.js → chunk-Q4CSBUGG.js} +2 -2
- package/__chunks__/{chunk-2QJMUXY5.js → chunk-Q4MYQMLU.js} +2 -2
- package/__chunks__/{chunk-BN5LCWRP.js → chunk-Q5GRUOBA.js} +2 -2
- package/__chunks__/{chunk-AZ7PQ7BZ.js → chunk-Q6RIPAYC.js} +2 -2
- package/__chunks__/{chunk-ZZGKPNPK.js → chunk-QBKC3L3M.js} +2 -2
- package/__chunks__/{chunk-B5FEJ4M2.js → chunk-QIG55ESS.js} +2 -2
- package/__chunks__/{chunk-2QH46LHC.js → chunk-QJKWCOAE.js} +2 -2
- package/__chunks__/{chunk-GWWXW44U.js → chunk-QLTKW7UX.js} +2 -2
- package/__chunks__/{chunk-QBXIIWYO.js → chunk-RFBKEGBF.js} +2 -2
- package/__chunks__/{chunk-37HZU2NS.js → chunk-RI25J73C.js} +2 -2
- package/__chunks__/{chunk-HTIHDRK6.js → chunk-S2PFP7G2.js} +2 -2
- package/__chunks__/{chunk-OOXMCSWF.js → chunk-S5NJJAPQ.js} +2 -2
- package/__chunks__/{chunk-YO5YBMN5.js → chunk-S77UNI5R.js} +2 -2
- package/__chunks__/{chunk-Q4ULGJFI.js → chunk-SAVFWFK5.js} +2 -2
- package/__chunks__/{chunk-XKSXFTS2.js → chunk-SBQ57SK6.js} +2 -2
- package/__chunks__/{chunk-LW7ND3VE.js → chunk-SIC3HEYU.js} +2 -2
- package/__chunks__/{chunk-LICFOMVB.js → chunk-SK7YYO4P.js} +2 -2
- package/__chunks__/{chunk-VL7NMTCR.js → chunk-SWCKOXSX.js} +2 -2
- package/__chunks__/{chunk-GVJVBY3M.js → chunk-SY3UOM25.js} +2 -2
- package/__chunks__/{chunk-U6A2XQPV.js → chunk-SZCMNOHY.js} +2 -2
- package/__chunks__/{chunk-UOQBG7X3.js → chunk-TBIV2K6X.js} +2 -2
- package/__chunks__/{chunk-6OWJWBI5.js → chunk-TCHHIVWG.js} +2 -2
- package/__chunks__/{chunk-A4G62MA5.js → chunk-TEEBL6AK.js} +2 -2
- package/__chunks__/{chunk-Y7WN66J2.js → chunk-TH7LB4LY.js} +2 -2
- package/__chunks__/{chunk-NK7ZL2DT.js → chunk-THR6RXYS.js} +2 -2
- package/__chunks__/{chunk-VXRXUNEN.js → chunk-TL4XBKDU.js} +2 -2
- package/__chunks__/{chunk-CFF5LJLP.js → chunk-TMGLGASZ.js} +2 -2
- package/__chunks__/{chunk-T5WSVPXH.js → chunk-TNTBYP6K.js} +2 -2
- package/__chunks__/{chunk-JVP5G4OH.js → chunk-TRZUUKRO.js} +2 -2
- package/__chunks__/{chunk-3XKG2IZ7.js → chunk-TVESPVBL.js} +2 -2
- package/__chunks__/{chunk-GZU4XOBN.js → chunk-TZ7D3ABD.js} +2 -2
- package/__chunks__/{chunk-Y4JO6CBF.js → chunk-U3QQELXI.js} +2 -2
- package/__chunks__/{chunk-4XGVEFWE.js → chunk-U5QW2K3I.js} +2 -2
- package/__chunks__/{chunk-GCE7L2D3.js → chunk-U5UIO4UF.js} +2 -2
- package/__chunks__/{chunk-I7VLLM33.js → chunk-UICSKYIJ.js} +2 -2
- package/__chunks__/{chunk-YHTSP4GJ.js → chunk-ULECHZKW.js} +2 -2
- package/__chunks__/{chunk-B2JEMS3V.js → chunk-URAYO74E.js} +2 -2
- package/__chunks__/{chunk-7RCWI5DV.js → chunk-US4GXOAG.js} +2 -2
- package/__chunks__/{chunk-OEFBVOVP.js → chunk-UWKLKRGH.js} +2 -2
- package/__chunks__/{chunk-QJCZJ43W.js → chunk-V25ZKV7N.js} +2 -2
- package/__chunks__/{chunk-5V2VVYR4.js → chunk-VNJCCAFW.js} +2 -2
- package/__chunks__/{chunk-FBKUW7RX.js → chunk-VRP4T4FV.js} +2 -2
- package/__chunks__/chunk-VSE72FLZ.js +2 -0
- package/__chunks__/{chunk-4QMZL3QQ.js → chunk-VVNYKZD5.js} +2 -2
- package/__chunks__/{chunk-EI42VQCK.js → chunk-VZ72WJ2X.js} +2 -2
- package/__chunks__/{chunk-UYBXREWT.js → chunk-W6KBLENQ.js} +2 -2
- package/__chunks__/{chunk-MSXOQLN2.js → chunk-W7YIY5E7.js} +2 -2
- package/__chunks__/{chunk-LO3VURDM.js → chunk-WBKRKXLD.js} +2 -2
- package/__chunks__/{chunk-XEGV54WV.js → chunk-WCBZ6Z34.js} +2 -2
- package/__chunks__/{chunk-OPHZSLD4.js → chunk-WGEOYDAG.js} +2 -2
- package/__chunks__/{chunk-BWZPYI5B.js → chunk-WSRC4TQI.js} +2 -2
- package/__chunks__/{chunk-UH43PEYV.js → chunk-WTRR3D36.js} +2 -2
- package/__chunks__/{chunk-HXJ4HFX7.js → chunk-WW2ZOHAS.js} +2 -2
- package/__chunks__/chunk-WYDCYB2E.js +2 -0
- package/__chunks__/chunk-X3FCPAMI.js +2 -0
- package/__chunks__/chunk-X7WDIBT5.js +2 -0
- package/__chunks__/{chunk-JWOJVPSQ.js → chunk-XCGDGLK3.js} +2 -2
- package/__chunks__/{chunk-YHGHGEDP.js → chunk-XGACROB3.js} +2 -2
- package/__chunks__/{chunk-AGHBEBGH.js → chunk-XLJJNITC.js} +2 -2
- package/__chunks__/{chunk-CKTVDXZB.js → chunk-XPDTLVYA.js} +2 -2
- package/__chunks__/{chunk-IAAPCWKC.js → chunk-XQP76V2M.js} +2 -2
- package/__chunks__/{chunk-EQJ5TR37.js → chunk-XVF4IG3A.js} +2 -2
- package/__chunks__/{chunk-HLBUCVWT.js → chunk-XWPLCBYN.js} +2 -2
- package/__chunks__/{chunk-QHOAQEWT.js → chunk-XYT2TK3Q.js} +2 -2
- package/__chunks__/{chunk-NLHXFLTD.js → chunk-Y6KSTO3A.js} +2 -2
- package/__chunks__/{chunk-6ERULYYM.js → chunk-Y7ZCJ622.js} +2 -2
- package/__chunks__/{chunk-LV3SR5AZ.js → chunk-YCSJTLCS.js} +2 -2
- package/__chunks__/{chunk-AOWSKJU4.js → chunk-YG7VDKRN.js} +2 -2
- package/__chunks__/{chunk-VZP77QAT.js → chunk-YMS7SA5X.js} +2 -2
- package/__chunks__/{chunk-ALACRIIG.js → chunk-YTPED4VI.js} +2 -2
- package/__chunks__/{chunk-WZGTPUPX.js → chunk-YY2JXRIX.js} +2 -2
- package/__chunks__/{chunk-QZDIC3DK.js → chunk-Z2TN7537.js} +2 -2
- package/__chunks__/{chunk-SZZD7FYR.js → chunk-Z42BLK44.js} +2 -2
- package/__chunks__/chunk-Z5BQ5KOQ.js +2 -0
- package/__chunks__/{chunk-5CAUCI7D.js → chunk-ZBA5RQC3.js} +2 -2
- package/__chunks__/{chunk-LDY2FDOV.js → chunk-ZEM76I54.js} +2 -2
- package/__chunks__/{chunk-64PUFCWO.js → chunk-ZGZXVEDL.js} +2 -2
- package/__chunks__/{chunk-3MJ5MEYW.js → chunk-ZMMELDU7.js} +2 -2
- package/__chunks__/{chunk-7EY2LJ6M.js → chunk-ZO6MKGLO.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
- package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +3 -3
- package/__commonjs/UI/TransactionDetails/components/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- 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/DataField/DataField.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/index.js +1 -1
- package/__commonjs/UI/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/WalletConnectLoginButton.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/__commonjs/UI/walletConnect/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.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/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.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/helpers/useGetLedgerProvider.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignMultipleTransactions.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/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/utils/account/addressIsValid.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/getSearchParamAddress.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.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/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
- package/__commonjs/web/hooks/index.js +1 -1
- package/__commonjs/web/hooks/useIdleTimer.js +1 -1
- package/__commonjs/web/index.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/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/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/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/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.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/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.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/package.json +2 -2
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.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/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/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/utils/account/addressIsValid.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getSearchParamAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/refreshAccount.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/smartContracts.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/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTokenFromData.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/waitForChainID.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-3DRKBT5E.js +0 -2
- package/__chunks__/chunk-3YXLL6MW.js +0 -2
- package/__chunks__/chunk-5RZCYYFB.js +0 -2
- package/__chunks__/chunk-6OFEUWAW.js +0 -2
- package/__chunks__/chunk-6ORF3QPY.js +0 -2
- package/__chunks__/chunk-AYX7II5D.js +0 -2
- package/__chunks__/chunk-B2HUNSVF.js +0 -2
- package/__chunks__/chunk-FDI635JG.js +0 -2
- package/__chunks__/chunk-FIJSATLB.js +0 -2
- package/__chunks__/chunk-KGBCMOWB.js +0 -2
- package/__chunks__/chunk-M7XHLNDA.js +0 -2
- package/__chunks__/chunk-OFNDNL4K.js +0 -2
- package/__chunks__/chunk-OQPKYQ27.js +0 -2
- package/__chunks__/chunk-PUT4EQQN.js +0 -2
- package/__chunks__/chunk-V3DA6SW6.js +0 -2
- package/__chunks__/chunk-VBL2PL7V.js +0 -2
- package/__chunks__/chunk-WAYWMIAI.js +0 -2
- package/__chunks__/chunk-Y2CELDON.js +0 -2
- package/__chunks__/chunk-YLWL2XAU.js +0 -2
- package/__chunks__/chunk-Z5GTNNXT.js +0 -2
package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var qr=Object.create;var M=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var ur=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))pr.call(r,e)&&ur(t,e,r[e]);if(sr)for(var e of sr(r))Xr.call(r,e)&&ur(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)M(t,e,{get:r[e],enumerable:!0})},cr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!pr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?qr(zr(t)):{},cr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Jr=t=>cr(M({},"__esModule",{value:!0}),t);var dr=G(V=>{"use strict";u();V.byteLength=Qr;V.toByteArray=re;V.fromByteArray=ne;var F=[],v=[],Kr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,lr=$.length;C<lr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,lr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fr(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=fr(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=fr(t),n=e[0],i=e[1],o=new Kr(Zr(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 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=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(te(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 gr=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,Vr=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-_]|=Vr*128}});var Br=G(P=>{"use strict";u();var J=dr(),L=gr(),hr=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 q=2147483647;P.kMaxLength=q;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>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 xr(t,r,e)}s.poolSize=8192;function xr(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 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=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 xr(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 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 ae(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:er(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 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 ue(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 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,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 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 Z(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:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;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 we(this,r,e);case"utf8":case"utf-8":return br(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return Te(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 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?br(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+">"};hr&&(s.prototype[hr]=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 vr(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:mr(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):mr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function mr(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 vr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return vr(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 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 fe(t,r,e,n){return O(Z(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(Ir(r),t,e,n)}function he(t,r,e,n){return O(Se(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 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(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 me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function br(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 ye(n)}var yr=4096;function ye(t){var r=t.length;if(r<=yr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=yr));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 Te(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+=Ie[t[o]];return i}function ve(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 Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return kr(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return 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 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 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 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 ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Se(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 Ir(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 tr(t){return t!==t}var Ie=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,Cr)=>{u();var y=Cr.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 Ar(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 Be(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 Ae(){!N||!U||(N=!1,U.length?A=U.concat(A):Y=-1,A.length&&Rr())}function Rr(){if(!N){var t=Ar(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 Dr(t,r)),A.length===1&&!N&&Ar(Rr)};function Dr(t,r){this.fun=t,this.array=r}Dr.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,He,u=$r(()=>{f=X(Br()),h=X(Er()),He=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 _e={};jr(_e,{decodeForDisplay:()=>Ue});module.exports=Jr(_e);u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var Ur=require("@multiversx/sdk-core");function Re(t){try{let r=new Ur.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function _r(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Re(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 Lr=t=>/\d/.test(t);var D=(t,r,e)=>{try{switch(r){case"text":return Lr(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(_r(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var De=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),W=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Wr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Wr||{}),ct=H(H({},W.WindowProviderRequestEnums),Wr),Mr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Mr||{}),lt=H(H({},W.WindowProviderResponseEnums),Mr);u();u();u();u();u();u();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),Ee=t=>t.length%2===0,Hr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ee(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 Gr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?D(o,r):o;{let p=Hr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),D(o,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("@")){let i=t.split("@"),o=Gr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
1
|
+
"use strict";var qr=Object.create;var M=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var ur=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))pr.call(r,e)&&ur(t,e,r[e]);if(sr)for(var e of sr(r))Xr.call(r,e)&&ur(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)M(t,e,{get:r[e],enumerable:!0})},cr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!pr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?qr(zr(t)):{},cr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Jr=t=>cr(M({},"__esModule",{value:!0}),t);var dr=G(V=>{"use strict";u();V.byteLength=Qr;V.toByteArray=re;V.fromByteArray=ne;var F=[],v=[],Kr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,lr=$.length;C<lr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,lr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fr(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=fr(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=fr(t),n=e[0],i=e[1],o=new Kr(Zr(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 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=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(te(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 gr=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,Vr=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-_]|=Vr*128}});var Br=G(P=>{"use strict";u();var J=dr(),L=gr(),hr=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 q=2147483647;P.kMaxLength=q;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>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 xr(t,r,e)}s.poolSize=8192;function xr(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 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=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 xr(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 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 ae(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:er(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 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 ue(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 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,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 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 Z(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:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;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 we(this,r,e);case"utf8":case"utf-8":return br(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return Te(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 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?br(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+">"};hr&&(s.prototype[hr]=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 vr(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:mr(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):mr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function mr(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 vr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return vr(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 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 fe(t,r,e,n){return O(Z(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(Ir(r),t,e,n)}function he(t,r,e,n){return O(Se(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 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(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 me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function br(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 ye(n)}var yr=4096;function ye(t){var r=t.length;if(r<=yr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=yr));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 Te(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+=Ie[t[o]];return i}function ve(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 Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return kr(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return 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 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 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 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 ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Se(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 Ir(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 tr(t){return t!==t}var Ie=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,Cr)=>{u();var y=Cr.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 Ar(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 Be(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 Ae(){!N||!U||(N=!1,U.length?A=U.concat(A):Y=-1,A.length&&Rr())}function Rr(){if(!N){var t=Ar(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 Dr(t,r)),A.length===1&&!N&&Ar(Rr)};function Dr(t,r){this.fun=t,this.array=r}Dr.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,He,u=$r(()=>{f=X(Br()),h=X(Er()),He=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 _e={};jr(_e,{decodeForDisplay:()=>Ue});module.exports=Jr(_e);u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var Ur=require("@multiversx/sdk-core");function Re(t){try{let r=new Ur.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function _r(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Re(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 Lr=t=>/\d/.test(t);var D=(t,r,e)=>{try{switch(r){case"text":return Lr(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(_r(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var De=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),W=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Wr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Wr||{}),ct=H(H({},W.WindowProviderRequestEnums),Wr),Mr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Mr||{}),lt=H(H({},W.WindowProviderResponseEnums),Mr);u();u();u();u();u();u();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),Ee=t=>t.length%2===0,Hr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ee(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 Gr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?D(o,r):o;{let p=Hr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),D(o,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("@")){let i=t.split("@"),o=Gr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
2
2
|
`)){let i=t.split(`
|
|
3
3
|
`),o=i.map(p=>{let c=f.Buffer.from(String(p),"base64");return r==="raw"?p:D(c.toString("hex"),r)}),a=r==="smart"?z({parts:i,decodedParts:o,identifier:e}):o;return n.displayValue=a.join(`
|
|
4
4
|
`),n}return n.displayValue=D(t,r),n};0&&(module.exports={decodeForDisplay});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ar=Object.create;var _=Object.defineProperty;var Rr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Dr=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty;var Nr=(t,r)=>()=>(t&&(r=t(t=0)),r);var P=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),_r=(t,r)=>{for(var e in r)_(t,e,{get:r[e],enumerable:!0})},ir=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Cr(r))!Mr.call(t,n)&&n!==e&&_(t,n,{get:()=>r[n],enumerable:!(i=Rr(r,n))||i.enumerable});return t};var V=(t,r,e)=>(e=t!=null?Ar(Dr(t)):{},ir(r||!t||!t.__esModule?_(e,"default",{value:t,enumerable:!0}):e,t)),Pr=t=>ir(_({},"__esModule",{value:!0}),t);var ur=P(q=>{"use strict";c();q.byteLength=Hr;q.toByteArray=Yr;q.fromByteArray=Qr;var k=[],F=[],qr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(S=0,nr=z.length;S<nr;++S)k[S]=z[S],F[z.charCodeAt(S)]=S;var S,nr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function or(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 i=e===r?0:4-e%4;return[e,i]}function Hr(t){var r=or(t),e=r[0],i=r[1];return(e+i)*3/4-i}function Wr(t,r,e){return(r+e)*3/4-e}function Yr(t){var r,e=or(t),i=e[0],n=e[1],o=new qr(Wr(t,i,n)),u=0,f=n>0?i-4:i,s;for(s=0;s<f;s+=4)r=F[t.charCodeAt(s)]<<18|F[t.charCodeAt(s+1)]<<12|F[t.charCodeAt(s+2)]<<6|F[t.charCodeAt(s+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=F[t.charCodeAt(s)]<<2|F[t.charCodeAt(s+1)]>>4,o[u++]=r&255),n===1&&(r=F[t.charCodeAt(s)]<<10|F[t.charCodeAt(s+1)]<<4|F[t.charCodeAt(s+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Vr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function zr(t,r,e){for(var i,n=[],o=r;o<e;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),n.push(Vr(i));return n.join("")}function Qr(t){for(var r,e=t.length,i=e%3,n=[],o=16383,u=0,f=e-i;u<f;u+=o)n.push(zr(t,u,u+o>f?f:u+o));return i===1?(r=t[e-1],n.push(k[r>>2]+k[r<<4&63]+"==")):i===2&&(r=(t[e-2]<<8)+t[e-1],n.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),n.join("")}});var ar=P(Q=>{c();Q.read=function(t,r,e,i,n){var o,u,f=n*8-i-1,s=(1<<f)-1,h=s>>1,l=-7,p=e?n-1:0,B=e?-1:1,m=t[r+p];for(p+=B,o=m&(1<<-l)-1,m>>=-l,l+=f;l>0;o=o*256+t[r+p],p+=B,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+t[r+p],p+=B,l-=8);if(o===0)o=1-h;else{if(o===s)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-h}return(m?-1:1)*u*Math.pow(2,o-i)};Q.write=function(t,r,e,i,n,o){var u,f,s,h=o*8-n-1,l=(1<<h)-1,p=l>>1,B=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,C=i?1:-1,Sr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),u+p>=1?r+=B/s:r+=B*Math.pow(2,1-p),r*s>=2&&(u++,s/=2),u+p>=l?(f=0,u=l):u+p>=1?(f=(r*s-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;t[e+m]=f&255,m+=C,f/=256,n-=8);for(u=u<<n|f,h+=n;h>0;t[e+m]=u&255,m+=C,u/=256,h-=8);t[e+m-C]|=Sr*128}});var Fr=P(M=>{"use strict";c();var X=ur(),D=ar(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=a;M.SlowBuffer=Zr;M.INSPECT_MAX_BYTES=50;var H=2147483647;M.kMaxLength=H;a.TYPED_ARRAY_SUPPORT=Xr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Xr(){try{var 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(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(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 K(t)}return hr(t,r,e)}a.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return $r(t,r);if(ArrayBuffer.isView(t))return Jr(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(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return $(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return a.from(i,r,e);var n=Kr(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.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)}a.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function lr(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 Gr(t,r,e){return lr(t),t<=0?U(t):r!==void 0?typeof e=="string"?U(t).fill(r,e):U(t).fill(r):U(t)}a.alloc=function(t,r,e){return Gr(t,r,e)};function K(t){return lr(t),U(t<0?0:Z(t)|0)}a.allocUnsafe=function(t){return K(t)};a.allocUnsafeSlow=function(t){return K(t)};function $r(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=cr(t,r)|0,i=U(e),n=i.write(t,r);return n!==e&&(i=i.slice(0,n)),i}function G(t){for(var r=t.length<0?0:Z(t.length)|0,e=U(r),i=0;i<r;i+=1)e[i]=t[i]&255;return e}function Jr(t){if(E(t,Uint8Array)){var r=new Uint8Array(t);return $(r.buffer,r.byteOffset,r.byteLength)}return G(t)}function $(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 i;return r===void 0&&e===void 0?i=new Uint8Array(t):e===void 0?i=new Uint8Array(t,r):i=new Uint8Array(t,r,e),Object.setPrototypeOf(i,a.prototype),i}function Kr(t){if(a.isBuffer(t)){var r=Z(t.length)|0,e=U(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||j(t.length)?U(0):G(t);if(t.type==="Buffer"&&Array.isArray(t.data))return G(t.data)}function Z(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function Zr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(E(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),E(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var i=r.length,n=e.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==e[o]){i=r[o],n=e[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(e===void 0)for(e=0,i=0;i<r.length;++i)e+=r[i].length;var n=a.allocUnsafe(e),o=0;for(i=0;i<r.length;++i){var u=r[i];if(E(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(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,i=arguments.length>2&&arguments[2]===!0;if(!i&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return dr(t).length;default:if(n)return i?-1:J(t).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function jr(t,r,e){var i=!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 se(this,r,e);case"utf8":case"utf-8":return yr(this,r,e);case"ascii":return ue(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return ne(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,r,e);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function A(t,r,e){var i=t[r];t[r]=t[e],t[e]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)A(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)A(this,e,e+3),A(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)A(this,e,e+7),A(this,e+1,e+6),A(this,e+2,e+5),A(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=M.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(a.prototype[sr]=a.prototype.inspect);a.prototype.compare=function(r,e,i,n,o){if(E(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),e<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=i)return 0;if(n>=o)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,f=i-e,s=Math.min(u,f),h=this.slice(n,o),l=r.slice(e,i),p=0;p<s;++p)if(h[p]!==l[p]){u=h[p],f=l[p];break}return u<f?-1:f<u?1:0};function gr(t,r,e,i,n){if(t.length===0)return-1;if(typeof e=="string"?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,j(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:fr(t,r,e,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,i,n);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,i,n){var o=1,u=t.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function s(m,C){return o===1?m[C]:m.readUInt16BE(C*o)}var h;if(n){var l=-1;for(h=e;h<u;h++)if(s(t,h)===s(r,l===-1?0:h-l)){if(l===-1&&(l=h),h-l+1===f)return l*o}else l!==-1&&(h-=h-l),l=-1}else for(e+f>u&&(e=u-f),h=e;h>=0;h--){for(var p=!0,B=0;B<f;B++)if(s(t,h+B)!==s(r,B)){p=!1;break}if(p)return h}return-1}a.prototype.includes=function(r,e,i){return this.indexOf(r,e,i)!==-1};a.prototype.indexOf=function(r,e,i){return gr(this,r,e,i,!0)};a.prototype.lastIndexOf=function(r,e,i){return gr(this,r,e,i,!1)};function Or(t,r,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(j(f))return u;t[e+u]=f}return u}function re(t,r,e,i){return W(J(r,t.length-e),t,e,i)}function ee(t,r,e,i){return W(le(r),t,e,i)}function te(t,r,e,i){return W(dr(r),t,e,i)}function ie(t,r,e,i){return W(ce(r,t.length-e),t,e,i)}a.prototype.write=function(r,e,i,n){if(e===void 0)n="utf8",i=this.length,e=0;else if(i===void 0&&typeof e=="string")n=e,i=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Or(this,r,e,i);case"utf8":case"utf-8":return re(this,r,e,i);case"ascii":case"latin1":case"binary":return ee(this,r,e,i);case"base64":return te(this,r,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ne(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function yr(t,r,e){e=Math.min(t.length,e);for(var i=[],n=r;n<e;){var o=t[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=e){var s,h,l,p;switch(f){case 1:o<128&&(u=o);break;case 2:s=t[n+1],(s&192)===128&&(p=(o&31)<<6|s&63,p>127&&(u=p));break;case 3:s=t[n+1],h=t[n+2],(s&192)===128&&(h&192)===128&&(p=(o&15)<<12|(s&63)<<6|h&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:s=t[n+1],h=t[n+2],l=t[n+3],(s&192)===128&&(h&192)===128&&(l&192)===128&&(p=(o&15)<<18|(s&63)<<12|(h&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return oe(i)}var pr=4096;function oe(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",i=0;i<r;)e+=String.fromCharCode.apply(String,t.slice(i,i+=pr));return e}function ue(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]&127);return i}function ae(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]);return i}function se(t,r,e){var i=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>i)&&(e=i);for(var n="",o=r;o<e;++o)n+=ge[t[o]];return n}function fe(t,r,e){for(var i=t.slice(r,e),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,e){var i=this.length;r=~~r,e=e===void 0?i:~~e,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,a.prototype),n};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=this[r+--e],o=1;e>0&&(o*=256);)n+=this[r+--e]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n};a.prototype.readIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=e,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,i,n,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(e+i>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=1,f=0;for(this[e]=r&255;++f<i&&(u*=256);)this[e+f]=r/u&255;return e+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=i-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||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};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||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};a.prototype.writeIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=0,f=1,s=0;for(this[e]=r&255;++u<i&&(f*=256);)r<0&&s===0&&this[e+u-1]!==0&&(s=1),this[e+u]=(r/f>>0)-s&255;return e+i};a.prototype.writeIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=i-1,f=1,s=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&s===0&&this[e+u+1]!==0&&(s=1),this[e+u]=(r/f>>0)-s&255;return e+i};a.prototype.writeInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||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};a.prototype.writeInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||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 xr(t,r,e,i,n,o){if(e+i>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,i,23,4),e+4}a.prototype.writeFloatLE=function(r,e,i){return wr(this,r,e,!0,i)};a.prototype.writeFloatBE=function(r,e,i){return wr(this,r,e,!1,i)};function mr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,i,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,i){return mr(this,r,e,!0,i)};a.prototype.writeDoubleBE=function(r,e,i){return mr(this,r,e,!1,i)};a.prototype.copy=function(r,e,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-i&&(n=r.length-e+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),e),o};a.prototype.fill=function(r,e,i,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e=e>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<i;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,n),s=f.length;if(s===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-e;++u)this[u+e]=f[u%s]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function he(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,i=t.length,n=null,o=[],u=0;u<i;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=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 le(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ce(t,r){for(var e,i,n,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),i=e>>8,n=e%256,o.push(n),o.push(i);return o}function dr(t){return X.toByteArray(he(t))}function W(t,r,e,i){for(var n=0;n<i&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function E(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function j(t){return t!==t}var ge=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var i=e*16,n=0;n<16;++n)r[i+n]=t[e]+t[n];return r}()});var Tr=P((Ee,Er)=>{c();var g=Er.exports={},T,I;function O(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?T=setTimeout:T=O}catch(t){T=O}try{typeof clearTimeout=="function"?I=clearTimeout:I=rr}catch(t){I=rr}})();function vr(t){if(T===setTimeout)return setTimeout(t,0);if((T===O||!T)&&setTimeout)return T=setTimeout,setTimeout(t,0);try{return T(t,0)}catch(r){try{return T.call(null,t,0)}catch(e){return T.call(this,t,0)}}}function ye(t){if(I===clearTimeout)return clearTimeout(t);if((I===rr||!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 L=[],N=!1,R,Y=-1;function xe(){!N||!R||(N=!1,R.length?L=R.concat(L):Y=-1,L.length&&Br())}function Br(){if(!N){var t=vr(xe);N=!0;for(var r=L.length;r;){for(R=L,L=[];++Y<r;)R&&R[Y].run();Y=-1,r=L.length}R=null,N=!1,ye(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];L.push(new kr(t,r)),L.length===1&&!N&&vr(Br)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function b(){}g.on=b;g.addListener=b;g.once=b;g.off=b;g.removeListener=b;g.removeAllListeners=b;g.emit=b;g.prependListener=b;g.prependOnceListener=b;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var x,d,Te,c=Nr(()=>{x=V(Fr()),d=V(Tr()),Te=function(t){function r(){var i=this||self;return delete t.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var de={};_r(de,{decodeByMethod:()=>me});module.exports=Pr(de);c();var br=require("@multiversx/sdk-core/out"),tr=V(require("bignumber.js"));c();c();var Ir=require("@multiversx/sdk-core");function we(t){try{let r=new Ir.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Ur(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&we(t)}c();c();c();c();function er(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}c();c();var Lr=t=>/\d/.test(t);var me=(t,r,e)=>{try{switch(r){case"text":return Lr(t)?x.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new tr.default(t,16).toString(10);case"smart":let n=br.Address.fromHex(t).toString();if(Ur(n))return n;let o=x.Buffer.from(t,"hex").toString("utf8");return er(o)||e&&[...e.esdts,...e.nfts].some(s=>o.includes(s))?o:new tr.default(t,16).toString(10);case"raw":default:return t}}catch(i){return console.error(`Error during data decoding of "${t}" as "${r}"`,i),t}};0&&(module.exports={decodeByMethod});
|
|
1
|
+
"use strict";var Ar=Object.create;var _=Object.defineProperty;var Rr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Dr=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty;var Nr=(t,r)=>()=>(t&&(r=t(t=0)),r);var P=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),_r=(t,r)=>{for(var e in r)_(t,e,{get:r[e],enumerable:!0})},ir=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Cr(r))!Mr.call(t,n)&&n!==e&&_(t,n,{get:()=>r[n],enumerable:!(i=Rr(r,n))||i.enumerable});return t};var V=(t,r,e)=>(e=t!=null?Ar(Dr(t)):{},ir(r||!t||!t.__esModule?_(e,"default",{value:t,enumerable:!0}):e,t)),Pr=t=>ir(_({},"__esModule",{value:!0}),t);var ur=P(q=>{"use strict";c();q.byteLength=Hr;q.toByteArray=Yr;q.fromByteArray=Qr;var k=[],F=[],qr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(S=0,nr=z.length;S<nr;++S)k[S]=z[S],F[z.charCodeAt(S)]=S;var S,nr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function or(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 i=e===r?0:4-e%4;return[e,i]}function Hr(t){var r=or(t),e=r[0],i=r[1];return(e+i)*3/4-i}function Wr(t,r,e){return(r+e)*3/4-e}function Yr(t){var r,e=or(t),i=e[0],n=e[1],o=new qr(Wr(t,i,n)),u=0,f=n>0?i-4:i,s;for(s=0;s<f;s+=4)r=F[t.charCodeAt(s)]<<18|F[t.charCodeAt(s+1)]<<12|F[t.charCodeAt(s+2)]<<6|F[t.charCodeAt(s+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=F[t.charCodeAt(s)]<<2|F[t.charCodeAt(s+1)]>>4,o[u++]=r&255),n===1&&(r=F[t.charCodeAt(s)]<<10|F[t.charCodeAt(s+1)]<<4|F[t.charCodeAt(s+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Vr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function zr(t,r,e){for(var i,n=[],o=r;o<e;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),n.push(Vr(i));return n.join("")}function Qr(t){for(var r,e=t.length,i=e%3,n=[],o=16383,u=0,f=e-i;u<f;u+=o)n.push(zr(t,u,u+o>f?f:u+o));return i===1?(r=t[e-1],n.push(k[r>>2]+k[r<<4&63]+"==")):i===2&&(r=(t[e-2]<<8)+t[e-1],n.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),n.join("")}});var ar=P(Q=>{c();Q.read=function(t,r,e,i,n){var o,u,f=n*8-i-1,s=(1<<f)-1,h=s>>1,l=-7,p=e?n-1:0,B=e?-1:1,m=t[r+p];for(p+=B,o=m&(1<<-l)-1,m>>=-l,l+=f;l>0;o=o*256+t[r+p],p+=B,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+t[r+p],p+=B,l-=8);if(o===0)o=1-h;else{if(o===s)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-h}return(m?-1:1)*u*Math.pow(2,o-i)};Q.write=function(t,r,e,i,n,o){var u,f,s,h=o*8-n-1,l=(1<<h)-1,p=l>>1,B=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,C=i?1:-1,Sr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),u+p>=1?r+=B/s:r+=B*Math.pow(2,1-p),r*s>=2&&(u++,s/=2),u+p>=l?(f=0,u=l):u+p>=1?(f=(r*s-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;t[e+m]=f&255,m+=C,f/=256,n-=8);for(u=u<<n|f,h+=n;h>0;t[e+m]=u&255,m+=C,u/=256,h-=8);t[e+m-C]|=Sr*128}});var Fr=P(M=>{"use strict";c();var X=ur(),D=ar(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=a;M.SlowBuffer=Zr;M.INSPECT_MAX_BYTES=50;var H=2147483647;M.kMaxLength=H;a.TYPED_ARRAY_SUPPORT=Xr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Xr(){try{var 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(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(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 K(t)}return hr(t,r,e)}a.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return $r(t,r);if(ArrayBuffer.isView(t))return Jr(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(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return $(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return a.from(i,r,e);var n=Kr(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.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)}a.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function lr(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 Gr(t,r,e){return lr(t),t<=0?U(t):r!==void 0?typeof e=="string"?U(t).fill(r,e):U(t).fill(r):U(t)}a.alloc=function(t,r,e){return Gr(t,r,e)};function K(t){return lr(t),U(t<0?0:Z(t)|0)}a.allocUnsafe=function(t){return K(t)};a.allocUnsafeSlow=function(t){return K(t)};function $r(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=cr(t,r)|0,i=U(e),n=i.write(t,r);return n!==e&&(i=i.slice(0,n)),i}function G(t){for(var r=t.length<0?0:Z(t.length)|0,e=U(r),i=0;i<r;i+=1)e[i]=t[i]&255;return e}function Jr(t){if(E(t,Uint8Array)){var r=new Uint8Array(t);return $(r.buffer,r.byteOffset,r.byteLength)}return G(t)}function $(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 i;return r===void 0&&e===void 0?i=new Uint8Array(t):e===void 0?i=new Uint8Array(t,r):i=new Uint8Array(t,r,e),Object.setPrototypeOf(i,a.prototype),i}function Kr(t){if(a.isBuffer(t)){var r=Z(t.length)|0,e=U(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||j(t.length)?U(0):G(t);if(t.type==="Buffer"&&Array.isArray(t.data))return G(t.data)}function Z(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function Zr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(E(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),E(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var i=r.length,n=e.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==e[o]){i=r[o],n=e[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(e===void 0)for(e=0,i=0;i<r.length;++i)e+=r[i].length;var n=a.allocUnsafe(e),o=0;for(i=0;i<r.length;++i){var u=r[i];if(E(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(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,i=arguments.length>2&&arguments[2]===!0;if(!i&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return dr(t).length;default:if(n)return i?-1:J(t).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function jr(t,r,e){var i=!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 se(this,r,e);case"utf8":case"utf-8":return yr(this,r,e);case"ascii":return ue(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return ne(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,r,e);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function A(t,r,e){var i=t[r];t[r]=t[e],t[e]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)A(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)A(this,e,e+3),A(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)A(this,e,e+7),A(this,e+1,e+6),A(this,e+2,e+5),A(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=M.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(a.prototype[sr]=a.prototype.inspect);a.prototype.compare=function(r,e,i,n,o){if(E(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),e<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=i)return 0;if(n>=o)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,f=i-e,s=Math.min(u,f),h=this.slice(n,o),l=r.slice(e,i),p=0;p<s;++p)if(h[p]!==l[p]){u=h[p],f=l[p];break}return u<f?-1:f<u?1:0};function gr(t,r,e,i,n){if(t.length===0)return-1;if(typeof e=="string"?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,j(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:fr(t,r,e,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,i,n);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,i,n){var o=1,u=t.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function s(m,C){return o===1?m[C]:m.readUInt16BE(C*o)}var h;if(n){var l=-1;for(h=e;h<u;h++)if(s(t,h)===s(r,l===-1?0:h-l)){if(l===-1&&(l=h),h-l+1===f)return l*o}else l!==-1&&(h-=h-l),l=-1}else for(e+f>u&&(e=u-f),h=e;h>=0;h--){for(var p=!0,B=0;B<f;B++)if(s(t,h+B)!==s(r,B)){p=!1;break}if(p)return h}return-1}a.prototype.includes=function(r,e,i){return this.indexOf(r,e,i)!==-1};a.prototype.indexOf=function(r,e,i){return gr(this,r,e,i,!0)};a.prototype.lastIndexOf=function(r,e,i){return gr(this,r,e,i,!1)};function Or(t,r,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(j(f))return u;t[e+u]=f}return u}function re(t,r,e,i){return W(J(r,t.length-e),t,e,i)}function ee(t,r,e,i){return W(le(r),t,e,i)}function te(t,r,e,i){return W(dr(r),t,e,i)}function ie(t,r,e,i){return W(ce(r,t.length-e),t,e,i)}a.prototype.write=function(r,e,i,n){if(e===void 0)n="utf8",i=this.length,e=0;else if(i===void 0&&typeof e=="string")n=e,i=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Or(this,r,e,i);case"utf8":case"utf-8":return re(this,r,e,i);case"ascii":case"latin1":case"binary":return ee(this,r,e,i);case"base64":return te(this,r,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ne(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function yr(t,r,e){e=Math.min(t.length,e);for(var i=[],n=r;n<e;){var o=t[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=e){var s,h,l,p;switch(f){case 1:o<128&&(u=o);break;case 2:s=t[n+1],(s&192)===128&&(p=(o&31)<<6|s&63,p>127&&(u=p));break;case 3:s=t[n+1],h=t[n+2],(s&192)===128&&(h&192)===128&&(p=(o&15)<<12|(s&63)<<6|h&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:s=t[n+1],h=t[n+2],l=t[n+3],(s&192)===128&&(h&192)===128&&(l&192)===128&&(p=(o&15)<<18|(s&63)<<12|(h&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return oe(i)}var pr=4096;function oe(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",i=0;i<r;)e+=String.fromCharCode.apply(String,t.slice(i,i+=pr));return e}function ue(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]&127);return i}function ae(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]);return i}function se(t,r,e){var i=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>i)&&(e=i);for(var n="",o=r;o<e;++o)n+=ge[t[o]];return n}function fe(t,r,e){for(var i=t.slice(r,e),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,e){var i=this.length;r=~~r,e=e===void 0?i:~~e,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,a.prototype),n};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=this[r+--e],o=1;e>0&&(o*=256);)n+=this[r+--e]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n};a.prototype.readIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||y(r,e,this.length);for(var n=e,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,i,n,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(e+i>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=1,f=0;for(this[e]=r&255;++f<i&&(u*=256);)this[e+f]=r/u&255;return e+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=i-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||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};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||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};a.prototype.writeIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=0,f=1,s=0;for(this[e]=r&255;++u<i&&(f*=256);)r<0&&s===0&&this[e+u-1]!==0&&(s=1),this[e+u]=(r/f>>0)-s&255;return e+i};a.prototype.writeIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=i-1,f=1,s=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&s===0&&this[e+u+1]!==0&&(s=1),this[e+u]=(r/f>>0)-s&255;return e+i};a.prototype.writeInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||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};a.prototype.writeInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||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 xr(t,r,e,i,n,o){if(e+i>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,i,23,4),e+4}a.prototype.writeFloatLE=function(r,e,i){return wr(this,r,e,!0,i)};a.prototype.writeFloatBE=function(r,e,i){return wr(this,r,e,!1,i)};function mr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,i,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,i){return mr(this,r,e,!0,i)};a.prototype.writeDoubleBE=function(r,e,i){return mr(this,r,e,!1,i)};a.prototype.copy=function(r,e,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-i&&(n=r.length-e+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),e),o};a.prototype.fill=function(r,e,i,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e=e>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<i;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,n),s=f.length;if(s===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-e;++u)this[u+e]=f[u%s]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function he(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,i=t.length,n=null,o=[],u=0;u<i;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=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 le(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ce(t,r){for(var e,i,n,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),i=e>>8,n=e%256,o.push(n),o.push(i);return o}function dr(t){return X.toByteArray(he(t))}function W(t,r,e,i){for(var n=0;n<i&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function E(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function j(t){return t!==t}var ge=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var i=e*16,n=0;n<16;++n)r[i+n]=t[e]+t[n];return r}()});var Tr=P((Ee,Er)=>{c();var g=Er.exports={},T,I;function O(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?T=setTimeout:T=O}catch(t){T=O}try{typeof clearTimeout=="function"?I=clearTimeout:I=rr}catch(t){I=rr}})();function vr(t){if(T===setTimeout)return setTimeout(t,0);if((T===O||!T)&&setTimeout)return T=setTimeout,setTimeout(t,0);try{return T(t,0)}catch(r){try{return T.call(null,t,0)}catch(e){return T.call(this,t,0)}}}function ye(t){if(I===clearTimeout)return clearTimeout(t);if((I===rr||!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 L=[],N=!1,R,Y=-1;function xe(){!N||!R||(N=!1,R.length?L=R.concat(L):Y=-1,L.length&&Br())}function Br(){if(!N){var t=vr(xe);N=!0;for(var r=L.length;r;){for(R=L,L=[];++Y<r;)R&&R[Y].run();Y=-1,r=L.length}R=null,N=!1,ye(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];L.push(new kr(t,r)),L.length===1&&!N&&vr(Br)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function b(){}g.on=b;g.addListener=b;g.once=b;g.off=b;g.removeListener=b;g.removeAllListeners=b;g.emit=b;g.prependListener=b;g.prependOnceListener=b;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var x,d,Te,c=Nr(()=>{x=V(Fr()),d=V(Tr()),Te=function(t){function r(){var i=this||self;return delete t.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var de={};_r(de,{decodeByMethod:()=>me});module.exports=Pr(de);c();var br=require("@multiversx/sdk-core/out"),tr=V(require("bignumber.js"));c();c();var Ir=require("@multiversx/sdk-core");function we(t){try{let r=new Ir.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Ur(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&we(t)}c();c();c();c();function er(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}c();c();var Lr=t=>/\d/.test(t);var me=(t,r,e)=>{try{switch(r){case"text":return Lr(t)?x.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new tr.default(t,16).toString(10);case"smart":let n=br.Address.fromHex(t).toString();if(Ur(n))return n;let o=x.Buffer.from(t,"hex").toString("utf8");return er(o)||e&&[...e.esdts,...e.nfts].some(s=>o.includes(s))?o:new tr.default(t,16).toString(10);case"raw":default:return t}}catch(i){return console.error(`Error during data decoding of "${t}" as "${r}"`,i),t}};0&&(module.exports={decodeByMethod});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -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";p();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],o=new Jr(jr(t,n,i)),a=0,u=i>0?n-4:n,c;for(c=0;c<u;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 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=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(re(t,a,a+o>u?u: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 gr=G($=>{p();$.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,c=(1<<u)-1,f=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+=u;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-f;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,u,c,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-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?(u=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?(u=0,a=g):a+l>=1?(u=(r*c-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=u&255,T+=U,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+T]=a&255,T+=U,a/=256,f-=8);t[e+T-U]|=Hr*128}});var Sr=G(L=>{"use strict";p();var J=fr(),_=gr(),dr=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,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 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 de(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+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,c=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(f[l]!==g[l]){a=f[l],u=g[l];break}return a<u?-1:u<a?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 o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function c(T,U){return o===1?T[U]:T.readUInt16BE(U*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(c(t,f)===c(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var l=!0,b=0;b<u;b++)if(c(t,f+b)!==c(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 o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(er(u))return a;t[e+a]=u}return a}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 ge(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 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 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 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 de(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 o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var c,f,g,l;switch(u){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],f=t[i+2],(c&192)===128&&(f&192)===128&&(l=(o&15)<<12|(c&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],f=t[i+2],g=t[i+3],(c&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return 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="",o=r;o<e;++o)i+=ke[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),_.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,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,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||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,u=1,c=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/u>>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,u=1,c=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/u>>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 br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||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 o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.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]=u[a%c]}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,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 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,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 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((Me,Dr)=>{p();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 R=[],P=!1,E,Y=-1;function Se(){!P||!E||(P=!1,E.length?R=E.concat(R):Y=-1,R.length&&Rr())}function Rr(){if(!P){var t=Br(Se);P=!0;for(var r=R.length;r;){for(E=R,R=[];++Y<r;)E&&E[Y].run();Y=-1,r=R.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];R.push(new Ar(t,r)),R.length===1&&!P&&Br(Rr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;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 d,h,We,p=zr(()=>{d=z(Sr()),h=z(Cr()),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={};Xr(Ue,{getDisplayValueAndValidationWarnings:()=>Ee});module.exports=$r(Ue);p();p();p();p();p();p();p();var Be=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),N=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Oe=H(H({},N.WindowProviderRequestEnums),Er),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Ye=H(H({},N.WindowProviderResponseEnums),Ur);p();p();p();p();p();p();p();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));p();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.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Re(t)}p();p();p();p();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}p();p();var Pr=t=>/\d/.test(t);var M=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new or.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Lr(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return ir(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new or.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};p();var De=t=>t.toLowerCase().match(/[0-9a-f]/g),Ce=t=>t.length%2===0,Mr=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};p();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=d.Buffer.from(String(t[1]),"base64");n[1]=M(i.toString("hex"),"decimal")}return n};var Ee=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?M(o,r):o;{let u=Mr(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),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";p();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],o=new Jr(jr(t,n,i)),a=0,u=i>0?n-4:n,c;for(c=0;c<u;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 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=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(re(t,a,a+o>u?u: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 gr=G($=>{p();$.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,c=(1<<u)-1,f=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+=u;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-f;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,u,c,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-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?(u=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?(u=0,a=g):a+l>=1?(u=(r*c-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=u&255,T+=U,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+T]=a&255,T+=U,a/=256,f-=8);t[e+T-U]|=Hr*128}});var Sr=G(L=>{"use strict";p();var J=fr(),_=gr(),dr=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,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 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 de(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+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,c=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(f[l]!==g[l]){a=f[l],u=g[l];break}return a<u?-1:u<a?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 o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function c(T,U){return o===1?T[U]:T.readUInt16BE(U*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(c(t,f)===c(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var l=!0,b=0;b<u;b++)if(c(t,f+b)!==c(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 o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(er(u))return a;t[e+a]=u}return a}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 ge(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 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 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 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 de(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 o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var c,f,g,l;switch(u){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],f=t[i+2],(c&192)===128&&(f&192)===128&&(l=(o&15)<<12|(c&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],f=t[i+2],g=t[i+3],(c&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return 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="",o=r;o<e;++o)i+=ke[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),_.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,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,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||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,u=1,c=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/u>>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,u=1,c=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/u>>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 br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||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 o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.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]=u[a%c]}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,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 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,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 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((Me,Dr)=>{p();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 d,h,We,p=zr(()=>{d=z(Sr()),h=z(Cr()),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={};Xr(Ue,{getDisplayValueAndValidationWarnings:()=>Ee});module.exports=$r(Ue);p();p();p();p();p();p();p();var Be=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),N=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Oe=H(H({},N.WindowProviderRequestEnums),Er),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Ye=H(H({},N.WindowProviderResponseEnums),Ur);p();p();p();p();p();p();p();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));p();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)}p();p();p();p();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}p();p();var Pr=t=>/\d/.test(t);var M=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new or.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Lr(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return ir(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new or.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};p();var De=t=>t.toLowerCase().match(/[0-9a-f]/g),Ce=t=>t.length%2===0,Mr=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};p();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=d.Buffer.from(String(t[1]),"base64");n[1]=M(i.toString("hex"),"decimal")}return n};var Ee=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?M(o,r):o;{let u=Mr(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),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
|
*
|