@multiversx/sdk-dapp 2.40.6 → 2.40.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (828) hide show
  1. package/UI/Denominate/index.js +1 -1
  2. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  3. package/UI/ExplorerLink/index.js +1 -1
  4. package/UI/FormatAmount/FormatAmount.js +1 -1
  5. package/UI/FormatAmount/index.js +1 -1
  6. package/UI/NotificationModal/NotificationModal.js +1 -1
  7. package/UI/NotificationModal/index.js +1 -1
  8. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  43. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  44. package/UI/SignTransactionsModals/components/index.js +1 -1
  45. package/UI/SignTransactionsModals/index.js +1 -1
  46. package/UI/TokenDetails/index.js +1 -1
  47. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  48. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  49. package/UI/TransactionDetails/components/index.js +1 -1
  50. package/UI/TransactionDetails/index.js +1 -1
  51. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  52. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  54. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  55. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  56. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  57. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  58. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  59. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  61. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  80. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  81. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  96. package/UI/TransactionInfo/components/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  122. package/UI/TransactionInfo/index.js +1 -1
  123. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  124. package/UI/TransactionsTable/components/AccountName.js +1 -1
  125. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  126. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  127. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  128. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  129. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  130. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  131. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  132. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  133. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  134. package/UI/TransactionsTable/components/index.js +1 -1
  135. package/UI/TransactionsTable/index.js +1 -1
  136. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  141. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  142. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  144. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  146. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  147. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  148. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  149. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  150. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  151. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  152. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  153. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  154. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  155. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  156. package/UI/TransactionsToastList/components/index.js +1 -1
  157. package/UI/TransactionsToastList/index.js +1 -1
  158. package/UI/Trim/Trim.js +1 -1
  159. package/UI/Trim/index.js +1 -1
  160. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  161. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  162. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  163. package/UI/iframe/IframeLoginButton/index.js +1 -1
  164. package/UI/index.js +1 -1
  165. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  166. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  167. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  168. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  169. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  170. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  171. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  172. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  173. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  174. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  175. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  176. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  177. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  178. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  179. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  180. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  181. package/UI/ledger/index.js +1 -1
  182. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  183. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  184. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  185. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  186. package/UI/pages/UnlockPage/index.js +1 -1
  187. package/UI/pages/index.js +1 -1
  188. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  189. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  190. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  191. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  192. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  193. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  194. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  195. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  196. package/UI/walletConnect/index.js +1 -1
  197. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  198. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  199. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  200. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  201. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  202. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  203. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  204. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  205. package/__chunks__/{chunk-JD23SHLF.js → chunk-256ELXUN.js} +2 -2
  206. package/__chunks__/{chunk-FHV5VOGK.js → chunk-2I2CD3JW.js} +2 -2
  207. package/__chunks__/chunk-2O3XAXVP.js +2 -0
  208. package/__chunks__/chunk-2P4QW6L2.js +2 -0
  209. package/__chunks__/{chunk-7ALMPNFX.js → chunk-2RBMIVLO.js} +2 -2
  210. package/__chunks__/{chunk-UB3YAPHR.js → chunk-2SUDHD3F.js} +2 -2
  211. package/__chunks__/{chunk-DYUXT4N2.js → chunk-2ULLNCOZ.js} +2 -2
  212. package/__chunks__/{chunk-HHI7MGKL.js → chunk-2YGGTKCM.js} +2 -2
  213. package/__chunks__/{chunk-UYTA5CDC.js → chunk-33C5OTPC.js} +2 -2
  214. package/__chunks__/{chunk-YAZ2AFED.js → chunk-3CI3JNO2.js} +2 -2
  215. package/__chunks__/{chunk-6BE7QH2R.js → chunk-3IUCDOHS.js} +2 -2
  216. package/__chunks__/{chunk-WJBFGFNP.js → chunk-3KBUXJNU.js} +2 -2
  217. package/__chunks__/{chunk-VIQIGN2R.js → chunk-3QMF6PSW.js} +2 -2
  218. package/__chunks__/{chunk-EKZU6BBJ.js → chunk-3SLF3S4V.js} +2 -2
  219. package/__chunks__/{chunk-44LIDOAJ.js → chunk-3SV3CIMC.js} +2 -2
  220. package/__chunks__/{chunk-ZI7DR2J3.js → chunk-3W6UEGJU.js} +2 -2
  221. package/__chunks__/{chunk-JQD7ZYPB.js → chunk-4EUNTSNN.js} +2 -2
  222. package/__chunks__/{chunk-IQARYUCM.js → chunk-4FZRLMXO.js} +2 -2
  223. package/__chunks__/{chunk-EDCV2TZQ.js → chunk-4K3BTVR7.js} +2 -2
  224. package/__chunks__/{chunk-Q2ZUUG5E.js → chunk-4MVNCUTP.js} +2 -2
  225. package/__chunks__/{chunk-AGMJ4KHM.js → chunk-4OYQINH3.js} +2 -2
  226. package/__chunks__/{chunk-USIN5YTU.js → chunk-4PPUW3MU.js} +2 -2
  227. package/__chunks__/{chunk-YTFW4II5.js → chunk-4SECHEFP.js} +2 -2
  228. package/__chunks__/{chunk-DASDEC3W.js → chunk-4WBOQ2JX.js} +2 -2
  229. package/__chunks__/{chunk-QMZUN5TA.js → chunk-5BARWVI6.js} +2 -2
  230. package/__chunks__/{chunk-KGCTGNUW.js → chunk-5BLO5LC4.js} +2 -2
  231. package/__chunks__/{chunk-J72LMJ7W.js → chunk-5DNMHYUQ.js} +2 -2
  232. package/__chunks__/{chunk-D7EZLCKL.js → chunk-5I4EOIWP.js} +2 -2
  233. package/__chunks__/{chunk-5XZBBH3S.js → chunk-5LLZAO75.js} +2 -2
  234. package/__chunks__/{chunk-XQCNGHNL.js → chunk-5P2LHLTD.js} +2 -2
  235. package/__chunks__/{chunk-7WKOXMIK.js → chunk-5UF3KVGT.js} +2 -2
  236. package/__chunks__/{chunk-IDFMJZM4.js → chunk-647EPCPB.js} +2 -2
  237. package/__chunks__/chunk-64Y5SFL2.js +2 -0
  238. package/__chunks__/{chunk-6F4DKI6Q.js → chunk-6AQMPEBH.js} +2 -2
  239. package/__chunks__/{chunk-H5RZ6CDG.js → chunk-6DKTUH4L.js} +2 -2
  240. package/__chunks__/chunk-6NNKJDPQ.js +2 -0
  241. package/__chunks__/chunk-6Q6SKGP3.js +2 -0
  242. package/__chunks__/{chunk-TYR2LN6R.js → chunk-73TAL55E.js} +2 -2
  243. package/__chunks__/{chunk-4BBJGQPR.js → chunk-7AAFEBYY.js} +2 -2
  244. package/__chunks__/{chunk-4MBRF3KF.js → chunk-7BQ6JQGO.js} +2 -2
  245. package/__chunks__/{chunk-AQOBNZAQ.js → chunk-7EXVTLNQ.js} +2 -2
  246. package/__chunks__/{chunk-KGEEA73B.js → chunk-7EZMJ5IL.js} +2 -2
  247. package/__chunks__/{chunk-2XODC5ZG.js → chunk-7F35K7XA.js} +2 -2
  248. package/__chunks__/chunk-7FYDX26G.js +2 -0
  249. package/__chunks__/chunk-7OWGSABI.js +2 -0
  250. package/__chunks__/{chunk-DWBUK4MN.js → chunk-7SDB5EVR.js} +2 -2
  251. package/__chunks__/{chunk-54UF7EFK.js → chunk-A6BXACIU.js} +2 -2
  252. package/__chunks__/{chunk-FVASOF7F.js → chunk-AB6NSEZO.js} +2 -2
  253. package/__chunks__/{chunk-QGMPFOIW.js → chunk-ACGSNTB5.js} +2 -2
  254. package/__chunks__/chunk-AGCR3BWU.js +2 -0
  255. package/__chunks__/{chunk-Z6ZFH4Y7.js → chunk-AIQD2X3F.js} +2 -2
  256. package/__chunks__/chunk-APNJKWK3.js +2 -0
  257. package/__chunks__/{chunk-H2X5BRAI.js → chunk-AWBKIM76.js} +2 -2
  258. package/__chunks__/{chunk-2G7CSVAQ.js → chunk-B2EHHHHT.js} +2 -2
  259. package/__chunks__/{chunk-F4I6V2HT.js → chunk-B4MDUUC4.js} +2 -2
  260. package/__chunks__/{chunk-VOQAZFT6.js → chunk-B7UOTI2W.js} +2 -2
  261. package/__chunks__/{chunk-FBS5O7LQ.js → chunk-BIJJEFX4.js} +2 -2
  262. package/__chunks__/{chunk-YYSQENVG.js → chunk-BLKMOBM3.js} +2 -2
  263. package/__chunks__/{chunk-UX7TO5NO.js → chunk-BVBFUEXJ.js} +2 -2
  264. package/__chunks__/{chunk-YGYZ4PTK.js → chunk-BWOFE7ED.js} +2 -2
  265. package/__chunks__/{chunk-P5IKLOFU.js → chunk-BYU6XDUR.js} +2 -2
  266. package/__chunks__/{chunk-Q64IBTBH.js → chunk-C6L3K6EE.js} +2 -2
  267. package/__chunks__/{chunk-WC5XCMNM.js → chunk-C7PAJLAT.js} +2 -2
  268. package/__chunks__/{chunk-R6LCCWUQ.js → chunk-CKL6I5PT.js} +2 -2
  269. package/__chunks__/{chunk-W2YXCYGY.js → chunk-CL4H4IVM.js} +2 -2
  270. package/__chunks__/{chunk-F3EUEOCY.js → chunk-CSXA4TQQ.js} +2 -2
  271. package/__chunks__/{chunk-VRFKRDAY.js → chunk-CTMSGWKY.js} +2 -2
  272. package/__chunks__/{chunk-2AOACWLS.js → chunk-CWSFAAKZ.js} +2 -2
  273. package/__chunks__/chunk-CZN2PADO.js +2 -0
  274. package/__chunks__/{chunk-MKGT6MMC.js → chunk-DCTZVFXY.js} +2 -2
  275. package/__chunks__/{chunk-RSNQ4FLP.js → chunk-DGYISS44.js} +2 -2
  276. package/__chunks__/{chunk-PRAJF6BO.js → chunk-DLU7MRBR.js} +2 -2
  277. package/__chunks__/{chunk-MW7OPBWJ.js → chunk-E2N4A72V.js} +2 -2
  278. package/__chunks__/{chunk-4HFFJ4B6.js → chunk-E3OXSBXP.js} +2 -2
  279. package/__chunks__/{chunk-HHJBPZI6.js → chunk-EF6O73FT.js} +2 -2
  280. package/__chunks__/{chunk-QXUXSAR4.js → chunk-EOHDGODE.js} +2 -2
  281. package/__chunks__/{chunk-W7RU7BO4.js → chunk-EXGP7MBK.js} +2 -2
  282. package/__chunks__/{chunk-7EA3GANT.js → chunk-EYXOIZHH.js} +2 -2
  283. package/__chunks__/{chunk-KSS5OJQF.js → chunk-F4MIIKBO.js} +2 -2
  284. package/__chunks__/{chunk-YHEVAJTE.js → chunk-FFELGPPN.js} +2 -2
  285. package/__chunks__/{chunk-74WZECDO.js → chunk-FHSUBK37.js} +2 -2
  286. package/__chunks__/chunk-FKO7ZBQK.js +2 -0
  287. package/__chunks__/{chunk-6WVSBV6U.js → chunk-FOTWB46L.js} +2 -2
  288. package/__chunks__/{chunk-Q5CHCLHJ.js → chunk-FPCNDKKN.js} +2 -2
  289. package/__chunks__/{chunk-KFCIG5RJ.js → chunk-FT7ZBDDX.js} +2 -2
  290. package/__chunks__/{chunk-D7PTEWSZ.js → chunk-FWBFJPYW.js} +2 -2
  291. package/__chunks__/{chunk-IAGEG4L6.js → chunk-G4P4EJFU.js} +2 -2
  292. package/__chunks__/{chunk-7FBKHFLL.js → chunk-G5EIEPV2.js} +2 -2
  293. package/__chunks__/chunk-GIWNPTO6.js +2 -0
  294. package/__chunks__/{chunk-O4XH2BMA.js → chunk-GLOK5WOD.js} +2 -2
  295. package/__chunks__/{chunk-QYUJ2XSZ.js → chunk-GQGPKKCC.js} +2 -2
  296. package/__chunks__/{chunk-VUCD6COT.js → chunk-GTMNF6CO.js} +2 -2
  297. package/__chunks__/{chunk-INSBGU47.js → chunk-GVJDKDHX.js} +2 -2
  298. package/__chunks__/{chunk-NFP4NLFG.js → chunk-GXVRKXVI.js} +2 -2
  299. package/__chunks__/{chunk-TZU2AHJQ.js → chunk-HCQ7FAID.js} +2 -2
  300. package/__chunks__/{chunk-YZGZURF2.js → chunk-HPKAJG6T.js} +2 -2
  301. package/__chunks__/{chunk-QGA6ODTA.js → chunk-HQVZMIEO.js} +2 -2
  302. package/__chunks__/{chunk-U66LGPOB.js → chunk-HWG4JVJI.js} +2 -2
  303. package/__chunks__/{chunk-DFFDSHBQ.js → chunk-HX3R3AAV.js} +2 -2
  304. package/__chunks__/{chunk-EYFWLFUH.js → chunk-I3C542XR.js} +2 -2
  305. package/__chunks__/{chunk-5JTCFM5F.js → chunk-IDL7ZJZU.js} +2 -2
  306. package/__chunks__/{chunk-EL6Y7B3P.js → chunk-IDRELJ3S.js} +2 -2
  307. package/__chunks__/{chunk-UMLTVZUU.js → chunk-IOY2Q7PE.js} +2 -2
  308. package/__chunks__/{chunk-GI3W6J37.js → chunk-IQYXZFFP.js} +2 -2
  309. package/__chunks__/{chunk-FIQOTVJI.js → chunk-IXJMOCYK.js} +2 -2
  310. package/__chunks__/{chunk-FS3TVPEX.js → chunk-J53IRRIS.js} +2 -2
  311. package/__chunks__/{chunk-EAIUL424.js → chunk-JAGDPU4B.js} +2 -2
  312. package/__chunks__/{chunk-HKFXX4Z5.js → chunk-JAZLAI24.js} +2 -2
  313. package/__chunks__/{chunk-7WIEB6PO.js → chunk-JBVJWBTS.js} +2 -2
  314. package/__chunks__/{chunk-TJ7UHD7E.js → chunk-JCBDAJYT.js} +2 -2
  315. package/__chunks__/{chunk-2M2F32KL.js → chunk-JQOEARYD.js} +2 -2
  316. package/__chunks__/{chunk-LATZLYVY.js → chunk-JSJMO42V.js} +2 -2
  317. package/__chunks__/{chunk-7REX6IFB.js → chunk-JSZ53WUI.js} +2 -2
  318. package/__chunks__/{chunk-BGQDLRMO.js → chunk-JWDEMVRQ.js} +2 -2
  319. package/__chunks__/{chunk-OFV6N4SL.js → chunk-JXF2JB3C.js} +2 -2
  320. package/__chunks__/{chunk-4STW42B2.js → chunk-KC5YD7BH.js} +2 -2
  321. package/__chunks__/{chunk-KQUCTH37.js → chunk-KF6JN34Y.js} +2 -2
  322. package/__chunks__/{chunk-ZB3NCVKT.js → chunk-KIH63IPZ.js} +2 -2
  323. package/__chunks__/{chunk-6Q2CFHSU.js → chunk-KIQNKTYD.js} +2 -2
  324. package/__chunks__/chunk-KS4SI3EJ.js +2 -0
  325. package/__chunks__/{chunk-DPN6FJVU.js → chunk-KUNVZQD4.js} +2 -2
  326. package/__chunks__/{chunk-I72RN34C.js → chunk-KWY63ZV6.js} +2 -2
  327. package/__chunks__/chunk-KXQRDG5F.js +2 -0
  328. package/__chunks__/{chunk-NHH7NL5E.js → chunk-L3H7CU2R.js} +2 -2
  329. package/__chunks__/{chunk-GI2V6NXV.js → chunk-LCPV5GQG.js} +2 -2
  330. package/__chunks__/{chunk-LBQIQDJD.js → chunk-LFN65XGW.js} +2 -2
  331. package/__chunks__/{chunk-YPUJTU3X.js → chunk-LGCFDGVP.js} +2 -2
  332. package/__chunks__/{chunk-SA7ERA4Q.js → chunk-LLV2VJ5L.js} +2 -2
  333. package/__chunks__/{chunk-D4OC3YUT.js → chunk-LR6MY64W.js} +2 -2
  334. package/__chunks__/{chunk-CML62JN2.js → chunk-LSO7R2OQ.js} +2 -2
  335. package/__chunks__/{chunk-3WXUTB3O.js → chunk-M3H563MI.js} +2 -2
  336. package/__chunks__/{chunk-7YLXRHWJ.js → chunk-MEJLQRVP.js} +2 -2
  337. package/__chunks__/{chunk-OVLEDVHJ.js → chunk-MHLVWX64.js} +2 -2
  338. package/__chunks__/{chunk-5YOV2HNT.js → chunk-MTP44NBW.js} +2 -2
  339. package/__chunks__/{chunk-BIN6QWSW.js → chunk-NERNXPH2.js} +2 -2
  340. package/__chunks__/{chunk-ISHTCWDR.js → chunk-NFZ7JO2Z.js} +2 -2
  341. package/__chunks__/{chunk-NVVMSGLN.js → chunk-NH6FT3IZ.js} +2 -2
  342. package/__chunks__/{chunk-F4L4CUPF.js → chunk-NNOOMFID.js} +2 -2
  343. package/__chunks__/{chunk-YLILC7LG.js → chunk-NUUCOV6X.js} +2 -2
  344. package/__chunks__/{chunk-NCDI3AYL.js → chunk-NW5ZGNQV.js} +2 -2
  345. package/__chunks__/{chunk-6UG733ID.js → chunk-NZQKUKIU.js} +2 -2
  346. package/__chunks__/{chunk-4POGWDTW.js → chunk-NZVWRMBH.js} +2 -2
  347. package/__chunks__/{chunk-ZM7MFBJT.js → chunk-O27E4JG4.js} +2 -2
  348. package/__chunks__/{chunk-OBYK4OYX.js → chunk-O2EPXHIC.js} +2 -2
  349. package/__chunks__/{chunk-WJ3KNGS3.js → chunk-O3X2Z3NX.js} +2 -2
  350. package/__chunks__/{chunk-FUF2UUKI.js → chunk-O57K5BPD.js} +2 -2
  351. package/__chunks__/{chunk-YJCBVCLE.js → chunk-OA5NXEM5.js} +2 -2
  352. package/__chunks__/{chunk-SR6NQKIB.js → chunk-OCSDRIZL.js} +2 -2
  353. package/__chunks__/{chunk-EI55KOF6.js → chunk-OFZL7QGE.js} +2 -2
  354. package/__chunks__/{chunk-EKL57QKB.js → chunk-OHAZISBB.js} +2 -2
  355. package/__chunks__/{chunk-LSJPCOZT.js → chunk-OHLUDCZP.js} +2 -2
  356. package/__chunks__/{chunk-EWW6EGRM.js → chunk-OJJW7N3Y.js} +2 -2
  357. package/__chunks__/{chunk-PVV7AP5H.js → chunk-OK5VPSYN.js} +2 -2
  358. package/__chunks__/{chunk-MJCLSFZ2.js → chunk-OM4HIUZV.js} +2 -2
  359. package/__chunks__/{chunk-JTA3GVIR.js → chunk-OPYMG7J6.js} +2 -2
  360. package/__chunks__/{chunk-CXAIKYM6.js → chunk-OXT27KBX.js} +2 -2
  361. package/__chunks__/{chunk-ED2SVVWA.js → chunk-P2I2W66R.js} +2 -2
  362. package/__chunks__/{chunk-NEJHFWOH.js → chunk-P2TS43BL.js} +2 -2
  363. package/__chunks__/{chunk-JGG6JILW.js → chunk-P3WILR7P.js} +2 -2
  364. package/__chunks__/{chunk-I67UUCWM.js → chunk-P7OHWGVE.js} +2 -2
  365. package/__chunks__/{chunk-TDQF5BVP.js → chunk-PCBKXJAS.js} +2 -2
  366. package/__chunks__/{chunk-R7U4F5VB.js → chunk-PEE6QS7F.js} +2 -2
  367. package/__chunks__/{chunk-VBHFVCAT.js → chunk-PEHJVSQJ.js} +2 -2
  368. package/__chunks__/{chunk-CWIN447N.js → chunk-PJAESNTN.js} +2 -2
  369. package/__chunks__/chunk-PVDQFAJH.js +2 -0
  370. package/__chunks__/{chunk-YGCVIMDE.js → chunk-PZIEUX5I.js} +2 -2
  371. package/__chunks__/{chunk-XRGI6JMB.js → chunk-Q4CSBUGG.js} +2 -2
  372. package/__chunks__/{chunk-RW4LZ457.js → chunk-Q4MYQMLU.js} +2 -2
  373. package/__chunks__/{chunk-EIU6FPH7.js → chunk-Q5GRUOBA.js} +2 -2
  374. package/__chunks__/{chunk-LRNF2YKD.js → chunk-Q6RIPAYC.js} +2 -2
  375. package/__chunks__/{chunk-DYYC4RDF.js → chunk-QBKC3L3M.js} +2 -2
  376. package/__chunks__/{chunk-O52EAGA6.js → chunk-QIG55ESS.js} +2 -2
  377. package/__chunks__/{chunk-BCHLSLGF.js → chunk-QJKWCOAE.js} +2 -2
  378. package/__chunks__/{chunk-SVDZWH2M.js → chunk-QLTKW7UX.js} +2 -2
  379. package/__chunks__/{chunk-RHFAVQCF.js → chunk-RFBKEGBF.js} +2 -2
  380. package/__chunks__/{chunk-DQ3JRRII.js → chunk-RI25J73C.js} +2 -2
  381. package/__chunks__/{chunk-Q2ESYPKQ.js → chunk-S2PFP7G2.js} +2 -2
  382. package/__chunks__/{chunk-HV2QURCY.js → chunk-S5NJJAPQ.js} +2 -2
  383. package/__chunks__/{chunk-YO5YBMN5.js → chunk-S77UNI5R.js} +2 -2
  384. package/__chunks__/{chunk-UEHQKYZI.js → chunk-SAVFWFK5.js} +2 -2
  385. package/__chunks__/{chunk-E4XY5NC7.js → chunk-SBQ57SK6.js} +2 -2
  386. package/__chunks__/{chunk-Y3EPA34J.js → chunk-SIC3HEYU.js} +2 -2
  387. package/__chunks__/{chunk-5Y3QZW6A.js → chunk-SK7YYO4P.js} +2 -2
  388. package/__chunks__/{chunk-LQPGLL3A.js → chunk-SWCKOXSX.js} +2 -2
  389. package/__chunks__/{chunk-BWTCKY33.js → chunk-SY3UOM25.js} +2 -2
  390. package/__chunks__/{chunk-TE4A633L.js → chunk-SZCMNOHY.js} +2 -2
  391. package/__chunks__/{chunk-QLB7UNG6.js → chunk-TBIV2K6X.js} +2 -2
  392. package/__chunks__/{chunk-HWO7SWMC.js → chunk-TCHHIVWG.js} +2 -2
  393. package/__chunks__/{chunk-NF7GOXC3.js → chunk-TEEBL6AK.js} +2 -2
  394. package/__chunks__/{chunk-VEUBH5NC.js → chunk-TH7LB4LY.js} +2 -2
  395. package/__chunks__/{chunk-NK7ZL2DT.js → chunk-THR6RXYS.js} +2 -2
  396. package/__chunks__/{chunk-5IE4CLVV.js → chunk-TL4XBKDU.js} +2 -2
  397. package/__chunks__/{chunk-BVDIPWSJ.js → chunk-TMGLGASZ.js} +2 -2
  398. package/__chunks__/{chunk-2C5FHBZ6.js → chunk-TNTBYP6K.js} +2 -2
  399. package/__chunks__/{chunk-F4N6CHNQ.js → chunk-TRZUUKRO.js} +2 -2
  400. package/__chunks__/{chunk-LJXHCNQB.js → chunk-TVESPVBL.js} +2 -2
  401. package/__chunks__/{chunk-7CG63KKM.js → chunk-TZ7D3ABD.js} +2 -2
  402. package/__chunks__/{chunk-EGC3L5HG.js → chunk-U3QQELXI.js} +2 -2
  403. package/__chunks__/{chunk-QXV737AD.js → chunk-U5QW2K3I.js} +2 -2
  404. package/__chunks__/{chunk-KIA6YZ3K.js → chunk-U5UIO4UF.js} +2 -2
  405. package/__chunks__/{chunk-I7VLLM33.js → chunk-UICSKYIJ.js} +2 -2
  406. package/__chunks__/{chunk-6P3X2LHT.js → chunk-ULECHZKW.js} +2 -2
  407. package/__chunks__/{chunk-AILFLHUG.js → chunk-URAYO74E.js} +2 -2
  408. package/__chunks__/{chunk-JBFV4LZK.js → chunk-US4GXOAG.js} +2 -2
  409. package/__chunks__/{chunk-TCBQHG5B.js → chunk-UWKLKRGH.js} +2 -2
  410. package/__chunks__/{chunk-52NJZPDV.js → chunk-V25ZKV7N.js} +2 -2
  411. package/__chunks__/{chunk-MVAESVTT.js → chunk-VNJCCAFW.js} +2 -2
  412. package/__chunks__/{chunk-QB4VIMP7.js → chunk-VRP4T4FV.js} +2 -2
  413. package/__chunks__/chunk-VSE72FLZ.js +2 -0
  414. package/__chunks__/{chunk-LFOHQPW6.js → chunk-VVNYKZD5.js} +2 -2
  415. package/__chunks__/{chunk-QR6HQXY3.js → chunk-VZ72WJ2X.js} +2 -2
  416. package/__chunks__/{chunk-QQ33UFVR.js → chunk-W6KBLENQ.js} +2 -2
  417. package/__chunks__/{chunk-5CJQ7UGB.js → chunk-W7YIY5E7.js} +2 -2
  418. package/__chunks__/{chunk-F3KXICNB.js → chunk-WBKRKXLD.js} +2 -2
  419. package/__chunks__/{chunk-S7273PCR.js → chunk-WCBZ6Z34.js} +2 -2
  420. package/__chunks__/{chunk-IPXO5MBE.js → chunk-WGEOYDAG.js} +2 -2
  421. package/__chunks__/{chunk-QVWY5CTP.js → chunk-WSRC4TQI.js} +2 -2
  422. package/__chunks__/{chunk-6PED3A2T.js → chunk-WTRR3D36.js} +2 -2
  423. package/__chunks__/{chunk-25U53MIR.js → chunk-WW2ZOHAS.js} +2 -2
  424. package/__chunks__/chunk-WYDCYB2E.js +2 -0
  425. package/__chunks__/chunk-X3FCPAMI.js +2 -0
  426. package/__chunks__/chunk-X7WDIBT5.js +2 -0
  427. package/__chunks__/{chunk-Y4EE3L22.js → chunk-XCGDGLK3.js} +2 -2
  428. package/__chunks__/{chunk-VZ5BPDK6.js → chunk-XGACROB3.js} +2 -2
  429. package/__chunks__/{chunk-NFJJRPTH.js → chunk-XLJJNITC.js} +2 -2
  430. package/__chunks__/{chunk-GFKDP6TS.js → chunk-XPDTLVYA.js} +2 -2
  431. package/__chunks__/{chunk-MOLPKVZQ.js → chunk-XQP76V2M.js} +2 -2
  432. package/__chunks__/{chunk-7FAEISPN.js → chunk-XVF4IG3A.js} +2 -2
  433. package/__chunks__/{chunk-GJV3YLKR.js → chunk-XWPLCBYN.js} +2 -2
  434. package/__chunks__/{chunk-6IVCN6PF.js → chunk-XYT2TK3Q.js} +2 -2
  435. package/__chunks__/{chunk-P5XKVFEY.js → chunk-Y6KSTO3A.js} +2 -2
  436. package/__chunks__/{chunk-2QFSPHD6.js → chunk-Y7ZCJ622.js} +2 -2
  437. package/__chunks__/{chunk-H2FTRB2E.js → chunk-YCSJTLCS.js} +2 -2
  438. package/__chunks__/{chunk-AOWSKJU4.js → chunk-YG7VDKRN.js} +2 -2
  439. package/__chunks__/{chunk-2MFJE7TI.js → chunk-YMS7SA5X.js} +2 -2
  440. package/__chunks__/{chunk-SGS2HZ53.js → chunk-YTPED4VI.js} +2 -2
  441. package/__chunks__/{chunk-OW3WYBNH.js → chunk-YY2JXRIX.js} +2 -2
  442. package/__chunks__/{chunk-QZDIC3DK.js → chunk-Z2TN7537.js} +2 -2
  443. package/__chunks__/{chunk-NIOVMYK5.js → chunk-Z42BLK44.js} +2 -2
  444. package/__chunks__/chunk-Z5BQ5KOQ.js +2 -0
  445. package/__chunks__/{chunk-VQ3N6NWS.js → chunk-ZBA5RQC3.js} +2 -2
  446. package/__chunks__/{chunk-2VCXYNTD.js → chunk-ZEM76I54.js} +2 -2
  447. package/__chunks__/{chunk-VKC5PDSR.js → chunk-ZGZXVEDL.js} +2 -2
  448. package/__chunks__/{chunk-YIWR7LMG.js → chunk-ZMMELDU7.js} +2 -2
  449. package/__chunks__/{chunk-ZG5FTAAL.js → chunk-ZO6MKGLO.js} +2 -2
  450. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  451. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  452. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  453. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  454. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  455. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  456. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  457. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  458. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  459. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  460. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  461. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  462. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  463. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  464. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  465. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  466. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  467. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  468. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +3 -3
  469. package/__commonjs/UI/TransactionDetails/components/index.js +3 -3
  470. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
  471. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  472. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  473. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  474. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  475. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  476. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +1 -1
  477. package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  478. package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +1 -1
  479. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  480. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  481. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  482. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  483. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  484. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  485. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  486. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  487. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  488. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  489. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  490. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  491. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  492. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  493. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  494. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  495. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  496. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  497. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  498. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  499. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  500. package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
  501. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +15 -15
  502. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +15 -15
  503. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  504. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  505. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  506. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  507. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  508. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  509. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  510. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  511. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +8 -8
  512. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +8 -8
  513. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +19 -19
  514. package/__commonjs/UI/TransactionInfo/index.js +1 -1
  515. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  516. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  517. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  518. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  519. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
  520. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
  521. package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
  522. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  523. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  524. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  525. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  526. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  527. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  528. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
  529. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  530. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  531. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  532. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  533. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  534. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  535. package/__commonjs/UI/index.js +1 -1
  536. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  537. package/__commonjs/UI/pages/index.js +1 -1
  538. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  539. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  540. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  541. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  542. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  543. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  544. package/__commonjs/UI/walletConnect/index.js +1 -1
  545. package/__commonjs/__mocks__/index.js +1 -1
  546. package/__commonjs/__mocks__/utils/index.js +1 -1
  547. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  548. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  549. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  550. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  551. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  552. package/__commonjs/components/LogoutListener/index.js +1 -1
  553. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  554. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  555. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  556. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  557. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  558. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  559. package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  560. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  561. package/__commonjs/hooks/index.js +1 -1
  562. package/__commonjs/hooks/login/index.js +1 -1
  563. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  564. package/__commonjs/hooks/signMessage/index.js +1 -1
  565. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  566. package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  567. package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  568. package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  569. package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  570. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  571. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  572. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  573. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  574. package/__commonjs/hooks/transactions/index.js +1 -1
  575. package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  576. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  577. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  578. package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  579. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  580. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  581. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  582. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  583. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  584. package/__commonjs/hooks/transactions/useTransactionsTracker.js +1 -1
  585. package/__commonjs/hooks/websocketListener/index.js +1 -1
  586. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  587. package/__commonjs/utils/account/addressIsValid.js +1 -1
  588. package/__commonjs/utils/account/getAddress.js +1 -1
  589. package/__commonjs/utils/account/getSearchParamAddress.js +1 -1
  590. package/__commonjs/utils/account/index.js +1 -1
  591. package/__commonjs/utils/account/refreshAccount.js +1 -1
  592. package/__commonjs/utils/account/signMessage.js +1 -1
  593. package/__commonjs/utils/index.js +1 -1
  594. package/__commonjs/utils/logout.js +1 -1
  595. package/__commonjs/utils/smartContracts.js +1 -1
  596. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  597. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  598. package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
  599. package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
  600. package/__commonjs/utils/transactions/index.js +1 -1
  601. package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  602. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  603. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
  604. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  605. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  606. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  607. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  608. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
  609. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
  610. package/__commonjs/web/hooks/index.js +1 -1
  611. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  612. package/__commonjs/web/index.js +1 -1
  613. package/__commonjs/wrappers/AppInitializer.js +1 -1
  614. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  615. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  616. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  617. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  618. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  619. package/__commonjs/wrappers/index.js +1 -1
  620. package/__mocks__/index.js +1 -1
  621. package/__mocks__/utils/index.js +1 -1
  622. package/__mocks__/utils/renderWithProvider.js +1 -1
  623. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  624. package/apiCalls/accounts/index.js +1 -1
  625. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  626. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  627. package/apiCalls/configuration/index.js +1 -1
  628. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  629. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  630. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  631. package/apiCalls/economics/index.js +1 -1
  632. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  633. package/apiCalls/index.js +1 -1
  634. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  635. package/apiCalls/transactions/index.js +1 -1
  636. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  637. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  638. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  639. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  640. package/apiCalls/utils/getScamAddressData.js +1 -1
  641. package/apiCalls/utils/index.js +1 -1
  642. package/apiCalls/utils/useApiFetch.js +1 -1
  643. package/components/LogoutListener/LogoutListener.js +1 -1
  644. package/components/LogoutListener/helpers/index.js +1 -1
  645. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  646. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  647. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  648. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  649. package/components/LogoutListener/index.js +1 -1
  650. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  651. package/components/ProviderInitializer/helpers/index.js +1 -1
  652. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  653. package/components/ProviderInitializer/hooks/index.js +1 -1
  654. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  655. package/components/ProviderInitializer/index.js +1 -1
  656. package/components/TransactionSender/TransactionSender.js +1 -1
  657. package/components/TransactionSender/index.js +1 -1
  658. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  659. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  660. package/components/TransactionsTracker/index.js +1 -1
  661. package/hooks/account/index.js +1 -1
  662. package/hooks/account/useGetAccount.js +1 -1
  663. package/hooks/account/useGetAccountInfo.js +1 -1
  664. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  665. package/hooks/account/useGetIsLoggedIn.js +1 -1
  666. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  667. package/hooks/account/useGetLoginInfo.js +1 -1
  668. package/hooks/account/useGetWebsocketEvent.js +1 -1
  669. package/hooks/economics/index.js +1 -1
  670. package/hooks/economics/useGetEgldPrice.js +1 -1
  671. package/hooks/index.js +1 -1
  672. package/hooks/login/index.js +1 -1
  673. package/hooks/login/useCrossWindowLogin.js +1 -1
  674. package/hooks/login/useExtensionLogin.js +1 -1
  675. package/hooks/login/useGetModalLoginMethods.js +1 -1
  676. package/hooks/login/useIframeLogin.js +1 -1
  677. package/hooks/login/useLedgerLogin.js +1 -1
  678. package/hooks/login/useLoginService.js +1 -1
  679. package/hooks/login/useMetamaskLogin.js +1 -1
  680. package/hooks/login/useOperaLogin.js +1 -1
  681. package/hooks/login/usePasskeyLogin.js +1 -1
  682. package/hooks/login/useWalletConnectV2Login.js +1 -1
  683. package/hooks/login/useWebViewLogin.js +1 -1
  684. package/hooks/login/useWebWalletLogin.js +1 -1
  685. package/hooks/login/useXaliasLogin.js +1 -1
  686. package/hooks/signMessage/index.js +1 -1
  687. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  688. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  689. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  690. package/hooks/signMessage/useSignMessage.js +1 -1
  691. package/hooks/toasts/index.js +1 -1
  692. package/hooks/toasts/useGetToasts.js +1 -1
  693. package/hooks/toasts/useTransactionsToasts.js +1 -1
  694. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  695. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  696. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  697. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  698. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  699. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  700. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  701. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  702. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  703. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  704. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  705. package/hooks/transactions/helpers/index.js +1 -1
  706. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  707. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  708. package/hooks/transactions/index.js +1 -1
  709. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  710. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  711. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  712. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  713. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  714. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  715. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  716. package/hooks/transactions/useGetPollingInterval.js +1 -1
  717. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  718. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  719. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  720. package/hooks/transactions/useGetTokenDetails.js +1 -1
  721. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  722. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  723. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  724. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  725. package/hooks/transactions/useSignTransactions.js +1 -1
  726. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  727. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  728. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  729. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  730. package/hooks/transactions/useTransactionsTracker.js +1 -1
  731. package/hooks/useGetNetworkConfig.js +1 -1
  732. package/hooks/useGetNotification.js +1 -1
  733. package/hooks/websocketListener/index.js +1 -1
  734. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  735. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  736. package/package.json +1 -1
  737. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  738. package/providers/experimentalWebViewProvider/index.js +1 -1
  739. package/reduxStore/selectors/index.js +1 -1
  740. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  741. package/services/index.js +1 -1
  742. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  743. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  744. package/services/nativeAuth/helpers/index.js +1 -1
  745. package/services/transactions/clearTransactions.js +1 -1
  746. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  747. package/services/transactions/getTransactionsDetails.js +1 -1
  748. package/services/transactions/index.js +1 -1
  749. package/services/transactions/sendBatchTransactions.js +1 -1
  750. package/services/transactions/sendBatchTransactions.test.js +1 -1
  751. package/services/transactions/sendTransactions.js +1 -1
  752. package/services/transactions/transformAndSignTransactions.js +1 -1
  753. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  754. package/utils/account/addressIsValid.js +1 -1
  755. package/utils/account/getAccount.js +1 -1
  756. package/utils/account/getAccountBalance.js +1 -1
  757. package/utils/account/getAccountShard.js +1 -1
  758. package/utils/account/getAddress.js +1 -1
  759. package/utils/account/getLatestNonce.js +1 -1
  760. package/utils/account/getSearchParamAddress.js +1 -1
  761. package/utils/account/getWebviewToken.js +1 -1
  762. package/utils/account/index.js +1 -1
  763. package/utils/account/refreshAccount.js +1 -1
  764. package/utils/account/signMessage.js +1 -1
  765. package/utils/getIsLoggedIn.js +1 -1
  766. package/utils/index.js +1 -1
  767. package/utils/logout.js +1 -1
  768. package/utils/network/getChainID.js +1 -1
  769. package/utils/network/getEgldLabel.js +1 -1
  770. package/utils/network/getNetworkConfig.js +1 -1
  771. package/utils/network/index.js +1 -1
  772. package/utils/smartContracts.js +1 -1
  773. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  774. package/utils/transactions/builtCallbackUrl.js +1 -1
  775. package/utils/transactions/getAllTransactionsLink.js +1 -1
  776. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  777. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  778. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  779. package/utils/transactions/getOperationsDetails.js +1 -1
  780. package/utils/transactions/getTokenFromData.js +1 -1
  781. package/utils/transactions/getTransactionLink.js +1 -1
  782. package/utils/transactions/index.js +1 -1
  783. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  784. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  785. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
  786. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  787. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  788. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  789. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  790. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  791. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  792. package/utils/waitForChainID.js +1 -1
  793. package/web/hooks/index.js +1 -1
  794. package/web/hooks/useIdleTimer.js +1 -1
  795. package/web/index.js +1 -1
  796. package/wrappers/AppInitializer.js +1 -1
  797. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  798. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  799. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  800. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  801. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  802. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  803. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  804. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  805. package/wrappers/DappProvider/CustomComponents.js +1 -1
  806. package/wrappers/DappProvider/DappProvider.js +1 -1
  807. package/wrappers/DappProvider/index.js +1 -1
  808. package/wrappers/index.js +1 -1
  809. package/__chunks__/chunk-2O6OS7QZ.js +0 -2
  810. package/__chunks__/chunk-2W2QAFUC.js +0 -2
  811. package/__chunks__/chunk-4QCZH6AK.js +0 -2
  812. package/__chunks__/chunk-4YY3W7MM.js +0 -2
  813. package/__chunks__/chunk-7XA67XGA.js +0 -2
  814. package/__chunks__/chunk-AUXCFVSZ.js +0 -2
  815. package/__chunks__/chunk-AYX7II5D.js +0 -2
  816. package/__chunks__/chunk-BGDLBDT3.js +0 -2
  817. package/__chunks__/chunk-DIPJKWDR.js +0 -2
  818. package/__chunks__/chunk-FDI635JG.js +0 -2
  819. package/__chunks__/chunk-HQZI774W.js +0 -2
  820. package/__chunks__/chunk-IJT6MCC2.js +0 -2
  821. package/__chunks__/chunk-KEK2JTSH.js +0 -2
  822. package/__chunks__/chunk-PZ2RKWZX.js +0 -2
  823. package/__chunks__/chunk-QHNSWAWM.js +0 -2
  824. package/__chunks__/chunk-USO4NFJS.js +0 -2
  825. package/__chunks__/chunk-V3DA6SW6.js +0 -2
  826. package/__chunks__/chunk-WJG5Y42T.js +0 -2
  827. package/__chunks__/chunk-Y2YHKVFC.js +0 -2
  828. package/__chunks__/chunk-ZQYGQHMO.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var gt=Object.create;var ie=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptor,Tt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,xt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var Qe=(r,e,t)=>e in r?ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))er.call(e,t)&&Qe(r,t,e[t]);if(Je)for(var t of Je(e))bt.call(e,t)&&Qe(r,t,e[t]);return r},X=(r,e)=>ft(r,Tt(e));var wt=(r,e)=>()=>(r&&(e=r(r=0)),e);var pe=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),vt=(r,e)=>{for(var t in e)ie(r,t,{get:e[t],enumerable:!0})},rr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yt(e))!er.call(r,i)&&i!==t&&ie(r,i,{get:()=>e[i],enumerable:!(n=ht(e,i))||n.enumerable});return r};var R=(r,e,t)=>(t=r!=null?gt(xt(r)):{},rr(e||!r||!r.__esModule?ie(t,"default",{value:r,enumerable:!0}):t,r)),St=r=>rr(ie({},"__esModule",{value:!0}),r);var ir=pe(de=>{"use strict";a();de.byteLength=At;de.toByteArray=Nt;de.fromByteArray=Rt;var D=[],k=[],kt=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(H=0,tr=ve.length;H<tr;++H)D[H]=ve[H],k[ve.charCodeAt(H)]=H;var H,tr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function nr(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function At(r){var e=nr(r),t=e[0],n=e[1];return(t+n)*3/4-n}function It(r,e,t){return(e+t)*3/4-t}function Nt(r){var e,t=nr(r),n=t[0],i=t[1],o=new kt(It(r,n,i)),s=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=k[r.charCodeAt(m)]<<18|k[r.charCodeAt(m+1)]<<12|k[r.charCodeAt(m+2)]<<6|k[r.charCodeAt(m+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=k[r.charCodeAt(m)]<<2|k[r.charCodeAt(m+1)]>>4,o[s++]=e&255),i===1&&(e=k[r.charCodeAt(m)]<<10|k[r.charCodeAt(m+1)]<<4|k[r.charCodeAt(m+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Et(r){return D[r>>18&63]+D[r>>12&63]+D[r>>6&63]+D[r&63]}function _t(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Et(n));return i.join("")}function Rt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,u=t-n;s<u;s+=o)i.push(_t(r,s,s+o>u?u:s+o));return n===1?(e=r[t-1],i.push(D[e>>2]+D[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(D[e>>10]+D[e>>4&63]+D[e<<2&63]+"=")),i.join("")}});var or=pe(Se=>{a();Se.read=function(r,e,t,n,i){var o,s,u=i*8-n-1,m=(1<<u)-1,g=m>>1,h=-7,f=t?i-1:0,T=t?-1:1,y=r[e+f];for(f+=T,o=y&(1<<-h)-1,y>>=-h,h+=u;h>0;o=o*256+r[e+f],f+=T,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+r[e+f],f+=T,h-=8);if(o===0)o=1-g;else{if(o===m)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-g}return(y?-1:1)*s*Math.pow(2,o-n)};Se.write=function(r,e,t,n,i,o){var s,u,m,g=o*8-i-1,h=(1<<g)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,b=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=T/m:e+=T*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(u=0,s=h):s+f>=1?(u=(e*m-1)*Math.pow(2,i),s=s+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;r[t+y]=u&255,y+=b,u/=256,i-=8);for(s=s<<i|u,g+=i;g>0;r[t+y]=s&255,y+=b,s/=256,g-=8);r[t+y-b]|=I*128}});var yr=pe(Z=>{"use strict";a();var ke=ir(),Y=or(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=c;Z.SlowBuffer=Bt;Z.INSPECT_MAX_BYTES=50;var me=2147483647;Z.kMaxLength=me;c.TYPED_ARRAY_SUPPORT=Dt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Dt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(r){if(r>me)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ee(r)}return lr(r,e,t)}c.poolSize=8192;function lr(r,e,t){if(typeof r=="string")return Ft(r,e);if(ArrayBuffer.isView(r))return Ct(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(L(r,ArrayBuffer)||r&&L(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(L(r,SharedArrayBuffer)||r&&L(r.buffer,SharedArrayBuffer)))return Ie(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=Ot(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return lr(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function ur(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Lt(r,e,t){return ur(r),r<=0?U(r):e!==void 0?typeof t=="string"?U(r).fill(e,t):U(r).fill(e):U(r)}c.alloc=function(r,e,t){return Lt(r,e,t)};function Ee(r){return ur(r),U(r<0?0:_e(r)|0)}c.allocUnsafe=function(r){return Ee(r)};c.allocUnsafeSlow=function(r){return Ee(r)};function Ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=pr(r,e)|0,n=U(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function Ae(r){for(var e=r.length<0?0:_e(r.length)|0,t=U(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function Ct(r){if(L(r,Uint8Array)){var e=new Uint8Array(r);return Ie(e.buffer,e.byteOffset,e.byteLength)}return Ae(r)}function Ie(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function Ot(r){if(c.isBuffer(r)){var e=_e(r.length)|0,t=U(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Re(r.length)?U(0):Ae(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Ae(r.data)}function _e(r){if(r>=me)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+me.toString(16)+" bytes");return r|0}function Bt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(L(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function pr(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||L(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Ne(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Tr(r).length;default:if(i)return n?-1:Ne(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=pr;function Ut(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return zt(this,e,t);case"utf8":case"utf-8":return mr(this,e,t);case"ascii":return qt(this,e,t);case"latin1":case"binary":return jt(this,e,t);case"base64":return Wt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function q(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)q(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)q(this,t,t+3),q(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)q(this,t,t+7),q(this,t+1,t+6),q(this,t+2,t+5),q(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?mr(this,0,e):Ut.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=Z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};ar&&(c.prototype[ar]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,u=n-t,m=Math.min(s,u),g=this.slice(i,o),h=e.slice(t,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],u=h[f];break}return s<u?-1:u<s?1:0};function dr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Re(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:sr(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):sr(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(r,e,t,n,i){var o=1,s=r.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,u/=2,t/=2}function m(y,b){return o===1?y[b]:y.readUInt16BE(b*o)}var g;if(i){var h=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===u)return h*o}else h!==-1&&(g-=g-h),h=-1}else for(t+u>s&&(t=s-u),g=t;g>=0;g--){for(var f=!0,T=0;T<u;T++)if(m(r,g+T)!==m(e,T)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return dr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return dr(this,e,t,n,!1)};function Pt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(s*2,2),16);if(Re(u))return s;r[t+s]=u}return s}function Mt(r,e,t,n){return ge(Ne(e,r.length-t),r,t,n)}function Gt(r,e,t,n){return ge(Zt(e),r,t,n)}function Vt(r,e,t,n){return ge(Tr(e),r,t,n)}function $t(r,e,t,n){return ge(Jt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Pt(this,e,t,n);case"utf8":case"utf-8":return Mt(this,e,t,n);case"ascii":case"latin1":case"binary":return Gt(this,e,t,n);case"base64":return Vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $t(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wt(r,e,t){return e===0&&t===r.length?ke.fromByteArray(r):ke.fromByteArray(r.slice(e,t))}function mr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,h,f;switch(u){case 1:o<128&&(s=o);break;case 2:m=r[i+1],(m&192)===128&&(f=(o&31)<<6|m&63,f>127&&(s=f));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(f=(o&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=r[i+1],g=r[i+2],h=r[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(o&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=u}return Ht(n)}var cr=4096;function Ht(r){var e=r.length;if(e<=cr)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=cr));return t}function qt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function jt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function zt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Qt[r[o]];return i}function Kt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!1,52,8)};function S(r,e,t,n,i,o){if(!c.isBuffer(r))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(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=1,u=0;for(this[t]=e&255;++u<n&&(s*=256);)this[t+u]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=n-1,u=1;for(this[t+s]=e&255;--s>=0&&(u*=256);)this[t+s]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=0,u=1,m=0;for(this[t]=e&255;++s<n&&(u*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=n-1,u=1,m=0;for(this[t+s]=e&255;--s>=0&&(u*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function gr(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function fr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,4,34028234663852886e22,-34028234663852886e22),Y.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return fr(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return fr(this,e,t,!1,n)};function hr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,8,17976931348623157e292,-17976931348623157e292),Y.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return hr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return hr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var 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(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=u[s%m]}return this};var Xt=/[^+/0-9A-Za-z-_]/g;function Yt(r){if(r=r.split("=")[0],r=r.trim().replace(Xt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ne(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Zt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Jt(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Tr(r){return ke.toByteArray(Yt(r))}function ge(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function L(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Re(r){return r!==r}var Qt=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var Sr=pe((In,vr)=>{a();var x=vr.exports={},F,C;function De(){throw new Error("setTimeout has not been defined")}function Le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=De}catch(r){F=De}try{typeof clearTimeout=="function"?C=clearTimeout:C=Le}catch(r){C=Le}})();function xr(r){if(F===setTimeout)return setTimeout(r,0);if((F===De||!F)&&setTimeout)return F=setTimeout,setTimeout(r,0);try{return F(r,0)}catch(e){try{return F.call(null,r,0)}catch(t){return F.call(this,r,0)}}}function en(r){if(C===clearTimeout)return clearTimeout(r);if((C===Le||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(r);try{return C(r)}catch(e){try{return C.call(null,r)}catch(t){return C.call(this,r)}}}var P=[],J=!1,j,fe=-1;function rn(){!J||!j||(J=!1,j.length?P=j.concat(P):fe=-1,P.length&&br())}function br(){if(!J){var r=xr(rn);J=!0;for(var e=P.length;e;){for(j=P,P=[];++fe<e;)j&&j[fe].run();fe=-1,e=P.length}j=null,J=!1,en(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];P.push(new wr(r,e)),P.length===1&&!J&&xr(br)};function wr(r,e){this.fun=r,this.array=e}wr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function M(){}x.on=M;x.addListener=M;x.once=M;x.off=M;x.removeListener=M;x.removeAllListeners=M;x.emit=M;x.prependListener=M;x.prependOnceListener=M;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Nn,a=wt(()=>{l=R(yr()),p=R(Sr()),Nn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var wn={};vt(wn,{ACTIONS_WITH_EGLD_VALUE:()=>Xe,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>Ke,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>Ze,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>Ye,explorerUrlBuilder:()=>_,getExplorerLink:()=>K,getHumanReadableTimeFormat:()=>dn,getInterpretedTransaction:()=>bn,getOperationsMessages:()=>mn,getReceiptMessage:()=>fn,getTransactionMethod:()=>$e,getTransactionReceiver:()=>se,getTransactionReceiverAssets:()=>Ve,getTransactionTokens:()=>ae,getTransactionTransferType:()=>We,getTransactionValue:()=>xn});module.exports=St(wn);a();a();a();var oe=require("@multiversx/sdk-core");a();a();a();a();a();a();var Fe=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),Q=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var kr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(kr||{}),Ln=E(E({},Q.WindowProviderRequestEnums),kr),Ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ar||{}),Fn=E(E({},Q.WindowProviderResponseEnums),Ar);a();a();a();var Ce=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ce||{});a();a();a();a();var Ir=require("@multiversx/sdk-core");function tn(r){try{let e=new Ir.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function he(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&tn(r)}a();function Oe(r){try{let e=atob(r),t=btoa(e),n=l.Buffer.from(r,"base64").toString(),i=l.Buffer.from(n).toString("base64"),o=r===t||t.startsWith(r),s=r===i||i.startsWith(r);if(o&&s)return!0}catch(e){return!1}return!1}function Nr(r){return Oe(r)?atob(r):r}var nn=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function Er(r,e,t=""){if(!he(r))return!1;if(new oe.Address(r).isContractAddress())return!0;let o=cn({receiver:r,data:t});return o?new oe.Address(o).isContractAddress()||sn(r,e,t):!1}var on=r=>r.toLowerCase().match(/[0-9a-f]/g),an=r=>r.length%2===0;function sn(r,e,t){let n=t==null?void 0:t.split("@");if(n==null)return!1;let[i,...o]=n,s=e!=null&&r!=null&&r===e,u=nn.includes(i),m=o.every(g=>on(g)&&an(g));return s&&u&&m}function cn({receiver:r,data:e}){try{if(!e)return r;let t=Oe(e)?oe.TransactionPayload.fromEncoded(e).toString():e,n=ln(t),i=t.split("@");return n>-1?i[n]:r}catch(t){console.log(t);return}}function ln(r){return r.includes("MultiESDTNFTTransfer")?1:r.includes("ESDTNFTTransfer")?4:-1}a();var Ue=require("@multiversx/sdk-core"),Te=R(require("bignumber.js"));a();a();function _r(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Rr(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();_r(t)&&t.length>1&&(e=t)}catch(t){}return e}var Be={tokenId:"",amount:""},Dr=r=>r.split("@").map((o,s)=>[2,3].includes(s)?o:Rr(o));function Lr(r){if(!r)return Be;let e=r.startsWith("ESDTTransfer"),t=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),n=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(e){let[,i,o]=r.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return Be;let u=new Te.default("0x"+o.replace("0x","")).toString(10);return{tokenId:s,amount:u}}catch(s){console.error("Error getting token from transaction data",s)}}if(t)try{let[,i,o,s,u]=Dr(r);if([i,o,s,u].every(m=>Boolean(m))&&he(new Ue.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o,receiver:new Ue.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,s]=Dr(r);if([i,o,s].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o}}catch(i){}return Be}a();a();a();var V="accounts";var Fr="blocks",Cr="code",Or="collections";var Br="contracts";var Ur="identities";var Pr="locked-accounts",Mr="logs",Gr="miniblocks";var Pe="nfts",Vr="nodes",Me="providers",$r="roles",Ge="sc-results";var ee="tokens";var z="transactions";var _={shard:r=>`/${Fr}?shard=${r}`,receiverShard:r=>`/${z}?receivershard=${r}`,senderShard:r=>`/${z}?sendershard=${r}`,transactionDetails:r=>`/${z}/${r}`,transactionDetailsScResults:r=>`/${z}/${r}/${Ge}`,transactionDetailsLogs:r=>`/${z}/${r}/${Mr}`,nodeDetails:r=>`/${Vr}/${r}`,accountDetails:r=>`/${V}/${r}`,accountDetailsContractCode:r=>`/${V}/${r}/${Cr}`,accountDetailsTokens:r=>`/${V}/${r}/${ee}`,accountDetailsNfts:r=>`/${V}/${r}/${Pe}`,accountDetailsScResults:r=>`/${V}/${r}/${Ge}`,accountDetailsContracts:r=>`/${V}/${r}/${Br}`,identityDetails:r=>`/${Ur}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${V}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Pr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${$r}`,collectionDetails:r=>`/${Or}/${r}`,nftDetails:r=>`/${Pe}/${r}`,providerDetails:r=>`/${Me}/${r}`,providerDetailsTransactions:r=>`/${Me}/${r}/${z}`,miniblockDetails:r=>`/${Gr}/${r}`};a();var ae=r=>{var e,t,n,i;if(r.action){let o=[(e=r.action.arguments)==null?void 0:e.token,(t=r.action.arguments)==null?void 0:t.token1,(n=r.action.arguments)==null?void 0:n.token2,(i=r.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};a();a();function se(r){var t,n;let e=r.receiver;return(n=(t=r.action)==null?void 0:t.arguments)!=null&&n.receiver&&(e=r.action.arguments.receiver),e}function Ve(r){let e=se(r);return r.receiver===e?r.receiverAssets:void 0}a();var $e=r=>{var n,i,o,s,u,m;let e="Transaction";return((n=r.action)==null?void 0:n.name)&&((i=r.action)==null?void 0:i.category)&&(((o=r.action)==null?void 0:o.category)==="esdtNft"&&((s=r.action)==null?void 0:s.name)==="transfer"?e="Transaction":r.action&&(e=r.action.name),(m=(u=r.action)==null?void 0:u.arguments)!=null&&m.functionName&&(e=r.action.arguments.functionName)),e};a();var Wr=!1;function pn(r){Wr||(console.error(r),Wr=!0)}function K({explorerAddress:r,to:e}){try{return new URL(e).href}catch(t){return e.startsWith("/")||(pn(`Link not prepended by / : ${e}`),e=`/${e}`),r?`${r}${e}`:e}}a();function We(r,e,t){let n=r===e.sender,i=r===t,o=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case o:return"Self";case i:return"In";case n:default:return"Out"}}a();function dn({value:r,noSeconds:e,utc:t,meridiem:n=!0}){let i=new Date(r*1e3),[,o]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,u]=s.split(","),[m,g,h,f]=u.trim().split(" "),[T,y,b]=f.split(":"),I=`:${b}`,te=`${T}:${y}${e?"":I}`,W=`${n?o:""} ${t?"UTC":""}`.trim();return`${g} ${m}, ${h} ${te} ${W}`.trim()}a();function mn(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}a();var Jr=R(require("bignumber.js"));a();a();a();a();a();a();a();a();a();var He={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hr,egldLabel:Ui}=He["devnet"],{chainId:qr,egldLabel:Pi}=He["testnet"],{chainId:jr,egldLabel:Mi}=He["mainnet"];var Gi={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},Vi={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"};a();a();var O=require("@multiversx/sdk-web-wallet-provider");a();var zr,Kr,qe=String((Kr=(zr=Fe.safeWindow)==null?void 0:zr.navigator)==null?void 0:Kr.userAgent),ji=/^((?!chrome|android).)*safari/i.test(qe),zi=/firefox/i.test(qe)&&/windows/i.test(qe);var v=18,re=4;var Xr="refundedGas";var ye="0";a();var Zr=require("@multiversx/sdk-core"),$=R(require("bignumber.js"));a();var Yr=R(require("bignumber.js")),je=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function G(r){return{if:function(e){return e?{then:t=>t instanceof Function?G(t(r)):G(t)}:{then:()=>G(r)}},then:e=>e instanceof Function?G(e(r)):G(e),valueOf:function(){return r}}}$.default.config({ROUNDING_MODE:$.default.ROUND_FLOOR});function B({input:r,decimals:e=v,digits:t=re,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!je(r,!1))throw new Error("Invalid input");let s=new $.default(r).isNegative(),u=r;return s&&(u=r.substring(1)),G(u).then(()=>Zr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new $.default(m);if(g.isZero())return ye;let h=g.toString(10),[f,T]=h.split("."),y=new $.default(T||0),b=G(0).if(Boolean(T&&n)).then(()=>Math.max(T.length,t)).if(y.isZero()&&!n).then(0).if(Boolean(T&&!n)).then(()=>Math.min(T.length,t)).valueOf(),I=T&&t>=1&&t<=T.length&&y.isGreaterThan(0)&&new $.default(T.substring(0,t)).isZero(),te=g.toFormat(b);return G(h).if(o).then(te).if(Boolean(I)).then(ne=>{let W=new $.default(f).isZero(),[N,le]=ne.split("."),ue=new Array(t-1).fill(0),dt=[...ue,0].join(""),mt=[...ue,1].join("");return W?i?`<${N}.${mt}`:n?`${N}.${le}`:N:`${N}.${dt}`}).if(Boolean(!I&&T)).then(ne=>{let[W]=ne.split("."),N=T.substring(0,b);if(n){let le=t-N.length;if(le>0){let ue=Array(le).fill(0).join("");return N=`${N}${ue}`,`${W}.${N}`}return ne}return N?`${W}.${N}`:W}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var gn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Xr){let n=B({input:r.receipt.value,decimals:v,digits:re,showLastNonZeroDecimal:!0});return new Jr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function fn(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=gn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();a();a();a();var xe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(xe||{});a();a();a();a();a();var hn=require("@multiversx/sdk-core");a();var ce=require("@multiversx/sdk-core"),yn=R(require("bignumber.js"));a();a();a();var Tn=R(require("bignumber.js"));a();a();var ze={isEsdt:!1,isNft:!1,isEgld:!1};function Qr(r){let e=r==null?void 0:r.split("-").length;return e===2?X(E({},ze),{isEsdt:!0}):e===3?X(E({},ze),{isNft:!0}):X(E({},ze),{isEgld:!0})}a();a();a();a();a();a();function be({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let s="";n&&i&&(s=i?B({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=_.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function we({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?B({input:r.value,decimals:(u=r.decimals)!=null?u:v,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=_.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ke=["reDelegateRewards","claimRewards","unBond"],Xe=["wrapEgld","unwrapEgld"],Ye=["unStake"],Ze=["unDelegate"];a();a();var et=r=>{let e=r.map(n=>{let{isNft:i}=Qr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:T}=be({token:n});return`${h!=null?`(${h}) `:""}${f} ${T}`}let{tokenFormattedAmount:o,tokenLinkText:s,token:u}=we({token:n}),m=u.collection?u.identifier:u.token;return`${o} ${s} (${m})`});return decodeURI(e.join("%0A"))};a();var A=r=>({egldValueData:{value:r,formattedValue:B({input:r}),decimals:v}});a();var tt=R(require("bignumber.js"));a();a();a();var rt=!1;function nt(r){var e;try{let n=Nr(r.data).replace(`${(e=r.action)==null?void 0:e.name}@`,""),i=new tt.default(n,16);if(!i.isNaN())return A(i.toString(10))}catch(t){rt||(console.error(`Unable to extract value for txHash: ${r.txHash}`),rt=!0)}return A(r.value)}a();a();var it=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ce).includes(i.type)))!=null?n:[]};var ot=!1,at=r=>{ot||(console.error(`Operations field missing for txHash: ${r}.
1
+ "use strict";var gt=Object.create;var ie=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptor,Tt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,xt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var Qe=(r,e,t)=>e in r?ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))er.call(e,t)&&Qe(r,t,e[t]);if(Je)for(var t of Je(e))bt.call(e,t)&&Qe(r,t,e[t]);return r},X=(r,e)=>ft(r,Tt(e));var wt=(r,e)=>()=>(r&&(e=r(r=0)),e);var pe=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),vt=(r,e)=>{for(var t in e)ie(r,t,{get:e[t],enumerable:!0})},rr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yt(e))!er.call(r,i)&&i!==t&&ie(r,i,{get:()=>e[i],enumerable:!(n=ht(e,i))||n.enumerable});return r};var R=(r,e,t)=>(t=r!=null?gt(xt(r)):{},rr(e||!r||!r.__esModule?ie(t,"default",{value:r,enumerable:!0}):t,r)),St=r=>rr(ie({},"__esModule",{value:!0}),r);var ir=pe(de=>{"use strict";a();de.byteLength=At;de.toByteArray=Nt;de.fromByteArray=Rt;var D=[],k=[],kt=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(H=0,tr=ve.length;H<tr;++H)D[H]=ve[H],k[ve.charCodeAt(H)]=H;var H,tr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function nr(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function At(r){var e=nr(r),t=e[0],n=e[1];return(t+n)*3/4-n}function It(r,e,t){return(e+t)*3/4-t}function Nt(r){var e,t=nr(r),n=t[0],i=t[1],o=new kt(It(r,n,i)),s=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=k[r.charCodeAt(m)]<<18|k[r.charCodeAt(m+1)]<<12|k[r.charCodeAt(m+2)]<<6|k[r.charCodeAt(m+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=k[r.charCodeAt(m)]<<2|k[r.charCodeAt(m+1)]>>4,o[s++]=e&255),i===1&&(e=k[r.charCodeAt(m)]<<10|k[r.charCodeAt(m+1)]<<4|k[r.charCodeAt(m+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Et(r){return D[r>>18&63]+D[r>>12&63]+D[r>>6&63]+D[r&63]}function _t(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Et(n));return i.join("")}function Rt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,u=t-n;s<u;s+=o)i.push(_t(r,s,s+o>u?u:s+o));return n===1?(e=r[t-1],i.push(D[e>>2]+D[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(D[e>>10]+D[e>>4&63]+D[e<<2&63]+"=")),i.join("")}});var or=pe(Se=>{a();Se.read=function(r,e,t,n,i){var o,s,u=i*8-n-1,m=(1<<u)-1,g=m>>1,h=-7,f=t?i-1:0,T=t?-1:1,y=r[e+f];for(f+=T,o=y&(1<<-h)-1,y>>=-h,h+=u;h>0;o=o*256+r[e+f],f+=T,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+r[e+f],f+=T,h-=8);if(o===0)o=1-g;else{if(o===m)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-g}return(y?-1:1)*s*Math.pow(2,o-n)};Se.write=function(r,e,t,n,i,o){var s,u,m,g=o*8-i-1,h=(1<<g)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,b=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=T/m:e+=T*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(u=0,s=h):s+f>=1?(u=(e*m-1)*Math.pow(2,i),s=s+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;r[t+y]=u&255,y+=b,u/=256,i-=8);for(s=s<<i|u,g+=i;g>0;r[t+y]=s&255,y+=b,s/=256,g-=8);r[t+y-b]|=I*128}});var yr=pe(Z=>{"use strict";a();var ke=ir(),Y=or(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=c;Z.SlowBuffer=Bt;Z.INSPECT_MAX_BYTES=50;var me=2147483647;Z.kMaxLength=me;c.TYPED_ARRAY_SUPPORT=Dt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Dt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(r){if(r>me)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ee(r)}return lr(r,e,t)}c.poolSize=8192;function lr(r,e,t){if(typeof r=="string")return Ft(r,e);if(ArrayBuffer.isView(r))return Ct(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(L(r,ArrayBuffer)||r&&L(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(L(r,SharedArrayBuffer)||r&&L(r.buffer,SharedArrayBuffer)))return Ie(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=Ot(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return lr(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function ur(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Lt(r,e,t){return ur(r),r<=0?U(r):e!==void 0?typeof t=="string"?U(r).fill(e,t):U(r).fill(e):U(r)}c.alloc=function(r,e,t){return Lt(r,e,t)};function Ee(r){return ur(r),U(r<0?0:_e(r)|0)}c.allocUnsafe=function(r){return Ee(r)};c.allocUnsafeSlow=function(r){return Ee(r)};function Ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=pr(r,e)|0,n=U(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function Ae(r){for(var e=r.length<0?0:_e(r.length)|0,t=U(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function Ct(r){if(L(r,Uint8Array)){var e=new Uint8Array(r);return Ie(e.buffer,e.byteOffset,e.byteLength)}return Ae(r)}function Ie(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function Ot(r){if(c.isBuffer(r)){var e=_e(r.length)|0,t=U(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Re(r.length)?U(0):Ae(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Ae(r.data)}function _e(r){if(r>=me)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+me.toString(16)+" bytes");return r|0}function Bt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(L(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function pr(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||L(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Ne(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Tr(r).length;default:if(i)return n?-1:Ne(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=pr;function Ut(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return zt(this,e,t);case"utf8":case"utf-8":return mr(this,e,t);case"ascii":return qt(this,e,t);case"latin1":case"binary":return jt(this,e,t);case"base64":return Wt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function q(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)q(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)q(this,t,t+3),q(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)q(this,t,t+7),q(this,t+1,t+6),q(this,t+2,t+5),q(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?mr(this,0,e):Ut.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=Z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};ar&&(c.prototype[ar]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,u=n-t,m=Math.min(s,u),g=this.slice(i,o),h=e.slice(t,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],u=h[f];break}return s<u?-1:u<s?1:0};function dr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Re(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:sr(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):sr(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(r,e,t,n,i){var o=1,s=r.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,u/=2,t/=2}function m(y,b){return o===1?y[b]:y.readUInt16BE(b*o)}var g;if(i){var h=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===u)return h*o}else h!==-1&&(g-=g-h),h=-1}else for(t+u>s&&(t=s-u),g=t;g>=0;g--){for(var f=!0,T=0;T<u;T++)if(m(r,g+T)!==m(e,T)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return dr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return dr(this,e,t,n,!1)};function Pt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(s*2,2),16);if(Re(u))return s;r[t+s]=u}return s}function Mt(r,e,t,n){return ge(Ne(e,r.length-t),r,t,n)}function Gt(r,e,t,n){return ge(Zt(e),r,t,n)}function Vt(r,e,t,n){return ge(Tr(e),r,t,n)}function $t(r,e,t,n){return ge(Jt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Pt(this,e,t,n);case"utf8":case"utf-8":return Mt(this,e,t,n);case"ascii":case"latin1":case"binary":return Gt(this,e,t,n);case"base64":return Vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $t(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Wt(r,e,t){return e===0&&t===r.length?ke.fromByteArray(r):ke.fromByteArray(r.slice(e,t))}function mr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,h,f;switch(u){case 1:o<128&&(s=o);break;case 2:m=r[i+1],(m&192)===128&&(f=(o&31)<<6|m&63,f>127&&(s=f));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(f=(o&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=r[i+1],g=r[i+2],h=r[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(o&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=u}return Ht(n)}var cr=4096;function Ht(r){var e=r.length;if(e<=cr)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=cr));return t}function qt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function jt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function zt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Qt[r[o]];return i}function Kt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!1,52,8)};function S(r,e,t,n,i,o){if(!c.isBuffer(r))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(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=1,u=0;for(this[t]=e&255;++u<n&&(s*=256);)this[t+u]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;S(this,e,t,n,o,0)}var s=n-1,u=1;for(this[t+s]=e&255;--s>=0&&(u*=256);)this[t+s]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=0,u=1,m=0;for(this[t]=e&255;++s<n&&(u*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);S(this,e,t,n,o-1,-o)}var s=n-1,u=1,m=0;for(this[t+s]=e&255;--s>=0&&(u*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function gr(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function fr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,4,34028234663852886e22,-34028234663852886e22),Y.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return fr(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return fr(this,e,t,!1,n)};function hr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,8,17976931348623157e292,-17976931348623157e292),Y.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return hr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return hr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var 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(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=u[s%m]}return this};var Xt=/[^+/0-9A-Za-z-_]/g;function Yt(r){if(r=r.split("=")[0],r=r.trim().replace(Xt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ne(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Zt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Jt(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Tr(r){return ke.toByteArray(Yt(r))}function ge(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function L(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Re(r){return r!==r}var Qt=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var Sr=pe((In,vr)=>{a();var x=vr.exports={},F,C;function De(){throw new Error("setTimeout has not been defined")}function Le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=De}catch(r){F=De}try{typeof clearTimeout=="function"?C=clearTimeout:C=Le}catch(r){C=Le}})();function xr(r){if(F===setTimeout)return setTimeout(r,0);if((F===De||!F)&&setTimeout)return F=setTimeout,setTimeout(r,0);try{return F(r,0)}catch(e){try{return F.call(null,r,0)}catch(t){return F.call(this,r,0)}}}function en(r){if(C===clearTimeout)return clearTimeout(r);if((C===Le||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(r);try{return C(r)}catch(e){try{return C.call(null,r)}catch(t){return C.call(this,r)}}}var P=[],J=!1,j,fe=-1;function rn(){!J||!j||(J=!1,j.length?P=j.concat(P):fe=-1,P.length&&br())}function br(){if(!J){var r=xr(rn);J=!0;for(var e=P.length;e;){for(j=P,P=[];++fe<e;)j&&j[fe].run();fe=-1,e=P.length}j=null,J=!1,en(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];P.push(new wr(r,e)),P.length===1&&!J&&xr(br)};function wr(r,e){this.fun=r,this.array=e}wr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function M(){}x.on=M;x.addListener=M;x.once=M;x.off=M;x.removeListener=M;x.removeAllListeners=M;x.emit=M;x.prependListener=M;x.prependOnceListener=M;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Nn,a=wt(()=>{l=R(yr()),p=R(Sr()),Nn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var wn={};vt(wn,{ACTIONS_WITH_EGLD_VALUE:()=>Xe,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>Ke,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>Ze,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>Ye,explorerUrlBuilder:()=>_,getExplorerLink:()=>K,getHumanReadableTimeFormat:()=>dn,getInterpretedTransaction:()=>bn,getOperationsMessages:()=>mn,getReceiptMessage:()=>fn,getTransactionMethod:()=>$e,getTransactionReceiver:()=>se,getTransactionReceiverAssets:()=>Ve,getTransactionTokens:()=>ae,getTransactionTransferType:()=>We,getTransactionValue:()=>xn});module.exports=St(wn);a();a();a();var oe=require("@multiversx/sdk-core");a();a();a();a();a();a();var Fe=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),Q=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var kr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(kr||{}),Ln=E(E({},Q.WindowProviderRequestEnums),kr),Ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ar||{}),Fn=E(E({},Q.WindowProviderResponseEnums),Ar);a();a();a();var Ce=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ce||{});a();a();a();a();var Ir=require("@multiversx/sdk-core");function tn(r){try{let e=new Ir.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function he(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&tn(r)}a();function Oe(r){try{let e=atob(r),t=btoa(e),n=l.Buffer.from(r,"base64").toString(),i=l.Buffer.from(n).toString("base64"),o=r===t||t.startsWith(r),s=r===i||i.startsWith(r);if(o&&s)return!0}catch(e){return!1}return!1}function Nr(r){return Oe(r)?atob(r):r}var nn=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function Er(r,e,t=""){if(!he(r))return!1;if(new oe.Address(r).isContractAddress())return!0;let o=cn({receiver:r,data:t});return o?new oe.Address(o).isContractAddress()||sn(r,e,t):!1}var on=r=>r.toLowerCase().match(/[0-9a-f]/g),an=r=>r.length%2===0;function sn(r,e,t){let n=t==null?void 0:t.split("@");if(n==null)return!1;let[i,...o]=n,s=e!=null&&r!=null&&r===e,u=nn.includes(i),m=o.every(g=>on(g)&&an(g));return s&&u&&m}function cn({receiver:r,data:e}){try{if(!e)return r;let t=Oe(e)?oe.TransactionPayload.fromEncoded(e).toString():e,n=ln(t),i=t.split("@");return n>-1?i[n]:r}catch(t){console.log(t);return}}function ln(r){return r.includes("MultiESDTNFTTransfer")?1:r.includes("ESDTNFTTransfer")?4:-1}a();var Ue=require("@multiversx/sdk-core"),Te=R(require("bignumber.js"));a();a();function _r(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Rr(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();_r(t)&&t.length>1&&(e=t)}catch(t){}return e}var Be={tokenId:"",amount:""},Dr=r=>r.split("@").map((o,s)=>[2,3].includes(s)?o:Rr(o));function Lr(r){if(!r)return Be;let e=r.startsWith("ESDTTransfer"),t=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),n=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(e){let[,i,o]=r.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return Be;let u=new Te.default("0x"+o.replace("0x","")).toString(10);return{tokenId:s,amount:u}}catch(s){console.error("Error getting token from transaction data",s)}}if(t)try{let[,i,o,s,u]=Dr(r);if([i,o,s,u].every(m=>Boolean(m))&&he(new Ue.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o,receiver:new Ue.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,s]=Dr(r);if([i,o,s].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o}}catch(i){}return Be}a();a();a();var V="accounts";var Fr="blocks",Cr="code",Or="collections";var Br="contracts";var Ur="identities";var Pr="locked-accounts",Mr="logs",Gr="miniblocks";var Pe="nfts",Vr="nodes",Me="providers",$r="roles",Ge="sc-results";var ee="tokens";var z="transactions";var _={shard:r=>`/${Fr}?shard=${r}`,receiverShard:r=>`/${z}?receivershard=${r}`,senderShard:r=>`/${z}?sendershard=${r}`,transactionDetails:r=>`/${z}/${r}`,transactionDetailsScResults:r=>`/${z}/${r}/${Ge}`,transactionDetailsLogs:r=>`/${z}/${r}/${Mr}`,nodeDetails:r=>`/${Vr}/${r}`,accountDetails:r=>`/${V}/${r}`,accountDetailsContractCode:r=>`/${V}/${r}/${Cr}`,accountDetailsTokens:r=>`/${V}/${r}/${ee}`,accountDetailsNfts:r=>`/${V}/${r}/${Pe}`,accountDetailsScResults:r=>`/${V}/${r}/${Ge}`,accountDetailsContracts:r=>`/${V}/${r}/${Br}`,identityDetails:r=>`/${Ur}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${V}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Pr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${$r}`,collectionDetails:r=>`/${Or}/${r}`,nftDetails:r=>`/${Pe}/${r}`,providerDetails:r=>`/${Me}/${r}`,providerDetailsTransactions:r=>`/${Me}/${r}/${z}`,miniblockDetails:r=>`/${Gr}/${r}`};a();var ae=r=>{var e,t,n,i;if(r.action){let o=[(e=r.action.arguments)==null?void 0:e.token,(t=r.action.arguments)==null?void 0:t.token1,(n=r.action.arguments)==null?void 0:n.token2,(i=r.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};a();a();function se(r){var t,n;let e=r.receiver;return(n=(t=r.action)==null?void 0:t.arguments)!=null&&n.receiver&&(e=r.action.arguments.receiver),e}function Ve(r){let e=se(r);return r.receiver===e?r.receiverAssets:void 0}a();var $e=r=>{var n,i,o,s,u,m;let e="Transaction";return((n=r.action)==null?void 0:n.name)&&((i=r.action)==null?void 0:i.category)&&(((o=r.action)==null?void 0:o.category)==="esdtNft"&&((s=r.action)==null?void 0:s.name)==="transfer"?e="Transaction":r.action&&(e=r.action.name),(m=(u=r.action)==null?void 0:u.arguments)!=null&&m.functionName&&(e=r.action.arguments.functionName)),e};a();var Wr=!1;function pn(r){Wr||(console.error(r),Wr=!0)}function K({explorerAddress:r,to:e}){try{return new URL(e).href}catch(t){return e.startsWith("/")||(pn(`Link not prepended by / : ${e}`),e=`/${e}`),r?`${r}${e}`:e}}a();function We(r,e,t){let n=r===e.sender,i=r===t,o=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case o:return"Self";case i:return"In";case n:default:return"Out"}}a();function dn({value:r,noSeconds:e,utc:t,meridiem:n=!0}){let i=new Date(r*1e3),[,o]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,u]=s.split(","),[m,g,h,f]=u.trim().split(" "),[T,y,b]=f.split(":"),I=`:${b}`,te=`${T}:${y}${e?"":I}`,W=`${n?o:""} ${t?"UTC":""}`.trim();return`${g} ${m}, ${h} ${te} ${W}`.trim()}a();function mn(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}a();var Jr=R(require("bignumber.js"));a();a();a();a();a();a();a();a();a();var He={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hr,egldLabel:Ui}=He["devnet"],{chainId:qr,egldLabel:Pi}=He["testnet"],{chainId:jr,egldLabel:Mi}=He["mainnet"];var Gi={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},Vi={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"};a();a();var O=require("@multiversx/sdk-web-wallet-provider");a();var zr,Kr,qe=String((Kr=(zr=Fe.safeWindow)==null?void 0:zr.navigator)==null?void 0:Kr.userAgent),ji=/^((?!chrome|android).)*safari/i.test(qe),zi=/firefox/i.test(qe)&&/windows/i.test(qe);var v=18,re=4;var Xr="refundedGas";var ye="0";a();var Zr=require("@multiversx/sdk-core"),$=R(require("bignumber.js"));a();var Yr=R(require("bignumber.js")),je=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function G(r){return{if:function(e){return e?{then:t=>t instanceof Function?G(t(r)):G(t)}:{then:()=>G(r)}},then:e=>e instanceof Function?G(e(r)):G(e),valueOf:function(){return r}}}$.default.config({ROUNDING_MODE:$.default.ROUND_FLOOR});function B({input:r,decimals:e=v,digits:t=re,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!je(r,!1))throw new Error("Invalid input");let s=new $.default(r).isNegative(),u=r;return s&&(u=r.substring(1)),G(u).then(()=>Zr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new $.default(m);if(g.isZero())return ye;let h=g.toString(10),[f,T]=h.split("."),y=new $.default(T||0),b=G(0).if(Boolean(T&&n)).then(()=>Math.max(T.length,t)).if(y.isZero()&&!n).then(0).if(Boolean(T&&!n)).then(()=>Math.min(T.length,t)).valueOf(),I=T&&t>=1&&t<=T.length&&y.isGreaterThan(0)&&new $.default(T.substring(0,t)).isZero(),te=g.toFormat(b);return G(h).if(o).then(te).if(Boolean(I)).then(ne=>{let W=new $.default(f).isZero(),[N,le]=ne.split("."),ue=new Array(t-1).fill(0),dt=[...ue,0].join(""),mt=[...ue,1].join("");return W?i?`<${N}.${mt}`:n?`${N}.${le}`:N:`${N}.${dt}`}).if(Boolean(!I&&T)).then(ne=>{let[W]=ne.split("."),N=T.substring(0,b);if(n){let le=t-N.length;if(le>0){let ue=Array(le).fill(0).join("");return N=`${N}${ue}`,`${W}.${N}`}return ne}return N?`${W}.${N}`:W}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var gn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Xr){let n=B({input:r.receipt.value,decimals:v,digits:re,showLastNonZeroDecimal:!0});return new Jr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function fn(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=gn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();a();a();a();var xe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(xe||{});a();a();a();a();a();var hn=require("@multiversx/sdk-core");a();var ce=require("@multiversx/sdk-core"),yn=R(require("bignumber.js"));a();a();a();var Tn=R(require("bignumber.js"));a();a();var ze={isEsdt:!1,isNft:!1,isEgld:!1};function Qr(r){let e=r==null?void 0:r.split("-").length;return e===2?X(E({},ze),{isEsdt:!0}):e===3?X(E({},ze),{isNft:!0}):X(E({},ze),{isEgld:!0})}a();a();a();a();a();a();function be({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let s="";n&&i&&(s=i?B({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=_.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function we({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?B({input:r.value,decimals:(u=r.decimals)!=null?u:v,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=_.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ke=["reDelegateRewards","claimRewards","unBond"],Xe=["wrapEgld","unwrapEgld"],Ye=["unStake"],Ze=["unDelegate"];a();a();var et=r=>{let e=r.map(n=>{let{isNft:i}=Qr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:T}=be({token:n});return`${h!=null?`(${h}) `:""}${f} ${T}`}let{tokenFormattedAmount:o,tokenLinkText:s,token:u}=we({token:n}),m=u.collection?u.identifier:u.token;return`${o} ${s} (${m})`});return decodeURI(e.join("%0A"))};a();var A=r=>({egldValueData:{value:r,formattedValue:B({input:r}),decimals:v}});a();var tt=R(require("bignumber.js"));a();a();a();var rt=!1;function nt(r){var e;try{let n=Nr(r.data).replace(`${(e=r.action)==null?void 0:e.name}@`,""),i=new tt.default(n,16);if(!i.isNaN())return A(i.toString(10))}catch(t){rt||(console.error(`Unable to extract value for txHash: ${r.txHash}`),rt=!0)}return A(r.value)}a();a();var it=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ce).includes(i.type)))!=null?n:[]};var ot=!1,at=r=>{ot||(console.error(`Operations field missing for txHash: ${r}.
2
2
  Unable to compute value field.`),ot=!0)};function st(r){try{if(r.operations){let[e]=it(r);return A(e==null?void 0:e.value)}else at(r.txHash)}catch(e){at(r.txHash)}return A(r.value)}a();var lt=R(require("bignumber.js"));var ct=!1;function ut(r){var t,n,i,o,s;return new lt.default((n=(t=r.action)==null?void 0:t.arguments)==null?void 0:n.value).isNaN()?(ct||(console.error(`Unable to interpret ${(s=r.action)==null?void 0:s.name} data for txHash: ${r.txHash}`),ct=!0),A(r.value)):A((o=(i=r.action)==null?void 0:i.arguments)==null?void 0:o.value)}var xn=({transaction:r,hideMultipleBadge:e})=>{var t;if(r.action){if(Xe.includes(r.action.name))return A(r.value);if(Ye.includes(r.action.name))return nt(r);if(Ke.includes(r.action.name))return st(r);if(Ze.includes(r.action.name))return ut(r);let n=ae(r);if(n.length){let i=n[0],o=Object.values(xe).includes(i.type),u=!e&&n.length>1?et(n):"";if(o){let{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te}=be({token:i});return{nftValueData:{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te,transactionTokens:n,token:i,value:b!=null?i.value:null,decimals:b!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:T}=we({token:i});return{tokenValueData:{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:T,value:i.value,decimals:(t=i.decimals)!=null?t:v,titleText:u}}}}return A(r.value)};function bn({transaction:r,address:e,explorerAddress:t}){var I;let n=(I=r.tokenIdentifier)!=null?I:Lr(r.data).tokenId,i=se(r),o=Ve(r),s=We(e,r,i),u=$e(r),m=ae(r),g=K({explorerAddress:t,to:_.accountDetails(r.sender)}),h=K({explorerAddress:t,to:_.accountDetails(i)}),f=K({explorerAddress:t,to:_.senderShard(r.senderShard)}),T=K({explorerAddress:t,to:_.receiverShard(r.receiverShard)}),y=r.originalTxHash?`${r.originalTxHash}#${r.txHash}`:r.txHash,b=K({explorerAddress:t,to:_.transactionDetails(y)});return X(E({},r),{tokenIdentifier:n,receiver:i,receiverAssets:o,transactionDetails:{direction:s,method:u,transactionTokens:m,isContract:Er(r.sender)},links:{senderLink:g,receiverLink:h,senderShardLink:f,receiverShardLink:T,transactionLink:b}})}0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD,explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getInterpretedTransaction,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.
@@ -1,4 +1,4 @@
1
- "use strict";var Gr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable;var fr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,q=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&fr(t,e,r[e]);if(ar)for(var e of ar(r))Pr.call(r,e)&&fr(t,e,r[e]);return t};var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),$r=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},hr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var $=(t,r,e)=>(e=t!=null?Gr(Hr(t)):{},hr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Xr=t=>hr(W({},"__esModule",{value:!0}),t);var sr=G(O=>{"use strict";s();O.byteLength=zr;O.toByteArray=Kr;O.fromByteArray=re;var d=[],F=[],Qr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(k=0,pr=X.length;k<pr;++k)d[k]=X[k],F[X.charCodeAt(k)]=k;var k,pr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function Kr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Qr(Jr(t,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=F[t.charCodeAt(c)]<<18|F[t.charCodeAt(c+1)]<<12|F[t.charCodeAt(c+2)]<<6|F[t.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=F[t.charCodeAt(c)]<<2|F[t.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=F[t.charCodeAt(c)]<<10|F[t.charCodeAt(c+1)]<<4|F[t.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Zr(t){return d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[t&63]}function jr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function re(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,f=e-n;u<f;u+=o)i.push(jr(t,u,u+o>f?f:u+o));return n===1?(r=t[e-1],i.push(d[r>>2]+d[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(d[r>>10]+d[r>>4&63]+d[r<<2&63]+"=")),i.join("")}});var wr=G(Q=>{s();Q.read=function(t,r,e,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,p=c>>1,l=-7,h=e?i-1:0,E=e?-1:1,m=t[r+h];for(h+=E,o=m&(1<<-l)-1,m>>=-l,l+=f;l>0;o=o*256+t[r+h],h+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+t[r+h],h+=E,l-=8);if(o===0)o=1-p;else{if(o===c)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-p}return(m?-1:1)*u*Math.pow(2,o-n)};Q.write=function(t,r,e,n,i,o){var u,f,c,p=o*8-i-1,l=(1<<p)-1,h=l>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,_=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+h>=1?r+=E/c:r+=E*Math.pow(2,1-h),r*c>=2&&(u++,c/=2),u+h>=l?(f=0,u=l):u+h>=1?(f=(r*c-1)*Math.pow(2,i),u=u+h):(f=r*Math.pow(2,h-1)*Math.pow(2,i),u=0));i>=8;t[e+m]=f&255,m+=_,f/=256,i-=8);for(u=u<<i|f,p+=i;p>0;t[e+m]=u&255,m+=_,u/=256,p-=8);t[e+m-_]|=qr*128}});var Ur=G(b=>{"use strict";s();var z=sr(),S=wr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=ue;b.INSPECT_MAX_BYTES=50;var Y=2147483647;b.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=ee();!a.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 ee(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return Fr(t,r,e)}a.poolSize=8192;function Fr(t,r,e){if(typeof t=="string")return ne(t,r);if(ArrayBuffer.isView(t))return ie(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(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(t,SharedArrayBuffer)||t&&B(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return a.from(n,r,e);var i=oe(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return Fr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function gr(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 te(t,r,e){return gr(t),t<=0?U(t):r!==void 0?typeof e=="string"?U(t).fill(r,e):U(t).fill(r):U(t)}a.alloc=function(t,r,e){return te(t,r,e)};function j(t){return gr(t),U(t<0?0:rr(t)|0)}a.allocUnsafe=function(t){return j(t)};a.allocUnsafeSlow=function(t){return j(t)};function ne(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Er(t,r)|0,n=U(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:rr(t.length)|0,e=U(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ie(t){if(B(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function oe(t){if(a.isBuffer(t)){var r=rr(t.length)|0,e=U(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?U(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function rr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ue(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function Er(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=Er;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return me(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return se(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function N(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)N(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)N(this,e,e+3),N(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)N(this,e,e+7),N(this,e+1,e+6),N(this,e+2,e+5),N(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ae.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(a.prototype[xr]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,f=n-e,c=Math.min(u,f),p=this.slice(i,o),l=r.slice(e,n),h=0;h<c;++h)if(p[h]!==l[h]){u=p[h],f=l[h];break}return u<f?-1:f<u?1:0};function dr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,u=t.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function c(m,_){return o===1?m[_]:m.readUInt16BE(_*o)}var p;if(i){var l=-1;for(p=e;p<u;p++)if(c(t,p)===c(r,l===-1?0:p-l)){if(l===-1&&(l=p),p-l+1===f)return l*o}else l!==-1&&(p-=p-l),l=-1}else for(e+f>u&&(e=u-f),p=e;p>=0;p--){for(var h=!0,E=0;E<f;E++)if(c(t,p+E)!==c(r,E)){h=!1;break}if(h)return p}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return dr(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return dr(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(er(f))return u;t[e+u]=f}return u}function ce(t,r,e,n){return H(Z(r,t.length-e),t,e,n)}function he(t,r,e,n){return H(de(r),t,e,n)}function pe(t,r,e,n){return H(Ir(r),t,e,n)}function le(t,r,e,n){return H(ve(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function se(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=e){var c,p,l,h;switch(f){case 1:o<128&&(u=o);break;case 2:c=t[i+1],(c&192)===128&&(h=(o&31)<<6|c&63,h>127&&(u=h));break;case 3:c=t[i+1],p=t[i+2],(c&192)===128&&(p&192)===128&&(h=(o&15)<<12|(c&63)<<6|p&63,h>2047&&(h<55296||h>57343)&&(u=h));break;case 4:c=t[i+1],p=t[i+2],l=t[i+3],(c&192)===128&&(p&192)===128&&(l&192)===128&&(h=(o&15)<<18|(c&63)<<12|(p&63)<<6|l&63,h>65535&&h<1114112&&(u=h))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return we(n)}var mr=4096;function we(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function me(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Be[t[o]];return i}function Fe(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,f=0;for(this[e]=r&255;++f<n&&(u*=256);)this[e+f]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,f=1,c=0;for(this[e]=r&255;++u<n&&(f*=256);)r<0&&c===0&&this[e+u-1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,f=1,c=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&c===0&&this[e+u+1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,4,34028234663852886e22,-34028234663852886e22),S.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return Ar(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return Ar(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,8,17976931348623157e292,-17976931348623157e292),S.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),c=f.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=f[u%c]}return this};var ge=/[^+/0-9A-Za-z-_]/g;function Ee(t){if(t=t.split("=")[0],t=t.trim().replace(ge,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function de(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ve(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return z.toByteArray(Ee(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function B(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var Be=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Dr=G((Se,Nr)=>{s();var w=Nr.exports={},A,T;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=tr}catch(t){A=tr}try{typeof clearTimeout=="function"?T=clearTimeout:T=nr}catch(t){T=nr}})();function Rr(t){if(A===setTimeout)return setTimeout(t,0);if((A===tr||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(r){try{return A.call(null,t,0)}catch(e){return A.call(this,t,0)}}}function Ae(t){if(T===clearTimeout)return clearTimeout(t);if((T===nr||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var R=[],L=!1,D,P=-1;function Te(){!L||!D||(L=!1,D.length?R=D.concat(R):P=-1,R.length&&Cr())}function Cr(){if(!L){var t=Rr(Te);L=!0;for(var r=R.length;r;){for(D=R,R=[];++P<r;)D&&D[P].run();P=-1,r=R.length}D=null,L=!1,Ae(t)}}w.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new kr(t,r)),R.length===1&&!L&&Rr(Cr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function C(){}w.on=C;w.addListener=C;w.once=C;w.off=C;w.removeListener=C;w.removeAllListeners=C;w.emit=C;w.prependListener=C;w.prependOnceListener=C;w.listeners=function(t){return[]};w.binding=function(t){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(t){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var g,v,be,s=Vr(()=>{g=$(Ur()),v=$(Dr()),be=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ce={};$r(Ce,{decodeData:()=>ur,getTokenFromData:()=>Re});module.exports=Xr(Ce);s();var or=require("@multiversx/sdk-core"),V=$(require("bignumber.js"));s();s();var Ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var _r=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(_r||{}),qe=q(q({},M.WindowProviderRequestEnums),_r),Sr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Sr||{}),Ge=q(q({},M.WindowProviderResponseEnums),Sr);s();var br=require("@multiversx/sdk-core");function Ue(t){try{let r=new br.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ue(t)}s();s();function Mr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function Wr(t){let r=t;try{let e=g.Buffer.from(t,"hex").toString();Mr(e)&&e.length>1&&(r=e)}catch(e){}return r}var ir={tokenId:"",amount:""},ur=t=>t.split("@").map((o,u)=>[2,3].includes(u)?o:Wr(o));function Re(t){if(!t)return ir;let r=t.startsWith("ESDTTransfer"),e=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(r){let[,i,o]=t.split("@");try{let u=g.Buffer.from(i,"hex").toString("ascii");if(!u)return ir;let f=new V.default("0x"+o.replace("0x","")).toString(10);return{tokenId:u,amount:f}}catch(u){console.error("Error getting token from transaction data",u)}}if(e)try{let[,i,o,u,f]=ur(t);if([i,o,u,f].every(c=>Boolean(c))&&Lr(new or.Address(f).bech32()))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o,receiver:new or.Address(f).bech32()}}catch(i){}if(n)try{let[,i,o,u]=ur(t);if([i,o,u].every(f=>Boolean(f)))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o}}catch(i){}return ir}0&&(module.exports={decodeData,getTokenFromData});
1
+ "use strict";var Gr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable;var fr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,q=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&fr(t,e,r[e]);if(ar)for(var e of ar(r))Pr.call(r,e)&&fr(t,e,r[e]);return t};var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),$r=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},hr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var $=(t,r,e)=>(e=t!=null?Gr(Hr(t)):{},hr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Xr=t=>hr(W({},"__esModule",{value:!0}),t);var sr=G(O=>{"use strict";s();O.byteLength=zr;O.toByteArray=Kr;O.fromByteArray=re;var E=[],F=[],Qr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(k=0,pr=X.length;k<pr;++k)E[k]=X[k],F[X.charCodeAt(k)]=k;var k,pr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function Kr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Qr(Jr(t,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=F[t.charCodeAt(c)]<<18|F[t.charCodeAt(c+1)]<<12|F[t.charCodeAt(c+2)]<<6|F[t.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=F[t.charCodeAt(c)]<<2|F[t.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=F[t.charCodeAt(c)]<<10|F[t.charCodeAt(c+1)]<<4|F[t.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Zr(t){return E[t>>18&63]+E[t>>12&63]+E[t>>6&63]+E[t&63]}function jr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function re(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,f=e-n;u<f;u+=o)i.push(jr(t,u,u+o>f?f:u+o));return n===1?(r=t[e-1],i.push(E[r>>2]+E[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(E[r>>10]+E[r>>4&63]+E[r<<2&63]+"=")),i.join("")}});var wr=G(Q=>{s();Q.read=function(t,r,e,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,p=c>>1,l=-7,h=e?i-1:0,d=e?-1:1,m=t[r+h];for(h+=d,o=m&(1<<-l)-1,m>>=-l,l+=f;l>0;o=o*256+t[r+h],h+=d,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=n;l>0;u=u*256+t[r+h],h+=d,l-=8);if(o===0)o=1-p;else{if(o===c)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-p}return(m?-1:1)*u*Math.pow(2,o-n)};Q.write=function(t,r,e,n,i,o){var u,f,c,p=o*8-i-1,l=(1<<p)-1,h=l>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,_=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+h>=1?r+=d/c:r+=d*Math.pow(2,1-h),r*c>=2&&(u++,c/=2),u+h>=l?(f=0,u=l):u+h>=1?(f=(r*c-1)*Math.pow(2,i),u=u+h):(f=r*Math.pow(2,h-1)*Math.pow(2,i),u=0));i>=8;t[e+m]=f&255,m+=_,f/=256,i-=8);for(u=u<<i|f,p+=i;p>0;t[e+m]=u&255,m+=_,u/=256,p-=8);t[e+m-_]|=qr*128}});var Ur=G(b=>{"use strict";s();var z=sr(),S=wr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=ue;b.INSPECT_MAX_BYTES=50;var Y=2147483647;b.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=ee();!a.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 ee(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return Fr(t,r,e)}a.poolSize=8192;function Fr(t,r,e){if(typeof t=="string")return ne(t,r);if(ArrayBuffer.isView(t))return ie(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(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(t,SharedArrayBuffer)||t&&B(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return a.from(n,r,e);var i=oe(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return Fr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function gr(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 te(t,r,e){return gr(t),t<=0?U(t):r!==void 0?typeof e=="string"?U(t).fill(r,e):U(t).fill(r):U(t)}a.alloc=function(t,r,e){return te(t,r,e)};function j(t){return gr(t),U(t<0?0:rr(t)|0)}a.allocUnsafe=function(t){return j(t)};a.allocUnsafeSlow=function(t){return j(t)};function ne(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=dr(t,r)|0,n=U(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:rr(t.length)|0,e=U(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ie(t){if(B(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function oe(t){if(a.isBuffer(t)){var r=rr(t.length)|0,e=U(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?U(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function rr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ue(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(B(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function dr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=dr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return me(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return se(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function N(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)N(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)N(this,e,e+3),N(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)N(this,e,e+7),N(this,e+1,e+6),N(this,e+2,e+5),N(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ae.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(a.prototype[xr]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,f=n-e,c=Math.min(u,f),p=this.slice(i,o),l=r.slice(e,n),h=0;h<c;++h)if(p[h]!==l[h]){u=p[h],f=l[h];break}return u<f?-1:f<u?1:0};function Er(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,u=t.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function c(m,_){return o===1?m[_]:m.readUInt16BE(_*o)}var p;if(i){var l=-1;for(p=e;p<u;p++)if(c(t,p)===c(r,l===-1?0:p-l)){if(l===-1&&(l=p),p-l+1===f)return l*o}else l!==-1&&(p-=p-l),l=-1}else for(e+f>u&&(e=u-f),p=e;p>=0;p--){for(var h=!0,d=0;d<f;d++)if(c(t,p+d)!==c(r,d)){h=!1;break}if(h)return p}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return Er(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return Er(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(er(f))return u;t[e+u]=f}return u}function ce(t,r,e,n){return H(Z(r,t.length-e),t,e,n)}function he(t,r,e,n){return H(Ee(r),t,e,n)}function pe(t,r,e,n){return H(Ir(r),t,e,n)}function le(t,r,e,n){return H(ve(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function se(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=e){var c,p,l,h;switch(f){case 1:o<128&&(u=o);break;case 2:c=t[i+1],(c&192)===128&&(h=(o&31)<<6|c&63,h>127&&(u=h));break;case 3:c=t[i+1],p=t[i+2],(c&192)===128&&(p&192)===128&&(h=(o&15)<<12|(c&63)<<6|p&63,h>2047&&(h<55296||h>57343)&&(u=h));break;case 4:c=t[i+1],p=t[i+2],l=t[i+3],(c&192)===128&&(p&192)===128&&(l&192)===128&&(h=(o&15)<<18|(c&63)<<12|(p&63)<<6|l&63,h>65535&&h<1114112&&(u=h))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return we(n)}var mr=4096;function we(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function me(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Be[t[o]];return i}function Fe(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),S.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),S.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,f=0;for(this[e]=r&255;++f<n&&(u*=256);)this[e+f]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,f=1,c=0;for(this[e]=r&255;++u<n&&(f*=256);)r<0&&c===0&&this[e+u-1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,f=1,c=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&c===0&&this[e+u+1]!==0&&(c=1),this[e+u]=(r/f>>0)-c&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,4,34028234663852886e22,-34028234663852886e22),S.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return Ar(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return Ar(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||Br(t,r,e,8,17976931348623157e292,-17976931348623157e292),S.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),c=f.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=f[u%c]}return this};var ge=/[^+/0-9A-Za-z-_]/g;function de(t){if(t=t.split("=")[0],t=t.trim().replace(ge,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Ee(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ve(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return z.toByteArray(de(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function B(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var Be=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Dr=G((Se,Nr)=>{s();var w=Nr.exports={},A,T;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=tr}catch(t){A=tr}try{typeof clearTimeout=="function"?T=clearTimeout:T=nr}catch(t){T=nr}})();function Rr(t){if(A===setTimeout)return setTimeout(t,0);if((A===tr||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(r){try{return A.call(null,t,0)}catch(e){return A.call(this,t,0)}}}function Ae(t){if(T===clearTimeout)return clearTimeout(t);if((T===nr||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var R=[],L=!1,D,P=-1;function Te(){!L||!D||(L=!1,D.length?R=D.concat(R):P=-1,R.length&&Cr())}function Cr(){if(!L){var t=Rr(Te);L=!0;for(var r=R.length;r;){for(D=R,R=[];++P<r;)D&&D[P].run();P=-1,r=R.length}D=null,L=!1,Ae(t)}}w.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new kr(t,r)),R.length===1&&!L&&Rr(Cr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function C(){}w.on=C;w.addListener=C;w.once=C;w.off=C;w.removeListener=C;w.removeAllListeners=C;w.emit=C;w.prependListener=C;w.prependOnceListener=C;w.listeners=function(t){return[]};w.binding=function(t){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(t){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var g,v,be,s=Vr(()=>{g=$(Ur()),v=$(Dr()),be=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ce={};$r(Ce,{decodeData:()=>ur,getTokenFromData:()=>Re});module.exports=Xr(Ce);s();var or=require("@multiversx/sdk-core"),V=$(require("bignumber.js"));s();s();var Ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var _r=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(_r||{}),qe=q(q({},M.WindowProviderRequestEnums),_r),Sr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Sr||{}),Ge=q(q({},M.WindowProviderResponseEnums),Sr);s();var br=require("@multiversx/sdk-core");function Ue(t){try{let r=new br.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ue(t)}s();s();function Mr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function Wr(t){let r=t;try{let e=g.Buffer.from(t,"hex").toString();Mr(e)&&e.length>1&&(r=e)}catch(e){}return r}var ir={tokenId:"",amount:""},ur=t=>t.split("@").map((o,u)=>[2,3].includes(u)?o:Wr(o));function Re(t){if(!t)return ir;let r=t.startsWith("ESDTTransfer"),e=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(r){let[,i,o]=t.split("@");try{let u=g.Buffer.from(i,"hex").toString("ascii");if(!u)return ir;let f=new V.default("0x"+o.replace("0x","")).toString(10);return{tokenId:u,amount:f}}catch(u){console.error("Error getting token from transaction data",u)}}if(e)try{let[,i,o,u,f]=ur(t);if([i,o,u,f].every(c=>Boolean(c))&&Lr(new or.Address(f).bech32()))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o,receiver:new or.Address(f).bech32()}}catch(i){}if(n)try{let[,i,o,u]=ur(t);if([i,o,u].every(f=>Boolean(f)))return{tokenId:`${i}-${o}`,amount:new V.default(u,16).toString(10),collection:i,nonce:o}}catch(i){}return ir}0&&(module.exports={decodeData,getTokenFromData});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *