@multiversx/sdk-dapp 2.8.8 → 2.9.0-alpha.1

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.
Files changed (897) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  21. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  22. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  23. package/UI/SignTransactionsModals/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/index.js +1 -1
  25. package/UI/TokenDetails/index.js +1 -1
  26. package/UI/TransactionData/index.js +1 -1
  27. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  28. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  29. package/UI/TransactionDetails/components/index.js +1 -1
  30. package/UI/TransactionDetails/index.js +1 -1
  31. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  32. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  33. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  34. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  35. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  36. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  37. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  38. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  39. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  40. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  41. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  42. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  43. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  44. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  50. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  51. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  52. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  61. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  63. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  64. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  76. package/UI/TransactionInfo/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  110. package/UI/TransactionInfo/index.js +1 -1
  111. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  114. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  123. package/UI/TransactionsTable/components/index.js +1 -1
  124. package/UI/TransactionsTable/index.js +1 -1
  125. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  148. package/UI/TransactionsToastList/components/index.js +1 -1
  149. package/UI/TransactionsToastList/index.js +1 -1
  150. package/UI/UsdValue/UsdValue.js +1 -1
  151. package/UI/UsdValue/index.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/index.js +1 -1
  154. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  159. package/UI/ledger/index.js +1 -1
  160. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  161. package/UI/pages/UnlockPage/index.js +1 -1
  162. package/UI/pages/index.js +1 -1
  163. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  164. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  167. package/UI/walletConnect/index.js +1 -1
  168. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  169. package/__chunks__/{chunk-2DKPFSTT.js → chunk-25LYYPSL.js} +2 -2
  170. package/__chunks__/{chunk-NB6RUSDN.js → chunk-2DAZJTY7.js} +2 -2
  171. package/__chunks__/{chunk-ZXXEZGKT.js → chunk-2G7BO52P.js} +2 -2
  172. package/__chunks__/{chunk-UC3BL6OL.js → chunk-2JGSECMC.js} +2 -2
  173. package/__chunks__/{chunk-I6WCVWCL.js → chunk-2MN2JEL5.js} +2 -2
  174. package/__chunks__/{chunk-LLJWVYQI.js → chunk-2QEIR6TS.js} +2 -2
  175. package/__chunks__/{chunk-NQ25VRP6.js → chunk-2UFNSJOJ.js} +2 -2
  176. package/__chunks__/{chunk-OHZF3UCF.js → chunk-32HLRTV3.js} +2 -2
  177. package/__chunks__/{chunk-TF5GKSWN.js → chunk-33B2EA3V.js} +2 -2
  178. package/__chunks__/{chunk-JUFYXNHH.js → chunk-343YDU2S.js} +2 -2
  179. package/__chunks__/{chunk-QCA255CH.js → chunk-346RZSEQ.js} +2 -2
  180. package/__chunks__/chunk-37OCRXKG.js +2 -0
  181. package/__chunks__/{chunk-CUXSI37S.js → chunk-3ADB74GU.js} +2 -2
  182. package/__chunks__/{chunk-A2UYY3JW.js → chunk-3BQODYHQ.js} +2 -2
  183. package/__chunks__/{chunk-QVCVZLRQ.js → chunk-3CRW4ZUP.js} +2 -2
  184. package/__chunks__/{chunk-XHKQRSQL.js → chunk-3D56FBAG.js} +2 -2
  185. package/__chunks__/{chunk-BS36A7LR.js → chunk-3DOTBYW5.js} +2 -2
  186. package/__chunks__/{chunk-2EA2VIB5.js → chunk-3OTU3LGP.js} +2 -2
  187. package/__chunks__/{chunk-AASOI2YB.js → chunk-3VNANIQN.js} +2 -2
  188. package/__chunks__/chunk-3ZPW6NBW.js +2 -0
  189. package/__chunks__/{chunk-6OGZDOZO.js → chunk-4AXBEAVW.js} +2 -2
  190. package/__chunks__/{chunk-ZMSSS4XY.js → chunk-4CUEYG5L.js} +2 -2
  191. package/__chunks__/{chunk-4NUCA54E.js → chunk-4DXDAPGH.js} +2 -2
  192. package/__chunks__/{chunk-W5XV2MWO.js → chunk-4E4GWX4K.js} +2 -2
  193. package/__chunks__/{chunk-KN33FON4.js → chunk-4EUXBDOP.js} +2 -2
  194. package/__chunks__/chunk-4MGGEDE4.js +2 -0
  195. package/__chunks__/{chunk-VZTQJF5K.js → chunk-4YGLWJYP.js} +2 -2
  196. package/__chunks__/{chunk-C4IGVF3G.js → chunk-4ZPZ6AIU.js} +2 -2
  197. package/__chunks__/{chunk-5L64ER7E.js → chunk-54NEP2BY.js} +2 -2
  198. package/__chunks__/{chunk-2TL4GHIJ.js → chunk-57KTNTD4.js} +2 -2
  199. package/__chunks__/{chunk-QZVP3TCG.js → chunk-5A4BF2DQ.js} +2 -2
  200. package/__chunks__/{chunk-DXSPO7EM.js → chunk-5BOZYUAE.js} +2 -2
  201. package/__chunks__/chunk-5E3Y7WDX.js +2 -0
  202. package/__chunks__/{chunk-FCAEZL4W.js → chunk-5IU2LKSN.js} +2 -2
  203. package/__chunks__/{chunk-BBPTFRVE.js → chunk-5JSXSHFD.js} +2 -2
  204. package/__chunks__/{chunk-4A25I5EO.js → chunk-5LIDVEDY.js} +2 -2
  205. package/__chunks__/{chunk-F6GZHJMJ.js → chunk-5LIPZK7I.js} +2 -2
  206. package/__chunks__/{chunk-CMG3PZXL.js → chunk-5SFT27AY.js} +2 -2
  207. package/__chunks__/chunk-5T2INUJ2.js +2 -0
  208. package/__chunks__/{chunk-4JAU6EN6.js → chunk-62SL73B6.js} +2 -2
  209. package/__chunks__/chunk-65MQPHO4.js +2 -0
  210. package/__chunks__/chunk-6A6EWHUH.js +2 -0
  211. package/__chunks__/{chunk-I5GXT2NM.js → chunk-6ALJIJJR.js} +2 -2
  212. package/__chunks__/{chunk-GQPWCE2U.js → chunk-6CPLHN5F.js} +2 -2
  213. package/__chunks__/{chunk-SKUZQREX.js → chunk-6NPKQKN5.js} +2 -2
  214. package/__chunks__/{chunk-2UFASAE6.js → chunk-6O5L57GH.js} +2 -2
  215. package/__chunks__/{chunk-DUYNNDUF.js → chunk-6PSLWD7K.js} +2 -2
  216. package/__chunks__/{chunk-DSXLBCJZ.js → chunk-6QQMWPZL.js} +2 -2
  217. package/__chunks__/{chunk-GMVQCQ3Y.js → chunk-6T4HLUJ5.js} +2 -2
  218. package/__chunks__/{chunk-EDUYDVLW.js → chunk-6TWOJZGW.js} +2 -2
  219. package/__chunks__/chunk-6W7S3EE3.js +2 -0
  220. package/__chunks__/{chunk-BWYB6R6W.js → chunk-73F5VFES.js} +2 -2
  221. package/__chunks__/{chunk-3RPV34NB.js → chunk-7CR6PT46.js} +2 -2
  222. package/__chunks__/{chunk-OQIVIERX.js → chunk-7G3CGRHQ.js} +2 -2
  223. package/__chunks__/{chunk-6DTOQEIQ.js → chunk-7NYPVHED.js} +2 -2
  224. package/__chunks__/{chunk-ZF6KDUMI.js → chunk-7RDCJEBM.js} +2 -2
  225. package/__chunks__/{chunk-X6LCE6DY.js → chunk-7S2XISHG.js} +2 -2
  226. package/__chunks__/{chunk-W4D7AG72.js → chunk-7UD2BXEK.js} +2 -2
  227. package/__chunks__/{chunk-3SGMXEQG.js → chunk-7XH5QF3M.js} +2 -2
  228. package/__chunks__/chunk-A3YTVQRT.js +2 -0
  229. package/__chunks__/chunk-A453JAS3.js +2 -0
  230. package/__chunks__/{chunk-KDE7GIIV.js → chunk-A6UEBWYM.js} +2 -2
  231. package/__chunks__/chunk-ABVMFLA3.js +2 -0
  232. package/__chunks__/{chunk-FOSUR33Y.js → chunk-AJBKM66B.js} +2 -2
  233. package/__chunks__/{chunk-4PGVVXDY.js → chunk-AK245ZB2.js} +2 -2
  234. package/__chunks__/{chunk-JYF2TWOA.js → chunk-ALP3UNP6.js} +2 -2
  235. package/__chunks__/{chunk-54UVT7XD.js → chunk-AMFO52WL.js} +2 -2
  236. package/__chunks__/{chunk-L6O2YAE3.js → chunk-AOEAP24C.js} +2 -2
  237. package/__chunks__/{chunk-QHROAYMM.js → chunk-ARBTLT3C.js} +2 -2
  238. package/__chunks__/chunk-B3TAZ7VX.js +2 -0
  239. package/__chunks__/{chunk-RRJM3255.js → chunk-B4DRNYML.js} +2 -2
  240. package/__chunks__/chunk-BAT5BA5V.js +2 -0
  241. package/__chunks__/{chunk-SLKZO7VS.js → chunk-BKMSVP62.js} +2 -2
  242. package/__chunks__/{chunk-GIZIGQZP.js → chunk-BKSSTINX.js} +2 -2
  243. package/__chunks__/{chunk-JJGJCN5V.js → chunk-BMG5SADY.js} +2 -2
  244. package/__chunks__/chunk-BRPCFDIZ.js +2 -0
  245. package/__chunks__/{chunk-5IKM5Q2S.js → chunk-BTUNYV43.js} +2 -2
  246. package/__chunks__/{chunk-OHTQWFS7.js → chunk-BVRV3PPZ.js} +2 -2
  247. package/__chunks__/chunk-BZONU76B.js +2 -0
  248. package/__chunks__/{chunk-NY463RKX.js → chunk-C3S2OS2F.js} +2 -2
  249. package/__chunks__/{chunk-WUF7FKNG.js → chunk-C54IH7AJ.js} +2 -2
  250. package/__chunks__/{chunk-UWE6TJ47.js → chunk-C7BZLCLN.js} +2 -2
  251. package/__chunks__/chunk-CDW2662X.js +2 -0
  252. package/__chunks__/{chunk-HJGXNUQZ.js → chunk-CFAUACCS.js} +2 -2
  253. package/__chunks__/{chunk-POFMPPLE.js → chunk-CJEHVP77.js} +2 -2
  254. package/__chunks__/{chunk-XHBL2F6G.js → chunk-CNNCGA7P.js} +2 -2
  255. package/__chunks__/chunk-COL2EXNW.js +2 -0
  256. package/__chunks__/{chunk-62DW3AHE.js → chunk-CPACYSUZ.js} +2 -2
  257. package/__chunks__/chunk-CSS5DPJE.js +2 -0
  258. package/__chunks__/{chunk-22AVS7E3.js → chunk-CTO4KDRF.js} +2 -2
  259. package/__chunks__/{chunk-ZJECAQPC.js → chunk-CWZS67S7.js} +2 -2
  260. package/__chunks__/{chunk-AF4A42IE.js → chunk-CXXTFRHA.js} +2 -2
  261. package/__chunks__/{chunk-MMCZ3ASQ.js → chunk-CZZL3SSJ.js} +2 -2
  262. package/__chunks__/{chunk-AO6HRN56.js → chunk-D6AVFA2D.js} +2 -2
  263. package/__chunks__/{chunk-XDH6CNY3.js → chunk-DLO34CIZ.js} +2 -2
  264. package/__chunks__/{chunk-OIT7AZTZ.js → chunk-DQML7BH2.js} +2 -2
  265. package/__chunks__/{chunk-ZJQA5LBM.js → chunk-DTN6DYVS.js} +2 -2
  266. package/__chunks__/chunk-DXE4AAU7.js +2 -0
  267. package/__chunks__/{chunk-PYO6CNJL.js → chunk-E36MIU6P.js} +2 -2
  268. package/__chunks__/chunk-E4X4P3T6.js +2 -0
  269. package/__chunks__/{chunk-IAU7HZOA.js → chunk-EFMJXVWX.js} +2 -2
  270. package/__chunks__/{chunk-XP6VAPF7.js → chunk-EHIOPQMM.js} +2 -2
  271. package/__chunks__/chunk-EPJMBI2O.js +2 -0
  272. package/__chunks__/{chunk-BTPNQ5FQ.js → chunk-ESLOIYNE.js} +2 -2
  273. package/__chunks__/{chunk-WEXCOWWF.js → chunk-EXCSAEHQ.js} +2 -2
  274. package/__chunks__/chunk-EZWQ7DMD.js +2 -0
  275. package/__chunks__/{chunk-OMSJSEKB.js → chunk-F2HBY53M.js} +2 -2
  276. package/__chunks__/{chunk-ATNLLNOK.js → chunk-FIPS3NHS.js} +2 -2
  277. package/__chunks__/chunk-FPDWY2JO.js +2 -0
  278. package/__chunks__/{chunk-GPLG6N3Y.js → chunk-G3RFZTTV.js} +2 -2
  279. package/__chunks__/{chunk-CSUG3NQC.js → chunk-GRYUK7ET.js} +2 -2
  280. package/__chunks__/{chunk-IDNYXXUU.js → chunk-H3R6VXAV.js} +2 -2
  281. package/__chunks__/{chunk-OMBMT76D.js → chunk-HACCGAKC.js} +2 -2
  282. package/__chunks__/chunk-HIX6QXZ4.js +2 -0
  283. package/__chunks__/{chunk-ZPNSZFF2.js → chunk-HJ7GDMMX.js} +2 -2
  284. package/__chunks__/{chunk-5ZHWPLU6.js → chunk-HOM67ZP7.js} +2 -2
  285. package/__chunks__/{chunk-B3LFKKXC.js → chunk-HPXVUIJL.js} +2 -2
  286. package/__chunks__/{chunk-34MJDZ4X.js → chunk-HWLMQLGK.js} +2 -2
  287. package/__chunks__/{chunk-HLAK3KWC.js → chunk-I4BUST3H.js} +2 -2
  288. package/__chunks__/{chunk-MCPXAAQH.js → chunk-I6GRLA2C.js} +2 -2
  289. package/__chunks__/{chunk-NY3SRBV3.js → chunk-IB6Q7I2M.js} +2 -2
  290. package/__chunks__/{chunk-Q5JVMVSG.js → chunk-IMJ3U2BY.js} +2 -2
  291. package/__chunks__/{chunk-Q2LHZHWH.js → chunk-IOQUQ7V7.js} +2 -2
  292. package/__chunks__/chunk-IYGHEIZB.js +2 -0
  293. package/__chunks__/{chunk-YPLFH5NC.js → chunk-J3Q7UDAZ.js} +2 -2
  294. package/__chunks__/{chunk-PFP32GAJ.js → chunk-J6HSKOGJ.js} +2 -2
  295. package/__chunks__/{chunk-6K3QMAWT.js → chunk-J7NMG22C.js} +2 -2
  296. package/__chunks__/chunk-JCD6DJSC.js +2 -0
  297. package/__chunks__/{chunk-3AWXVQPI.js → chunk-JDVLHQF6.js} +2 -2
  298. package/__chunks__/{chunk-K2TOOZFP.js → chunk-JIXAK2AC.js} +2 -2
  299. package/__chunks__/{chunk-SY4VVHFA.js → chunk-JJWH3JYM.js} +2 -2
  300. package/__chunks__/{chunk-FFSZJG62.js → chunk-JK6ABF64.js} +2 -2
  301. package/__chunks__/{chunk-IOSHQZNU.js → chunk-JK6EDPQT.js} +2 -2
  302. package/__chunks__/{chunk-CURMR3DQ.js → chunk-JRJFNQAZ.js} +2 -2
  303. package/__chunks__/chunk-JWP3WLIN.js +2 -0
  304. package/__chunks__/{chunk-F4OB26CT.js → chunk-JWSBC5DB.js} +2 -2
  305. package/__chunks__/{chunk-JKQBUYK2.js → chunk-K5UIZVZV.js} +2 -2
  306. package/__chunks__/{chunk-ZAKI6HUY.js → chunk-KAKTGT5L.js} +2 -2
  307. package/__chunks__/{chunk-E63OT5BJ.js → chunk-KDEQ2GAX.js} +2 -2
  308. package/__chunks__/{chunk-2CN5KU25.js → chunk-KEIOQVXN.js} +2 -2
  309. package/__chunks__/{chunk-QDCY7OOZ.js → chunk-KG3U55NF.js} +2 -2
  310. package/__chunks__/{chunk-QN46IB4K.js → chunk-KHHNKZRB.js} +2 -2
  311. package/__chunks__/{chunk-VCAA4VGH.js → chunk-KV6GSWNL.js} +2 -2
  312. package/__chunks__/{chunk-XIS6CC4U.js → chunk-KVNDDYVB.js} +2 -2
  313. package/__chunks__/{chunk-JKA54IGW.js → chunk-KYC5JNJB.js} +2 -2
  314. package/__chunks__/{chunk-6QZHGHIR.js → chunk-KYVILTBF.js} +2 -2
  315. package/__chunks__/chunk-L5DW2DTN.js +2 -0
  316. package/__chunks__/chunk-L5UKH2NP.js +2 -0
  317. package/__chunks__/{chunk-TIXHEZXL.js → chunk-LES3U47Z.js} +2 -2
  318. package/__chunks__/{chunk-U2U4MUGT.js → chunk-LF6FN6K3.js} +2 -2
  319. package/__chunks__/{chunk-FHE5FVE7.js → chunk-LGPEIIM7.js} +2 -2
  320. package/__chunks__/{chunk-B47CQIA7.js → chunk-LJ2OXL2R.js} +2 -2
  321. package/__chunks__/{chunk-HYYC56WM.js → chunk-LLTQNIPQ.js} +2 -2
  322. package/__chunks__/{chunk-TMWKLAQA.js → chunk-LRZYNP4X.js} +2 -2
  323. package/__chunks__/{chunk-WGZ6HMXJ.js → chunk-LSJH4COT.js} +2 -2
  324. package/__chunks__/{chunk-FKFPHPFX.js → chunk-LU3DM6HR.js} +2 -2
  325. package/__chunks__/chunk-LWC25W2W.js +2 -0
  326. package/__chunks__/{chunk-AY5CRAVB.js → chunk-LWE4XOKK.js} +2 -2
  327. package/__chunks__/{chunk-HHGHERF3.js → chunk-M4KXOW7P.js} +2 -2
  328. package/__chunks__/{chunk-JCYM4TK6.js → chunk-MC4SKRI3.js} +2 -2
  329. package/__chunks__/{chunk-SIEJ3BGE.js → chunk-MCGMQBME.js} +2 -2
  330. package/__chunks__/{chunk-QANWJPQL.js → chunk-MCX4AA63.js} +2 -2
  331. package/__chunks__/{chunk-5RS2KBDW.js → chunk-MDGIGD6R.js} +2 -2
  332. package/__chunks__/{chunk-ZU7HQJ2E.js → chunk-MIKIMQR2.js} +2 -2
  333. package/__chunks__/{chunk-KGF5QO63.js → chunk-MOA4IRT5.js} +2 -2
  334. package/__chunks__/{chunk-ITRHXPQX.js → chunk-MWHEEN6B.js} +2 -2
  335. package/__chunks__/chunk-MYN7DB3X.js +2 -0
  336. package/__chunks__/{chunk-4KWGNHHC.js → chunk-N45VBFNK.js} +2 -2
  337. package/__chunks__/chunk-NA2AEGMU.js +2 -0
  338. package/__chunks__/{chunk-35CA4MUL.js → chunk-NEHGYCY2.js} +2 -2
  339. package/__chunks__/{chunk-JWAY75CZ.js → chunk-NJQRX7E2.js} +2 -2
  340. package/__chunks__/{chunk-PNLICGB5.js → chunk-NQ247DLE.js} +2 -2
  341. package/__chunks__/chunk-NTCEKYNN.js +2 -0
  342. package/__chunks__/{chunk-WFUHPFAH.js → chunk-NYNRNXOR.js} +2 -2
  343. package/__chunks__/{chunk-7HKAHQUX.js → chunk-O4ZYTYXZ.js} +2 -2
  344. package/__chunks__/{chunk-LZ4RLZRI.js → chunk-OAXLOJDD.js} +2 -2
  345. package/__chunks__/chunk-OE5DHTVR.js +2 -0
  346. package/__chunks__/chunk-OGZP3W4S.js +2 -0
  347. package/__chunks__/{chunk-CDZFXCBL.js → chunk-OPNNXGAJ.js} +2 -2
  348. package/__chunks__/chunk-OXJW5VJL.js +2 -0
  349. package/__chunks__/{chunk-OARRFKEW.js → chunk-P6MRRO6I.js} +2 -2
  350. package/__chunks__/{chunk-XRA7MBOO.js → chunk-PCHRWVXC.js} +2 -2
  351. package/__chunks__/{chunk-FOTIYLGS.js → chunk-PGYJ74AD.js} +2 -2
  352. package/__chunks__/{chunk-67CWWMJV.js → chunk-PHYN544Z.js} +2 -2
  353. package/__chunks__/{chunk-DF2AQYO7.js → chunk-PMREAIGI.js} +2 -2
  354. package/__chunks__/{chunk-NTZ4J3ZX.js → chunk-PNSNXL7L.js} +2 -2
  355. package/__chunks__/{chunk-RDJETZ3F.js → chunk-PXUGFT47.js} +2 -2
  356. package/__chunks__/{chunk-L4OGNGVR.js → chunk-Q3OVBMP3.js} +2 -2
  357. package/__chunks__/{chunk-R5Z4JV3X.js → chunk-Q5WC7I3O.js} +2 -2
  358. package/__chunks__/{chunk-QZWFDZZ3.js → chunk-QD5QDTC3.js} +2 -2
  359. package/__chunks__/{chunk-42I454QK.js → chunk-QGGGF3OX.js} +2 -2
  360. package/__chunks__/{chunk-GW6MOKMY.js → chunk-QNUO32JN.js} +2 -2
  361. package/__chunks__/{chunk-3WJ37IJQ.js → chunk-QOZBVOHT.js} +2 -2
  362. package/__chunks__/{chunk-ANAT47NF.js → chunk-R4B6ID2N.js} +2 -2
  363. package/__chunks__/{chunk-RNVBV4W2.js → chunk-R6AS2UYG.js} +2 -2
  364. package/__chunks__/{chunk-5F5AUJIV.js → chunk-RLVLE6UU.js} +2 -2
  365. package/__chunks__/{chunk-SBWX3IYZ.js → chunk-S2KUPUGA.js} +2 -2
  366. package/__chunks__/chunk-S4BLIW3B.js +2 -0
  367. package/__chunks__/{chunk-GSH4BYXB.js → chunk-S653XWKA.js} +2 -2
  368. package/__chunks__/{chunk-PWZQTMIM.js → chunk-SBN47C2G.js} +2 -2
  369. package/__chunks__/{chunk-J36BPK32.js → chunk-SFP5Q2SB.js} +2 -2
  370. package/__chunks__/{chunk-GG736LLW.js → chunk-SGNT3E2X.js} +2 -2
  371. package/__chunks__/{chunk-7C6XIICR.js → chunk-SLZBO3FX.js} +2 -2
  372. package/__chunks__/{chunk-L6CEZHRZ.js → chunk-SXJLOBGK.js} +2 -2
  373. package/__chunks__/{chunk-CDWLWJH3.js → chunk-SYT2T7G2.js} +2 -2
  374. package/__chunks__/{chunk-SN6WAH6B.js → chunk-SZ3VLYKT.js} +2 -2
  375. package/__chunks__/{chunk-IPE5DLSE.js → chunk-T2CFMPMF.js} +2 -2
  376. package/__chunks__/{chunk-GBQ5D4O5.js → chunk-T2MFBGAA.js} +2 -2
  377. package/__chunks__/{chunk-E7PHXPI7.js → chunk-T2MIRLFN.js} +2 -2
  378. package/__chunks__/{chunk-AM7A2OOW.js → chunk-T34J5F2S.js} +2 -2
  379. package/__chunks__/chunk-T37QL64L.js +2 -0
  380. package/__chunks__/{chunk-KMTJAVQJ.js → chunk-T3NGVEED.js} +2 -2
  381. package/__chunks__/{chunk-AZWOFPFX.js → chunk-T4Q37HLR.js} +2 -2
  382. package/__chunks__/{chunk-ULRLEVOX.js → chunk-TAYARQBC.js} +2 -2
  383. package/__chunks__/{chunk-3P3MCUKK.js → chunk-TFQXTJWG.js} +2 -2
  384. package/__chunks__/chunk-TFVFRNSM.js +2 -0
  385. package/__chunks__/{chunk-JRM3LDSG.js → chunk-TGPRRERJ.js} +2 -2
  386. package/__chunks__/{chunk-4HLBQPQN.js → chunk-TJUHE354.js} +2 -2
  387. package/__chunks__/chunk-TKQGS7L2.js +2 -0
  388. package/__chunks__/{chunk-E66WVYJC.js → chunk-TTBVJAYG.js} +2 -2
  389. package/__chunks__/{chunk-GJLPTW4K.js → chunk-TTZVNWAK.js} +2 -2
  390. package/__chunks__/{chunk-Y6PJXZ2E.js → chunk-TWSAY73D.js} +2 -2
  391. package/__chunks__/{chunk-EDAS6Z7S.js → chunk-TZ6IR7KY.js} +2 -2
  392. package/__chunks__/{chunk-TZY5QRK7.js → chunk-U2ELIFGD.js} +2 -2
  393. package/__chunks__/{chunk-GSUIWNNM.js → chunk-U7BHVZDF.js} +2 -2
  394. package/__chunks__/{chunk-A2D7YVXP.js → chunk-UB7XMLMC.js} +2 -2
  395. package/__chunks__/{chunk-QM7QGMRH.js → chunk-UFE22DXI.js} +2 -2
  396. package/__chunks__/chunk-UGAJ6X3Z.js +2 -0
  397. package/__chunks__/chunk-UGJIORNP.js +2 -0
  398. package/__chunks__/{chunk-25PTVHEB.js → chunk-UIXYMFD4.js} +2 -2
  399. package/__chunks__/{chunk-4QHVTLCL.js → chunk-UM2Z6I3Z.js} +2 -2
  400. package/__chunks__/{chunk-QWB6ASJZ.js → chunk-UNW4PYCC.js} +2 -2
  401. package/__chunks__/{chunk-UIRTEEAJ.js → chunk-UPCMC3JF.js} +2 -2
  402. package/__chunks__/{chunk-ZUJVT2UK.js → chunk-UWZL6MUF.js} +2 -2
  403. package/__chunks__/{chunk-U53EBQ6E.js → chunk-UZ5EL5IA.js} +2 -2
  404. package/__chunks__/{chunk-W6TJJEHF.js → chunk-VGVAZOOL.js} +2 -2
  405. package/__chunks__/{chunk-MDNDUSGB.js → chunk-VHHIARAI.js} +2 -2
  406. package/__chunks__/{chunk-AWP342D7.js → chunk-VOS5AZ4K.js} +2 -2
  407. package/__chunks__/{chunk-Z7JWZURJ.js → chunk-VZZVQSTN.js} +2 -2
  408. package/__chunks__/{chunk-ZOMDIW6A.js → chunk-W4GD6OCO.js} +2 -2
  409. package/__chunks__/{chunk-VU5G7W7V.js → chunk-W5D3A5ES.js} +2 -2
  410. package/__chunks__/{chunk-6XRDVX6C.js → chunk-WB2WVDZA.js} +2 -2
  411. package/__chunks__/{chunk-LBJUKBPW.js → chunk-WCGXNTPB.js} +2 -2
  412. package/__chunks__/{chunk-SUHRUIOX.js → chunk-WJHMRQCO.js} +2 -2
  413. package/__chunks__/chunk-WR6IIZFW.js +2 -0
  414. package/__chunks__/{chunk-EKK5P7LA.js → chunk-WRKOOEXZ.js} +2 -2
  415. package/__chunks__/{chunk-OR4L5DIF.js → chunk-WRKQTXD4.js} +2 -2
  416. package/__chunks__/{chunk-5XAXZ3NX.js → chunk-WU2RFM5A.js} +2 -2
  417. package/__chunks__/{chunk-7CGLDJOD.js → chunk-X7SBGOMA.js} +2 -2
  418. package/__chunks__/{chunk-BB5K7AMG.js → chunk-XACM7U6A.js} +2 -2
  419. package/__chunks__/{chunk-OOZSFHYH.js → chunk-XARXYP2R.js} +2 -2
  420. package/__chunks__/{chunk-DCYIMALR.js → chunk-XGTZDEYC.js} +2 -2
  421. package/__chunks__/{chunk-UKVVZZPC.js → chunk-XRHEAXKK.js} +2 -2
  422. package/__chunks__/{chunk-OYAY4A6E.js → chunk-XVZERATD.js} +2 -2
  423. package/__chunks__/{chunk-TXM7RATR.js → chunk-Y5PCCHR4.js} +2 -2
  424. package/__chunks__/{chunk-L4RGRP2I.js → chunk-Y7U5PXM4.js} +2 -2
  425. package/__chunks__/chunk-YABBPNUR.js +2 -0
  426. package/__chunks__/{chunk-6PZJ6OYX.js → chunk-YCWMLUF4.js} +2 -2
  427. package/__chunks__/{chunk-5X3T3BM4.js → chunk-YGKDW2MQ.js} +2 -2
  428. package/__chunks__/{chunk-ZCM6OSDK.js → chunk-YJXND7MN.js} +2 -2
  429. package/__chunks__/{chunk-X3JF7AJ7.js → chunk-YLMQQGTH.js} +2 -2
  430. package/__chunks__/{chunk-RVD7ASJL.js → chunk-YRIWEATY.js} +2 -2
  431. package/__chunks__/{chunk-NYM7F3NU.js → chunk-YRLJP2A7.js} +2 -2
  432. package/__chunks__/{chunk-O7TAHBTL.js → chunk-YRR6KBN2.js} +2 -2
  433. package/__chunks__/{chunk-WZ4T4C6J.js → chunk-YRS6U35R.js} +2 -2
  434. package/__chunks__/chunk-YW6K2R7N.js +2 -0
  435. package/__chunks__/chunk-YWMWYHIA.js +2 -0
  436. package/__chunks__/{chunk-EVWIXAZV.js → chunk-YYBTFRCM.js} +2 -2
  437. package/__chunks__/{chunk-FNE7PA64.js → chunk-Z2VZSXDK.js} +2 -2
  438. package/__chunks__/{chunk-RNUOTUNR.js → chunk-Z3ZWK4EM.js} +2 -2
  439. package/__chunks__/{chunk-PEYRK6DJ.js → chunk-Z4ABT7NG.js} +2 -2
  440. package/__chunks__/{chunk-Z56HIYKS.js → chunk-ZCM6WCXA.js} +2 -2
  441. package/__chunks__/{chunk-LO2RKWHN.js → chunk-ZMRSOKUW.js} +2 -2
  442. package/__chunks__/chunk-ZQIOXJ4W.js +2 -0
  443. package/__chunks__/chunk-ZTWKQMJR.js +2 -0
  444. package/__chunks__/chunk-ZX7JX6JP.js +2 -0
  445. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  446. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  447. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
  448. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  449. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
  450. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  451. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  452. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  453. package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
  454. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +5 -5
  455. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +5 -5
  456. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +3 -3
  457. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +3 -3
  458. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +10 -10
  459. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +7 -7
  460. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +4 -4
  461. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +10 -10
  462. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  463. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +6 -6
  464. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +3 -3
  465. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +4 -4
  466. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +4 -4
  467. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  468. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +4 -4
  469. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +4 -4
  470. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +4 -4
  471. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +4 -4
  472. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +2 -2
  473. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +2 -2
  474. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +4 -4
  475. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +4 -4
  476. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +3 -3
  477. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +3 -3
  478. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +2 -2
  479. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +2 -2
  480. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +4 -4
  481. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +4 -4
  482. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
  483. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +2 -2
  484. package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
  485. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +6 -6
  486. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +9 -9
  487. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  488. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +4 -4
  489. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  490. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  491. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  492. package/__commonjs/UI/TransactionsToastList/index.js +9 -9
  493. package/__commonjs/UI/UsdValue/UsdValue.js +2 -2
  494. package/__commonjs/UI/UsdValue/index.js +2 -2
  495. package/__commonjs/UI/index.js +74 -74
  496. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +7 -7
  497. package/__commonjs/UI/pages/UnlockPage/index.js +10 -10
  498. package/__commonjs/UI/pages/index.js +10 -10
  499. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +5 -5
  500. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
  501. package/__commonjs/UI/walletConnect/index.js +5 -5
  502. package/__commonjs/__mocks__/accountConfig.js +1 -1
  503. package/__commonjs/__mocks__/index.js +1 -1
  504. package/__commonjs/__mocks__/server.js +1 -1
  505. package/__commonjs/__mocks__/utils/index.js +1 -1
  506. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  507. package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  508. package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  509. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  510. package/__commonjs/apiCalls/configuration/index.js +1 -1
  511. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  512. package/__commonjs/components/ProviderInitializer.js +1 -1
  513. package/__commonjs/constants/network.js +1 -1
  514. package/__commonjs/hooks/account/index.js +1 -1
  515. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  516. package/__commonjs/hooks/index.js +1 -1
  517. package/__commonjs/hooks/login/index.js +1 -1
  518. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  519. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  520. package/__commonjs/hooks/login/useLoginService.js +1 -1
  521. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  522. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  523. package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
  524. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  525. package/__commonjs/hooks/signMessage/index.js +1 -1
  526. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  527. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  528. package/__commonjs/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  529. package/__commonjs/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
  530. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  531. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  532. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  533. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  534. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  535. package/__commonjs/hooks/userInterface/index.js +1 -1
  536. package/__commonjs/hooks/userInterface/useIsDappModalVisible.js +1 -1
  537. package/__commonjs/providers/accountProvider.js +1 -1
  538. package/__commonjs/providers/index.js +1 -1
  539. package/__commonjs/providers/utils.js +1 -1
  540. package/__commonjs/providers/webviewProvider/index.js +1 -1
  541. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  542. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  543. package/__commonjs/reduxStore/DappProviderContext.js +1 -1
  544. package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  545. package/__commonjs/reduxStore/persistConfig.js +1 -1
  546. package/__commonjs/reduxStore/selectors/accountInfoSelectors.js +1 -1
  547. package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
  548. package/__commonjs/reduxStore/selectors/helpers.js +1 -1
  549. package/__commonjs/reduxStore/selectors/loginInfoSelectors.js +1 -1
  550. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  551. package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
  552. package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  553. package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
  554. package/__commonjs/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  555. package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
  556. package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
  557. package/__commonjs/reduxStore/slices/index.js +1 -1
  558. package/__commonjs/reduxStore/slices/modalsSlice.js +1 -1
  559. package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  560. package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
  561. package/__commonjs/reduxStore/store.js +1 -1
  562. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  563. package/__commonjs/services/transactions/isCrossShardTransaction.js +1 -1
  564. package/__commonjs/services/transactions/signTransactions.js +1 -1
  565. package/__commonjs/services/transactions/utils.js +1 -1
  566. package/__commonjs/types/enums.types.js +1 -1
  567. package/__commonjs/types/index.js +1 -1
  568. package/__commonjs/utils/account/getAccount.js +1 -1
  569. package/__commonjs/utils/account/getAccountProviderType.js +1 -1
  570. package/__commonjs/utils/account/getAddress.js +1 -1
  571. package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
  572. package/__commonjs/utils/account/getLatestNonce.js +1 -1
  573. package/__commonjs/utils/account/index.js +1 -1
  574. package/__commonjs/utils/account/refreshAccount.js +1 -1
  575. package/__commonjs/utils/account/setNonce.js +1 -1
  576. package/__commonjs/utils/account/signMessage.js +1 -1
  577. package/__commonjs/utils/index.js +2 -2
  578. package/__commonjs/utils/logout.js +1 -1
  579. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  580. package/__commonjs/utils/operations/denominate.js +1 -1
  581. package/__commonjs/utils/operations/formatAmount.js +1 -1
  582. package/__commonjs/utils/operations/index.js +1 -1
  583. package/__commonjs/utils/operations/nominate.js +1 -1
  584. package/__commonjs/utils/platform/detectCurrentPlatform.js +1 -1
  585. package/__commonjs/utils/smartContracts.js +1 -1
  586. package/__commonjs/utils/toasts/customToastsActions.js +1 -1
  587. package/__commonjs/utils/toasts/index.js +1 -1
  588. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  589. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  590. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  591. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  592. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  593. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  594. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  595. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  596. package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
  597. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  598. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  599. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  600. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  601. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  602. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  603. package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  604. package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  605. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  606. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  607. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  608. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
  609. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
  610. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +3 -3
  611. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  612. package/__commonjs/utils/transactions/transactionStateByStatus.js +1 -1
  613. package/__commonjs/utils/validation/maxDecimals.js +1 -1
  614. package/__commonjs/web/hooks/index.js +1 -1
  615. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  616. package/__commonjs/web/index.js +1 -1
  617. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  618. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  619. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  620. package/__commonjs/wrappers/index.js +1 -1
  621. package/__mocks__/accountConfig.js +1 -1
  622. package/__mocks__/index.js +1 -1
  623. package/__mocks__/server.js +1 -1
  624. package/__mocks__/utils/index.js +1 -1
  625. package/__mocks__/utils/renderWithProvider.js +1 -1
  626. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  627. package/apiCalls/accounts/index.js +1 -1
  628. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  629. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  630. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  631. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  632. package/apiCalls/configuration/index.js +1 -1
  633. package/apiCalls/getScamAddressData.js +1 -1
  634. package/apiCalls/index.js +1 -1
  635. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  636. package/apiCalls/transactions/index.js +1 -1
  637. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  638. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  639. package/apiCalls/utils/index.js +1 -1
  640. package/components/LogoutListener/LogoutListener.js +1 -1
  641. package/components/LogoutListener/helpers/index.js +1 -1
  642. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  643. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  644. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  645. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  646. package/components/LogoutListener/index.js +1 -1
  647. package/components/ProviderInitializer.js +1 -1
  648. package/components/TransactionSender/TransactionSender.js +1 -1
  649. package/components/TransactionSender/index.js +1 -1
  650. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  651. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  652. package/components/TransactionsTracker/index.js +1 -1
  653. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  654. package/constants/index.js +1 -1
  655. package/constants/network.js +1 -1
  656. package/hooks/account/index.js +1 -1
  657. package/hooks/account/useGetAccount.js +1 -1
  658. package/hooks/account/useGetAccountInfo.js +1 -1
  659. package/hooks/account/useGetAccountProvider.js +1 -1
  660. package/hooks/account/useGetIsLoggedIn.js +1 -1
  661. package/hooks/account/useGetLoginInfo.js +1 -1
  662. package/hooks/account/useGetWebsocketEvent.js +1 -1
  663. package/hooks/index.js +1 -1
  664. package/hooks/login/index.js +1 -1
  665. package/hooks/login/useExtensionLogin.js +1 -1
  666. package/hooks/login/useLedgerLogin.js +1 -1
  667. package/hooks/login/useLoginService.js +1 -1
  668. package/hooks/login/useOperaLogin.js +1 -1
  669. package/hooks/login/useWalletConnectLogin.js +1 -1
  670. package/hooks/login/useWalletConnectV2Login.js +1 -1
  671. package/hooks/login/useWebViewLogin.js +1 -1
  672. package/hooks/login/useWebWalletLogin.js +1 -1
  673. package/hooks/signMessage/index.js +1 -1
  674. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  675. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  676. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  677. package/hooks/signMessage/useSignMessage.js +1 -1
  678. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  679. package/hooks/transactions/helpers/index.js +1 -1
  680. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  681. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  682. package/hooks/transactions/index.js +1 -1
  683. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  684. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  685. package/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
  686. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  687. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  688. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  689. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  690. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  691. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  692. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  693. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  694. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  695. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  696. package/hooks/transactions/useGetTokenDetails.js +1 -1
  697. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  698. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  699. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  700. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  701. package/hooks/transactions/useSignTransactions.js +1 -1
  702. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  703. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  704. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  705. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  706. package/hooks/useGetNetworkConfig.js +1 -1
  707. package/hooks/useGetNotification.js +1 -1
  708. package/hooks/userInterface/index.js +1 -1
  709. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  710. package/hooks/websocketListener/index.js +1 -1
  711. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  712. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  713. package/models/index.js +1 -1
  714. package/models/newTransaction.js +1 -1
  715. package/package.json +2 -2
  716. package/providers/accountProvider.js +1 -1
  717. package/providers/index.js +1 -1
  718. package/providers/utils.js +1 -1
  719. package/providers/webviewProvider/index.js +1 -1
  720. package/providers/webviewProvider/requestMethods.js +1 -1
  721. package/providers/webviewProvider/webviewProvider.js +1 -1
  722. package/reduxStore/DappProviderContext.js +1 -1
  723. package/reduxStore/commonActions.js +1 -1
  724. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  725. package/reduxStore/persistConfig.js +1 -1
  726. package/reduxStore/persistedRootReducer.d.ts +1 -1
  727. package/reduxStore/persistedRootReducer.js +1 -1
  728. package/reduxStore/reducers.js +1 -1
  729. package/reduxStore/rootReducer.js +1 -1
  730. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  731. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  732. package/reduxStore/selectors/helpers.js +1 -1
  733. package/reduxStore/selectors/index.js +1 -1
  734. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  735. package/reduxStore/selectors/modalsSelectors.js +1 -1
  736. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  737. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  738. package/reduxStore/selectors/toastsSelectors.js +1 -1
  739. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  740. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  741. package/reduxStore/slices/accountInfoSlice.js +1 -1
  742. package/reduxStore/slices/dappModalsSlice.js +1 -1
  743. package/reduxStore/slices/index.js +1 -1
  744. package/reduxStore/slices/loginInfoSlice.js +1 -1
  745. package/reduxStore/slices/modalsSlice.js +1 -1
  746. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  747. package/reduxStore/slices/toastsSlice.js +1 -1
  748. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  749. package/reduxStore/slices/transactionsSlice.js +1 -1
  750. package/reduxStore/store.js +1 -1
  751. package/services/index.js +1 -1
  752. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  753. package/services/transactions/clearTransactions.js +1 -1
  754. package/services/transactions/index.js +1 -1
  755. package/services/transactions/isCrossShardTransaction.js +1 -1
  756. package/services/transactions/sendTransactions.js +1 -1
  757. package/services/transactions/signTransactions.js +1 -1
  758. package/services/transactions/transformAndSignTransactions.js +1 -1
  759. package/services/transactions/utils.js +1 -1
  760. package/types/enums.types.d.ts +2 -1
  761. package/types/enums.types.js +1 -1
  762. package/types/index.js +1 -1
  763. package/utils/account/getAccount.js +1 -1
  764. package/utils/account/getAccountBalance.js +1 -1
  765. package/utils/account/getAccountProviderType.js +1 -1
  766. package/utils/account/getAccountShard.js +1 -1
  767. package/utils/account/getAddress.js +1 -1
  768. package/utils/account/getIsProviderEqualTo.js +1 -1
  769. package/utils/account/getLatestNonce.js +1 -1
  770. package/utils/account/getShardOfAddress.js +1 -1
  771. package/utils/account/index.js +1 -1
  772. package/utils/account/loginWithExternalProvider.js +1 -1
  773. package/utils/account/refreshAccount.js +1 -1
  774. package/utils/account/setNonce.js +1 -1
  775. package/utils/account/signMessage.js +1 -1
  776. package/utils/getIsLoggedIn.js +1 -1
  777. package/utils/index.js +1 -1
  778. package/utils/logout.js +1 -1
  779. package/utils/network/getChainID.js +1 -1
  780. package/utils/network/getEgldLabel.js +1 -1
  781. package/utils/network/getNetworkConfig.js +1 -1
  782. package/utils/network/index.js +1 -1
  783. package/utils/operations/calculateFeeLimit.js +1 -1
  784. package/utils/operations/denominate.js +1 -1
  785. package/utils/operations/formatAmount.js +1 -1
  786. package/utils/operations/index.js +1 -1
  787. package/utils/operations/nominate.js +1 -1
  788. package/utils/operations/parseAmount.js +1 -1
  789. package/utils/platform/detectCurrentPlatform.js +1 -1
  790. package/utils/smartContracts.js +1 -1
  791. package/utils/toasts/customToastsActions.js +1 -1
  792. package/utils/toasts/index.js +1 -1
  793. package/utils/transactions/getAllTransactionsLink.js +1 -1
  794. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  795. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  796. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  797. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  798. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  799. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  800. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  801. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  802. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  803. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  804. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  805. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  806. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  807. package/utils/transactions/getTokenFromData.js +1 -1
  808. package/utils/transactions/getTransactionLink.js +1 -1
  809. package/utils/transactions/index.js +1 -1
  810. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  811. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  812. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  813. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  814. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  815. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  816. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  817. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  818. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  819. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  820. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  821. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  822. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  823. package/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
  824. package/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
  825. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  826. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  827. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  828. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  829. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  830. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  831. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  832. package/utils/transactions/transactionStateByStatus.js +1 -1
  833. package/utils/validation/index.js +1 -1
  834. package/utils/validation/maxDecimals.js +1 -1
  835. package/utils/validation/stringIsFloat.js +1 -1
  836. package/web/hooks/index.js +1 -1
  837. package/web/hooks/useIdleTimer.js +1 -1
  838. package/web/index.js +1 -1
  839. package/wrappers/AppInitializer.js +1 -1
  840. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  841. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  842. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  843. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  844. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  845. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  846. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  847. package/wrappers/DappProvider/CustomComponents.js +1 -1
  848. package/wrappers/DappProvider/index.js +1 -1
  849. package/wrappers/index.js +1 -1
  850. package/__chunks__/chunk-2ZTVJLOJ.js +0 -2
  851. package/__chunks__/chunk-37KH4Z57.js +0 -2
  852. package/__chunks__/chunk-3O4GBHR3.js +0 -2
  853. package/__chunks__/chunk-43CTUMZY.js +0 -2
  854. package/__chunks__/chunk-4DKSPOQC.js +0 -2
  855. package/__chunks__/chunk-52LWAKUU.js +0 -2
  856. package/__chunks__/chunk-66VVLQWA.js +0 -2
  857. package/__chunks__/chunk-6E7UMUAT.js +0 -2
  858. package/__chunks__/chunk-7PMD4JRS.js +0 -2
  859. package/__chunks__/chunk-A274U45O.js +0 -2
  860. package/__chunks__/chunk-A6R7V6U3.js +0 -2
  861. package/__chunks__/chunk-AJX7U6NK.js +0 -2
  862. package/__chunks__/chunk-BBDZAYAU.js +0 -2
  863. package/__chunks__/chunk-BFSRVA3J.js +0 -2
  864. package/__chunks__/chunk-BQ4N52MW.js +0 -2
  865. package/__chunks__/chunk-DKQCBXAE.js +0 -2
  866. package/__chunks__/chunk-EIE6T4QD.js +0 -2
  867. package/__chunks__/chunk-F7E7BINB.js +0 -2
  868. package/__chunks__/chunk-FA2UEZM2.js +0 -2
  869. package/__chunks__/chunk-FLZGZET2.js +0 -2
  870. package/__chunks__/chunk-FRNVGEYR.js +0 -2
  871. package/__chunks__/chunk-GNEQWXJE.js +0 -2
  872. package/__chunks__/chunk-GZIWNMCW.js +0 -2
  873. package/__chunks__/chunk-IL5JDJWD.js +0 -2
  874. package/__chunks__/chunk-IUPXRKIH.js +0 -2
  875. package/__chunks__/chunk-JDGBXBDB.js +0 -2
  876. package/__chunks__/chunk-KW6HYOXT.js +0 -2
  877. package/__chunks__/chunk-LIOPBJAR.js +0 -2
  878. package/__chunks__/chunk-LLFZUOHV.js +0 -2
  879. package/__chunks__/chunk-LNMQ6RED.js +0 -2
  880. package/__chunks__/chunk-MBF7VDMJ.js +0 -2
  881. package/__chunks__/chunk-MQNEHNFG.js +0 -2
  882. package/__chunks__/chunk-OEMRN6RA.js +0 -2
  883. package/__chunks__/chunk-OWV63OFS.js +0 -2
  884. package/__chunks__/chunk-P7ETYQLM.js +0 -2
  885. package/__chunks__/chunk-PJU2UKAU.js +0 -2
  886. package/__chunks__/chunk-QWA762UQ.js +0 -2
  887. package/__chunks__/chunk-RLBSVH7A.js +0 -2
  888. package/__chunks__/chunk-UXUA2YCT.js +0 -2
  889. package/__chunks__/chunk-VLFWEDOB.js +0 -2
  890. package/__chunks__/chunk-VMEHK3CK.js +0 -2
  891. package/__chunks__/chunk-VRE5TYWU.js +0 -2
  892. package/__chunks__/chunk-W5XMZRTH.js +0 -2
  893. package/__chunks__/chunk-WDVYNUMZ.js +0 -2
  894. package/__chunks__/chunk-Y4MABHXD.js +0 -2
  895. package/__chunks__/chunk-YR7YPWTF.js +0 -2
  896. package/__chunks__/chunk-ZJPGJ7QI.js +0 -2
  897. package/__chunks__/chunk-ZSB5Q3QB.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Oe=Object.create;var P=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var qe=(t,e)=>()=>(t&&(e=t(t=0)),e);var M=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),He=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Me(e))!ze.call(t,i)&&i!==r&&P(t,i,{get:()=>e[i],enumerable:!(n=Pe(e,i))||n.enumerable});return t};var oe=(t,e,r)=>(r=t!=null?Oe(Ge(t)):{},ae(e||!t||!t.__esModule?P(r,"default",{value:t,enumerable:!0}):r,t)),Ve=t=>ae(P({},"__esModule",{value:!0}),t);var ce=M(G=>{"use strict";l();G.byteLength=We;G.toByteArray=Xe;G.fromByteArray=Ze;var k=[],b=[],je=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,se=V.length;F<se;++F)k[F]=V[F],b[V.charCodeAt(F)]=F;var F,se;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function le(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function We(t){var e=le(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ye(t,e,r){return(e+r)*3/4-r}function Xe(t){var e,r=le(t),n=r[0],i=r[1],a=new je(Ye(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=b[t.charCodeAt(u)]<<18|b[t.charCodeAt(u+1)]<<12|b[t.charCodeAt(u+2)]<<6|b[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(u)]<<2|b[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(u)]<<10|b[t.charCodeAt(u+1)]<<4|b[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Ze(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Qe(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ue=M(j=>{l();j.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,d=u>>1,g=-7,p=r?i-1:0,v=r?-1:1,T=t[e+p];for(p+=v,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+p],p+=v,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+p],p+=v,g-=8);if(a===0)a=1-d;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};j.write=function(t,e,r,n,i,a){var o,c,u,d=a*8-i-1,g=(1<<d)-1,p=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,D=n?1:-1,Ue=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+p>=1?e+=v/u:e+=v*Math.pow(2,1-p),e*u>=2&&(o++,u/=2),o+p>=g?(c=0,o=g):o+p>=1?(c=(e*u-1)*Math.pow(2,i),o=o+p):(c=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=D,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=D,o/=256,d-=8);t[r+T-D]|=Ue*128}});var ke=M(U=>{"use strict";l();var W=ce(),B=ue(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=nr;U.INSPECT_MAX_BYTES=50;var z=2147483647;U.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=Je();!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 Je(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(E(t,ArrayBuffer)||t&&E(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(t,SharedArrayBuffer)||t&&E(t.buffer,SharedArrayBuffer)))return X(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=tr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function he(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function $e(t,e,r){return he(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function Q(t){return he(t),R(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=me(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Y(t){for(var e=t.length<0?0:Z(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(E(t,Uint8Array)){var e=new Uint8Array(t);return X(e.buffer,e.byteOffset,e.byteLength)}return Y(t)}function X(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function tr(t){if(s.isBuffer(t)){var e=Z(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||J(t.length)?R(0):Y(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Y(t.data)}function Z(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function nr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),E(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(E(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function me(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||E(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=me;function ir(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return fr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function N(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)N(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)N(this,r,r+3),N(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)N(this,r,r+7),N(this,r+1,r+6),N(this,r+2,r+5),N(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):ir.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),p=0;p<u;++p)if(d[p]!==g[p]){o=d[p],c=g[p];break}return o<c?-1:c<o?1:0};function ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,J(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:de(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):de(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function de(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(T,D){return a===1?T[D]:T.readUInt16BE(D*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(u(t,d)===u(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var p=!0,v=0;v<c;v++)if(u(t,d+v)!==u(e,v)){p=!1;break}if(p)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ye(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ye(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(J(c))return o;t[r+o]=c}return o}function or(t,e,r,n){return q(K(e,t.length-r),t,r,n)}function sr(t,e,r,n){return q(xr(e),t,r,n)}function lr(t,e,r,n){return q(ve(e),t,r,n)}function cr(t,e,r,n){return q(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ur(t,e,r){return e===0&&r===t.length?W.fromByteArray(t):W.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,d,g,p;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(p=(a&31)<<6|u&63,p>127&&(o=p));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(p=(a&15)<<12|(u&63)<<6|d&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:u=t[i+1],d=t[i+2],g=t[i+3],(u&192)===128&&(d&192)===128&&(g&192)===128&&(p=(a&15)<<18|(u&63)<<12|(d&63)<<6|g&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ge=4096;function pr(t){var e=t.length;if(e<=ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ge));return r}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function gr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function fr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function hr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function we(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Te(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var mr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(mr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return W.toByteArray(yr(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function E(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function J(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Re=M((Nr,Ae)=>{l();var y=Ae.exports={},_,I;function $(){throw new Error("setTimeout has not been defined")}function ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=$}catch(t){_=$}try{typeof clearTimeout=="function"?I=clearTimeout:I=ee}catch(t){I=ee}})();function Ee(t){if(_===setTimeout)return setTimeout(t,0);if((_===$||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function br(t){if(I===clearTimeout)return clearTimeout(t);if((I===ee||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],O=!1,C,H=-1;function vr(){!O||!C||(O=!1,C.length?S=C.concat(S):H=-1,S.length&&_e())}function _e(){if(!O){var t=Ee(vr);O=!0;for(var e=S.length;e;){for(C=S,S=[];++H<e;)C&&C[H].run();H=-1,e=S.length}C=null,O=!1,br(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Ie(t,e)),S.length===1&&!O&&Ee(_e)};function Ie(t,e){this.fun=t,this.array=e}Ie.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,Cr,l=qe(()=>{f=oe(ke()),h=oe(Re()),Cr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Ar={};He(Ar,{getAreTransactionsOnSameShard:()=>Ir});module.exports=Ve(Ar);l();l();var ne=require("@multiversx/sdk-core/out");l();l();l();l();l();l();l();l();l();l();l();l();l();l();var re={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:Se,egldLabel:Jr}=re["devnet"],{chainId:Le,egldLabel:$r}=re["testnet"],{chainId:Fe,egldLabel:et}=re["mainnet"];var rt={["devnet"]:Se,["testnet"]:Le,["mainnet"]:Fe},tt={[Se]:"devnet",[Le]:"testnet",[Fe]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Ne=4294967295;var kr=t=>{let e=f.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=f.Buffer.alloc(32).fill(0);return t.equals(n)},te=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=f.Buffer.from(t,"hex"),a=i[31];if(kr(i))return Ne;let o=a&r;return o>3-1&&(o=a&n),o}catch(e){return-1}};function Ce({receiverAddress:t,senderShard:e,senderAddress:r}){try{let n=new ne.Address(t),i=te(n.pubkey());if(e==null&&r!=null){let a=new ne.Address(r);return te(a)===i}return i===e}catch(n){return!1}}l();var ie=require("@multiversx/sdk-core");l();var Er=require("@multiversx/sdk-core");l();function De(t){try{return f.Buffer.from(t,"base64").toString()===atob(t)}catch(e){return!1}}function Be({receiver:t,data:e}){try{if(!e)return t;let r=De(e)?ie.TransactionPayload.fromEncoded(e).toString():e,n=_r(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function _r(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}var Ir=(t,e=1)=>t!=null?t.reduce((r,{receiver:n,data:i})=>{let a=Be({receiver:n,data:i!=null?i:""});return a==null?r:r&&Ce({receiverAddress:a,senderShard:e})},!0):!0;0&&(module.exports={getAreTransactionsOnSameShard});
1
+ "use strict";var Oe=Object.create;var P=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var qe=(t,e)=>()=>(t&&(e=t(t=0)),e);var M=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),He=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Me(e))!ze.call(t,i)&&i!==r&&P(t,i,{get:()=>e[i],enumerable:!(n=Pe(e,i))||n.enumerable});return t};var oe=(t,e,r)=>(r=t!=null?Oe(Ge(t)):{},ae(e||!t||!t.__esModule?P(r,"default",{value:t,enumerable:!0}):r,t)),Ve=t=>ae(P({},"__esModule",{value:!0}),t);var ce=M(G=>{"use strict";l();G.byteLength=We;G.toByteArray=Xe;G.fromByteArray=Ze;var k=[],b=[],je=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,se=V.length;F<se;++F)k[F]=V[F],b[V.charCodeAt(F)]=F;var F,se;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function le(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function We(t){var e=le(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ye(t,e,r){return(e+r)*3/4-r}function Xe(t){var e,r=le(t),n=r[0],i=r[1],a=new je(Ye(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=b[t.charCodeAt(u)]<<18|b[t.charCodeAt(u+1)]<<12|b[t.charCodeAt(u+2)]<<6|b[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(u)]<<2|b[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(u)]<<10|b[t.charCodeAt(u+1)]<<4|b[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Ze(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Qe(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ue=M(j=>{l();j.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,d=u>>1,g=-7,p=r?i-1:0,v=r?-1:1,T=t[e+p];for(p+=v,a=T&(1<<-g)-1,T>>=-g,g+=c;g>0;a=a*256+t[e+p],p+=v,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+p],p+=v,g-=8);if(a===0)a=1-d;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};j.write=function(t,e,r,n,i,a){var o,c,u,d=a*8-i-1,g=(1<<d)-1,p=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,D=n?1:-1,Ue=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+p>=1?e+=v/u:e+=v*Math.pow(2,1-p),e*u>=2&&(o++,u/=2),o+p>=g?(c=0,o=g):o+p>=1?(c=(e*u-1)*Math.pow(2,i),o=o+p):(c=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=D,c/=256,i-=8);for(o=o<<i|c,d+=i;d>0;t[r+T]=o&255,T+=D,o/=256,d-=8);t[r+T-D]|=Ue*128}});var ke=M(U=>{"use strict";l();var W=ce(),B=ue(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=nr;U.INSPECT_MAX_BYTES=50;var z=2147483647;U.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=Je();!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 Je(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return X(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=tr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function he(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function $e(t,e,r){return he(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function Q(t){return he(t),R(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=me(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Y(t){for(var e=t.length<0?0:Z(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return X(e.buffer,e.byteOffset,e.byteLength)}return Y(t)}function X(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function tr(t){if(s.isBuffer(t)){var e=Z(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||J(t.length)?R(0):Y(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Y(t.data)}function Z(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function nr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(_(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 me(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=me;function ir(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return fr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function N(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)N(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)N(this,r,r+3),N(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)N(this,r,r+7),N(this,r+1,r+6),N(this,r+2,r+5),N(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):ir.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),d=this.slice(i,a),g=e.slice(r,n),p=0;p<u;++p)if(d[p]!==g[p]){o=d[p],c=g[p];break}return o<c?-1:c<o?1:0};function ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,J(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:de(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):de(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function de(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(T,D){return a===1?T[D]:T.readUInt16BE(D*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(u(t,d)===u(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+c>o&&(r=o-c),d=r;d>=0;d--){for(var p=!0,v=0;v<c;v++)if(u(t,d+v)!==u(e,v)){p=!1;break}if(p)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ye(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ye(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(J(c))return o;t[r+o]=c}return o}function or(t,e,r,n){return q(K(e,t.length-r),t,r,n)}function sr(t,e,r,n){return q(xr(e),t,r,n)}function lr(t,e,r,n){return q(ve(e),t,r,n)}function cr(t,e,r,n){return q(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ur(t,e,r){return e===0&&r===t.length?W.fromByteArray(t):W.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,d,g,p;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(p=(a&31)<<6|u&63,p>127&&(o=p));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(p=(a&15)<<12|(u&63)<<6|d&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:u=t[i+1],d=t[i+2],g=t[i+3],(u&192)===128&&(d&192)===128&&(g&192)===128&&(p=(a&15)<<18|(u&63)<<12|(d&63)<<6|g&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ge=4096;function pr(t){var e=t.length;if(e<=ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ge));return r}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function gr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function fr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function hr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function we(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Te(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var mr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(mr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return W.toByteArray(yr(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function J(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Re=M((Nr,Ae)=>{l();var y=Ae.exports={},E,I;function $(){throw new Error("setTimeout has not been defined")}function ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=$}catch(t){E=$}try{typeof clearTimeout=="function"?I=clearTimeout:I=ee}catch(t){I=ee}})();function _e(t){if(E===setTimeout)return setTimeout(t,0);if((E===$||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function br(t){if(I===clearTimeout)return clearTimeout(t);if((I===ee||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],O=!1,C,H=-1;function vr(){!O||!C||(O=!1,C.length?S=C.concat(S):H=-1,S.length&&Ee())}function Ee(){if(!O){var t=_e(vr);O=!0;for(var e=S.length;e;){for(C=S,S=[];++H<e;)C&&C[H].run();H=-1,e=S.length}C=null,O=!1,br(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Ie(t,e)),S.length===1&&!O&&_e(Ee)};function Ie(t,e){this.fun=t,this.array=e}Ie.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,Cr,l=qe(()=>{f=oe(ke()),h=oe(Re()),Cr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Ar={};He(Ar,{getAreTransactionsOnSameShard:()=>Ir});module.exports=Ve(Ar);l();l();var ne=require("@multiversx/sdk-core/out");l();l();l();l();l();l();l();l();l();l();l();l();l();l();var re={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:Se,egldLabel:Jr}=re["devnet"],{chainId:Le,egldLabel:$r}=re["testnet"],{chainId:Fe,egldLabel:et}=re["mainnet"];var rt={["devnet"]:Se,["testnet"]:Le,["mainnet"]:Fe},tt={[Se]:"devnet",[Le]:"testnet",[Fe]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");var Ne=4294967295;var kr=t=>{let e=f.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=f.Buffer.alloc(32).fill(0);return t.equals(n)},te=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=f.Buffer.from(t,"hex"),a=i[31];if(kr(i))return Ne;let o=a&r;return o>3-1&&(o=a&n),o}catch(e){return-1}};function Ce({receiverAddress:t,senderShard:e,senderAddress:r}){try{let n=new ne.Address(t),i=te(n.pubkey());if(e==null&&r!=null){let a=new ne.Address(r);return te(a)===i}return i===e}catch(n){return!1}}l();var ie=require("@multiversx/sdk-core");l();var _r=require("@multiversx/sdk-core");l();function De(t){try{return f.Buffer.from(t,"base64").toString()===atob(t)}catch(e){return!1}}function Be({receiver:t,data:e}){try{if(!e)return t;let r=De(e)?ie.TransactionPayload.fromEncoded(e).toString():e,n=Er(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function Er(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}var Ir=(t,e=1)=>t!=null?t.reduce((r,{receiver:n,data:i})=>{let a=Be({receiver:n,data:i!=null?i:""});return a==null?r:r&&Ce({receiverAddress:a,senderShard:e})},!0):!0;0&&(module.exports={getAreTransactionsOnSameShard});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Xe=Object.create;var $=Object.defineProperty;var Ze=Object.getOwnPropertyDescriptor;var Qe=Object.getOwnPropertyNames;var Ke=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var Y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)$(t,r,{get:e[r],enumerable:!0})},ge=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qe(e))!Je.call(t,i)&&i!==r&&$(t,i,{get:()=>e[i],enumerable:!(n=Ze(e,i))||n.enumerable});return t};var q=(t,e,r)=>(r=t!=null?Xe(Ke(t)):{},ge(e||!t||!t.__esModule?$(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>ge($({},"__esModule",{value:!0}),t);var he=Y(X=>{"use strict";u();X.byteLength=ir;X.toByteArray=or;X.fromByteArray=cr;var I=[],v=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(B=0,me=re.length;B<me;++B)I[B]=re[B],v[re.charCodeAt(B)]=B;var B,me;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ir(t){var e=fe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function or(t){var e,r=fe(t),n=r[0],i=r[1],a=new nr(ar(t,n,i)),o=0,l=i>0?n-4:n,c;for(c=0;c<l;c+=4)e=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,a[o++]=e&255),i===1&&(e=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function sr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function lr(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(sr(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(lr(t,o,o+a>l?l:o+a));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var ye=Y(te=>{u();te.read=function(t,e,r,n,i){var a,o,l=i*8-n-1,c=(1<<l)-1,d=c>>1,g=-7,p=r?i-1:0,y=r?-1:1,b=t[e+p];for(p+=y,a=b&(1<<-g)-1,b>>=-g,g+=l;g>0;a=a*256+t[e+p],p+=y,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+p],p+=y,g-=8);if(a===0)a=1-d;else{if(a===c)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(b?-1:1)*o*Math.pow(2,a-n)};te.write=function(t,e,r,n,i,a){var o,l,c,d=a*8-i-1,g=(1<<d)-1,p=g>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,S=n?1:-1,j=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?e+=y/c:e+=y*Math.pow(2,1-p),e*c>=2&&(o++,c/=2),o+p>=g?(l=0,o=g):o+p>=1?(l=(e*c-1)*Math.pow(2,i),o=o+p):(l=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+b]=l&255,b+=S,l/=256,i-=8);for(o=o<<i|l,d+=i;d>0;t[r+b]=o&255,b+=S,o/=256,d-=8);t[r+b-S]|=j*128}});var Le=Y(M=>{"use strict";u();var ne=he(),P=ye(),xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=s;M.SlowBuffer=fr;M.INSPECT_MAX_BYTES=50;var Z=2147483647;M.kMaxLength=Z;s.TYPED_ARRAY_SUPPORT=ur();!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 ur(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>Z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return se(t)}return Te(t,e,r)}s.poolSize=8192;function Te(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return ae(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=mr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Te(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pr(t,e,r){return ve(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return pr(t,e,r)};function se(t){return ve(t),L(t<0?0:le(t)|0)}s.allocUnsafe=function(t){return se(t)};s.allocUnsafeSlow=function(t){return se(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ke(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ie(t){for(var e=t.length<0?0:le(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return ae(e.buffer,e.byteOffset,e.byteLength)}return ie(t)}function ae(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function mr(t){if(s.isBuffer(t)){var e=le(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ce(t.length)?L(0):ie(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ie(t.data)}function le(t){if(t>=Z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Z.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(_(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 ke(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return oe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:oe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ke;function hr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Er(this,e,r);case"utf8":case"utf-8":return _e(this,e,r);case"ascii":return Ir(this,e,r);case"latin1":case"binary":return _r(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function U(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)U(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)U(this,r,r+3),U(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)U(this,r,r+7),U(this,r+1,r+6),U(this,r+2,r+5),U(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?_e(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=M.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};xe&&(s.prototype[xe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,l=n-r,c=Math.min(o,l),d=this.slice(i,a),g=e.slice(r,n),p=0;p<c;++p)if(d[p]!==g[p]){o=d[p],l=g[p];break}return o<l?-1:l<o?1:0};function Ie(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ce(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:we(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):we(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function we(t,e,r,n,i){var a=1,o=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,l/=2,r/=2}function c(b,S){return a===1?b[S]:b.readUInt16BE(S*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(c(t,d)===c(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+l>o&&(r=o-l),d=r;d>=0;d--){for(var p=!0,y=0;y<l;y++)if(c(t,d+y)!==c(e,y)){p=!1;break}if(p)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Ie(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Ie(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l=parseInt(e.substr(o*2,2),16);if(ce(l))return o;t[r+o]=l}return o}function xr(t,e,r,n){return Q(oe(e,t.length-r),t,r,n)}function wr(t,e,r,n){return Q(Lr(e),t,r,n)}function br(t,e,r,n){return Q(Se(e),t,r,n)}function Tr(t,e,r,n){return Q(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?ne.fromByteArray(t):ne.fromByteArray(t.slice(e,r))}function _e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r){var c,d,g,p;switch(l){case 1:a<128&&(o=a);break;case 2:c=t[i+1],(c&192)===128&&(p=(a&31)<<6|c&63,p>127&&(o=p));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(p=(a&15)<<12|(c&63)<<6|d&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(p=(a&15)<<18|(c&63)<<12|(d&63)<<6|g&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=l}return kr(n)}var be=4096;function kr(t){var e=t.length;if(e<=be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=be));return r}function Ir(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Er(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Fr[t[a]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),P.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),P.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),P.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),P.read(this,e,!1,52,8)};function T(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,e,r,n,a,0)}var o=1,l=0;for(this[r]=e&255;++l<n&&(o*=256);)this[r+l]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,e,r,n,a,0)}var o=n-1,l=1;for(this[r+o]=e&255;--o>=0&&(l*=256);)this[r+o]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);T(this,e,r,n,a-1,-a)}var o=0,l=1,c=0;for(this[r]=e&255;++o<n&&(l*=256);)e<0&&c===0&&this[r+o-1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);T(this,e,r,n,a-1,-a)}var o=n-1,l=1,c=0;for(this[r+o]=e&255;--o>=0&&(l*=256);)e<0&&c===0&&this[r+o+1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ee(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,4,34028234663852886e22,-34028234663852886e22),P.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Re(this,e,r,!1,n)};function Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,8,17976931348623157e292,-17976931348623157e292),P.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ae(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),c=l.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%c]}return this};var Ar=/[^+/0-9A-Za-z-_]/g;function Sr(t){if(t=t.split("=")[0],t=t.trim().replace(Ar,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function oe(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Se(t){return ne.toByteArray(Sr(t))}function Q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ce(t){return t!==t}var Fr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Be=Y((jr,Ce)=>{u();var x=Ce.exports={},E,R;function ue(){throw new Error("setTimeout has not been defined")}function pe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ue}catch(t){E=ue}try{typeof clearTimeout=="function"?R=clearTimeout:R=pe}catch(t){R=pe}})();function Ne(t){if(E===setTimeout)return setTimeout(t,0);if((E===ue||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Dr(t){if(R===clearTimeout)return clearTimeout(t);if((R===pe||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var N=[],G=!1,O,K=-1;function Cr(){!G||!O||(G=!1,O.length?N=O.concat(N):K=-1,N.length&&Fe())}function Fe(){if(!G){var t=Ne(Cr);G=!0;for(var e=N.length;e;){for(O=N,N=[];++K<e;)O&&O[K].run();K=-1,e=N.length}O=null,G=!1,Dr(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];N.push(new De(t,e)),N.length===1&&!G&&Ne(Fe)};function De(t,e){this.fun=t,this.array=e}De.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function F(){}x.on=F;x.addListener=F;x.once=F;x.off=F;x.removeListener=F;x.removeAllListeners=F;x.emit=F;x.prependListener=F;x.prependOnceListener=F;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var m,f,Vr,u=er(()=>{m=q(Le()),f=q(Be()),Vr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Or={};rr(Or,{getReceiptMessage:()=>Ur});module.exports=tr(Or);u();var He=q(require("bignumber.js"));u();u();u();u();u();u();u();u();u();u();u();u();u();var de={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:Ue,egldLabel:ct}=de["devnet"],{chainId:Oe,egldLabel:ut}=de["testnet"],{chainId:Pe,egldLabel:pt}=de["mainnet"];var dt={["devnet"]:Ue,["testnet"]:Oe,["mainnet"]:Pe},gt={[Ue]:"devnet",[Oe]:"testnet",[Pe]:"mainnet"};u();u();u();u();var A=require("@multiversx/sdk-web-wallet-provider");var J=18,ee=4;var Me="refundedGas";var Ge="0";u();var je=require("@multiversx/sdk-core"),C=q(require("bignumber.js"));u();var ze=q(require("bignumber.js")),qe=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ze.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};u();function D(t){return{if:function(e){return e?{then:r=>r instanceof Function?D(r(t)):D(r)}:{then:()=>D(t)}},then:e=>e instanceof Function?D(e(t)):D(e),valueOf:function(){return t}}}C.default.config({ROUNDING_MODE:C.default.ROUND_FLOOR});function Ve({input:t,decimals:e=J,digits:r=ee,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!qe(t,!1))throw new Error("Invalid input");let o=new C.default(t).isNegative(),l=t;return o&&(l=t.substring(1)),D(l).then(()=>je.TokenPayment.fungibleFromBigInteger("",l,e).toRationalNumber()).then(c=>{let d=new C.default(c);if(d.isZero())return Ge;let g=d.toString(10),[p,y]=g.split("."),b=new C.default(y||0),S=D(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(b.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),j=y&&r>=1&&r<=y.length&&b.isGreaterThan(0)&&new C.default(y.substring(0,r)).isZero(),We=d.toFormat(S);return D(g).if(a).then(We).if(Boolean(j)).then(V=>{let z=new C.default(p).isZero(),[k,H]=V.split("."),W=new Array(r-1).fill(0),$e=[...W,0].join(""),Ye=[...W,1].join("");return z?i?`<${k}.${Ye}`:n?`${k}.${H}`:k:`${k}.${$e}`}).if(Boolean(!j&&y)).then(V=>{let[z]=V.split("."),k=y.substring(0,S);if(n){let H=r-k.length;if(H>0){let W=Array(H).fill(0).join("");return k=`${k}${W}`,`${z}.${k}`}return V}return k?`${z}.${k}`:z}).valueOf()}).if(o).then(c=>`-${c}`).valueOf()}var Br=t=>{var e,r;if(!((e=t.receipt)!=null&&e.value))return"";if(((r=t.receipt)==null?void 0:r.data)===Me){let n=Ve({input:t.receipt.value,decimals:J,digits:ee,showLastNonZeroDecimal:!0});return new He.default(n).times(t.gasPrice).times(100).toFixed()}return t.receipt.value};function Ur(t){var i;let e=(i=t.receipt)==null?void 0:i.data;if(!e)return"";let r=Br(t),n=r?`: ${r}`:"";return`${e}${n}`}0&&(module.exports={getReceiptMessage});
1
+ "use strict";var Xe=Object.create;var $=Object.defineProperty;var Ze=Object.getOwnPropertyDescriptor;var Qe=Object.getOwnPropertyNames;var Ke=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var Y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)$(t,r,{get:e[r],enumerable:!0})},ge=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qe(e))!Je.call(t,i)&&i!==r&&$(t,i,{get:()=>e[i],enumerable:!(n=Ze(e,i))||n.enumerable});return t};var q=(t,e,r)=>(r=t!=null?Xe(Ke(t)):{},ge(e||!t||!t.__esModule?$(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>ge($({},"__esModule",{value:!0}),t);var he=Y(X=>{"use strict";u();X.byteLength=ir;X.toByteArray=or;X.fromByteArray=cr;var _=[],v=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,me=re.length;C<me;++C)_[C]=re[C],v[re.charCodeAt(C)]=C;var C,me;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ir(t){var e=fe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function or(t){var e,r=fe(t),n=r[0],i=r[1],a=new nr(ar(t,n,i)),o=0,l=i>0?n-4:n,c;for(c=0;c<l;c+=4)e=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,a[o++]=e&255),i===1&&(e=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function sr(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function lr(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(sr(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(lr(t,o,o+a>l?l:o+a));return n===1?(e=t[r-1],i.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),i.join("")}});var ye=Y(te=>{u();te.read=function(t,e,r,n,i){var a,o,l=i*8-n-1,c=(1<<l)-1,d=c>>1,g=-7,p=r?i-1:0,y=r?-1:1,b=t[e+p];for(p+=y,a=b&(1<<-g)-1,b>>=-g,g+=l;g>0;a=a*256+t[e+p],p+=y,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+p],p+=y,g-=8);if(a===0)a=1-d;else{if(a===c)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(b?-1:1)*o*Math.pow(2,a-n)};te.write=function(t,e,r,n,i,a){var o,l,c,d=a*8-i-1,g=(1<<d)-1,p=g>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,S=n?1:-1,j=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?e+=y/c:e+=y*Math.pow(2,1-p),e*c>=2&&(o++,c/=2),o+p>=g?(l=0,o=g):o+p>=1?(l=(e*c-1)*Math.pow(2,i),o=o+p):(l=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+b]=l&255,b+=S,l/=256,i-=8);for(o=o<<i|l,d+=i;d>0;t[r+b]=o&255,b+=S,o/=256,d-=8);t[r+b-S]|=j*128}});var Le=Y(M=>{"use strict";u();var ne=he(),P=ye(),xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=s;M.SlowBuffer=fr;M.INSPECT_MAX_BYTES=50;var Z=2147483647;M.kMaxLength=Z;s.TYPED_ARRAY_SUPPORT=ur();!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 ur(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>Z)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return se(t)}return Te(t,e,r)}s.poolSize=8192;function Te(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return ae(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=mr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Te(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function pr(t,e,r){return ve(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return pr(t,e,r)};function se(t){return ve(t),L(t<0?0:le(t)|0)}s.allocUnsafe=function(t){return se(t)};s.allocUnsafeSlow=function(t){return se(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ke(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ie(t){for(var e=t.length<0?0:le(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(I(t,Uint8Array)){var e=new Uint8Array(t);return ae(e.buffer,e.byteOffset,e.byteLength)}return ie(t)}function ae(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function mr(t){if(s.isBuffer(t)){var e=le(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ce(t.length)?L(0):ie(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ie(t.data)}function le(t){if(t>=Z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Z.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(I(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 ke(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return oe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:oe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ke;function hr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Er(this,e,r);case"utf8":case"utf-8":return Ie(this,e,r);case"ascii":return _r(this,e,r);case"latin1":case"binary":return Ir(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function U(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)U(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)U(this,r,r+3),U(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)U(this,r,r+7),U(this,r+1,r+6),U(this,r+2,r+5),U(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ie(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=M.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};xe&&(s.prototype[xe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,l=n-r,c=Math.min(o,l),d=this.slice(i,a),g=e.slice(r,n),p=0;p<c;++p)if(d[p]!==g[p]){o=d[p],l=g[p];break}return o<l?-1:l<o?1:0};function _e(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ce(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:we(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):we(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function we(t,e,r,n,i){var a=1,o=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,l/=2,r/=2}function c(b,S){return a===1?b[S]:b.readUInt16BE(S*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(c(t,d)===c(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+l>o&&(r=o-l),d=r;d>=0;d--){for(var p=!0,y=0;y<l;y++)if(c(t,d+y)!==c(e,y)){p=!1;break}if(p)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return _e(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return _e(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l=parseInt(e.substr(o*2,2),16);if(ce(l))return o;t[r+o]=l}return o}function xr(t,e,r,n){return Q(oe(e,t.length-r),t,r,n)}function wr(t,e,r,n){return Q(Lr(e),t,r,n)}function br(t,e,r,n){return Q(Se(e),t,r,n)}function Tr(t,e,r,n){return Q(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?ne.fromByteArray(t):ne.fromByteArray(t.slice(e,r))}function Ie(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r){var c,d,g,p;switch(l){case 1:a<128&&(o=a);break;case 2:c=t[i+1],(c&192)===128&&(p=(a&31)<<6|c&63,p>127&&(o=p));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(p=(a&15)<<12|(c&63)<<6|d&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(p=(a&15)<<18|(c&63)<<12|(d&63)<<6|g&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=l}return kr(n)}var be=4096;function kr(t){var e=t.length;if(e<=be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=be));return r}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Ir(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Er(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Fr[t[a]];return i}function Ar(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),P.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),P.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),P.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),P.read(this,e,!1,52,8)};function T(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,e,r,n,a,0)}var o=1,l=0;for(this[r]=e&255;++l<n&&(o*=256);)this[r+l]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,e,r,n,a,0)}var o=n-1,l=1;for(this[r+o]=e&255;--o>=0&&(l*=256);)this[r+o]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);T(this,e,r,n,a-1,-a)}var o=0,l=1,c=0;for(this[r]=e&255;++o<n&&(l*=256);)e<0&&c===0&&this[r+o-1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);T(this,e,r,n,a-1,-a)}var o=n-1,l=1,c=0;for(this[r+o]=e&255;--o>=0&&(l*=256);)e<0&&c===0&&this[r+o+1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ee(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,4,34028234663852886e22,-34028234663852886e22),P.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ae(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,8,17976931348623157e292,-17976931348623157e292),P.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),c=l.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%c]}return this};var Rr=/[^+/0-9A-Za-z-_]/g;function Sr(t){if(t=t.split("=")[0],t=t.trim().replace(Rr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function oe(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Se(t){return ne.toByteArray(Sr(t))}function Q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function I(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ce(t){return t!==t}var Fr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ce=Y((jr,Be)=>{u();var x=Be.exports={},E,A;function ue(){throw new Error("setTimeout has not been defined")}function pe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ue}catch(t){E=ue}try{typeof clearTimeout=="function"?A=clearTimeout:A=pe}catch(t){A=pe}})();function Ne(t){if(E===setTimeout)return setTimeout(t,0);if((E===ue||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Dr(t){if(A===clearTimeout)return clearTimeout(t);if((A===pe||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(e){try{return A.call(null,t)}catch(r){return A.call(this,t)}}}var N=[],G=!1,O,K=-1;function Br(){!G||!O||(G=!1,O.length?N=O.concat(N):K=-1,N.length&&Fe())}function Fe(){if(!G){var t=Ne(Br);G=!0;for(var e=N.length;e;){for(O=N,N=[];++K<e;)O&&O[K].run();K=-1,e=N.length}O=null,G=!1,Dr(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];N.push(new De(t,e)),N.length===1&&!G&&Ne(Fe)};function De(t,e){this.fun=t,this.array=e}De.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function F(){}x.on=F;x.addListener=F;x.once=F;x.off=F;x.removeListener=F;x.removeAllListeners=F;x.emit=F;x.prependListener=F;x.prependOnceListener=F;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var m,f,Vr,u=er(()=>{m=q(Le()),f=q(Ce()),Vr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Or={};rr(Or,{getReceiptMessage:()=>Ur});module.exports=tr(Or);u();var He=q(require("bignumber.js"));u();u();u();u();u();u();u();u();u();u();u();u();u();var de={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:Ue,egldLabel:ct}=de["devnet"],{chainId:Oe,egldLabel:ut}=de["testnet"],{chainId:Pe,egldLabel:pt}=de["mainnet"];var dt={["devnet"]:Ue,["testnet"]:Oe,["mainnet"]:Pe},gt={[Ue]:"devnet",[Oe]:"testnet",[Pe]:"mainnet"};u();u();u();u();var R=require("@multiversx/sdk-web-wallet-provider");var J=18,ee=4;var Me="refundedGas";var Ge="0";u();var je=require("@multiversx/sdk-core"),B=q(require("bignumber.js"));u();var ze=q(require("bignumber.js")),qe=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ze.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};u();function D(t){return{if:function(e){return e?{then:r=>r instanceof Function?D(r(t)):D(r)}:{then:()=>D(t)}},then:e=>e instanceof Function?D(e(t)):D(e),valueOf:function(){return t}}}B.default.config({ROUNDING_MODE:B.default.ROUND_FLOOR});function Ve({input:t,decimals:e=J,digits:r=ee,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!qe(t,!1))throw new Error("Invalid input");let o=new B.default(t).isNegative(),l=t;return o&&(l=t.substring(1)),D(l).then(()=>je.TokenPayment.fungibleFromBigInteger("",l,e).toRationalNumber()).then(c=>{let d=new B.default(c);if(d.isZero())return Ge;let g=d.toString(10),[p,y]=g.split("."),b=new B.default(y||0),S=D(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(b.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),j=y&&r>=1&&r<=y.length&&b.isGreaterThan(0)&&new B.default(y.substring(0,r)).isZero(),We=d.toFormat(S);return D(g).if(a).then(We).if(Boolean(j)).then(V=>{let z=new B.default(p).isZero(),[k,H]=V.split("."),W=new Array(r-1).fill(0),$e=[...W,0].join(""),Ye=[...W,1].join("");return z?i?`<${k}.${Ye}`:n?`${k}.${H}`:k:`${k}.${$e}`}).if(Boolean(!j&&y)).then(V=>{let[z]=V.split("."),k=y.substring(0,S);if(n){let H=r-k.length;if(H>0){let W=Array(H).fill(0).join("");return k=`${k}${W}`,`${z}.${k}`}return V}return k?`${z}.${k}`:z}).valueOf()}).if(o).then(c=>`-${c}`).valueOf()}var Cr=t=>{var e,r;if(!((e=t.receipt)!=null&&e.value))return"";if(((r=t.receipt)==null?void 0:r.data)===Me){let n=Ve({input:t.receipt.value,decimals:J,digits:ee,showLastNonZeroDecimal:!0});return new He.default(n).times(t.gasPrice).times(100).toFixed()}return t.receipt.value};function Ur(t){var i;let e=(i=t.receipt)==null?void 0:i.data;if(!e)return"";let r=Cr(t),n=r?`: ${r}`:"";return`${e}${n}`}0&&(module.exports={getReceiptMessage});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Gr=Object.create;var Z=Object.defineProperty,$r=Object.defineProperties,Vr=Object.getOwnPropertyDescriptor,Hr=Object.getOwnPropertyDescriptors,zr=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols,Wr=Object.getPrototypeOf,Oe=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable;var Ce=(t,e,r)=>e in t?Z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,re=(t,e)=>{for(var r in e||(e={}))Oe.call(e,r)&&Ce(t,r,e[r]);if(Fe)for(var r of Fe(e))jr.call(e,r)&&Ce(t,r,e[r]);return t},te=(t,e)=>$r(t,Hr(e));var qr=(t,e)=>()=>(t&&(e=t(t=0)),e);var ne=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Yr=(t,e)=>{for(var r in e)Z(t,r,{get:e[r],enumerable:!0})},Ue=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zr(e))!Oe.call(t,i)&&i!==r&&Z(t,i,{get:()=>e[i],enumerable:!(n=Vr(e,i))||n.enumerable});return t};var P=(t,e,r)=>(r=t!=null?Gr(Wr(t)):{},Ue(e||!t||!t.__esModule?Z(r,"default",{value:t,enumerable:!0}):r,t)),Kr=t=>Ue(Z({},"__esModule",{value:!0}),t);var Me=ne(ie=>{"use strict";l();ie.byteLength=Xr;ie.toByteArray=Jr;ie.fromByteArray=tt;var N=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(M=0,Be=de.length;M<Be;++M)N[M]=de[M],v[de.charCodeAt(M)]=M;var M,Be;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Pe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Xr(t){var e=Pe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Qr(t,e,r){return(e+r)*3/4-r}function Jr(t){var e,r=Pe(t),n=r[0],i=r[1],o=new Zr(Qr(t,n,i)),a=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function et(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function rt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(et(n));return i.join("")}function tt(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(rt(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ge=ne(fe=>{l();fe.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,u=(1<<c)-1,d=u>>1,h=-7,f=r?i-1:0,y=r?-1:1,x=t[e+f];for(f+=y,o=x&(1<<-h)-1,x>>=-h,h+=c;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-d;else{if(o===u)return a?NaN:(x?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(x?-1:1)*a*Math.pow(2,o-n)};fe.write=function(t,e,r,n,i,o){var a,c,u,d=o*8-i-1,h=(1<<d)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,b=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=y/u:e+=y*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*u-1)*Math.pow(2,i),a=a+f):(c=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+x]=c&255,x+=b,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+x]=a&255,x+=b,a/=256,d-=8);t[r+x-b]|=z*128}});var Je=ne(j=>{"use strict";l();var he=Me(),W=Ge(),$e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=s;j.SlowBuffer=lt;j.INSPECT_MAX_BYTES=50;var oe=2147483647;j.kMaxLength=oe;s.TYPED_ARRAY_SUPPORT=nt();!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 nt(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>oe)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return we(t)}return ze(t,e,r)}s.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return ot(t,e);if(ArrayBuffer.isView(t))return at(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return Te(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=st(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function We(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function it(t,e,r){return We(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return it(t,e,r)};function we(t){return We(t),L(t<0?0:be(t)|0)}s.allocUnsafe=function(t){return we(t)};s.allocUnsafeSlow=function(t){return we(t)};function ot(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=je(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ye(t){for(var e=t.length<0?0:be(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function at(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Te(e.buffer,e.byteOffset,e.byteLength)}return ye(t)}function Te(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function st(t){if(s.isBuffer(t)){var e=be(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ke(t.length)?L(0):ye(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ye(t.data)}function be(t){if(t>=oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oe.toString(16)+" bytes");return t|0}function lt(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function je(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return xe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Qe(t).length;default:if(i)return n?-1:xe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=je;function ct(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return xt(this,e,r);case"utf8":case"utf-8":return Ye(this,e,r);case"ascii":return yt(this,e,r);case"latin1":case"binary":return Tt(this,e,r);case"base64":return ft(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function G(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)G(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)G(this,r,r+3),G(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)G(this,r,r+7),G(this,r+1,r+6),G(this,r+2,r+5),G(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ye(this,0,e):ct.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=j.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};$e&&(s.prototype[$e]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,u=Math.min(a,c),d=this.slice(i,o),h=e.slice(r,n),f=0;f<u;++f)if(d[f]!==h[f]){a=d[f],c=h[f];break}return a<c?-1:c<a?1:0};function qe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ke(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:Ve(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ve(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ve(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function u(x,b){return o===1?x[b]:x.readUInt16BE(b*o)}var d;if(i){var h=-1;for(d=r;d<a;d++)if(u(t,d)===u(e,h===-1?0:d-h)){if(h===-1&&(h=d),d-h+1===c)return h*o}else h!==-1&&(d-=d-h),h=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var f=!0,y=0;y<c;y++)if(u(t,d+y)!==u(e,y)){f=!1;break}if(f)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return qe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return qe(this,e,r,n,!1)};function ut(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ke(c))return a;t[r+a]=c}return a}function pt(t,e,r,n){return ae(xe(e,t.length-r),t,r,n)}function gt(t,e,r,n){return ae(vt(e),t,r,n)}function mt(t,e,r,n){return ae(Qe(e),t,r,n)}function dt(t,e,r,n){return ae(It(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ut(this,e,r,n);case"utf8":case"utf-8":return pt(this,e,r,n);case"ascii":case"latin1":case"binary":return gt(this,e,r,n);case"base64":return mt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(t,e,r){return e===0&&r===t.length?he.fromByteArray(t):he.fromByteArray(t.slice(e,r))}function Ye(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var u,d,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(f=(o&31)<<6|u&63,f>127&&(a=f));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(f=(o&15)<<12|(u&63)<<6|d&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=t[i+1],d=t[i+2],h=t[i+3],(u&192)===128&&(d&192)===128&&(h&192)===128&&(f=(o&15)<<18|(u&63)<<12|(d&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return ht(n)}var He=4096;function ht(t){var e=t.length;if(e<=He)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=He));return r}function yt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Tt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function xt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Et[t[o]];return i}function wt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),W.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),W.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),W.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),W.read(this,e,!1,52,8)};function k(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;k(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;k(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);k(this,e,r,n,o-1,-o)}var a=0,c=1,u=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);k(this,e,r,n,o-1,-o)}var a=n-1,c=1,u=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ze(t,e,r,n,i){return e=+e,r=r>>>0,i||Ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),W.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ze(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ze(this,e,r,!1,n)};function Xe(t,e,r,n,i){return e=+e,r=r>>>0,i||Ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),W.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Xe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Xe(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%u]}return this};var bt=/[^+/0-9A-Za-z-_]/g;function kt(t){if(t=t.split("=")[0],t=t.trim().replace(bt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function xe(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function vt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function It(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Qe(t){return he.toByteArray(kt(t))}function ae(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ke(t){return t!==t}var Et=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var ir=ne((Pt,nr)=>{l();var T=nr.exports={},S,D;function ve(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=ve}catch(t){S=ve}try{typeof clearTimeout=="function"?D=clearTimeout:D=Ie}catch(t){D=Ie}})();function er(t){if(S===setTimeout)return setTimeout(t,0);if((S===ve||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(e){try{return S.call(null,t,0)}catch(r){return S.call(this,t,0)}}}function At(t){if(D===clearTimeout)return clearTimeout(t);if((D===Ie||!D)&&clearTimeout)return D=clearTimeout,clearTimeout(t);try{return D(t)}catch(e){try{return D.call(null,t)}catch(r){return D.call(this,t)}}}var F=[],q=!1,$,se=-1;function Nt(){!q||!$||(q=!1,$.length?F=$.concat(F):se=-1,F.length&&rr())}function rr(){if(!q){var t=er(Nt);q=!0;for(var e=F.length;e;){for($=F,F=[];++se<e;)$&&$[se].run();se=-1,e=F.length}$=null,q=!1,At(t)}}T.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new tr(t,e)),F.length===1&&!q&&er(rr)};function tr(t,e){this.fun=t,this.array=e}tr.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function C(){}T.on=C;T.addListener=C;T.once=C;T.off=C;T.removeListener=C;T.removeAllListeners=C;T.emit=C;T.prependListener=C;T.prependOnceListener=C;T.listeners=function(t){return[]};T.binding=function(t){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(t){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var p,g,Mt,l=qr(()=>{p=P(Je()),g=P(ir()),Mt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Lt={};Yr(Lt,{getTransactionValue:()=>Rt});module.exports=Kr(Lt);l();l();l();l();l();l();l();l();l();l();l();l();var Ee=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ee||{});l();l();var Ae={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",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:or,egldLabel:on}=Ae["devnet"],{chainId:ar,egldLabel:an}=Ae["testnet"],{chainId:sr,egldLabel:sn}=Ae["mainnet"];var ln={["devnet"]:or,["testnet"]:ar,["mainnet"]:sr},cn={[or]:"devnet",[ar]:"testnet",[sr]:"mainnet"};l();l();l();l();var R=require("@multiversx/sdk-web-wallet-provider");var I=18,Ne=4;var le="0";l();var ce=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(ce||{});l();var lr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(c=>c!=null);return[].concat(...o)}return[]};l();l();l();l();var ur=require("@multiversx/sdk-core"),U=P(require("bignumber.js"));l();var cr=P(require("bignumber.js")),_e=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new cr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function O(t){return{if:function(e){return e?{then:r=>r instanceof Function?O(r(t)):O(r)}:{then:()=>O(t)}},then:e=>e instanceof Function?O(e(t)):O(e),valueOf:function(){return t}}}U.default.config({ROUNDING_MODE:U.default.ROUND_FLOOR});function V({input:t,decimals:e=I,digits:r=Ne,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!_e(t,!1))throw new Error("Invalid input");let a=new U.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),O(c).then(()=>ur.TokenPayment.fungibleFromBigInteger("",c,e).toRationalNumber()).then(u=>{let d=new U.default(u);if(d.isZero())return le;let h=d.toString(10),[f,y]=h.split("."),x=new U.default(y||0),b=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(x.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),z=y&&r>=1&&r<=y.length&&x.isGreaterThan(0)&&new U.default(y.substring(0,r)).isZero(),me=d.toFormat(b);return O(h).if(o).then(me).if(Boolean(z)).then(Q=>{let K=new U.default(f).isZero(),[A,J]=Q.split("."),ee=new Array(r-1).fill(0),Pr=[...ee,0].join(""),Mr=[...ee,1].join("");return K?i?`<${A}.${Mr}`:n?`${A}.${J}`:A:`${A}.${Pr}`}).if(Boolean(!z&&y)).then(Q=>{let[K]=Q.split("."),A=y.substring(0,b);if(n){let J=r-A.length;if(J>0){let ee=Array(J).fill(0).join("");return A=`${A}${ee}`,`${K}.${A}`}return Q}return A?`${K}.${A}`:K}).valueOf()}).if(a).then(u=>`-${u}`).valueOf()}l();l();var _t=require("@multiversx/sdk-core");l();var X=require("@multiversx/sdk-core"),Dt=require("@multiversx/sdk-network-providers");l();l();var St=P(require("bignumber.js"));l();l();var Se={isEsdt:!1,isNft:!1,isEgld:!1};function pr(t){let e=t==null?void 0:t.split("-").length;return e===2?te(re({},Se),{isEsdt:!0}):e===3?te(re({},Se),{isNft:!0}):te(re({},Se),{isEgld:!0})}l();l();l();l();l();var B="accounts",H="transactions";var Y="tokens",gr="blocks",mr="miniblocks",dr="nodes",fr="identities",hr="collections",De="nfts",Re="providers",Le="sc-results",yr="contracts",Tr="logs",xr="code",wr="locked-accounts",br="roles";var ue={shard:t=>`/${gr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Le}`,transactionDetailsLogs:t=>`/${H}/${t}/${Tr}`,nodeDetails:t=>`/${dr}/${t}`,accountDetails:t=>`/${B}/${t}`,accountDetailsContractCode:t=>`/${B}/${t}/${xr}`,accountDetailsTokens:t=>`/${B}/${t}/${Y}`,accountDetailsNfts:t=>`/${B}/${t}/${De}`,accountDetailsScResults:t=>`/${B}/${t}/${Le}`,accountDetailsContracts:t=>`/${B}/${t}/${yr}`,identityDetails:t=>`/${fr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${B}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${wr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${br}`,collectionDetails:t=>`/${hr}/${t}`,nftDetails:t=>`/${De}/${t}`,providerDetails:t=>`/${Re}/${t}`,providerDetailsTransactions:t=>`/${Re}/${t}/${H}`,miniblockDetails:t=>`/${mr}/${t}`};function pe({token:t,noValue:e,showLastNonZeroDecimal:r}){var d;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?V({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=ue.nftDetails(String(t.identifier)),u=t.ticker===t.collection&&(d=t.identifier)!=null?d:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:u,token:t,noValue:e,showLastNonZeroDecimal:r}}l();function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var c;let n=Boolean(!e&&t.value),i=n?V({input:t.value,decimals:(c=t.decimals)!=null?c:I,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=ue.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}l();var kr=["reDelegateRewards","claimRewards","unBond"],vr=["wrapEgld","unwrapEgld"],Ir=["unStake"],Er=["unDelegate"];l();l();var Ar=t=>{let e=t.map(n=>{let{isNft:i}=pr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=pe({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:c}=ge({token:n}),u=c.collection?c.identifier:c.token;return`${o} ${a} (${u})`});return decodeURI(e.join("%0A"))};l();var E=t=>({egldValueData:{value:t,formattedValue:V({input:t}),decimals:I}});l();var Sr=P(require("bignumber.js"));l();l();l();l();function Nr(t){return atob(t)}var _r=!1;function Dr(t){var e;try{let n=Nr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Sr.default(n,16);if(!i.isNaN())return E(i.toString(10))}catch(r){_r||(console.error(`Unable to extract value for txHash: ${t.txHash}`),_r=!0)}return E(t.value)}l();l();var Rr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ee).includes(i.type)))!=null?n:[]};var Lr=!1,Fr=t=>{Lr||(console.error(`Operations field missing for txHash: ${t}.
1
+ "use strict";var Gr=Object.create;var Z=Object.defineProperty,$r=Object.defineProperties,Vr=Object.getOwnPropertyDescriptor,Hr=Object.getOwnPropertyDescriptors,zr=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols,jr=Object.getPrototypeOf,Oe=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Ce=(t,e,r)=>e in t?Z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,re=(t,e)=>{for(var r in e||(e={}))Oe.call(e,r)&&Ce(t,r,e[r]);if(Fe)for(var r of Fe(e))qr.call(e,r)&&Ce(t,r,e[r]);return t},te=(t,e)=>$r(t,Hr(e));var Wr=(t,e)=>()=>(t&&(e=t(t=0)),e);var ne=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Yr=(t,e)=>{for(var r in e)Z(t,r,{get:e[r],enumerable:!0})},Ue=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zr(e))!Oe.call(t,i)&&i!==r&&Z(t,i,{get:()=>e[i],enumerable:!(n=Vr(e,i))||n.enumerable});return t};var P=(t,e,r)=>(r=t!=null?Gr(jr(t)):{},Ue(e||!t||!t.__esModule?Z(r,"default",{value:t,enumerable:!0}):r,t)),Kr=t=>Ue(Z({},"__esModule",{value:!0}),t);var Me=ne(ie=>{"use strict";l();ie.byteLength=Xr;ie.toByteArray=Jr;ie.fromByteArray=tt;var N=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(M=0,Be=de.length;M<Be;++M)N[M]=de[M],v[de.charCodeAt(M)]=M;var M,Be;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Pe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Xr(t){var e=Pe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Qr(t,e,r){return(e+r)*3/4-r}function Jr(t){var e,r=Pe(t),n=r[0],i=r[1],o=new Zr(Qr(t,n,i)),a=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function et(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function rt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(et(n));return i.join("")}function tt(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(rt(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ge=ne(fe=>{l();fe.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,u=(1<<c)-1,d=u>>1,h=-7,f=r?i-1:0,y=r?-1:1,x=t[e+f];for(f+=y,o=x&(1<<-h)-1,x>>=-h,h+=c;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-d;else{if(o===u)return a?NaN:(x?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(x?-1:1)*a*Math.pow(2,o-n)};fe.write=function(t,e,r,n,i,o){var a,c,u,d=o*8-i-1,h=(1<<d)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,b=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=y/u:e+=y*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=h?(c=0,a=h):a+f>=1?(c=(e*u-1)*Math.pow(2,i),a=a+f):(c=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+x]=c&255,x+=b,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+x]=a&255,x+=b,a/=256,d-=8);t[r+x-b]|=z*128}});var Je=ne(q=>{"use strict";l();var he=Me(),j=Ge(),$e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;q.Buffer=s;q.SlowBuffer=lt;q.INSPECT_MAX_BYTES=50;var oe=2147483647;q.kMaxLength=oe;s.TYPED_ARRAY_SUPPORT=nt();!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 nt(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>oe)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return we(t)}return ze(t,e,r)}s.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return ot(t,e);if(ArrayBuffer.isView(t))return at(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return Te(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=st(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function je(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function it(t,e,r){return je(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return it(t,e,r)};function we(t){return je(t),L(t<0?0:be(t)|0)}s.allocUnsafe=function(t){return we(t)};s.allocUnsafeSlow=function(t){return we(t)};function ot(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=qe(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ye(t){for(var e=t.length<0?0:be(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function at(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Te(e.buffer,e.byteOffset,e.byteLength)}return ye(t)}function Te(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function st(t){if(s.isBuffer(t)){var e=be(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ke(t.length)?L(0):ye(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ye(t.data)}function be(t){if(t>=oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oe.toString(16)+" bytes");return t|0}function lt(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function qe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return xe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Qe(t).length;default:if(i)return n?-1:xe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=qe;function ct(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return xt(this,e,r);case"utf8":case"utf-8":return Ye(this,e,r);case"ascii":return yt(this,e,r);case"latin1":case"binary":return Tt(this,e,r);case"base64":return ft(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function G(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)G(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)G(this,r,r+3),G(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)G(this,r,r+7),G(this,r+1,r+6),G(this,r+2,r+5),G(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ye(this,0,e):ct.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=q.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};$e&&(s.prototype[$e]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,u=Math.min(a,c),d=this.slice(i,o),h=e.slice(r,n),f=0;f<u;++f)if(d[f]!==h[f]){a=d[f],c=h[f];break}return a<c?-1:c<a?1:0};function We(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ke(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:Ve(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ve(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ve(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function u(x,b){return o===1?x[b]:x.readUInt16BE(b*o)}var d;if(i){var h=-1;for(d=r;d<a;d++)if(u(t,d)===u(e,h===-1?0:d-h)){if(h===-1&&(h=d),d-h+1===c)return h*o}else h!==-1&&(d-=d-h),h=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var f=!0,y=0;y<c;y++)if(u(t,d+y)!==u(e,y)){f=!1;break}if(f)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function ut(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ke(c))return a;t[r+a]=c}return a}function pt(t,e,r,n){return ae(xe(e,t.length-r),t,r,n)}function gt(t,e,r,n){return ae(vt(e),t,r,n)}function mt(t,e,r,n){return ae(Qe(e),t,r,n)}function dt(t,e,r,n){return ae(It(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ut(this,e,r,n);case"utf8":case"utf-8":return pt(this,e,r,n);case"ascii":case"latin1":case"binary":return gt(this,e,r,n);case"base64":return mt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(t,e,r){return e===0&&r===t.length?he.fromByteArray(t):he.fromByteArray(t.slice(e,r))}function Ye(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var u,d,h,f;switch(c){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(f=(o&31)<<6|u&63,f>127&&(a=f));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(f=(o&15)<<12|(u&63)<<6|d&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=t[i+1],d=t[i+2],h=t[i+3],(u&192)===128&&(d&192)===128&&(h&192)===128&&(f=(o&15)<<18|(u&63)<<12|(d&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return ht(n)}var He=4096;function ht(t){var e=t.length;if(e<=He)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=He));return r}function yt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Tt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function xt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Et[t[o]];return i}function wt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),j.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),j.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),j.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),j.read(this,e,!1,52,8)};function k(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;k(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;k(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);k(this,e,r,n,o-1,-o)}var a=0,c=1,u=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);k(this,e,r,n,o-1,-o)}var a=n-1,c=1,u=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||k(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ze(t,e,r,n,i){return e=+e,r=r>>>0,i||Ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ze(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ze(this,e,r,!1,n)};function Xe(t,e,r,n,i){return e=+e,r=r>>>0,i||Ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Xe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Xe(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%u]}return this};var bt=/[^+/0-9A-Za-z-_]/g;function kt(t){if(t=t.split("=")[0],t=t.trim().replace(bt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function xe(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function vt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function It(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Qe(t){return he.toByteArray(kt(t))}function ae(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ke(t){return t!==t}var Et=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var ir=ne((Pt,nr)=>{l();var T=nr.exports={},S,D;function ve(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=ve}catch(t){S=ve}try{typeof clearTimeout=="function"?D=clearTimeout:D=Ie}catch(t){D=Ie}})();function er(t){if(S===setTimeout)return setTimeout(t,0);if((S===ve||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(e){try{return S.call(null,t,0)}catch(r){return S.call(this,t,0)}}}function At(t){if(D===clearTimeout)return clearTimeout(t);if((D===Ie||!D)&&clearTimeout)return D=clearTimeout,clearTimeout(t);try{return D(t)}catch(e){try{return D.call(null,t)}catch(r){return D.call(this,t)}}}var F=[],W=!1,$,se=-1;function Nt(){!W||!$||(W=!1,$.length?F=$.concat(F):se=-1,F.length&&rr())}function rr(){if(!W){var t=er(Nt);W=!0;for(var e=F.length;e;){for($=F,F=[];++se<e;)$&&$[se].run();se=-1,e=F.length}$=null,W=!1,At(t)}}T.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new tr(t,e)),F.length===1&&!W&&er(rr)};function tr(t,e){this.fun=t,this.array=e}tr.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function C(){}T.on=C;T.addListener=C;T.once=C;T.off=C;T.removeListener=C;T.removeAllListeners=C;T.emit=C;T.prependListener=C;T.prependOnceListener=C;T.listeners=function(t){return[]};T.binding=function(t){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(t){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var p,g,Mt,l=Wr(()=>{p=P(Je()),g=P(ir()),Mt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Lt={};Yr(Lt,{getTransactionValue:()=>Rt});module.exports=Kr(Lt);l();l();l();l();l();l();l();l();l();l();l();l();var Ee=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ee||{});l();l();var Ae={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",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:or,egldLabel:on}=Ae["devnet"],{chainId:ar,egldLabel:an}=Ae["testnet"],{chainId:sr,egldLabel:sn}=Ae["mainnet"];var ln={["devnet"]:or,["testnet"]:ar,["mainnet"]:sr},cn={[or]:"devnet",[ar]:"testnet",[sr]:"mainnet"};l();l();l();l();var R=require("@multiversx/sdk-web-wallet-provider");var I=18,Ne=4;var le="0";l();var ce=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(ce||{});l();var lr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(c=>c!=null);return[].concat(...o)}return[]};l();l();l();l();var ur=require("@multiversx/sdk-core"),U=P(require("bignumber.js"));l();var cr=P(require("bignumber.js")),_e=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new cr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function O(t){return{if:function(e){return e?{then:r=>r instanceof Function?O(r(t)):O(r)}:{then:()=>O(t)}},then:e=>e instanceof Function?O(e(t)):O(e),valueOf:function(){return t}}}U.default.config({ROUNDING_MODE:U.default.ROUND_FLOOR});function V({input:t,decimals:e=I,digits:r=Ne,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!_e(t,!1))throw new Error("Invalid input");let a=new U.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),O(c).then(()=>ur.TokenPayment.fungibleFromBigInteger("",c,e).toRationalNumber()).then(u=>{let d=new U.default(u);if(d.isZero())return le;let h=d.toString(10),[f,y]=h.split("."),x=new U.default(y||0),b=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(x.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),z=y&&r>=1&&r<=y.length&&x.isGreaterThan(0)&&new U.default(y.substring(0,r)).isZero(),me=d.toFormat(b);return O(h).if(o).then(me).if(Boolean(z)).then(Q=>{let K=new U.default(f).isZero(),[A,J]=Q.split("."),ee=new Array(r-1).fill(0),Pr=[...ee,0].join(""),Mr=[...ee,1].join("");return K?i?`<${A}.${Mr}`:n?`${A}.${J}`:A:`${A}.${Pr}`}).if(Boolean(!z&&y)).then(Q=>{let[K]=Q.split("."),A=y.substring(0,b);if(n){let J=r-A.length;if(J>0){let ee=Array(J).fill(0).join("");return A=`${A}${ee}`,`${K}.${A}`}return Q}return A?`${K}.${A}`:K}).valueOf()}).if(a).then(u=>`-${u}`).valueOf()}l();l();var _t=require("@multiversx/sdk-core");l();var X=require("@multiversx/sdk-core"),Dt=require("@multiversx/sdk-network-providers");l();l();var St=P(require("bignumber.js"));l();l();var Se={isEsdt:!1,isNft:!1,isEgld:!1};function pr(t){let e=t==null?void 0:t.split("-").length;return e===2?te(re({},Se),{isEsdt:!0}):e===3?te(re({},Se),{isNft:!0}):te(re({},Se),{isEgld:!0})}l();l();l();l();l();var B="accounts",H="transactions";var Y="tokens",gr="blocks",mr="miniblocks",dr="nodes",fr="identities",hr="collections",De="nfts",Re="providers",Le="sc-results",yr="contracts",Tr="logs",xr="code",wr="locked-accounts",br="roles";var ue={shard:t=>`/${gr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Le}`,transactionDetailsLogs:t=>`/${H}/${t}/${Tr}`,nodeDetails:t=>`/${dr}/${t}`,accountDetails:t=>`/${B}/${t}`,accountDetailsContractCode:t=>`/${B}/${t}/${xr}`,accountDetailsTokens:t=>`/${B}/${t}/${Y}`,accountDetailsNfts:t=>`/${B}/${t}/${De}`,accountDetailsScResults:t=>`/${B}/${t}/${Le}`,accountDetailsContracts:t=>`/${B}/${t}/${yr}`,identityDetails:t=>`/${fr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${B}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${wr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${br}`,collectionDetails:t=>`/${hr}/${t}`,nftDetails:t=>`/${De}/${t}`,providerDetails:t=>`/${Re}/${t}`,providerDetailsTransactions:t=>`/${Re}/${t}/${H}`,miniblockDetails:t=>`/${mr}/${t}`};function pe({token:t,noValue:e,showLastNonZeroDecimal:r}){var d;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?V({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=ue.nftDetails(String(t.identifier)),u=t.ticker===t.collection&&(d=t.identifier)!=null?d:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:u,token:t,noValue:e,showLastNonZeroDecimal:r}}l();function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var c;let n=Boolean(!e&&t.value),i=n?V({input:t.value,decimals:(c=t.decimals)!=null?c:I,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=ue.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}l();var kr=["reDelegateRewards","claimRewards","unBond"],vr=["wrapEgld","unwrapEgld"],Ir=["unStake"],Er=["unDelegate"];l();l();var Ar=t=>{let e=t.map(n=>{let{isNft:i}=pr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=pe({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:c}=ge({token:n}),u=c.collection?c.identifier:c.token;return`${o} ${a} (${u})`});return decodeURI(e.join("%0A"))};l();var E=t=>({egldValueData:{value:t,formattedValue:V({input:t}),decimals:I}});l();var Sr=P(require("bignumber.js"));l();l();l();l();function Nr(t){return atob(t)}var _r=!1;function Dr(t){var e;try{let n=Nr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Sr.default(n,16);if(!i.isNaN())return E(i.toString(10))}catch(r){_r||(console.error(`Unable to extract value for txHash: ${t.txHash}`),_r=!0)}return E(t.value)}l();l();var Rr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ee).includes(i.type)))!=null?n:[]};var Lr=!1,Fr=t=>{Lr||(console.error(`Operations field missing for txHash: ${t}.
2
2
  Unable to compute value field.`),Lr=!0)};function Cr(t){try{if(t.operations){let[e]=Rr(t);return E(e==null?void 0:e.value)}else Fr(t.txHash)}catch(e){Fr(t.txHash)}return E(t.value)}l();var Ur=P(require("bignumber.js"));var Or=!1;function Br(t){var r,n,i,o,a;return new Ur.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Or||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Or=!0),E(t.value)):E((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Rt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(vr.includes(t.action.name))return E(t.value);if(Ir.includes(t.action.name))return Dr(t);if(kr.includes(t.action.name))return Cr(t);if(Er.includes(t.action.name))return Br(t);let n=lr(t);if(n.length){let i=n[0],o=Object.values(ce).includes(i.type),c=!e&&n.length>1?Ar(n):"";if(o){let{badgeText:x,tokenFormattedAmount:b,tokenExplorerLink:z,tokenLinkText:me}=pe({token:i});return{nftValueData:{badgeText:x,tokenFormattedAmount:b,tokenExplorerLink:z,tokenLinkText:me,transactionTokens:n,token:i,value:b!=null?i.value:null,decimals:b!=null?i.decimals:null,titleText:c}}}let{tokenExplorerLink:u,showFormattedAmount:d,tokenFormattedAmount:h,tokenLinkText:f,token:y}=ge({token:i});return{tokenValueData:{tokenExplorerLink:u,showFormattedAmount:d,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:I,titleText:c}}}}return E(t.value)};0&&(module.exports={getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.