@multiversx/sdk-dapp 2.12.5 → 2.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/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/NotificationModal.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/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.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/AccountName.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/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.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/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/chunk-22OLJZCS.js +2 -0
- package/__chunks__/{chunk-PQSPUT4B.js → chunk-257M3QTY.js} +2 -2
- package/__chunks__/{chunk-HCA2L7JR.js → chunk-2AJOFYAV.js} +2 -2
- package/__chunks__/{chunk-6KOMZRWN.js → chunk-2CXJKNSP.js} +2 -2
- package/__chunks__/{chunk-C7RKCDF2.js → chunk-2JUQFS4O.js} +2 -2
- package/__chunks__/{chunk-VMSDTOVY.js → chunk-2JYLGADI.js} +2 -2
- package/__chunks__/chunk-2P64IWEV.js +2 -0
- package/__chunks__/chunk-2TQ727TI.js +2 -0
- package/__chunks__/{chunk-QCMJNPMK.js → chunk-2UCCB3MP.js} +2 -2
- package/__chunks__/{chunk-WMZGEPRE.js → chunk-2VADEZKQ.js} +2 -2
- package/__chunks__/{chunk-74U3XLB5.js → chunk-2YAOMBOW.js} +2 -2
- package/__chunks__/{chunk-4KSP7IY5.js → chunk-2ZZI3WWK.js} +2 -2
- package/__chunks__/{chunk-APXIKIH5.js → chunk-35NDQJYP.js} +2 -2
- package/__chunks__/{chunk-G6HL33SK.js → chunk-36LSGICN.js} +2 -2
- package/__chunks__/chunk-3E66U4NM.js +2 -0
- package/__chunks__/{chunk-EZ64DNFR.js → chunk-3F7ZGRBB.js} +2 -2
- package/__chunks__/{chunk-OD6OM6CQ.js → chunk-3FNKFXI5.js} +2 -2
- package/__chunks__/{chunk-EEB4LSSE.js → chunk-3GFG2A3U.js} +2 -2
- package/__chunks__/chunk-3HSI224D.js +2 -0
- package/__chunks__/{chunk-6MPQYEX3.js → chunk-3JQJVPDO.js} +2 -2
- package/__chunks__/{chunk-5JDLK5IZ.js → chunk-3WXHT4F4.js} +2 -2
- package/__chunks__/{chunk-XBDNP27C.js → chunk-42HHDBSD.js} +2 -2
- package/__chunks__/{chunk-KMUXGBEP.js → chunk-43KKXRC2.js} +2 -2
- package/__chunks__/{chunk-PUOI7ORV.js → chunk-4AI2UPIX.js} +2 -2
- package/__chunks__/{chunk-ZWSFBHWI.js → chunk-4DGKR73R.js} +2 -2
- package/__chunks__/chunk-4EVPEAAC.js +2 -0
- package/__chunks__/{chunk-LOMOG3J7.js → chunk-4NQAIS37.js} +2 -2
- package/__chunks__/{chunk-GLL2RDMN.js → chunk-4NWSTAAZ.js} +2 -2
- package/__chunks__/chunk-4ROA4IAP.js +2 -0
- package/__chunks__/{chunk-4BADCGHO.js → chunk-4UY6RTXV.js} +2 -2
- package/__chunks__/{chunk-NYP3EE3M.js → chunk-4WHOJTZJ.js} +2 -2
- package/__chunks__/{chunk-ZAAKPVNV.js → chunk-4XMP5GTT.js} +2 -2
- package/__chunks__/{chunk-HBT3EV3P.js → chunk-54I3HE7Z.js} +2 -2
- package/__chunks__/chunk-554M7MC7.js +2 -0
- package/__chunks__/{chunk-I4PAV4C3.js → chunk-56CSBJOA.js} +2 -2
- package/__chunks__/{chunk-LTLO2UFN.js → chunk-5AT2CLST.js} +2 -2
- package/__chunks__/{chunk-QNCGIKHR.js → chunk-5HE6XUP4.js} +2 -2
- package/__chunks__/chunk-5IYO3P75.js +2 -0
- package/__chunks__/{chunk-754BVF77.js → chunk-5LAIPB3D.js} +2 -2
- package/__chunks__/{chunk-WTWI4V3A.js → chunk-5RTGGHL7.js} +2 -2
- package/__chunks__/{chunk-DQH4ODE2.js → chunk-5U7BHTBF.js} +2 -2
- package/__chunks__/chunk-64OFEAPQ.js +2 -0
- package/__chunks__/chunk-64X5ELCG.js +2 -0
- package/__chunks__/chunk-67VZTXQO.js +2 -0
- package/__chunks__/{chunk-NBKRZNCH.js → chunk-6ACULWGS.js} +2 -2
- package/__chunks__/{chunk-BJTFPFBZ.js → chunk-6DXVSPG6.js} +2 -2
- package/__chunks__/{chunk-4ZHKUGO3.js → chunk-6NACE4ST.js} +2 -2
- package/__chunks__/{chunk-5EBT2DVT.js → chunk-6PBOXKX6.js} +2 -2
- package/__chunks__/{chunk-SK6LYXAJ.js → chunk-6RBPUPPU.js} +2 -2
- package/__chunks__/{chunk-BAO6HI6S.js → chunk-6SQUT3SR.js} +2 -2
- package/__chunks__/{chunk-YOAFFOB6.js → chunk-75DEF6KS.js} +2 -2
- package/__chunks__/{chunk-XGX4NLDC.js → chunk-75GJK2GI.js} +2 -2
- package/__chunks__/{chunk-3UDQW5BX.js → chunk-7AD356MZ.js} +2 -2
- package/__chunks__/{chunk-ZGXKMGS5.js → chunk-7CRTEUXQ.js} +2 -2
- package/__chunks__/chunk-7MBSMSCD.js +2 -0
- package/__chunks__/{chunk-CPWND4DW.js → chunk-7STA5D2T.js} +2 -2
- package/__chunks__/{chunk-DQ55HIYP.js → chunk-A2UHFBXC.js} +2 -2
- package/__chunks__/{chunk-SHPUY3H6.js → chunk-A3M2ZT2N.js} +2 -2
- package/__chunks__/{chunk-MB5IONA4.js → chunk-A44Y55F7.js} +2 -2
- package/__chunks__/{chunk-R6PGB4AY.js → chunk-A4OOIO54.js} +2 -2
- package/__chunks__/{chunk-Q6T3QBES.js → chunk-A5MGV2PF.js} +2 -2
- package/__chunks__/{chunk-V5FL3KG7.js → chunk-A7T4ZPNP.js} +2 -2
- package/__chunks__/{chunk-QDHZGBLR.js → chunk-AIQDX6K7.js} +2 -2
- package/__chunks__/{chunk-DDFD67MI.js → chunk-AMMIWVOK.js} +2 -2
- package/__chunks__/{chunk-MU6W7IW4.js → chunk-AQ72WZBJ.js} +2 -2
- package/__chunks__/{chunk-F6CQD7DQ.js → chunk-ARN4TXNS.js} +2 -2
- package/__chunks__/{chunk-5Y27KEXJ.js → chunk-B3VMBKYV.js} +2 -2
- package/__chunks__/{chunk-WBWWXPS3.js → chunk-B5VQE4H2.js} +2 -2
- package/__chunks__/{chunk-YSKH44IL.js → chunk-B76SBLRL.js} +2 -2
- package/__chunks__/{chunk-FUMXQBTW.js → chunk-BCXMOBSF.js} +2 -2
- package/__chunks__/{chunk-24KK7ZLP.js → chunk-BDCWCPQD.js} +2 -2
- package/__chunks__/{chunk-YW7HDX4O.js → chunk-BDZY57A6.js} +2 -2
- package/__chunks__/{chunk-O6IBA5MC.js → chunk-BFBJHILF.js} +2 -2
- package/__chunks__/{chunk-3VEMYIHI.js → chunk-BVZVVWO6.js} +2 -2
- package/__chunks__/{chunk-RHGBRWCG.js → chunk-BWVLB3EN.js} +2 -2
- package/__chunks__/{chunk-2H6SDBB6.js → chunk-BX66MXW6.js} +2 -2
- package/__chunks__/{chunk-PJUVVM6H.js → chunk-BYMPKNIX.js} +2 -2
- package/__chunks__/{chunk-RANXSXTE.js → chunk-BZI5U74P.js} +2 -2
- package/__chunks__/{chunk-PHISDJVG.js → chunk-C46ILTGH.js} +2 -2
- package/__chunks__/chunk-CAH5U2BC.js +2 -0
- package/__chunks__/{chunk-GW7MH7I2.js → chunk-CDXLD3UX.js} +2 -2
- package/__chunks__/{chunk-54H4EYRK.js → chunk-CLPLALDF.js} +2 -2
- package/__chunks__/{chunk-KANFKNL2.js → chunk-CM2GINJO.js} +2 -2
- package/__chunks__/{chunk-EMQGRYPV.js → chunk-CMXICFOE.js} +2 -2
- package/__chunks__/{chunk-SZDNQ3ZO.js → chunk-COWK2W2W.js} +2 -2
- package/__chunks__/{chunk-O6BSFMJR.js → chunk-CVNDZP76.js} +2 -2
- package/__chunks__/{chunk-EUSBDREN.js → chunk-CXFIBSLH.js} +2 -2
- package/__chunks__/{chunk-Y324QW64.js → chunk-CYKNXV5A.js} +2 -2
- package/__chunks__/chunk-D2YE4NU4.js +2 -0
- package/__chunks__/{chunk-65JKXTOY.js → chunk-D4GAJYCJ.js} +2 -2
- package/__chunks__/chunk-DDBXHWTW.js +2 -0
- package/__chunks__/{chunk-UWVCGIA3.js → chunk-DP5HIL2M.js} +2 -2
- package/__chunks__/{chunk-BAG4CV3S.js → chunk-DR52VSGD.js} +2 -2
- package/__chunks__/{chunk-W54GUOEP.js → chunk-E2X4CGZA.js} +2 -2
- package/__chunks__/{chunk-QEJ52S3Z.js → chunk-E6MPNKOA.js} +2 -2
- package/__chunks__/chunk-E7ZMJK5T.js +2 -0
- package/__chunks__/{chunk-WM254GJP.js → chunk-EBNTLOIS.js} +2 -2
- package/__chunks__/chunk-EDUVKTUJ.js +2 -0
- package/__chunks__/chunk-EFR4FYH4.js +2 -0
- package/__chunks__/{chunk-IETKO3Q2.js → chunk-EVT7EQKU.js} +2 -2
- package/__chunks__/{chunk-PJIJQQXT.js → chunk-EWPZVDAB.js} +2 -2
- package/__chunks__/{chunk-W5IJPL37.js → chunk-F6BJUWL4.js} +2 -2
- package/__chunks__/{chunk-UR5YPM52.js → chunk-FBQHXG72.js} +2 -2
- package/__chunks__/chunk-FHFSY4UV.js +2 -0
- package/__chunks__/{chunk-54RHTKXH.js → chunk-FWQBX5ZR.js} +2 -2
- package/__chunks__/{chunk-P27KVPG4.js → chunk-FX4ZAXUB.js} +2 -2
- package/__chunks__/{chunk-X5ZBDWIN.js → chunk-G22LQ54W.js} +2 -2
- package/__chunks__/{chunk-5FUXPQ5E.js → chunk-G2WKJ6KK.js} +2 -2
- package/__chunks__/{chunk-FQTR766W.js → chunk-GSAU65SR.js} +1 -1
- package/__chunks__/{chunk-F6DE7BSI.js → chunk-GU3PXNAY.js} +2 -2
- package/__chunks__/{chunk-QEKZGB3R.js → chunk-GVTQCXHP.js} +2 -2
- package/__chunks__/{chunk-YLMSGZQS.js → chunk-GWOBNRCO.js} +2 -2
- package/__chunks__/chunk-GWOGB4RR.js +2 -0
- package/__chunks__/{chunk-M4WR7SBV.js → chunk-GXFGHRHG.js} +2 -2
- package/__chunks__/{chunk-QGH5G7VG.js → chunk-GZKFOA62.js} +2 -2
- package/__chunks__/chunk-GZVP3ZXI.js +2 -0
- package/__chunks__/{chunk-A5K54E4H.js → chunk-H2BDW4MQ.js} +2 -2
- package/__chunks__/{chunk-QDVANOM7.js → chunk-H2RDZWXV.js} +2 -2
- package/__chunks__/{chunk-4MJVLPVI.js → chunk-H4XPIFVE.js} +2 -2
- package/__chunks__/{chunk-22A4BGDM.js → chunk-HFQEDJ2B.js} +2 -2
- package/__chunks__/{chunk-23NY2WUK.js → chunk-HIONU7XT.js} +2 -2
- package/__chunks__/{chunk-MQBNTP43.js → chunk-HLAK36TW.js} +2 -2
- package/__chunks__/{chunk-YCKI7KFB.js → chunk-HLLGV3J2.js} +2 -2
- package/__chunks__/{chunk-XYMU6N2W.js → chunk-HM4ZNOAG.js} +2 -2
- package/__chunks__/{chunk-LDVWUPWF.js → chunk-HOXLOOU2.js} +2 -2
- package/__chunks__/{chunk-2UT73N3Q.js → chunk-I2ESI53D.js} +2 -2
- package/__chunks__/{chunk-POJO6MMX.js → chunk-I75FKBLR.js} +2 -2
- package/__chunks__/{chunk-2EZZWJ4A.js → chunk-IB3UZXZV.js} +2 -2
- package/__chunks__/{chunk-EE46SIK7.js → chunk-IE3ZZJWG.js} +2 -2
- package/__chunks__/{chunk-DDYXISJJ.js → chunk-IH33TIUO.js} +2 -2
- package/__chunks__/{chunk-6EJPAHUS.js → chunk-IKIIFVAO.js} +2 -2
- package/__chunks__/{chunk-FZCLL7UM.js → chunk-ILQFJH3G.js} +2 -2
- package/__chunks__/{chunk-NQJYE2G7.js → chunk-INRJLH3K.js} +2 -2
- package/__chunks__/{chunk-3NWKV3ES.js → chunk-IPHQVCKI.js} +2 -2
- package/__chunks__/chunk-IW6SN7BF.js +2 -0
- package/__chunks__/{chunk-EUSOFVHV.js → chunk-J27DLS5B.js} +2 -2
- package/__chunks__/chunk-JCNIVUOH.js +2 -0
- package/__chunks__/chunk-JQEIHESA.js +2 -0
- package/__chunks__/{chunk-4UDZRQOR.js → chunk-JRSSYB2W.js} +2 -2
- package/__chunks__/{chunk-UDFF6CV2.js → chunk-JSEXLEYA.js} +2 -2
- package/__chunks__/{chunk-ERARCGGG.js → chunk-JSYZ5XXA.js} +2 -2
- package/__chunks__/{chunk-4IUIV3HP.js → chunk-JURTWYMD.js} +2 -2
- package/__chunks__/{chunk-4PNL3CZC.js → chunk-K4DOQKCI.js} +2 -2
- package/__chunks__/{chunk-TDTF7WFM.js → chunk-KCBVOAE5.js} +2 -2
- package/__chunks__/{chunk-FT6ZVVYG.js → chunk-KJYPS4WM.js} +2 -2
- package/__chunks__/{chunk-ZSEY3H44.js → chunk-KO26IQAN.js} +2 -2
- package/__chunks__/{chunk-MJGRG63T.js → chunk-KRXH6FKC.js} +2 -2
- package/__chunks__/chunk-KV7GLUXD.js +2 -0
- package/__chunks__/{chunk-IPHIIAMJ.js → chunk-KWX447BW.js} +2 -2
- package/__chunks__/{chunk-U5LEC7IQ.js → chunk-KYUV4GGN.js} +2 -2
- package/__chunks__/{chunk-R2CPPFSK.js → chunk-LAZU73S2.js} +2 -2
- package/__chunks__/{chunk-Q3LXMSKA.js → chunk-LBX3NVTC.js} +2 -2
- package/__chunks__/{chunk-EZ63SSTN.js → chunk-LINILSAX.js} +2 -2
- package/__chunks__/{chunk-B2SFQIRM.js → chunk-LLKFSQJL.js} +2 -2
- package/__chunks__/chunk-LMFYIKOH.js +2 -0
- package/__chunks__/{chunk-JDN7QTR3.js → chunk-LMH5D7PO.js} +2 -2
- package/__chunks__/{chunk-LQW4DRQU.js → chunk-LNHJAXRU.js} +2 -2
- package/__chunks__/{chunk-5NJG63GD.js → chunk-LNYWXGW7.js} +2 -2
- package/__chunks__/{chunk-PKBDLCTQ.js → chunk-LOXGOWPI.js} +2 -2
- package/__chunks__/{chunk-GQFHQXF3.js → chunk-LY757UDU.js} +2 -2
- package/__chunks__/{chunk-DV6JEZP7.js → chunk-M2OXT3YO.js} +2 -2
- package/__chunks__/{chunk-T3A353IW.js → chunk-M37NJUED.js} +2 -2
- package/__chunks__/{chunk-ZYOTBLE2.js → chunk-MAYO43ZD.js} +2 -2
- package/__chunks__/{chunk-KFUGFCIB.js → chunk-MEYIRXHK.js} +2 -2
- package/__chunks__/{chunk-635CWMLH.js → chunk-MFTEMWCU.js} +2 -2
- package/__chunks__/chunk-MLXPX23B.js +2 -0
- package/__chunks__/{chunk-4WDBHDVR.js → chunk-MRKRIB2A.js} +2 -2
- package/__chunks__/{chunk-DHTRJBJ2.js → chunk-MWQ7XWJ3.js} +2 -2
- package/__chunks__/chunk-MXTJ27RN.js +2 -0
- package/__chunks__/{chunk-JXNLZIKK.js → chunk-N2ZBQYKD.js} +2 -2
- package/__chunks__/{chunk-E74NFQH2.js → chunk-N623YQX6.js} +2 -2
- package/__chunks__/chunk-N6SXDXRI.js +2 -0
- package/__chunks__/{chunk-OXVTZZQP.js → chunk-ND27OJ7I.js} +2 -2
- package/__chunks__/{chunk-O3LBNV3Q.js → chunk-NFTBRNA6.js} +2 -2
- package/__chunks__/{chunk-VLVIE24T.js → chunk-NGTYLR2P.js} +2 -2
- package/__chunks__/{chunk-IRYIU5HM.js → chunk-NHCAYUOL.js} +2 -2
- package/__chunks__/{chunk-P6GPL5QL.js → chunk-NJUUQIZ7.js} +2 -2
- package/__chunks__/{chunk-I6R64W27.js → chunk-NKVZAB3K.js} +2 -2
- package/__chunks__/{chunk-OP5S4OTU.js → chunk-NMJ6LNLI.js} +2 -2
- package/__chunks__/{chunk-EVZMZ2M6.js → chunk-NTPBZBNQ.js} +2 -2
- package/__chunks__/{chunk-NWT6SIAI.js → chunk-NV22SU2V.js} +2 -2
- package/__chunks__/chunk-O5OTL554.js +2 -0
- package/__chunks__/{chunk-LKK24GZJ.js → chunk-OB5OXBGC.js} +2 -2
- package/__chunks__/{chunk-HKXVF5CF.js → chunk-OC7RHJY6.js} +2 -2
- package/__chunks__/{chunk-GJVJSVHP.js → chunk-OHO5WVJC.js} +2 -2
- package/__chunks__/{chunk-42VSVW2Y.js → chunk-OQEMXMDD.js} +2 -2
- package/__chunks__/{chunk-DYI3WQWM.js → chunk-OQFYWEIS.js} +2 -2
- package/__chunks__/{chunk-WVI24XU7.js → chunk-OSOVIQYW.js} +2 -2
- package/__chunks__/{chunk-K2TNCKG2.js → chunk-OUA5FLAV.js} +2 -2
- package/__chunks__/{chunk-XN6TVWTL.js → chunk-OUT3EF54.js} +2 -2
- package/__chunks__/chunk-OWRF45PP.js +2 -0
- package/__chunks__/chunk-OY6DZ7KU.js +2 -0
- package/__chunks__/chunk-P3DNG2RV.js +2 -0
- package/__chunks__/{chunk-AYM5JJZN.js → chunk-P4JG3FOF.js} +2 -2
- package/__chunks__/chunk-PCR2WU5P.js +2 -0
- package/__chunks__/{chunk-EYMIIRFV.js → chunk-PED733EL.js} +2 -2
- package/__chunks__/{chunk-ECSLITFK.js → chunk-PFR5SUOK.js} +2 -2
- package/__chunks__/{chunk-BBYO4QOR.js → chunk-PHXT4KGL.js} +2 -2
- package/__chunks__/{chunk-ENEKVKCF.js → chunk-PLHSIUIH.js} +2 -2
- package/__chunks__/{chunk-ARRDY3GI.js → chunk-PUXPL4MQ.js} +2 -2
- package/__chunks__/{chunk-SQ7YIATY.js → chunk-PVWWYI7D.js} +2 -2
- package/__chunks__/{chunk-PUCLTLVZ.js → chunk-PW5QTCOQ.js} +2 -2
- package/__chunks__/{chunk-4LJO6KG2.js → chunk-PZZ4E52R.js} +2 -2
- package/__chunks__/chunk-Q4DPGKGE.js +2 -0
- package/__chunks__/{chunk-FBUSL726.js → chunk-Q5C2SPDB.js} +2 -2
- package/__chunks__/{chunk-R4MJYIUT.js → chunk-QMAHFUXC.js} +2 -2
- package/__chunks__/{chunk-FXGFZDUU.js → chunk-QWNXAJRR.js} +2 -2
- package/__chunks__/{chunk-RPEYA4P2.js → chunk-QXKIAILM.js} +2 -2
- package/__chunks__/chunk-R2BKZWTD.js +2 -0
- package/__chunks__/{chunk-B3ERZM5E.js → chunk-RCTS4E7X.js} +2 -2
- package/__chunks__/chunk-REFNSRHX.js +2 -0
- package/__chunks__/{chunk-5BE6YUVH.js → chunk-RIJFBAYV.js} +2 -2
- package/__chunks__/{chunk-DNZ3HHEO.js → chunk-RKD5TB6H.js} +2 -2
- package/__chunks__/{chunk-OU6RVF2K.js → chunk-RMWACIBX.js} +2 -2
- package/__chunks__/{chunk-C36KPI4J.js → chunk-RT4HX36Y.js} +2 -2
- package/__chunks__/{chunk-ISD34OKS.js → chunk-S5GCXB6J.js} +2 -2
- package/__chunks__/{chunk-3WCN5GML.js → chunk-S6OFZ37Q.js} +2 -2
- package/__chunks__/chunk-SB6Q3PIL.js +2 -0
- package/__chunks__/chunk-SGTU3REC.js +2 -0
- package/__chunks__/{chunk-NYEMKFOR.js → chunk-SINZVRGH.js} +2 -2
- package/__chunks__/chunk-SWEULXYJ.js +2 -0
- package/__chunks__/{chunk-DERN5X6K.js → chunk-SWWGJTL5.js} +2 -2
- package/__chunks__/{chunk-YODEUNJU.js → chunk-SXQZTZRH.js} +2 -2
- package/__chunks__/chunk-T7V7454F.js +2 -0
- package/__chunks__/{chunk-MOE2D4HR.js → chunk-TIQDH77C.js} +2 -2
- package/__chunks__/{chunk-HZPH647Y.js → chunk-TLFTE6OC.js} +2 -2
- package/__chunks__/{chunk-RECCQD7W.js → chunk-TPFN52IW.js} +2 -2
- package/__chunks__/{chunk-C3ALFGDR.js → chunk-TPQDDLQV.js} +2 -2
- package/__chunks__/{chunk-INWLBKDE.js → chunk-TPS5KPXT.js} +2 -2
- package/__chunks__/{chunk-7FAEWPZ2.js → chunk-TRJJUI2H.js} +2 -2
- package/__chunks__/{chunk-TVV5DBWU.js → chunk-TTWKANGP.js} +2 -2
- package/__chunks__/{chunk-WPIEQFLH.js → chunk-TYFF6L6K.js} +2 -2
- package/__chunks__/{chunk-ZFKA7XWT.js → chunk-U3IQKDUV.js} +2 -2
- package/__chunks__/{chunk-JJQ7I5SV.js → chunk-U5CE3C53.js} +2 -2
- package/__chunks__/{chunk-TIHBURHO.js → chunk-UBGMYFYP.js} +2 -2
- package/__chunks__/{chunk-HSMKWB5J.js → chunk-UCZZ5H3Z.js} +2 -2
- package/__chunks__/{chunk-PCGFLSJN.js → chunk-UH2JJ2OH.js} +2 -2
- package/__chunks__/{chunk-5PXSG6WV.js → chunk-UHCLDQPY.js} +2 -2
- package/__chunks__/{chunk-D2BBKLPY.js → chunk-UQDIW6ZF.js} +2 -2
- package/__chunks__/{chunk-QGESLMYY.js → chunk-URBTPPJQ.js} +2 -2
- package/__chunks__/{chunk-2UKIEP56.js → chunk-UTYB5SVR.js} +2 -2
- package/__chunks__/{chunk-NTKHZGWR.js → chunk-UX5PTPXR.js} +2 -2
- package/__chunks__/{chunk-SXISVR5Z.js → chunk-UZJLDHFK.js} +2 -2
- package/__chunks__/{chunk-RIT6WHYK.js → chunk-UZUMPS4D.js} +2 -2
- package/__chunks__/{chunk-TZLCXEDM.js → chunk-VKGQWWOB.js} +2 -2
- package/__chunks__/{chunk-ZVXR43EE.js → chunk-VMW2UT4I.js} +2 -2
- package/__chunks__/chunk-VRY2YA2B.js +2 -0
- package/__chunks__/{chunk-DTLDVTMB.js → chunk-VSOXJIE4.js} +2 -2
- package/__chunks__/chunk-VT4SCB2Q.js +2 -0
- package/__chunks__/{chunk-CJ2FXYNO.js → chunk-VXBWTSBA.js} +2 -2
- package/__chunks__/{chunk-JMVT2UMW.js → chunk-VXNIDAW4.js} +2 -2
- package/__chunks__/{chunk-KWSACFM6.js → chunk-W3ODGIKR.js} +2 -2
- package/__chunks__/{chunk-B36XNNUS.js → chunk-W3VTDJN2.js} +2 -2
- package/__chunks__/{chunk-AV42XZWH.js → chunk-WDAY7K7O.js} +2 -2
- package/__chunks__/{chunk-7KRJM76K.js → chunk-WG2WVJQW.js} +2 -2
- package/__chunks__/{chunk-7TGNXGEJ.js → chunk-WGPDVKY5.js} +2 -2
- package/__chunks__/{chunk-7N7PCWV6.js → chunk-WIA67UCL.js} +2 -2
- package/__chunks__/{chunk-I4ODQ3LI.js → chunk-WROIAT2N.js} +2 -2
- package/__chunks__/{chunk-W3SLNSGU.js → chunk-WUCNNANV.js} +2 -2
- package/__chunks__/{chunk-PJRU7NED.js → chunk-WWNMJLSX.js} +2 -2
- package/__chunks__/{chunk-HK7JFXLN.js → chunk-WXFYRHD2.js} +2 -2
- package/__chunks__/{chunk-YVL2E6BG.js → chunk-WYNDSNTB.js} +2 -2
- package/__chunks__/chunk-X6PPFAJP.js +2 -0
- package/__chunks__/{chunk-YGO3ADFR.js → chunk-XAGUELOI.js} +2 -2
- package/__chunks__/{chunk-TYGYAPBP.js → chunk-XD4W6G6Z.js} +2 -2
- package/__chunks__/{chunk-B762X3V5.js → chunk-XD6XBD7M.js} +2 -2
- package/__chunks__/{chunk-J2GFMUUO.js → chunk-XHHKUZ2U.js} +2 -2
- package/__chunks__/{chunk-3OOKJ2ER.js → chunk-XKNQBRZO.js} +2 -2
- package/__chunks__/{chunk-DGS6ETK7.js → chunk-XPTZTIQ2.js} +2 -2
- package/__chunks__/chunk-XRVWJ3RL.js +2 -0
- package/__chunks__/{chunk-F42M2XF4.js → chunk-XSU33MQE.js} +2 -2
- package/__chunks__/chunk-XSXPHHSS.js +2 -0
- package/__chunks__/{chunk-XOAXLXCL.js → chunk-Y3M4BQAH.js} +2 -2
- package/__chunks__/{chunk-IAFIDSV7.js → chunk-YCDWRKZR.js} +2 -2
- package/__chunks__/{chunk-CWO6CM26.js → chunk-YCH3M7LC.js} +2 -2
- package/__chunks__/{chunk-HSELUYFT.js → chunk-YISI3TO4.js} +2 -2
- package/__chunks__/{chunk-KQ7ITRLS.js → chunk-ZB5LRSUA.js} +2 -2
- package/__chunks__/{chunk-56XEKPEM.js → chunk-ZDEX2UMS.js} +2 -2
- package/__chunks__/chunk-ZGKYWFGV.js +2 -0
- package/__chunks__/{chunk-5II7EZNI.js → chunk-ZM53UQ5W.js} +2 -2
- package/__chunks__/{chunk-G4JUWVAG.js → chunk-ZMLTCUNQ.js} +2 -2
- package/__chunks__/{chunk-2MR62UP4.js → chunk-ZTX5FNGQ.js} +2 -2
- package/__chunks__/chunk-ZWEMOICZ.js +2 -0
- package/__chunks__/{chunk-6IVIBGDO.js → chunk-ZXNFWJMH.js} +2 -2
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/NotificationModal/NotificationModal.js +2 -2
- package/__commonjs/UI/NotificationModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +9 -9
- package/__commonjs/UI/index.js +11 -11
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +4 -4
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +10 -10
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/index.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsSlice.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +4 -0
- package/__commonjs/types/transactions.types.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.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/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useTrackBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/useUpdateBatches.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/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/useGetLastPendingTransactionHash.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 +2 -2
- 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/batchTransactionsSelectors.js +1 -1
- package/reduxStore/selectors/dappConfigSelector.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/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.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/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.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/transactions.types.d.ts +4 -0
- package/types/transactions.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/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/batch/updateBatchTransactionsStatuses.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/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2DF5QDRY.js +0 -2
- package/__chunks__/chunk-2IKYBOID.js +0 -2
- package/__chunks__/chunk-3I4WSHUC.js +0 -2
- package/__chunks__/chunk-3UTHLT6A.js +0 -2
- package/__chunks__/chunk-4O6PWAKS.js +0 -2
- package/__chunks__/chunk-4PMLV6U3.js +0 -2
- package/__chunks__/chunk-6XM3EBUS.js +0 -2
- package/__chunks__/chunk-72OGWB73.js +0 -2
- package/__chunks__/chunk-7P4F7I5K.js +0 -2
- package/__chunks__/chunk-BH655BLS.js +0 -2
- package/__chunks__/chunk-BLWD4PKR.js +0 -2
- package/__chunks__/chunk-BN4BJQWE.js +0 -2
- package/__chunks__/chunk-BQFC2GGQ.js +0 -2
- package/__chunks__/chunk-BWHZUT7S.js +0 -2
- package/__chunks__/chunk-CFLA5II2.js +0 -2
- package/__chunks__/chunk-CL3YOGNK.js +0 -2
- package/__chunks__/chunk-EOVJZE2V.js +0 -2
- package/__chunks__/chunk-FEF5RM6M.js +0 -2
- package/__chunks__/chunk-FWHFV2GY.js +0 -2
- package/__chunks__/chunk-G2MDLSAP.js +0 -2
- package/__chunks__/chunk-HFF63CWA.js +0 -2
- package/__chunks__/chunk-HQ64MG47.js +0 -2
- package/__chunks__/chunk-KS7XN62J.js +0 -2
- package/__chunks__/chunk-KSDVGCPP.js +0 -2
- package/__chunks__/chunk-KU6MQG4T.js +0 -2
- package/__chunks__/chunk-L5U2TGSL.js +0 -2
- package/__chunks__/chunk-M3KWJSVP.js +0 -2
- package/__chunks__/chunk-MDLJLBON.js +0 -2
- package/__chunks__/chunk-MH3ZESL5.js +0 -2
- package/__chunks__/chunk-MNEZR55O.js +0 -2
- package/__chunks__/chunk-O252YP3B.js +0 -2
- package/__chunks__/chunk-OGBWOFC5.js +0 -2
- package/__chunks__/chunk-PD2665ST.js +0 -2
- package/__chunks__/chunk-QRNKLOPS.js +0 -2
- package/__chunks__/chunk-QUYLH34E.js +0 -2
- package/__chunks__/chunk-SR2NXF6S.js +0 -2
- package/__chunks__/chunk-SVC7DYDE.js +0 -2
- package/__chunks__/chunk-UI4DV6BF.js +0 -2
- package/__chunks__/chunk-VKPM6HWY.js +0 -2
- package/__chunks__/chunk-VWHAHJ7M.js +0 -2
- package/__chunks__/chunk-VZHWCMGX.js +0 -2
- package/__chunks__/chunk-WGZYZ3J4.js +0 -2
- package/__chunks__/chunk-WZAWFI47.js +0 -2
- package/__chunks__/chunk-XG7OX5T2.js +0 -2
- package/__chunks__/chunk-XVJ73AJ4.js +0 -2
- package/__chunks__/chunk-YC7PF6LQ.js +0 -2
- package/__chunks__/chunk-YJVSP7IH.js +0 -2
- package/__chunks__/chunk-ZGUJTQO2.js +0 -2
- package/__chunks__/chunk-ZK6VVULN.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ir=Object.create;var O=Object.defineProperty;var Ar=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Ur=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var br=(n,r)=>()=>(n&&(r=n(n=0)),r);var _=(n,r)=>()=>(r||n((r={exports:{}}).exports,r),r.exports);var rr=(n,r,t,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Sr(r))!Cr.call(n,i)&&i!==t&&O(n,i,{get:()=>r[i],enumerable:!(e=Ar(r,i))||e.enumerable});return n};var tr=(n,r,t)=>(t=n!=null?Ir(Ur(n)):{},rr(r||!n||!n.__esModule?O(t,"default",{value:n,enumerable:!0}):t,n)),Rr=n=>rr(O({},"__esModule",{value:!0}),n);var ir=_(N=>{"use strict";w();N.byteLength=kr;N.toByteArray=Lr;N.fromByteArray=Pr;var E=[],g=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(S=0,nr=Y.length;S<nr;++S)E[S]=Y[S],g[Y.charCodeAt(S)]=S;var S,nr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function er(n){var r=n.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=r);var e=t===r?0:4-t%4;return[t,e]}function kr(n){var r=er(n),t=r[0],e=r[1];return(t+e)*3/4-e}function Dr(n,r,t){return(r+t)*3/4-t}function Lr(n){var r,t=er(n),e=t[0],i=t[1],a=new Mr(Dr(n,e,i)),o=0,u=i>0?e-4:e,c;for(c=0;c<u;c+=4)r=g[n.charCodeAt(c)]<<18|g[n.charCodeAt(c+1)]<<12|g[n.charCodeAt(c+2)]<<6|g[n.charCodeAt(c+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=g[n.charCodeAt(c)]<<2|g[n.charCodeAt(c+1)]>>4,a[o++]=r&255),i===1&&(r=g[n.charCodeAt(c)]<<10|g[n.charCodeAt(c+1)]<<4|g[n.charCodeAt(c+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function _r(n){return E[n>>18&63]+E[n>>12&63]+E[n>>6&63]+E[n&63]}function Nr(n,r,t){for(var e,i=[],a=r;a<t;a+=3)e=(n[a]<<16&16711680)+(n[a+1]<<8&65280)+(n[a+2]&255),i.push(_r(e));return i.join("")}function Pr(n){for(var r,t=n.length,e=t%3,i=[],a=16383,o=0,u=t-e;o<u;o+=a)i.push(Nr(n,o,o+a>u?u:o+a));return e===1?(r=n[t-1],i.push(E[r>>2]+E[r<<4&63]+"==")):e===2&&(r=(n[t-2]<<8)+n[t-1],i.push(E[r>>10]+E[r>>4&63]+E[r<<2&63]+"=")),i.join("")}});var ar=_(q=>{w();q.read=function(n,r,t,e,i){var a,o,u=i*8-e-1,c=(1<<u)-1,f=c>>1,h=-7,p=t?i-1:0,T=t?-1:1,x=n[r+p];for(p+=T,a=x&(1<<-h)-1,x>>=-h,h+=u;h>0;a=a*256+n[r+p],p+=T,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=e;h>0;o=o*256+n[r+p],p+=T,h-=8);if(a===0)a=1-f;else{if(a===c)return o?NaN:(x?-1:1)*(1/0);o=o+Math.pow(2,e),a=a-f}return(x?-1:1)*o*Math.pow(2,a-e)};q.write=function(n,r,t,e,i,a){var o,u,c,f=a*8-i-1,h=(1<<f)-1,p=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=e?0:a-1,b=e?1:-1,Br=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=h):(o=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?r+=T/c:r+=T*Math.pow(2,1-p),r*c>=2&&(o++,c/=2),o+p>=h?(u=0,o=h):o+p>=1?(u=(r*c-1)*Math.pow(2,i),o=o+p):(u=r*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;n[t+x]=u&255,x+=b,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;n[t+x]=o&255,x+=b,o/=256,f-=8);n[t+x-b]|=Br*128}});var Tr=_(M=>{"use strict";w();var X=ir(),R=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=s;M.SlowBuffer=qr;M.INSPECT_MAX_BYTES=50;var W=2147483647;M.kMaxLength=W;s.TYPED_ARRAY_SUPPORT=Wr();!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 Wr(){try{var n=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(n,r),n.foo()===42}catch(t){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(n){if(n>W)throw new RangeError('The value "'+n+'" is invalid for option "size"');var r=new Uint8Array(n);return Object.setPrototypeOf(r,s.prototype),r}function s(n,r,t){if(typeof n=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return V(n)}return cr(n,r,t)}s.poolSize=8192;function cr(n,r,t){if(typeof n=="string")return Hr(n,r);if(ArrayBuffer.isView(n))return Or(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(d(n,ArrayBuffer)||n&&d(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(d(n,SharedArrayBuffer)||n&&d(n.buffer,SharedArrayBuffer)))return z(n,r,t);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var e=n.valueOf&&n.valueOf();if(e!=null&&e!==n)return s.from(e,r,t);var i=Yr(n);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return s.from(n[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}s.from=function(n,r,t){return cr(n,r,t)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function pr(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function Gr(n,r,t){return pr(n),n<=0?B(n):r!==void 0?typeof t=="string"?B(n).fill(r,t):B(n).fill(r):B(n)}s.alloc=function(n,r,t){return Gr(n,r,t)};function V(n){return pr(n),B(n<0?0:K(n)|0)}s.allocUnsafe=function(n){return V(n)};s.allocUnsafeSlow=function(n){return V(n)};function Hr(n,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=fr(n,r)|0,e=B(t),i=e.write(n,r);return i!==t&&(e=e.slice(0,i)),e}function J(n){for(var r=n.length<0?0:K(n.length)|0,t=B(r),e=0;e<r;e+=1)t[e]=n[e]&255;return t}function Or(n){if(d(n,Uint8Array)){var r=new Uint8Array(n);return z(r.buffer,r.byteOffset,r.byteLength)}return J(n)}function z(n,r,t){if(r<0||n.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var e;return r===void 0&&t===void 0?e=new Uint8Array(n):t===void 0?e=new Uint8Array(n,r):e=new Uint8Array(n,r,t),Object.setPrototypeOf(e,s.prototype),e}function Yr(n){if(s.isBuffer(n)){var r=K(n.length)|0,t=B(r);return t.length===0||n.copy(t,0,0,r),t}if(n.length!==void 0)return typeof n.length!="number"||Z(n.length)?B(0):J(n);if(n.type==="Buffer"&&Array.isArray(n.data))return J(n.data)}function K(n){if(n>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return n|0}function qr(n){return+n!=n&&(n=0),s.alloc(+n)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,t){if(d(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),d(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(r)||!s.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var e=r.length,i=t.length,a=0,o=Math.min(e,i);a<o;++a)if(r[a]!==t[a]){e=r[a],i=t[a];break}return e<i?-1:i<e?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,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var e;if(t===void 0)for(t=0,e=0;e<r.length;++e)t+=r[e].length;var i=s.allocUnsafe(t),a=0;for(e=0;e<r.length;++e){var o=r[e];if(d(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function fr(n,r){if(s.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||d(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var t=n.length,e=arguments.length>2&&arguments[2]===!0;if(!e&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Q(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return gr(n).length;default:if(i)return e?-1:Q(n).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=fr;function Xr(n,r,t){var e=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(n||(n="utf8");;)switch(n){case"hex":return tt(this,r,t);case"utf8":case"utf-8":return lr(this,r,t);case"ascii":return jr(this,r,t);case"latin1":case"binary":return rt(this,r,t);case"base64":return Zr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nt(this,r,t);default:if(e)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),e=!0}}s.prototype._isBuffer=!0;function U(n,r,t){var e=n[r];n[r]=n[t],n[t]=e}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 t=0;t<r;t+=2)U(this,t,t+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 t=0;t<r;t+=4)U(this,t,t+3),U(this,t+1,t+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 t=0;t<r;t+=8)U(this,t,t+7),U(this,t+1,t+6),U(this,t+2,t+5),U(this,t+3,t+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(this,0,r):Xr.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="",t=M.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,t,e,i,a){if(d(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(t===void 0&&(t=0),e===void 0&&(e=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),t<0||e>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=e)return 0;if(i>=a)return-1;if(t>=e)return 1;if(t>>>=0,e>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=e-t,c=Math.min(o,u),f=this.slice(i,a),h=r.slice(t,e),p=0;p<c;++p)if(f[p]!==h[p]){o=f[p],u=h[p];break}return o<u?-1:u<o?1:0};function hr(n,r,t,e,i){if(n.length===0)return-1;if(typeof t=="string"?(e=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Z(t)&&(t=i?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(i)return-1;t=n.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=s.from(r,e)),s.isBuffer(r))return r.length===0?-1:sr(n,r,t,e,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(n,r,t):Uint8Array.prototype.lastIndexOf.call(n,r,t):sr(n,[r],t,e,i);throw new TypeError("val must be string, number or Buffer")}function sr(n,r,t,e,i){var a=1,o=n.length,u=r.length;if(e!==void 0&&(e=String(e).toLowerCase(),e==="ucs2"||e==="ucs-2"||e==="utf16le"||e==="utf-16le")){if(n.length<2||r.length<2)return-1;a=2,o/=2,u/=2,t/=2}function c(x,b){return a===1?x[b]:x.readUInt16BE(b*a)}var f;if(i){var h=-1;for(f=t;f<o;f++)if(c(n,f)===c(r,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===u)return h*a}else h!==-1&&(f-=f-h),h=-1}else for(t+u>o&&(t=o-u),f=t;f>=0;f--){for(var p=!0,T=0;T<u;T++)if(c(n,f+T)!==c(r,T)){p=!1;break}if(p)return f}return-1}s.prototype.includes=function(r,t,e){return this.indexOf(r,t,e)!==-1};s.prototype.indexOf=function(r,t,e){return hr(this,r,t,e,!0)};s.prototype.lastIndexOf=function(r,t,e){return hr(this,r,t,e,!1)};function Jr(n,r,t,e){t=Number(t)||0;var i=n.length-t;e?(e=Number(e),e>i&&(e=i)):e=i;var a=r.length;e>a/2&&(e=a/2);for(var o=0;o<e;++o){var u=parseInt(r.substr(o*2,2),16);if(Z(u))return o;n[t+o]=u}return o}function zr(n,r,t,e){return G(Q(r,n.length-t),n,t,e)}function Qr(n,r,t,e){return G(at(r),n,t,e)}function Vr(n,r,t,e){return G(gr(r),n,t,e)}function Kr(n,r,t,e){return G(ot(r,n.length-t),n,t,e)}s.prototype.write=function(r,t,e,i){if(t===void 0)i="utf8",e=this.length,t=0;else if(e===void 0&&typeof t=="string")i=t,e=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(e)?(e=e>>>0,i===void 0&&(i="utf8")):(i=e,e=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-t;if((e===void 0||e>a)&&(e=a),r.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Jr(this,r,t,e);case"utf8":case"utf-8":return zr(this,r,t,e);case"ascii":case"latin1":case"binary":return Qr(this,r,t,e);case"base64":return Vr(this,r,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(this,r,t,e);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(n,r,t){return r===0&&t===n.length?X.fromByteArray(n):X.fromByteArray(n.slice(r,t))}function lr(n,r,t){t=Math.min(n.length,t);for(var e=[],i=r;i<t;){var a=n[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=t){var c,f,h,p;switch(u){case 1:a<128&&(o=a);break;case 2:c=n[i+1],(c&192)===128&&(p=(a&31)<<6|c&63,p>127&&(o=p));break;case 3:c=n[i+1],f=n[i+2],(c&192)===128&&(f&192)===128&&(p=(a&15)<<12|(c&63)<<6|f&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:c=n[i+1],f=n[i+2],h=n[i+3],(c&192)===128&&(f&192)===128&&(h&192)===128&&(p=(a&15)<<18|(c&63)<<12|(f&63)<<6|h&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,e.push(o>>>10&1023|55296),o=56320|o&1023),e.push(o),i+=u}return $r(e)}var ur=4096;function $r(n){var r=n.length;if(r<=ur)return String.fromCharCode.apply(String,n);for(var t="",e=0;e<r;)t+=String.fromCharCode.apply(String,n.slice(e,e+=ur));return t}function jr(n,r,t){var e="";t=Math.min(n.length,t);for(var i=r;i<t;++i)e+=String.fromCharCode(n[i]&127);return e}function rt(n,r,t){var e="";t=Math.min(n.length,t);for(var i=r;i<t;++i)e+=String.fromCharCode(n[i]);return e}function tt(n,r,t){var e=n.length;(!r||r<0)&&(r=0),(!t||t<0||t>e)&&(t=e);for(var i="",a=r;a<t;++a)i+=st[n[a]];return i}function nt(n,r,t){for(var e=n.slice(r,t),i="",a=0;a<e.length-1;a+=2)i+=String.fromCharCode(e[a]+e[a+1]*256);return i}s.prototype.slice=function(r,t){var e=this.length;r=~~r,t=t===void 0?e:~~t,r<0?(r+=e,r<0&&(r=0)):r>e&&(r=e),t<0?(t+=e,t<0&&(t=0)):t>e&&(t=e),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,s.prototype),i};function y(n,r,t){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+r>t)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=this[r],a=1,o=0;++o<t&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=this[r+--t],a=1;t>0&&(a*=256);)i+=this[r+--t]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(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,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=this[r],a=1,o=0;++o<t&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i};s.prototype.readIntBE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=t,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o};s.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var e=this[r]|this[r+1]<<8;return e&32768?e|4294901760:e};s.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var e=this[r+1]|this[r]<<8;return e&32768?e|4294901760:e};s.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),R.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),R.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),R.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),R.read(this,r,!1,52,8)};function m(n,r,t,e,i,a){if(!s.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(t+e>n.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,t,e,i){if(r=+r,t=t>>>0,e=e>>>0,!i){var a=Math.pow(2,8*e)-1;m(this,r,t,e,a,0)}var o=1,u=0;for(this[t]=r&255;++u<e&&(o*=256);)this[t+u]=r/o&255;return t+e};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,t,e,i){if(r=+r,t=t>>>0,e=e>>>0,!i){var a=Math.pow(2,8*e)-1;m(this,r,t,e,a,0)}var o=e-1,u=1;for(this[t+o]=r&255;--o>=0&&(u*=256);)this[t+o]=r/u&255;return t+e};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,1,255,0),this[t]=r&255,t+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};s.prototype.writeIntLE=function(r,t,e,i){if(r=+r,t=t>>>0,!i){var a=Math.pow(2,8*e-1);m(this,r,t,e,a-1,-a)}var o=0,u=1,c=0;for(this[t]=r&255;++o<e&&(u*=256);)r<0&&c===0&&this[t+o-1]!==0&&(c=1),this[t+o]=(r/u>>0)-c&255;return t+e};s.prototype.writeIntBE=function(r,t,e,i){if(r=+r,t=t>>>0,!i){var a=Math.pow(2,8*e-1);m(this,r,t,e,a-1,-a)}var o=e-1,u=1,c=0;for(this[t+o]=r&255;--o>=0&&(u*=256);)r<0&&c===0&&this[t+o+1]!==0&&(c=1),this[t+o]=(r/u>>0)-c&255;return t+e};s.prototype.writeInt8=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};s.prototype.writeInt16LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};s.prototype.writeInt16BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};s.prototype.writeInt32LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};s.prototype.writeInt32BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function yr(n,r,t,e,i,a){if(t+e>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function mr(n,r,t,e,i){return r=+r,t=t>>>0,i||yr(n,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(n,r,t,e,23,4),t+4}s.prototype.writeFloatLE=function(r,t,e){return mr(this,r,t,!0,e)};s.prototype.writeFloatBE=function(r,t,e){return mr(this,r,t,!1,e)};function xr(n,r,t,e,i){return r=+r,t=t>>>0,i||yr(n,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(n,r,t,e,52,8),t+8}s.prototype.writeDoubleLE=function(r,t,e){return xr(this,r,t,!0,e)};s.prototype.writeDoubleBE=function(r,t,e){return xr(this,r,t,!1,e)};s.prototype.copy=function(r,t,e,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(e||(e=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<e&&(i=e),i===e||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=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-t<i-e&&(i=r.length-t+e);var a=i-e;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,e,i):Uint8Array.prototype.set.call(r,this.subarray(e,i),t),a};s.prototype.fill=function(r,t,e,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,e=this.length):typeof e=="string"&&(i=e,e=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<e)throw new RangeError("Out of range index");if(e<=t)return this;t=t>>>0,e=e===void 0?this.length:e>>>0,r||(r=0);var o;if(typeof r=="number")for(o=t;o<e;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<e-t;++o)this[o+t]=u[o%c]}return this};var et=/[^+/0-9A-Za-z-_]/g;function it(n){if(n=n.split("=")[0],n=n.trim().replace(et,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function Q(n,r){r=r||1/0;for(var t,e=n.length,i=null,a=[],o=0;o<e;++o){if(t=n.charCodeAt(o),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===e){(r-=3)>-1&&a.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&a.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;a.push(t)}else if(t<2048){if((r-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function at(n){for(var r=[],t=0;t<n.length;++t)r.push(n.charCodeAt(t)&255);return r}function ot(n,r){for(var t,e,i,a=[],o=0;o<n.length&&!((r-=2)<0);++o)t=n.charCodeAt(o),e=t>>8,i=t%256,a.push(i),a.push(e);return a}function gr(n){return X.toByteArray(it(n))}function G(n,r,t,e){for(var i=0;i<e&&!(i+t>=r.length||i>=n.length);++i)r[i+t]=n[i];return i}function d(n,r){return n instanceof r||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===r.name}function Z(n){return n!==n}var st=function(){for(var n="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var e=t*16,i=0;i<16;++i)r[e+i]=n[t]+n[i];return r}()});var Fr=_((mt,vr)=>{w();var l=vr.exports={},v,F;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?v=setTimeout:v=$}catch(n){v=$}try{typeof clearTimeout=="function"?F=clearTimeout:F=j}catch(n){F=j}})();function wr(n){if(v===setTimeout)return setTimeout(n,0);if((v===$||!v)&&setTimeout)return v=setTimeout,setTimeout(n,0);try{return v(n,0)}catch(r){try{return v.call(null,n,0)}catch(t){return v.call(this,n,0)}}}function ut(n){if(F===clearTimeout)return clearTimeout(n);if((F===j||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(n);try{return F(n)}catch(r){try{return F.call(null,n)}catch(t){return F.call(this,n)}}}var I=[],k=!1,C,H=-1;function ct(){!k||!C||(k=!1,C.length?I=C.concat(I):H=-1,I.length&&Er())}function Er(){if(!k){var n=wr(ct);k=!0;for(var r=I.length;r;){for(C=I,I=[];++H<r;)C&&C[H].run();H=-1,r=I.length}C=null,k=!1,ut(n)}}l.nextTick=function(n){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];I.push(new dr(n,r)),I.length===1&&!k&&wr(Er)};function dr(n,r){this.fun=n,this.array=r}dr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function A(){}l.on=A;l.addListener=A;l.once=A;l.off=A;l.removeListener=A;l.removeAllListeners=A;l.emit=A;l.prependListener=A;l.prependOnceListener=A;l.listeners=function(n){return[]};l.binding=function(n){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(n){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var D,L,xt,w=br(()=>{D=tr(Tr()),L=tr(Fr()),xt=function(n){function r(){var e=this||self;return delete n.prototype.__magic__,e}if(typeof globalThis=="object")return globalThis;if(this)return r();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var pt={};module.exports=Rr(pt);w();
|
|
1
|
+
"use strict";var Ir=Object.create;var O=Object.defineProperty;var Ar=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var Ur=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var br=(n,r)=>()=>(n&&(r=n(n=0)),r);var _=(n,r)=>()=>(r||n((r={exports:{}}).exports,r),r.exports);var rr=(n,r,t,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Sr(r))!Cr.call(n,i)&&i!==t&&O(n,i,{get:()=>r[i],enumerable:!(e=Ar(r,i))||e.enumerable});return n};var tr=(n,r,t)=>(t=n!=null?Ir(Ur(n)):{},rr(r||!n||!n.__esModule?O(t,"default",{value:n,enumerable:!0}):t,n)),Rr=n=>rr(O({},"__esModule",{value:!0}),n);var ir=_(N=>{"use strict";w();N.byteLength=kr;N.toByteArray=Lr;N.fromByteArray=Gr;var E=[],g=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(S=0,nr=Y.length;S<nr;++S)E[S]=Y[S],g[Y.charCodeAt(S)]=S;var S,nr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function er(n){var r=n.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=r);var e=t===r?0:4-t%4;return[t,e]}function kr(n){var r=er(n),t=r[0],e=r[1];return(t+e)*3/4-e}function Dr(n,r,t){return(r+t)*3/4-t}function Lr(n){var r,t=er(n),e=t[0],i=t[1],a=new Mr(Dr(n,e,i)),o=0,u=i>0?e-4:e,c;for(c=0;c<u;c+=4)r=g[n.charCodeAt(c)]<<18|g[n.charCodeAt(c+1)]<<12|g[n.charCodeAt(c+2)]<<6|g[n.charCodeAt(c+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=g[n.charCodeAt(c)]<<2|g[n.charCodeAt(c+1)]>>4,a[o++]=r&255),i===1&&(r=g[n.charCodeAt(c)]<<10|g[n.charCodeAt(c+1)]<<4|g[n.charCodeAt(c+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function _r(n){return E[n>>18&63]+E[n>>12&63]+E[n>>6&63]+E[n&63]}function Nr(n,r,t){for(var e,i=[],a=r;a<t;a+=3)e=(n[a]<<16&16711680)+(n[a+1]<<8&65280)+(n[a+2]&255),i.push(_r(e));return i.join("")}function Gr(n){for(var r,t=n.length,e=t%3,i=[],a=16383,o=0,u=t-e;o<u;o+=a)i.push(Nr(n,o,o+a>u?u:o+a));return e===1?(r=n[t-1],i.push(E[r>>2]+E[r<<4&63]+"==")):e===2&&(r=(n[t-2]<<8)+n[t-1],i.push(E[r>>10]+E[r>>4&63]+E[r<<2&63]+"=")),i.join("")}});var ar=_(q=>{w();q.read=function(n,r,t,e,i){var a,o,u=i*8-e-1,c=(1<<u)-1,f=c>>1,h=-7,p=t?i-1:0,T=t?-1:1,x=n[r+p];for(p+=T,a=x&(1<<-h)-1,x>>=-h,h+=u;h>0;a=a*256+n[r+p],p+=T,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=e;h>0;o=o*256+n[r+p],p+=T,h-=8);if(a===0)a=1-f;else{if(a===c)return o?NaN:(x?-1:1)*(1/0);o=o+Math.pow(2,e),a=a-f}return(x?-1:1)*o*Math.pow(2,a-e)};q.write=function(n,r,t,e,i,a){var o,u,c,f=a*8-i-1,h=(1<<f)-1,p=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=e?0:a-1,b=e?1:-1,Br=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=h):(o=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?r+=T/c:r+=T*Math.pow(2,1-p),r*c>=2&&(o++,c/=2),o+p>=h?(u=0,o=h):o+p>=1?(u=(r*c-1)*Math.pow(2,i),o=o+p):(u=r*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;n[t+x]=u&255,x+=b,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;n[t+x]=o&255,x+=b,o/=256,f-=8);n[t+x-b]|=Br*128}});var Tr=_(M=>{"use strict";w();var X=ir(),R=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=s;M.SlowBuffer=qr;M.INSPECT_MAX_BYTES=50;var P=2147483647;M.kMaxLength=P;s.TYPED_ARRAY_SUPPORT=Pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Pr(){try{var n=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(n,r),n.foo()===42}catch(t){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(n){if(n>P)throw new RangeError('The value "'+n+'" is invalid for option "size"');var r=new Uint8Array(n);return Object.setPrototypeOf(r,s.prototype),r}function s(n,r,t){if(typeof n=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return V(n)}return cr(n,r,t)}s.poolSize=8192;function cr(n,r,t){if(typeof n=="string")return Hr(n,r);if(ArrayBuffer.isView(n))return Or(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(d(n,ArrayBuffer)||n&&d(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(d(n,SharedArrayBuffer)||n&&d(n.buffer,SharedArrayBuffer)))return z(n,r,t);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var e=n.valueOf&&n.valueOf();if(e!=null&&e!==n)return s.from(e,r,t);var i=Yr(n);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return s.from(n[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}s.from=function(n,r,t){return cr(n,r,t)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function pr(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function Wr(n,r,t){return pr(n),n<=0?B(n):r!==void 0?typeof t=="string"?B(n).fill(r,t):B(n).fill(r):B(n)}s.alloc=function(n,r,t){return Wr(n,r,t)};function V(n){return pr(n),B(n<0?0:K(n)|0)}s.allocUnsafe=function(n){return V(n)};s.allocUnsafeSlow=function(n){return V(n)};function Hr(n,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=fr(n,r)|0,e=B(t),i=e.write(n,r);return i!==t&&(e=e.slice(0,i)),e}function J(n){for(var r=n.length<0?0:K(n.length)|0,t=B(r),e=0;e<r;e+=1)t[e]=n[e]&255;return t}function Or(n){if(d(n,Uint8Array)){var r=new Uint8Array(n);return z(r.buffer,r.byteOffset,r.byteLength)}return J(n)}function z(n,r,t){if(r<0||n.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var e;return r===void 0&&t===void 0?e=new Uint8Array(n):t===void 0?e=new Uint8Array(n,r):e=new Uint8Array(n,r,t),Object.setPrototypeOf(e,s.prototype),e}function Yr(n){if(s.isBuffer(n)){var r=K(n.length)|0,t=B(r);return t.length===0||n.copy(t,0,0,r),t}if(n.length!==void 0)return typeof n.length!="number"||Z(n.length)?B(0):J(n);if(n.type==="Buffer"&&Array.isArray(n.data))return J(n.data)}function K(n){if(n>=P)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P.toString(16)+" bytes");return n|0}function qr(n){return+n!=n&&(n=0),s.alloc(+n)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,t){if(d(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),d(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(r)||!s.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var e=r.length,i=t.length,a=0,o=Math.min(e,i);a<o;++a)if(r[a]!==t[a]){e=r[a],i=t[a];break}return e<i?-1:i<e?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,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var e;if(t===void 0)for(t=0,e=0;e<r.length;++e)t+=r[e].length;var i=s.allocUnsafe(t),a=0;for(e=0;e<r.length;++e){var o=r[e];if(d(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function fr(n,r){if(s.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||d(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var t=n.length,e=arguments.length>2&&arguments[2]===!0;if(!e&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Q(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return gr(n).length;default:if(i)return e?-1:Q(n).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=fr;function Xr(n,r,t){var e=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(n||(n="utf8");;)switch(n){case"hex":return tt(this,r,t);case"utf8":case"utf-8":return lr(this,r,t);case"ascii":return jr(this,r,t);case"latin1":case"binary":return rt(this,r,t);case"base64":return Zr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nt(this,r,t);default:if(e)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),e=!0}}s.prototype._isBuffer=!0;function U(n,r,t){var e=n[r];n[r]=n[t],n[t]=e}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 t=0;t<r;t+=2)U(this,t,t+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 t=0;t<r;t+=4)U(this,t,t+3),U(this,t+1,t+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 t=0;t<r;t+=8)U(this,t,t+7),U(this,t+1,t+6),U(this,t+2,t+5),U(this,t+3,t+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(this,0,r):Xr.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="",t=M.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,t,e,i,a){if(d(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(t===void 0&&(t=0),e===void 0&&(e=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),t<0||e>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=e)return 0;if(i>=a)return-1;if(t>=e)return 1;if(t>>>=0,e>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=e-t,c=Math.min(o,u),f=this.slice(i,a),h=r.slice(t,e),p=0;p<c;++p)if(f[p]!==h[p]){o=f[p],u=h[p];break}return o<u?-1:u<o?1:0};function hr(n,r,t,e,i){if(n.length===0)return-1;if(typeof t=="string"?(e=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Z(t)&&(t=i?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(i)return-1;t=n.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=s.from(r,e)),s.isBuffer(r))return r.length===0?-1:sr(n,r,t,e,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(n,r,t):Uint8Array.prototype.lastIndexOf.call(n,r,t):sr(n,[r],t,e,i);throw new TypeError("val must be string, number or Buffer")}function sr(n,r,t,e,i){var a=1,o=n.length,u=r.length;if(e!==void 0&&(e=String(e).toLowerCase(),e==="ucs2"||e==="ucs-2"||e==="utf16le"||e==="utf-16le")){if(n.length<2||r.length<2)return-1;a=2,o/=2,u/=2,t/=2}function c(x,b){return a===1?x[b]:x.readUInt16BE(b*a)}var f;if(i){var h=-1;for(f=t;f<o;f++)if(c(n,f)===c(r,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===u)return h*a}else h!==-1&&(f-=f-h),h=-1}else for(t+u>o&&(t=o-u),f=t;f>=0;f--){for(var p=!0,T=0;T<u;T++)if(c(n,f+T)!==c(r,T)){p=!1;break}if(p)return f}return-1}s.prototype.includes=function(r,t,e){return this.indexOf(r,t,e)!==-1};s.prototype.indexOf=function(r,t,e){return hr(this,r,t,e,!0)};s.prototype.lastIndexOf=function(r,t,e){return hr(this,r,t,e,!1)};function Jr(n,r,t,e){t=Number(t)||0;var i=n.length-t;e?(e=Number(e),e>i&&(e=i)):e=i;var a=r.length;e>a/2&&(e=a/2);for(var o=0;o<e;++o){var u=parseInt(r.substr(o*2,2),16);if(Z(u))return o;n[t+o]=u}return o}function zr(n,r,t,e){return W(Q(r,n.length-t),n,t,e)}function Qr(n,r,t,e){return W(at(r),n,t,e)}function Vr(n,r,t,e){return W(gr(r),n,t,e)}function Kr(n,r,t,e){return W(ot(r,n.length-t),n,t,e)}s.prototype.write=function(r,t,e,i){if(t===void 0)i="utf8",e=this.length,t=0;else if(e===void 0&&typeof t=="string")i=t,e=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(e)?(e=e>>>0,i===void 0&&(i="utf8")):(i=e,e=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-t;if((e===void 0||e>a)&&(e=a),r.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Jr(this,r,t,e);case"utf8":case"utf-8":return zr(this,r,t,e);case"ascii":case"latin1":case"binary":return Qr(this,r,t,e);case"base64":return Vr(this,r,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(this,r,t,e);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(n,r,t){return r===0&&t===n.length?X.fromByteArray(n):X.fromByteArray(n.slice(r,t))}function lr(n,r,t){t=Math.min(n.length,t);for(var e=[],i=r;i<t;){var a=n[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=t){var c,f,h,p;switch(u){case 1:a<128&&(o=a);break;case 2:c=n[i+1],(c&192)===128&&(p=(a&31)<<6|c&63,p>127&&(o=p));break;case 3:c=n[i+1],f=n[i+2],(c&192)===128&&(f&192)===128&&(p=(a&15)<<12|(c&63)<<6|f&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:c=n[i+1],f=n[i+2],h=n[i+3],(c&192)===128&&(f&192)===128&&(h&192)===128&&(p=(a&15)<<18|(c&63)<<12|(f&63)<<6|h&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,e.push(o>>>10&1023|55296),o=56320|o&1023),e.push(o),i+=u}return $r(e)}var ur=4096;function $r(n){var r=n.length;if(r<=ur)return String.fromCharCode.apply(String,n);for(var t="",e=0;e<r;)t+=String.fromCharCode.apply(String,n.slice(e,e+=ur));return t}function jr(n,r,t){var e="";t=Math.min(n.length,t);for(var i=r;i<t;++i)e+=String.fromCharCode(n[i]&127);return e}function rt(n,r,t){var e="";t=Math.min(n.length,t);for(var i=r;i<t;++i)e+=String.fromCharCode(n[i]);return e}function tt(n,r,t){var e=n.length;(!r||r<0)&&(r=0),(!t||t<0||t>e)&&(t=e);for(var i="",a=r;a<t;++a)i+=st[n[a]];return i}function nt(n,r,t){for(var e=n.slice(r,t),i="",a=0;a<e.length-1;a+=2)i+=String.fromCharCode(e[a]+e[a+1]*256);return i}s.prototype.slice=function(r,t){var e=this.length;r=~~r,t=t===void 0?e:~~t,r<0?(r+=e,r<0&&(r=0)):r>e&&(r=e),t<0?(t+=e,t<0&&(t=0)):t>e&&(t=e),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,s.prototype),i};function y(n,r,t){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+r>t)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=this[r],a=1,o=0;++o<t&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=this[r+--t],a=1;t>0&&(a*=256);)i+=this[r+--t]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(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,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=this[r],a=1,o=0;++o<t&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i};s.prototype.readIntBE=function(r,t,e){r=r>>>0,t=t>>>0,e||y(r,t,this.length);for(var i=t,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o};s.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var e=this[r]|this[r+1]<<8;return e&32768?e|4294901760:e};s.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var e=this[r+1]|this[r]<<8;return e&32768?e|4294901760:e};s.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),R.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),R.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),R.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),R.read(this,r,!1,52,8)};function m(n,r,t,e,i,a){if(!s.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(t+e>n.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,t,e,i){if(r=+r,t=t>>>0,e=e>>>0,!i){var a=Math.pow(2,8*e)-1;m(this,r,t,e,a,0)}var o=1,u=0;for(this[t]=r&255;++u<e&&(o*=256);)this[t+u]=r/o&255;return t+e};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,t,e,i){if(r=+r,t=t>>>0,e=e>>>0,!i){var a=Math.pow(2,8*e)-1;m(this,r,t,e,a,0)}var o=e-1,u=1;for(this[t+o]=r&255;--o>=0&&(u*=256);)this[t+o]=r/u&255;return t+e};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,1,255,0),this[t]=r&255,t+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};s.prototype.writeIntLE=function(r,t,e,i){if(r=+r,t=t>>>0,!i){var a=Math.pow(2,8*e-1);m(this,r,t,e,a-1,-a)}var o=0,u=1,c=0;for(this[t]=r&255;++o<e&&(u*=256);)r<0&&c===0&&this[t+o-1]!==0&&(c=1),this[t+o]=(r/u>>0)-c&255;return t+e};s.prototype.writeIntBE=function(r,t,e,i){if(r=+r,t=t>>>0,!i){var a=Math.pow(2,8*e-1);m(this,r,t,e,a-1,-a)}var o=e-1,u=1,c=0;for(this[t+o]=r&255;--o>=0&&(u*=256);)r<0&&c===0&&this[t+o+1]!==0&&(c=1),this[t+o]=(r/u>>0)-c&255;return t+e};s.prototype.writeInt8=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};s.prototype.writeInt16LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};s.prototype.writeInt16BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};s.prototype.writeInt32LE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};s.prototype.writeInt32BE=function(r,t,e){return r=+r,t=t>>>0,e||m(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function yr(n,r,t,e,i,a){if(t+e>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function mr(n,r,t,e,i){return r=+r,t=t>>>0,i||yr(n,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(n,r,t,e,23,4),t+4}s.prototype.writeFloatLE=function(r,t,e){return mr(this,r,t,!0,e)};s.prototype.writeFloatBE=function(r,t,e){return mr(this,r,t,!1,e)};function xr(n,r,t,e,i){return r=+r,t=t>>>0,i||yr(n,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(n,r,t,e,52,8),t+8}s.prototype.writeDoubleLE=function(r,t,e){return xr(this,r,t,!0,e)};s.prototype.writeDoubleBE=function(r,t,e){return xr(this,r,t,!1,e)};s.prototype.copy=function(r,t,e,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(e||(e=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<e&&(i=e),i===e||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=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-t<i-e&&(i=r.length-t+e);var a=i-e;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,e,i):Uint8Array.prototype.set.call(r,this.subarray(e,i),t),a};s.prototype.fill=function(r,t,e,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,e=this.length):typeof e=="string"&&(i=e,e=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<e)throw new RangeError("Out of range index");if(e<=t)return this;t=t>>>0,e=e===void 0?this.length:e>>>0,r||(r=0);var o;if(typeof r=="number")for(o=t;o<e;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<e-t;++o)this[o+t]=u[o%c]}return this};var et=/[^+/0-9A-Za-z-_]/g;function it(n){if(n=n.split("=")[0],n=n.trim().replace(et,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function Q(n,r){r=r||1/0;for(var t,e=n.length,i=null,a=[],o=0;o<e;++o){if(t=n.charCodeAt(o),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===e){(r-=3)>-1&&a.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&a.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;a.push(t)}else if(t<2048){if((r-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function at(n){for(var r=[],t=0;t<n.length;++t)r.push(n.charCodeAt(t)&255);return r}function ot(n,r){for(var t,e,i,a=[],o=0;o<n.length&&!((r-=2)<0);++o)t=n.charCodeAt(o),e=t>>8,i=t%256,a.push(i),a.push(e);return a}function gr(n){return X.toByteArray(it(n))}function W(n,r,t,e){for(var i=0;i<e&&!(i+t>=r.length||i>=n.length);++i)r[i+t]=n[i];return i}function d(n,r){return n instanceof r||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===r.name}function Z(n){return n!==n}var st=function(){for(var n="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var e=t*16,i=0;i<16;++i)r[e+i]=n[t]+n[i];return r}()});var Fr=_((mt,vr)=>{w();var l=vr.exports={},v,F;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?v=setTimeout:v=$}catch(n){v=$}try{typeof clearTimeout=="function"?F=clearTimeout:F=j}catch(n){F=j}})();function wr(n){if(v===setTimeout)return setTimeout(n,0);if((v===$||!v)&&setTimeout)return v=setTimeout,setTimeout(n,0);try{return v(n,0)}catch(r){try{return v.call(null,n,0)}catch(t){return v.call(this,n,0)}}}function ut(n){if(F===clearTimeout)return clearTimeout(n);if((F===j||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(n);try{return F(n)}catch(r){try{return F.call(null,n)}catch(t){return F.call(this,n)}}}var I=[],k=!1,C,H=-1;function ct(){!k||!C||(k=!1,C.length?I=C.concat(I):H=-1,I.length&&Er())}function Er(){if(!k){var n=wr(ct);k=!0;for(var r=I.length;r;){for(C=I,I=[];++H<r;)C&&C[H].run();H=-1,r=I.length}C=null,k=!1,ut(n)}}l.nextTick=function(n){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];I.push(new dr(n,r)),I.length===1&&!k&&wr(Er)};function dr(n,r){this.fun=n,this.array=r}dr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function A(){}l.on=A;l.addListener=A;l.once=A;l.off=A;l.removeListener=A;l.removeAllListeners=A;l.emit=A;l.prependListener=A;l.prependOnceListener=A;l.listeners=function(n){return[]};l.binding=function(n){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(n){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var D,L,xt,w=br(()=>{D=tr(Tr()),L=tr(Fr()),xt=function(n){function r(){var e=this||self;return delete n.prototype.__magic__,e}if(typeof globalThis=="object")return globalThis;if(this)return r();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var pt={};module.exports=Rr(pt);w();
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var zo=Object.create;var me=Object.defineProperty,Ko=Object.defineProperties,Yo=Object.getOwnPropertyDescriptor,Xo=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertyNames,Ee=Object.getOwnPropertySymbols,Qo=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable;var ur=(e,t,r)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))gt.call(t,r)&&ur(e,r,t[r]);if(Ee)for(var r of Ee(t))dr.call(t,r)&&ur(e,r,t[r]);return e},A=(e,t)=>Ko(e,Xo(t));var mr=(e,t)=>{var r={};for(var o in e)gt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ee)for(var o of Ee(e))t.indexOf(o)<0&&dr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q=(e,t)=>{for(var r in t)me(e,r,{get:t[r],enumerable:!0})},gr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zo(t))!gt.call(e,i)&&i!==r&&me(e,i,{get:()=>t[i],enumerable:!(o=Yo(t,i))||o.enumerable});return e};var v=(e,t,r)=>(r=e!=null?zo(Qo(e)):{},gr(t||!e||!e.__esModule?me(r,"default",{value:e,enumerable:!0}):r,e)),ge=e=>gr(me({},"__esModule",{value:!0}),e);var yr=ke(Le=>{"use strict";n();Le.byteLength=ei;Le.toByteArray=ri;Le.fromByteArray=ii;var M=[],P=[],Jo=typeof Uint8Array!="undefined"?Uint8Array:Array,ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(J=0,fr=ft.length;J<fr;++J)M[J]=ft[J],P[ft.charCodeAt(J)]=J;var J,fr;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function Tr(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 o=r===t?0:4-r%4;return[r,o]}function ei(e){var t=Tr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ti(e,t,r){return(t+r)*3/4-r}function ri(e){var t,r=Tr(e),o=r[0],i=r[1],p=new Jo(ti(e,o,i)),l=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=P[e.charCodeAt(d)]<<18|P[e.charCodeAt(d+1)]<<12|P[e.charCodeAt(d+2)]<<6|P[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=P[e.charCodeAt(d)]<<2|P[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=P[e.charCodeAt(d)]<<10|P[e.charCodeAt(d+1)]<<4|P[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function ni(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function oi(e,t,r){for(var o,i=[],p=t;p<r;p+=3)o=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(ni(o));return i.join("")}function ii(e){for(var t,r=e.length,o=r%3,i=[],p=16383,l=0,m=r-o;l<m;l+=p)i.push(oi(e,l,l+p>m?m:l+p));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var hr=ke(Tt=>{n();Tt.read=function(e,t,r,o,i){var p,l,m=i*8-o-1,d=(1<<m)-1,T=d>>1,h=-7,y=r?i-1:0,E=r?-1:1,k=e[t+y];for(y+=E,p=k&(1<<-h)-1,k>>=-h,h+=m;h>0;p=p*256+e[t+y],y+=E,h-=8);for(l=p&(1<<-h)-1,p>>=-h,h+=o;h>0;l=l*256+e[t+y],y+=E,h-=8);if(p===0)p=1-T;else{if(p===d)return l?NaN:(k?-1:1)*(1/0);l=l+Math.pow(2,o),p=p-T}return(k?-1:1)*l*Math.pow(2,p-o)};Tt.write=function(e,t,r,o,i,p){var l,m,d,T=p*8-i-1,h=(1<<T)-1,y=h>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:p-1,Y=o?1:-1,W=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+y>=1?t+=E/d:t+=E*Math.pow(2,1-y),t*d>=2&&(l++,d/=2),l+y>=h?(m=0,l=h):l+y>=1?(m=(t*d-1)*Math.pow(2,i),l=l+y):(m=t*Math.pow(2,y-1)*Math.pow(2,i),l=0));i>=8;e[r+k]=m&255,k+=Y,m/=256,i-=8);for(l=l<<i|m,T+=i;T>0;e[r+k]=l&255,k+=Y,l/=256,T-=8);e[r+k-Y]|=W*128}});var Pr=ke(ae=>{"use strict";n();var yt=yr(),ie=hr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ae.Buffer=u;ae.SlowBuffer=ui;ae.INSPECT_MAX_BYTES=50;var De=2147483647;ae.kMaxLength=De;u.TYPED_ARRAY_SUPPORT=ai();!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 ai(){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 H(e){if(e>De)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 wt(e)}return vr(e,t,r)}u.poolSize=8192;function vr(e,t,r){if(typeof e=="string")return ci(e,t);if(ArrayBuffer.isView(e))return li(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(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return xt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=pi(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 vr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function br(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 si(e,t,r){return br(e),e<=0?H(e):t!==void 0?typeof r=="string"?H(e).fill(t,r):H(e).fill(t):H(e)}u.alloc=function(e,t,r){return si(e,t,r)};function wt(e){return br(e),H(e<0?0:vt(e)|0)}u.allocUnsafe=function(e){return wt(e)};u.allocUnsafeSlow=function(e){return wt(e)};function ci(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Ar(e,t)|0,o=H(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function ht(e){for(var t=e.length<0?0:vt(e.length)|0,r=H(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function li(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return xt(t.buffer,t.byteOffset,t.byteLength)}return ht(e)}function xt(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 o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function pi(e){if(u.isBuffer(e)){var t=vt(e.length)|0,r=H(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||bt(e.length)?H(0):ht(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ht(e.data)}function vt(e){if(e>=De)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+De.toString(16)+" bytes");return e|0}function ui(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(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(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 o=t.length,i=r.length,p=0,l=Math.min(o,i);p<l;++p)if(t[p]!==r[p]){o=t[p],i=r[p];break}return o<i?-1:i<o?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 o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),p=0;for(o=0;o<t.length;++o){var l=t[o];if(F(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function Ar(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(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,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return St(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Nr(e).length;default:if(i)return o?-1:St(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Ar;function di(e,t,r){var o=!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 vi(this,t,r);case"utf8":case"utf-8":return Er(this,t,r);case"ascii":return Si(this,t,r);case"latin1":case"binary":return wi(this,t,r);case"base64":return hi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ee(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Er(this,0,t):di.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=ae.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};xr&&(u.prototype[xr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,p){if(F(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),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||o>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=o)return 0;if(i>=p)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,m=o-r,d=Math.min(l,m),T=this.slice(i,p),h=t.slice(r,o),y=0;y<d;++y)if(T[y]!==h[y]){l=T[y],m=h[y];break}return l<m?-1:m<l?1:0};function Ir(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,bt(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,o)),u.isBuffer(t))return t.length===0?-1:Sr(e,t,r,o,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):Sr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Sr(e,t,r,o,i){var p=1,l=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,m/=2,r/=2}function d(k,Y){return p===1?k[Y]:k.readUInt16BE(Y*p)}var T;if(i){var h=-1;for(T=r;T<l;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===m)return h*p}else h!==-1&&(T-=T-h),h=-1}else for(r+m>l&&(r=l-m),T=r;T>=0;T--){for(var y=!0,E=0;E<m;E++)if(d(e,T+E)!==d(t,E)){y=!1;break}if(y)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Ir(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Ir(this,t,r,o,!1)};function mi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var p=t.length;o>p/2&&(o=p/2);for(var l=0;l<o;++l){var m=parseInt(t.substr(l*2,2),16);if(bt(m))return l;e[r+l]=m}return l}function gi(e,t,r,o){return Ne(St(t,e.length-r),e,r,o)}function fi(e,t,r,o){return Ne(Ei(t),e,r,o)}function Ti(e,t,r,o){return Ne(Nr(t),e,r,o)}function yi(e,t,r,o){return Ne(ki(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((o===void 0||o>p)&&(o=p),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return mi(this,t,r,o);case"utf8":case"utf-8":return gi(this,t,r,o);case"ascii":case"latin1":case"binary":return fi(this,t,r,o);case"base64":return Ti(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yi(this,t,r,o);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function hi(e,t,r){return t===0&&r===e.length?yt.fromByteArray(e):yt.fromByteArray(e.slice(t,r))}function Er(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var p=e[i],l=null,m=p>239?4:p>223?3:p>191?2:1;if(i+m<=r){var d,T,h,y;switch(m){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(y=(p&31)<<6|d&63,y>127&&(l=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(p&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(l=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=(p&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(l=y))}}l===null?(l=65533,m=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|l&1023),o.push(l),i+=m}return xi(o)}var wr=4096;function xi(e){var t=e.length;if(t<=wr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=wr));return r}function Si(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function wi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function vi(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",p=t;p<r;++p)i+=Li[e[p]];return i}function bi(e,t,r){for(var o=e.slice(t,r),i="",p=0;p<o.length-1;p+=2)i+=String.fromCharCode(o[p]+o[p+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),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,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;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,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};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 o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||I(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};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),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ie.read(this,t,!1,52,8)};function L(e,t,r,o,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=1,m=0;for(this[r]=t&255;++m<o&&(l*=256);)this[r+m]=t/l&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=o-1,m=1;for(this[r+l]=t&255;--l>=0&&(m*=256);)this[r+l]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=0,m=1,d=0;for(this[r]=t&255;++l<o&&(m*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=o-1,m=1,d=0;for(this[r+l]=t&255;--l>=0&&(m*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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 kr(e,t,r,o,i,p){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Lr(e,t,r,o,i){return t=+t,r=r>>>0,i||kr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Lr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Lr(this,t,r,!1,o)};function Dr(e,t,r,o,i){return t=+t,r=r>>>0,i||kr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Dr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Dr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=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-o&&(i=t.length-r+o);var p=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),p};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=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 p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<o;++l)this[l]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<o-r;++l)this[l+r]=m[l%d]}return this};var Ai=/[^+/0-9A-Za-z-_]/g;function Ii(e){if(e=e.split("=")[0],e=e.trim().replace(Ai,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function St(e,t){t=t||1/0;for(var r,o=e.length,i=null,p=[],l=0;l<o;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===o){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function Ei(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ki(e,t){for(var r,o,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),o=r>>8,i=r%256,p.push(i),p.push(o);return p}function Nr(e){return yt.toByteArray(Ii(e))}function Ne(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function bt(e){return e!==e}var Li=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Mr=ke((gs,Or)=>{n();var S=Or.exports={},B,U;function At(){throw new Error("setTimeout has not been defined")}function It(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=At}catch(e){B=At}try{typeof clearTimeout=="function"?U=clearTimeout:U=It}catch(e){U=It}})();function Rr(e){if(B===setTimeout)return setTimeout(e,0);if((B===At||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Di(e){if(U===clearTimeout)return clearTimeout(e);if((U===It||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var q=[],se=!1,te,Pe=-1;function Ni(){!se||!te||(se=!1,te.length?q=te.concat(q):Pe=-1,q.length&&Cr())}function Cr(){if(!se){var e=Rr(Ni);se=!0;for(var t=q.length;t;){for(te=q,q=[];++Pe<t;)te&&te[Pe].run();Pe=-1,t=q.length}te=null,se=!1,Di(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];q.push(new _r(e,t)),q.length===1&&!se&&Rr(Cr)};function _r(e,t){this.fun=e,this.array=t}_r.prototype.run=function(){this.fun.apply(null,this.array)};S.title="browser";S.browser=!0;S.env={};S.argv=[];S.version="";S.versions={};function j(){}S.on=j;S.addListener=j;S.once=j;S.off=j;S.removeListener=j;S.removeAllListeners=j;S.emit=j;S.prependListener=j;S.prependOnceListener=j;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,fs,n=f(()=>{a=v(Pr()),s=v(Mr()),fs=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}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 Fr=f(()=>{"use strict";n()});var Br=f(()=>{"use strict";n()});var Ur=f(()=>{"use strict";n()});var Vr=f(()=>{"use strict";n()});var _=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var Gr=f(()=>{"use strict";n()});var D=f(()=>{"use strict";n()});var Wr=f(()=>{"use strict";n()});var Hr=f(()=>{"use strict";n()});var qr=f(()=>{"use strict";n()});var R=f(()=>{"use strict";n();Br();Ur();Vr();_();$r();Gr();D();Wr();Hr();qr()});var Et,jr,Os,zr,Ms,Kr,Fs,Bs,Us,Yr=f(()=>{"use strict";n();R();Et={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:jr,egldLabel:Os}=Et["devnet"],{chainId:zr,egldLabel:Ms}=Et["testnet"],{chainId:Kr,egldLabel:Fs}=Et["mainnet"],Bs={["devnet"]:jr,["testnet"]:zr,["mainnet"]:Kr},Us={[jr]:"devnet",[zr]:"testnet",[Kr]:"mainnet"}});var kt=f(()=>{"use strict";n()});var Xr=f(()=>{"use strict";n()});var Zr,Lt=f(()=>{"use strict";n();Zr="transaction-status-toast-id"});var V,Qr=f(()=>{"use strict";n();V=require("@multiversx/sdk-web-wallet-provider")});var Jr=f(()=>{"use strict";n()});var Dt,Nt,en,Re,tn,ce,w=f(()=>{"use strict";n();Fr();Yr();kt();Xr();Lt();Qr();Jr();Dt=5e4,Nt=1e9,en=1,Re="logout",tn="login",ce="0"});var Ce,_t=f(()=>{"use strict";n();Ce=()=>Date.now()/1e3});var ln=f(()=>{"use strict";n()});var pn=f(()=>{"use strict";n()});var un=f(()=>{"use strict";n();_t();ln();pn()});var Mt={};Q(Mt,{getItem:()=>Ci,localStorageKeys:()=>re,removeItem:()=>_i,setItem:()=>Ri});var re,Ot,Ri,Ci,_i,Te=f(()=>{"use strict";n();un();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ot=typeof localStorage!="undefined",Ri=({key:e,data:t,expires:r})=>{!Ot||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ci=e=>{if(!Ot)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:Ce()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},_i=e=>{!Ot||localStorage.removeItem(String(e))}});var Ft={};Q(Ft,{clear:()=>fn,getItem:()=>mn,removeItem:()=>gn,setItem:()=>dn,storage:()=>Oi});var dn,mn,gn,fn,Oi,Tn=f(()=>{"use strict";n();dn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},mn=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},gn=e=>sessionStorage.removeItem(String(e)),fn=()=>sessionStorage.clear(),Oi={setItem:dn,getItem:mn,removeItem:gn,clear:fn}});var pe,_e=f(()=>{"use strict";n();Te();Tn();pe={session:Ft,local:Mt}});var Bt,b,Oe,O=f(()=>{"use strict";n();Bt=require("@reduxjs/toolkit");w();b=(0,Bt.createAction)(Re),Oe=(0,Bt.createAction)(tn,e=>({payload:e}))});var Vt,yn,hn,Me,Ut,xn,Sn,Rc,wn,Cc,_c,Oc,Mc,Fc,Bc,Uc,Vc,Fe,Be=f(()=>{"use strict";n();Vt=require("@multiversx/sdk-core"),yn=require("@reduxjs/toolkit"),hn=require("redux-persist");w();_e();Te();O();Me={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ce},Ut={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Me},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},xn=(0,yn.createSlice)({name:"accountInfoSlice",initialState:Ut,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Vt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Me},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}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(b,()=>(pe.local.removeItem(re.loginExpiresAt),Ut)),e.addCase(Oe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Vt.Address(o).hex()}),e.addCase(hn.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:p,accounts:l,publicKey:m}=o;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:Ut.accounts,t.publicKey=m})}}),{setAccount:Sn,setAddress:Rc,setAccountNonce:wn,setAccountShard:Cc,setLedgerAccount:_c,updateLedgerAccount:Oc,setWalletConnectAccount:Mc,setIsAccountLoading:Fc,setAccountLoadingError:Bc,setWebsocketEvent:Uc,setWebsocketBatchEvent:Vc}=xn.actions,Fe=xn.reducer});function ye(){return new Date().setHours(new Date().getHours()+24)}function he(e){pe.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var $t=f(()=>{"use strict";n();_e();Te()});var bn,vn,An,Xc,Zc,Qc,Jc,el,tl,In,rl,Ue,Ve=f(()=>{"use strict";n();bn=require("@reduxjs/toolkit");$t();_();O();vn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},An=(0,bn.createSlice)({name:"loginInfoSlice",initialState:vn,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(b,()=>vn),e.addCase(Oe,(t,r)=>{t.loginMethod=r.payload.loginMethod,he(ye())})}}),{setLoginMethod:Xc,setWalletConnectLogin:Zc,setLedgerLogin:Qc,setTokenLogin:Jc,setTokenLoginSignature:el,setWalletLogin:tl,invalidateLoginSession:In,setLogoutRoute:rl}=An.actions,Ue=An.reducer});var kn,En,Ln,al,sl,cl,ll,$e,Ge=f(()=>{"use strict";n();kn=require("@reduxjs/toolkit");O();En={},Ln=(0,kn.createSlice)({name:"modalsSlice",initialState:En,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(b,()=>En)}}),{setTxSubmittedModal:al,setNotificationModal:sl,clearTxSubmittedModal:cl,clearNotificationModal:ll}=Ln.actions,$e=Ln.reducer});var Dn=f(()=>{"use strict";n()});var Nn=f(()=>{"use strict";n();Dn()});function Gt(e){return e[Math.floor(Math.random()*e.length)]}var Pn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n();kt()});var Cn=f(()=>{"use strict";n();Nn();Pn();Rn()});var _n,On,Wt,Mi,Mn,Il,El,We,He=f(()=>{"use strict";n();_n=require("@reduxjs/toolkit"),On=v(require("lodash.omit"));Cn();Wt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Mi={network:Wt,chainID:"-1"},Mn=(0,_n.createSlice)({name:"appConfig",initialState:Mi,reducers:{initializeNetworkConfig:(e,t)=>{let r=Gt(t.payload.walletConnectBridgeAddresses),o=Gt(t.payload.walletConnectV2RelayAddresses),i=(0,On.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Il,setChainID:El}=Mn.actions,We=Mn.reducer});var Fn,Ht,Bn,Rl,Cl,_l,qe,je=f(()=>{"use strict";n();Fn=require("@reduxjs/toolkit");R();O();Ht={isSigning:!1,signedSessions:{}},Bn=(0,Fn.createSlice)({name:"signedMessageInfoSliceState",initialState:Ht,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=o},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>Ht},extraReducers:e=>{e.addCase(b,()=>Ht)}}),{setSignSession:Rl,clearSignedMessageInfo:Cl,setSignSessionState:_l}=Bn.actions,qe=Bn.reducer});var Vn,$n,Un,Gn,Gl,Wl,Hl,ql,jl,zl,ze,Ke=f(()=>{"use strict";n();Vn=require("@reduxjs/toolkit"),$n=require("redux-persist");Lt();R();_t();O();Un={customToasts:[],transactionToasts:[],failTransactionToast:null},Gn=(0,Vn.createSlice)({name:"toastsSlice",initialState:Un,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(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:Ce(),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=A(x({},t.payload),{toastId:Zr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(b,()=>Un),e.addCase($n.REHYDRATE,(t,r)=>{var i,p;let o=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=o})}}),{addCustomToast:Gl,removeCustomToast:Wl,addTransactionToast:Hl,removeTransactionToast:ql,addFailTransactionToast:jl,removeFailTransactionToast:zl}=Gn.actions,ze=Gn.reducer});var Wn,jt,zt,Kt,Fi,qt,Hn,Zl,Ql,Jl,Ye,Xe=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");O();jt="Transaction failed",zt="Transaction successful",Kt="Processing transaction",Fi="Transaction submitted",qt={},Hn=(0,Wn.createSlice)({name:"transactionsInfo",initialState:qt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||jt,successMessage:(o==null?void 0:o.successMessage)||zt,processingMessage:(o==null?void 0:o.processingMessage)||Kt,submittedMessage:(o==null?void 0:o.submittedMessage)||Fi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>qt},extraReducers:e=>{e.addCase(b,()=>qt)}}),{clearTransactionsInfo:Zl,setTransactionsDisplayInfo:Ql,clearTransactionsInfoForSessionId:Jl}=Hn.actions,Ye=Hn.reducer});function qn(e){return e!=null&&(ji(e)||Xi(e))}function Ze(e){return e!=null&&(zi(e)||Zi(e))}function Qe(e){return e!=null&&(Ki(e)||Qi(e))}function jn(e){return e!=null&&Yi(e)}function ji(e){return e!=null&&Ui.includes(e)}function zi(e){return e!=null&&Vi.includes(e)}function Ki(e){return e!=null&&$i.includes(e)}function Yi(e){return e!=null&&Gi.includes(e)}function Xi(e){return e!=null&&Wi.includes(e)}function Zi(e){return e!=null&&Hi.includes(e)}function Qi(e){return e!=null&&qi.includes(e)}var Ui,Vi,$i,Gi,Wi,Hi,qi,Xt=f(()=>{"use strict";n();_();Ui=["sent"],Vi=["success"],$i=["fail","cancelled","timedOut"],Gi=["timedOut"],Wi=["pending"],Hi=["success"],qi=["fail","invalid"]});var zn,Kn,xe,Ji,Yn,cp,lp,pp,up,dp,mp,gp,fp,Tp,yp,Je,et=f(()=>{"use strict";n();zn=require("@reduxjs/toolkit"),Kn=require("redux-persist");_();Xt();O();xe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ji={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Yn=(0,zn.createSlice)({name:"transactionsSlice",initialState:xe,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:o,errorMessage:i,status:p,redirectRoute:l}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||Ji;e.signedTransactions[r]={transactions:o,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:m},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=xe.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:o,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var m,d,T,h,y,E;let{sessionId:r,status:o,errorMessage:i,transactionHash:p}=t.payload,l=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(l!=null){e.signedTransactions[r].transactions=l.map(W=>W.hash===p?A(x({},W),{status:o,errorMessage:i}):W);let k=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(W=>Ze(W.status)),Y=(E=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:E.every(W=>Qe(W.status));k&&(e.signedTransactions[r].status="success"),Y&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=xe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=xe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(b,()=>xe),e.addCase(Kn.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(o).reduce((m,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(m[d]=T),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:cp,updateSignedTransactions:lp,setTransactionsToSign:pp,clearAllTransactionsToSign:up,clearAllSignedTransactions:dp,clearSignedTransaction:mp,clearTransactionToSign:gp,setSignTransactionsError:fp,setSignTransactionsCancelMessage:Tp,moveTransactionsToSignedState:yp}=Yn.actions,Je=Yn.reducer});var Xn,Zt,Zn,wp,vp,bp,Ap,tt,rt=f(()=>{"use strict";n();Xn=require("@reduxjs/toolkit");O();Zt={},Zn=(0,Xn.createSlice)({name:"batchTransactionsSlice",initialState:Zt,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Zt},extraReducers:e=>{e.addCase(b,()=>Zt)}}),{setBatchTransactions:wp,updateBatchTransactions:vp,clearBatchTransactions:bp,clearAllBatchTransactions:Ap}=Zn.actions,tt=Zn.reducer});var Jn,Qn,eo,Lp,to,Qt=f(()=>{"use strict";n();Jn=require("@reduxjs/toolkit");O();Qn={},eo=(0,Jn.createSlice)({name:"dappConfigSlice",initialState:Qn,reducers:{setDappConfig:(e,t)=>{e=x(x({},e),t.payload)}},extraReducers:e=>{e.addCase(b,()=>Qn)}}),{setDappConfig:Lp}=eo.actions,to=eo.reducer});var ue=f(()=>{"use strict";n();Be();Ve();Ge();He();je();Ke();Xe();et();rt();Qt()});var ir=f(()=>{"use strict";n()});var go,mo,fo,fd,Td,yd,hd,xd,Sd,To,yo=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");O();mo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},fo=(0,go.createSlice)({name:"dappModalsSlice",initialState:mo,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(b,()=>mo)}}),{setDappModalVisibility:fd,setDappModalHeaderVisibility:Td,setDappModalFooterVisibility:yd,setDappModalHeaderText:hd,setDappModalFooterText:xd,setDappModalConfig:Sd}=fo.actions,To=fo.reducer});var ho,ia,aa,oe,ct=f(()=>{"use strict";n();ho=require("@reduxjs/toolkit");ir();Be();rt();Qt();yo();Ve();Ge();He();je();Ke();Xe();et();ia={["account"]:Fe,["dappModal"]:To,["dappConfig"]:to,["loginInfo"]:Ue,["modals"]:$e,["networkConfig"]:We,["signedMessageInfo"]:qe,["toasts"]:ze,["transactionsInfo"]:Ye,["transactions"]:Je,["batchTransactions"]:tt},aa=(e={})=>(0,ho.combineReducers)(x(x({},ia),e)),oe=aa});var vo={};Q(vo,{default:()=>va,sessionStorageReducers:()=>ar});function K(e,t=[]){return{key:e,version:1,storage:So.default,blacklist:t}}var N,xo,So,sa,we,ca,la,pa,ua,da,ma,ga,fa,Ta,ya,wo,ha,ar,xa,Sa,wa,va,bo=f(()=>{"use strict";n();N=require("redux-persist"),xo=v(require("redux-persist/lib/storage")),So=v(require("redux-persist/lib/storage/session"));ct();ue();Be();rt();Ve();Ge();He();je();Ke();Xe();et();ir();sa={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ca=K(we["account"]),la=K(we["loginInfo"]),pa=K(we["modals"]),ua=K(we["networkConfig"]),da={2:e=>A(x({},e),{networkConfig:Wt})};ma=K("sdk-dapp-transactionsInfo"),ga=K("sdk-dapp-transactions",["transactionsToSign"]),fa=K("sdk-dapp-batchTransactions",["batchTransactions"]),Ta=K("sdk-dapp-toasts"),ya=K("sdk-dapp-signedMessageInfo"),wo={key:"sdk-dapp-store",version:2,storage:xo.default,whitelist:Object.keys(we),migrate:(0,N.createMigrate)(da,{debug:!1})},ha=A(x({},wo),{whitelist:[]}),ar={["toasts"]:(0,N.persistReducer)(Ta,ze),["transactions"]:(0,N.persistReducer)(ga,Je),["transactionsInfo"]:(0,N.persistReducer)(ma,Ye),["batchTransactions"]:(0,N.persistReducer)(fa,tt),["signedMessageInfo"]:(0,N.persistReducer)(ya,qe)},xa=A(x({},ar),{["account"]:(0,N.persistReducer)(ca,Fe),["loginInfo"]:(0,N.persistReducer)(la,Ue),["modals"]:(0,N.persistReducer)(pa,$e),["networkConfig"]:(0,N.persistReducer)(ua,We)}),Sa=sa.persistReducersStorageType==="localStorage",wa=Sa?(0,N.persistReducer)(wo,oe(ar)):(0,N.persistReducer)(ha,oe(xa)),va=wa});var Ao={};Q(Ao,{default:()=>ba});var ba,Io=f(()=>{"use strict";n();ct();ba=oe()});var Eo={};Q(Eo,{default:()=>Ia});var C,Aa,Ia,ko=f(()=>{"use strict";n();C=require("redux-persist"),Aa=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],Ia=Aa});var No={};Q(No,{default:()=>Do});function Do(e){return(0,Lo.persistStore)(e)}var Lo,Po=f(()=>{"use strict";n();Lo=require("redux-persist")});var ls={};Q(ls,{getAddress:()=>cs});module.exports=ge(ls);n();n();n();n();var nn=require("@multiversx/sdk-extension-provider"),on=require("@multiversx/sdk-hw-provider"),an=require("@multiversx/sdk-opera-provider"),sn=require("@multiversx/sdk-web-wallet-provider");w();_();n();var Pt=le,rn=Pt;var cn=e=>{switch(e==null?void 0:e.constructor){case sn.WalletProvider:return"wallet";case Pt:return"walletconnect";case rn:return"walletconnectv2";case on.HWProvider:return"ledger";case nn.ExtensionProvider:return"extension";case an.OperaProvider:return"opera";case le:return"";default:return"extra"}};var z=e=>`Unable to perform ${e}, Provider not initialized`,le=class{init(){return Promise.resolve(!1)}login(t){throw new Error(z(`login with options: ${t}`))}logout(t){throw new Error(z(`logout with options: ${t}`))}getAddress(){throw new Error(z("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(z(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(z(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(z(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(z(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(z(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(z(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Ct=new le;var Pi=Ct;function fe(){return Pi||Ct}n();n();ue();n();var ro=v(require("lodash.isequal")),nt=require("reselect");R();var g=(0,nt.createSelectorCreator)(nt.defaultMemoize,ro.default),ot=(e,t)=>e!=""&&Boolean(t);var $=e=>e.account,Se=g($,e=>e.address),Jt=g($,Se,(e,t)=>t in e.accounts?e.accounts[t]:Me),qp=g($,Jt,(e,t)=>{let i=e,{accounts:r}=i,o=mr(i,["accounts"]);return A(x({},o),{account:t})}),jp=g(Jt,e=>e.balance),zp=g(Jt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Kp=g($,e=>e.shard),Yp=g($,e=>e.ledgerAccount),Xp=g($,e=>e.walletConnectAccount),Zp=g($,e=>e.isAccountLoading),Qp=g($,e=>e.accountLoadingError),Jp=g($,e=>e.websocketEvent),eu=g($,e=>e.websocketBatchEvent);n();var X=e=>e.loginInfo,ou=g(X,e=>e.loginMethod),no=g(X,Se,(e,t)=>ot(e.loginMethod,t)),iu=g(X,e=>e.walletConnectLogin),au=g(X,e=>e.ledgerLogin),oo=g(X,e=>e.walletLogin),su=g(X,e=>e.isLoginSessionInvalid),cu=g(X,e=>e.tokenLogin),lu=g(X,e=>e.logoutRoute);n();var io=e=>e.modals,du=g(io,e=>e.txSubmittedModal),mu=g(io,e=>e.notificationModal);n();var ne=e=>e.networkConfig,Tu=g(ne,e=>e.chainID),yu=g(ne,e=>e.network.walletConnectBridgeAddress),hu=g(ne,e=>e.network.walletConnectV2RelayAddress),xu=g(ne,e=>e.network.walletConnectV2ProjectId),Su=g(ne,e=>e.network.walletConnectV2Options),wu=g(ne,e=>e.network.walletConnectDeepLink),er=g(ne,e=>e.network),vu=g(er,e=>e.apiAddress),ao=g(er,e=>e.explorerAddress),bu=g(er,e=>e.egldLabel);n();var it=e=>e.signedMessageInfo,Eu=g(it,e=>e.isSigning),ku=g(it,e=>e.errorMessage),Lu=g(it,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Du=g(it,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var tr=e=>e.toasts,Ru=g(tr,e=>e.customToasts),Cu=g(tr,e=>e.transactionToasts),_u=g(tr,e=>e.failTransactionToast);n();ue();var so={errorMessage:jt,successMessage:zt,processingMessage:Kt},ea=e=>e.transactionsInfo,Bu=g(ea,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);n();n();var G=require("@multiversx/sdk-core"),lo=require("@multiversx/sdk-core/out/signature");w();n();var nr=require("@multiversx/sdk-core/out");n();n();function rr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var co=e=>{let t=e!=null?e:"";return rr(t)?nr.TransactionPayload.fromEncoded(t):new nr.TransactionPayload(t)};function or(e){var r,o,i;let t=new G.Transaction(x(x({value:e.value.valueOf(),data:co(e.data),nonce:e.nonce.valueOf(),receiver:new G.Address(e.receiver),sender:new G.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:Dt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:Nt,chainID:e.chainID.valueOf(),version:new G.TransactionVersion((i=e.version)!=null?i:en)},e.options?{options:new G.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new G.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),t.applySignature(new lo.Signature(e.signature)),t}n();n();n();n();var sr=require("@reduxjs/toolkit"),Oo=require("react-redux/lib/utils/Subscription");ue();n();var po=v(require("lodash.throttle"));w();ue();$t();_e();Te();var ra=[Re],at=!1,na=(0,po.default)(()=>{he(ye())},5e3),uo=e=>t=>r=>{var d;if(ra.includes(r.type))return t(r);let o=e.getState(),i=pe.local.getItem(re.loginExpiresAt);if(!ot((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return he(ye());let l=Date.now();return i-l<0&&!at?setTimeout(()=>{at=!0,e.dispatch(In())},1e3):(at&&(at=!1),na()),t(r)};n();n();function st(){return typeof sessionStorage!="undefined"}var Ro=st()?(bo(),ge(vo)).default:(Io(),ge(Ao)).default,Co=st()?(ko(),ge(Eo)).default:[],_o=st()?(Po(),ge(No)).default:e=>e;ct();var de=(0,sr.configureStore)({reducer:Ro,middleware:e=>e({serializableCheck:{ignoredActions:[...Co,wn.type,Sn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(uo)}),em=(0,Oo.createSubscription)(de),tm=_o(de),rm=(0,sr.configureStore)({reducer:oe});n();n();var ka=require("@multiversx/sdk-core/out");n();w();n();var Fo=require("@multiversx/sdk-core");R();n();var Mo=require("@multiversx/sdk-core");function La(e){try{let t=new Mo.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function ve(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&La(e)}n();n();n();var Da=require("@multiversx/sdk-core"),Na=v(require("bignumber.js"));_();n();n();n();n();n();n();n();D();n();n();D();n();n();n();var Ma=v(require("bignumber.js"));w();n();var Oa=require("@multiversx/sdk-core"),cr=v(require("bignumber.js"));w();n();var Ca=v(require("bignumber.js"));n();cr.default.config({ROUNDING_MODE:cr.default.ROUND_FLOOR});n();n();n();w();n();n();n();n();w();n();w();n();var Fa=require("@multiversx/sdk-core");w();n();var be=require("@multiversx/sdk-core"),Ua=require("@multiversx/sdk-network-providers");w();n();n();var Ba=v(require("bignumber.js"));w();n();w();n();n();n();n();n();w();n();D();var $a=["reDelegateRewards","claimRewards","unBond"],Ga=["wrapEgld","unwrapEgld"],Wa=["unStake"],Ha=["unDelegate"];n();n();n();w();n();var za=v(require("bignumber.js"));n();n();D();n();var Ka=v(require("bignumber.js"));n();n();n();var Xa=v(require("bignumber.js"));R();n();n();n();n();_();n();var Ja=require("@multiversx/sdk-web-wallet-provider");w();n();var Qa=v(require("qs"));n();n();var pr=()=>typeof window!="undefined";n();var JT={search:pr()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var es=v(require("linkifyjs"));n();w();n();var ts=v(require("bignumber.js"));n();R();n();n();_();n();_();n();n();n();D();n();D();n();var rs=v(require("bignumber.js"));w();D();n();D();n();var Ho=require("react");R();n();n();D();n();n();var ns=require("@multiversx/sdk-core/out"),os=v(require("bignumber.js"));D();n();R();n();n();R();var qh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var qo=require("react");R();n();var as=require("react");D();var Qh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Xt();var dt=e=>e.transactions,Ae=g(dt,e=>e.signedTransactions),Fx=g(dt,e=>e.signTransactionsError),Bx=g(dt,e=>e.signTransactionsCancelMessage),mt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Ux=g(Ae,mt(qn)),Vx=g(Ae,mt(Ze)),$x=g(Ae,mt(Qe)),Gx=g(Ae,mt(jn)),Wx=g(dt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>or(r)))||[]})}),Hx=g(Ae,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var ss=e=>e.dappConfig,zx=g(ss,e=>e.shouldUseWebViewProvider);_();n();n();function jo(){let e=fe();return cn(e)}function Ie(e){return jo()===e}function cs(){let e=window==null?void 0:window.location.search,t=de.getState(),r=fe(),o=Se(t),i=no(t),p=oo(t);if(!r)throw"provider not initialized";return Ie("ledger")&&i?new Promise(l=>{l(o)}):!Ie("")&&!Ie("wallet")&&!Ie("extra")?r.getAddress():new Promise(l=>{if(p!=null){let m=new URLSearchParams(e),d=Object.fromEntries(m);ve(d.address)&&l(d.address)}i&&l(o),l("")})}0&&(module.exports={getAddress});
|
|
1
|
+
"use strict";var zo=Object.create;var me=Object.defineProperty,Ko=Object.defineProperties,Yo=Object.getOwnPropertyDescriptor,Xo=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertyNames,Ee=Object.getOwnPropertySymbols,Qo=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable;var ur=(e,t,r)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))gt.call(t,r)&&ur(e,r,t[r]);if(Ee)for(var r of Ee(t))dr.call(t,r)&&ur(e,r,t[r]);return e},A=(e,t)=>Ko(e,Xo(t));var mr=(e,t)=>{var r={};for(var o in e)gt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ee)for(var o of Ee(e))t.indexOf(o)<0&&dr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q=(e,t)=>{for(var r in t)me(e,r,{get:t[r],enumerable:!0})},gr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zo(t))!gt.call(e,i)&&i!==r&&me(e,i,{get:()=>t[i],enumerable:!(o=Yo(t,i))||o.enumerable});return e};var b=(e,t,r)=>(r=e!=null?zo(Qo(e)):{},gr(t||!e||!e.__esModule?me(r,"default",{value:e,enumerable:!0}):r,e)),ge=e=>gr(me({},"__esModule",{value:!0}),e);var yr=ke(Le=>{"use strict";n();Le.byteLength=ei;Le.toByteArray=ri;Le.fromByteArray=ii;var M=[],P=[],Jo=typeof Uint8Array!="undefined"?Uint8Array:Array,ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(J=0,fr=ft.length;J<fr;++J)M[J]=ft[J],P[ft.charCodeAt(J)]=J;var J,fr;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function Tr(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 o=r===t?0:4-r%4;return[r,o]}function ei(e){var t=Tr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ti(e,t,r){return(t+r)*3/4-r}function ri(e){var t,r=Tr(e),o=r[0],i=r[1],p=new Jo(ti(e,o,i)),l=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=P[e.charCodeAt(d)]<<18|P[e.charCodeAt(d+1)]<<12|P[e.charCodeAt(d+2)]<<6|P[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=P[e.charCodeAt(d)]<<2|P[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=P[e.charCodeAt(d)]<<10|P[e.charCodeAt(d+1)]<<4|P[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function ni(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function oi(e,t,r){for(var o,i=[],p=t;p<r;p+=3)o=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(ni(o));return i.join("")}function ii(e){for(var t,r=e.length,o=r%3,i=[],p=16383,l=0,m=r-o;l<m;l+=p)i.push(oi(e,l,l+p>m?m:l+p));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var hr=ke(Tt=>{n();Tt.read=function(e,t,r,o,i){var p,l,m=i*8-o-1,d=(1<<m)-1,T=d>>1,h=-7,y=r?i-1:0,E=r?-1:1,k=e[t+y];for(y+=E,p=k&(1<<-h)-1,k>>=-h,h+=m;h>0;p=p*256+e[t+y],y+=E,h-=8);for(l=p&(1<<-h)-1,p>>=-h,h+=o;h>0;l=l*256+e[t+y],y+=E,h-=8);if(p===0)p=1-T;else{if(p===d)return l?NaN:(k?-1:1)*(1/0);l=l+Math.pow(2,o),p=p-T}return(k?-1:1)*l*Math.pow(2,p-o)};Tt.write=function(e,t,r,o,i,p){var l,m,d,T=p*8-i-1,h=(1<<T)-1,y=h>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:p-1,Y=o?1:-1,W=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+y>=1?t+=E/d:t+=E*Math.pow(2,1-y),t*d>=2&&(l++,d/=2),l+y>=h?(m=0,l=h):l+y>=1?(m=(t*d-1)*Math.pow(2,i),l=l+y):(m=t*Math.pow(2,y-1)*Math.pow(2,i),l=0));i>=8;e[r+k]=m&255,k+=Y,m/=256,i-=8);for(l=l<<i|m,T+=i;T>0;e[r+k]=l&255,k+=Y,l/=256,T-=8);e[r+k-Y]|=W*128}});var Pr=ke(ae=>{"use strict";n();var yt=yr(),ie=hr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ae.Buffer=u;ae.SlowBuffer=ui;ae.INSPECT_MAX_BYTES=50;var De=2147483647;ae.kMaxLength=De;u.TYPED_ARRAY_SUPPORT=ai();!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 ai(){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 H(e){if(e>De)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 wt(e)}return br(e,t,r)}u.poolSize=8192;function br(e,t,r){if(typeof e=="string")return ci(e,t);if(ArrayBuffer.isView(e))return li(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(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return xt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=pi(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 br(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function vr(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 si(e,t,r){return vr(e),e<=0?H(e):t!==void 0?typeof r=="string"?H(e).fill(t,r):H(e).fill(t):H(e)}u.alloc=function(e,t,r){return si(e,t,r)};function wt(e){return vr(e),H(e<0?0:bt(e)|0)}u.allocUnsafe=function(e){return wt(e)};u.allocUnsafeSlow=function(e){return wt(e)};function ci(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Ar(e,t)|0,o=H(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function ht(e){for(var t=e.length<0?0:bt(e.length)|0,r=H(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function li(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return xt(t.buffer,t.byteOffset,t.byteLength)}return ht(e)}function xt(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 o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function pi(e){if(u.isBuffer(e)){var t=bt(e.length)|0,r=H(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||vt(e.length)?H(0):ht(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ht(e.data)}function bt(e){if(e>=De)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+De.toString(16)+" bytes");return e|0}function ui(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(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(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 o=t.length,i=r.length,p=0,l=Math.min(o,i);p<l;++p)if(t[p]!==r[p]){o=t[p],i=r[p];break}return o<i?-1:i<o?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 o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),p=0;for(o=0;o<t.length;++o){var l=t[o];if(F(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function Ar(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(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,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return St(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Nr(e).length;default:if(i)return o?-1:St(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Ar;function di(e,t,r){var o=!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 bi(this,t,r);case"utf8":case"utf-8":return Er(this,t,r);case"ascii":return Si(this,t,r);case"latin1":case"binary":return wi(this,t,r);case"base64":return hi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ee(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Er(this,0,t):di.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=ae.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};xr&&(u.prototype[xr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,p){if(F(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),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||o>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=o)return 0;if(i>=p)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,m=o-r,d=Math.min(l,m),T=this.slice(i,p),h=t.slice(r,o),y=0;y<d;++y)if(T[y]!==h[y]){l=T[y],m=h[y];break}return l<m?-1:m<l?1:0};function Ir(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,vt(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,o)),u.isBuffer(t))return t.length===0?-1:Sr(e,t,r,o,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):Sr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Sr(e,t,r,o,i){var p=1,l=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,m/=2,r/=2}function d(k,Y){return p===1?k[Y]:k.readUInt16BE(Y*p)}var T;if(i){var h=-1;for(T=r;T<l;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===m)return h*p}else h!==-1&&(T-=T-h),h=-1}else for(r+m>l&&(r=l-m),T=r;T>=0;T--){for(var y=!0,E=0;E<m;E++)if(d(e,T+E)!==d(t,E)){y=!1;break}if(y)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Ir(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Ir(this,t,r,o,!1)};function mi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var p=t.length;o>p/2&&(o=p/2);for(var l=0;l<o;++l){var m=parseInt(t.substr(l*2,2),16);if(vt(m))return l;e[r+l]=m}return l}function gi(e,t,r,o){return Ne(St(t,e.length-r),e,r,o)}function fi(e,t,r,o){return Ne(Ei(t),e,r,o)}function Ti(e,t,r,o){return Ne(Nr(t),e,r,o)}function yi(e,t,r,o){return Ne(ki(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((o===void 0||o>p)&&(o=p),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return mi(this,t,r,o);case"utf8":case"utf-8":return gi(this,t,r,o);case"ascii":case"latin1":case"binary":return fi(this,t,r,o);case"base64":return Ti(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yi(this,t,r,o);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function hi(e,t,r){return t===0&&r===e.length?yt.fromByteArray(e):yt.fromByteArray(e.slice(t,r))}function Er(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var p=e[i],l=null,m=p>239?4:p>223?3:p>191?2:1;if(i+m<=r){var d,T,h,y;switch(m){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(y=(p&31)<<6|d&63,y>127&&(l=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(p&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(l=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=(p&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(l=y))}}l===null?(l=65533,m=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|l&1023),o.push(l),i+=m}return xi(o)}var wr=4096;function xi(e){var t=e.length;if(t<=wr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=wr));return r}function Si(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function wi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function bi(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",p=t;p<r;++p)i+=Li[e[p]];return i}function vi(e,t,r){for(var o=e.slice(t,r),i="",p=0;p<o.length-1;p+=2)i+=String.fromCharCode(o[p]+o[p+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),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,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;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,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||I(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};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 o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||I(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};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),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ie.read(this,t,!1,52,8)};function L(e,t,r,o,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=1,m=0;for(this[r]=t&255;++m<o&&(l*=256);)this[r+m]=t/l&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;L(this,t,r,o,p,0)}var l=o-1,m=1;for(this[r+l]=t&255;--l>=0&&(m*=256);)this[r+l]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=0,m=1,d=0;for(this[r]=t&255;++l<o&&(m*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);L(this,t,r,o,p-1,-p)}var l=o-1,m=1,d=0;for(this[r+l]=t&255;--l>=0&&(m*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(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,o){return t=+t,r=r>>>0,o||L(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 kr(e,t,r,o,i,p){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Lr(e,t,r,o,i){return t=+t,r=r>>>0,i||kr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Lr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Lr(this,t,r,!1,o)};function Dr(e,t,r,o,i){return t=+t,r=r>>>0,i||kr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Dr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Dr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=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-o&&(i=t.length-r+o);var p=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),p};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=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 p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<o;++l)this[l]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<o-r;++l)this[l+r]=m[l%d]}return this};var Ai=/[^+/0-9A-Za-z-_]/g;function Ii(e){if(e=e.split("=")[0],e=e.trim().replace(Ai,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function St(e,t){t=t||1/0;for(var r,o=e.length,i=null,p=[],l=0;l<o;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===o){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function Ei(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ki(e,t){for(var r,o,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),o=r>>8,i=r%256,p.push(i),p.push(o);return p}function Nr(e){return yt.toByteArray(Ii(e))}function Ne(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function vt(e){return e!==e}var Li=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Mr=ke((gs,Or)=>{n();var S=Or.exports={},B,U;function At(){throw new Error("setTimeout has not been defined")}function It(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=At}catch(e){B=At}try{typeof clearTimeout=="function"?U=clearTimeout:U=It}catch(e){U=It}})();function Rr(e){if(B===setTimeout)return setTimeout(e,0);if((B===At||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Di(e){if(U===clearTimeout)return clearTimeout(e);if((U===It||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var q=[],se=!1,te,Pe=-1;function Ni(){!se||!te||(se=!1,te.length?q=te.concat(q):Pe=-1,q.length&&Cr())}function Cr(){if(!se){var e=Rr(Ni);se=!0;for(var t=q.length;t;){for(te=q,q=[];++Pe<t;)te&&te[Pe].run();Pe=-1,t=q.length}te=null,se=!1,Di(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];q.push(new _r(e,t)),q.length===1&&!se&&Rr(Cr)};function _r(e,t){this.fun=e,this.array=t}_r.prototype.run=function(){this.fun.apply(null,this.array)};S.title="browser";S.browser=!0;S.env={};S.argv=[];S.version="";S.versions={};function j(){}S.on=j;S.addListener=j;S.once=j;S.off=j;S.removeListener=j;S.removeAllListeners=j;S.emit=j;S.prependListener=j;S.prependOnceListener=j;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,fs,n=f(()=>{a=b(Pr()),s=b(Mr()),fs=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}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 Fr=f(()=>{"use strict";n()});var Br=f(()=>{"use strict";n()});var Ur=f(()=>{"use strict";n()});var Vr=f(()=>{"use strict";n()});var _=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var Gr=f(()=>{"use strict";n()});var D=f(()=>{"use strict";n()});var Wr=f(()=>{"use strict";n()});var Hr=f(()=>{"use strict";n()});var qr=f(()=>{"use strict";n()});var R=f(()=>{"use strict";n();Br();Ur();Vr();_();$r();Gr();D();Wr();Hr();qr()});var Et,jr,Os,zr,Ms,Kr,Fs,Bs,Us,Yr=f(()=>{"use strict";n();R();Et={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:jr,egldLabel:Os}=Et["devnet"],{chainId:zr,egldLabel:Ms}=Et["testnet"],{chainId:Kr,egldLabel:Fs}=Et["mainnet"],Bs={["devnet"]:jr,["testnet"]:zr,["mainnet"]:Kr},Us={[jr]:"devnet",[zr]:"testnet",[Kr]:"mainnet"}});var kt=f(()=>{"use strict";n()});var Xr=f(()=>{"use strict";n()});var Zr,Lt=f(()=>{"use strict";n();Zr="transaction-status-toast-id"});var V,Qr=f(()=>{"use strict";n();V=require("@multiversx/sdk-web-wallet-provider")});var Jr=f(()=>{"use strict";n()});var Dt,Nt,en,Re,tn,ce,w=f(()=>{"use strict";n();Fr();Yr();kt();Xr();Lt();Qr();Jr();Dt=5e4,Nt=1e9,en=1,Re="logout",tn="login",ce="0"});var Ce,_t=f(()=>{"use strict";n();Ce=()=>Date.now()/1e3});var ln=f(()=>{"use strict";n()});var pn=f(()=>{"use strict";n()});var un=f(()=>{"use strict";n();_t();ln();pn()});var Mt={};Q(Mt,{getItem:()=>Ci,localStorageKeys:()=>re,removeItem:()=>_i,setItem:()=>Ri});var re,Ot,Ri,Ci,_i,Te=f(()=>{"use strict";n();un();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ot=typeof localStorage!="undefined",Ri=({key:e,data:t,expires:r})=>{!Ot||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ci=e=>{if(!Ot)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:Ce()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},_i=e=>{!Ot||localStorage.removeItem(String(e))}});var Ft={};Q(Ft,{clear:()=>fn,getItem:()=>mn,removeItem:()=>gn,setItem:()=>dn,storage:()=>Oi});var dn,mn,gn,fn,Oi,Tn=f(()=>{"use strict";n();dn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},mn=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},gn=e=>sessionStorage.removeItem(String(e)),fn=()=>sessionStorage.clear(),Oi={setItem:dn,getItem:mn,removeItem:gn,clear:fn}});var pe,_e=f(()=>{"use strict";n();Te();Tn();pe={session:Ft,local:Mt}});var Bt,v,Oe,O=f(()=>{"use strict";n();Bt=require("@reduxjs/toolkit");w();v=(0,Bt.createAction)(Re),Oe=(0,Bt.createAction)(tn,e=>({payload:e}))});var Vt,yn,hn,Me,Ut,xn,Sn,Rc,wn,Cc,_c,Oc,Mc,Fc,Bc,Uc,Vc,Fe,Be=f(()=>{"use strict";n();Vt=require("@multiversx/sdk-core"),yn=require("@reduxjs/toolkit"),hn=require("redux-persist");w();_e();Te();O();Me={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ce},Ut={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Me},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},xn=(0,yn.createSlice)({name:"accountInfoSlice",initialState:Ut,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Vt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Me},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}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(v,()=>(pe.local.removeItem(re.loginExpiresAt),Ut)),e.addCase(Oe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Vt.Address(o).hex()}),e.addCase(hn.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:p,accounts:l,publicKey:m}=o;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:Ut.accounts,t.publicKey=m})}}),{setAccount:Sn,setAddress:Rc,setAccountNonce:wn,setAccountShard:Cc,setLedgerAccount:_c,updateLedgerAccount:Oc,setWalletConnectAccount:Mc,setIsAccountLoading:Fc,setAccountLoadingError:Bc,setWebsocketEvent:Uc,setWebsocketBatchEvent:Vc}=xn.actions,Fe=xn.reducer});function ye(){return new Date().setHours(new Date().getHours()+24)}function he(e){pe.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var $t=f(()=>{"use strict";n();_e();Te()});var vn,bn,An,Xc,Zc,Qc,Jc,el,tl,In,rl,Ue,Ve=f(()=>{"use strict";n();vn=require("@reduxjs/toolkit");$t();_();O();bn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},An=(0,vn.createSlice)({name:"loginInfoSlice",initialState:bn,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,()=>bn),e.addCase(Oe,(t,r)=>{t.loginMethod=r.payload.loginMethod,he(ye())})}}),{setLoginMethod:Xc,setWalletConnectLogin:Zc,setLedgerLogin:Qc,setTokenLogin:Jc,setTokenLoginSignature:el,setWalletLogin:tl,invalidateLoginSession:In,setLogoutRoute:rl}=An.actions,Ue=An.reducer});var kn,En,Ln,al,sl,cl,ll,$e,Ge=f(()=>{"use strict";n();kn=require("@reduxjs/toolkit");O();En={},Ln=(0,kn.createSlice)({name:"modalsSlice",initialState:En,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,()=>En)}}),{setTxSubmittedModal:al,setNotificationModal:sl,clearTxSubmittedModal:cl,clearNotificationModal:ll}=Ln.actions,$e=Ln.reducer});var Dn=f(()=>{"use strict";n()});var Nn=f(()=>{"use strict";n();Dn()});function Gt(e){return e[Math.floor(Math.random()*e.length)]}var Pn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n();kt()});var Cn=f(()=>{"use strict";n();Nn();Pn();Rn()});var _n,On,Wt,Mi,Mn,Il,El,We,He=f(()=>{"use strict";n();_n=require("@reduxjs/toolkit"),On=b(require("lodash.omit"));Cn();Wt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Mi={network:Wt,chainID:"-1"},Mn=(0,_n.createSlice)({name:"appConfig",initialState:Mi,reducers:{initializeNetworkConfig:(e,t)=>{let r=Gt(t.payload.walletConnectBridgeAddresses),o=Gt(t.payload.walletConnectV2RelayAddresses),i=(0,On.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Il,setChainID:El}=Mn.actions,We=Mn.reducer});var Fn,Ht,Bn,Rl,Cl,_l,qe,je=f(()=>{"use strict";n();Fn=require("@reduxjs/toolkit");R();O();Ht={isSigning:!1,signedSessions:{}},Bn=(0,Fn.createSlice)({name:"signedMessageInfoSliceState",initialState:Ht,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=o},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>Ht},extraReducers:e=>{e.addCase(v,()=>Ht)}}),{setSignSession:Rl,clearSignedMessageInfo:Cl,setSignSessionState:_l}=Bn.actions,qe=Bn.reducer});var Vn,$n,Un,Gn,Gl,Wl,Hl,ql,jl,zl,ze,Ke=f(()=>{"use strict";n();Vn=require("@reduxjs/toolkit"),$n=require("redux-persist");Lt();R();_t();O();Un={customToasts:[],transactionToasts:[],failTransactionToast:null},Gn=(0,Vn.createSlice)({name:"toastsSlice",initialState:Un,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(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:Ce(),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=A(x({},t.payload),{toastId:Zr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(v,()=>Un),e.addCase($n.REHYDRATE,(t,r)=>{var i,p;let o=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=o})}}),{addCustomToast:Gl,removeCustomToast:Wl,addTransactionToast:Hl,removeTransactionToast:ql,addFailTransactionToast:jl,removeFailTransactionToast:zl}=Gn.actions,ze=Gn.reducer});var Wn,jt,zt,Kt,Fi,qt,Hn,Zl,Ql,Jl,Ye,Xe=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");O();jt="Transaction failed",zt="Transaction successful",Kt="Processing transaction",Fi="Transaction submitted",qt={},Hn=(0,Wn.createSlice)({name:"transactionsInfo",initialState:qt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||jt,successMessage:(o==null?void 0:o.successMessage)||zt,processingMessage:(o==null?void 0:o.processingMessage)||Kt,submittedMessage:(o==null?void 0:o.submittedMessage)||Fi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>qt},extraReducers:e=>{e.addCase(v,()=>qt)}}),{clearTransactionsInfo:Zl,setTransactionsDisplayInfo:Ql,clearTransactionsInfoForSessionId:Jl}=Hn.actions,Ye=Hn.reducer});function qn(e){return e!=null&&(ji(e)||Xi(e))}function Ze(e){return e!=null&&(zi(e)||Zi(e))}function Qe(e){return e!=null&&(Ki(e)||Qi(e))}function jn(e){return e!=null&&Yi(e)}function ji(e){return e!=null&&Ui.includes(e)}function zi(e){return e!=null&&Vi.includes(e)}function Ki(e){return e!=null&&$i.includes(e)}function Yi(e){return e!=null&&Gi.includes(e)}function Xi(e){return e!=null&&Wi.includes(e)}function Zi(e){return e!=null&&Hi.includes(e)}function Qi(e){return e!=null&&qi.includes(e)}var Ui,Vi,$i,Gi,Wi,Hi,qi,Xt=f(()=>{"use strict";n();_();Ui=["sent"],Vi=["success"],$i=["fail","cancelled","timedOut"],Gi=["timedOut"],Wi=["pending"],Hi=["success"],qi=["fail","invalid"]});var zn,Kn,xe,Ji,Yn,cp,lp,pp,up,dp,mp,gp,fp,Tp,yp,Je,et=f(()=>{"use strict";n();zn=require("@reduxjs/toolkit"),Kn=require("redux-persist");_();Xt();O();xe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ji={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Yn=(0,zn.createSlice)({name:"transactionsSlice",initialState:xe,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:o,errorMessage:i,status:p,redirectRoute:l}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||Ji;e.signedTransactions[r]={transactions:o,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:m},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=xe.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:o,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var m,d,T,h,y,E;let{sessionId:r,status:o,errorMessage:i,transactionHash:p}=t.payload,l=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(l!=null){e.signedTransactions[r].transactions=l.map(W=>W.hash===p?A(x({},W),{status:o,errorMessage:i}):W);let k=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(W=>Ze(W.status)),Y=(E=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:E.every(W=>Qe(W.status));k&&(e.signedTransactions[r].status="success"),Y&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=xe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=xe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>xe),e.addCase(Kn.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(o).reduce((m,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(m[d]=T),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:cp,updateSignedTransactions:lp,setTransactionsToSign:pp,clearAllTransactionsToSign:up,clearAllSignedTransactions:dp,clearSignedTransaction:mp,clearTransactionToSign:gp,setSignTransactionsError:fp,setSignTransactionsCancelMessage:Tp,moveTransactionsToSignedState:yp}=Yn.actions,Je=Yn.reducer});var Xn,Zt,Zn,wp,bp,vp,Ap,tt,rt=f(()=>{"use strict";n();Xn=require("@reduxjs/toolkit");O();Zt={},Zn=(0,Xn.createSlice)({name:"batchTransactionsSlice",initialState:Zt,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Zt},extraReducers:e=>{e.addCase(v,()=>Zt)}}),{setBatchTransactions:wp,updateBatchTransactions:bp,clearBatchTransactions:vp,clearAllBatchTransactions:Ap}=Zn.actions,tt=Zn.reducer});var Jn,Qn,eo,Lp,to,Qt=f(()=>{"use strict";n();Jn=require("@reduxjs/toolkit");O();Qn={},eo=(0,Jn.createSlice)({name:"dappConfigSlice",initialState:Qn,reducers:{setDappConfig:(e,t)=>{e=x(x({},e),t.payload)}},extraReducers:e=>{e.addCase(v,()=>Qn)}}),{setDappConfig:Lp}=eo.actions,to=eo.reducer});var ue=f(()=>{"use strict";n();Be();Ve();Ge();He();je();Ke();Xe();et();rt();Qt()});var ir=f(()=>{"use strict";n()});var go,mo,fo,fd,Td,yd,hd,xd,Sd,To,yo=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");O();mo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},fo=(0,go.createSlice)({name:"dappModalsSlice",initialState:mo,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,()=>mo)}}),{setDappModalVisibility:fd,setDappModalHeaderVisibility:Td,setDappModalFooterVisibility:yd,setDappModalHeaderText:hd,setDappModalFooterText:xd,setDappModalConfig:Sd}=fo.actions,To=fo.reducer});var ho,ia,aa,oe,ct=f(()=>{"use strict";n();ho=require("@reduxjs/toolkit");ir();Be();rt();Qt();yo();Ve();Ge();He();je();Ke();Xe();et();ia={["account"]:Fe,["dappModal"]:To,["dappConfig"]:to,["loginInfo"]:Ue,["modals"]:$e,["networkConfig"]:We,["signedMessageInfo"]:qe,["toasts"]:ze,["transactionsInfo"]:Ye,["transactions"]:Je,["batchTransactions"]:tt},aa=(e={})=>(0,ho.combineReducers)(x(x({},ia),e)),oe=aa});var bo={};Q(bo,{default:()=>ba,sessionStorageReducers:()=>ar});function K(e,t=[]){return{key:e,version:1,storage:So.default,blacklist:t}}var N,xo,So,sa,we,ca,la,pa,ua,da,ma,ga,fa,Ta,ya,wo,ha,ar,xa,Sa,wa,ba,vo=f(()=>{"use strict";n();N=require("redux-persist"),xo=b(require("redux-persist/lib/storage")),So=b(require("redux-persist/lib/storage/session"));ct();ue();Be();rt();Ve();Ge();He();je();Ke();Xe();et();ir();sa={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ca=K(we["account"]),la=K(we["loginInfo"]),pa=K(we["modals"]),ua=K(we["networkConfig"]),da={2:e=>A(x({},e),{networkConfig:Wt})};ma=K("sdk-dapp-transactionsInfo"),ga=K("sdk-dapp-transactions",["transactionsToSign"]),fa=K("sdk-dapp-batchTransactions",["batchTransactions"]),Ta=K("sdk-dapp-toasts"),ya=K("sdk-dapp-signedMessageInfo"),wo={key:"sdk-dapp-store",version:2,storage:xo.default,whitelist:Object.keys(we),migrate:(0,N.createMigrate)(da,{debug:!1})},ha=A(x({},wo),{whitelist:[]}),ar={["toasts"]:(0,N.persistReducer)(Ta,ze),["transactions"]:(0,N.persistReducer)(ga,Je),["transactionsInfo"]:(0,N.persistReducer)(ma,Ye),["batchTransactions"]:(0,N.persistReducer)(fa,tt),["signedMessageInfo"]:(0,N.persistReducer)(ya,qe)},xa=A(x({},ar),{["account"]:(0,N.persistReducer)(ca,Fe),["loginInfo"]:(0,N.persistReducer)(la,Ue),["modals"]:(0,N.persistReducer)(pa,$e),["networkConfig"]:(0,N.persistReducer)(ua,We)}),Sa=sa.persistReducersStorageType==="localStorage",wa=Sa?(0,N.persistReducer)(wo,oe(ar)):(0,N.persistReducer)(ha,oe(xa)),ba=wa});var Ao={};Q(Ao,{default:()=>va});var va,Io=f(()=>{"use strict";n();ct();va=oe()});var Eo={};Q(Eo,{default:()=>Ia});var C,Aa,Ia,ko=f(()=>{"use strict";n();C=require("redux-persist"),Aa=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],Ia=Aa});var No={};Q(No,{default:()=>Do});function Do(e){return(0,Lo.persistStore)(e)}var Lo,Po=f(()=>{"use strict";n();Lo=require("redux-persist")});var ls={};Q(ls,{getAddress:()=>cs});module.exports=ge(ls);n();n();n();n();var nn=require("@multiversx/sdk-extension-provider"),on=require("@multiversx/sdk-hw-provider"),an=require("@multiversx/sdk-opera-provider"),sn=require("@multiversx/sdk-web-wallet-provider");w();_();n();var Pt=le,rn=Pt;var cn=e=>{switch(e==null?void 0:e.constructor){case sn.WalletProvider:return"wallet";case Pt:return"walletconnect";case rn:return"walletconnectv2";case on.HWProvider:return"ledger";case nn.ExtensionProvider:return"extension";case an.OperaProvider:return"opera";case le:return"";default:return"extra"}};var z=e=>`Unable to perform ${e}, Provider not initialized`,le=class{init(){return Promise.resolve(!1)}login(t){throw new Error(z(`login with options: ${t}`))}logout(t){throw new Error(z(`logout with options: ${t}`))}getAddress(){throw new Error(z("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(z(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(z(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(z(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(z(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(z(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(z(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Ct=new le;var Pi=Ct;function fe(){return Pi||Ct}n();n();ue();n();var ro=b(require("lodash.isequal")),nt=require("reselect");R();var g=(0,nt.createSelectorCreator)(nt.defaultMemoize,ro.default),ot=(e,t)=>e!=""&&Boolean(t);var $=e=>e.account,Se=g($,e=>e.address),Jt=g($,Se,(e,t)=>t in e.accounts?e.accounts[t]:Me),qp=g($,Jt,(e,t)=>{let i=e,{accounts:r}=i,o=mr(i,["accounts"]);return A(x({},o),{account:t})}),jp=g(Jt,e=>e.balance),zp=g(Jt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Kp=g($,e=>e.shard),Yp=g($,e=>e.ledgerAccount),Xp=g($,e=>e.walletConnectAccount),Zp=g($,e=>e.isAccountLoading),Qp=g($,e=>e.accountLoadingError),Jp=g($,e=>e.websocketEvent),eu=g($,e=>e.websocketBatchEvent);n();var X=e=>e.loginInfo,ou=g(X,e=>e.loginMethod),no=g(X,Se,(e,t)=>ot(e.loginMethod,t)),iu=g(X,e=>e.walletConnectLogin),au=g(X,e=>e.ledgerLogin),oo=g(X,e=>e.walletLogin),su=g(X,e=>e.isLoginSessionInvalid),cu=g(X,e=>e.tokenLogin),lu=g(X,e=>e.logoutRoute);n();var io=e=>e.modals,du=g(io,e=>e.txSubmittedModal),mu=g(io,e=>e.notificationModal);n();var ne=e=>e.networkConfig,Tu=g(ne,e=>e.chainID),yu=g(ne,e=>e.network.walletConnectBridgeAddress),hu=g(ne,e=>e.network.walletConnectV2RelayAddress),xu=g(ne,e=>e.network.walletConnectV2ProjectId),Su=g(ne,e=>e.network.walletConnectV2Options),wu=g(ne,e=>e.network.walletConnectDeepLink),er=g(ne,e=>e.network),bu=g(er,e=>e.apiAddress),ao=g(er,e=>e.explorerAddress),vu=g(er,e=>e.egldLabel);n();var it=e=>e.signedMessageInfo,Eu=g(it,e=>e.isSigning),ku=g(it,e=>e.errorMessage),Lu=g(it,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Du=g(it,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var tr=e=>e.toasts,Ru=g(tr,e=>e.customToasts),Cu=g(tr,e=>e.transactionToasts),_u=g(tr,e=>e.failTransactionToast);n();ue();var so={errorMessage:jt,successMessage:zt,processingMessage:Kt},ea=e=>e.transactionsInfo,Bu=g(ea,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);n();n();var G=require("@multiversx/sdk-core"),lo=require("@multiversx/sdk-core/out/signature");w();n();var nr=require("@multiversx/sdk-core/out");n();n();function rr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var co=e=>{let t=e!=null?e:"";return rr(t)?nr.TransactionPayload.fromEncoded(t):new nr.TransactionPayload(t)};function or(e){var r,o,i;let t=new G.Transaction(x(x({value:e.value.valueOf(),data:co(e.data),nonce:e.nonce.valueOf(),receiver:new G.Address(e.receiver),sender:new G.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:Dt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:Nt,chainID:e.chainID.valueOf(),version:new G.TransactionVersion((i=e.version)!=null?i:en)},e.options?{options:new G.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new G.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),t.applySignature(new lo.Signature(e.signature)),t}n();n();n();n();var sr=require("@reduxjs/toolkit"),Oo=require("react-redux/lib/utils/Subscription");ue();n();var po=b(require("lodash.throttle"));w();ue();$t();_e();Te();var ra=[Re],at=!1,na=(0,po.default)(()=>{he(ye())},5e3),uo=e=>t=>r=>{var d;if(ra.includes(r.type))return t(r);let o=e.getState(),i=pe.local.getItem(re.loginExpiresAt);if(!ot((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return he(ye());let l=Date.now();return i-l<0&&!at?setTimeout(()=>{at=!0,e.dispatch(In())},1e3):(at&&(at=!1),na()),t(r)};n();n();function st(){return typeof sessionStorage!="undefined"}var Ro=st()?(vo(),ge(bo)).default:(Io(),ge(Ao)).default,Co=st()?(ko(),ge(Eo)).default:[],_o=st()?(Po(),ge(No)).default:e=>e;ct();var de=(0,sr.configureStore)({reducer:Ro,middleware:e=>e({serializableCheck:{ignoredActions:[...Co,wn.type,Sn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(uo)}),em=(0,Oo.createSubscription)(de),tm=_o(de),rm=(0,sr.configureStore)({reducer:oe});n();n();var ka=require("@multiversx/sdk-core/out");n();w();n();var Fo=require("@multiversx/sdk-core");R();n();var Mo=require("@multiversx/sdk-core");function La(e){try{let t=new Mo.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function be(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&La(e)}n();n();n();var Da=require("@multiversx/sdk-core"),Na=b(require("bignumber.js"));_();n();n();n();n();n();n();n();D();n();n();D();n();n();n();var Ma=b(require("bignumber.js"));w();n();var Oa=require("@multiversx/sdk-core"),cr=b(require("bignumber.js"));w();n();var Ca=b(require("bignumber.js"));n();cr.default.config({ROUNDING_MODE:cr.default.ROUND_FLOOR});n();n();n();w();n();n();n();n();w();n();w();n();var Fa=require("@multiversx/sdk-core");w();n();var ve=require("@multiversx/sdk-core"),Ua=require("@multiversx/sdk-network-providers");w();n();n();var Ba=b(require("bignumber.js"));w();n();w();n();n();n();n();n();w();n();D();var $a=["reDelegateRewards","claimRewards","unBond"],Ga=["wrapEgld","unwrapEgld"],Wa=["unStake"],Ha=["unDelegate"];n();n();n();w();n();var za=b(require("bignumber.js"));n();n();D();n();var Ka=b(require("bignumber.js"));n();n();n();var Xa=b(require("bignumber.js"));R();n();n();n();n();_();n();var Ja=require("@multiversx/sdk-web-wallet-provider");w();n();var Qa=b(require("qs"));n();n();var pr=()=>typeof window!="undefined";n();var JT={search:pr()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var es=b(require("linkifyjs"));n();w();n();var ts=b(require("bignumber.js"));n();R();n();n();_();n();_();n();n();n();D();n();D();n();var rs=b(require("bignumber.js"));w();D();n();D();n();var Ho=require("react");R();n();n();D();n();n();var ns=require("@multiversx/sdk-core/out"),os=b(require("bignumber.js"));D();n();R();n();n();R();var qh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var qo=require("react");R();n();var as=require("react");D();var Qh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Xt();var dt=e=>e.transactions,Ae=g(dt,e=>e.signedTransactions),Fx=g(dt,e=>e.signTransactionsError),Bx=g(dt,e=>e.signTransactionsCancelMessage),mt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Ux=g(Ae,mt(qn)),Vx=g(Ae,mt(Ze)),$x=g(Ae,mt(Qe)),Gx=g(Ae,mt(jn)),Wx=g(dt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>or(r)))||[]})}),Hx=g(Ae,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var ss=e=>e.dappConfig,zx=g(ss,e=>e.shouldUseWebViewProvider);_();n();n();function jo(){let e=fe();return cn(e)}function Ie(e){return jo()===e}function cs(){let e=window==null?void 0:window.location.search,t=de.getState(),r=fe(),o=Se(t),i=no(t),p=oo(t);if(!r)throw"provider not initialized";return Ie("ledger")&&i?new Promise(l=>{l(o)}):!Ie("")&&!Ie("wallet")&&!Ie("extra")?r.getAddress():new Promise(l=>{if(p!=null){let m=new URLSearchParams(e),d=Object.fromEntries(m);be(d.address)&&l(d.address)}i&&l(o),l("")})}0&&(module.exports={getAddress});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|