@multiversx/sdk-dapp 3.0.11 → 3.0.12
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/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/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/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/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-M7PXVQHW.js → chunk-23TR72AJ.js} +2 -2
- package/__chunks__/{chunk-6RHOCIBH.js → chunk-25ZL6S3E.js} +2 -2
- package/__chunks__/{chunk-CQ7KR24Z.js → chunk-2P5FEA6B.js} +2 -2
- package/__chunks__/{chunk-Q33CK6VK.js → chunk-2TLKLXT5.js} +2 -2
- package/__chunks__/{chunk-CYGAXSI7.js → chunk-2VLEWHUD.js} +2 -2
- package/__chunks__/{chunk-CAYP77EJ.js → chunk-2WQV5U7A.js} +2 -2
- package/__chunks__/{chunk-OGBDZWVY.js → chunk-2X4XG6VV.js} +2 -2
- package/__chunks__/{chunk-R367SL3O.js → chunk-37MLJ3F2.js} +2 -2
- package/__chunks__/{chunk-RCJOAPSJ.js → chunk-3CWG3L5H.js} +2 -2
- package/__chunks__/{chunk-AVX3AQ3N.js → chunk-3QD22IJC.js} +2 -2
- package/__chunks__/{chunk-IJZFZDM6.js → chunk-3QPR2OKH.js} +2 -2
- package/__chunks__/{chunk-MH26UPTH.js → chunk-3URNFJXC.js} +2 -2
- package/__chunks__/{chunk-IKQBLGWE.js → chunk-3WKVDHOJ.js} +2 -2
- package/__chunks__/{chunk-NU5YMIPG.js → chunk-3XWE23KN.js} +2 -2
- package/__chunks__/{chunk-GR2NJOJO.js → chunk-47HU22VO.js} +2 -2
- package/__chunks__/{chunk-6Q7LH6TJ.js → chunk-4CCWWYHM.js} +2 -2
- package/__chunks__/{chunk-MKAVPIDK.js → chunk-4HJZSGDV.js} +2 -2
- package/__chunks__/{chunk-WZZN5TQS.js → chunk-4HR4TSRR.js} +2 -2
- package/__chunks__/{chunk-755FPXUR.js → chunk-4HW5KHXC.js} +2 -2
- package/__chunks__/{chunk-IG64EYIP.js → chunk-4JGFPQQV.js} +2 -2
- package/__chunks__/{chunk-PHSIO5JD.js → chunk-4R275DSZ.js} +2 -2
- package/__chunks__/{chunk-AWIIFIGE.js → chunk-4RSXWZQI.js} +2 -2
- package/__chunks__/chunk-4SH2VEBP.js +2 -0
- package/__chunks__/{chunk-CRKFA322.js → chunk-4WW2VP3I.js} +2 -2
- package/__chunks__/{chunk-I5OU3T4Z.js → chunk-4XDE6ZMX.js} +2 -2
- package/__chunks__/{chunk-K76ZDYMR.js → chunk-4XDSHENP.js} +2 -2
- package/__chunks__/{chunk-VCXU4BEF.js → chunk-4XEZC76H.js} +2 -2
- package/__chunks__/{chunk-FC5QJEM6.js → chunk-5EE3NC65.js} +2 -2
- package/__chunks__/{chunk-OJJJEDC4.js → chunk-5K2Z2EOE.js} +2 -2
- package/__chunks__/{chunk-LF4A4RDD.js → chunk-5LNGLCJE.js} +2 -2
- package/__chunks__/{chunk-NZHCPUVP.js → chunk-5OWK4AEM.js} +2 -2
- package/__chunks__/{chunk-UROYWMSW.js → chunk-65RY5GUG.js} +2 -2
- package/__chunks__/{chunk-QRV3MPEI.js → chunk-67PLGQCS.js} +2 -2
- package/__chunks__/{chunk-SHVHMC4R.js → chunk-6DE5KDG7.js} +2 -2
- package/__chunks__/{chunk-CWZNQT7N.js → chunk-6IU3GZPK.js} +2 -2
- package/__chunks__/{chunk-MAYLTC27.js → chunk-6KWPAOPC.js} +2 -2
- package/__chunks__/chunk-6QWLOWYF.js +2 -0
- package/__chunks__/{chunk-3TQPQIDY.js → chunk-6S2TSF4K.js} +2 -2
- package/__chunks__/{chunk-YSJ5ZJGW.js → chunk-6SZ6AD7Z.js} +2 -2
- package/__chunks__/{chunk-2BO3H3A4.js → chunk-6TS5SMXS.js} +2 -2
- package/__chunks__/{chunk-FV72L4PT.js → chunk-6TWABVV2.js} +2 -2
- package/__chunks__/{chunk-FZJUXFID.js → chunk-7AWVWBKU.js} +2 -2
- package/__chunks__/{chunk-Q2WWJ6BA.js → chunk-7EWVUYJE.js} +2 -2
- package/__chunks__/{chunk-ZH2LQEMA.js → chunk-7NCEIDLQ.js} +2 -2
- package/__chunks__/{chunk-KNZFMGKO.js → chunk-7RJ7DFFY.js} +2 -2
- package/__chunks__/{chunk-NRBWXMDE.js → chunk-7WJU5VA4.js} +2 -2
- package/__chunks__/chunk-A36SZE4E.js +2 -0
- package/__chunks__/{chunk-BZRFIYVY.js → chunk-A3AV6F32.js} +2 -2
- package/__chunks__/{chunk-JQROPBOH.js → chunk-AIPPMSAN.js} +2 -2
- package/__chunks__/chunk-AMFDMMLL.js +2 -0
- package/__chunks__/{chunk-L6WDI3BS.js → chunk-AMNKDXXK.js} +2 -2
- package/__chunks__/{chunk-TGBIY22B.js → chunk-ATAPXNJL.js} +2 -2
- package/__chunks__/{chunk-KW5XEOIE.js → chunk-AXZCKYDZ.js} +2 -2
- package/__chunks__/{chunk-U4DOT2KY.js → chunk-B4LTWFE5.js} +2 -2
- package/__chunks__/{chunk-SZRJGC5B.js → chunk-BADXFZOX.js} +2 -2
- package/__chunks__/{chunk-32MXVQMR.js → chunk-BCJFU72L.js} +2 -2
- package/__chunks__/{chunk-N4F57VT3.js → chunk-BK7MNMUF.js} +2 -2
- package/__chunks__/{chunk-536MTT34.js → chunk-BMDPAAOV.js} +2 -2
- package/__chunks__/{chunk-VJOVB2LG.js → chunk-BPTDVYWL.js} +2 -2
- package/__chunks__/chunk-BSHZKJUJ.js +2 -0
- package/__chunks__/{chunk-JEWD45ZA.js → chunk-CB2E7VT4.js} +2 -2
- package/__chunks__/{chunk-PESD6A3E.js → chunk-CB4DNPAB.js} +2 -2
- package/__chunks__/{chunk-UZQIN5ED.js → chunk-CBOFCWMH.js} +2 -2
- package/__chunks__/{chunk-UPRM463D.js → chunk-CCIQZSMZ.js} +2 -2
- package/__chunks__/{chunk-L5RMHDD6.js → chunk-CJE3QMMX.js} +2 -2
- package/__chunks__/{chunk-BEP2X3CM.js → chunk-COYJTB6O.js} +2 -2
- package/__chunks__/{chunk-LXV2X3KY.js → chunk-CRY6BCHL.js} +2 -2
- package/__chunks__/{chunk-QC2BD4G7.js → chunk-CV6HO7PG.js} +2 -2
- package/__chunks__/chunk-DADEVIML.js +2 -0
- package/__chunks__/{chunk-57M7EVQS.js → chunk-DAVJOBSG.js} +2 -2
- package/__chunks__/{chunk-CQWTFZYI.js → chunk-DE7RITWC.js} +2 -2
- package/__chunks__/{chunk-TKZDFGIW.js → chunk-DNT4LNZ3.js} +2 -2
- package/__chunks__/{chunk-7U756T66.js → chunk-DRXG5VOV.js} +2 -2
- package/__chunks__/{chunk-34OAFTNK.js → chunk-E4Y7ZD2R.js} +2 -2
- package/__chunks__/chunk-ECFOGIJA.js +2 -0
- package/__chunks__/{chunk-QQUANNU2.js → chunk-ECINGN6R.js} +2 -2
- package/__chunks__/{chunk-5H7SLGE7.js → chunk-EEIAGHXT.js} +2 -2
- package/__chunks__/{chunk-XQ7P6XTS.js → chunk-ELW3QOST.js} +2 -2
- package/__chunks__/{chunk-Q46WA2IT.js → chunk-EQJJAVIM.js} +2 -2
- package/__chunks__/{chunk-2FCMHZJ3.js → chunk-F3BS7OKJ.js} +2 -2
- package/__chunks__/chunk-F6I27UY2.js +2 -0
- package/__chunks__/{chunk-3YNPS2RL.js → chunk-FEHNT2PV.js} +2 -2
- package/__chunks__/{chunk-JUD3SVIC.js → chunk-FFV746HP.js} +2 -2
- package/__chunks__/{chunk-MQEP3TR3.js → chunk-FJG565EX.js} +2 -2
- package/__chunks__/{chunk-UKPODV2T.js → chunk-FKNCSOEA.js} +2 -2
- package/__chunks__/{chunk-DUGJVY2A.js → chunk-FM6N2Y7M.js} +2 -2
- package/__chunks__/{chunk-32II2CJ3.js → chunk-FMNZ6RPB.js} +2 -2
- package/__chunks__/chunk-FOO4B2QA.js +2 -0
- package/__chunks__/{chunk-MVWF2BZ5.js → chunk-FSJE4CGU.js} +2 -2
- package/__chunks__/{chunk-UJA2T5DU.js → chunk-G2CXRZ4R.js} +2 -2
- package/__chunks__/{chunk-OKK66CYS.js → chunk-G4AIUC5A.js} +2 -2
- package/__chunks__/{chunk-SIB2TGMI.js → chunk-GCASIIXX.js} +2 -2
- package/__chunks__/{chunk-TCQZWMOZ.js → chunk-GEKU6VKO.js} +2 -2
- package/__chunks__/{chunk-E7KRGOJM.js → chunk-GFSCRQ3Z.js} +2 -2
- package/__chunks__/{chunk-VIXRYO5M.js → chunk-GKC62JCZ.js} +2 -2
- package/__chunks__/{chunk-6W5MKTNI.js → chunk-GQJKENCD.js} +2 -2
- package/__chunks__/{chunk-PB7I7YVW.js → chunk-H2DHZDKF.js} +2 -2
- package/__chunks__/{chunk-5ASLZSTQ.js → chunk-HAIS7EZF.js} +2 -2
- package/__chunks__/chunk-HAY5YI54.js +2 -0
- package/__chunks__/{chunk-NPJXLKC2.js → chunk-HH7LDERC.js} +2 -2
- package/__chunks__/{chunk-X3HQCV4B.js → chunk-HOM36NQU.js} +2 -2
- package/__chunks__/{chunk-77MMEHX6.js → chunk-I27X233U.js} +2 -2
- package/__chunks__/{chunk-EUU5TQ4S.js → chunk-I52TQTNR.js} +2 -2
- package/__chunks__/chunk-IDLUXNC3.js +2 -0
- package/__chunks__/{chunk-ZHC263TM.js → chunk-IF2FPKDL.js} +2 -2
- package/__chunks__/{chunk-QZ4ARQUD.js → chunk-IPCYSM2M.js} +2 -2
- package/__chunks__/{chunk-YANJPRTD.js → chunk-IRAI5BU5.js} +2 -2
- package/__chunks__/{chunk-2STCTDXA.js → chunk-ITZANLLL.js} +2 -2
- package/__chunks__/{chunk-EAZEEFIE.js → chunk-J2GZDYXS.js} +2 -2
- package/__chunks__/{chunk-H3ORRJ7K.js → chunk-J56GJVS3.js} +2 -2
- package/__chunks__/{chunk-YEKRLOIG.js → chunk-J62D43YU.js} +2 -2
- package/__chunks__/{chunk-RUNXYX45.js → chunk-JDOIBE2Y.js} +2 -2
- package/__chunks__/{chunk-73RDDHL6.js → chunk-JHHPND52.js} +2 -2
- package/__chunks__/{chunk-LBZUJ63X.js → chunk-JHQY6DVU.js} +2 -2
- package/__chunks__/{chunk-5KNGGIXI.js → chunk-JI6HLHH7.js} +2 -2
- package/__chunks__/chunk-JKNPWJCY.js +2 -0
- package/__chunks__/{chunk-UHFLI5XY.js → chunk-JNM6MKSD.js} +2 -2
- package/__chunks__/{chunk-5GYK6NRP.js → chunk-JNSOCUW4.js} +2 -2
- package/__chunks__/{chunk-F64VH6ES.js → chunk-JOHMTVJB.js} +2 -2
- package/__chunks__/{chunk-USRLEA4J.js → chunk-JWYGXM3K.js} +2 -2
- package/__chunks__/{chunk-IKGXRBQW.js → chunk-K5UTRQHL.js} +2 -2
- package/__chunks__/{chunk-WUIMD22M.js → chunk-K6EOSUX7.js} +2 -2
- package/__chunks__/{chunk-WQHYCXCM.js → chunk-KEK2OHJC.js} +2 -2
- package/__chunks__/{chunk-YAWPRUT3.js → chunk-KI2QBUCP.js} +2 -2
- package/__chunks__/chunk-KLAWE6UG.js +2 -0
- package/__chunks__/{chunk-HBBB7SVI.js → chunk-KMIVNF2B.js} +2 -2
- package/__chunks__/{chunk-Z5HI6RLG.js → chunk-KSYGEPZV.js} +2 -2
- package/__chunks__/{chunk-7DAGL6IJ.js → chunk-KYKTCGWW.js} +2 -2
- package/__chunks__/{chunk-CQFRQI7T.js → chunk-L7ZFQGXT.js} +2 -2
- package/__chunks__/{chunk-BYULLKGO.js → chunk-LH36N654.js} +2 -2
- package/__chunks__/{chunk-BUSPFVTE.js → chunk-LH5BLEM7.js} +2 -2
- package/__chunks__/{chunk-7CFCVJNF.js → chunk-LJZTD3TK.js} +2 -2
- package/__chunks__/{chunk-VU5NHCBQ.js → chunk-LNMZUYLT.js} +2 -2
- package/__chunks__/{chunk-NOR5RGAS.js → chunk-MFZECOGD.js} +2 -2
- package/__chunks__/{chunk-T4GNVC3N.js → chunk-MLMXP4XO.js} +2 -2
- package/__chunks__/{chunk-PLI4KU46.js → chunk-MMZW67QD.js} +2 -2
- package/__chunks__/{chunk-DC3BDQXT.js → chunk-MRY6WEJW.js} +2 -2
- package/__chunks__/{chunk-DCXUDHTZ.js → chunk-MY45YBVN.js} +2 -2
- package/__chunks__/{chunk-C2XF7W4Y.js → chunk-MYVGJ4KJ.js} +2 -2
- package/__chunks__/{chunk-6S4V7EUO.js → chunk-N2PAKXGN.js} +2 -2
- package/__chunks__/{chunk-GRXKAZ77.js → chunk-N337QEJ3.js} +2 -2
- package/__chunks__/{chunk-OLVSBW6Z.js → chunk-N3RD47CA.js} +2 -2
- package/__chunks__/{chunk-L36LK4D5.js → chunk-NHVXKWOR.js} +2 -2
- package/__chunks__/chunk-NKP5YPI4.js +2 -0
- package/__chunks__/{chunk-RNO4FHDF.js → chunk-NLVIHRY3.js} +2 -2
- package/__chunks__/{chunk-KV7Y3I64.js → chunk-NQJLEG2A.js} +2 -2
- package/__chunks__/{chunk-5663VCTX.js → chunk-NVWTW73U.js} +2 -2
- package/__chunks__/{chunk-F7YICR25.js → chunk-O2AUY4K6.js} +2 -2
- package/__chunks__/{chunk-LOMT2QXR.js → chunk-OEQKQBHV.js} +2 -2
- package/__chunks__/{chunk-QGZBICGM.js → chunk-OGDZBKNA.js} +2 -2
- package/__chunks__/chunk-OPRIP3CY.js +2 -0
- package/__chunks__/{chunk-BLY3ZBLN.js → chunk-OSBBSAK3.js} +2 -2
- package/__chunks__/{chunk-VGFKGBAM.js → chunk-OUSEC5GA.js} +2 -2
- package/__chunks__/chunk-PBIRD6SC.js +2 -0
- package/__chunks__/{chunk-CEVQE35T.js → chunk-PCTOOYEV.js} +2 -2
- package/__chunks__/{chunk-KFKCISF3.js → chunk-PPZL5AFE.js} +2 -2
- package/__chunks__/chunk-Q2LMDOK4.js +2 -0
- package/__chunks__/{chunk-RRN4UCCY.js → chunk-Q2YJHIDN.js} +2 -2
- package/__chunks__/{chunk-A744KMHC.js → chunk-Q6T3AH3K.js} +2 -2
- package/__chunks__/{chunk-MVHLZVMY.js → chunk-QMI3KSPB.js} +2 -2
- package/__chunks__/{chunk-F25TNGFW.js → chunk-QOKG7MQI.js} +2 -2
- package/__chunks__/{chunk-77KYOKKC.js → chunk-QORKTLT2.js} +2 -2
- package/__chunks__/{chunk-ZGO45QH6.js → chunk-QRBB2SM7.js} +2 -2
- package/__chunks__/{chunk-MRG43J3U.js → chunk-R3BBSWOV.js} +2 -2
- package/__chunks__/{chunk-OW23M4HN.js → chunk-R3FNJSQI.js} +2 -2
- package/__chunks__/{chunk-O43OMFYE.js → chunk-R4RUPXI3.js} +2 -2
- package/__chunks__/{chunk-WPWPG5LF.js → chunk-R76RP7IU.js} +2 -2
- package/__chunks__/{chunk-HRPKFRNL.js → chunk-RF4DZS4N.js} +2 -2
- package/__chunks__/{chunk-XJTLGDZK.js → chunk-RMJTLH3A.js} +2 -2
- package/__chunks__/{chunk-QMLN642B.js → chunk-RNI2BJ2Q.js} +2 -2
- package/__chunks__/{chunk-BQJREYR5.js → chunk-RO4UCCUR.js} +2 -2
- package/__chunks__/{chunk-G42O2PHI.js → chunk-RXMWMFOW.js} +2 -2
- package/__chunks__/{chunk-CUGULQR2.js → chunk-RY3K34JD.js} +2 -2
- package/__chunks__/{chunk-IQTZT235.js → chunk-RY7UFZSG.js} +2 -2
- package/__chunks__/{chunk-C243OR2M.js → chunk-RYRGZD4J.js} +2 -2
- package/__chunks__/{chunk-KFYYHQW2.js → chunk-SBI53RRN.js} +2 -2
- package/__chunks__/chunk-SBQF4BUK.js +2 -0
- package/__chunks__/{chunk-4TSBOPCC.js → chunk-SEBRATCG.js} +2 -2
- package/__chunks__/{chunk-SGX2FP6L.js → chunk-SGKBOIU5.js} +2 -2
- package/__chunks__/{chunk-7T4RV2SE.js → chunk-SIQY55FF.js} +2 -2
- package/__chunks__/{chunk-XNDPJ4TZ.js → chunk-SNECMDCH.js} +2 -2
- package/__chunks__/{chunk-YOP6W6FX.js → chunk-SPPOJOPL.js} +2 -2
- package/__chunks__/{chunk-ODNMVA7S.js → chunk-SXJVXIUD.js} +2 -2
- package/__chunks__/{chunk-CRHAOWL6.js → chunk-SZ3ESUQN.js} +2 -2
- package/__chunks__/{chunk-SGXA35GW.js → chunk-T2AUFYE3.js} +2 -2
- package/__chunks__/{chunk-2LM6VL2U.js → chunk-T5CFM2QY.js} +2 -2
- package/__chunks__/{chunk-CJOYAXR6.js → chunk-T5FCSA7N.js} +2 -2
- package/__chunks__/{chunk-JNUYKPPB.js → chunk-T5RK5BUP.js} +2 -2
- package/__chunks__/{chunk-YITHAPWP.js → chunk-TAQG357E.js} +2 -2
- package/__chunks__/{chunk-CXTATLNL.js → chunk-TFW7LSRX.js} +2 -2
- package/__chunks__/{chunk-WD723L2N.js → chunk-THZRRHSZ.js} +2 -2
- package/__chunks__/{chunk-QNMYZ3RM.js → chunk-TJRVK3UU.js} +2 -2
- package/__chunks__/{chunk-77VYVSPJ.js → chunk-TRSGUUCI.js} +2 -2
- package/__chunks__/{chunk-QZCZSEKK.js → chunk-TVEOKFWE.js} +2 -2
- package/__chunks__/{chunk-NWE4YSDQ.js → chunk-TYCTG4C4.js} +2 -2
- package/__chunks__/{chunk-EHHOHCEP.js → chunk-U2PE7CQP.js} +2 -2
- package/__chunks__/{chunk-CSN6QIDU.js → chunk-U4KFTJTY.js} +2 -2
- package/__chunks__/{chunk-ZWFDVX75.js → chunk-U4RJ4K45.js} +2 -2
- package/__chunks__/{chunk-2CJT4K3M.js → chunk-U7MLV2BW.js} +2 -2
- package/__chunks__/{chunk-NJ7DXG4S.js → chunk-UC735YPR.js} +2 -2
- package/__chunks__/{chunk-DLX3CQR5.js → chunk-UN4MARV3.js} +2 -2
- package/__chunks__/{chunk-564NV6F7.js → chunk-UN4REUZC.js} +2 -2
- package/__chunks__/{chunk-TWUAOACP.js → chunk-UNPQWGON.js} +2 -2
- package/__chunks__/{chunk-VAKTLMS2.js → chunk-URYLYTGJ.js} +2 -2
- package/__chunks__/{chunk-Y667HOJ4.js → chunk-UTL7U5UI.js} +2 -2
- package/__chunks__/{chunk-JMAHQ2BL.js → chunk-V2MJ6MFL.js} +2 -2
- package/__chunks__/{chunk-LAQHUF5U.js → chunk-V4BNAT4J.js} +2 -2
- package/__chunks__/{chunk-HYMCGUQ6.js → chunk-VFCAMANS.js} +2 -2
- package/__chunks__/{chunk-ZDHIL7U6.js → chunk-W6STDO6M.js} +2 -2
- package/__chunks__/{chunk-2QDKJUEV.js → chunk-WCLIA6EF.js} +2 -2
- package/__chunks__/{chunk-ESGOJKAO.js → chunk-WCPIQW67.js} +2 -2
- package/__chunks__/chunk-WFXYMXKM.js +2 -0
- package/__chunks__/{chunk-EQMMGHTK.js → chunk-WKEFNTGY.js} +2 -2
- package/__chunks__/{chunk-7TVDOR7N.js → chunk-X4QYLOZQ.js} +2 -2
- package/__chunks__/{chunk-BRQ3LLIQ.js → chunk-XDFXGTHL.js} +2 -2
- package/__chunks__/{chunk-MKQWG7BY.js → chunk-XMWMUGXP.js} +2 -2
- package/__chunks__/{chunk-XL5J5E3M.js → chunk-XPKYHPLW.js} +2 -2
- package/__chunks__/{chunk-VZMFJ3L6.js → chunk-Y23GX6IE.js} +2 -2
- package/__chunks__/{chunk-3TICMVZV.js → chunk-Y7RTER64.js} +2 -2
- package/__chunks__/{chunk-A6PXX4VJ.js → chunk-Y7S4LXWV.js} +2 -2
- package/__chunks__/{chunk-I36KJHVJ.js → chunk-YAPGMSYD.js} +2 -2
- package/__chunks__/chunk-YJVO66GP.js +2 -0
- package/__chunks__/{chunk-PDAULZTU.js → chunk-YJVYJ7QJ.js} +2 -2
- package/__chunks__/{chunk-2EW3XTFM.js → chunk-YK65SDM7.js} +2 -2
- package/__chunks__/{chunk-LI4YULOB.js → chunk-YLBCIDEH.js} +2 -2
- package/__chunks__/{chunk-X4NFMYKP.js → chunk-YMLBMHXB.js} +2 -2
- package/__chunks__/{chunk-UY2G6BM4.js → chunk-YOMCAFFL.js} +2 -2
- package/__chunks__/{chunk-NIC5DFYV.js → chunk-ZA7GYSFY.js} +2 -2
- package/__chunks__/{chunk-HNBPEVML.js → chunk-ZD24EOR6.js} +2 -2
- package/__chunks__/{chunk-KMJQYWK7.js → chunk-ZFH7IDUP.js} +2 -2
- package/__chunks__/{chunk-AEXHDH54.js → chunk-ZGSGJ6OM.js} +2 -2
- package/__chunks__/{chunk-5IGYDXE4.js → chunk-ZL4XOJE2.js} +2 -2
- package/__chunks__/{chunk-MTOYWW2O.js → chunk-ZMGF5ZY7.js} +2 -2
- package/__chunks__/{chunk-QIE35VSD.js → chunk-ZMXNGHVW.js} +2 -2
- package/__chunks__/{chunk-Q2KRXQYU.js → chunk-ZRLPJ4QN.js} +2 -2
- package/__chunks__/{chunk-XKOKOYUP.js → chunk-ZYZ433JO.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +16 -16
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +16 -16
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +20 -20
- package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
- package/__commonjs/UI/TransactionDetails/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +16 -16
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +4 -4
- package/__commonjs/UI/index.js +65 -65
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
- package/__commonjs/UI/walletConnect/index.js +4 -4
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/__commonjs/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/__commonjs/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/__commonjs/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/__commonjs/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/__commonjs/components/ProviderInitializer/helpers/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useMetamaskLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/login/useXaliasLogin.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/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.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/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/utils.js +1 -1
- package/__commonjs/utils/account/getAccount.js +1 -1
- package/__commonjs/utils/account/getAccountBalance.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/index.js +4 -4
- package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/__commonjs/utils/validation/index.js +1 -1
- package/__commonjs/utils/validation/stringIsFloat.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/DappProvider.js +3 -3
- package/__commonjs/wrappers/DappProvider/index.js +3 -3
- 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/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 +1 -1
- 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/services/transactions/utils.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/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/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/index.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/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/stringIsFloat.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-4IENPX4H.js +0 -2
- package/__chunks__/chunk-5ABZIP67.js +0 -2
- package/__chunks__/chunk-BBXPKZZG.js +0 -2
- package/__chunks__/chunk-CKDNZSN6.js +0 -2
- package/__chunks__/chunk-DAU32KDC.js +0 -2
- package/__chunks__/chunk-IKH6YE2P.js +0 -2
- package/__chunks__/chunk-JIUK364I.js +0 -2
- package/__chunks__/chunk-KZY4LCNF.js +0 -2
- package/__chunks__/chunk-LCR5C4ZS.js +0 -2
- package/__chunks__/chunk-LI32F4IE.js +0 -2
- package/__chunks__/chunk-PBMVDTRI.js +0 -2
- package/__chunks__/chunk-PKFKI3LD.js +0 -2
- package/__chunks__/chunk-PQC5B6GG.js +0 -2
- package/__chunks__/chunk-QJZTCHB4.js +0 -2
- package/__chunks__/chunk-QSJIOSJN.js +0 -2
- package/__chunks__/chunk-SRVPLYUK.js +0 -2
- package/__chunks__/chunk-VMDD5SZJ.js +0 -2
- package/__chunks__/chunk-YC2H4IT7.js +0 -2
- package/__chunks__/chunk-YG7S2B67.js +0 -2
- package/__chunks__/chunk-YUHSF3WL.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var it=Object.create;var te=Object.defineProperty,ot=Object.defineProperties,at=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,lt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var Ve=(r,e,t)=>e in r?te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,U=(r,e)=>{for(var t in e||(e={}))$e.call(e,t)&&Ve(r,t,e[t]);if(We)for(var t of We(e))pt.call(e,t)&&Ve(r,t,e[t]);return r},ye=(r,e)=>ot(r,st(e));var ut=(r,e)=>()=>(r&&(e=r(r=0)),e);var se=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),dt=(r,e)=>{for(var t in e)te(r,t,{get:e[t],enumerable:!0})},He=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ct(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=at(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?it(lt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var ze=se(ce=>{"use strict";o();ce.byteLength=ft;ce.toByteArray=yt;ce.fromByteArray=wt;var N=[],v=[],gt=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=xe.length;V<qe;++V)N[V]=xe[V],v[xe.charCodeAt(V)]=V;var V,qe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function je(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function ft(r){var e=je(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ht(r,e,t){return(e+t)*3/4-t}function yt(r){var e,t=je(r),n=t[0],i=t[1],a=new gt(ht(r,n,i)),s=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)e=v[r.charCodeAt(m)]<<18|v[r.charCodeAt(m+1)]<<12|v[r.charCodeAt(m+2)]<<6|v[r.charCodeAt(m+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=v[r.charCodeAt(m)]<<2|v[r.charCodeAt(m+1)]>>4,a[s++]=e&255),i===1&&(e=v[r.charCodeAt(m)]<<10|v[r.charCodeAt(m+1)]<<4|v[r.charCodeAt(m+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function xt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function Tt(r,e,t){for(var n,i=[],a=e;a<t;a+=3)n=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(r[a+2]&255),i.push(xt(n));return i.join("")}function wt(r){for(var e,t=r.length,n=t%3,i=[],a=16383,s=0,d=t-n;s<d;s+=a)i.push(Tt(r,s,s+a>d?d:s+a));return n===1?(e=r[t-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ke=se(Te=>{o();Te.read=function(r,e,t,n,i){var a,s,d=i*8-n-1,m=(1<<d)-1,g=m>>1,f=-7,h=t?i-1:0,y=t?-1:1,T=r[e+h];for(h+=y,a=T&(1<<-f)-1,T>>=-f,f+=d;f>0;a=a*256+r[e+h],h+=y,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(a===0)a=1-g;else{if(a===m)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};Te.write=function(r,e,t,n,i,a){var s,d,m,g=a*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,S=n?1:-1,j=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+h>=1?e+=y/m:e+=y*Math.pow(2,1-h),e*m>=2&&(s++,m/=2),s+h>=f?(d=0,s=f):s+h>=1?(d=(e*m-1)*Math.pow(2,i),s=s+h):(d=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;r[t+T]=d&255,T+=S,d/=256,i-=8);for(s=s<<i|d,g+=i;g>0;r[t+T]=s&255,T+=S,s/=256,g-=8);r[t+T-S]|=j*128}});var sr=se(K=>{"use strict";o();var we=ze(),z=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=It;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=bt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function bt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function D(r){if(r>le)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ke(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return St(r,e);if(ArrayBuffer.isView(r))return kt(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(E(r,ArrayBuffer)||r&&E(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(r,SharedArrayBuffer)||r&&E(r.buffer,SharedArrayBuffer)))return ve(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=At(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Je(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Qe(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function vt(r,e,t){return Qe(r),r<=0?D(r):e!==void 0?typeof t=="string"?D(r).fill(e,t):D(r).fill(e):D(r)}c.alloc=function(r,e,t){return vt(r,e,t)};function ke(r){return Qe(r),D(r<0?0:Ae(r)|0)}c.allocUnsafe=function(r){return ke(r)};c.allocUnsafeSlow=function(r){return ke(r)};function St(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=er(r,e)|0,n=D(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function be(r){for(var e=r.length<0?0:Ae(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function kt(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return ve(e.buffer,e.byteOffset,e.byteLength)}return be(r)}function ve(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function At(r){if(c.isBuffer(r)){var e=Ae(r.length)|0,t=D(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Ie(r.length)?D(0):be(r);if(r.type==="Buffer"&&Array.isArray(r.data))return be(r.data)}function Ae(r){if(r>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return r|0}function It(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==t[a]){n=e[a],i=t[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function er(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||E(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Se(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ar(r).length;default:if(i)return n?-1:Se(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Nt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Pt(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Ot(this,e,t);case"latin1":case"binary":return Bt(this,e,t);case"base64":return Ft(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ut(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)$(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)$(this,t,t+3),$(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)$(this,t,t+7),$(this,t+1,t+6),$(this,t+2,t+5),$(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?tr(this,0,e):Nt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};Xe&&(c.prototype[Xe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,a){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),t<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=n)return 0;if(i>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-t,m=Math.min(s,d),g=this.slice(i,a),f=e.slice(t,n),h=0;h<m;++h)if(g[h]!==f[h]){s=g[h],d=f[h];break}return s<d?-1:d<s?1:0};function rr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Ie(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ye(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,i){var a=1,s=r.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;a=2,s/=2,d/=2,t/=2}function m(T,S){return a===1?T[S]:T.readUInt16BE(S*a)}var g;if(i){var f=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===d)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(t+d>s&&(t=s-d),g=t;g>=0;g--){for(var h=!0,y=0;y<d;y++)if(m(r,g+y)!==m(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)};function Et(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ie(d))return s;r[t+s]=d}return s}function _t(r,e,t,n){return pe(Se(e,r.length-t),r,t,n)}function Rt(r,e,t,n){return pe(Wt(e),r,t,n)}function Lt(r,e,t,n){return pe(ar(e),r,t,n)}function Dt(r,e,t,n){return pe(Vt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-t;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Et(this,e,t,n);case"utf8":case"utf-8":return _t(this,e,t,n);case"ascii":case"latin1":case"binary":return Rt(this,e,t,n);case"base64":return Lt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ft(r,e,t){return e===0&&t===r.length?we.fromByteArray(r):we.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var a=r[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=t){var m,g,f,h;switch(d){case 1:a<128&&(s=a);break;case 2:m=r[i+1],(m&192)===128&&(h=(a&31)<<6|m&63,h>127&&(s=h));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(h=(a&15)<<12|(m&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:m=r[i+1],g=r[i+2],f=r[i+3],(m&192)===128&&(g&192)===128&&(f&192)===128&&(h=(a&15)<<18|(m&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(s=h))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return Ct(n)}var Ze=4096;function Ct(r){var e=r.length;if(e<=Ze)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=Ze));return t}function Ot(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Bt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",a=e;a<t;++a)i+=$t[r[a]];return i}function Ut(r,e,t){for(var n=r.slice(e,t),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],a=1;t>0&&(a*=256);)i+=this[e+--t]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,a){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=1,d=0;for(this[t]=e&255;++d<n&&(s*=256);)this[t+d]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=n-1,d=1;for(this[t+s]=e&255;--s>=0&&(d*=256);)this[t+s]=e/d&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=0,d=1,m=0;for(this[t]=e&255;++s<n&&(d*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/d>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=n-1,d=1,m=0;for(this[t+s]=e&255;--s>=0&&(d*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/d>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function nr(r,e,t,n,i,a){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ir(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return ir(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return ir(this,e,t,!1,n)};function or(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return or(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return or(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),a};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=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"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),m=d.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=d[s%m]}return this};var Mt=/[^+/0-9A-Za-z-_]/g;function Gt(r){if(r=r.split("=")[0],r=r.trim().replace(Mt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Se(r,e){e=e||1/0;for(var t,n=r.length,i=null,a=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function Wt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Vt(r,e){for(var t,n,i,a=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,a.push(i),a.push(n);return a}function ar(r){return we.toByteArray(Gt(r))}function pe(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function E(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Ie(r){return r!==r}var $t=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var dr=se((Ln,ur)=>{o();var x=ur.exports={},_,R;function Ne(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ne}catch(r){_=Ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ee}catch(r){R=Ee}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ne||!_)&&setTimeout)return _=setTimeout,setTimeout(r,0);try{return _(r,0)}catch(e){try{return _.call(null,r,0)}catch(t){return _.call(this,r,0)}}}function Ht(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ee||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(r);try{return R(r)}catch(e){try{return R.call(null,r)}catch(t){return R.call(this,r)}}}var F=[],X=!1,H,ue=-1;function qt(){!X||!H||(X=!1,H.length?F=H.concat(F):ue=-1,F.length&&lr())}function lr(){if(!X){var r=cr(qt);X=!0;for(var e=F.length;e;){for(H=F,F=[];++ue<e;)H&&H[ue].run();ue=-1,e=F.length}H=null,X=!1,Ht(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new pr(r,e)),F.length===1&&!X&&cr(lr)};function pr(r,e){this.fun=r,this.array=e}pr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Dn,o=ut(()=>{l=A(sr()),p=A(dr()),Dn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var An={};dt(An,{getEventListDataHexValue:()=>jt,getEventListHighlight:()=>zt,getOperationDirection:()=>Xt,getOperationList:()=>et,getScResultsDecodedData:()=>Yt,getScResultsHighlight:()=>Zt,getScamFlag:()=>Jt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>on,getTransactionActionTokenText:()=>an,getTransactionFee:()=>cn,getTransactionLinkWithLabel:()=>ln,getTransactionMessages:()=>un,getTransactionStatus:()=>mn,getTransactionStatusText:()=>gn,getTrimmedHash:()=>fn,getVisibleOperations:()=>hn,internalTransactionActions:()=>Qr,transactionActionUnwrapper:()=>yn,useDataDecode:()=>vn,useDataDecodeMethod:()=>Sn,useGetOperationList:()=>kn});module.exports=mt(An);o();o();var jt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");o();o();o();var mr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Y=()=>{if(!mr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:e,hash:t,origin:n,href:i,search:a}}=window;return{pathname:e,hash:t,origin:n,href:i,search:a}};var zt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",a=(d=n[1])!=null?d:0;return i===e&&r.order===Number(a)};o();o();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});var O=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(O||{});var Xt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,a=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case a:s="Internal";break}return{direction:s}};o();o();o();function de(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Re(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();de(t)&&t.length>1&&(e=t)}catch(t){}return e}var Yt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Re(e[0]):e[1]=Re(e[1])),e.join("@")};o();var Zt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};o();var gr=A(require("linkifyjs")),fr=r=>{let e=gr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Jt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var m;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let a=`${i}${(m=e==null?void 0:e.info)!=null?m:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:a,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Qt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),si=U(U({},Z.WindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),ci=U(U({},Z.WindowProviderResponseEnums),yr);o();o();o();o();o();var Le={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:ki}=Le["devnet"],{chainId:Tr,egldLabel:Ai}=Le["testnet"],{chainId:wr,egldLabel:Ii}=Le["mainnet"];var Ni={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},Ei={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var De=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var br,vr,Fe=String((vr=(br=De.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Ci=/^((?!chrome|android).)*safari/i.test(Fe),Oi=/firefox/i.test(Fe)&&/windows/i.test(Fe);var I=18,J=4;var Sr=4294967295,kr=4294967280;var Ar="refundedGas";var Q="0";var en=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=Sr.toString()===String(e).toString()||String(e)==="metachain",n=kr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};o();o();o();o();o();var Nr=require("@multiversx/sdk-core"),M=A(require("bignumber.js"));o();var Ir=A(require("bignumber.js")),Ce=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};o();function B(r){return{if:function(e){return e?{then:t=>t instanceof Function?B(t(r)):B(t)}:{then:()=>B(r)}},then:e=>e instanceof Function?B(e(r)):B(e),valueOf:function(){return r}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function G({input:r,decimals:e=I,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ce(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),B(d).then(()=>Nr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new M.default(m);if(g.isZero())return Q;let f=g.toString(10),[h,y]=f.split("."),T=new M.default(y||0),S=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),j=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),rt=g.toFormat(S);return B(f).if(a).then(rt).if(Boolean(j)).then(ie=>{let re=new M.default(h).isZero(),[k,oe]=ie.split("."),ae=new Array(t-1).fill(0),tt=[...ae,0].join(""),nt=[...ae,1].join("");return re?i?`<${k}.${nt}`:n?`${k}.${oe}`:k:`${k}.${tt}`}).if(Boolean(!j&&y)).then(ie=>{let[re]=ie.split("."),k=y.substring(0,S);if(n){let oe=t-k.length;if(oe>0){let ae=Array(oe).fill(0).join("");return k=`${k}${ae}`,`${re}.${k}`}return ie}return k?`${re}.${k}`:re}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}o();o();var rn=require("@multiversx/sdk-core");o();var ne=require("@multiversx/sdk-core"),nn=A(require("bignumber.js"));o();o();o();var tn=A(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();var W="accounts";var Er="blocks",_r="code",Rr="collections";var Lr="contracts";var Dr="identities";var Fr="locked-accounts",Cr="logs",Or="miniblocks";var Oe="nfts",Br="nodes",Be="providers",Pr="roles",Pe="sc-results";var ee="tokens";var q="transactions";var me={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Pe}`,transactionDetailsLogs:r=>`/${q}/${r}/${Cr}`,nodeDetails:r=>`/${Br}/${r}`,accountDetails:r=>`/${W}/${r}`,accountDetailsContractCode:r=>`/${W}/${r}/${_r}`,accountDetailsTokens:r=>`/${W}/${r}/${ee}`,accountDetailsNfts:r=>`/${W}/${r}/${Oe}`,accountDetailsScResults:r=>`/${W}/${r}/${Pe}`,accountDetailsContracts:r=>`/${W}/${r}/${Lr}`,identityDetails:r=>`/${Dr}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${W}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Fr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${Pr}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function on({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,a="";r.type==="NonFungibleESDT"&&(a="NFT"),r.type==="SemiFungibleESDT"&&(a="SFT"),r.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?G({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let d=me.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}o();function an({token:r,noValue:e,showLastNonZeroDecimal:t}){var d;let n=Boolean(!e&&r.value),i=n?G({input:r.value,decimals:(d=r.decimals)!=null?d:I,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,a=me.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}o();var Ue=A(require("bignumber.js")),sn=r=>{let e=new Ue.default(r.gasPrice),t=new Ue.default(r.gasUsed);return e.times(t).toString()};function cn(r){return r.fee?r.fee:r.gasUsed===void 0?null:sn(r)}o();var ln=({transaction:r,direction:e})=>{var m;let t=e==="Internal",n=r.sender;if(t)return{link:(m=r.links.senderLink)!=null?m:"",label:"Smart Contract transaction",address:n};let i=e==="Out",a=i?r.links.receiverLink:r.links.senderLink,s="";return e==="Self"&&r.receiverAssets?s=r.receiverAssets.name:(n=i?r.receiver:r.sender,s=i?"To:":"From:"),{label:s,address:n,link:a!=null?a:""}};o();o();function Ur(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}o();var Mr=A(require("bignumber.js"));var pn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Ar){let n=G({input:r.receipt.value,decimals:I,digits:J,showLastNonZeroDecimal:!0});return new Mr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Gr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=pn(r),n=t?`: ${t}`:"";return`${e}${n}`}o();function Me(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function un(r){return Array.from(new Set([...Me(r),...Ur(r),Gr(r)])).filter(t=>Boolean(t))}o();function mn(r){let e=s=>r.status.toLowerCase()===s.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),a=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:a}}o();var gn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};o();var fn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;o();var hn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};o();o();o();var Vr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};o();var $r=A(require("bignumber.js"));var Hr=r=>{var e,t,n,i,a,s,d,m,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=r.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(s=r.arguments)==null?void 0:s.transfers[0]]},"and",{token:[(d=r.arguments)==null?void 0:d.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(m=r.arguments)==null?void 0:m.transfers}];case"mergeLockedAssetTokens":let T=Q;if((g=r.arguments)!=null&&g.transfers){let S=r.arguments.transfers.map(({value:j})=>j);T=$r.default.sum.apply(null,S).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};o();var qr=r=>{var e,t,n,i,a,s,d,m,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=r.arguments)==null?void 0:a.providerName,providerAvatar:(s=r.arguments)==null?void 0:s.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(d=r.arguments)==null?void 0:d.providerName,providerAvatar:(m=r.arguments)==null?void 0:m.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var yn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Vr(r);case"mex":return Hr(r);case"stake":return qr(r);default:return r.description?[r.description]:[]}};o();var fe=require("react");o();o();o();o();var Kr=require("@multiversx/sdk-core/out"),Ge=A(require("bignumber.js"));o();var jr=require("@multiversx/sdk-core");function xn(r){try{let e=new jr.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function zr(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&xn(r)}o();o();o();o();var P=(r,e,t)=>{switch(e){case"text":try{return l.Buffer.from(r,"hex").toString("utf8")}catch(n){}return r;case"decimal":return r!==""?new Ge.default(r,16).toString(10):"";case"smart":try{let n=Kr.Address.fromHex(r).toString();if(zr(n))return n}catch(n){}try{let n=l.Buffer.from(r,"hex").toString("utf8");if(de(n))return n;{if(t&&[...t.esdts,...t.nfts].some(s=>n.includes(s)))return n;let i=new Ge.default(r,16);return i.isFinite()?i.toString(10):r}}catch(n){}return r;case"raw":default:return r}};o();o();var Tn=r=>r.toLowerCase().match(/^[0-9a-f]+$/i),wn=r=>r.length%2===0,Xr=r=>{let e=[];return r&&!Tn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!wn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};o();var ge=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Yr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((s,d)=>{if(r.length>=2&&(d===0&&s.length<64||d===1&&!r[0]))return/[^a-z0-9]/gi.test(s)?P(s,e):s;{let m=Xr(s);return m.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...m]))),P(s,e)}});return e==="smart"?ge({parts:r,decodedParts:i,identifier:t}):i};var Zr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(!r.includes("@")&&!r.includes(`
|
|
1
|
+
"use strict";var it=Object.create;var te=Object.defineProperty,ot=Object.defineProperties,at=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,lt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var Ve=(r,e,t)=>e in r?te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,U=(r,e)=>{for(var t in e||(e={}))$e.call(e,t)&&Ve(r,t,e[t]);if(We)for(var t of We(e))pt.call(e,t)&&Ve(r,t,e[t]);return r},ye=(r,e)=>ot(r,st(e));var ut=(r,e)=>()=>(r&&(e=r(r=0)),e);var se=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),dt=(r,e)=>{for(var t in e)te(r,t,{get:e[t],enumerable:!0})},He=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ct(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=at(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?it(lt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var ze=se(ce=>{"use strict";o();ce.byteLength=ft;ce.toByteArray=yt;ce.fromByteArray=wt;var N=[],v=[],gt=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=xe.length;V<qe;++V)N[V]=xe[V],v[xe.charCodeAt(V)]=V;var V,qe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function je(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function ft(r){var e=je(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ht(r,e,t){return(e+t)*3/4-t}function yt(r){var e,t=je(r),n=t[0],i=t[1],a=new gt(ht(r,n,i)),s=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)e=v[r.charCodeAt(m)]<<18|v[r.charCodeAt(m+1)]<<12|v[r.charCodeAt(m+2)]<<6|v[r.charCodeAt(m+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=v[r.charCodeAt(m)]<<2|v[r.charCodeAt(m+1)]>>4,a[s++]=e&255),i===1&&(e=v[r.charCodeAt(m)]<<10|v[r.charCodeAt(m+1)]<<4|v[r.charCodeAt(m+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function xt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function Tt(r,e,t){for(var n,i=[],a=e;a<t;a+=3)n=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(r[a+2]&255),i.push(xt(n));return i.join("")}function wt(r){for(var e,t=r.length,n=t%3,i=[],a=16383,s=0,d=t-n;s<d;s+=a)i.push(Tt(r,s,s+a>d?d:s+a));return n===1?(e=r[t-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ke=se(Te=>{o();Te.read=function(r,e,t,n,i){var a,s,d=i*8-n-1,m=(1<<d)-1,g=m>>1,f=-7,h=t?i-1:0,y=t?-1:1,T=r[e+h];for(h+=y,a=T&(1<<-f)-1,T>>=-f,f+=d;f>0;a=a*256+r[e+h],h+=y,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(a===0)a=1-g;else{if(a===m)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};Te.write=function(r,e,t,n,i,a){var s,d,m,g=a*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,S=n?1:-1,j=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+h>=1?e+=y/m:e+=y*Math.pow(2,1-h),e*m>=2&&(s++,m/=2),s+h>=f?(d=0,s=f):s+h>=1?(d=(e*m-1)*Math.pow(2,i),s=s+h):(d=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;r[t+T]=d&255,T+=S,d/=256,i-=8);for(s=s<<i|d,g+=i;g>0;r[t+T]=s&255,T+=S,s/=256,g-=8);r[t+T-S]|=j*128}});var sr=se(K=>{"use strict";o();var we=ze(),z=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=It;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=bt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function bt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function D(r){if(r>le)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ke(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return St(r,e);if(ArrayBuffer.isView(r))return kt(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(E(r,ArrayBuffer)||r&&E(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(r,SharedArrayBuffer)||r&&E(r.buffer,SharedArrayBuffer)))return ve(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=At(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Je(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Qe(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function vt(r,e,t){return Qe(r),r<=0?D(r):e!==void 0?typeof t=="string"?D(r).fill(e,t):D(r).fill(e):D(r)}c.alloc=function(r,e,t){return vt(r,e,t)};function ke(r){return Qe(r),D(r<0?0:Ae(r)|0)}c.allocUnsafe=function(r){return ke(r)};c.allocUnsafeSlow=function(r){return ke(r)};function St(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=er(r,e)|0,n=D(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function be(r){for(var e=r.length<0?0:Ae(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function kt(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return ve(e.buffer,e.byteOffset,e.byteLength)}return be(r)}function ve(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function At(r){if(c.isBuffer(r)){var e=Ae(r.length)|0,t=D(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Ie(r.length)?D(0):be(r);if(r.type==="Buffer"&&Array.isArray(r.data))return be(r.data)}function Ae(r){if(r>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return r|0}function It(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==t[a]){n=e[a],i=t[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function er(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||E(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Se(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ar(r).length;default:if(i)return n?-1:Se(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Nt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Pt(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Ot(this,e,t);case"latin1":case"binary":return Bt(this,e,t);case"base64":return Ct(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ut(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)$(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)$(this,t,t+3),$(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)$(this,t,t+7),$(this,t+1,t+6),$(this,t+2,t+5),$(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?tr(this,0,e):Nt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};Xe&&(c.prototype[Xe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,a){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),t<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=n)return 0;if(i>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-t,m=Math.min(s,d),g=this.slice(i,a),f=e.slice(t,n),h=0;h<m;++h)if(g[h]!==f[h]){s=g[h],d=f[h];break}return s<d?-1:d<s?1:0};function rr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Ie(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ye(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,i){var a=1,s=r.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;a=2,s/=2,d/=2,t/=2}function m(T,S){return a===1?T[S]:T.readUInt16BE(S*a)}var g;if(i){var f=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===d)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(t+d>s&&(t=s-d),g=t;g>=0;g--){for(var h=!0,y=0;y<d;y++)if(m(r,g+y)!==m(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)};function Et(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ie(d))return s;r[t+s]=d}return s}function _t(r,e,t,n){return pe(Se(e,r.length-t),r,t,n)}function Rt(r,e,t,n){return pe(Wt(e),r,t,n)}function Lt(r,e,t,n){return pe(ar(e),r,t,n)}function Dt(r,e,t,n){return pe(Vt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-t;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Et(this,e,t,n);case"utf8":case"utf-8":return _t(this,e,t,n);case"ascii":case"latin1":case"binary":return Rt(this,e,t,n);case"base64":return Lt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ct(r,e,t){return e===0&&t===r.length?we.fromByteArray(r):we.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var a=r[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=t){var m,g,f,h;switch(d){case 1:a<128&&(s=a);break;case 2:m=r[i+1],(m&192)===128&&(h=(a&31)<<6|m&63,h>127&&(s=h));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(h=(a&15)<<12|(m&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:m=r[i+1],g=r[i+2],f=r[i+3],(m&192)===128&&(g&192)===128&&(f&192)===128&&(h=(a&15)<<18|(m&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(s=h))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return Ft(n)}var Ze=4096;function Ft(r){var e=r.length;if(e<=Ze)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=Ze));return t}function Ot(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Bt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",a=e;a<t;++a)i+=$t[r[a]];return i}function Ut(r,e,t){for(var n=r.slice(e,t),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],a=1;t>0&&(a*=256);)i+=this[e+--t]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,a){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=1,d=0;for(this[t]=e&255;++d<n&&(s*=256);)this[t+d]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=n-1,d=1;for(this[t+s]=e&255;--s>=0&&(d*=256);)this[t+s]=e/d&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=0,d=1,m=0;for(this[t]=e&255;++s<n&&(d*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/d>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=n-1,d=1,m=0;for(this[t+s]=e&255;--s>=0&&(d*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/d>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function nr(r,e,t,n,i,a){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ir(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return ir(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return ir(this,e,t,!1,n)};function or(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return or(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return or(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),a};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=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"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),m=d.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=d[s%m]}return this};var Mt=/[^+/0-9A-Za-z-_]/g;function Gt(r){if(r=r.split("=")[0],r=r.trim().replace(Mt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Se(r,e){e=e||1/0;for(var t,n=r.length,i=null,a=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function Wt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Vt(r,e){for(var t,n,i,a=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,a.push(i),a.push(n);return a}function ar(r){return we.toByteArray(Gt(r))}function pe(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function E(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Ie(r){return r!==r}var $t=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var dr=se((Ln,ur)=>{o();var x=ur.exports={},_,R;function Ne(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ne}catch(r){_=Ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ee}catch(r){R=Ee}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ne||!_)&&setTimeout)return _=setTimeout,setTimeout(r,0);try{return _(r,0)}catch(e){try{return _.call(null,r,0)}catch(t){return _.call(this,r,0)}}}function Ht(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ee||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(r);try{return R(r)}catch(e){try{return R.call(null,r)}catch(t){return R.call(this,r)}}}var C=[],X=!1,H,ue=-1;function qt(){!X||!H||(X=!1,H.length?C=H.concat(C):ue=-1,C.length&&lr())}function lr(){if(!X){var r=cr(qt);X=!0;for(var e=C.length;e;){for(H=C,C=[];++ue<e;)H&&H[ue].run();ue=-1,e=C.length}H=null,X=!1,Ht(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];C.push(new pr(r,e)),C.length===1&&!X&&cr(lr)};function pr(r,e){this.fun=r,this.array=e}pr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function F(){}x.on=F;x.addListener=F;x.once=F;x.off=F;x.removeListener=F;x.removeAllListeners=F;x.emit=F;x.prependListener=F;x.prependOnceListener=F;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Dn,o=ut(()=>{l=A(sr()),p=A(dr()),Dn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var An={};dt(An,{getEventListDataHexValue:()=>jt,getEventListHighlight:()=>zt,getOperationDirection:()=>Xt,getOperationList:()=>et,getScResultsDecodedData:()=>Yt,getScResultsHighlight:()=>Zt,getScamFlag:()=>Jt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>on,getTransactionActionTokenText:()=>an,getTransactionFee:()=>cn,getTransactionLinkWithLabel:()=>ln,getTransactionMessages:()=>un,getTransactionStatus:()=>mn,getTransactionStatusText:()=>gn,getTrimmedHash:()=>fn,getVisibleOperations:()=>hn,internalTransactionActions:()=>Qr,transactionActionUnwrapper:()=>yn,useDataDecode:()=>vn,useDataDecodeMethod:()=>Sn,useGetOperationList:()=>kn});module.exports=mt(An);o();o();var jt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");o();o();o();var mr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Y=()=>{if(!mr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:e,hash:t,origin:n,href:i,search:a}}=window;return{pathname:e,hash:t,origin:n,href:i,search:a}};var zt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",a=(d=n[1])!=null?d:0;return i===e&&r.order===Number(a)};o();o();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});var O=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(O||{});var Xt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,a=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case a:s="Internal";break}return{direction:s}};o();o();o();function de(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Re(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();de(t)&&t.length>1&&(e=t)}catch(t){}return e}var Yt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Re(e[0]):e[1]=Re(e[1])),e.join("@")};o();var Zt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};o();var gr=A(require("linkifyjs")),fr=r=>{let e=gr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Jt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var m;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let a=`${i}${(m=e==null?void 0:e.info)!=null?m:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:a,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Qt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),si=U(U({},Z.WindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),ci=U(U({},Z.WindowProviderResponseEnums),yr);o();o();o();o();o();var Le={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:ki}=Le["devnet"],{chainId:Tr,egldLabel:Ai}=Le["testnet"],{chainId:wr,egldLabel:Ii}=Le["mainnet"];var Ni={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},Ei={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var De=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var br,vr,Ce=String((vr=(br=De.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Fi=/^((?!chrome|android).)*safari/i.test(Ce),Oi=/firefox/i.test(Ce)&&/windows/i.test(Ce);var I=18,J=4;var Sr=4294967295,kr=4294967280;var Ar="refundedGas";var Q="0";var en=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=Sr.toString()===String(e).toString()||String(e)==="metachain",n=kr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};o();o();o();o();o();var Nr=require("@multiversx/sdk-core"),M=A(require("bignumber.js"));o();var Ir=A(require("bignumber.js")),Fe=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};o();function B(r){return{if:function(e){return e?{then:t=>t instanceof Function?B(t(r)):B(t)}:{then:()=>B(r)}},then:e=>e instanceof Function?B(e(r)):B(e),valueOf:function(){return r}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function G({input:r,decimals:e=I,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Fe(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),B(d).then(()=>Nr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new M.default(m);if(g.isZero())return Q;let f=g.toString(10),[h,y]=f.split("."),T=new M.default(y||0),S=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),j=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),rt=g.toFormat(S);return B(f).if(a).then(rt).if(Boolean(j)).then(ie=>{let re=new M.default(h).isZero(),[k,oe]=ie.split("."),ae=new Array(t-1).fill(0),tt=[...ae,0].join(""),nt=[...ae,1].join("");return re?i?`<${k}.${nt}`:n?`${k}.${oe}`:k:`${k}.${tt}`}).if(Boolean(!j&&y)).then(ie=>{let[re]=ie.split("."),k=y.substring(0,S);if(n){let oe=t-k.length;if(oe>0){let ae=Array(oe).fill(0).join("");return k=`${k}${ae}`,`${re}.${k}`}return ie}return k?`${re}.${k}`:re}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}o();o();var rn=require("@multiversx/sdk-core");o();var ne=require("@multiversx/sdk-core"),nn=A(require("bignumber.js"));o();o();o();var tn=A(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();var W="accounts";var Er="blocks",_r="code",Rr="collections";var Lr="contracts";var Dr="identities";var Cr="locked-accounts",Fr="logs",Or="miniblocks";var Oe="nfts",Br="nodes",Be="providers",Pr="roles",Pe="sc-results";var ee="tokens";var q="transactions";var me={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Pe}`,transactionDetailsLogs:r=>`/${q}/${r}/${Fr}`,nodeDetails:r=>`/${Br}/${r}`,accountDetails:r=>`/${W}/${r}`,accountDetailsContractCode:r=>`/${W}/${r}/${_r}`,accountDetailsTokens:r=>`/${W}/${r}/${ee}`,accountDetailsNfts:r=>`/${W}/${r}/${Oe}`,accountDetailsScResults:r=>`/${W}/${r}/${Pe}`,accountDetailsContracts:r=>`/${W}/${r}/${Lr}`,identityDetails:r=>`/${Dr}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${W}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Cr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${Pr}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function on({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,a="";r.type==="NonFungibleESDT"&&(a="NFT"),r.type==="SemiFungibleESDT"&&(a="SFT"),r.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?G({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let d=me.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}o();function an({token:r,noValue:e,showLastNonZeroDecimal:t}){var d;let n=Boolean(!e&&r.value),i=n?G({input:r.value,decimals:(d=r.decimals)!=null?d:I,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,a=me.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}o();var Ue=A(require("bignumber.js")),sn=r=>{let e=new Ue.default(r.gasPrice),t=new Ue.default(r.gasUsed);return e.times(t).toString()};function cn(r){return r.fee?r.fee:r.gasUsed===void 0?null:sn(r)}o();var ln=({transaction:r,direction:e})=>{var m;let t=e==="Internal",n=r.sender;if(t)return{link:(m=r.links.senderLink)!=null?m:"",label:"Smart Contract transaction",address:n};let i=e==="Out",a=i?r.links.receiverLink:r.links.senderLink,s="";return e==="Self"&&r.receiverAssets?s=r.receiverAssets.name:(n=i?r.receiver:r.sender,s=i?"To:":"From:"),{label:s,address:n,link:a!=null?a:""}};o();o();function Ur(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}o();var Mr=A(require("bignumber.js"));var pn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Ar){let n=G({input:r.receipt.value,decimals:I,digits:J,showLastNonZeroDecimal:!0});return new Mr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Gr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=pn(r),n=t?`: ${t}`:"";return`${e}${n}`}o();function Me(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function un(r){return Array.from(new Set([...Me(r),...Ur(r),Gr(r)])).filter(t=>Boolean(t))}o();function mn(r){let e=s=>r.status.toLowerCase()===s.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),a=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:a}}o();var gn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};o();var fn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;o();var hn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};o();o();o();var Vr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};o();var $r=A(require("bignumber.js"));var Hr=r=>{var e,t,n,i,a,s,d,m,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=r.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(s=r.arguments)==null?void 0:s.transfers[0]]},"and",{token:[(d=r.arguments)==null?void 0:d.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(m=r.arguments)==null?void 0:m.transfers}];case"mergeLockedAssetTokens":let T=Q;if((g=r.arguments)!=null&&g.transfers){let S=r.arguments.transfers.map(({value:j})=>j);T=$r.default.sum.apply(null,S).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};o();var qr=r=>{var e,t,n,i,a,s,d,m,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=r.arguments)==null?void 0:a.providerName,providerAvatar:(s=r.arguments)==null?void 0:s.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(d=r.arguments)==null?void 0:d.providerName,providerAvatar:(m=r.arguments)==null?void 0:m.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var yn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Vr(r);case"mex":return Hr(r);case"stake":return qr(r);default:return r.description?[r.description]:[]}};o();var fe=require("react");o();o();o();o();var Kr=require("@multiversx/sdk-core/out"),Ge=A(require("bignumber.js"));o();var jr=require("@multiversx/sdk-core");function xn(r){try{let e=new jr.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function zr(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&xn(r)}o();o();o();o();var P=(r,e,t)=>{switch(e){case"text":try{return l.Buffer.from(r,"hex").toString("utf8")}catch(n){}return r;case"decimal":return r!==""?new Ge.default(r,16).toString(10):"";case"smart":try{let n=Kr.Address.fromHex(r).toString();if(zr(n))return n}catch(n){}try{let n=l.Buffer.from(r,"hex").toString("utf8");if(de(n))return n;{if(t&&[...t.esdts,...t.nfts].some(s=>n.includes(s)))return n;let i=new Ge.default(r,16);return i.isFinite()?i.toString(10):r}}catch(n){}return r;case"raw":default:return r}};o();o();var Tn=r=>r.toLowerCase().match(/^[0-9a-f]+$/i),wn=r=>r.length%2===0,Xr=r=>{let e=[];return r&&!Tn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!wn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};o();var ge=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Yr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((s,d)=>{if(r.length>=2&&(d===0&&s.length<64||d===1&&!r[0]))return/[^a-z0-9]/gi.test(s)?P(s,e):s;{let m=Xr(s);return m.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...m]))),P(s,e)}});return e==="smart"?ge({parts:r,decodedParts:i,identifier:t}):i};var Zr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(!r.includes("@")&&!r.includes(`
|
|
2
2
|
`))return n.displayValue=P(r,e),n;if(r.includes("@")){let i=r.split("@"),a=Yr({parts:i,identifier:t,decodeMethod:e,display:n});n.displayValue=a.join("@")}if(r.includes(`
|
|
3
3
|
`)){let i=r.split(`
|
|
4
4
|
`),a=i.map(d=>{let m=l.Buffer.from(d,"base64");return e==="raw"?d:P(m.toString("hex"),e)}),s=e==="smart"?ge({parts:i,decodedParts:a,identifier:t}):a;n.displayValue=s.join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Xe=Object.create;var G=Object.defineProperty,Ye=Object.defineProperties,Ke=Object.getOwnPropertyDescriptor,Ze=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertyNames,ce=Object.getOwnPropertySymbols,Qe=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var pe=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))ue.call(e,r)&&pe(t,r,e[r]);if(ce)for(var r of ce(e))$e.call(e,r)&&pe(t,r,e[r]);return t},W=(t,e)=>Ye(t,Ze(e));var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},de=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Je(e))!ue.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=Ke(e,i))||n.enumerable});return t};var H=(t,e,r)=>(r=t!=null?Xe(Qe(t)):{},de(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>de(G({},"__esModule",{value:!0}),t);var me=V(q=>{"use strict";l();q.byteLength=ir;q.toByteArray=ar;q.fromByteArray=cr;var k=[],v=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ge=Y.length;F<ge;++F)k[F]=Y[F],v[Y.charCodeAt(F)]=F;var F,ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ir(t){var e=fe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=fe(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(sr(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(lr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var he=V(K=>{l();K.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,m=p>>1,h=-7,u=r?i-1:0,T=r?-1:1,b=t[e+u];for(u+=T,o=b&(1<<-h)-1,b>>=-h,h+=c;h>0;o=o*256+t[e+u],u+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+u],u+=T,h-=8);if(o===0)o=1-m;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(b?-1:1)*a*Math.pow(2,o-n)};K.write=function(t,e,r,n,i,o){var a,c,p,m=o*8-i-1,h=(1<<m)-1,u=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,U=n?1:-1,je=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=h?(c=0,a=h):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=U,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+b]=a&255,b+=U,a/=256,m-=8);t[r+b-U]|=je*128}});var Le=V(O=>{"use strict";l();var Z=me(),D=he(),ye=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=mr;O.INSPECT_MAX_BYTES=50;var z=2147483647;O.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=pr();!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 pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ee(t)}return be(t,e,r)}s.poolSize=8192;function be(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Q(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=fr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return be(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ur(t,e,r){return ve(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function ee(t){return ve(t),L(t<0?0:re(t)|0)}s.allocUnsafe=function(t){return ee(t)};s.allocUnsafeSlow=function(t){return ee(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Te(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function J(t){for(var e=t.length<0?0:re(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return J(t)}function Q(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function fr(t){if(s.isBuffer(t)){var e=re(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||te(t.length)?L(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function re(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function mr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Te(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:$(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Te;function hr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Rr(this,e,r);case"utf8":case"utf-8":return Ae(this,e,r);case"ascii":return Ar(this,e,r);case"latin1":case"binary":return _r(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ae(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ye&&(s.prototype[ye]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),u=0;u<p;++u)if(m[u]!==h[u]){a=m[u],c=h[u];break}return a<c?-1:c<a?1:0};function ke(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,te(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:xe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):xe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function xe(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,U){return o===1?b[U]:b.readUInt16BE(U*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(p(t,m)===p(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===c)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+c>a&&(r=a-c),m=r;m>=0;m--){for(var u=!0,T=0;T<c;T++)if(p(t,m+T)!==p(e,T)){u=!1;break}if(u)return m}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ke(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ke(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(te(c))return a;t[r+a]=c}return a}function xr(t,e,r,n){return j($(e,t.length-r),t,r,n)}function wr(t,e,r,n){return j(Er(e),t,r,n)}function br(t,e,r,n){return j(Ie(e),t,r,n)}function vr(t,e,r,n){return j(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?Z.fromByteArray(t):Z.fromByteArray(t.slice(e,r))}function Ae(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,m,h,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(u=(o&15)<<12|(p&63)<<6|m&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(u=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return kr(n)}var we=4096;function kr(t){var e=t.length;if(e<=we)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=we));return r}function Ar(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Rr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Fr[t[o]];return i}function Sr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function _e(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Re(this,e,r,!1,n)};function Se(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Se(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Se(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Ir=/[^+/0-9A-Za-z-_]/g;function Lr(t){if(t=t.split("=")[0],t=t.trim().replace(Ir,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function $(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Er(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ie(t){return Z.toByteArray(Lr(t))}function j(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function te(t){return t!==t}var Fr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Be=V((zr,Ce)=>{l();var y=Ce.exports={},_,R;function ne(){throw new Error("setTimeout has not been defined")}function ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=ne}catch(t){_=ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=ie}catch(t){R=ie}})();function Ee(t){if(_===setTimeout)return setTimeout(t,0);if((_===ne||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Cr(t){if(R===clearTimeout)return clearTimeout(t);if((R===ie||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var E=[],P=!1,B,X=-1;function Br(){!P||!B||(P=!1,B.length?E=B.concat(E):X=-1,E.length&&Ne())}function Ne(){if(!P){var t=Ee(Br);P=!0;for(var e=E.length;e;){for(B=E,E=[];++X<e;)B&&B[X].run();X=-1,e=E.length}B=null,P=!1,Cr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Fe(t,e)),E.length===1&&!P&&Ee(Ne)};function Fe(t,e){this.fun=t,this.array=e}Fe.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;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,g,jr,l=er(()=>{d=H(Le()),g=H(Be()),jr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Gr={};rr(Gr,{getIdentifierType:()=>Mr,maxDecimals:()=>Pr,stringIsFloat:()=>Or,stringIsInteger:()=>Ur});module.exports=tr(Gr);l();l();var Ue=H(require("bignumber.js")),Ur=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Ue.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();var ze=H(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var Dr=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var De=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(De||{}),ot=I(I({},M.WindowProviderRequestEnums),De),Oe=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Oe||{}),at=I(I({},M.WindowProviderResponseEnums),Oe);l();l();l();l();l();l();var oe={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Pe,egldLabel:kt}=oe["devnet"],{chainId:Me,egldLabel:At}=oe["testnet"],{chainId:Ge,egldLabel:_t}=oe["mainnet"];var Rt={["devnet"]:Pe,["testnet"]:Me,["mainnet"]:Ge},St={[Pe]:"devnet",[Me]:"testnet",[Ge]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var ae=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var We,Ve,se=String((Ve=(We=ae.safeWindow)==null?void 0:We.navigator)==null?void 0:Ve.userAgent),Ct=/^((?!chrome|android).)*safari/i.test(se),Bt=/firefox/i.test(se)&&/windows/i.test(se);var He=18;var qe="0";var Or=t=>{if(isNaN(t)||t==null||String(t).includes("Infinity"))return!1;let[e,r]=t.split(".");if(r)for(;r.charAt(r.length-1)===qe;)r=r.slice(0,-1);let n=r?[e,r].join("."):e,i=new ze.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};l();var Pr=(t,e)=>{let r=e===void 0?He:e;return!(t!=null&&t.toString().indexOf(".")>=0&&t.toString().split(".").pop().length>r)};l();var le={isEsdt:!1,isNft:!1,isEgld:!1};function Mr(t){let e=t==null?void 0:t.split("-").length;return e===2?W(I({},le),{isEsdt:!0}):e===3?W(I({},le),{isNft:!0}):W(I({},le),{isEgld:!0})}0&&(module.exports={getIdentifierType,maxDecimals,stringIsFloat,stringIsInteger});
|
|
1
|
+
"use strict";var Xe=Object.create;var G=Object.defineProperty,Ye=Object.defineProperties,Ke=Object.getOwnPropertyDescriptor,Ze=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertyNames,pe=Object.getOwnPropertySymbols,Qe=Object.getPrototypeOf,de=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var ue=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))de.call(e,r)&&ue(t,r,e[r]);if(pe)for(var r of pe(e))$e.call(e,r)&&ue(t,r,e[r]);return t},W=(t,e)=>Ye(t,Ze(e));var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},ge=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Je(e))!de.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=Ke(e,i))||n.enumerable});return t};var H=(t,e,r)=>(r=t!=null?Xe(Qe(t)):{},ge(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>ge(G({},"__esModule",{value:!0}),t);var he=V(q=>{"use strict";l();q.byteLength=ir;q.toByteArray=ar;q.fromByteArray=cr;var k=[],v=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,fe=K.length;F<fe;++F)k[F]=K[F],v[K.charCodeAt(F)]=F;var F,fe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function me(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ir(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=me(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(sr(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(lr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ye=V(Z=>{l();Z.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,m=p>>1,h=-7,u=r?i-1:0,T=r?-1:1,b=t[e+u];for(u+=T,o=b&(1<<-h)-1,b>>=-h,h+=c;h>0;o=o*256+t[e+u],u+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+u],u+=T,h-=8);if(o===0)o=1-m;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(b?-1:1)*a*Math.pow(2,o-n)};Z.write=function(t,e,r,n,i,o){var a,c,p,m=o*8-i-1,h=(1<<m)-1,u=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,U=n?1:-1,je=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=h?(c=0,a=h):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=U,c/=256,i-=8);for(a=a<<i|c,m+=i;m>0;t[r+b]=a&255,b+=U,a/=256,m-=8);t[r+b-U]|=je*128}});var Ee=V(O=>{"use strict";l();var J=he(),D=ye(),xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=mr;O.INSPECT_MAX_BYTES=50;var z=2147483647;O.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=pr();!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 pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return re(t)}return ve(t,e,r)}s.poolSize=8192;function ve(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return $(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=fr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return ve(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Te(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 ur(t,e,r){return Te(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function re(t){return Te(t),L(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ke(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:te(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function $(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function fr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?L(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function te(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function mr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ke(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Le(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ke;function hr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Rr(this,e,r);case"utf8":case"utf-8":return _e(this,e,r);case"ascii":return Ar(this,e,r);case"latin1":case"binary":return _r(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?_e(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};xe&&(s.prototype[xe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),m=this.slice(i,o),h=e.slice(r,n),u=0;u<p;++u)if(m[u]!==h[u]){a=m[u],c=h[u];break}return a<c?-1:c<a?1:0};function Ae(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ne(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:we(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):we(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function we(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,U){return o===1?b[U]:b.readUInt16BE(U*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(p(t,m)===p(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===c)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+c>a&&(r=a-c),m=r;m>=0;m--){for(var u=!0,T=0;T<c;T++)if(p(t,m+T)!==p(e,T)){u=!1;break}if(u)return m}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Ae(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Ae(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ne(c))return a;t[r+a]=c}return a}function xr(t,e,r,n){return j(ee(e,t.length-r),t,r,n)}function wr(t,e,r,n){return j(Er(e),t,r,n)}function br(t,e,r,n){return j(Le(e),t,r,n)}function vr(t,e,r,n){return j(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function _e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,m,h,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],m=t[i+2],(p&192)===128&&(m&192)===128&&(u=(o&15)<<12|(p&63)<<6|m&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],m=t[i+2],h=t[i+3],(p&192)===128&&(m&192)===128&&(h&192)===128&&(u=(o&15)<<18|(p&63)<<12|(m&63)<<6|h&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return kr(n)}var be=4096;function kr(t){var e=t.length;if(e<=be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=be));return r}function Ar(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Rr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Fr[t[o]];return i}function Sr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Re(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Se(t,e,r,n,i){return e=+e,r=r>>>0,i||Re(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Se(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Se(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||Re(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Ir=/[^+/0-9A-Za-z-_]/g;function Lr(t){if(t=t.split("=")[0],t=t.trim().replace(Ir,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Er(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Le(t){return J.toByteArray(Lr(t))}function j(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ne(t){return t!==t}var Fr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ue=V((zr,Be)=>{l();var y=Be.exports={},_,R;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=ie}catch(t){_=ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=oe}catch(t){R=oe}})();function Ne(t){if(_===setTimeout)return setTimeout(t,0);if((_===ie||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Cr(t){if(R===clearTimeout)return clearTimeout(t);if((R===oe||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var E=[],P=!1,B,X=-1;function Br(){!P||!B||(P=!1,B.length?E=B.concat(E):X=-1,E.length&&Fe())}function Fe(){if(!P){var t=Ne(Br);P=!0;for(var e=E.length;e;){for(B=E,E=[];++X<e;)B&&B[X].run();X=-1,e=E.length}B=null,P=!1,Cr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Ce(t,e)),E.length===1&&!P&&Ne(Fe)};function Ce(t,e){this.fun=t,this.array=e}Ce.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;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,g,jr,l=er(()=>{d=H(Ee()),g=H(Ue()),jr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Gr={};rr(Gr,{getIdentifierType:()=>Mr,maxDecimals:()=>Pr,stringIsFloat:()=>Or,stringIsInteger:()=>Ur});module.exports=tr(Gr);l();l();var De=H(require("bignumber.js")),Ur=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new De.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();var Y=H(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var Dr=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Oe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Oe||{}),ot=I(I({},M.WindowProviderRequestEnums),Oe),Pe=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Pe||{}),at=I(I({},M.WindowProviderResponseEnums),Pe);l();l();l();l();l();l();var ae={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Me,egldLabel:kt}=ae["devnet"],{chainId:Ge,egldLabel:At}=ae["testnet"],{chainId:We,egldLabel:_t}=ae["mainnet"];var Rt={["devnet"]:Me,["testnet"]:Ge,["mainnet"]:We},St={[Me]:"devnet",[Ge]:"testnet",[We]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var se=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Ve,He,le=String((He=(Ve=se.safeWindow)==null?void 0:Ve.navigator)==null?void 0:He.userAgent),Ct=/^((?!chrome|android).)*safari/i.test(le),Bt=/firefox/i.test(le)&&/windows/i.test(le);var qe=18;var ze="0";var Or=t=>{if(isNaN(t)||t==null||String(t).includes("Infinity"))return!1;let[e,r]=t.split(".");if(r){let o=r.split("").every(a=>!isNaN(parseInt(a)));for(Y.default.set({DECIMAL_PLACES:o?r.length:Y.default.config().DECIMAL_PLACES});r.charAt(r.length-1)===ze;)r=r.slice(0,-1)}let n=r?[e,r].join("."):e,i=new Y.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};l();var Pr=(t,e)=>{let r=e===void 0?qe:e;return!(t!=null&&t.toString().indexOf(".")>=0&&t.toString().split(".").pop().length>r)};l();var ce={isEsdt:!1,isNft:!1,isEgld:!1};function Mr(t){let e=t==null?void 0:t.split("-").length;return e===2?W(I({},ce),{isEsdt:!0}):e===3?W(I({},ce),{isNft:!0}):W(I({},ce),{isEgld:!0})}0&&(module.exports={getIdentifierType,maxDecimals,stringIsFloat,stringIsInteger});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|