@multiversx/sdk-dapp 2.8.5 → 2.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/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/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-GS6HJLZT.js → chunk-23V4EWR6.js} +2 -2
- package/__chunks__/{chunk-VYDY4AQR.js → chunk-27HHZHC3.js} +2 -2
- package/__chunks__/{chunk-BA2ZPL2G.js → chunk-2BB6LW6O.js} +2 -2
- package/__chunks__/{chunk-XX66RRCJ.js → chunk-2DPI5E3W.js} +2 -2
- package/__chunks__/{chunk-FP26R7AX.js → chunk-2QUSEUT4.js} +2 -2
- package/__chunks__/{chunk-54ZTSEQ5.js → chunk-2QZSUGLK.js} +2 -2
- package/__chunks__/{chunk-YKKX7VTP.js → chunk-2YVBZL56.js} +2 -2
- package/__chunks__/{chunk-6METVVCY.js → chunk-3CUFCCHN.js} +2 -2
- package/__chunks__/{chunk-NSEU7FDE.js → chunk-3EOVBK4H.js} +2 -2
- package/__chunks__/chunk-3LTTE7Z4.js +2 -0
- package/__chunks__/{chunk-G5SFDK7J.js → chunk-3RRHOO6Q.js} +2 -2
- package/__chunks__/{chunk-W7LZILLC.js → chunk-3SFC2GLJ.js} +2 -2
- package/__chunks__/{chunk-EDDPV3NE.js → chunk-3Z4WULR6.js} +2 -2
- package/__chunks__/{chunk-DXPKJNDE.js → chunk-47J5ACB5.js} +2 -2
- package/__chunks__/{chunk-FXGUPH2W.js → chunk-47LI6T2V.js} +2 -2
- package/__chunks__/{chunk-EQJQRYF5.js → chunk-4ALRWZZQ.js} +2 -2
- package/__chunks__/chunk-4G4EWYKO.js +2 -0
- package/__chunks__/{chunk-SGK2VHTJ.js → chunk-4HQ3HNGC.js} +2 -2
- package/__chunks__/{chunk-PTJNZVG2.js → chunk-4JB5QVKY.js} +2 -2
- package/__chunks__/{chunk-WKA6UPHX.js → chunk-4JKMMUID.js} +2 -2
- package/__chunks__/{chunk-U46EN25L.js → chunk-4MGZX5SO.js} +2 -2
- package/__chunks__/{chunk-7WQENNA3.js → chunk-4MI42IXU.js} +2 -2
- package/__chunks__/{chunk-DV75PUIL.js → chunk-4P3LJAUR.js} +2 -2
- package/__chunks__/{chunk-2SSJ2YKM.js → chunk-4RKQJ2QT.js} +2 -2
- package/__chunks__/{chunk-ILLMOGA7.js → chunk-4Y7CGA35.js} +2 -2
- package/__chunks__/chunk-53BQDHVS.js +2 -0
- package/__chunks__/chunk-573MD3HA.js +2 -0
- package/__chunks__/{chunk-QNY7VVUN.js → chunk-5DS4QT2H.js} +2 -2
- package/__chunks__/{chunk-5XVRM6XP.js → chunk-5FF4GQ5B.js} +2 -2
- package/__chunks__/{chunk-VTAWEOCS.js → chunk-5MD4G7OU.js} +2 -2
- package/__chunks__/{chunk-TTYMX7BT.js → chunk-5WX4CALV.js} +2 -2
- package/__chunks__/chunk-67ZEEHNB.js +2 -0
- package/__chunks__/{chunk-LHDZVAZF.js → chunk-6A26JFI6.js} +2 -2
- package/__chunks__/chunk-6FUSRKDM.js +2 -0
- package/__chunks__/{chunk-WVD4J544.js → chunk-6K7DK4BV.js} +2 -2
- package/__chunks__/{chunk-26ZJFITF.js → chunk-6KSF6FWJ.js} +2 -2
- package/__chunks__/{chunk-KQ4YTMGX.js → chunk-6KY36DKF.js} +2 -2
- package/__chunks__/chunk-6LEY24MG.js +2 -0
- package/__chunks__/chunk-6LITAK4Z.js +2 -0
- package/__chunks__/{chunk-EK2OJMYC.js → chunk-6LW3MPXQ.js} +2 -2
- package/__chunks__/{chunk-5LVCTUUY.js → chunk-6UNQJUWL.js} +2 -2
- package/__chunks__/{chunk-QU5E3AUX.js → chunk-6YFMGTBJ.js} +2 -2
- package/__chunks__/chunk-72NPJ7U6.js +2 -0
- package/__chunks__/{chunk-QH6XD7FF.js → chunk-73KODBLR.js} +2 -2
- package/__chunks__/{chunk-2GLDUTJG.js → chunk-74RGGNQE.js} +2 -2
- package/__chunks__/{chunk-YQYOGTKG.js → chunk-77DECFQY.js} +2 -2
- package/__chunks__/{chunk-ZJ54DLN6.js → chunk-77JEI7XJ.js} +2 -2
- package/__chunks__/{chunk-KKYUPTDF.js → chunk-7IQDNRGT.js} +2 -2
- package/__chunks__/chunk-7JGJFFVM.js +2 -0
- package/__chunks__/{chunk-GHSMZJKF.js → chunk-7M3KNDRD.js} +2 -2
- package/__chunks__/chunk-7S7PQZ5T.js +2 -0
- package/__chunks__/{chunk-PFDSWMCA.js → chunk-A2IXF222.js} +2 -2
- package/__chunks__/{chunk-UCIOXYG7.js → chunk-A4SQDGPF.js} +2 -2
- package/__chunks__/{chunk-PF57YMQ4.js → chunk-A6LP7GVR.js} +2 -2
- package/__chunks__/{chunk-HNJYC4EB.js → chunk-AFPIMSQ3.js} +2 -2
- package/__chunks__/{chunk-5FJ5AR5R.js → chunk-AHQRHYRO.js} +2 -2
- package/__chunks__/{chunk-A43MGEZS.js → chunk-B25RPITH.js} +2 -2
- package/__chunks__/{chunk-2C3YYZ5L.js → chunk-B2RKB42J.js} +2 -2
- package/__chunks__/{chunk-X26JPWE6.js → chunk-B3AXHK5F.js} +2 -2
- package/__chunks__/{chunk-CRXWPZPY.js → chunk-B3ILFYYH.js} +2 -2
- package/__chunks__/{chunk-ACQNMKRR.js → chunk-BF2PN3VB.js} +2 -2
- package/__chunks__/{chunk-ZXSHG6WE.js → chunk-BFOC3ZMG.js} +2 -2
- package/__chunks__/{chunk-A3RVUJJA.js → chunk-BMJLZLZM.js} +2 -2
- package/__chunks__/chunk-BNEETMBI.js +2 -0
- package/__chunks__/chunk-BNMR3XO4.js +2 -0
- package/__chunks__/{chunk-RVD4LBUP.js → chunk-BOKSFKJF.js} +2 -2
- package/__chunks__/{chunk-KLOPABPR.js → chunk-BYS7QALE.js} +2 -2
- package/__chunks__/{chunk-OXWKNWBA.js → chunk-CI6Z2BAF.js} +2 -2
- package/__chunks__/{chunk-BOG7TTXG.js → chunk-COV3NRWK.js} +2 -2
- package/__chunks__/{chunk-R3S3GBRF.js → chunk-CPPFVM42.js} +2 -2
- package/__chunks__/{chunk-WNSHEGIH.js → chunk-CRI42HNH.js} +2 -2
- package/__chunks__/{chunk-GS5AQB2N.js → chunk-CUFA5NAA.js} +2 -2
- package/__chunks__/{chunk-XYVUQB6L.js → chunk-CY7H7XN3.js} +2 -2
- package/__chunks__/{chunk-A6CTPEDF.js → chunk-D2Z7XPJA.js} +2 -2
- package/__chunks__/{chunk-6RM5F6B7.js → chunk-D65VO5NP.js} +2 -2
- package/__chunks__/{chunk-SLHJHRDG.js → chunk-DCXJRPKX.js} +2 -2
- package/__chunks__/{chunk-YRCUGAVR.js → chunk-DF24IGER.js} +2 -2
- package/__chunks__/{chunk-V3FDAB7B.js → chunk-DG7FFCMC.js} +2 -2
- package/__chunks__/{chunk-4P3ESYFB.js → chunk-DHYV75O3.js} +2 -2
- package/__chunks__/{chunk-DR45L5ZW.js → chunk-DO7UWPFB.js} +2 -2
- package/__chunks__/{chunk-PW6YTJLG.js → chunk-DQ2PRTPV.js} +2 -2
- package/__chunks__/{chunk-CVQTFYDA.js → chunk-DQ74GUK3.js} +2 -2
- package/__chunks__/{chunk-35XRH5YO.js → chunk-DQLFYAJF.js} +2 -2
- package/__chunks__/chunk-DTX32CUJ.js +2 -0
- package/__chunks__/{chunk-LFRMYD5N.js → chunk-DU5JJJHS.js} +2 -2
- package/__chunks__/{chunk-6RRAKU4R.js → chunk-E7GX6TO4.js} +2 -2
- package/__chunks__/{chunk-MONFLPCV.js → chunk-EBMIHN52.js} +2 -2
- package/__chunks__/chunk-EBUFLVTW.js +2 -0
- package/__chunks__/{chunk-LQVOQZ2Z.js → chunk-EIHQ5QAQ.js} +2 -2
- package/__chunks__/{chunk-JSTXHRPF.js → chunk-EIYXU6DX.js} +2 -2
- package/__chunks__/{chunk-4UJNHEBL.js → chunk-ELIQXNO3.js} +2 -2
- package/__chunks__/{chunk-HHZV7D63.js → chunk-ELPKQVAL.js} +2 -2
- package/__chunks__/{chunk-U7RDI4SM.js → chunk-EN36KS5J.js} +2 -2
- package/__chunks__/{chunk-5G4U3FMS.js → chunk-EVFPM5QZ.js} +2 -2
- package/__chunks__/{chunk-7H5YSU4Q.js → chunk-EVUACURD.js} +2 -2
- package/__chunks__/{chunk-3UUAMXNQ.js → chunk-F2EJ4NBK.js} +2 -2
- package/__chunks__/{chunk-ZIKKB6YX.js → chunk-F4Z4BQFP.js} +2 -2
- package/__chunks__/{chunk-2736QXUL.js → chunk-F536LQRD.js} +2 -2
- package/__chunks__/{chunk-VWPPW3QQ.js → chunk-F5N57CYV.js} +2 -2
- package/__chunks__/{chunk-B2DXLHFG.js → chunk-FDH2IBTM.js} +2 -2
- package/__chunks__/{chunk-KAM4B4VN.js → chunk-FE2XDCKI.js} +2 -2
- package/__chunks__/{chunk-DH27IPAK.js → chunk-FNO4F4XU.js} +2 -2
- package/__chunks__/{chunk-6WERDF6Z.js → chunk-FOEPS273.js} +2 -2
- package/__chunks__/{chunk-WFPVM7XI.js → chunk-FOTM2EHF.js} +2 -2
- package/__chunks__/{chunk-HA6AP7PO.js → chunk-FXJLSZIP.js} +2 -2
- package/__chunks__/{chunk-7X3ATYAR.js → chunk-FXKLPJUW.js} +2 -2
- package/__chunks__/{chunk-BGSCXB2N.js → chunk-GG6RZBEW.js} +2 -2
- package/__chunks__/chunk-GHXKZA4W.js +2 -0
- package/__chunks__/{chunk-WYPOPDEK.js → chunk-GJBBAXJV.js} +2 -2
- package/__chunks__/chunk-GK63BH64.js +2 -0
- package/__chunks__/{chunk-YAFNHDUR.js → chunk-GNZDKRCA.js} +2 -2
- package/__chunks__/{chunk-IX2VX3E2.js → chunk-GPNUHVOM.js} +2 -2
- package/__chunks__/{chunk-5RGNESSR.js → chunk-GQMTJB4L.js} +2 -2
- package/__chunks__/{chunk-SU4SH37S.js → chunk-GSSXFF46.js} +2 -2
- package/__chunks__/{chunk-YRDNCWJW.js → chunk-GVMLSXIC.js} +2 -2
- package/__chunks__/{chunk-Z55BDNGH.js → chunk-GXOJLFD4.js} +2 -2
- package/__chunks__/chunk-GZMTC35J.js +2 -0
- package/__chunks__/chunk-H3LMBICV.js +2 -0
- package/__chunks__/{chunk-PIIC6ZNG.js → chunk-HEMJW4UP.js} +2 -2
- package/__chunks__/{chunk-XPX4OKXG.js → chunk-HF7ILRBL.js} +2 -2
- package/__chunks__/{chunk-GIYZHATY.js → chunk-HK7SHFC7.js} +2 -2
- package/__chunks__/chunk-HP3L7RUD.js +2 -0
- package/__chunks__/{chunk-NUZF7HJ7.js → chunk-HQYSBDE7.js} +2 -2
- package/__chunks__/{chunk-OIGIOS7N.js → chunk-HWDGDPLP.js} +2 -2
- package/__chunks__/{chunk-ZKPBZO4S.js → chunk-I3DMSSAU.js} +2 -2
- package/__chunks__/{chunk-5YDLOWAE.js → chunk-IAZWDFI7.js} +2 -2
- package/__chunks__/{chunk-GW7FG43P.js → chunk-IIXY6EVM.js} +2 -2
- package/__chunks__/{chunk-6GFHYUPK.js → chunk-ILI6V46A.js} +2 -2
- package/__chunks__/{chunk-UH6PGRAV.js → chunk-IQV54UKF.js} +2 -2
- package/__chunks__/{chunk-WFHOHG3Z.js → chunk-ISWYWGYF.js} +2 -2
- package/__chunks__/{chunk-2M25PYL7.js → chunk-IV2PWXWW.js} +2 -2
- package/__chunks__/chunk-J2VDNLD5.js +2 -0
- package/__chunks__/{chunk-CYMNJYOT.js → chunk-JAQOVDY4.js} +2 -2
- package/__chunks__/{chunk-VBV4IR3F.js → chunk-JTXTYAX4.js} +2 -2
- package/__chunks__/{chunk-2NB6K2AS.js → chunk-K4P3Q4G6.js} +2 -2
- package/__chunks__/{chunk-LXWQKMKY.js → chunk-K5AYECMY.js} +2 -2
- package/__chunks__/chunk-K6MC7S66.js +2 -0
- package/__chunks__/{chunk-QXBR6DSI.js → chunk-K7OKFHDI.js} +2 -2
- package/__chunks__/{chunk-TNJRCS6C.js → chunk-KCOIYEPV.js} +2 -2
- package/__chunks__/{chunk-AQQBB5MJ.js → chunk-KE3UZZPK.js} +2 -2
- package/__chunks__/{chunk-6UBKGHVU.js → chunk-KHTHET32.js} +2 -2
- package/__chunks__/{chunk-T2N2FLZB.js → chunk-KJD27PBB.js} +2 -2
- package/__chunks__/chunk-KKVFNX7Q.js +2 -0
- package/__chunks__/{chunk-SMAM2FXU.js → chunk-KO4CKUQ3.js} +2 -2
- package/__chunks__/chunk-KQCX4VG2.js +2 -0
- package/__chunks__/{chunk-4PSQ762B.js → chunk-KQM2BOQR.js} +2 -2
- package/__chunks__/{chunk-FPK4LCVU.js → chunk-KRGNGXNM.js} +2 -2
- package/__chunks__/chunk-KV6BSLXQ.js +2 -0
- package/__chunks__/chunk-KVAITXAV.js +2 -0
- package/__chunks__/{chunk-CRTGGESP.js → chunk-KZFZMU4Q.js} +2 -2
- package/__chunks__/{chunk-ALAK4GTA.js → chunk-L3JYP3XO.js} +2 -2
- package/__chunks__/{chunk-ZLXYL4KE.js → chunk-LF6VJNCF.js} +2 -2
- package/__chunks__/{chunk-DADEQIZ7.js → chunk-LKDW3XH3.js} +2 -2
- package/__chunks__/{chunk-DTI5KUZE.js → chunk-LKENFOWD.js} +2 -2
- package/__chunks__/chunk-LM64ZHBF.js +2 -0
- package/__chunks__/{chunk-BOR3D2OB.js → chunk-M2LAMT4S.js} +2 -2
- package/__chunks__/{chunk-2VLN4GAG.js → chunk-M43L3JXS.js} +2 -2
- package/__chunks__/{chunk-7J7LEURM.js → chunk-M7KYIVXW.js} +2 -2
- package/__chunks__/chunk-MAPKARLD.js +2 -0
- package/__chunks__/{chunk-UQD4NUXE.js → chunk-MDZPOO3F.js} +2 -2
- package/__chunks__/{chunk-WUOUATRU.js → chunk-MLSI3RC2.js} +2 -2
- package/__chunks__/{chunk-3JPJW72R.js → chunk-N6ZG65AM.js} +2 -2
- package/__chunks__/{chunk-VEWE7U4G.js → chunk-N7QEZOLU.js} +2 -2
- package/__chunks__/{chunk-3QT275JB.js → chunk-NANO4X2A.js} +2 -2
- package/__chunks__/{chunk-M7264WIR.js → chunk-NCR3TVLR.js} +2 -2
- package/__chunks__/{chunk-46W3A5KZ.js → chunk-NIBU432U.js} +2 -2
- package/__chunks__/{chunk-YHGIBDJL.js → chunk-NOBUX6VQ.js} +2 -2
- package/__chunks__/{chunk-JPDU4UXA.js → chunk-NZLLBXWM.js} +2 -2
- package/__chunks__/{chunk-XGJFR5OS.js → chunk-O65BW737.js} +2 -2
- package/__chunks__/{chunk-M2KXYI2A.js → chunk-OCVD7SVS.js} +2 -2
- package/__chunks__/{chunk-J6PK4YWJ.js → chunk-ODQ5XNPU.js} +2 -2
- package/__chunks__/chunk-OGWLSCJG.js +2 -0
- package/__chunks__/{chunk-HKTCXAEV.js → chunk-OM457L3M.js} +2 -2
- package/__chunks__/{chunk-FJ3QN3PS.js → chunk-OQAGSV22.js} +2 -2
- package/__chunks__/{chunk-FFWGADDT.js → chunk-P6MWBKH3.js} +2 -2
- package/__chunks__/{chunk-4CZXUHKR.js → chunk-P7STLJJI.js} +2 -2
- package/__chunks__/{chunk-23JSCKP4.js → chunk-PINKYRXT.js} +2 -2
- package/__chunks__/{chunk-6JLZW2OA.js → chunk-PJ6E34ZL.js} +2 -2
- package/__chunks__/chunk-PUOKVKOC.js +2 -0
- package/__chunks__/{chunk-WRWKNPRJ.js → chunk-QB3XGANM.js} +2 -2
- package/__chunks__/{chunk-FXN56EN4.js → chunk-QBRSJGQE.js} +2 -2
- package/__chunks__/chunk-QEZFF4AV.js +2 -0
- package/__chunks__/{chunk-RWPTHDGS.js → chunk-QNJU3UH4.js} +2 -2
- package/__chunks__/{chunk-COMCQ2RH.js → chunk-QPZBCE35.js} +2 -2
- package/__chunks__/{chunk-OYQQHGRD.js → chunk-QRLD5NAN.js} +2 -2
- package/__chunks__/{chunk-D76JYIBI.js → chunk-QUMYRH4H.js} +2 -2
- package/__chunks__/chunk-QUYE5ZBI.js +2 -0
- package/__chunks__/{chunk-JDTK5ZGT.js → chunk-QVBPB2T7.js} +2 -2
- package/__chunks__/{chunk-75OXB76N.js → chunk-R3FSXFX3.js} +2 -2
- package/__chunks__/chunk-RAERFN6K.js +2 -0
- package/__chunks__/chunk-RBHVYE2Y.js +2 -0
- package/__chunks__/chunk-RCD64P2M.js +2 -0
- package/__chunks__/{chunk-LMBBAIK5.js → chunk-RDWURAZH.js} +2 -2
- package/__chunks__/{chunk-NZN4JRXS.js → chunk-RRN3BAHE.js} +2 -2
- package/__chunks__/{chunk-QPM6EBHW.js → chunk-RXNYA6SF.js} +2 -2
- package/__chunks__/{chunk-4EVSF3PS.js → chunk-S7JDYKHM.js} +2 -2
- package/__chunks__/chunk-S7NHXRCC.js +2 -0
- package/__chunks__/{chunk-X2A2SM5T.js → chunk-SA6GTLVC.js} +2 -2
- package/__chunks__/{chunk-TXBKGILP.js → chunk-SBZWUOMH.js} +2 -2
- package/__chunks__/chunk-SCCXHHWP.js +2 -0
- package/__chunks__/{chunk-JNZ6IL2X.js → chunk-SHGJKBQ2.js} +2 -2
- package/__chunks__/{chunk-JQM25QQP.js → chunk-SL7V5DPB.js} +2 -2
- package/__chunks__/{chunk-WJB6D7BH.js → chunk-SOPJ4FVA.js} +2 -2
- package/__chunks__/{chunk-OX6HVB6Z.js → chunk-SS5LXDIB.js} +2 -2
- package/__chunks__/{chunk-STQRXGXK.js → chunk-SWIGSNZJ.js} +2 -2
- package/__chunks__/{chunk-VEDRIMSP.js → chunk-SZ4YBWGS.js} +2 -2
- package/__chunks__/{chunk-GVPT5QJS.js → chunk-T5NLJP65.js} +2 -2
- package/__chunks__/{chunk-I7HYXEHX.js → chunk-TFUYS7DO.js} +2 -2
- package/__chunks__/{chunk-ROV4X74D.js → chunk-TTCHRNRE.js} +2 -2
- package/__chunks__/chunk-TTS3WFEE.js +2 -0
- package/__chunks__/{chunk-4AOLZUI5.js → chunk-U6CY6KLT.js} +2 -2
- package/__chunks__/{chunk-KMLW3DOC.js → chunk-U6QHRFQ6.js} +2 -2
- package/__chunks__/{chunk-JSYMQHQS.js → chunk-U77UZINY.js} +2 -2
- package/__chunks__/{chunk-RTGCGOEH.js → chunk-UFDKARKU.js} +2 -2
- package/__chunks__/{chunk-UVZAZGRS.js → chunk-UHDCW2GI.js} +2 -2
- package/__chunks__/{chunk-U7ABFX65.js → chunk-UKXM7MVK.js} +2 -2
- package/__chunks__/{chunk-LVYMVB5S.js → chunk-UYKSTJCI.js} +2 -2
- package/__chunks__/{chunk-JR6UFMPN.js → chunk-V5CRB7KN.js} +2 -2
- package/__chunks__/{chunk-RWUGWUZ3.js → chunk-VAO473HJ.js} +2 -2
- package/__chunks__/{chunk-H3FNY2CC.js → chunk-VBLZKSYV.js} +2 -2
- package/__chunks__/chunk-VC4S5W27.js +2 -0
- package/__chunks__/{chunk-AIB7JPIU.js → chunk-VCVEL4JK.js} +2 -2
- package/__chunks__/{chunk-ZUIERUVA.js → chunk-VO7YQXK7.js} +2 -2
- package/__chunks__/{chunk-4UBNPFKQ.js → chunk-VTJ7ZV2L.js} +2 -2
- package/__chunks__/chunk-VUJTIQ5T.js +2 -0
- package/__chunks__/{chunk-VWCTHSCA.js → chunk-VVPMSN2M.js} +2 -2
- package/__chunks__/{chunk-CBNM53GV.js → chunk-VY4WH2HL.js} +2 -2
- package/__chunks__/{chunk-4DERMSXM.js → chunk-W7VTJPZR.js} +2 -2
- package/__chunks__/chunk-WEOPJLNL.js +2 -0
- package/__chunks__/chunk-WFAVXT4Z.js +2 -0
- package/__chunks__/{chunk-XC7MTS2B.js → chunk-WFXS633C.js} +2 -2
- package/__chunks__/{chunk-X7VSTJVD.js → chunk-WLSEVWTK.js} +2 -2
- package/__chunks__/{chunk-YHDMIMED.js → chunk-WPD43RUV.js} +2 -2
- package/__chunks__/{chunk-GFUPEEWS.js → chunk-WUBNBBRC.js} +2 -2
- package/__chunks__/chunk-WVWK6FVA.js +2 -0
- package/__chunks__/{chunk-XI6VMWXQ.js → chunk-WWSWE52T.js} +2 -2
- package/__chunks__/{chunk-UH7Q27YS.js → chunk-WXEXZGP7.js} +2 -2
- package/__chunks__/{chunk-PIFV6PQF.js → chunk-X2L7IGUP.js} +2 -2
- package/__chunks__/chunk-XBJLTGW4.js +2 -0
- package/__chunks__/{chunk-ERT7NKUC.js → chunk-XDDEM6PT.js} +2 -2
- package/__chunks__/{chunk-QB3UBBN7.js → chunk-XIHOENSC.js} +2 -2
- package/__chunks__/{chunk-3X2T57MR.js → chunk-XKMOG6SS.js} +2 -2
- package/__chunks__/{chunk-FOIFAZEF.js → chunk-XNHZJ2SC.js} +2 -2
- package/__chunks__/{chunk-PE7VNGP7.js → chunk-XRO5ERIE.js} +2 -2
- package/__chunks__/{chunk-3ULZPNUR.js → chunk-XT5BA43Z.js} +2 -2
- package/__chunks__/{chunk-FKD6BFBK.js → chunk-XTPO4MAO.js} +2 -2
- package/__chunks__/{chunk-PIJCCMC4.js → chunk-XUOXOTNR.js} +2 -2
- package/__chunks__/{chunk-NZ33RJGI.js → chunk-XUVVP5PW.js} +2 -2
- package/__chunks__/{chunk-VL5STY33.js → chunk-XUWCMUDF.js} +2 -2
- package/__chunks__/{chunk-4X3GINLE.js → chunk-XZOVSJUI.js} +2 -2
- package/__chunks__/{chunk-DCWRUDBH.js → chunk-YDIQ5IHA.js} +2 -2
- package/__chunks__/{chunk-EJNFO3FU.js → chunk-YKCZ2UKE.js} +2 -2
- package/__chunks__/{chunk-4BKMGOES.js → chunk-YKKS3O3Z.js} +2 -2
- package/__chunks__/{chunk-E5KBAFW4.js → chunk-YLMRTW5R.js} +2 -2
- package/__chunks__/{chunk-6UVEWZKX.js → chunk-YRHGZ4HS.js} +2 -2
- package/__chunks__/{chunk-IDUIQPIO.js → chunk-YU5OYJX7.js} +2 -2
- package/__chunks__/{chunk-BP5GRJNY.js → chunk-YUIINDCV.js} +2 -2
- package/__chunks__/{chunk-AMCEHQ3B.js → chunk-YWT4XNXN.js} +2 -2
- package/__chunks__/chunk-Z4BLO2TH.js +2 -0
- package/__chunks__/{chunk-KUQIYHQR.js → chunk-Z6PNQGOE.js} +2 -2
- package/__chunks__/{chunk-DCZOXC2M.js → chunk-Z7HQTVYF.js} +2 -2
- package/__chunks__/chunk-ZAFZIALH.js +2 -0
- package/__chunks__/{chunk-ITXDP2DE.js → chunk-ZD2DEAJR.js} +2 -2
- package/__chunks__/{chunk-4DLZ2JMF.js → chunk-ZEEWQEXA.js} +2 -2
- package/__chunks__/{chunk-SJ3GJK44.js → chunk-ZFSJ4FRX.js} +2 -2
- package/__chunks__/chunk-ZFSZJPYH.js +2 -0
- package/__chunks__/{chunk-RO7QNHOJ.js → chunk-ZRGSKGMW.js} +2 -2
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +29 -29
- package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +27 -27
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +31 -31
- package/__commonjs/UI/TransactionInfo/index.js +29 -29
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/__commonjs/UI/index.js +51 -51
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/__commonjs/UI/walletConnect/index.js +1 -1
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/__commonjs/apiCalls/utils/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/hooks/account/index.js +1 -1
- package/__commonjs/hooks/account/useGetAccount.js +1 -1
- package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/__commonjs/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
- package/__commonjs/reduxStore/selectors/index.js +1 -1
- package/__commonjs/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/utils/account/getAccountShard.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/getIsLoggedIn.js +1 -1
- package/__commonjs/utils/index.js +3 -3
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/network/getChainID.js +1 -1
- package/__commonjs/utils/network/getEgldLabel.js +1 -1
- package/__commonjs/utils/network/getNetworkConfig.js +1 -1
- package/__commonjs/utils/network/index.js +1 -1
- package/__commonjs/utils/transactions/getAllTransactionsLink.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/__commonjs/utils/transactions/getTransactionLink.js +1 -1
- package/__commonjs/utils/transactions/index.js +4 -4
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScamFlag.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +4 -4
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.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/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/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getToken.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/suspiciousLink.d.ts +1 -1
- package/types/suspiciousLink.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/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/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScamFlag.d.ts +1 -1
- package/utils/transactions/transactionInfoHelpers/getScamFlag.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/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/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/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-257MQZJ7.js +0 -2
- package/__chunks__/chunk-2LLW6IVJ.js +0 -2
- package/__chunks__/chunk-2Q6WNGQ3.js +0 -2
- package/__chunks__/chunk-374772OF.js +0 -2
- package/__chunks__/chunk-3SRVL7NW.js +0 -2
- package/__chunks__/chunk-4SIXDSOL.js +0 -2
- package/__chunks__/chunk-4X5KCZ6J.js +0 -2
- package/__chunks__/chunk-5YY4FC5L.js +0 -2
- package/__chunks__/chunk-5ZXISSZ7.js +0 -2
- package/__chunks__/chunk-6T5YTSDO.js +0 -2
- package/__chunks__/chunk-72JZW4D4.js +0 -2
- package/__chunks__/chunk-77MJ4H2X.js +0 -2
- package/__chunks__/chunk-7BZUQTJT.js +0 -2
- package/__chunks__/chunk-D5NVSL2S.js +0 -2
- package/__chunks__/chunk-DJQVAF4K.js +0 -2
- package/__chunks__/chunk-EAK65F3A.js +0 -2
- package/__chunks__/chunk-ELLSRUGJ.js +0 -2
- package/__chunks__/chunk-FBDAZ2UU.js +0 -2
- package/__chunks__/chunk-GKFAI7FL.js +0 -2
- package/__chunks__/chunk-GSJZFGHK.js +0 -2
- package/__chunks__/chunk-GSOVFG26.js +0 -2
- package/__chunks__/chunk-GSUUHI7J.js +0 -2
- package/__chunks__/chunk-I42LQFAH.js +0 -2
- package/__chunks__/chunk-I6QS6Z2Y.js +0 -2
- package/__chunks__/chunk-ICXMCLJS.js +0 -2
- package/__chunks__/chunk-IOPYMHW4.js +0 -2
- package/__chunks__/chunk-IUGOLSWC.js +0 -2
- package/__chunks__/chunk-JCPJZUE5.js +0 -2
- package/__chunks__/chunk-JPYJYT7S.js +0 -2
- package/__chunks__/chunk-KCJKC2BG.js +0 -2
- package/__chunks__/chunk-LCU4TY25.js +0 -2
- package/__chunks__/chunk-LFCY6YND.js +0 -2
- package/__chunks__/chunk-LYKWMNOY.js +0 -2
- package/__chunks__/chunk-MW6CV76C.js +0 -2
- package/__chunks__/chunk-NB2UEIDR.js +0 -2
- package/__chunks__/chunk-NWBLGHEW.js +0 -2
- package/__chunks__/chunk-OTZ4VQBM.js +0 -2
- package/__chunks__/chunk-PHQITJCN.js +0 -2
- package/__chunks__/chunk-PQYTU7UW.js +0 -2
- package/__chunks__/chunk-QAVCUCZB.js +0 -2
- package/__chunks__/chunk-QKWFACPV.js +0 -2
- package/__chunks__/chunk-QYO7RWYF.js +0 -2
- package/__chunks__/chunk-RANC62GC.js +0 -2
- package/__chunks__/chunk-U76KYHMK.js +0 -2
- package/__chunks__/chunk-VAELNUTZ.js +0 -2
- package/__chunks__/chunk-WO7IDAN6.js +0 -2
- package/__chunks__/chunk-YUGUMBTX.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var xo=Object.create;var ue=Object.defineProperty,So=Object.defineProperties,wo=Object.getOwnPropertyDescriptor,bo=Object.getOwnPropertyDescriptors,Io=Object.getOwnPropertyNames,Se=Object.getOwnPropertySymbols,Ao=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable;var zt=(e,t,r)=>t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))Xe.call(t,r)&&zt(e,r,t[r]);if(Se)for(var r of Se(t))Kt.call(t,r)&&zt(e,r,t[r]);return e},w=(e,t)=>So(e,bo(t));var Yt=(e,t)=>{var r={};for(var n in e)Xe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Se)for(var n of Se(e))t.indexOf(n)<0&&Kt.call(e,n)&&(r[n]=e[n]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var we=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Z=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},Zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Io(t))!Xe.call(e,i)&&i!==r&&ue(e,i,{get:()=>t[i],enumerable:!(n=wo(t,i))||n.enumerable});return e};var b=(e,t,r)=>(r=e!=null?xo(Ao(e)):{},Zt(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),de=e=>Zt(ue({},"__esModule",{value:!0}),e);var Jt=we(be=>{"use strict";o();be.byteLength=ko;be.toByteArray=Lo;be.fromByteArray=Ro;var _=[],R=[],vo=typeof Uint8Array!="undefined"?Uint8Array:Array,Qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(X=0,Xt=Qe.length;X<Xt;++X)_[X]=Qe[X],R[Qe.charCodeAt(X)]=X;var X,Xt;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function Qt(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function ko(e){var t=Qt(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Eo(e,t,r){return(t+r)*3/4-r}function Lo(e){var t,r=Qt(e),n=r[0],i=r[1],l=new vo(Eo(e,n,i)),p=0,g=i>0?n-4:n,d;for(d=0;d<g;d+=4)t=R[e.charCodeAt(d)]<<18|R[e.charCodeAt(d+1)]<<12|R[e.charCodeAt(d+2)]<<6|R[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=R[e.charCodeAt(d)]<<2|R[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=R[e.charCodeAt(d)]<<10|R[e.charCodeAt(d+1)]<<4|R[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Do(e){return _[e>>18&63]+_[e>>12&63]+_[e>>6&63]+_[e&63]}function No(e,t,r){for(var n,i=[],l=t;l<r;l+=3)n=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Do(n));return i.join("")}function Ro(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,g=r-n;p<g;p+=l)i.push(No(e,p,p+l>g?g:p+l));return n===1?(t=e[r-1],i.push(_[t>>2]+_[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(_[t>>10]+_[t>>4&63]+_[t<<2&63]+"=")),i.join("")}});var er=we(Je=>{o();Je.read=function(e,t,r,n,i){var l,p,g=i*8-n-1,d=(1<<g)-1,T=d>>1,h=-7,y=r?i-1:0,k=r?-1:1,E=e[t+y];for(y+=k,l=E&(1<<-h)-1,E>>=-h,h+=g;h>0;l=l*256+e[t+y],y+=k,h-=8);for(p=l&(1<<-h)-1,l>>=-h,h+=n;h>0;p=p*256+e[t+y],y+=k,h-=8);if(l===0)l=1-T;else{if(l===d)return p?NaN:(E?-1:1)*(1/0);p=p+Math.pow(2,n),l=l-T}return(E?-1:1)*p*Math.pow(2,l-n)};Je.write=function(e,t,r,n,i,l){var p,g,d,T=l*8-i-1,h=(1<<T)-1,y=h>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:l-1,j=n?1:-1,V=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(g=isNaN(t)?1:0,p=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=k/d:t+=k*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=h?(g=0,p=h):p+y>=1?(g=(t*d-1)*Math.pow(2,i),p=p+y):(g=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=g&255,E+=j,g/=256,i-=8);for(p=p<<i|g,T+=i;T>0;e[r+E]=p&255,E+=j,p/=256,T-=8);e[r+E-j]|=V*128}});var gr=we(ne=>{"use strict";o();var et=Jt(),re=er(),tr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ne.Buffer=u;ne.SlowBuffer=Oo;ne.INSPECT_MAX_BYTES=50;var Ie=2147483647;ne.kMaxLength=Ie;u.TYPED_ARRAY_SUPPORT=Co();!u.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 Co(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function $(e){if(e>Ie)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ot(e)}return or(e,t,r)}u.poolSize=8192;function or(e,t,r){if(typeof e=="string")return Mo(e,t);if(ArrayBuffer.isView(e))return Po(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(M(e,ArrayBuffer)||e&&M(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(M(e,SharedArrayBuffer)||e&&M(e.buffer,SharedArrayBuffer)))return rt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=Fo(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return or(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function ir(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function _o(e,t,r){return ir(e),e<=0?$(e):t!==void 0?typeof r=="string"?$(e).fill(t,r):$(e).fill(t):$(e)}u.alloc=function(e,t,r){return _o(e,t,r)};function ot(e){return ir(e),$(e<0?0:it(e)|0)}u.allocUnsafe=function(e){return ot(e)};u.allocUnsafeSlow=function(e){return ot(e)};function Mo(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ar(e,t)|0,n=$(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function tt(e){for(var t=e.length<0?0:it(e.length)|0,r=$(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Po(e){if(M(e,Uint8Array)){var t=new Uint8Array(e);return rt(t.buffer,t.byteOffset,t.byteLength)}return tt(e)}function rt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function Fo(e){if(u.isBuffer(e)){var t=it(e.length)|0,r=$(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||at(e.length)?$(0):tt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tt(e.data)}function it(e){if(e>=Ie)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ie.toString(16)+" bytes");return e|0}function Oo(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(M(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),M(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,l=0,p=Math.min(n,i);l<p;++l)if(t[l]!==r[l]){n=t[l],i=r[l];break}return n<i?-1:i<n?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),l=0;for(n=0;n<t.length;++n){var p=t[n];if(M(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function ar(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||M(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return dr(e).length;default:if(i)return n?-1:nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=ar;function Bo(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ko(this,t,r);case"utf8":case"utf-8":return cr(this,t,r);case"ascii":return jo(this,t,r);case"latin1":case"binary":return zo(this,t,r);case"base64":return Wo(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yo(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function Q(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)Q(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)Q(this,r,r+3),Q(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)Q(this,r,r+7),Q(this,r+1,r+6),Q(this,r+2,r+5),Q(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?cr(this,0,t):Bo.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=ne.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};tr&&(u.prototype[tr]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,l){if(M(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||n>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=n)return 0;if(i>=l)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,g=n-r,d=Math.min(p,g),T=this.slice(i,l),h=t.slice(r,n),y=0;y<d;++y)if(T[y]!==h[y]){p=T[y],g=h[y];break}return p<g?-1:g<p?1:0};function sr(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,at(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,n)),u.isBuffer(t))return t.length===0?-1:rr(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):rr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function rr(e,t,r,n,i){var l=1,p=e.length,g=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,g/=2,r/=2}function d(E,j){return l===1?E[j]:E.readUInt16BE(j*l)}var T;if(i){var h=-1;for(T=r;T<p;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===g)return h*l}else h!==-1&&(T-=T-h),h=-1}else for(r+g>p&&(r=p-g),T=r;T>=0;T--){for(var y=!0,k=0;k<g;k++)if(d(e,T+k)!==d(t,k)){y=!1;break}if(y)return T}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return sr(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return sr(this,t,r,n,!1)};function Uo(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var l=t.length;n>l/2&&(n=l/2);for(var p=0;p<n;++p){var g=parseInt(t.substr(p*2,2),16);if(at(g))return p;e[r+p]=g}return p}function Vo(e,t,r,n){return Ae(nt(t,e.length-r),e,r,n)}function $o(e,t,r,n){return Ae(Qo(t),e,r,n)}function Go(e,t,r,n){return Ae(dr(t),e,r,n)}function Ho(e,t,r,n){return Ae(Jo(t,e.length-r),e,r,n)}u.prototype.write=function(t,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 l=this.length-r;if((n===void 0||n>l)&&(n=l),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Uo(this,t,r,n);case"utf8":case"utf-8":return Vo(this,t,r,n);case"ascii":case"latin1":case"binary":return $o(this,t,r,n);case"base64":return Go(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ho(this,t,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wo(e,t,r){return t===0&&r===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(t,r))}function cr(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var l=e[i],p=null,g=l>239?4:l>223?3:l>191?2:1;if(i+g<=r){var d,T,h,y;switch(g){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(l&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],T=e[i+2],h=e[i+3],(d&192)===128&&(T&192)===128&&(h&192)===128&&(y=(l&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,g=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=g}return qo(n)}var nr=4096;function qo(e){var t=e.length;if(t<=nr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=nr));return r}function jo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function zo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function Ko(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",l=t;l<r;++l)i+=ei[e[l]];return i}function Yo(e,t,r){for(var n=e.slice(t,r),i="",l=0;l<n.length-1;l+=2)i+=String.fromCharCode(n[l]+n[l+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function A(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||A(t,4,this.length),re.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||A(t,4,this.length),re.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||A(t,8,this.length),re.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||A(t,8,this.length),re.read(this,t,!1,52,8)};function D(e,t,r,n,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=1,g=0;for(this[r]=t&255;++g<n&&(p*=256);)this[r+g]=t/p&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=n-1,g=1;for(this[r+p]=t&255;--p>=0&&(g*=256);)this[r+p]=t/g&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=0,g=1,d=0;for(this[r]=t&255;++p<n&&(g*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=n-1,g=1,d=0;for(this[r+p]=t&255;--p>=0&&(g*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function lr(e,t,r,n,i,l){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function pr(e,t,r,n,i){return t=+t,r=r>>>0,i||lr(e,t,r,4,34028234663852886e22,-34028234663852886e22),re.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return pr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return pr(this,t,r,!1,n)};function ur(e,t,r,n,i){return t=+t,r=r>>>0,i||lr(e,t,r,8,17976931348623157e292,-17976931348623157e292),re.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return ur(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return ur(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.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),t.length-r<i-n&&(i=t.length-r+n);var l=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),l};u.prototype.fill=function(t,r,n,i){if(typeof t=="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"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));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,t||(t=0);var p;if(typeof t=="number")for(p=r;p<n;++p)this[p]=t;else{var g=u.isBuffer(t)?t:u.from(t,i),d=g.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=g[p%d]}return this};var Zo=/[^+/0-9A-Za-z-_]/g;function Xo(e){if(e=e.split("=")[0],e=e.trim().replace(Zo,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nt(e,t){t=t||1/0;for(var r,n=e.length,i=null,l=[],p=0;p<n;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===n){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Qo(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Jo(e,t){for(var r,n,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),n=r>>8,i=r%256,l.push(i),l.push(n);return l}function dr(e){return et.toByteArray(Xo(e))}function Ae(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function M(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function at(e){return e!==e}var ei=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var hr=we((Ea,yr)=>{o();var S=yr.exports={},P,F;function st(){throw new Error("setTimeout has not been defined")}function ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?P=setTimeout:P=st}catch(e){P=st}try{typeof clearTimeout=="function"?F=clearTimeout:F=ct}catch(e){F=ct}})();function mr(e){if(P===setTimeout)return setTimeout(e,0);if((P===st||!P)&&setTimeout)return P=setTimeout,setTimeout(e,0);try{return P(e,0)}catch(t){try{return P.call(null,e,0)}catch(r){return P.call(this,e,0)}}}function ti(e){if(F===clearTimeout)return clearTimeout(e);if((F===ct||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(e);try{return F(e)}catch(t){try{return F.call(null,e)}catch(r){return F.call(this,e)}}}var G=[],oe=!1,J,ve=-1;function ri(){!oe||!J||(oe=!1,J.length?G=J.concat(G):ve=-1,G.length&&fr())}function fr(){if(!oe){var e=mr(ri);oe=!0;for(var t=G.length;t;){for(J=G,G=[];++ve<t;)J&&J[ve].run();ve=-1,t=G.length}J=null,oe=!1,ti(e)}}S.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];G.push(new Tr(e,t)),G.length===1&&!oe&&mr(fr)};function Tr(e,t){this.fun=e,this.array=t}Tr.prototype.run=function(){this.fun.apply(null,this.array)};S.title="browser";S.browser=!0;S.env={};S.argv=[];S.version="";S.versions={};function H(){}S.on=H;S.addListener=H;S.once=H;S.off=H;S.removeListener=H;S.removeAllListeners=H;S.emit=H;S.prependListener=H;S.prependOnceListener=H;S.listeners=function(e){return[]};S.binding=function(e){throw new Error("process.binding is not supported")};S.cwd=function(){return"/"};S.chdir=function(e){throw new Error("process.chdir is not supported")};S.umask=function(){return 0}});var a,s,La,o=f(()=>{a=b(gr()),s=b(hr()),La=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var xr=f(()=>{"use strict";o()});var Sr=f(()=>{"use strict";o()});var wr=f(()=>{"use strict";o()});var br=f(()=>{"use strict";o()});var O=f(()=>{"use strict";o()});var Ir=f(()=>{"use strict";o()});var Ar=f(()=>{"use strict";o()});var L=f(()=>{"use strict";o()});var vr=f(()=>{"use strict";o()});var kr=f(()=>{"use strict";o()});var B=f(()=>{"use strict";o();Sr();wr();br();O();Ir();Ar();L();vr();kr()});var lt,Er,za,Lr,Ka,Dr,Ya,Za,Xa,Nr=f(()=>{"use strict";o();B();lt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Er,egldLabel:za}=lt["devnet"],{chainId:Lr,egldLabel:Ka}=lt["testnet"],{chainId:Dr,egldLabel:Ya}=lt["mainnet"],Za={["devnet"]:Er,["testnet"]:Lr,["mainnet"]:Dr},Xa={[Er]:"devnet",[Lr]:"testnet",[Dr]:"mainnet"}});var pt=f(()=>{"use strict";o()});var Rr=f(()=>{"use strict";o()});var Cr,ut=f(()=>{"use strict";o();Cr="transaction-status-toast-id"});var U,_r=f(()=>{"use strict";o();U=require("@multiversx/sdk-web-wallet-provider")});var dt,gt,Mr,ke,Pr,ie,I=f(()=>{"use strict";o();xr();Nr();pt();Rr();ut();_r();dt=5e4,gt=1e9,Mr=1,ke="logout",Pr="login",ie="0"});var Ee,mt=f(()=>{"use strict";o();Ee=()=>Date.now()/1e3});var Fr=f(()=>{"use strict";o()});var Or=f(()=>{"use strict";o()});var Br=f(()=>{"use strict";o();mt();Fr();Or()});var Tt={};Z(Tt,{getItem:()=>oi,localStorageKeys:()=>ee,removeItem:()=>ii,setItem:()=>ni});var ee,ft,ni,oi,ii,ge=f(()=>{"use strict";o();Br();ee={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ft=typeof localStorage!="undefined",ni=({key:e,data:t,expires:r})=>{!ft||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},oi=e=>{if(!ft)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ee()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ii=e=>{!ft||localStorage.removeItem(String(e))}});var yt={};Z(yt,{clear:()=>Gr,getItem:()=>Vr,removeItem:()=>$r,setItem:()=>Ur,storage:()=>ai});var Ur,Vr,$r,Gr,ai,Hr=f(()=>{"use strict";o();Ur=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Vr=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},$r=e=>sessionStorage.removeItem(String(e)),Gr=()=>sessionStorage.clear(),ai={setItem:Ur,getItem:Vr,removeItem:$r,clear:Gr}});var ae,Le=f(()=>{"use strict";o();ge();Hr();ae={session:yt,local:Tt}});var ht,v,De,W=f(()=>{"use strict";o();ht=require("@reduxjs/toolkit");I();v=(0,ht.createAction)(ke),De=(0,ht.createAction)(Pr,e=>({payload:e}))});var St,Wr,qr,Ne,xt,jr,zr,Es,Kr,Ls,Ds,Ns,Rs,Cs,_s,Ms,Yr,wt=f(()=>{"use strict";o();St=require("@multiversx/sdk-core"),Wr=require("@reduxjs/toolkit"),qr=require("redux-persist");I();Le();ge();W();Ne={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ie},xt={address:"",websocketEvent:null,accounts:{"":Ne},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},jr=(0,Wr.createSlice)({name:"accountInfoSlice",initialState:xt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new St.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ne},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(v,()=>(ae.local.removeItem(ee.loginExpiresAt),xt)),e.addCase(De,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new St.Address(n).hex()}),e.addCase(qr.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:n}=r.payload,{address:i,shard:l,accounts:p,publicKey:g}=n;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:xt.accounts,t.publicKey=g})}}),{setAccount:zr,setAddress:Es,setAccountNonce:Kr,setAccountShard:Ls,setLedgerAccount:Ds,updateLedgerAccount:Ns,setWalletConnectAccount:Rs,setIsAccountLoading:Cs,setAccountLoadingError:_s,setWebsocketEvent:Ms}=jr.actions,Yr=jr.reducer});function me(){return new Date().setHours(new Date().getHours()+24)}function fe(e){ae.local.setItem({key:ee.loginExpiresAt,data:e,expires:e})}var bt=f(()=>{"use strict";o();Le();ge()});var Xr,Zr,Qr,Ws,qs,js,zs,Ks,Ys,Jr,Zs,en,It=f(()=>{"use strict";o();Xr=require("@reduxjs/toolkit");bt();O();W();Zr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Qr=(0,Xr.createSlice)({name:"loginInfoSlice",initialState:Zr,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(v,()=>Zr),e.addCase(De,(t,r)=>{t.loginMethod=r.payload.loginMethod,fe(me())})}}),{setLoginMethod:Ws,setWalletConnectLogin:qs,setLedgerLogin:js,setTokenLogin:zs,setTokenLoginSignature:Ks,setWalletLogin:Ys,invalidateLoginSession:Jr,setLogoutRoute:Zs}=Qr.actions,en=Qr.reducer});var rn,tn,nn,ec,tc,rc,nc,on,At=f(()=>{"use strict";o();rn=require("@reduxjs/toolkit");W();tn={},nn=(0,rn.createSlice)({name:"modalsSlice",initialState:tn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(v,()=>tn)}}),{setTxSubmittedModal:ec,setNotificationModal:tc,clearTxSubmittedModal:rc,clearNotificationModal:nc}=nn.actions,on=nn.reducer});var an=f(()=>{"use strict";o()});var sn=f(()=>{"use strict";o();an()});function vt(e){return e[Math.floor(Math.random()*e.length)]}var cn=f(()=>{"use strict";o()});var ln=f(()=>{"use strict";o();pt()});var pn=f(()=>{"use strict";o();sn();cn();ln()});var un,dn,kt,ci,gn,xc,Sc,mn,Et=f(()=>{"use strict";o();un=require("@reduxjs/toolkit"),dn=b(require("lodash.omit"));pn();kt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ci={network:kt,chainID:"-1"},gn=(0,un.createSlice)({name:"appConfig",initialState:ci,reducers:{initializeNetworkConfig:(e,t)=>{let r=vt(t.payload.walletConnectBridgeAddresses),n=vt(t.payload.walletConnectV2RelayAddresses),i=(0,dn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:xc,setChainID:Sc}=gn.actions,mn=gn.reducer});var fn,Lt,Tn,kc,Ec,Lc,Re,Ce=f(()=>{"use strict";o();fn=require("@reduxjs/toolkit");B();W();Lt={isSigning:!1,signedSessions:{}},Tn=(0,fn.createSlice)({name:"signedMessageInfoSliceState",initialState:Lt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:n,errorMessage:i}=t.payload;return w(x({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:n.status==="pending",signedSessions:w(x({},e.signedSessions),{[r]:n})})},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>Lt},extraReducers:e=>{e.addCase(v,()=>Lt)}}),{setSignSession:kc,clearSignedMessageInfo:Ec,setSignSessionState:Lc}=Tn.actions,Re=Tn.reducer});var hn,xn,yn,Sn,Fc,Oc,Bc,Uc,Vc,$c,_e,Me=f(()=>{"use strict";o();hn=require("@reduxjs/toolkit"),xn=require("redux-persist");ut();B();mt();W();yn={customToasts:[],transactionToasts:[],failTransactionToast:null},Sn=(0,hn.createSlice)({name:"toastsSlice",initialState:yn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ee(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(x({},t.payload),{toastId:Cr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(v,()=>yn),e.addCase(xn.REHYDRATE,(t,r)=>{var i,l;let n=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=n})}}),{addCustomToast:Fc,removeCustomToast:Oc,addTransactionToast:Bc,removeTransactionToast:Uc,addFailTransactionToast:Vc,removeFailTransactionToast:$c}=Sn.actions,_e=Sn.reducer});var wn,Nt,Rt,Ct,li,Dt,bn,qc,jc,zc,Pe,Fe=f(()=>{"use strict";o();wn=require("@reduxjs/toolkit");W();Nt="Transaction failed",Rt="Transaction successful",Ct="Processing transaction",li="Transaction submitted",Dt={},bn=(0,wn.createSlice)({name:"transactionsInfo",initialState:Dt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Nt,successMessage:(n==null?void 0:n.successMessage)||Rt,processingMessage:(n==null?void 0:n.processingMessage)||Ct,submittedMessage:(n==null?void 0:n.submittedMessage)||li,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Dt},extraReducers:e=>{e.addCase(v,()=>Dt)}}),{clearTransactionsInfo:qc,setTransactionsDisplayInfo:jc,clearTransactionsInfoForSessionId:zc}=bn.actions,Pe=bn.reducer});function In(e){return e!=null&&(hi(e)||bi(e))}function Oe(e){return e!=null&&(xi(e)||Ii(e))}function Be(e){return e!=null&&(Si(e)||Ai(e))}function An(e){return e!=null&&wi(e)}function hi(e){return e!=null&&ui.includes(e)}function xi(e){return e!=null&&di.includes(e)}function Si(e){return e!=null&&gi.includes(e)}function wi(e){return e!=null&&mi.includes(e)}function bi(e){return e!=null&&fi.includes(e)}function Ii(e){return e!=null&&Ti.includes(e)}function Ai(e){return e!=null&&yi.includes(e)}var ui,di,gi,mi,fi,Ti,yi,Mt=f(()=>{"use strict";o();O();ui=["sent"],di=["success"],gi=["fail","cancelled","timedOut"],mi=["timedOut"],fi=["pending"],Ti=["success"],yi=["fail","invalid"]});var vn,kn,Te,vi,En,rl,nl,ol,il,al,sl,cl,ll,pl,ul,Ue,Ve=f(()=>{"use strict";o();vn=require("@reduxjs/toolkit"),kn=require("redux-persist");O();Mt();W();Te={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},vi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},En=(0,vn.createSlice)({name:"transactionsSlice",initialState:Te,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:n,errorMessage:i,status:l,redirectRoute:p}=t.payload,g=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||vi;e.signedTransactions[r]={transactions:n,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Te.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var g,d,T,h,y,k;let{sessionId:r,status:n,errorMessage:i,transactionHash:l}=t.payload,p=(d=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(V=>V.hash===l?w(x({},V),{status:n,errorMessage:i}):V);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(V=>Oe(V.status)),j=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every(V=>Be(V.status));E&&(e.signedTransactions[r].status="success"),j&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Te.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Te.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>Te),e.addCase(kn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(n).reduce((g,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(g[d]=T),g},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:rl,updateSignedTransactions:nl,setTransactionsToSign:ol,clearAllTransactionsToSign:il,clearAllSignedTransactions:al,clearSignedTransaction:sl,clearTransactionToSign:cl,setSignTransactionsError:ll,setSignTransactionsCancelMessage:pl,moveTransactionsToSignedState:ul}=En.actions,Ue=En.reducer});var se=f(()=>{"use strict";o();wt();It();At();Et();Ce();Me();Fe();Ve()});var Pt=f(()=>{"use strict";o()});var Cn,Rn,_n,Pl,Fl,Ol,Bl,Ul,Vl,Mn,Pn=f(()=>{"use strict";o();Cn=require("@reduxjs/toolkit");W();Rn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},_n=(0,Cn.createSlice)({name:"dappModalsSlice",initialState:Rn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(v,()=>Rn)}}),{setDappModalVisibility:Pl,setDappModalHeaderVisibility:Fl,setDappModalFooterVisibility:Ol,setDappModalHeaderText:Bl,setDappModalFooterText:Ul,setDappModalConfig:Vl}=_n.actions,Mn=_n.reducer});var Fn,Di,Ni,ce,qe=f(()=>{"use strict";o();Fn=require("@reduxjs/toolkit");Pt();wt();Pn();It();At();Et();Ce();Me();Fe();Ve();Di={["account"]:Yr,["dappModal"]:Mn,["loginInfo"]:en,["modals"]:on,["networkConfig"]:mn,["signedMessageInfo"]:Re,["toasts"]:_e,["transactionsInfo"]:Pe,["transactions"]:Ue},Ni=(e={})=>(0,Fn.combineReducers)(x(x({},Di),e)),ce=Ni});var $n={};Z($n,{default:()=>Fi,getSessionStoragePersistConfig:()=>ye,localStoragePersistConfig:()=>Un,sessionStorageReducers:()=>Vn});function ye(e,t=[]){return{key:e,version:1,storage:Bn.default,blacklist:t}}var z,On,Bn,Ri,Ci,_i,Mi,Pi,Un,Vn,Fi,Gn=f(()=>{"use strict";o();z=require("redux-persist"),On=b(require("redux-persist/lib/storage")),Bn=b(require("redux-persist/lib/storage/session"));qe();se();Ce();Me();Fe();Ve();Pt();Ri={2:e=>w(x({},e),{networkConfig:kt})};Ci=ye("sdk-dapp-transactionsInfo"),_i=ye("sdk-dapp-transactions",["transactionsToSign"]),Mi=ye("sdk-dapp-toasts"),Pi=ye("sdk-dapp-signedMessageInfo"),Un={key:"sdk-dapp-store",version:2,storage:On.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,z.createMigrate)(Ri,{debug:!1})},Vn={["toasts"]:(0,z.persistReducer)(Mi,_e),["transactions"]:(0,z.persistReducer)(_i,Ue),["transactionsInfo"]:(0,z.persistReducer)(Ci,Pe),["signedMessageInfo"]:(0,z.persistReducer)(Pi,Re)},Fi=(0,z.persistReducer)(Un,ce(Vn))});var Hn={};Z(Hn,{default:()=>Oi});var Oi,Wn=f(()=>{"use strict";o();qe();Oi=ce()});var qn={};Z(qn,{default:()=>Ui});var C,Bi,Ui,jn=f(()=>{"use strict";o();C=require("redux-persist"),Bi=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],Ui=Bi});var Yn={};Z(Yn,{default:()=>Kn});function Kn(e){return(0,zn.persistStore)(e)}var zn,Zn=f(()=>{"use strict";o();zn=require("redux-persist")});var ba={};Z(ba,{useGetAccountInfo:()=>wa});module.exports=de(ba);o();o();var ro=require("react"),pe=require("react-redux");o();var Ft=require("@reduxjs/toolkit"),eo=require("react-redux/lib/utils/Subscription");se();o();var Dn=b(require("lodash.throttle"));I();o();var Ln=b(require("lodash.isequal")),$e=require("reselect");B();var m=(0,$e.createSelectorCreator)($e.defaultMemoize,Ln.default),Ge=(e,t)=>e!=""&&Boolean(t);se();bt();Le();ge();var ki=[ke],He=!1,Ei=(0,Dn.default)(()=>{fe(me())},5e3),Nn=e=>t=>r=>{var d;if(ki.includes(r.type))return t(r);let n=e.getState(),i=ae.local.getItem(ee.loginExpiresAt);if(!Ge((d=n==null?void 0:n.loginInfo)==null?void 0:d.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return fe(me());let p=Date.now();return i-p<0&&!He?setTimeout(()=>{He=!0,e.dispatch(Jr())},1e3):(He&&(He=!1),Ei()),t(r)};o();o();function We(){return typeof sessionStorage!="undefined"}var Xn=We()?(Gn(),de($n)).default:(Wn(),de(Hn)).default,Qn=We()?(jn(),de(qn)).default:[],Jn=We()?(Zn(),de(Yn)).default:e=>e;qe();var le=(0,Ft.configureStore)({reducer:Xn,middleware:e=>e({serializableCheck:{ignoredActions:[...Qn,Kr.type,zr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Nn)}),to=(0,eo.createSubscription)(le),gp=Jn(le),mp=(0,Ft.configureStore)({reducer:ce});var Vi={store:le,subscription:to},Ot=(0,ro.createContext)(Vi),hp=(0,pe.createStoreHook)(Ot),xp=(0,pe.createDispatchHook)(Ot),no=(0,pe.createSelectorHook)(Ot);o();o();se();var q=e=>e.account,Bt=m(q,e=>e.address),Ut=m(q,Bt,(e,t)=>t in e.accounts?e.accounts[t]:Ne),oo=m(q,Ut,(e,t)=>{let i=e,{accounts:r}=i,n=Yt(i,["accounts"]);return w(x({},n),{account:t})}),Ip=m(Ut,e=>e.balance),Ap=m(Ut,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),vp=m(q,e=>e.shard),kp=m(q,e=>e.ledgerAccount),Ep=m(q,e=>e.walletConnectAccount),Lp=m(q,e=>e.isAccountLoading),Dp=m(q,e=>e.accountLoadingError),Np=m(q,e=>e.websocketEvent);o();var K=e=>e.loginInfo,Mp=m(K,e=>e.loginMethod),Pp=m(K,Bt,(e,t)=>Ge(e.loginMethod,t)),Fp=m(K,e=>e.walletConnectLogin),Op=m(K,e=>e.ledgerLogin),Bp=m(K,e=>e.walletLogin),Up=m(K,e=>e.isLoginSessionInvalid),Vp=m(K,e=>e.tokenLogin),$p=m(K,e=>e.logoutRoute);o();var io=e=>e.modals,Wp=m(io,e=>e.txSubmittedModal),qp=m(io,e=>e.notificationModal);o();var te=e=>e.networkConfig,Kp=m(te,e=>e.chainID),Yp=m(te,e=>e.network.walletConnectBridgeAddress),Zp=m(te,e=>e.network.walletConnectV2RelayAddress),Xp=m(te,e=>e.network.walletConnectV2ProjectId),Qp=m(te,e=>e.network.walletConnectV2Options),Jp=m(te,e=>e.network.walletConnectDeepLink),Vt=m(te,e=>e.network),eu=m(Vt,e=>e.apiAddress),ao=m(Vt,e=>e.explorerAddress),tu=m(Vt,e=>e.egldLabel);o();var $t=e=>e.signedMessageInfo,ou=m($t,e=>e.isSigning),iu=m($t,e=>e.errorMessage),au=m($t,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var Gt=e=>e.toasts,lu=m(Gt,e=>e.customToasts),pu=m(Gt,e=>e.transactionToasts),uu=m(Gt,e=>e.failTransactionToast);o();se();var so={errorMessage:Nt,successMessage:Rt,processingMessage:Ct},$i=e=>e.transactionsInfo,fu=m($i,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);o();o();var N=require("@multiversx/sdk-core");I();o();function Ht(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Wt(e){var i,l,p;let{data:t}=e,r=Ht(t!=null?t:"")?N.TransactionPayload.fromEncoded(t):new N.TransactionPayload(t),n=new N.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new N.Address(e.receiver),sender:new N.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:dt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:gt,chainID:e.chainID.valueOf(),version:new N.TransactionVersion((p=e.version)!=null?p:Mr)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();Mt();o();var Hi=b(require("bignumber.js"));B();o();o();o();o();var qi=require("@multiversx/sdk-core"),ji=b(require("bignumber.js"));O();o();var Wi=require("@multiversx/sdk-core");o();o();o();var Ki=require("@multiversx/sdk-core/out");o();I();o();var uo=require("@multiversx/sdk-core");B();o();o();o();o();O();o();o();o();o();o();o();o();o();o();o();o();L();o();o();L();o();o();o();var ea=b(require("bignumber.js"));I();o();var Ji=require("@multiversx/sdk-core"),qt=b(require("bignumber.js"));I();o();var Xi=b(require("bignumber.js"));o();qt.default.config({ROUNDING_MODE:qt.default.ROUND_FLOOR});o();o();o();I();o();o();o();o();I();o();I();o();var ta=require("@multiversx/sdk-core");I();o();var he=require("@multiversx/sdk-core"),na=require("@multiversx/sdk-network-providers");I();o();o();var ra=b(require("bignumber.js"));I();o();I();o();o();o();o();o();I();o();L();var ia=["reDelegateRewards","claimRewards","unBond"],aa=["wrapEgld","unwrapEgld"],sa=["unStake"],ca=["unDelegate"];o();o();o();I();o();var ua=b(require("bignumber.js"));o();o();o();L();o();var da=b(require("bignumber.js"));o();o();o();o();L();o();o();o();var ma=b(require("linkifyjs"));o();I();o();var fa=b(require("bignumber.js"));o();B();o();o();O();o();O();o();o();o();L();o();L();o();var Ta=b(require("bignumber.js"));I();L();o();L();o();var yo=require("react");B();o();o();L();o();var ya=require("@multiversx/sdk-core/out"),ha=b(require("bignumber.js"));L();o();L();o();o();O();var zT=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var ho=require("react");B();o();var Sa=require("react");L();var ey=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Ye=e=>e.transactions,xe=m(Ye,e=>e.signedTransactions),By=m(Ye,e=>e.signTransactionsError),Uy=m(Ye,e=>e.signTransactionsCancelMessage),Ze=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),Vy=m(xe,Ze(In)),$y=m(xe,Ze(Oe)),Gy=m(xe,Ze(Be)),Hy=m(xe,Ze(An)),Wy=m(Ye,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Wt(r)))||[]})}),qy=m(xe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var wa=()=>no(oo);0&&(module.exports={useGetAccountInfo});
|
|
1
|
+
"use strict";var xo=Object.create;var ue=Object.defineProperty,So=Object.defineProperties,wo=Object.getOwnPropertyDescriptor,bo=Object.getOwnPropertyDescriptors,Io=Object.getOwnPropertyNames,Se=Object.getOwnPropertySymbols,Ao=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable;var zt=(e,t,r)=>t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))Xe.call(t,r)&&zt(e,r,t[r]);if(Se)for(var r of Se(t))Kt.call(t,r)&&zt(e,r,t[r]);return e},w=(e,t)=>So(e,bo(t));var Yt=(e,t)=>{var r={};for(var n in e)Xe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Se)for(var n of Se(e))t.indexOf(n)<0&&Kt.call(e,n)&&(r[n]=e[n]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var we=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Z=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},Zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Io(t))!Xe.call(e,i)&&i!==r&&ue(e,i,{get:()=>t[i],enumerable:!(n=wo(t,i))||n.enumerable});return e};var b=(e,t,r)=>(r=e!=null?xo(Ao(e)):{},Zt(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),de=e=>Zt(ue({},"__esModule",{value:!0}),e);var Jt=we(be=>{"use strict";o();be.byteLength=ko;be.toByteArray=Lo;be.fromByteArray=Ro;var _=[],R=[],vo=typeof Uint8Array!="undefined"?Uint8Array:Array,Qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(X=0,Xt=Qe.length;X<Xt;++X)_[X]=Qe[X],R[Qe.charCodeAt(X)]=X;var X,Xt;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function Qt(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function ko(e){var t=Qt(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Eo(e,t,r){return(t+r)*3/4-r}function Lo(e){var t,r=Qt(e),n=r[0],i=r[1],l=new vo(Eo(e,n,i)),p=0,g=i>0?n-4:n,d;for(d=0;d<g;d+=4)t=R[e.charCodeAt(d)]<<18|R[e.charCodeAt(d+1)]<<12|R[e.charCodeAt(d+2)]<<6|R[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=R[e.charCodeAt(d)]<<2|R[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=R[e.charCodeAt(d)]<<10|R[e.charCodeAt(d+1)]<<4|R[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Do(e){return _[e>>18&63]+_[e>>12&63]+_[e>>6&63]+_[e&63]}function No(e,t,r){for(var n,i=[],l=t;l<r;l+=3)n=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Do(n));return i.join("")}function Ro(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,g=r-n;p<g;p+=l)i.push(No(e,p,p+l>g?g:p+l));return n===1?(t=e[r-1],i.push(_[t>>2]+_[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(_[t>>10]+_[t>>4&63]+_[t<<2&63]+"=")),i.join("")}});var er=we(Je=>{o();Je.read=function(e,t,r,n,i){var l,p,g=i*8-n-1,d=(1<<g)-1,T=d>>1,h=-7,y=r?i-1:0,k=r?-1:1,E=e[t+y];for(y+=k,l=E&(1<<-h)-1,E>>=-h,h+=g;h>0;l=l*256+e[t+y],y+=k,h-=8);for(p=l&(1<<-h)-1,l>>=-h,h+=n;h>0;p=p*256+e[t+y],y+=k,h-=8);if(l===0)l=1-T;else{if(l===d)return p?NaN:(E?-1:1)*(1/0);p=p+Math.pow(2,n),l=l-T}return(E?-1:1)*p*Math.pow(2,l-n)};Je.write=function(e,t,r,n,i,l){var p,g,d,T=l*8-i-1,h=(1<<T)-1,y=h>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:l-1,j=n?1:-1,V=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(g=isNaN(t)?1:0,p=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=k/d:t+=k*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=h?(g=0,p=h):p+y>=1?(g=(t*d-1)*Math.pow(2,i),p=p+y):(g=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=g&255,E+=j,g/=256,i-=8);for(p=p<<i|g,T+=i;T>0;e[r+E]=p&255,E+=j,p/=256,T-=8);e[r+E-j]|=V*128}});var gr=we(ne=>{"use strict";o();var et=Jt(),re=er(),tr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ne.Buffer=u;ne.SlowBuffer=Oo;ne.INSPECT_MAX_BYTES=50;var Ie=2147483647;ne.kMaxLength=Ie;u.TYPED_ARRAY_SUPPORT=Co();!u.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 Co(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function $(e){if(e>Ie)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ot(e)}return or(e,t,r)}u.poolSize=8192;function or(e,t,r){if(typeof e=="string")return Po(e,t);if(ArrayBuffer.isView(e))return Mo(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return rt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=Fo(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return or(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function ir(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function _o(e,t,r){return ir(e),e<=0?$(e):t!==void 0?typeof r=="string"?$(e).fill(t,r):$(e).fill(t):$(e)}u.alloc=function(e,t,r){return _o(e,t,r)};function ot(e){return ir(e),$(e<0?0:it(e)|0)}u.allocUnsafe=function(e){return ot(e)};u.allocUnsafeSlow=function(e){return ot(e)};function Po(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ar(e,t)|0,n=$(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function tt(e){for(var t=e.length<0?0:it(e.length)|0,r=$(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Mo(e){if(P(e,Uint8Array)){var t=new Uint8Array(e);return rt(t.buffer,t.byteOffset,t.byteLength)}return tt(e)}function rt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function Fo(e){if(u.isBuffer(e)){var t=it(e.length)|0,r=$(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||at(e.length)?$(0):tt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tt(e.data)}function it(e){if(e>=Ie)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ie.toString(16)+" bytes");return e|0}function Oo(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(P(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),P(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,l=0,p=Math.min(n,i);l<p;++l)if(t[l]!==r[l]){n=t[l],i=r[l];break}return n<i?-1:i<n?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),l=0;for(n=0;n<t.length;++n){var p=t[n];if(P(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function ar(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return dr(e).length;default:if(i)return n?-1:nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=ar;function Bo(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ko(this,t,r);case"utf8":case"utf-8":return cr(this,t,r);case"ascii":return jo(this,t,r);case"latin1":case"binary":return zo(this,t,r);case"base64":return Wo(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yo(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function Q(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)Q(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)Q(this,r,r+3),Q(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)Q(this,r,r+7),Q(this,r+1,r+6),Q(this,r+2,r+5),Q(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?cr(this,0,t):Bo.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=ne.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};tr&&(u.prototype[tr]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,l){if(P(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||n>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=n)return 0;if(i>=l)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,g=n-r,d=Math.min(p,g),T=this.slice(i,l),h=t.slice(r,n),y=0;y<d;++y)if(T[y]!==h[y]){p=T[y],g=h[y];break}return p<g?-1:g<p?1:0};function sr(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,at(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,n)),u.isBuffer(t))return t.length===0?-1:rr(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):rr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function rr(e,t,r,n,i){var l=1,p=e.length,g=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,g/=2,r/=2}function d(E,j){return l===1?E[j]:E.readUInt16BE(j*l)}var T;if(i){var h=-1;for(T=r;T<p;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===g)return h*l}else h!==-1&&(T-=T-h),h=-1}else for(r+g>p&&(r=p-g),T=r;T>=0;T--){for(var y=!0,k=0;k<g;k++)if(d(e,T+k)!==d(t,k)){y=!1;break}if(y)return T}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return sr(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return sr(this,t,r,n,!1)};function Uo(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var l=t.length;n>l/2&&(n=l/2);for(var p=0;p<n;++p){var g=parseInt(t.substr(p*2,2),16);if(at(g))return p;e[r+p]=g}return p}function Vo(e,t,r,n){return Ae(nt(t,e.length-r),e,r,n)}function $o(e,t,r,n){return Ae(Qo(t),e,r,n)}function Go(e,t,r,n){return Ae(dr(t),e,r,n)}function Ho(e,t,r,n){return Ae(Jo(t,e.length-r),e,r,n)}u.prototype.write=function(t,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 l=this.length-r;if((n===void 0||n>l)&&(n=l),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Uo(this,t,r,n);case"utf8":case"utf-8":return Vo(this,t,r,n);case"ascii":case"latin1":case"binary":return $o(this,t,r,n);case"base64":return Go(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ho(this,t,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wo(e,t,r){return t===0&&r===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(t,r))}function cr(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var l=e[i],p=null,g=l>239?4:l>223?3:l>191?2:1;if(i+g<=r){var d,T,h,y;switch(g){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(l&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],T=e[i+2],h=e[i+3],(d&192)===128&&(T&192)===128&&(h&192)===128&&(y=(l&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,g=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=g}return qo(n)}var nr=4096;function qo(e){var t=e.length;if(t<=nr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=nr));return r}function jo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function zo(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function Ko(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",l=t;l<r;++l)i+=ei[e[l]];return i}function Yo(e,t,r){for(var n=e.slice(t,r),i="",l=0;l<n.length-1;l+=2)i+=String.fromCharCode(n[l]+n[l+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function A(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||A(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||A(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||A(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||A(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||A(t,4,this.length),re.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||A(t,4,this.length),re.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||A(t,8,this.length),re.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||A(t,8,this.length),re.read(this,t,!1,52,8)};function D(e,t,r,n,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=1,g=0;for(this[r]=t&255;++g<n&&(p*=256);)this[r+g]=t/p&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=n-1,g=1;for(this[r+p]=t&255;--p>=0&&(g*=256);)this[r+p]=t/g&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=0,g=1,d=0;for(this[r]=t&255;++p<n&&(g*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=n-1,g=1,d=0;for(this[r+p]=t&255;--p>=0&&(g*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function lr(e,t,r,n,i,l){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function pr(e,t,r,n,i){return t=+t,r=r>>>0,i||lr(e,t,r,4,34028234663852886e22,-34028234663852886e22),re.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return pr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return pr(this,t,r,!1,n)};function ur(e,t,r,n,i){return t=+t,r=r>>>0,i||lr(e,t,r,8,17976931348623157e292,-17976931348623157e292),re.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return ur(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return ur(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.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),t.length-r<i-n&&(i=t.length-r+n);var l=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),l};u.prototype.fill=function(t,r,n,i){if(typeof t=="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"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));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,t||(t=0);var p;if(typeof t=="number")for(p=r;p<n;++p)this[p]=t;else{var g=u.isBuffer(t)?t:u.from(t,i),d=g.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=g[p%d]}return this};var Zo=/[^+/0-9A-Za-z-_]/g;function Xo(e){if(e=e.split("=")[0],e=e.trim().replace(Zo,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nt(e,t){t=t||1/0;for(var r,n=e.length,i=null,l=[],p=0;p<n;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===n){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Qo(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Jo(e,t){for(var r,n,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),n=r>>8,i=r%256,l.push(i),l.push(n);return l}function dr(e){return et.toByteArray(Xo(e))}function Ae(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function P(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function at(e){return e!==e}var ei=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var hr=we((Ea,yr)=>{o();var S=yr.exports={},M,F;function st(){throw new Error("setTimeout has not been defined")}function ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?M=setTimeout:M=st}catch(e){M=st}try{typeof clearTimeout=="function"?F=clearTimeout:F=ct}catch(e){F=ct}})();function mr(e){if(M===setTimeout)return setTimeout(e,0);if((M===st||!M)&&setTimeout)return M=setTimeout,setTimeout(e,0);try{return M(e,0)}catch(t){try{return M.call(null,e,0)}catch(r){return M.call(this,e,0)}}}function ti(e){if(F===clearTimeout)return clearTimeout(e);if((F===ct||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(e);try{return F(e)}catch(t){try{return F.call(null,e)}catch(r){return F.call(this,e)}}}var G=[],oe=!1,J,ve=-1;function ri(){!oe||!J||(oe=!1,J.length?G=J.concat(G):ve=-1,G.length&&fr())}function fr(){if(!oe){var e=mr(ri);oe=!0;for(var t=G.length;t;){for(J=G,G=[];++ve<t;)J&&J[ve].run();ve=-1,t=G.length}J=null,oe=!1,ti(e)}}S.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];G.push(new Tr(e,t)),G.length===1&&!oe&&mr(fr)};function Tr(e,t){this.fun=e,this.array=t}Tr.prototype.run=function(){this.fun.apply(null,this.array)};S.title="browser";S.browser=!0;S.env={};S.argv=[];S.version="";S.versions={};function H(){}S.on=H;S.addListener=H;S.once=H;S.off=H;S.removeListener=H;S.removeAllListeners=H;S.emit=H;S.prependListener=H;S.prependOnceListener=H;S.listeners=function(e){return[]};S.binding=function(e){throw new Error("process.binding is not supported")};S.cwd=function(){return"/"};S.chdir=function(e){throw new Error("process.chdir is not supported")};S.umask=function(){return 0}});var a,s,La,o=f(()=>{a=b(gr()),s=b(hr()),La=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var xr=f(()=>{"use strict";o()});var Sr=f(()=>{"use strict";o()});var wr=f(()=>{"use strict";o()});var br=f(()=>{"use strict";o()});var O=f(()=>{"use strict";o()});var Ir=f(()=>{"use strict";o()});var Ar=f(()=>{"use strict";o()});var L=f(()=>{"use strict";o()});var vr=f(()=>{"use strict";o()});var kr=f(()=>{"use strict";o()});var B=f(()=>{"use strict";o();Sr();wr();br();O();Ir();Ar();L();vr();kr()});var lt,Er,za,Lr,Ka,Dr,Ya,Za,Xa,Nr=f(()=>{"use strict";o();B();lt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Er,egldLabel:za}=lt["devnet"],{chainId:Lr,egldLabel:Ka}=lt["testnet"],{chainId:Dr,egldLabel:Ya}=lt["mainnet"],Za={["devnet"]:Er,["testnet"]:Lr,["mainnet"]:Dr},Xa={[Er]:"devnet",[Lr]:"testnet",[Dr]:"mainnet"}});var pt=f(()=>{"use strict";o()});var Rr=f(()=>{"use strict";o()});var Cr,ut=f(()=>{"use strict";o();Cr="transaction-status-toast-id"});var U,_r=f(()=>{"use strict";o();U=require("@multiversx/sdk-web-wallet-provider")});var dt,gt,Pr,ke,Mr,ie,I=f(()=>{"use strict";o();xr();Nr();pt();Rr();ut();_r();dt=5e4,gt=1e9,Pr=1,ke="logout",Mr="login",ie="0"});var Ee,mt=f(()=>{"use strict";o();Ee=()=>Date.now()/1e3});var Fr=f(()=>{"use strict";o()});var Or=f(()=>{"use strict";o()});var Br=f(()=>{"use strict";o();mt();Fr();Or()});var Tt={};Z(Tt,{getItem:()=>oi,localStorageKeys:()=>ee,removeItem:()=>ii,setItem:()=>ni});var ee,ft,ni,oi,ii,ge=f(()=>{"use strict";o();Br();ee={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ft=typeof localStorage!="undefined",ni=({key:e,data:t,expires:r})=>{!ft||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},oi=e=>{if(!ft)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ee()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ii=e=>{!ft||localStorage.removeItem(String(e))}});var yt={};Z(yt,{clear:()=>Gr,getItem:()=>Vr,removeItem:()=>$r,setItem:()=>Ur,storage:()=>ai});var Ur,Vr,$r,Gr,ai,Hr=f(()=>{"use strict";o();Ur=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Vr=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},$r=e=>sessionStorage.removeItem(String(e)),Gr=()=>sessionStorage.clear(),ai={setItem:Ur,getItem:Vr,removeItem:$r,clear:Gr}});var ae,Le=f(()=>{"use strict";o();ge();Hr();ae={session:yt,local:Tt}});var ht,v,De,W=f(()=>{"use strict";o();ht=require("@reduxjs/toolkit");I();v=(0,ht.createAction)(ke),De=(0,ht.createAction)(Mr,e=>({payload:e}))});var St,Wr,qr,Ne,xt,jr,zr,Es,Kr,Ls,Ds,Ns,Rs,Cs,_s,Ps,Yr,wt=f(()=>{"use strict";o();St=require("@multiversx/sdk-core"),Wr=require("@reduxjs/toolkit"),qr=require("redux-persist");I();Le();ge();W();Ne={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:ie},xt={address:"",websocketEvent:null,accounts:{"":Ne},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},jr=(0,Wr.createSlice)({name:"accountInfoSlice",initialState:xt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new St.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ne},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(v,()=>(ae.local.removeItem(ee.loginExpiresAt),xt)),e.addCase(De,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new St.Address(n).hex()}),e.addCase(qr.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:n}=r.payload,{address:i,shard:l,accounts:p,publicKey:g}=n;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:xt.accounts,t.publicKey=g})}}),{setAccount:zr,setAddress:Es,setAccountNonce:Kr,setAccountShard:Ls,setLedgerAccount:Ds,updateLedgerAccount:Ns,setWalletConnectAccount:Rs,setIsAccountLoading:Cs,setAccountLoadingError:_s,setWebsocketEvent:Ps}=jr.actions,Yr=jr.reducer});function me(){return new Date().setHours(new Date().getHours()+24)}function fe(e){ae.local.setItem({key:ee.loginExpiresAt,data:e,expires:e})}var bt=f(()=>{"use strict";o();Le();ge()});var Xr,Zr,Qr,Ws,qs,js,zs,Ks,Ys,Jr,Zs,en,It=f(()=>{"use strict";o();Xr=require("@reduxjs/toolkit");bt();O();W();Zr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Qr=(0,Xr.createSlice)({name:"loginInfoSlice",initialState:Zr,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(v,()=>Zr),e.addCase(De,(t,r)=>{t.loginMethod=r.payload.loginMethod,fe(me())})}}),{setLoginMethod:Ws,setWalletConnectLogin:qs,setLedgerLogin:js,setTokenLogin:zs,setTokenLoginSignature:Ks,setWalletLogin:Ys,invalidateLoginSession:Jr,setLogoutRoute:Zs}=Qr.actions,en=Qr.reducer});var rn,tn,nn,ec,tc,rc,nc,on,At=f(()=>{"use strict";o();rn=require("@reduxjs/toolkit");W();tn={},nn=(0,rn.createSlice)({name:"modalsSlice",initialState:tn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(v,()=>tn)}}),{setTxSubmittedModal:ec,setNotificationModal:tc,clearTxSubmittedModal:rc,clearNotificationModal:nc}=nn.actions,on=nn.reducer});var an=f(()=>{"use strict";o()});var sn=f(()=>{"use strict";o();an()});function vt(e){return e[Math.floor(Math.random()*e.length)]}var cn=f(()=>{"use strict";o()});var ln=f(()=>{"use strict";o();pt()});var pn=f(()=>{"use strict";o();sn();cn();ln()});var un,dn,kt,ci,gn,xc,Sc,mn,Et=f(()=>{"use strict";o();un=require("@reduxjs/toolkit"),dn=b(require("lodash.omit"));pn();kt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ci={network:kt,chainID:"-1"},gn=(0,un.createSlice)({name:"appConfig",initialState:ci,reducers:{initializeNetworkConfig:(e,t)=>{let r=vt(t.payload.walletConnectBridgeAddresses),n=vt(t.payload.walletConnectV2RelayAddresses),i=(0,dn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:xc,setChainID:Sc}=gn.actions,mn=gn.reducer});var fn,Lt,Tn,kc,Ec,Lc,Re,Ce=f(()=>{"use strict";o();fn=require("@reduxjs/toolkit");B();W();Lt={isSigning:!1,signedSessions:{}},Tn=(0,fn.createSlice)({name:"signedMessageInfoSliceState",initialState:Lt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:n,errorMessage:i}=t.payload;return w(x({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:n.status==="pending",signedSessions:w(x({},e.signedSessions),{[r]:n})})},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>Lt},extraReducers:e=>{e.addCase(v,()=>Lt)}}),{setSignSession:kc,clearSignedMessageInfo:Ec,setSignSessionState:Lc}=Tn.actions,Re=Tn.reducer});var hn,xn,yn,Sn,Fc,Oc,Bc,Uc,Vc,$c,_e,Pe=f(()=>{"use strict";o();hn=require("@reduxjs/toolkit"),xn=require("redux-persist");ut();B();mt();W();yn={customToasts:[],transactionToasts:[],failTransactionToast:null},Sn=(0,hn.createSlice)({name:"toastsSlice",initialState:yn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ee(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(x({},t.payload),{toastId:Cr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(v,()=>yn),e.addCase(xn.REHYDRATE,(t,r)=>{var i,l;let n=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=n})}}),{addCustomToast:Fc,removeCustomToast:Oc,addTransactionToast:Bc,removeTransactionToast:Uc,addFailTransactionToast:Vc,removeFailTransactionToast:$c}=Sn.actions,_e=Sn.reducer});var wn,Nt,Rt,Ct,li,Dt,bn,qc,jc,zc,Me,Fe=f(()=>{"use strict";o();wn=require("@reduxjs/toolkit");W();Nt="Transaction failed",Rt="Transaction successful",Ct="Processing transaction",li="Transaction submitted",Dt={},bn=(0,wn.createSlice)({name:"transactionsInfo",initialState:Dt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Nt,successMessage:(n==null?void 0:n.successMessage)||Rt,processingMessage:(n==null?void 0:n.processingMessage)||Ct,submittedMessage:(n==null?void 0:n.submittedMessage)||li,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Dt},extraReducers:e=>{e.addCase(v,()=>Dt)}}),{clearTransactionsInfo:qc,setTransactionsDisplayInfo:jc,clearTransactionsInfoForSessionId:zc}=bn.actions,Me=bn.reducer});function In(e){return e!=null&&(hi(e)||bi(e))}function Oe(e){return e!=null&&(xi(e)||Ii(e))}function Be(e){return e!=null&&(Si(e)||Ai(e))}function An(e){return e!=null&&wi(e)}function hi(e){return e!=null&&ui.includes(e)}function xi(e){return e!=null&&di.includes(e)}function Si(e){return e!=null&&gi.includes(e)}function wi(e){return e!=null&&mi.includes(e)}function bi(e){return e!=null&&fi.includes(e)}function Ii(e){return e!=null&&Ti.includes(e)}function Ai(e){return e!=null&&yi.includes(e)}var ui,di,gi,mi,fi,Ti,yi,Pt=f(()=>{"use strict";o();O();ui=["sent"],di=["success"],gi=["fail","cancelled","timedOut"],mi=["timedOut"],fi=["pending"],Ti=["success"],yi=["fail","invalid"]});var vn,kn,Te,vi,En,rl,nl,ol,il,al,sl,cl,ll,pl,ul,Ue,Ve=f(()=>{"use strict";o();vn=require("@reduxjs/toolkit"),kn=require("redux-persist");O();Pt();W();Te={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},vi={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},En=(0,vn.createSlice)({name:"transactionsSlice",initialState:Te,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:n,errorMessage:i,status:l,redirectRoute:p}=t.payload,g=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||vi;e.signedTransactions[r]={transactions:n,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Te.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var g,d,T,h,y,k;let{sessionId:r,status:n,errorMessage:i,transactionHash:l}=t.payload,p=(d=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(V=>V.hash===l?w(x({},V),{status:n,errorMessage:i}):V);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(V=>Oe(V.status)),j=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every(V=>Be(V.status));E&&(e.signedTransactions[r].status="success"),j&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Te.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Te.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>Te),e.addCase(kn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(n).reduce((g,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(g[d]=T),g},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:rl,updateSignedTransactions:nl,setTransactionsToSign:ol,clearAllTransactionsToSign:il,clearAllSignedTransactions:al,clearSignedTransaction:sl,clearTransactionToSign:cl,setSignTransactionsError:ll,setSignTransactionsCancelMessage:pl,moveTransactionsToSignedState:ul}=En.actions,Ue=En.reducer});var se=f(()=>{"use strict";o();wt();It();At();Et();Ce();Pe();Fe();Ve()});var Mt=f(()=>{"use strict";o()});var Cn,Rn,_n,Ml,Fl,Ol,Bl,Ul,Vl,Pn,Mn=f(()=>{"use strict";o();Cn=require("@reduxjs/toolkit");W();Rn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},_n=(0,Cn.createSlice)({name:"dappModalsSlice",initialState:Rn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(v,()=>Rn)}}),{setDappModalVisibility:Ml,setDappModalHeaderVisibility:Fl,setDappModalFooterVisibility:Ol,setDappModalHeaderText:Bl,setDappModalFooterText:Ul,setDappModalConfig:Vl}=_n.actions,Pn=_n.reducer});var Fn,Di,Ni,ce,qe=f(()=>{"use strict";o();Fn=require("@reduxjs/toolkit");Mt();wt();Mn();It();At();Et();Ce();Pe();Fe();Ve();Di={["account"]:Yr,["dappModal"]:Pn,["loginInfo"]:en,["modals"]:on,["networkConfig"]:mn,["signedMessageInfo"]:Re,["toasts"]:_e,["transactionsInfo"]:Me,["transactions"]:Ue},Ni=(e={})=>(0,Fn.combineReducers)(x(x({},Di),e)),ce=Ni});var $n={};Z($n,{default:()=>Fi,getSessionStoragePersistConfig:()=>ye,localStoragePersistConfig:()=>Un,sessionStorageReducers:()=>Vn});function ye(e,t=[]){return{key:e,version:1,storage:Bn.default,blacklist:t}}var z,On,Bn,Ri,Ci,_i,Pi,Mi,Un,Vn,Fi,Gn=f(()=>{"use strict";o();z=require("redux-persist"),On=b(require("redux-persist/lib/storage")),Bn=b(require("redux-persist/lib/storage/session"));qe();se();Ce();Pe();Fe();Ve();Mt();Ri={2:e=>w(x({},e),{networkConfig:kt})};Ci=ye("sdk-dapp-transactionsInfo"),_i=ye("sdk-dapp-transactions",["transactionsToSign"]),Pi=ye("sdk-dapp-toasts"),Mi=ye("sdk-dapp-signedMessageInfo"),Un={key:"sdk-dapp-store",version:2,storage:On.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,z.createMigrate)(Ri,{debug:!1})},Vn={["toasts"]:(0,z.persistReducer)(Pi,_e),["transactions"]:(0,z.persistReducer)(_i,Ue),["transactionsInfo"]:(0,z.persistReducer)(Ci,Me),["signedMessageInfo"]:(0,z.persistReducer)(Mi,Re)},Fi=(0,z.persistReducer)(Un,ce(Vn))});var Hn={};Z(Hn,{default:()=>Oi});var Oi,Wn=f(()=>{"use strict";o();qe();Oi=ce()});var qn={};Z(qn,{default:()=>Ui});var C,Bi,Ui,jn=f(()=>{"use strict";o();C=require("redux-persist"),Bi=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],Ui=Bi});var Yn={};Z(Yn,{default:()=>Kn});function Kn(e){return(0,zn.persistStore)(e)}var zn,Zn=f(()=>{"use strict";o();zn=require("redux-persist")});var ba={};Z(ba,{useGetAccountInfo:()=>wa});module.exports=de(ba);o();o();var ro=require("react"),pe=require("react-redux");o();var Ft=require("@reduxjs/toolkit"),eo=require("react-redux/lib/utils/Subscription");se();o();var Dn=b(require("lodash.throttle"));I();o();var Ln=b(require("lodash.isequal")),$e=require("reselect");B();var m=(0,$e.createSelectorCreator)($e.defaultMemoize,Ln.default),Ge=(e,t)=>e!=""&&Boolean(t);se();bt();Le();ge();var ki=[ke],He=!1,Ei=(0,Dn.default)(()=>{fe(me())},5e3),Nn=e=>t=>r=>{var d;if(ki.includes(r.type))return t(r);let n=e.getState(),i=ae.local.getItem(ee.loginExpiresAt);if(!Ge((d=n==null?void 0:n.loginInfo)==null?void 0:d.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return fe(me());let p=Date.now();return i-p<0&&!He?setTimeout(()=>{He=!0,e.dispatch(Jr())},1e3):(He&&(He=!1),Ei()),t(r)};o();o();function We(){return typeof sessionStorage!="undefined"}var Xn=We()?(Gn(),de($n)).default:(Wn(),de(Hn)).default,Qn=We()?(jn(),de(qn)).default:[],Jn=We()?(Zn(),de(Yn)).default:e=>e;qe();var le=(0,Ft.configureStore)({reducer:Xn,middleware:e=>e({serializableCheck:{ignoredActions:[...Qn,Kr.type,zr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Nn)}),to=(0,eo.createSubscription)(le),gp=Jn(le),mp=(0,Ft.configureStore)({reducer:ce});var Vi={store:le,subscription:to},Ot=(0,ro.createContext)(Vi),hp=(0,pe.createStoreHook)(Ot),xp=(0,pe.createDispatchHook)(Ot),no=(0,pe.createSelectorHook)(Ot);o();o();se();var q=e=>e.account,Bt=m(q,e=>e.address),Ut=m(q,Bt,(e,t)=>t in e.accounts?e.accounts[t]:Ne),oo=m(q,Ut,(e,t)=>{let i=e,{accounts:r}=i,n=Yt(i,["accounts"]);return w(x({},n),{account:t})}),Ip=m(Ut,e=>e.balance),Ap=m(Ut,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),vp=m(q,e=>e.shard),kp=m(q,e=>e.ledgerAccount),Ep=m(q,e=>e.walletConnectAccount),Lp=m(q,e=>e.isAccountLoading),Dp=m(q,e=>e.accountLoadingError),Np=m(q,e=>e.websocketEvent);o();var K=e=>e.loginInfo,Pp=m(K,e=>e.loginMethod),Mp=m(K,Bt,(e,t)=>Ge(e.loginMethod,t)),Fp=m(K,e=>e.walletConnectLogin),Op=m(K,e=>e.ledgerLogin),Bp=m(K,e=>e.walletLogin),Up=m(K,e=>e.isLoginSessionInvalid),Vp=m(K,e=>e.tokenLogin),$p=m(K,e=>e.logoutRoute);o();var io=e=>e.modals,Wp=m(io,e=>e.txSubmittedModal),qp=m(io,e=>e.notificationModal);o();var te=e=>e.networkConfig,Kp=m(te,e=>e.chainID),Yp=m(te,e=>e.network.walletConnectBridgeAddress),Zp=m(te,e=>e.network.walletConnectV2RelayAddress),Xp=m(te,e=>e.network.walletConnectV2ProjectId),Qp=m(te,e=>e.network.walletConnectV2Options),Jp=m(te,e=>e.network.walletConnectDeepLink),Vt=m(te,e=>e.network),eu=m(Vt,e=>e.apiAddress),ao=m(Vt,e=>e.explorerAddress),tu=m(Vt,e=>e.egldLabel);o();var $t=e=>e.signedMessageInfo,ou=m($t,e=>e.isSigning),iu=m($t,e=>e.errorMessage),au=m($t,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var Gt=e=>e.toasts,lu=m(Gt,e=>e.customToasts),pu=m(Gt,e=>e.transactionToasts),uu=m(Gt,e=>e.failTransactionToast);o();se();var so={errorMessage:Nt,successMessage:Rt,processingMessage:Ct},$i=e=>e.transactionsInfo,fu=m($i,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);o();o();var N=require("@multiversx/sdk-core");I();o();function Ht(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Wt(e){var i,l,p;let{data:t}=e,r=Ht(t!=null?t:"")?N.TransactionPayload.fromEncoded(t):new N.TransactionPayload(t),n=new N.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new N.Address(e.receiver),sender:new N.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:dt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:gt,chainID:e.chainID.valueOf(),version:new N.TransactionVersion((p=e.version)!=null?p:Pr)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();Pt();o();var Hi=b(require("bignumber.js"));B();o();o();o();o();var qi=require("@multiversx/sdk-core"),ji=b(require("bignumber.js"));O();o();var Wi=require("@multiversx/sdk-core");o();o();o();var Ki=require("@multiversx/sdk-core/out");o();I();o();var uo=require("@multiversx/sdk-core");B();o();o();o();o();O();o();o();o();o();o();o();o();o();o();o();o();L();o();o();L();o();o();o();var ea=b(require("bignumber.js"));I();o();var Ji=require("@multiversx/sdk-core"),qt=b(require("bignumber.js"));I();o();var Xi=b(require("bignumber.js"));o();qt.default.config({ROUNDING_MODE:qt.default.ROUND_FLOOR});o();o();o();I();o();o();o();o();I();o();I();o();var ta=require("@multiversx/sdk-core");I();o();var he=require("@multiversx/sdk-core"),na=require("@multiversx/sdk-network-providers");I();o();o();var ra=b(require("bignumber.js"));I();o();I();o();o();o();o();o();I();o();L();var ia=["reDelegateRewards","claimRewards","unBond"],aa=["wrapEgld","unwrapEgld"],sa=["unStake"],ca=["unDelegate"];o();o();o();I();o();var ua=b(require("bignumber.js"));o();o();o();L();o();var da=b(require("bignumber.js"));o();o();o();o();L();o();o();o();var ma=b(require("linkifyjs"));o();I();o();var fa=b(require("bignumber.js"));o();B();o();o();O();o();O();o();o();o();L();o();L();o();var Ta=b(require("bignumber.js"));I();L();o();L();o();var yo=require("react");B();o();o();L();o();var ya=require("@multiversx/sdk-core/out"),ha=b(require("bignumber.js"));L();o();L();o();o();O();var zT=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var ho=require("react");B();o();var Sa=require("react");L();var ey=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Ye=e=>e.transactions,xe=m(Ye,e=>e.signedTransactions),By=m(Ye,e=>e.signTransactionsError),Uy=m(Ye,e=>e.signTransactionsCancelMessage),Ze=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),Vy=m(xe,Ze(In)),$y=m(xe,Ze(Oe)),Gy=m(xe,Ze(Be)),Hy=m(xe,Ze(An)),Wy=m(Ye,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Wt(r)))||[]})}),qy=m(xe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var wa=()=>no(oo);0&&(module.exports={useGetAccountInfo});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var We=Object.create;var M=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var He=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),$e=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},oe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qe(e))!je.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var se=(t,e,r)=>(r=t!=null?We(He(t)):{},oe(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),Ye=t=>oe(M({},"__esModule",{value:!0}),t);var pe=G(W=>{"use strict";l();W.byteLength=Qe;W.toByteArray=Ze;W.fromByteArray=rr;var k=[],v=[],Xe=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,le=V.length;F<le;++F)k[F]=V[F],v[V.charCodeAt(F)]=F;var F,le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ce(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 Qe(t){var e=ce(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ke(t,e,r){return(e+r)*3/4-r}function Ze(t){var e,r=ce(t),n=r[0],i=r[1],a=new Xe(Ke(t,n,i)),o=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)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Je(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function er(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Je(n));return i.join("")}function rr(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(er(t,o,o+a>c?c:o+a));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 ue=G($=>{l();$.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,b=r?-1:1,T=t[e+u];for(u+=b,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+u],u+=b,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=b,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};$.write=function(t,e,r,n,i,a){var o,c,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,P=n?1:-1,Ge=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=b/p:e+=b*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(c=0,o=g):o+u>=1?(c=(e*p-1)*Math.pow(2,i),o=o+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=P,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=P,o/=256,d-=8);t[r+T-P]|=Ge*128}});var Ee=G(U=>{"use strict";l();var Y=pe(),B=ue(),de=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=sr;U.INSPECT_MAX_BYTES=50;var z=2147483647;U.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=tr();!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 tr(){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 R(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 Z(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return ir(t,e);if(ArrayBuffer.isView(t))return ar(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return 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=or(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 fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function he(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 nr(t,e,r){return he(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return nr(t,e,r)};function Z(t){return he(t),R(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ir(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ye(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function ar(t){if(E(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return X(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 or(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function sr(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(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),E(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,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];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),a=0;for(n=0;n<e.length;++n){var o=e[n];if(E(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function ye(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ke(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ye;function lr(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 wr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return hr(this,e,r);case"latin1":case"binary":return yr(this,e,r);case"base64":return mr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xr(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?xe(this,0,e):lr.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=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};de&&(s.prototype[de]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(E(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),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,p=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],c=g[u];break}return o<c?-1:c<o?1:0};function we(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,ee(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:ge(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):ge(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ge(t,e,r,n,i){var a=1,o=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;a=2,o/=2,c/=2,r/=2}function p(T,P){return a===1?T[P]:T.readUInt16BE(P*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var u=!0,b=0;b<c;b++)if(p(t,d+b)!==p(e,b)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return we(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return we(this,e,r,n,!1)};function cr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ee(c))return o;t[r+o]=c}return o}function pr(t,e,r,n){return q(K(e,t.length-r),t,r,n)}function ur(t,e,r,n){return q(br(e),t,r,n)}function dr(t,e,r,n){return q(ke(e),t,r,n)}function gr(t,e,r,n){return q(kr(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 a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return cr(this,e,r,n);case"utf8":case"utf-8":return pr(this,e,r,n);case"ascii":case"latin1":case"binary":return ur(this,e,r,n);case"base64":return dr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function mr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return fr(n)}var me=4096;function fr(t){var e=t.length;if(e<=me)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=me));return r}function hr(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 yr(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 wr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Er[t[a]];return i}function xr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+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 w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!1,52,8)};function x(t,e,r,n,i,a){if(!s.isBuffer(t))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(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 a=Math.pow(2,8*n)-1;x(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&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 a=Math.pow(2,8*n)-1;x(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||x(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||x(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||x(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||x(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||x(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 a=Math.pow(2,8*n-1);x(this,e,r,n,a-1,-a)}var o=0,c=1,p=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);x(this,e,r,n,a-1,-a)}var o=n-1,c=1,p=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||x(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||x(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||x(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||x(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||x(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 Te(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ve(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ve(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ve(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(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 a=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),a};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 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(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 o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=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(o=0;o<n-r;++o)this[o+r]=c[o%p]}return this};var Tr=/[^+/0-9A-Za-z-_]/g;function vr(t){if(t=t.split("=")[0],t=t.trim().replace(Tr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function br(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function kr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ke(t){return Y.toByteArray(vr(t))}function q(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 E(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Er=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 Se=G((Dr,Re)=>{l();var y=Re.exports={},_,I;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?I=clearTimeout:I=te}catch(t){I=te}})();function _e(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&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 _r(t){if(I===clearTimeout)return clearTimeout(t);if((I===te||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],O=!1,D,H=-1;function Ir(){!O||!D||(O=!1,D.length?S=D.concat(S):H=-1,S.length&&Ie())}function Ie(){if(!O){var t=_e(Ir);O=!0;for(var e=S.length;e;){for(D=S,S=[];++H<e;)D&&D[H].run();H=-1,e=S.length}D=null,O=!1,_r(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];S.push(new Ae(t,e)),S.length===1&&!O&&_e(Ie)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;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 m,f,Pr,l=Ve(()=>{m=se(Ee()),f=se(Se()),Pr=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 Sr={};$e(Sr,{useGetAccountProvider:()=>Rr});module.exports=Ye(Sr);l();l();l();l();var Ce=require("@multiversx/sdk-extension-provider"),De=require("@multiversx/sdk-hw-provider"),Pe=require("@multiversx/sdk-opera-provider"),Be=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Ue=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Oe=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Le,egldLabel:et}=ne["devnet"],{chainId:Ne,egldLabel:rt}=ne["testnet"],{chainId:Fe,egldLabel:tt}=ne["mainnet"];var nt={["devnet"]:Le,["testnet"]:Ne,["mainnet"]:Fe},it={[Le]:"devnet",[Ne]:"testnet",[Fe]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Me=t=>{switch(t==null?void 0:t.constructor){case Oe.WalletProvider:return"wallet";case Be.WalletConnectProvider:return"walletconnect";case Ue.WalletConnectV2Provider:return"walletconnectv2";case De.HWProvider:return"ledger";case Ce.ExtensionProvider:return"extension";case Pe.OperaProvider:return"opera";case j:return"";default:return"extra"}};var N=t=>`Unable to perform ${t}, Provider not initialized`,j=class{init(){return Promise.resolve(!1)}login(e){throw new Error(N(`login with options: ${e}`))}logout(e){throw new Error(N(`logout with options: ${e}`))}getAddress(){throw new Error(N("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(N(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(N(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(N(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(N(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(N(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(N(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},ie=new j;var Ar=ie;function ae(){return Ar||ie}var Rr=()=>{let t=ae(),e=Me(t);return{provider:t,providerType:e}};0&&(module.exports={useGetAccountProvider});
|
|
1
|
+
"use strict";var We=Object.create;var M=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var He=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),$e=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qe(e))!je.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var se=(t,e,r)=>(r=t!=null?We(He(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),Ye=t=>ae(M({},"__esModule",{value:!0}),t);var pe=G(W=>{"use strict";l();W.byteLength=Qe;W.toByteArray=Ze;W.fromByteArray=rr;var k=[],v=[],Xe=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,le=V.length;F<le;++F)k[F]=V[F],v[V.charCodeAt(F)]=F;var F,le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ce(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 Qe(t){var e=ce(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ke(t,e,r){return(e+r)*3/4-r}function Ze(t){var e,r=ce(t),n=r[0],i=r[1],o=new Xe(Ke(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 Je(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function er(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(Je(n));return i.join("")}function rr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(er(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 ue=G($=>{l();$.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,b=r?-1:1,T=t[e+u];for(u+=b,o=T&(1<<-g)-1,T>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=b,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,P=n?1:-1,Ge=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=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=b/p:e+=b*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):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+T]=c&255,T+=P,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+T]=a&255,T+=P,a/=256,d-=8);t[r+T-P]|=Ge*128}});var Ee=G(U=>{"use strict";l();var Y=pe(),B=ue(),de=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=sr;U.INSPECT_MAX_BYTES=50;var z=2147483647;U.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=tr();!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 tr(){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 R(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 Z(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return ir(t,e);if(ArrayBuffer.isView(t))return or(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return 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=ar(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 fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function he(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 nr(t,e,r){return he(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return nr(t,e,r)};function Z(t){return he(t),R(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ir(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ye(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function or(t){if(E(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return X(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 ar(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function sr(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(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),E(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(E(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 ye(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ke(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ye;function lr(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 wr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return hr(this,e,r);case"latin1":case"binary":return yr(this,e,r);case"base64":return mr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xr(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?xe(this,0,e):lr.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=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};de&&(s.prototype[de]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(E(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),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function we(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,ee(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:ge(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):ge(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ge(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(T,P){return o===1?T[P]:T.readUInt16BE(P*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,b=0;b<c;b++)if(p(t,d+b)!==p(e,b)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return we(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return we(this,e,r,n,!1)};function cr(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(ee(c))return a;t[r+a]=c}return a}function pr(t,e,r,n){return q(K(e,t.length-r),t,r,n)}function ur(t,e,r,n){return q(br(e),t,r,n)}function dr(t,e,r,n){return q(ke(e),t,r,n)}function gr(t,e,r,n){return q(kr(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 cr(this,e,r,n);case"utf8":case"utf-8":return pr(this,e,r,n);case"ascii":case"latin1":case"binary":return ur(this,e,r,n);case"base64":return dr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gr(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 mr(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function xe(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,d,g,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],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&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 fr(n)}var me=4096;function fr(t){var e=t.length;if(e<=me)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=me));return r}function hr(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 yr(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 wr(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+=Er[t[o]];return i}function xr(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 w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(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||w(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||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(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||w(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||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!1,52,8)};function x(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;x(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;x(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||x(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||x(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||x(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||x(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||x(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);x(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);x(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||x(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||x(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||x(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||x(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||x(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 Te(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 ve(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ve(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ve(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(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 Tr=/[^+/0-9A-Za-z-_]/g;function vr(t){if(t=t.split("=")[0],t=t.trim().replace(Tr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(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 br(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function kr(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 ke(t){return Y.toByteArray(vr(t))}function q(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 E(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Er=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 Se=G((Dr,Re)=>{l();var y=Re.exports={},_,I;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?I=clearTimeout:I=te}catch(t){I=te}})();function _e(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&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 _r(t){if(I===clearTimeout)return clearTimeout(t);if((I===te||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],O=!1,D,H=-1;function Ir(){!O||!D||(O=!1,D.length?S=D.concat(S):H=-1,S.length&&Ie())}function Ie(){if(!O){var t=_e(Ir);O=!0;for(var e=S.length;e;){for(D=S,S=[];++H<e;)D&&D[H].run();H=-1,e=S.length}D=null,O=!1,_r(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];S.push(new Ae(t,e)),S.length===1&&!O&&_e(Ie)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;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 m,f,Pr,l=Ve(()=>{m=se(Ee()),f=se(Se()),Pr=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 Sr={};$e(Sr,{useGetAccountProvider:()=>Rr});module.exports=Ye(Sr);l();l();l();l();var Ce=require("@multiversx/sdk-extension-provider"),De=require("@multiversx/sdk-hw-provider"),Pe=require("@multiversx/sdk-opera-provider"),Be=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Ue=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Oe=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();var ne={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",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Le,egldLabel:et}=ne["devnet"],{chainId:Ne,egldLabel:rt}=ne["testnet"],{chainId:Fe,egldLabel:tt}=ne["mainnet"];var nt={["devnet"]:Le,["testnet"]:Ne,["mainnet"]:Fe},it={[Le]:"devnet",[Ne]:"testnet",[Fe]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Me=t=>{switch(t==null?void 0:t.constructor){case Oe.WalletProvider:return"wallet";case Be.WalletConnectProvider:return"walletconnect";case Ue.WalletConnectV2Provider:return"walletconnectv2";case De.HWProvider:return"ledger";case Ce.ExtensionProvider:return"extension";case Pe.OperaProvider:return"opera";case j:return"";default:return"extra"}};var N=t=>`Unable to perform ${t}, Provider not initialized`,j=class{init(){return Promise.resolve(!1)}login(e){throw new Error(N(`login with options: ${e}`))}logout(e){throw new Error(N(`logout with options: ${e}`))}getAddress(){throw new Error(N("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(N(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(N(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(N(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(N(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(N(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(N(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},ie=new j;var Ar=ie;function oe(){return Ar||ie}var Rr=()=>{let t=oe(),e=Me(t);return{provider:t,providerType:e}};0&&(module.exports={useGetAccountProvider});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|