@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 jr=Object.create;var M=Object.defineProperty;var Kr=Object.getOwnPropertyDescriptor;var Zr=Object.getOwnPropertyNames;var $r=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var re=(t,r)=>()=>(t&&(r=t(t=0)),r);var O=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ee=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},er=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Zr(r))!Vr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Kr(r,i))||n.enumerable});return t};var tr=(t,r,e)=>(e=t!=null?jr($r(t)):{},er(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),te=t=>er(M({},"__esModule",{value:!0}),t);var ar=O(G=>{"use strict";h();G.byteLength=ie;G.toByteArray=oe;G.fromByteArray=pe;var b=[],k=[],ne=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,nr=z.length;U<nr;++U)b[U]=z[U],k[z.charCodeAt(U)]=U;var U,nr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function ie(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ae(t,r,e){return(r+e)*3/4-e}function oe(t){var r,e=ir(t),n=e[0],i=e[1],o=new ne(ae(t,n,i)),a=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=k[t.charCodeAt(u)]<<18|k[t.charCodeAt(u+1)]<<12|k[t.charCodeAt(u+2)]<<6|k[t.charCodeAt(u+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=k[t.charCodeAt(u)]<<2|k[t.charCodeAt(u+1)]>>4,o[a++]=r&255),i===1&&(r=k[t.charCodeAt(u)]<<10|k[t.charCodeAt(u+1)]<<4|k[t.charCodeAt(u+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function se(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function ue(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(se(n));return i.join("")}function pe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(ue(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var or=O(W=>{h();W.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,l=e?i-1:0,I=e?-1:1,v=t[r+l];for(l+=I,o=v&(1<<-g)-1,v>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=I,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=I,g-=8);if(o===0)o=1-f;else{if(o===u)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(v?-1:1)*a*Math.pow(2,o-n)};W.write=function(t,r,e,n,i,o){var a,p,u,f=o*8-i-1,g=(1<<f)-1,l=g>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,y=n?1:-1,Jr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+l>=1?r+=I/u:r+=I*Math.pow(2,1-l),r*u>=2&&(a++,u/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*u-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+v]=p&255,v+=y,p/=256,i-=8);for(a=a<<i|p,f+=i;f>0;t[e+v]=a&255,v+=y,a/=256,f-=8);t[e+v-y]|=Jr*128}});var wr=O(D=>{"use strict";h();var Q=ar(),N=or(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=ye;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=ce();!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 ce(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(t)}return cr(t,r,e)}s.poolSize=8192;function cr(t,r,e){if(typeof t=="string")return fe(t,r);if(ArrayBuffer.isView(t))return ge(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return J(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=he(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return cr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function lr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function le(t,r,e){return lr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return le(t,r,e)};function K(t){return lr(t),R(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return K(t)};s.allocUnsafeSlow=function(t){return K(t)};function fe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=fr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function X(t){for(var r=t.length<0?0:Z(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ge(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return J(r.buffer,r.byteOffset,r.byteLength)}return X(t)}function J(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function he(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function Z(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function ye(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(S(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 fr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:j(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=fr;function de(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Se(this,r,e);case"utf8":case"utf-8":return hr(this,r,e);case"ascii":return Ie(this,r,e);case"latin1":case"binary":return be(this,r,e);case"base64":return Fe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Be(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?hr(this,0,r):de.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(s.prototype[sr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,u=Math.min(a,p),f=this.slice(i,o),g=r.slice(e,n),l=0;l<u;++l)if(f[l]!==g[l]){a=f[l],p=g[l];break}return a<p?-1:p<a?1:0};function gr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:ur(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ur(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function ur(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function u(v,y){return o===1?v[y]:v.readUInt16BE(y*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+p>a&&(e=a-p),f=e;f>=0;f--){for(var l=!0,I=0;I<p;I++)if(u(t,f+I)!==u(r,I)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return gr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return gr(this,r,e,n,!1)};function xe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if($(p))return a;t[e+a]=p}return a}function me(t,r,e,n){return q(j(r,t.length-e),t,e,n)}function we(t,r,e,n){return q(_e(r),t,e,n)}function Te(t,r,e,n){return q(mr(r),t,e,n)}function ve(t,r,e,n){return q(Le(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xe(this,r,e,n);case"utf8":case"utf-8":return me(this,r,e,n);case"ascii":case"latin1":case"binary":return we(this,r,e,n);case"base64":return Te(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Fe(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function hr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var u,f,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(l=(o&31)<<6|u&63,l>127&&(a=l));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(l=(o&15)<<12|(u&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(u&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ke(n)}var pr=4096;function ke(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function Ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function be(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Se(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ue[t[o]];return i}function Be(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),N.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),N.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),N.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),N.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,u=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&u===0&&this[e+a-1]!==0&&(u=1),this[e+a]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,u=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&u===0&&this[e+a+1]!==0&&(u=1),this[e+a]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function yr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function dr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,4,34028234663852886e22,-34028234663852886e22),N.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,8,17976931348623157e292,-17976931348623157e292),N.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return xr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return xr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%u]}return this};var Ae=/[^+/0-9A-Za-z-_]/g;function Re(t){if(t=t.split("=")[0],t=t.trim().replace(Ae,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function j(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function _e(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Le(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function mr(t){return Q.toByteArray(Re(t))}function q(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function S(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var Ue=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ir=O((Ge,kr)=>{h();var d=kr.exports={},B,A;function V(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=V}catch(t){B=V}try{typeof clearTimeout=="function"?A=clearTimeout:A=rr}catch(t){A=rr}})();function Tr(t){if(B===setTimeout)return setTimeout(t,0);if((B===V||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function Ee(t){if(A===clearTimeout)return clearTimeout(t);if((A===rr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var _=[],P=!1,C,Y=-1;function Ce(){!P||!C||(P=!1,C.length?_=C.concat(_):Y=-1,_.length&&vr())}function vr(){if(!P){var t=Tr(Ce);P=!0;for(var r=_.length;r;){for(C=_,_=[];++Y<r;)C&&C[Y].run();Y=-1,r=_.length}C=null,P=!1,Ee(t)}}d.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];_.push(new Fr(t,r)),_.length===1&&!P&&Tr(vr)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function L(){}d.on=L;d.addListener=L;d.once=L;d.off=L;d.removeListener=L;d.removeAllListeners=L;d.emit=L;d.prependListener=L;d.prependOnceListener=L;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var m,w,He,h=re(()=>{m=tr(wr()),w=tr(Ir()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ne={};ee(Ne,{DappCoreWCV2CustomMethodsEnum:()=>Dr,DecodeMethodEnum:()=>Xr,EnvironmentsEnum:()=>Ur,HiddenTransactionOperationType:()=>zr,LoginMethodsEnum:()=>Rr,NotificationTypesEnum:()=>_r,PlatformsEnum:()=>Pr,SignedMessageQueryParamsEnum:()=>br,SignedMessageStatusesEnum:()=>Br,ToastsEnum:()=>Er,TransactionActionCategoryEnum:()=>Hr,TransactionActionsEnum:()=>Gr,TransactionBatchStatusesEnum:()=>Ar,TransactionDirectionEnum:()=>Qr,TransactionOperationActionTypeEnum:()=>qr,TransactionServerStatusesEnum:()=>Sr,TransactionTypesEnum:()=>Cr,TransactionsDefaultTitles:()=>Nr,TransferTypeEnum:()=>Wr,TypesOfSmartContractCallsEnum:()=>Lr,VisibleTransactionOperationType:()=>Yr,WebViewProviderRequestEnums:()=>Mr,WebViewProviderResponseEnums:()=>Or});module.exports=te(Ne);h();h();var br=(n=>(n.signature="signature",n.sessionId="sessionId",n.status="status",n))(br||{});h();h();h();var Sr=(p=>(p.pending="pending",p.fail="fail",p.invalid="invalid",p.success="success",p.executed="executed",p.notExecuted="not executed",p.rewardReverted="reward-reverted",p))(Sr||{}),Br=(i=>(i.pending="pending",i.failed="failed",i.signed="signed",i.cancelled="cancelled",i))(Br||{}),Ar=(a=>(a.signed="signed",a.cancelled="cancelled",a.success="success",a.sent="sent",a.fail="fail",a.timedOut="timedOut",a))(Ar||{}),Rr=(u=>(u.ledger="ledger",u.walletconnect="walletconnect",u.walletconnectv2="walletconnectv2",u.wallet="wallet",u.extension="extension",u.opera="opera",u.extra="extra",u.none="",u))(Rr||{}),_r=(n=>(n.warning="warning",n.error="error",n.success="success",n))(_r||{}),Lr=(e=>(e.MultiESDTNFTTransfer="MultiESDTNFTTransfer",e.ESDTNFTTransfer="ESDTNFTTransfer",e))(Lr||{}),Ur=(n=>(n.testnet="testnet",n.devnet="devnet",n.mainnet="mainnet",n))(Ur||{}),Er=(e=>(e.custom="custom",e.transaction="transaction",e))(Er||{}),Cr=(a=>(a.MultiESDTNFTTransfer="MultiESDTNFTTransfer",a.ESDTTransfer="ESDTTransfer",a.ESDTNFTTransfer="ESDTNFTTransfer",a.esdtTransaction="esdtTransaction",a.nftTransaction="nftTransaction",a.scCall="scCall",a))(Cr||{}),Nr=(i=>(i.success="Transaction successful",i.failed="Transaction failed",i.pending="Processing transaction",i.timedOut="Transaction timed out",i))(Nr||{}),Dr=(r=>(r.erd_cancelAction="erd_cancelAction",r))(Dr||{}),Pr=(n=>(n.ios="ios",n.reactNative="reactNative",n.web="web",n))(Pr||{}),Mr=(o=>(o.signTransactionsRequest="SIGN_TRANSACTIONS_REQUEST",o.signMessageRequest="SIGN_MESSAGE_REQUEST",o.loginRequest="LOGIN_REQUEST",o.logoutRequest="LOGOUT_REQUEST",o.reloginRequest="RELOGIN_REQUEST",o))(Mr||{}),Or=(i=>(i.signTransactionsResponse="SIGN_TRANSACTIONS_RESPONSE",i.signMessageResponse="SIGN_MESSAGE_RESPONSE",i.loginResponse="LOGIN_RESPONSE",i.reloginResponse="RELOGIN_RESPONSE",i))(Or||{});h();h();h();var Gr=(c=>(c.transfer="transfer",c.unBond="unBond",c.unStake="unStake",c.delegate="delegate",c.stake="stake",c.unDelegate="unDelegate",c.stakeClaimRewards="claimRewards",c.reDelegateRewards="reDelegateRewards",c.withdraw="withdraw",c.claimLockedAssets="claimLockedAssets",c.swapTokensFixedInput="swapTokensFixedInput",c.swapTokensFixedOutput="swapTokensFixedOutput",c.swap="swap",c.addLiquidity="addLiquidity",c.addLiquidityProxy="addLiquidityProxy",c.removeLiquidity="removeLiquidity",c.removeLiquidityProxy="removeLiquidityProxy",c.enterFarm="enterFarm",c.enterFarmProxy="enterFarmProxy",c.enterFarmAndLockRewards="enterFarmAndLockRewards",c.enterFarmAndLockRewardsProxy="enterFarmAndLockRewardsProxy",c.exitFarm="exitFarm",c.exitFarmProxy="exitFarmProxy",c.claimRewards="claimRewards",c.claimRewardsProxy="claimRewardsProxy",c.compoundRewards="compoundRewards",c.compoundRewardsProxy="compoundRewardsProxy",c.wrapEgld="wrapEgld",c.unwrapEgld="unwrapEgld",c.unlockAssets="unlockAssets",c.mergeLockedAssetTokens="mergeLockedAssetTokens",c.stakeFarm="stakeFarm",c.stakeFarmProxy="stakeFarmProxy",c.stakeFarmTokens="stakeFarmTokens",c.stakeFarmTokensProxy="stakeFarmTokensProxy",c.unstakeFarm="unstakeFarm",c.unstakeFarmProxy="unstakeFarmProxy",c.unstakeFarmTokens="unstakeFarmTokens",c.unstakeFarmTokensProxy="unstakeFarmTokensProxy",c.claimDualYield="claimDualYield",c.claimDualYieldProxy="claimDualYieldProxy",c.unbondFarm="unbondFarm",c.ping="ping",c.lockTokens="lockTokens",c.migrateOldTokens="migrateOldTokens",c))(Gr||{}),Hr=(i=>(i.esdtNft="esdtNft",i.mex="mex",i.stake="stake",i.scCall="scCall",i))(Hr||{}),qr=(y=>(y.none="none",y.transfer="transfer",y.burn="burn",y.addQuantity="addQuantity",y.create="create",y.multiTransfer="multiTransfer",y.localMint="localMint",y.localBurn="localBurn",y.wipe="wipe",y.freeze="freeze",y.writeLog="writeLog",y.signalError="signalError",y.ESDTLocalMint="ESDTLocalMint",y.ESDTLocalBurn="ESDTLocalBurn",y))(qr||{}),Yr=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Yr||{}),zr=(n=>(n.none="none",n.error="error",n.log="log",n))(zr||{}),Wr=(e=>(e.Transaction="Transaction",e.SmartContractResult="SmartContractResult",e))(Wr||{}),Qr=(i=>(i.SELF="Self",i.INTERNAL="Internal",i.IN="In",i.OUT="Out",i))(Qr||{}),Xr=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(Xr||{});h();h();0&&(module.exports={DappCoreWCV2CustomMethodsEnum,DecodeMethodEnum,EnvironmentsEnum,HiddenTransactionOperationType,LoginMethodsEnum,NotificationTypesEnum,PlatformsEnum,SignedMessageQueryParamsEnum,SignedMessageStatusesEnum,ToastsEnum,TransactionActionCategoryEnum,TransactionActionsEnum,TransactionBatchStatusesEnum,TransactionDirectionEnum,TransactionOperationActionTypeEnum,TransactionServerStatusesEnum,TransactionTypesEnum,TransactionsDefaultTitles,TransferTypeEnum,TypesOfSmartContractCallsEnum,VisibleTransactionOperationType,WebViewProviderRequestEnums,WebViewProviderResponseEnums});
|
|
1
|
+
"use strict";var jr=Object.create;var M=Object.defineProperty;var Kr=Object.getOwnPropertyDescriptor;var Zr=Object.getOwnPropertyNames;var $r=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var re=(t,r)=>()=>(t&&(r=t(t=0)),r);var O=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ee=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},er=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Zr(r))!Vr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Kr(r,i))||n.enumerable});return t};var tr=(t,r,e)=>(e=t!=null?jr($r(t)):{},er(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),te=t=>er(M({},"__esModule",{value:!0}),t);var ar=O(G=>{"use strict";h();G.byteLength=ie;G.toByteArray=oe;G.fromByteArray=ue;var b=[],k=[],ne=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,nr=z.length;U<nr;++U)b[U]=z[U],k[z.charCodeAt(U)]=U;var U,nr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function ie(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ae(t,r,e){return(r+e)*3/4-e}function oe(t){var r,e=ir(t),n=e[0],i=e[1],o=new ne(ae(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=k[t.charCodeAt(p)]<<18|k[t.charCodeAt(p+1)]<<12|k[t.charCodeAt(p+2)]<<6|k[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=k[t.charCodeAt(p)]<<2|k[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=k[t.charCodeAt(p)]<<10|k[t.charCodeAt(p+1)]<<4|k[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function se(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function pe(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(se(n));return i.join("")}function ue(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(pe(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var or=O(W=>{h();W.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,l=e?i-1:0,I=e?-1:1,v=t[r+l];for(l+=I,o=v&(1<<-g)-1,v>>=-g,g+=u;g>0;o=o*256+t[r+l],l+=I,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=I,g-=8);if(o===0)o=1-f;else{if(o===p)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(v?-1:1)*a*Math.pow(2,o-n)};W.write=function(t,r,e,n,i,o){var a,u,p,f=o*8-i-1,g=(1<<f)-1,l=g>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,y=n?1:-1,Jr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+l>=1?r+=I/p:r+=I*Math.pow(2,1-l),r*p>=2&&(a++,p/=2),a+l>=g?(u=0,a=g):a+l>=1?(u=(r*p-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+v]=u&255,v+=y,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+v]=a&255,v+=y,a/=256,f-=8);t[e+v-y]|=Jr*128}});var wr=O(D=>{"use strict";h();var Q=ar(),N=or(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=ye;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=ce();!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 ce(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(t)}return cr(t,r,e)}s.poolSize=8192;function cr(t,r,e){if(typeof t=="string")return fe(t,r);if(ArrayBuffer.isView(t))return ge(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return J(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=he(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return cr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function lr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function le(t,r,e){return lr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return le(t,r,e)};function K(t){return lr(t),R(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return K(t)};s.allocUnsafeSlow=function(t){return K(t)};function fe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=fr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function X(t){for(var r=t.length<0?0:Z(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ge(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return J(r.buffer,r.byteOffset,r.byteLength)}return X(t)}function J(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function he(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?R(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function Z(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function ye(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(S(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 fr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:j(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=fr;function de(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Se(this,r,e);case"utf8":case"utf-8":return hr(this,r,e);case"ascii":return Ie(this,r,e);case"latin1":case"binary":return be(this,r,e);case"base64":return Fe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Be(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?hr(this,0,r):de.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(s.prototype[sr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),l=0;l<p;++l)if(f[l]!==g[l]){a=f[l],u=g[l];break}return a<u?-1:u<a?1:0};function gr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(v,y){return o===1?v[y]:v.readUInt16BE(y*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var l=!0,I=0;I<u;I++)if(p(t,f+I)!==p(r,I)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return gr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return gr(this,r,e,n,!1)};function xe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if($(u))return a;t[e+a]=u}return a}function me(t,r,e,n){return q(j(r,t.length-e),t,e,n)}function we(t,r,e,n){return q(_e(r),t,e,n)}function Te(t,r,e,n){return q(mr(r),t,e,n)}function ve(t,r,e,n){return q(Le(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xe(this,r,e,n);case"utf8":case"utf-8":return me(this,r,e,n);case"ascii":case"latin1":case"binary":return we(this,r,e,n);case"base64":return Te(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Fe(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function hr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,f,g,l;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(l=(o&31)<<6|p&63,l>127&&(a=l));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(l=(o&15)<<12|(p&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(p&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return ke(n)}var ur=4096;function ke(t){var r=t.length;if(r<=ur)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=ur));return e}function Ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function be(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Se(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ue[t[o]];return i}function Be(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),N.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),N.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),N.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),N.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function yr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function dr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,4,34028234663852886e22,-34028234663852886e22),N.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,8,17976931348623157e292,-17976931348623157e292),N.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return xr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return xr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var Ae=/[^+/0-9A-Za-z-_]/g;function Re(t){if(t=t.split("=")[0],t=t.trim().replace(Ae,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function j(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function _e(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Le(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function mr(t){return Q.toByteArray(Re(t))}function q(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function S(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var Ue=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ir=O((Ge,kr)=>{h();var d=kr.exports={},B,A;function V(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=V}catch(t){B=V}try{typeof clearTimeout=="function"?A=clearTimeout:A=rr}catch(t){A=rr}})();function Tr(t){if(B===setTimeout)return setTimeout(t,0);if((B===V||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function Ee(t){if(A===clearTimeout)return clearTimeout(t);if((A===rr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var _=[],P=!1,C,Y=-1;function Ce(){!P||!C||(P=!1,C.length?_=C.concat(_):Y=-1,_.length&&vr())}function vr(){if(!P){var t=Tr(Ce);P=!0;for(var r=_.length;r;){for(C=_,_=[];++Y<r;)C&&C[Y].run();Y=-1,r=_.length}C=null,P=!1,Ee(t)}}d.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];_.push(new Fr(t,r)),_.length===1&&!P&&Tr(vr)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function L(){}d.on=L;d.addListener=L;d.once=L;d.off=L;d.removeListener=L;d.removeAllListeners=L;d.emit=L;d.prependListener=L;d.prependOnceListener=L;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var m,w,He,h=re(()=>{m=tr(wr()),w=tr(Ir()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ne={};ee(Ne,{DappCoreWCV2CustomMethodsEnum:()=>Dr,DecodeMethodEnum:()=>Xr,EnvironmentsEnum:()=>Ur,HiddenTransactionOperationType:()=>zr,LoginMethodsEnum:()=>Rr,NotificationTypesEnum:()=>_r,PlatformsEnum:()=>Pr,SignedMessageQueryParamsEnum:()=>br,SignedMessageStatusesEnum:()=>Br,ToastsEnum:()=>Er,TransactionActionCategoryEnum:()=>Hr,TransactionActionsEnum:()=>Gr,TransactionBatchStatusesEnum:()=>Ar,TransactionDirectionEnum:()=>Qr,TransactionOperationActionTypeEnum:()=>qr,TransactionServerStatusesEnum:()=>Sr,TransactionTypesEnum:()=>Cr,TransactionsDefaultTitles:()=>Nr,TransferTypeEnum:()=>Wr,TypesOfSmartContractCallsEnum:()=>Lr,VisibleTransactionOperationType:()=>Yr,WebViewProviderRequestEnums:()=>Mr,WebViewProviderResponseEnums:()=>Or});module.exports=te(Ne);h();h();var br=(n=>(n.signature="signature",n.sessionId="sessionId",n.status="status",n))(br||{});h();h();h();var Sr=(u=>(u.pending="pending",u.fail="fail",u.invalid="invalid",u.success="success",u.executed="executed",u.notExecuted="not executed",u.rewardReverted="reward-reverted",u))(Sr||{}),Br=(i=>(i.pending="pending",i.failed="failed",i.signed="signed",i.cancelled="cancelled",i))(Br||{}),Ar=(a=>(a.signed="signed",a.cancelled="cancelled",a.success="success",a.sent="sent",a.fail="fail",a.timedOut="timedOut",a))(Ar||{}),Rr=(p=>(p.ledger="ledger",p.walletconnect="walletconnect",p.walletconnectv2="walletconnectv2",p.wallet="wallet",p.extension="extension",p.opera="opera",p.extra="extra",p.none="",p))(Rr||{}),_r=(n=>(n.warning="warning",n.error="error",n.success="success",n))(_r||{}),Lr=(e=>(e.MultiESDTNFTTransfer="MultiESDTNFTTransfer",e.ESDTNFTTransfer="ESDTNFTTransfer",e))(Lr||{}),Ur=(n=>(n.testnet="testnet",n.devnet="devnet",n.mainnet="mainnet",n))(Ur||{}),Er=(e=>(e.custom="custom",e.transaction="transaction",e))(Er||{}),Cr=(a=>(a.MultiESDTNFTTransfer="MultiESDTNFTTransfer",a.ESDTTransfer="ESDTTransfer",a.ESDTNFTTransfer="ESDTNFTTransfer",a.esdtTransaction="esdtTransaction",a.nftTransaction="nftTransaction",a.scCall="scCall",a))(Cr||{}),Nr=(i=>(i.success="Transaction successful",i.failed="Transaction failed",i.pending="Processing transaction",i.timedOut="Transaction timed out",i))(Nr||{}),Dr=(r=>(r.erd_cancelAction="erd_cancelAction",r))(Dr||{}),Pr=(n=>(n.ios="ios",n.reactNative="reactNative",n.web="web",n))(Pr||{}),Mr=(o=>(o.signTransactionsRequest="SIGN_TRANSACTIONS_REQUEST",o.signMessageRequest="SIGN_MESSAGE_REQUEST",o.loginRequest="LOGIN_REQUEST",o.logoutRequest="LOGOUT_REQUEST",o.reloginRequest="RELOGIN_REQUEST",o))(Mr||{}),Or=(i=>(i.signTransactionsResponse="SIGN_TRANSACTIONS_RESPONSE",i.signMessageResponse="SIGN_MESSAGE_RESPONSE",i.loginResponse="LOGIN_RESPONSE",i.reloginResponse="RELOGIN_RESPONSE",i))(Or||{});h();h();h();var Gr=(c=>(c.transfer="transfer",c.unBond="unBond",c.unStake="unStake",c.delegate="delegate",c.stake="stake",c.unDelegate="unDelegate",c.stakeClaimRewards="claimRewards",c.reDelegateRewards="reDelegateRewards",c.withdraw="withdraw",c.claimLockedAssets="claimLockedAssets",c.swapTokensFixedInput="swapTokensFixedInput",c.swapTokensFixedOutput="swapTokensFixedOutput",c.swap="swap",c.addLiquidity="addLiquidity",c.addLiquidityProxy="addLiquidityProxy",c.removeLiquidity="removeLiquidity",c.removeLiquidityProxy="removeLiquidityProxy",c.enterFarm="enterFarm",c.enterFarmProxy="enterFarmProxy",c.enterFarmAndLockRewards="enterFarmAndLockRewards",c.enterFarmAndLockRewardsProxy="enterFarmAndLockRewardsProxy",c.exitFarm="exitFarm",c.exitFarmProxy="exitFarmProxy",c.claimRewards="claimRewards",c.claimRewardsProxy="claimRewardsProxy",c.compoundRewards="compoundRewards",c.compoundRewardsProxy="compoundRewardsProxy",c.wrapEgld="wrapEgld",c.unwrapEgld="unwrapEgld",c.unlockAssets="unlockAssets",c.mergeLockedAssetTokens="mergeLockedAssetTokens",c.stakeFarm="stakeFarm",c.stakeFarmProxy="stakeFarmProxy",c.stakeFarmTokens="stakeFarmTokens",c.stakeFarmTokensProxy="stakeFarmTokensProxy",c.unstakeFarm="unstakeFarm",c.unstakeFarmProxy="unstakeFarmProxy",c.unstakeFarmTokens="unstakeFarmTokens",c.unstakeFarmTokensProxy="unstakeFarmTokensProxy",c.claimDualYield="claimDualYield",c.claimDualYieldProxy="claimDualYieldProxy",c.unbondFarm="unbondFarm",c.ping="ping",c.lockTokens="lockTokens",c.migrateOldTokens="migrateOldTokens",c))(Gr||{}),Hr=(i=>(i.esdtNft="esdtNft",i.mex="mex",i.stake="stake",i.scCall="scCall",i))(Hr||{}),qr=(y=>(y.none="none",y.transfer="transfer",y.burn="burn",y.addQuantity="addQuantity",y.create="create",y.multiTransfer="multiTransfer",y.localMint="localMint",y.localBurn="localBurn",y.wipe="wipe",y.freeze="freeze",y.writeLog="writeLog",y.signalError="signalError",y.ESDTLocalMint="ESDTLocalMint",y.ESDTLocalBurn="ESDTLocalBurn",y))(qr||{}),Yr=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Yr||{}),zr=(n=>(n.none="none",n.error="error",n.log="log",n))(zr||{}),Wr=(e=>(e.Transaction="Transaction",e.SmartContractResult="SmartContractResult",e))(Wr||{}),Qr=(i=>(i.SELF="Self",i.INTERNAL="Internal",i.IN="In",i.OUT="Out",i))(Qr||{}),Xr=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(Xr||{});h();h();0&&(module.exports={DappCoreWCV2CustomMethodsEnum,DecodeMethodEnum,EnvironmentsEnum,HiddenTransactionOperationType,LoginMethodsEnum,NotificationTypesEnum,PlatformsEnum,SignedMessageQueryParamsEnum,SignedMessageStatusesEnum,ToastsEnum,TransactionActionCategoryEnum,TransactionActionsEnum,TransactionBatchStatusesEnum,TransactionDirectionEnum,TransactionOperationActionTypeEnum,TransactionServerStatusesEnum,TransactionTypesEnum,TransactionsDefaultTitles,TransferTypeEnum,TypesOfSmartContractCallsEnum,VisibleTransactionOperationType,WebViewProviderRequestEnums,WebViewProviderResponseEnums});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ho=Object.create;var pe=Object.defineProperty,xo=Object.defineProperties,So=Object.getOwnPropertyDescriptor,wo=Object.getOwnPropertyDescriptors,bo=Object.getOwnPropertyNames,Se=Object.getOwnPropertySymbols,Ao=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable;var qt=(e,t,r)=>t in e?pe(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)&&qt(e,r,t[r]);if(Se)for(var r of Se(t))jt.call(t,r)&&qt(e,r,t[r]);return e},w=(e,t)=>xo(e,wo(t));var zt=(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&&jt.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)pe(e,r,{get:t[r],enumerable:!0})},Kt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of bo(t))!Xe.call(e,i)&&i!==r&&pe(e,i,{get:()=>t[i],enumerable:!(n=So(t,i))||n.enumerable});return e};var b=(e,t,r)=>(r=e!=null?ho(Ao(e)):{},Kt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),ue=e=>Kt(pe({},"__esModule",{value:!0}),e);var Yt=(e,t,r)=>new Promise((n,i)=>{var l=d=>{try{g(r.next(d))}catch(T){i(T)}},p=d=>{try{g(r.throw(d))}catch(T){i(T)}},g=d=>d.done?n(d.value):Promise.resolve(d.value).then(l,p);g((r=r.apply(e,t)).next())});var Qt=we(be=>{"use strict";o();be.byteLength=vo;be.toByteArray=Eo;be.fromByteArray=No;var _=[],R=[],Io=typeof Uint8Array!="undefined"?Uint8Array:Array,Qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(X=0,Zt=Qe.length;X<Zt;++X)_[X]=Qe[X],R[Qe.charCodeAt(X)]=X;var X,Zt;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function Xt(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 vo(e){var t=Xt(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ko(e,t,r){return(t+r)*3/4-r}function Eo(e){var t,r=Xt(e),n=r[0],i=r[1],l=new Io(ko(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 Lo(e){return _[e>>18&63]+_[e>>12&63]+_[e>>6&63]+_[e&63]}function Do(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(Lo(n));return i.join("")}function No(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,g=r-n;p<g;p+=l)i.push(Do(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 Jt=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 dr=we(ie=>{"use strict";o();var et=Qt(),oe=Jt(),er=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ie.Buffer=u;ie.SlowBuffer=Fo;ie.INSPECT_MAX_BYTES=50;var Ae=2147483647;ie.kMaxLength=Ae;u.TYPED_ARRAY_SUPPORT=Ro();!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 Ro(){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>Ae)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 nr(e,t,r)}u.poolSize=8192;function nr(e,t,r){if(typeof e=="string")return _o(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(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=Po(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 nr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function or(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 Co(e,t,r){return or(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 Co(e,t,r)};function ot(e){return or(e),$(e<0?0:it(e)|0)}u.allocUnsafe=function(e){return ot(e)};u.allocUnsafeSlow=function(e){return ot(e)};function _o(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ir(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(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 Po(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>=Ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ae.toString(16)+" bytes");return e|0}function Fo(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 ir(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 ur(e).length;default:if(i)return n?-1:nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=ir;function Oo(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 zo(this,t,r);case"utf8":case"utf-8":return sr(this,t,r);case"ascii":return qo(this,t,r);case"latin1":case"binary":return jo(this,t,r);case"base64":return Ho(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ko(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?sr(this,0,t):Oo.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=ie.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};er&&(u.prototype[er]=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 ar(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:tr(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):tr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function tr(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 ar(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return ar(this,t,r,n,!1)};function Bo(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 Uo(e,t,r,n){return Ie(nt(t,e.length-r),e,r,n)}function Vo(e,t,r,n){return Ie(Xo(t),e,r,n)}function $o(e,t,r,n){return Ie(ur(t),e,r,n)}function Go(e,t,r,n){return Ie(Qo(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 Bo(this,t,r,n);case"utf8":case"utf-8":return Uo(this,t,r,n);case"ascii":case"latin1":case"binary":return Vo(this,t,r,n);case"base64":return $o(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Go(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 Ho(e,t,r){return t===0&&r===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(t,r))}function sr(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 Wo(n)}var rr=4096;function Wo(e){var t=e.length;if(t<=rr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=rr));return r}function qo(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 jo(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 zo(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+=Jo[e[l]];return i}function Ko(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 I(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||I(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||I(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||I(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,4,this.length),oe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),oe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),oe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),oe.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 cr(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 lr(e,t,r,n,i){return t=+t,r=r>>>0,i||cr(e,t,r,4,34028234663852886e22,-34028234663852886e22),oe.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return lr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return lr(this,t,r,!1,n)};function pr(e,t,r,n,i){return t=+t,r=r>>>0,i||cr(e,t,r,8,17976931348623157e292,-17976931348623157e292),oe.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return pr(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return pr(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 Yo=/[^+/0-9A-Za-z-_]/g;function Zo(e){if(e=e.split("=")[0],e=e.trim().replace(Yo,""),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 Xo(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Qo(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 ur(e){return et.toByteArray(Zo(e))}function Ie(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 Jo=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 yr=we((va,Tr)=>{o();var S=Tr.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 gr(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 ei(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=[],ae=!1,J,ve=-1;function ti(){!ae||!J||(ae=!1,J.length?G=J.concat(G):ve=-1,G.length&&mr())}function mr(){if(!ae){var e=gr(ti);ae=!0;for(var t=G.length;t;){for(J=G,G=[];++ve<t;)J&&J[ve].run();ve=-1,t=G.length}J=null,ae=!1,ei(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 fr(e,t)),G.length===1&&!ae&&gr(mr)};function fr(e,t){this.fun=e,this.array=t}fr.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,ka,o=f(()=>{a=b(dr()),s=b(yr()),ka=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 hr=f(()=>{"use strict";o()});var xr=f(()=>{"use strict";o()});var Sr=f(()=>{"use strict";o()});var wr=f(()=>{"use strict";o()});var O=f(()=>{"use strict";o()});var br=f(()=>{"use strict";o()});var Ar=f(()=>{"use strict";o()});var L=f(()=>{"use strict";o()});var Ir=f(()=>{"use strict";o()});var vr=f(()=>{"use strict";o()});var B=f(()=>{"use strict";o();xr();Sr();wr();O();br();Ar();L();Ir();vr()});var lt,kr,qa,Er,ja,Lr,za,Ka,Ya,Dr=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:kr,egldLabel:qa}=lt["devnet"],{chainId:Er,egldLabel:ja}=lt["testnet"],{chainId:Lr,egldLabel:za}=lt["mainnet"],Ka={["devnet"]:kr,["testnet"]:Er,["mainnet"]:Lr},Ya={[kr]:"devnet",[Er]:"testnet",[Lr]:"mainnet"}});var pt=f(()=>{"use strict";o()});var Nr=f(()=>{"use strict";o()});var Rr,ut=f(()=>{"use strict";o();Rr="transaction-status-toast-id"});var U,Cr=f(()=>{"use strict";o();U=require("@multiversx/sdk-web-wallet-provider")});var dt,gt,_r,ke,Mr,se,A=f(()=>{"use strict";o();hr();Dr();pt();Nr();ut();Cr();dt=5e4,gt=1e9,_r=1,ke="logout",Mr="login",se="0"});var Ee,mt=f(()=>{"use strict";o();Ee=()=>Date.now()/1e3});var Pr=f(()=>{"use strict";o()});var Fr=f(()=>{"use strict";o()});var Or=f(()=>{"use strict";o();mt();Pr();Fr()});var Tt={};Z(Tt,{getItem:()=>ni,localStorageKeys:()=>ee,removeItem:()=>oi,setItem:()=>ri});var ee,ft,ri,ni,oi,de=f(()=>{"use strict";o();Or();ee={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ft=typeof localStorage!="undefined",ri=({key:e,data:t,expires:r})=>{!ft||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ni=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},oi=e=>{!ft||localStorage.removeItem(String(e))}});var yt={};Z(yt,{clear:()=>$r,getItem:()=>Ur,removeItem:()=>Vr,setItem:()=>Br,storage:()=>ii});var Br,Ur,Vr,$r,ii,Gr=f(()=>{"use strict";o();Br=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ur=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},Vr=e=>sessionStorage.removeItem(String(e)),$r=()=>sessionStorage.clear(),ii={setItem:Br,getItem:Ur,removeItem:Vr,clear:$r}});var ce,Le=f(()=>{"use strict";o();de();Gr();ce={session:yt,local:Tt}});var ht,v,De,W=f(()=>{"use strict";o();ht=require("@reduxjs/toolkit");A();v=(0,ht.createAction)(ke),De=(0,ht.createAction)(Mr,e=>({payload:e}))});var St,Hr,Wr,Ne,xt,qr,jr,vs,zr,Kr,ks,Es,Ls,Ds,Ns,Rs,Yr,wt=f(()=>{"use strict";o();St=require("@multiversx/sdk-core"),Hr=require("@reduxjs/toolkit"),Wr=require("redux-persist");A();Le();de();W();Ne={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:se},xt={address:"",websocketEvent:null,accounts:{"":Ne},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},qr=(0,Hr.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,()=>(ce.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(Wr.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:jr,setAddress:vs,setAccountNonce:zr,setAccountShard:Kr,setLedgerAccount:ks,updateLedgerAccount:Es,setWalletConnectAccount:Ls,setIsAccountLoading:Ds,setAccountLoadingError:Ns,setWebsocketEvent:Rs}=qr.actions,Yr=qr.reducer});function ge(){return new Date().setHours(new Date().getHours()+24)}function me(e){ce.local.setItem({key:ee.loginExpiresAt,data:e,expires:e})}var bt=f(()=>{"use strict";o();Le();de()});var Xr,Zr,Qr,$s,Gs,Hs,Ws,qs,js,Jr,zs,en,At=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,me(ge())})}}),{setLoginMethod:$s,setWalletConnectLogin:Gs,setLedgerLogin:Hs,setTokenLogin:Ws,setTokenLoginSignature:qs,setWalletLogin:js,invalidateLoginSession:Jr,setLogoutRoute:zs}=Qr.actions,en=Qr.reducer});var rn,tn,nn,Xs,Qs,Js,ec,on,It=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:Xs,setNotificationModal:Qs,clearTxSubmittedModal:Js,clearNotificationModal:ec}=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,si,gn,Tc,yc,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"},si={network:kt,chainID:"-1"},gn=(0,un.createSlice)({name:"appConfig",initialState:si,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:Tc,setChainID:yc}=gn.actions,mn=gn.reducer});var fn,Lt,Tn,Ac,Ic,vc,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:Ac,clearSignedMessageInfo:Ic,setSignSessionState:vc}=Tn.actions,Re=Tn.reducer});var hn,xn,yn,Sn,_c,Mc,Pc,Fc,Oc,Bc,_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:Rr})},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:_c,removeCustomToast:Mc,addTransactionToast:Pc,removeTransactionToast:Fc,addFailTransactionToast:Oc,removeFailTransactionToast:Bc}=Sn.actions,_e=Sn.reducer});var wn,Nt,Rt,Ct,ci,Dt,bn,Gc,Hc,Wc,Pe,Fe=f(()=>{"use strict";o();wn=require("@reduxjs/toolkit");W();Nt="Transaction failed",Rt="Transaction successful",Ct="Processing transaction",ci="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)||ci,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:Gc,setTransactionsDisplayInfo:Hc,clearTransactionsInfoForSessionId:Wc}=bn.actions,Pe=bn.reducer});function An(e){return e!=null&&(yi(e)||wi(e))}function Oe(e){return e!=null&&(hi(e)||bi(e))}function Be(e){return e!=null&&(xi(e)||Ai(e))}function In(e){return e!=null&&Si(e)}function yi(e){return e!=null&&pi.includes(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 Ai(e){return e!=null&&Ti.includes(e)}var pi,ui,di,gi,mi,fi,Ti,Mt=f(()=>{"use strict";o();O();pi=["sent"],ui=["success"],di=["fail","cancelled","timedOut"],gi=["timedOut"],mi=["pending"],fi=["success"],Ti=["fail","invalid"]});var vn,kn,fe,Ii,En,Jc,el,tl,rl,nl,ol,il,al,sl,cl,Ue,Ve=f(()=>{"use strict";o();vn=require("@reduxjs/toolkit"),kn=require("redux-persist");O();Mt();W();fe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ii={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},En=(0,vn.createSlice)({name:"transactionsSlice",initialState:fe,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])||Ii;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=fe.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=fe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=fe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>fe),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:Jc,updateSignedTransactions:el,setTransactionsToSign:tl,clearAllTransactionsToSign:rl,clearAllSignedTransactions:nl,clearSignedTransaction:ol,clearTransactionToSign:il,setSignTransactionsError:al,setSignTransactionsCancelMessage:sl,moveTransactionsToSignedState:cl}=En.actions,Ue=En.reducer});var te=f(()=>{"use strict";o();wt();At();It();Et();Ce();Me();Fe();Ve()});var $t=f(()=>{"use strict";o()});var $n,Vn,Gn,Tu,yu,hu,xu,Su,wu,Hn,Wn=f(()=>{"use strict";o();$n=require("@reduxjs/toolkit");W();Vn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Gn=(0,$n.createSlice)({name:"dappModalsSlice",initialState:Vn,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,()=>Vn)}}),{setDappModalVisibility:Tu,setDappModalHeaderVisibility:yu,setDappModalFooterVisibility:hu,setDappModalHeaderText:xu,setDappModalFooterText:Su,setDappModalConfig:wu}=Gn.actions,Hn=Gn.reducer});var qn,Fi,Oi,le,qe=f(()=>{"use strict";o();qn=require("@reduxjs/toolkit");$t();wt();Wn();At();It();Et();Ce();Me();Fe();Ve();Fi={["account"]:Yr,["dappModal"]:Hn,["loginInfo"]:en,["modals"]:on,["networkConfig"]:mn,["signedMessageInfo"]:Re,["toasts"]:_e,["transactionsInfo"]:Pe,["transactions"]:Ue},Oi=(e={})=>(0,qn.combineReducers)(x(x({},Fi),e)),le=Oi});var Zn={};Z(Zn,{default:()=>Hi,getSessionStoragePersistConfig:()=>ye,localStoragePersistConfig:()=>Kn,sessionStorageReducers:()=>Yn});function ye(e,t=[]){return{key:e,version:1,storage:zn.default,blacklist:t}}var K,jn,zn,Bi,Ui,Vi,$i,Gi,Kn,Yn,Hi,Xn=f(()=>{"use strict";o();K=require("redux-persist"),jn=b(require("redux-persist/lib/storage")),zn=b(require("redux-persist/lib/storage/session"));qe();te();Ce();Me();Fe();Ve();$t();Bi={2:e=>w(x({},e),{networkConfig:kt})};Ui=ye("sdk-dapp-transactionsInfo"),Vi=ye("sdk-dapp-transactions",["transactionsToSign"]),$i=ye("sdk-dapp-toasts"),Gi=ye("sdk-dapp-signedMessageInfo"),Kn={key:"sdk-dapp-store",version:2,storage:jn.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,K.createMigrate)(Bi,{debug:!1})},Yn={["toasts"]:(0,K.persistReducer)($i,_e),["transactions"]:(0,K.persistReducer)(Vi,Ue),["transactionsInfo"]:(0,K.persistReducer)(Ui,Pe),["signedMessageInfo"]:(0,K.persistReducer)(Gi,Re)},Hi=(0,K.persistReducer)(Kn,le(Yn))});var Qn={};Z(Qn,{default:()=>Wi});var Wi,Jn=f(()=>{"use strict";o();qe();Wi=le()});var eo={};Z(eo,{default:()=>ji});var C,qi,ji,to=f(()=>{"use strict";o();C=require("redux-persist"),qi=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],ji=qi});var oo={};Z(oo,{default:()=>no});function no(e){return(0,ro.persistStore)(e)}var ro,io=f(()=>{"use strict";o();ro=require("redux-persist")});var Sa={};Z(Sa,{getAccountShard:()=>xa});module.exports=ue(Sa);o();var yo=b(require("axios"));o();o();te();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);var q=e=>e.account,Te=m(q,e=>e.address),Pt=m(q,Te,(e,t)=>t in e.accounts?e.accounts[t]:Ne),Al=m(q,Pt,(e,t)=>{let i=e,{accounts:r}=i,n=zt(i,["accounts"]);return w(x({},n),{account:t})}),Il=m(Pt,e=>e.balance),vl=m(Pt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Dn=m(q,e=>e.shard),kl=m(q,e=>e.ledgerAccount),El=m(q,e=>e.walletConnectAccount),Ll=m(q,e=>e.isAccountLoading),Dl=m(q,e=>e.accountLoadingError),Nl=m(q,e=>e.websocketEvent);o();var z=e=>e.loginInfo,Ml=m(z,e=>e.loginMethod),Pl=m(z,Te,(e,t)=>Ge(e.loginMethod,t)),Fl=m(z,e=>e.walletConnectLogin),Ol=m(z,e=>e.ledgerLogin),Bl=m(z,e=>e.walletLogin),Ul=m(z,e=>e.isLoginSessionInvalid),Vl=m(z,e=>e.tokenLogin),$l=m(z,e=>e.logoutRoute);o();var Nn=e=>e.modals,Wl=m(Nn,e=>e.txSubmittedModal),ql=m(Nn,e=>e.notificationModal);o();var re=e=>e.networkConfig,Kl=m(re,e=>e.chainID),Yl=m(re,e=>e.network.walletConnectBridgeAddress),Zl=m(re,e=>e.network.walletConnectV2RelayAddress),Xl=m(re,e=>e.network.walletConnectV2ProjectId),Ql=m(re,e=>e.network.walletConnectV2Options),Jl=m(re,e=>e.network.walletConnectDeepLink),Ft=m(re,e=>e.network),Rn=m(Ft,e=>e.apiAddress),Cn=m(Ft,e=>e.explorerAddress),ep=m(Ft,e=>e.egldLabel);o();var Ot=e=>e.signedMessageInfo,np=m(Ot,e=>e.isSigning),op=m(Ot,e=>e.errorMessage),ip=m(Ot,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var Bt=e=>e.toasts,cp=m(Bt,e=>e.customToasts),lp=m(Bt,e=>e.transactionToasts),pp=m(Bt,e=>e.failTransactionToast);o();te();var _n={errorMessage:Nt,successMessage:Rt,processingMessage:Ct},vi=e=>e.transactionsInfo,mp=m(vi,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||_n);o();o();var N=require("@multiversx/sdk-core");A();o();function Ut(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Vt(e){var i,l,p;let{data:t}=e,r=Ut(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:_r)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();Mt();o();var Ei=b(require("bignumber.js"));B();o();o();o();o();var Di=require("@multiversx/sdk-core"),Ni=b(require("bignumber.js"));O();o();var Li=require("@multiversx/sdk-core");o();o();o();var Ci=require("@multiversx/sdk-core/out");o();A();o();var On=require("@multiversx/sdk-core");B();o();o();o();o();O();o();o();var Gt=require("@reduxjs/toolkit"),lo=require("react-redux/lib/utils/Subscription");te();o();var Bn=b(require("lodash.throttle"));A();te();bt();Le();de();var _i=[ke],He=!1,Mi=(0,Bn.default)(()=>{me(ge())},5e3),Un=e=>t=>r=>{var d;if(_i.includes(r.type))return t(r);let n=e.getState(),i=ce.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 me(ge());let p=Date.now();return i-p<0&&!He?setTimeout(()=>{He=!0,e.dispatch(Jr())},1e3):(He&&(He=!1),Mi()),t(r)};o();o();function We(){return typeof sessionStorage!="undefined"}var ao=We()?(Xn(),ue(Zn)).default:(Jn(),ue(Qn)).default,so=We()?(to(),ue(eo)).default:[],co=We()?(io(),ue(oo)).default:e=>e;qe();var ne=(0,Gt.configureStore)({reducer:ao,middleware:e=>e({serializableCheck:{ignoredActions:[...so,zr.type,jr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Un)}),Ku=(0,lo.createSubscription)(ne),Yu=co(ne),Zu=(0,Gt.configureStore)({reducer:le});o();o();o();o();o();o();o();o();o();o();L();o();o();L();o();o();o();var Qi=b(require("bignumber.js"));A();o();var Xi=require("@multiversx/sdk-core"),Ht=b(require("bignumber.js"));A();o();var Yi=b(require("bignumber.js"));o();Ht.default.config({ROUNDING_MODE:Ht.default.ROUND_FLOOR});o();o();o();A();o();o();o();o();A();o();A();o();var Ji=require("@multiversx/sdk-core");A();o();var he=require("@multiversx/sdk-core"),ta=require("@multiversx/sdk-network-providers");A();o();o();var ea=b(require("bignumber.js"));A();o();A();o();o();o();o();o();A();o();L();var na=["reDelegateRewards","claimRewards","unBond"],oa=["wrapEgld","unwrapEgld"],ia=["unStake"],aa=["unDelegate"];o();o();o();A();o();var la=b(require("bignumber.js"));o();o();o();L();o();var pa=b(require("bignumber.js"));o();o();o();o();L();o();o();o();var da=b(require("linkifyjs"));o();A();o();var ga=b(require("bignumber.js"));o();B();o();o();O();o();O();o();o();o();L();o();L();o();var ma=b(require("bignumber.js"));A();L();o();L();o();var fo=require("react");B();o();o();L();o();var fa=require("@multiversx/sdk-core/out"),Ta=b(require("bignumber.js"));L();o();L();o();o();O();var UT=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var To=require("react");B();o();var ha=require("react");L();var jT=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Ye=e=>e.transactions,xe=m(Ye,e=>e.signedTransactions),Ny=m(Ye,e=>e.signTransactionsError),Ry=m(Ye,e=>e.signTransactionsCancelMessage),Ze=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),Cy=m(xe,Ze(An)),_y=m(xe,Ze(Oe)),My=m(xe,Ze(Be)),Py=m(xe,Ze(In)),Fy=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=>Vt(r)))||[]})}),Oy=m(xe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});te();function xa(){return Yt(this,null,function*(){let e=ne.getState(),t=Rn(e),r=Te(e),n=Dn(e);try{if(n==null&&r){let{data:i}=yield yo.default.get(`${t}/accounts/${r}`);return ne.dispatch(Kr(i.shard)),i.shard}else return n}catch(i){return console.error(i),null}})}0&&(module.exports={getAccountShard});
|
|
1
|
+
"use strict";var ho=Object.create;var pe=Object.defineProperty,xo=Object.defineProperties,So=Object.getOwnPropertyDescriptor,wo=Object.getOwnPropertyDescriptors,bo=Object.getOwnPropertyNames,Se=Object.getOwnPropertySymbols,Ao=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable;var qt=(e,t,r)=>t in e?pe(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)&&qt(e,r,t[r]);if(Se)for(var r of Se(t))jt.call(t,r)&&qt(e,r,t[r]);return e},w=(e,t)=>xo(e,wo(t));var zt=(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&&jt.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)pe(e,r,{get:t[r],enumerable:!0})},Kt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of bo(t))!Xe.call(e,i)&&i!==r&&pe(e,i,{get:()=>t[i],enumerable:!(n=So(t,i))||n.enumerable});return e};var b=(e,t,r)=>(r=e!=null?ho(Ao(e)):{},Kt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),ue=e=>Kt(pe({},"__esModule",{value:!0}),e);var Yt=(e,t,r)=>new Promise((n,i)=>{var l=d=>{try{g(r.next(d))}catch(T){i(T)}},p=d=>{try{g(r.throw(d))}catch(T){i(T)}},g=d=>d.done?n(d.value):Promise.resolve(d.value).then(l,p);g((r=r.apply(e,t)).next())});var Qt=we(be=>{"use strict";o();be.byteLength=vo;be.toByteArray=Eo;be.fromByteArray=No;var _=[],R=[],Io=typeof Uint8Array!="undefined"?Uint8Array:Array,Qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(X=0,Zt=Qe.length;X<Zt;++X)_[X]=Qe[X],R[Qe.charCodeAt(X)]=X;var X,Zt;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function Xt(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 vo(e){var t=Xt(e),r=t[0],n=t[1];return(r+n)*3/4-n}function ko(e,t,r){return(t+r)*3/4-r}function Eo(e){var t,r=Xt(e),n=r[0],i=r[1],l=new Io(ko(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 Lo(e){return _[e>>18&63]+_[e>>12&63]+_[e>>6&63]+_[e&63]}function Do(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(Lo(n));return i.join("")}function No(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,g=r-n;p<g;p+=l)i.push(Do(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 Jt=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 dr=we(ie=>{"use strict";o();var et=Qt(),oe=Jt(),er=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ie.Buffer=u;ie.SlowBuffer=Fo;ie.INSPECT_MAX_BYTES=50;var Ae=2147483647;ie.kMaxLength=Ae;u.TYPED_ARRAY_SUPPORT=Ro();!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 Ro(){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>Ae)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 nr(e,t,r)}u.poolSize=8192;function nr(e,t,r){if(typeof e=="string")return _o(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(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=Mo(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 nr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function or(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 Co(e,t,r){return or(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 Co(e,t,r)};function ot(e){return or(e),$(e<0?0:it(e)|0)}u.allocUnsafe=function(e){return ot(e)};u.allocUnsafeSlow=function(e){return ot(e)};function _o(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ir(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(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 Mo(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>=Ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ae.toString(16)+" bytes");return e|0}function Fo(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 ir(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 ur(e).length;default:if(i)return n?-1:nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=ir;function Oo(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 zo(this,t,r);case"utf8":case"utf-8":return sr(this,t,r);case"ascii":return qo(this,t,r);case"latin1":case"binary":return jo(this,t,r);case"base64":return Ho(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ko(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?sr(this,0,t):Oo.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=ie.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};er&&(u.prototype[er]=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 ar(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:tr(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):tr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function tr(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 ar(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return ar(this,t,r,n,!1)};function Bo(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 Uo(e,t,r,n){return Ie(nt(t,e.length-r),e,r,n)}function Vo(e,t,r,n){return Ie(Xo(t),e,r,n)}function $o(e,t,r,n){return Ie(ur(t),e,r,n)}function Go(e,t,r,n){return Ie(Qo(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 Bo(this,t,r,n);case"utf8":case"utf-8":return Uo(this,t,r,n);case"ascii":case"latin1":case"binary":return Vo(this,t,r,n);case"base64":return $o(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Go(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 Ho(e,t,r){return t===0&&r===e.length?et.fromByteArray(e):et.fromByteArray(e.slice(t,r))}function sr(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 Wo(n)}var rr=4096;function Wo(e){var t=e.length;if(t<=rr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=rr));return r}function qo(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 jo(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 zo(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+=Jo[e[l]];return i}function Ko(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 I(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||I(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||I(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||I(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,4,this.length),oe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),oe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),oe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),oe.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 cr(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 lr(e,t,r,n,i){return t=+t,r=r>>>0,i||cr(e,t,r,4,34028234663852886e22,-34028234663852886e22),oe.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return lr(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return lr(this,t,r,!1,n)};function pr(e,t,r,n,i){return t=+t,r=r>>>0,i||cr(e,t,r,8,17976931348623157e292,-17976931348623157e292),oe.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return pr(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return pr(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 Yo=/[^+/0-9A-Za-z-_]/g;function Zo(e){if(e=e.split("=")[0],e=e.trim().replace(Yo,""),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 Xo(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Qo(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 ur(e){return et.toByteArray(Zo(e))}function Ie(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 Jo=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 yr=we((va,Tr)=>{o();var S=Tr.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 gr(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 ei(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=[],ae=!1,J,ve=-1;function ti(){!ae||!J||(ae=!1,J.length?G=J.concat(G):ve=-1,G.length&&mr())}function mr(){if(!ae){var e=gr(ti);ae=!0;for(var t=G.length;t;){for(J=G,G=[];++ve<t;)J&&J[ve].run();ve=-1,t=G.length}J=null,ae=!1,ei(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 fr(e,t)),G.length===1&&!ae&&gr(mr)};function fr(e,t){this.fun=e,this.array=t}fr.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,ka,o=f(()=>{a=b(dr()),s=b(yr()),ka=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 hr=f(()=>{"use strict";o()});var xr=f(()=>{"use strict";o()});var Sr=f(()=>{"use strict";o()});var wr=f(()=>{"use strict";o()});var O=f(()=>{"use strict";o()});var br=f(()=>{"use strict";o()});var Ar=f(()=>{"use strict";o()});var L=f(()=>{"use strict";o()});var Ir=f(()=>{"use strict";o()});var vr=f(()=>{"use strict";o()});var B=f(()=>{"use strict";o();xr();Sr();wr();O();br();Ar();L();Ir();vr()});var lt,kr,qa,Er,ja,Lr,za,Ka,Ya,Dr=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:kr,egldLabel:qa}=lt["devnet"],{chainId:Er,egldLabel:ja}=lt["testnet"],{chainId:Lr,egldLabel:za}=lt["mainnet"],Ka={["devnet"]:kr,["testnet"]:Er,["mainnet"]:Lr},Ya={[kr]:"devnet",[Er]:"testnet",[Lr]:"mainnet"}});var pt=f(()=>{"use strict";o()});var Nr=f(()=>{"use strict";o()});var Rr,ut=f(()=>{"use strict";o();Rr="transaction-status-toast-id"});var U,Cr=f(()=>{"use strict";o();U=require("@multiversx/sdk-web-wallet-provider")});var dt,gt,_r,ke,Pr,se,A=f(()=>{"use strict";o();hr();Dr();pt();Nr();ut();Cr();dt=5e4,gt=1e9,_r=1,ke="logout",Pr="login",se="0"});var Ee,mt=f(()=>{"use strict";o();Ee=()=>Date.now()/1e3});var Mr=f(()=>{"use strict";o()});var Fr=f(()=>{"use strict";o()});var Or=f(()=>{"use strict";o();mt();Mr();Fr()});var Tt={};Z(Tt,{getItem:()=>ni,localStorageKeys:()=>ee,removeItem:()=>oi,setItem:()=>ri});var ee,ft,ri,ni,oi,de=f(()=>{"use strict";o();Or();ee={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ft=typeof localStorage!="undefined",ri=({key:e,data:t,expires:r})=>{!ft||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ni=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},oi=e=>{!ft||localStorage.removeItem(String(e))}});var yt={};Z(yt,{clear:()=>$r,getItem:()=>Ur,removeItem:()=>Vr,setItem:()=>Br,storage:()=>ii});var Br,Ur,Vr,$r,ii,Gr=f(()=>{"use strict";o();Br=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ur=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},Vr=e=>sessionStorage.removeItem(String(e)),$r=()=>sessionStorage.clear(),ii={setItem:Br,getItem:Ur,removeItem:Vr,clear:$r}});var ce,Le=f(()=>{"use strict";o();de();Gr();ce={session:yt,local:Tt}});var ht,v,De,W=f(()=>{"use strict";o();ht=require("@reduxjs/toolkit");A();v=(0,ht.createAction)(ke),De=(0,ht.createAction)(Pr,e=>({payload:e}))});var St,Hr,Wr,Ne,xt,qr,jr,vs,zr,Kr,ks,Es,Ls,Ds,Ns,Rs,Yr,wt=f(()=>{"use strict";o();St=require("@multiversx/sdk-core"),Hr=require("@reduxjs/toolkit"),Wr=require("redux-persist");A();Le();de();W();Ne={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:se},xt={address:"",websocketEvent:null,accounts:{"":Ne},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},qr=(0,Hr.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,()=>(ce.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(Wr.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:jr,setAddress:vs,setAccountNonce:zr,setAccountShard:Kr,setLedgerAccount:ks,updateLedgerAccount:Es,setWalletConnectAccount:Ls,setIsAccountLoading:Ds,setAccountLoadingError:Ns,setWebsocketEvent:Rs}=qr.actions,Yr=qr.reducer});function ge(){return new Date().setHours(new Date().getHours()+24)}function me(e){ce.local.setItem({key:ee.loginExpiresAt,data:e,expires:e})}var bt=f(()=>{"use strict";o();Le();de()});var Xr,Zr,Qr,$s,Gs,Hs,Ws,qs,js,Jr,zs,en,At=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,me(ge())})}}),{setLoginMethod:$s,setWalletConnectLogin:Gs,setLedgerLogin:Hs,setTokenLogin:Ws,setTokenLoginSignature:qs,setWalletLogin:js,invalidateLoginSession:Jr,setLogoutRoute:zs}=Qr.actions,en=Qr.reducer});var rn,tn,nn,Xs,Qs,Js,ec,on,It=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:Xs,setNotificationModal:Qs,clearTxSubmittedModal:Js,clearNotificationModal:ec}=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,si,gn,Tc,yc,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"},si={network:kt,chainID:"-1"},gn=(0,un.createSlice)({name:"appConfig",initialState:si,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:Tc,setChainID:yc}=gn.actions,mn=gn.reducer});var fn,Lt,Tn,Ac,Ic,vc,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:Ac,clearSignedMessageInfo:Ic,setSignSessionState:vc}=Tn.actions,Re=Tn.reducer});var hn,xn,yn,Sn,_c,Pc,Mc,Fc,Oc,Bc,_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:Rr})},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:_c,removeCustomToast:Pc,addTransactionToast:Mc,removeTransactionToast:Fc,addFailTransactionToast:Oc,removeFailTransactionToast:Bc}=Sn.actions,_e=Sn.reducer});var wn,Nt,Rt,Ct,ci,Dt,bn,Gc,Hc,Wc,Me,Fe=f(()=>{"use strict";o();wn=require("@reduxjs/toolkit");W();Nt="Transaction failed",Rt="Transaction successful",Ct="Processing transaction",ci="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)||ci,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:Gc,setTransactionsDisplayInfo:Hc,clearTransactionsInfoForSessionId:Wc}=bn.actions,Me=bn.reducer});function An(e){return e!=null&&(yi(e)||wi(e))}function Oe(e){return e!=null&&(hi(e)||bi(e))}function Be(e){return e!=null&&(xi(e)||Ai(e))}function In(e){return e!=null&&Si(e)}function yi(e){return e!=null&&pi.includes(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 Ai(e){return e!=null&&Ti.includes(e)}var pi,ui,di,gi,mi,fi,Ti,Pt=f(()=>{"use strict";o();O();pi=["sent"],ui=["success"],di=["fail","cancelled","timedOut"],gi=["timedOut"],mi=["pending"],fi=["success"],Ti=["fail","invalid"]});var vn,kn,fe,Ii,En,Jc,el,tl,rl,nl,ol,il,al,sl,cl,Ue,Ve=f(()=>{"use strict";o();vn=require("@reduxjs/toolkit"),kn=require("redux-persist");O();Pt();W();fe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ii={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},En=(0,vn.createSlice)({name:"transactionsSlice",initialState:fe,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])||Ii;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=fe.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=fe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=fe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>fe),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:Jc,updateSignedTransactions:el,setTransactionsToSign:tl,clearAllTransactionsToSign:rl,clearAllSignedTransactions:nl,clearSignedTransaction:ol,clearTransactionToSign:il,setSignTransactionsError:al,setSignTransactionsCancelMessage:sl,moveTransactionsToSignedState:cl}=En.actions,Ue=En.reducer});var te=f(()=>{"use strict";o();wt();At();It();Et();Ce();Pe();Fe();Ve()});var $t=f(()=>{"use strict";o()});var $n,Vn,Gn,Tu,yu,hu,xu,Su,wu,Hn,Wn=f(()=>{"use strict";o();$n=require("@reduxjs/toolkit");W();Vn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Gn=(0,$n.createSlice)({name:"dappModalsSlice",initialState:Vn,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,()=>Vn)}}),{setDappModalVisibility:Tu,setDappModalHeaderVisibility:yu,setDappModalFooterVisibility:hu,setDappModalHeaderText:xu,setDappModalFooterText:Su,setDappModalConfig:wu}=Gn.actions,Hn=Gn.reducer});var qn,Fi,Oi,le,qe=f(()=>{"use strict";o();qn=require("@reduxjs/toolkit");$t();wt();Wn();At();It();Et();Ce();Pe();Fe();Ve();Fi={["account"]:Yr,["dappModal"]:Hn,["loginInfo"]:en,["modals"]:on,["networkConfig"]:mn,["signedMessageInfo"]:Re,["toasts"]:_e,["transactionsInfo"]:Me,["transactions"]:Ue},Oi=(e={})=>(0,qn.combineReducers)(x(x({},Fi),e)),le=Oi});var Zn={};Z(Zn,{default:()=>Hi,getSessionStoragePersistConfig:()=>ye,localStoragePersistConfig:()=>Kn,sessionStorageReducers:()=>Yn});function ye(e,t=[]){return{key:e,version:1,storage:zn.default,blacklist:t}}var K,jn,zn,Bi,Ui,Vi,$i,Gi,Kn,Yn,Hi,Xn=f(()=>{"use strict";o();K=require("redux-persist"),jn=b(require("redux-persist/lib/storage")),zn=b(require("redux-persist/lib/storage/session"));qe();te();Ce();Pe();Fe();Ve();$t();Bi={2:e=>w(x({},e),{networkConfig:kt})};Ui=ye("sdk-dapp-transactionsInfo"),Vi=ye("sdk-dapp-transactions",["transactionsToSign"]),$i=ye("sdk-dapp-toasts"),Gi=ye("sdk-dapp-signedMessageInfo"),Kn={key:"sdk-dapp-store",version:2,storage:jn.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,K.createMigrate)(Bi,{debug:!1})},Yn={["toasts"]:(0,K.persistReducer)($i,_e),["transactions"]:(0,K.persistReducer)(Vi,Ue),["transactionsInfo"]:(0,K.persistReducer)(Ui,Me),["signedMessageInfo"]:(0,K.persistReducer)(Gi,Re)},Hi=(0,K.persistReducer)(Kn,le(Yn))});var Qn={};Z(Qn,{default:()=>Wi});var Wi,Jn=f(()=>{"use strict";o();qe();Wi=le()});var eo={};Z(eo,{default:()=>ji});var C,qi,ji,to=f(()=>{"use strict";o();C=require("redux-persist"),qi=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],ji=qi});var oo={};Z(oo,{default:()=>no});function no(e){return(0,ro.persistStore)(e)}var ro,io=f(()=>{"use strict";o();ro=require("redux-persist")});var Sa={};Z(Sa,{getAccountShard:()=>xa});module.exports=ue(Sa);o();var yo=b(require("axios"));o();o();te();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);var q=e=>e.account,Te=m(q,e=>e.address),Mt=m(q,Te,(e,t)=>t in e.accounts?e.accounts[t]:Ne),Al=m(q,Mt,(e,t)=>{let i=e,{accounts:r}=i,n=zt(i,["accounts"]);return w(x({},n),{account:t})}),Il=m(Mt,e=>e.balance),vl=m(Mt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Dn=m(q,e=>e.shard),kl=m(q,e=>e.ledgerAccount),El=m(q,e=>e.walletConnectAccount),Ll=m(q,e=>e.isAccountLoading),Dl=m(q,e=>e.accountLoadingError),Nl=m(q,e=>e.websocketEvent);o();var z=e=>e.loginInfo,Pl=m(z,e=>e.loginMethod),Ml=m(z,Te,(e,t)=>Ge(e.loginMethod,t)),Fl=m(z,e=>e.walletConnectLogin),Ol=m(z,e=>e.ledgerLogin),Bl=m(z,e=>e.walletLogin),Ul=m(z,e=>e.isLoginSessionInvalid),Vl=m(z,e=>e.tokenLogin),$l=m(z,e=>e.logoutRoute);o();var Nn=e=>e.modals,Wl=m(Nn,e=>e.txSubmittedModal),ql=m(Nn,e=>e.notificationModal);o();var re=e=>e.networkConfig,Kl=m(re,e=>e.chainID),Yl=m(re,e=>e.network.walletConnectBridgeAddress),Zl=m(re,e=>e.network.walletConnectV2RelayAddress),Xl=m(re,e=>e.network.walletConnectV2ProjectId),Ql=m(re,e=>e.network.walletConnectV2Options),Jl=m(re,e=>e.network.walletConnectDeepLink),Ft=m(re,e=>e.network),Rn=m(Ft,e=>e.apiAddress),Cn=m(Ft,e=>e.explorerAddress),ep=m(Ft,e=>e.egldLabel);o();var Ot=e=>e.signedMessageInfo,np=m(Ot,e=>e.isSigning),op=m(Ot,e=>e.errorMessage),ip=m(Ot,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var Bt=e=>e.toasts,cp=m(Bt,e=>e.customToasts),lp=m(Bt,e=>e.transactionToasts),pp=m(Bt,e=>e.failTransactionToast);o();te();var _n={errorMessage:Nt,successMessage:Rt,processingMessage:Ct},vi=e=>e.transactionsInfo,mp=m(vi,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||_n);o();o();var N=require("@multiversx/sdk-core");A();o();function Ut(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Vt(e){var i,l,p;let{data:t}=e,r=Ut(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:_r)},e.options?{options:new N.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new N.Address(e.sender)),n}o();Pt();o();var Ei=b(require("bignumber.js"));B();o();o();o();o();var Di=require("@multiversx/sdk-core"),Ni=b(require("bignumber.js"));O();o();var Li=require("@multiversx/sdk-core");o();o();o();var Ci=require("@multiversx/sdk-core/out");o();A();o();var On=require("@multiversx/sdk-core");B();o();o();o();o();O();o();o();var Gt=require("@reduxjs/toolkit"),lo=require("react-redux/lib/utils/Subscription");te();o();var Bn=b(require("lodash.throttle"));A();te();bt();Le();de();var _i=[ke],He=!1,Pi=(0,Bn.default)(()=>{me(ge())},5e3),Un=e=>t=>r=>{var d;if(_i.includes(r.type))return t(r);let n=e.getState(),i=ce.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 me(ge());let p=Date.now();return i-p<0&&!He?setTimeout(()=>{He=!0,e.dispatch(Jr())},1e3):(He&&(He=!1),Pi()),t(r)};o();o();function We(){return typeof sessionStorage!="undefined"}var ao=We()?(Xn(),ue(Zn)).default:(Jn(),ue(Qn)).default,so=We()?(to(),ue(eo)).default:[],co=We()?(io(),ue(oo)).default:e=>e;qe();var ne=(0,Gt.configureStore)({reducer:ao,middleware:e=>e({serializableCheck:{ignoredActions:[...so,zr.type,jr.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Un)}),Ku=(0,lo.createSubscription)(ne),Yu=co(ne),Zu=(0,Gt.configureStore)({reducer:le});o();o();o();o();o();o();o();o();o();o();L();o();o();L();o();o();o();var Qi=b(require("bignumber.js"));A();o();var Xi=require("@multiversx/sdk-core"),Ht=b(require("bignumber.js"));A();o();var Yi=b(require("bignumber.js"));o();Ht.default.config({ROUNDING_MODE:Ht.default.ROUND_FLOOR});o();o();o();A();o();o();o();o();A();o();A();o();var Ji=require("@multiversx/sdk-core");A();o();var he=require("@multiversx/sdk-core"),ta=require("@multiversx/sdk-network-providers");A();o();o();var ea=b(require("bignumber.js"));A();o();A();o();o();o();o();o();A();o();L();var na=["reDelegateRewards","claimRewards","unBond"],oa=["wrapEgld","unwrapEgld"],ia=["unStake"],aa=["unDelegate"];o();o();o();A();o();var la=b(require("bignumber.js"));o();o();o();L();o();var pa=b(require("bignumber.js"));o();o();o();o();L();o();o();o();var da=b(require("linkifyjs"));o();A();o();var ga=b(require("bignumber.js"));o();B();o();o();O();o();O();o();o();o();L();o();L();o();var ma=b(require("bignumber.js"));A();L();o();L();o();var fo=require("react");B();o();o();L();o();var fa=require("@multiversx/sdk-core/out"),Ta=b(require("bignumber.js"));L();o();L();o();o();O();var UT=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var To=require("react");B();o();var ha=require("react");L();var jT=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Ye=e=>e.transactions,xe=m(Ye,e=>e.signedTransactions),Ny=m(Ye,e=>e.signTransactionsError),Ry=m(Ye,e=>e.signTransactionsCancelMessage),Ze=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),Cy=m(xe,Ze(An)),_y=m(xe,Ze(Oe)),Py=m(xe,Ze(Be)),My=m(xe,Ze(In)),Fy=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=>Vt(r)))||[]})}),Oy=m(xe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});te();function xa(){return Yt(this,null,function*(){let e=ne.getState(),t=Rn(e),r=Te(e),n=Dn(e);try{if(n==null&&r){let{data:i}=yield yo.default.get(`${t}/accounts/${r}`);return ne.dispatch(Kr(i.shard)),i.shard}else return n}catch(i){return console.error(i),null}})}0&&(module.exports={getAccountShard});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|