@multiversx/sdk-dapp 2.9.4 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (830) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/index.js +1 -1
  12. package/UI/ScamPhishingAlert/ScamPhishingAlert.d.ts +6 -0
  13. package/UI/ScamPhishingAlert/ScamPhishingAlert.js +1 -1
  14. package/UI/ScamPhishingAlert/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  23. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  24. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  25. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  26. package/UI/SignTransactionsModals/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/index.js +1 -1
  28. package/UI/TokenDetails/index.js +1 -1
  29. package/UI/TransactionData/index.js +1 -1
  30. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  31. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  32. package/UI/TransactionDetails/components/index.js +1 -1
  33. package/UI/TransactionDetails/index.js +1 -1
  34. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  35. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  36. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  37. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  38. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  39. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  40. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  41. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  42. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  43. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  44. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  50. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  51. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  52. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  61. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  62. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  63. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  64. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  79. package/UI/TransactionInfo/components/index.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  113. package/UI/TransactionInfo/index.js +1 -1
  114. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  115. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  116. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  117. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  123. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  124. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  125. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  126. package/UI/TransactionsTable/components/index.js +1 -1
  127. package/UI/TransactionsTable/index.js +1 -1
  128. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  141. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  142. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  148. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  149. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  150. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  151. package/UI/TransactionsToastList/components/index.js +1 -1
  152. package/UI/TransactionsToastList/index.js +1 -1
  153. package/UI/UsdValue/UsdValue.js +1 -1
  154. package/UI/UsdValue/index.js +1 -1
  155. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  156. package/UI/index.js +1 -1
  157. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  159. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  160. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  161. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  162. package/UI/ledger/index.js +1 -1
  163. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  164. package/UI/pages/UnlockPage/index.js +1 -1
  165. package/UI/pages/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  167. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  168. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  169. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  170. package/UI/walletConnect/index.js +1 -1
  171. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  172. package/__chunks__/{chunk-QB77NCQP.js → chunk-23C7PSCU.js} +2 -2
  173. package/__chunks__/chunk-24L47LFC.js +2 -0
  174. package/__chunks__/chunk-24NXBISC.js +2 -0
  175. package/__chunks__/{chunk-CKON224P.js → chunk-275ET3MG.js} +2 -2
  176. package/__chunks__/chunk-27FOVSG4.js +2 -0
  177. package/__chunks__/{chunk-DJE62XNL.js → chunk-2AUVCAY2.js} +2 -2
  178. package/__chunks__/{chunk-ZJLU56XW.js → chunk-2C4D4BXB.js} +2 -2
  179. package/__chunks__/{chunk-MUARPNJ4.js → chunk-2F2F6SXB.js} +2 -2
  180. package/__chunks__/{chunk-6D3XECJF.js → chunk-2GRUAWVQ.js} +2 -2
  181. package/__chunks__/{chunk-OGM64QGG.js → chunk-2OGSUSTF.js} +2 -2
  182. package/__chunks__/{chunk-YMALAD3K.js → chunk-2VZDXZQ5.js} +2 -2
  183. package/__chunks__/{chunk-QNBNTXIT.js → chunk-2W2FXPJN.js} +2 -2
  184. package/__chunks__/{chunk-KJDC7FVK.js → chunk-33RUZW2A.js} +2 -2
  185. package/__chunks__/{chunk-LT2FAIWS.js → chunk-3FTRTVML.js} +2 -2
  186. package/__chunks__/{chunk-OYESXIST.js → chunk-3LZDI5TU.js} +2 -2
  187. package/__chunks__/{chunk-4BNSTWCX.js → chunk-3M4SIGZT.js} +2 -2
  188. package/__chunks__/{chunk-JZ2Y7SFA.js → chunk-3Z3XQSPU.js} +2 -2
  189. package/__chunks__/{chunk-R7JGMLFZ.js → chunk-45AZIANS.js} +2 -2
  190. package/__chunks__/{chunk-YZSCV3FW.js → chunk-463NLZJE.js} +2 -2
  191. package/__chunks__/{chunk-HLEXPOK5.js → chunk-4BE3NFUD.js} +2 -2
  192. package/__chunks__/chunk-4JUSV4O3.js +2 -0
  193. package/__chunks__/{chunk-BYYVJIPP.js → chunk-4NK74AZF.js} +2 -2
  194. package/__chunks__/{chunk-MSXSTSBP.js → chunk-4PBGN6HU.js} +2 -2
  195. package/__chunks__/{chunk-7XL5MCJK.js → chunk-4QT63WFQ.js} +2 -2
  196. package/__chunks__/{chunk-ZGQSC36F.js → chunk-4QVOURVU.js} +2 -2
  197. package/__chunks__/{chunk-BBQMKL5D.js → chunk-4XDCRJFT.js} +2 -2
  198. package/__chunks__/{chunk-4AOEMKED.js → chunk-5DATHNGR.js} +2 -2
  199. package/__chunks__/chunk-5HEC3YLM.js +2 -0
  200. package/__chunks__/{chunk-BAG2O7IE.js → chunk-5KGYQ5YJ.js} +2 -2
  201. package/__chunks__/{chunk-5CTSV7TH.js → chunk-5LVOAS3B.js} +2 -2
  202. package/__chunks__/{chunk-NHNWAEZU.js → chunk-5MYSV4SO.js} +2 -2
  203. package/__chunks__/{chunk-ESYXEFZ7.js → chunk-5OLXKR6C.js} +2 -2
  204. package/__chunks__/{chunk-H2H3IXYD.js → chunk-5RTST5UL.js} +2 -2
  205. package/__chunks__/{chunk-PYG3OL3F.js → chunk-5VRKUYL5.js} +2 -2
  206. package/__chunks__/{chunk-5MRTWQBG.js → chunk-5ZMUR7H7.js} +2 -2
  207. package/__chunks__/{chunk-PBXY5VMX.js → chunk-62LPCEWI.js} +2 -2
  208. package/__chunks__/{chunk-DQ2DOR6B.js → chunk-64FKZVXB.js} +2 -2
  209. package/__chunks__/{chunk-AMM27AEW.js → chunk-6D35ISCH.js} +2 -2
  210. package/__chunks__/{chunk-PHI6WXH3.js → chunk-6DXP6E4O.js} +2 -2
  211. package/__chunks__/chunk-6DYUOTME.js +2 -0
  212. package/__chunks__/{chunk-7EY74WNI.js → chunk-6GTXZ4FY.js} +2 -2
  213. package/__chunks__/{chunk-GFGHEH4C.js → chunk-6HLEIPL4.js} +2 -2
  214. package/__chunks__/chunk-6LYP3E7T.js +2 -0
  215. package/__chunks__/{chunk-J5EWZ734.js → chunk-6MI5GXXO.js} +2 -2
  216. package/__chunks__/chunk-6PH5XEI7.js +2 -0
  217. package/__chunks__/{chunk-D2O5MZMR.js → chunk-6QYMQVME.js} +2 -2
  218. package/__chunks__/{chunk-JJP72MAJ.js → chunk-6RHGIGMZ.js} +2 -2
  219. package/__chunks__/{chunk-ZLERNDUF.js → chunk-6ROKDWR7.js} +2 -2
  220. package/__chunks__/{chunk-VEAORVA6.js → chunk-74Q5MYVW.js} +2 -2
  221. package/__chunks__/chunk-7AEDPEBX.js +2 -0
  222. package/__chunks__/{chunk-OT2NVXBU.js → chunk-7KZPFHA7.js} +2 -2
  223. package/__chunks__/{chunk-JS2HC4SX.js → chunk-7WE7OBCZ.js} +2 -2
  224. package/__chunks__/{chunk-SA2UKCJX.js → chunk-7YH5VZS2.js} +2 -2
  225. package/__chunks__/{chunk-KMDMJSTX.js → chunk-A3XBAFZH.js} +2 -2
  226. package/__chunks__/{chunk-JI2RQZZD.js → chunk-AIL4PBA7.js} +2 -2
  227. package/__chunks__/chunk-AL2J7KB6.js +2 -0
  228. package/__chunks__/{chunk-5ZW4DA22.js → chunk-AQ3UNMCA.js} +2 -2
  229. package/__chunks__/chunk-AVGHJOI6.js +2 -0
  230. package/__chunks__/{chunk-UMK6DGBB.js → chunk-AWEYI553.js} +2 -2
  231. package/__chunks__/{chunk-N5TBTK3M.js → chunk-AWQPH4LC.js} +2 -2
  232. package/__chunks__/{chunk-M5D23LEL.js → chunk-B3M2FLWF.js} +2 -2
  233. package/__chunks__/{chunk-WUZCRVSU.js → chunk-B4WCXVUI.js} +2 -2
  234. package/__chunks__/{chunk-U63TNTLR.js → chunk-B7U7C44X.js} +2 -2
  235. package/__chunks__/{chunk-ALN2ZAQY.js → chunk-BGHY6J4G.js} +2 -2
  236. package/__chunks__/{chunk-4B4D6PRI.js → chunk-BHXTZPBC.js} +2 -2
  237. package/__chunks__/{chunk-XXJ64HPL.js → chunk-BK5NO33M.js} +2 -2
  238. package/__chunks__/chunk-BM4XGIZN.js +2 -0
  239. package/__chunks__/{chunk-L2UUUYJG.js → chunk-BMHV4H76.js} +2 -2
  240. package/__chunks__/{chunk-V6H2IJKH.js → chunk-BUPVEQ5J.js} +2 -2
  241. package/__chunks__/chunk-C2H5OPTX.js +2 -0
  242. package/__chunks__/{chunk-VMNKME5Q.js → chunk-C34CKSUX.js} +2 -2
  243. package/__chunks__/chunk-C4MQO6LF.js +2 -0
  244. package/__chunks__/{chunk-DUPCI6XE.js → chunk-C5CGNL6I.js} +2 -2
  245. package/__chunks__/{chunk-N6WFQG55.js → chunk-C6XUZNBO.js} +2 -2
  246. package/__chunks__/{chunk-RGS2R63F.js → chunk-CA4Q4MT7.js} +2 -2
  247. package/__chunks__/{chunk-XWRW4TO4.js → chunk-CFRQE7JG.js} +2 -2
  248. package/__chunks__/{chunk-VNODUVFK.js → chunk-CGM7WOQF.js} +2 -2
  249. package/__chunks__/{chunk-KTUPMIFX.js → chunk-CLB447PY.js} +2 -2
  250. package/__chunks__/{chunk-KYEQ3HY7.js → chunk-CLY5MAPE.js} +2 -2
  251. package/__chunks__/{chunk-RUDUNU34.js → chunk-CNPDPX2F.js} +2 -2
  252. package/__chunks__/{chunk-TGRX3YCF.js → chunk-CQGYS7PC.js} +2 -2
  253. package/__chunks__/{chunk-WQ22KG5Y.js → chunk-CZJRRY2I.js} +2 -2
  254. package/__chunks__/{chunk-24SJCJRG.js → chunk-D2DOX7XX.js} +2 -2
  255. package/__chunks__/{chunk-7JLRHOSP.js → chunk-DHHFPYRR.js} +2 -2
  256. package/__chunks__/{chunk-WVNUK67H.js → chunk-DI67V6VC.js} +2 -2
  257. package/__chunks__/{chunk-VOLUHLVM.js → chunk-DNIYPVUV.js} +2 -2
  258. package/__chunks__/chunk-DNOXON3M.js +2 -0
  259. package/__chunks__/chunk-DSFJO624.js +2 -0
  260. package/__chunks__/{chunk-5EGPVDYI.js → chunk-DVOTPSUB.js} +2 -2
  261. package/__chunks__/chunk-DY7CS3RG.js +2 -0
  262. package/__chunks__/{chunk-65KFD325.js → chunk-E2NBQFIC.js} +2 -2
  263. package/__chunks__/{chunk-RFVFASBJ.js → chunk-E5KECQYG.js} +2 -2
  264. package/__chunks__/{chunk-LGYW2J5J.js → chunk-E7ZJLCWM.js} +2 -2
  265. package/__chunks__/{chunk-LVOMPLSI.js → chunk-EAVICDCR.js} +2 -2
  266. package/__chunks__/chunk-EBEYQZIS.js +2 -0
  267. package/__chunks__/{chunk-RRXC3HFG.js → chunk-ECNBTR2P.js} +2 -2
  268. package/__chunks__/chunk-EHBEIKPT.js +2 -0
  269. package/__chunks__/{chunk-BN5PQAN2.js → chunk-ELJRZBUP.js} +2 -2
  270. package/__chunks__/{chunk-OPDO5T3P.js → chunk-ESY2WJZF.js} +2 -2
  271. package/__chunks__/{chunk-VGPEWMQW.js → chunk-EU3M2TPH.js} +2 -2
  272. package/__chunks__/{chunk-SPLIL3ZF.js → chunk-EVHHLVIO.js} +2 -2
  273. package/__chunks__/{chunk-7KR7Q4BZ.js → chunk-EVKVW6OP.js} +2 -2
  274. package/__chunks__/{chunk-EFQAZJYN.js → chunk-F4LPQWRK.js} +2 -2
  275. package/__chunks__/{chunk-VP5L3R3J.js → chunk-F5O3Z6FA.js} +2 -2
  276. package/__chunks__/{chunk-JGZCNGRV.js → chunk-FDG3CTJQ.js} +2 -2
  277. package/__chunks__/{chunk-DXOQOQTD.js → chunk-FG7U2ZRB.js} +2 -2
  278. package/__chunks__/{chunk-5XELCN7M.js → chunk-FITCOASE.js} +2 -2
  279. package/__chunks__/chunk-FL42ANFT.js +2 -0
  280. package/__chunks__/chunk-FT6XZQFL.js +2 -0
  281. package/__chunks__/{chunk-52ECK57H.js → chunk-FUMYEVN5.js} +2 -2
  282. package/__chunks__/{chunk-PUO4W3JY.js → chunk-FWTCHRN5.js} +2 -2
  283. package/__chunks__/{chunk-LTDUS257.js → chunk-G5T5SM4B.js} +2 -2
  284. package/__chunks__/{chunk-72FDUWXP.js → chunk-GDEIDSQC.js} +2 -2
  285. package/__chunks__/chunk-GFAN5STZ.js +2 -0
  286. package/__chunks__/{chunk-35VZ6NCK.js → chunk-GHTSBIH4.js} +2 -2
  287. package/__chunks__/chunk-GKSVI6Q5.js +2 -0
  288. package/__chunks__/{chunk-6CORFLG2.js → chunk-GO7NXC6I.js} +2 -2
  289. package/__chunks__/{chunk-OPAGSP3Y.js → chunk-GPQOL7GB.js} +2 -2
  290. package/__chunks__/chunk-GQX2AXPF.js +2 -0
  291. package/__chunks__/{chunk-TDYVMPIO.js → chunk-GYT7W4IV.js} +2 -2
  292. package/__chunks__/{chunk-JP736RXG.js → chunk-GZ7UARPP.js} +2 -2
  293. package/__chunks__/{chunk-XJVQOJZB.js → chunk-H5VMN2B4.js} +2 -2
  294. package/__chunks__/{chunk-KLLXNFCE.js → chunk-HCBNUJGK.js} +2 -2
  295. package/__chunks__/{chunk-J3POMKPU.js → chunk-HCG2PO6Z.js} +2 -2
  296. package/__chunks__/{chunk-FZ3BVOID.js → chunk-HFD6SX7K.js} +2 -2
  297. package/__chunks__/chunk-HFLWYN2V.js +2 -0
  298. package/__chunks__/{chunk-NHLZWMC2.js → chunk-HHL5UDTQ.js} +2 -2
  299. package/__chunks__/chunk-HHNOK5PG.js +2 -0
  300. package/__chunks__/{chunk-KFKU4K4H.js → chunk-HKO35JVE.js} +2 -2
  301. package/__chunks__/{chunk-RVISUG5T.js → chunk-HQYYJGF4.js} +2 -2
  302. package/__chunks__/{chunk-LKJPV45E.js → chunk-I4VYIHJD.js} +2 -2
  303. package/__chunks__/{chunk-TGQUDIQS.js → chunk-I5VKTCVW.js} +2 -2
  304. package/__chunks__/{chunk-IMNJMWNY.js → chunk-ID3NTT4Z.js} +2 -2
  305. package/__chunks__/{chunk-MIUU5UXK.js → chunk-IFVVHVQM.js} +2 -2
  306. package/__chunks__/{chunk-VKLTH4PZ.js → chunk-IJIYT3QB.js} +2 -2
  307. package/__chunks__/chunk-IRBTPHUB.js +2 -0
  308. package/__chunks__/{chunk-FT2IN7BT.js → chunk-ITUIM5G6.js} +2 -2
  309. package/__chunks__/{chunk-5KK3CLWQ.js → chunk-IUSZYBUQ.js} +2 -2
  310. package/__chunks__/{chunk-CLAUUCCC.js → chunk-IWAB24AH.js} +2 -2
  311. package/__chunks__/{chunk-6LGKAMXK.js → chunk-J56U5IAV.js} +2 -2
  312. package/__chunks__/{chunk-5DV7AOX4.js → chunk-J7M5HUAD.js} +2 -2
  313. package/__chunks__/{chunk-JCMBU43R.js → chunk-JDCJAJD4.js} +2 -2
  314. package/__chunks__/{chunk-SRVNBVIN.js → chunk-JHQFA6YK.js} +2 -2
  315. package/__chunks__/{chunk-PNXAVAWX.js → chunk-JMCMYELN.js} +2 -2
  316. package/__chunks__/{chunk-QQS7BRLY.js → chunk-JNMLUSOK.js} +2 -2
  317. package/__chunks__/{chunk-HEQQ64B6.js → chunk-JPJTXA2G.js} +2 -2
  318. package/__chunks__/{chunk-PADNJI6W.js → chunk-JQYERTXG.js} +2 -2
  319. package/__chunks__/{chunk-32JTIMBG.js → chunk-JUURLCJI.js} +2 -2
  320. package/__chunks__/chunk-JVSYNX7I.js +2 -0
  321. package/__chunks__/{chunk-6IBZJR36.js → chunk-JY3HMAMR.js} +2 -2
  322. package/__chunks__/{chunk-46PCNA3N.js → chunk-JZNLILZQ.js} +2 -2
  323. package/__chunks__/{chunk-CILXKB6B.js → chunk-K3WF2VCZ.js} +2 -2
  324. package/__chunks__/{chunk-QN2Y4SM6.js → chunk-K7WZNW5X.js} +2 -2
  325. package/__chunks__/{chunk-7S7LAS32.js → chunk-KDSNYB35.js} +2 -2
  326. package/__chunks__/{chunk-YKNQQTMV.js → chunk-KN53GKZX.js} +2 -2
  327. package/__chunks__/{chunk-JR6NRUWF.js → chunk-KOQXMQSP.js} +2 -2
  328. package/__chunks__/{chunk-OJC5LON4.js → chunk-KV4BYCDF.js} +2 -2
  329. package/__chunks__/{chunk-TXKLIAKR.js → chunk-KYFQ6IIQ.js} +2 -2
  330. package/__chunks__/{chunk-TF77GIBC.js → chunk-LNOKECRH.js} +2 -2
  331. package/__chunks__/{chunk-CXMSIGN3.js → chunk-LTJVHYYW.js} +2 -2
  332. package/__chunks__/{chunk-EWWRMWGQ.js → chunk-LVWF5CKD.js} +2 -2
  333. package/__chunks__/chunk-LW7U3EUB.js +2 -0
  334. package/__chunks__/{chunk-R6OGIXW3.js → chunk-LWAL5OMN.js} +2 -2
  335. package/__chunks__/{chunk-TMUOMOCN.js → chunk-LYN37XH5.js} +2 -2
  336. package/__chunks__/{chunk-BPPVSU25.js → chunk-M233YJDK.js} +1 -1
  337. package/__chunks__/{chunk-NUNUM2A2.js → chunk-M5BOIA6B.js} +2 -2
  338. package/__chunks__/chunk-M7T4AUBP.js +2 -0
  339. package/__chunks__/{chunk-QH27B2OC.js → chunk-MC7RXBF4.js} +2 -2
  340. package/__chunks__/{chunk-VLHTKYIW.js → chunk-ME4CQMKT.js} +2 -2
  341. package/__chunks__/chunk-MFT36UPJ.js +2 -0
  342. package/__chunks__/{chunk-CQVMLDWA.js → chunk-MM5XW7VA.js} +2 -2
  343. package/__chunks__/{chunk-Z4CVKFHQ.js → chunk-MTWKFHRA.js} +2 -2
  344. package/__chunks__/chunk-MX3CY6TB.js +2 -0
  345. package/__chunks__/{chunk-YTSEILVL.js → chunk-MY5N6ROI.js} +2 -2
  346. package/__chunks__/{chunk-7FIOYGVQ.js → chunk-MYBMSS23.js} +2 -2
  347. package/__chunks__/chunk-N5EEQD2P.js +2 -0
  348. package/__chunks__/{chunk-RLOOYBXD.js → chunk-NALUFJK4.js} +2 -2
  349. package/__chunks__/chunk-NHZC5PWW.js +2 -0
  350. package/__chunks__/{chunk-X7KSFJQK.js → chunk-NKWA6FJW.js} +2 -2
  351. package/__chunks__/{chunk-CVSHXU7I.js → chunk-NTPWI3LZ.js} +2 -2
  352. package/__chunks__/chunk-NUQWOH62.js +2 -0
  353. package/__chunks__/chunk-O76SO5NN.js +2 -0
  354. package/__chunks__/chunk-OBCFAKCR.js +2 -0
  355. package/__chunks__/chunk-OCH5X6XJ.js +2 -0
  356. package/__chunks__/{chunk-ZUXEYBK5.js → chunk-OCIFQ26I.js} +2 -2
  357. package/__chunks__/{chunk-NR5NGCMG.js → chunk-OJUAVBN4.js} +2 -2
  358. package/__chunks__/chunk-OKGLECMC.js +2 -0
  359. package/__chunks__/chunk-OLI3TNCJ.js +2 -0
  360. package/__chunks__/{chunk-HED7LZVU.js → chunk-OQ2YXDWR.js} +2 -2
  361. package/__chunks__/{chunk-YANNTW2Q.js → chunk-OQ3JVDP4.js} +2 -2
  362. package/__chunks__/{chunk-UORGIPVL.js → chunk-OQUCU64T.js} +2 -2
  363. package/__chunks__/{chunk-BACKWDOJ.js → chunk-ORCYEIJZ.js} +2 -2
  364. package/__chunks__/chunk-OT7R2NEQ.js +2 -0
  365. package/__chunks__/chunk-OZBDF76V.js +2 -0
  366. package/__chunks__/{chunk-PDWYQFPS.js → chunk-P24VSIZF.js} +2 -2
  367. package/__chunks__/{chunk-W4GZJ24H.js → chunk-P2KRF4TX.js} +2 -2
  368. package/__chunks__/{chunk-TLCTBY2K.js → chunk-P4ZLCGAX.js} +2 -2
  369. package/__chunks__/{chunk-CSSOPAY3.js → chunk-PRBT2JHG.js} +2 -2
  370. package/__chunks__/chunk-PV4P32HG.js +2 -0
  371. package/__chunks__/{chunk-KBFFGMRC.js → chunk-PYNDT3DJ.js} +2 -2
  372. package/__chunks__/{chunk-CWCTVSSE.js → chunk-Q7HPUVKJ.js} +2 -2
  373. package/__chunks__/{chunk-UY7WU4RX.js → chunk-QE6MZGN5.js} +2 -2
  374. package/__chunks__/{chunk-ZGUGCPPH.js → chunk-QFLGG2EQ.js} +2 -2
  375. package/__chunks__/{chunk-D5K7WBRB.js → chunk-QGZR4AIT.js} +2 -2
  376. package/__chunks__/{chunk-O3DTNAEY.js → chunk-QSHIJADJ.js} +2 -2
  377. package/__chunks__/{chunk-ONX2WKS4.js → chunk-QVIRQKAN.js} +2 -2
  378. package/__chunks__/{chunk-RCHL72K4.js → chunk-QWWOCHOY.js} +2 -2
  379. package/__chunks__/{chunk-G2OLVYAC.js → chunk-QWZX4YJN.js} +2 -2
  380. package/__chunks__/{chunk-CEU34V6N.js → chunk-R2TDBDEX.js} +2 -2
  381. package/__chunks__/{chunk-3F3GOL42.js → chunk-R5AZ5VME.js} +2 -2
  382. package/__chunks__/chunk-RF7HMR74.js +2 -0
  383. package/__chunks__/{chunk-GBAACFEX.js → chunk-RYJFVB3O.js} +2 -2
  384. package/__chunks__/{chunk-FQ72GI3P.js → chunk-SF4HPDHQ.js} +2 -2
  385. package/__chunks__/{chunk-K5EF6Y3F.js → chunk-SHWQX35Z.js} +2 -2
  386. package/__chunks__/{chunk-3M4QTTV7.js → chunk-SMYUEECP.js} +2 -2
  387. package/__chunks__/{chunk-S75EYWKY.js → chunk-SP5SBX3P.js} +2 -2
  388. package/__chunks__/{chunk-XX2BDOLP.js → chunk-SPD45ZEH.js} +2 -2
  389. package/__chunks__/{chunk-N4WBG64L.js → chunk-SQDL2UBG.js} +2 -2
  390. package/__chunks__/chunk-SW27GSXL.js +2 -0
  391. package/__chunks__/{chunk-THATLRXI.js → chunk-TKGUBRTO.js} +2 -2
  392. package/__chunks__/chunk-TQPEOA25.js +2 -0
  393. package/__chunks__/{chunk-PKNLHLMK.js → chunk-TU5N4L3F.js} +2 -2
  394. package/__chunks__/{chunk-NQVKUO5J.js → chunk-U5LSCOHZ.js} +2 -2
  395. package/__chunks__/{chunk-CV6LTYEN.js → chunk-UB4DU6IY.js} +2 -2
  396. package/__chunks__/{chunk-ZUBYGCI6.js → chunk-UGG4ZVT7.js} +2 -2
  397. package/__chunks__/{chunk-HUHBWTGV.js → chunk-UHNAW66J.js} +2 -2
  398. package/__chunks__/{chunk-W4BJGGSU.js → chunk-UIMOFTYA.js} +2 -2
  399. package/__chunks__/{chunk-WL5XAOJQ.js → chunk-UNC4ZPZ7.js} +2 -2
  400. package/__chunks__/{chunk-Z2ZEUHYK.js → chunk-UNWWLB6H.js} +2 -2
  401. package/__chunks__/{chunk-QXVU5FGO.js → chunk-USGR36BQ.js} +2 -2
  402. package/__chunks__/{chunk-SNGAFUP6.js → chunk-UV3BQKFK.js} +2 -2
  403. package/__chunks__/{chunk-HKOVN6MG.js → chunk-V3X7UG2C.js} +2 -2
  404. package/__chunks__/{chunk-COUZONBL.js → chunk-V5QSDNY3.js} +2 -2
  405. package/__chunks__/{chunk-XMM4AD2U.js → chunk-V7ACSO4O.js} +2 -2
  406. package/__chunks__/{chunk-LO3RIUS3.js → chunk-VH5YTYFI.js} +2 -2
  407. package/__chunks__/chunk-VMD67BF6.js +2 -0
  408. package/__chunks__/{chunk-JJ5TU65J.js → chunk-VXWN2IY4.js} +2 -2
  409. package/__chunks__/{chunk-65PTUMFW.js → chunk-W3YW72OF.js} +2 -2
  410. package/__chunks__/{chunk-KXYOZZWH.js → chunk-WA5XP3EV.js} +2 -2
  411. package/__chunks__/{chunk-QMFN5L42.js → chunk-WEA4C5X7.js} +2 -2
  412. package/__chunks__/{chunk-IINAI2T7.js → chunk-WFMSTO6P.js} +2 -2
  413. package/__chunks__/{chunk-4UQWT5ZQ.js → chunk-WHJDOGU7.js} +2 -2
  414. package/__chunks__/{chunk-YNWHJAAC.js → chunk-WJF3CIOE.js} +2 -2
  415. package/__chunks__/{chunk-7ATRC2HC.js → chunk-WNSPURWS.js} +2 -2
  416. package/__chunks__/{chunk-GDDIVHLD.js → chunk-WOHL234A.js} +2 -2
  417. package/__chunks__/chunk-WQV4NSZG.js +2 -0
  418. package/__chunks__/{chunk-AUMJWTVL.js → chunk-WRO6THDA.js} +2 -2
  419. package/__chunks__/chunk-WTMHDI3F.js +2 -0
  420. package/__chunks__/{chunk-7VAMMQBW.js → chunk-WXYQ5GK4.js} +2 -2
  421. package/__chunks__/{chunk-FULWXGZA.js → chunk-X2VKBIHG.js} +2 -2
  422. package/__chunks__/{chunk-LPOKARPF.js → chunk-XCEK2L6C.js} +2 -2
  423. package/__chunks__/{chunk-G5FPMOKK.js → chunk-XHD63UMY.js} +2 -2
  424. package/__chunks__/{chunk-BJLACGZ2.js → chunk-XKG6MJJF.js} +2 -2
  425. package/__chunks__/{chunk-GZH3R2XH.js → chunk-XRI4KXUU.js} +2 -2
  426. package/__chunks__/{chunk-QX22NYVR.js → chunk-Y3NLPZAR.js} +2 -2
  427. package/__chunks__/{chunk-RULY5VOQ.js → chunk-YB4BVMRP.js} +2 -2
  428. package/__chunks__/{chunk-EEI35GZT.js → chunk-YNIWDNDQ.js} +2 -2
  429. package/__chunks__/{chunk-C5LKGARX.js → chunk-YPXBAXJG.js} +2 -2
  430. package/__chunks__/{chunk-JSOZJSKF.js → chunk-YRXFSVU4.js} +2 -2
  431. package/__chunks__/chunk-YSQKUC2C.js +2 -0
  432. package/__chunks__/{chunk-RQJTGIXR.js → chunk-YT6MEERZ.js} +2 -2
  433. package/__chunks__/{chunk-RHJRKQLW.js → chunk-YUW6HFTC.js} +2 -2
  434. package/__chunks__/{chunk-FKIKFBN6.js → chunk-YX7HCJV4.js} +2 -2
  435. package/__chunks__/{chunk-JH6JZ4CB.js → chunk-YZLRTQIA.js} +2 -2
  436. package/__chunks__/{chunk-TKL5MHDO.js → chunk-Z2W42GR6.js} +2 -2
  437. package/__chunks__/{chunk-2L5WU6KF.js → chunk-Z5HOLA7Z.js} +2 -2
  438. package/__chunks__/{chunk-GVQUOFTI.js → chunk-ZEN5RLW4.js} +2 -2
  439. package/__chunks__/{chunk-BOW2EG2N.js → chunk-ZFOGJLJ6.js} +2 -2
  440. package/__chunks__/{chunk-HWHFIUZU.js → chunk-ZJ6WAYTZ.js} +2 -2
  441. package/__chunks__/{chunk-7YQ54JUZ.js → chunk-ZV5ESV2M.js} +2 -2
  442. package/__chunks__/{chunk-GSMMBXTD.js → chunk-ZYBZKJ66.js} +2 -2
  443. package/__chunks__/{chunk-NL2BF2BK.js → chunk-ZYXYZADX.js} +2 -2
  444. package/__chunks__/{chunk-5RYOEKY5.js → chunk-ZZ4XEJL7.js} +2 -2
  445. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  446. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  447. package/__commonjs/UI/DappModal/index.js +1 -1
  448. package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
  449. package/__commonjs/UI/ModalContainer/index.js +1 -1
  450. package/__commonjs/UI/NotificationModal/index.js +1 -1
  451. package/__commonjs/UI/ScamPhishingAlert/ScamPhishingAlert.js +2 -2
  452. package/__commonjs/UI/ScamPhishingAlert/index.js +2 -2
  453. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
  454. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  455. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  456. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  457. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  458. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  459. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +4 -4
  460. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  461. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  462. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  463. package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
  464. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
  465. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  466. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  467. package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
  468. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  469. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  470. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  471. package/__commonjs/UI/TransactionInfo/index.js +1 -1
  472. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  473. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  474. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  475. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +8 -8
  476. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
  477. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +8 -8
  478. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  479. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  480. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  481. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  482. package/__commonjs/UI/index.js +69 -69
  483. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +15 -15
  484. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  485. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +14 -14
  486. package/__commonjs/UI/ledger/index.js +15 -15
  487. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  488. package/__commonjs/UI/pages/UnlockPage/index.js +18 -18
  489. package/__commonjs/UI/pages/index.js +18 -18
  490. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
  491. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
  492. package/__commonjs/UI/walletConnect/index.js +7 -7
  493. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  494. package/__commonjs/__mocks__/index.js +1 -1
  495. package/__commonjs/__mocks__/server.js +1 -1
  496. package/__commonjs/__mocks__/utils/index.js +1 -1
  497. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  498. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  499. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  500. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  501. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  502. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  503. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  504. package/__commonjs/components/LogoutListener/index.js +1 -1
  505. package/__commonjs/components/ProviderInitializer.js +1 -1
  506. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  507. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  508. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  509. package/__commonjs/hooks/index.js +1 -1
  510. package/__commonjs/hooks/login/index.js +1 -1
  511. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  512. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  513. package/__commonjs/hooks/login/useLoginService.js +1 -1
  514. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  515. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  516. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  517. package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
  518. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  519. package/__commonjs/hooks/signMessage/index.js +1 -1
  520. package/__commonjs/hooks/signMessage/{useVerifyMessage.js → verifyMessage.js} +2 -2
  521. package/__commonjs/hooks/transactions/index.js +1 -1
  522. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  523. package/__commonjs/providers/webviewProvider/index.js +1 -1
  524. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  525. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  526. package/__commonjs/reduxStore/commonActions.js +1 -1
  527. package/__commonjs/reduxStore/persistedRootReducer.js +1 -1
  528. package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
  529. package/__commonjs/services/index.js +1 -1
  530. package/__commonjs/services/nativeAuth/helpers/decodeNativeAuthToken.js +1 -1
  531. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  532. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  533. package/__commonjs/services/nativeAuth/index.js +1 -1
  534. package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  535. package/__commonjs/services/nativeAuth/methods/getTokenExpiration.js +1 -1
  536. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  537. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  538. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  539. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  540. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  541. package/__commonjs/wrappers/index.js +1 -1
  542. package/__mocks__/accountConfig.js +1 -1
  543. package/__mocks__/index.js +1 -1
  544. package/__mocks__/server.js +1 -1
  545. package/__mocks__/utils/index.js +1 -1
  546. package/__mocks__/utils/renderWithProvider.js +1 -1
  547. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  548. package/apiCalls/accounts/index.js +1 -1
  549. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  550. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  551. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  552. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  553. package/apiCalls/configuration/index.js +1 -1
  554. package/apiCalls/getScamAddressData.js +1 -1
  555. package/apiCalls/index.js +1 -1
  556. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  557. package/apiCalls/transactions/index.js +1 -1
  558. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  559. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  560. package/apiCalls/utils/index.js +1 -1
  561. package/components/LogoutListener/LogoutListener.js +1 -1
  562. package/components/LogoutListener/helpers/index.js +1 -1
  563. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  564. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  565. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  566. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  567. package/components/LogoutListener/index.js +1 -1
  568. package/components/ProviderInitializer.js +1 -1
  569. package/components/TransactionSender/TransactionSender.js +1 -1
  570. package/components/TransactionSender/index.js +1 -1
  571. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  572. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  573. package/components/TransactionsTracker/index.js +1 -1
  574. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  575. package/constants/index.js +1 -1
  576. package/constants/network.js +1 -1
  577. package/hooks/account/index.js +1 -1
  578. package/hooks/account/useGetAccount.js +1 -1
  579. package/hooks/account/useGetAccountInfo.js +1 -1
  580. package/hooks/account/useGetAccountProvider.js +1 -1
  581. package/hooks/account/useGetIsLoggedIn.js +1 -1
  582. package/hooks/account/useGetLoginInfo.js +1 -1
  583. package/hooks/account/useGetWebsocketEvent.js +1 -1
  584. package/hooks/index.js +1 -1
  585. package/hooks/login/index.js +1 -1
  586. package/hooks/login/useExtensionLogin.js +1 -1
  587. package/hooks/login/useLedgerLogin.js +1 -1
  588. package/hooks/login/useLoginService.d.ts +1 -1
  589. package/hooks/login/useLoginService.js +1 -1
  590. package/hooks/login/useOperaLogin.js +1 -1
  591. package/hooks/login/useWalletConnectLogin.js +1 -1
  592. package/hooks/login/useWalletConnectV2Login.js +1 -1
  593. package/hooks/login/useWebViewLogin.js +1 -1
  594. package/hooks/login/useWebWalletLogin.js +1 -1
  595. package/hooks/signMessage/index.d.ts +1 -1
  596. package/hooks/signMessage/index.js +1 -1
  597. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  598. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  599. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  600. package/hooks/signMessage/useSignMessage.js +1 -1
  601. package/hooks/signMessage/verifyMessage.d.ts +6 -0
  602. package/hooks/signMessage/verifyMessage.js +2 -0
  603. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  604. package/hooks/transactions/helpers/index.js +1 -1
  605. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  606. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  607. package/hooks/transactions/index.js +1 -1
  608. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  609. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  610. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  611. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  612. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  613. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  614. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  615. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  616. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  617. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  618. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  619. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  620. package/hooks/transactions/useGetTokenDetails.js +1 -1
  621. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  622. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  623. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  624. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  625. package/hooks/transactions/useSignTransactions.js +1 -1
  626. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  627. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  628. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  629. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  630. package/hooks/useGetNetworkConfig.js +1 -1
  631. package/hooks/useGetNotification.js +1 -1
  632. package/hooks/userInterface/index.js +1 -1
  633. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  634. package/hooks/websocketListener/index.js +1 -1
  635. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  636. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  637. package/models/index.js +1 -1
  638. package/models/newTransaction.js +1 -1
  639. package/package.json +2 -2
  640. package/providers/accountProvider.js +1 -1
  641. package/providers/index.js +1 -1
  642. package/providers/utils.js +1 -1
  643. package/providers/webviewProvider/index.js +1 -1
  644. package/providers/webviewProvider/requestMethods.js +1 -1
  645. package/providers/webviewProvider/webviewProvider.js +1 -1
  646. package/reduxStore/DappProviderContext.js +1 -1
  647. package/reduxStore/commonActions.js +1 -1
  648. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  649. package/reduxStore/persistConfig.js +1 -1
  650. package/reduxStore/persistedRootReducer.js +1 -1
  651. package/reduxStore/reducers.js +1 -1
  652. package/reduxStore/rootReducer.js +1 -1
  653. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  654. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  655. package/reduxStore/selectors/helpers.js +1 -1
  656. package/reduxStore/selectors/index.js +1 -1
  657. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  658. package/reduxStore/selectors/modalsSelectors.js +1 -1
  659. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  660. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  661. package/reduxStore/selectors/toastsSelectors.js +1 -1
  662. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  663. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  664. package/reduxStore/slices/accountInfoSlice.js +1 -1
  665. package/reduxStore/slices/dappModalsSlice.js +1 -1
  666. package/reduxStore/slices/index.js +1 -1
  667. package/reduxStore/slices/loginInfoSlice.js +1 -1
  668. package/reduxStore/slices/modalsSlice.js +1 -1
  669. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  670. package/reduxStore/slices/toastsSlice.js +1 -1
  671. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  672. package/reduxStore/slices/transactionsSlice.js +1 -1
  673. package/reduxStore/store.js +1 -1
  674. package/services/index.js +1 -1
  675. package/services/nativeAuth/helpers/decodeNativeAuthToken.d.ts +1 -1
  676. package/services/nativeAuth/helpers/decodeNativeAuthToken.js +1 -1
  677. package/services/nativeAuth/helpers/index.js +1 -1
  678. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  679. package/services/nativeAuth/index.js +1 -1
  680. package/services/nativeAuth/methods/getNativeAuthConfig.d.ts +1 -1
  681. package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  682. package/services/nativeAuth/methods/getToken.js +1 -1
  683. package/services/nativeAuth/methods/getTokenExpiration.js +1 -1
  684. package/services/nativeAuth/methods/index.js +1 -1
  685. package/services/nativeAuth/nativeAuth.d.ts +1 -1
  686. package/services/nativeAuth/nativeAuth.js +1 -1
  687. package/services/transactions/clearTransactions.js +1 -1
  688. package/services/transactions/index.js +1 -1
  689. package/services/transactions/isCrossShardTransaction.js +1 -1
  690. package/services/transactions/sendTransactions.js +1 -1
  691. package/services/transactions/signTransactions.js +1 -1
  692. package/services/transactions/transformAndSignTransactions.js +1 -1
  693. package/services/transactions/utils.js +1 -1
  694. package/types/index.js +1 -1
  695. package/types/login.types.d.ts +1 -1
  696. package/types/login.types.js +1 -1
  697. package/utils/account/getAccount.js +1 -1
  698. package/utils/account/getAccountBalance.js +1 -1
  699. package/utils/account/getAccountProviderType.js +1 -1
  700. package/utils/account/getAccountShard.js +1 -1
  701. package/utils/account/getAddress.js +1 -1
  702. package/utils/account/getIsProviderEqualTo.js +1 -1
  703. package/utils/account/getLatestNonce.js +1 -1
  704. package/utils/account/getShardOfAddress.js +1 -1
  705. package/utils/account/index.js +1 -1
  706. package/utils/account/loginWithExternalProvider.js +1 -1
  707. package/utils/account/refreshAccount.js +1 -1
  708. package/utils/account/setNonce.js +1 -1
  709. package/utils/account/signMessage.js +1 -1
  710. package/utils/getIsLoggedIn.js +1 -1
  711. package/utils/index.js +1 -1
  712. package/utils/logout.js +1 -1
  713. package/utils/network/getChainID.js +1 -1
  714. package/utils/network/getEgldLabel.js +1 -1
  715. package/utils/network/getNetworkConfig.js +1 -1
  716. package/utils/network/index.js +1 -1
  717. package/utils/operations/calculateFeeLimit.js +1 -1
  718. package/utils/operations/denominate.js +1 -1
  719. package/utils/operations/formatAmount.js +1 -1
  720. package/utils/operations/index.js +1 -1
  721. package/utils/operations/nominate.js +1 -1
  722. package/utils/operations/parseAmount.js +1 -1
  723. package/utils/smartContracts.js +1 -1
  724. package/utils/toasts/customToastsActions.js +1 -1
  725. package/utils/toasts/index.js +1 -1
  726. package/utils/transactions/getAllTransactionsLink.js +1 -1
  727. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  728. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  729. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  730. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  731. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  732. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  733. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  734. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  735. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  736. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  737. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  738. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  739. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  740. package/utils/transactions/getTransactionLink.js +1 -1
  741. package/utils/transactions/index.js +1 -1
  742. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  743. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  744. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  745. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  746. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  747. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  748. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  749. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  750. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  751. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  752. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  753. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  754. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  755. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  756. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  757. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  758. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  759. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  760. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  761. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  762. package/utils/validation/index.js +1 -1
  763. package/utils/validation/maxDecimals.js +1 -1
  764. package/utils/validation/stringIsFloat.js +1 -1
  765. package/web/hooks/index.js +1 -1
  766. package/web/hooks/useIdleTimer.js +1 -1
  767. package/web/index.js +1 -1
  768. package/wrappers/AppInitializer.js +1 -1
  769. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  770. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  771. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  772. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  773. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  774. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  775. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  776. package/wrappers/DappProvider/CustomComponents.js +1 -1
  777. package/wrappers/DappProvider/index.js +1 -1
  778. package/wrappers/index.js +1 -1
  779. package/__chunks__/chunk-23WPUIWM.js +0 -2
  780. package/__chunks__/chunk-2LFAG5UW.js +0 -2
  781. package/__chunks__/chunk-4QMATHBG.js +0 -2
  782. package/__chunks__/chunk-5C5IMDWD.js +0 -2
  783. package/__chunks__/chunk-5VEFV3IS.js +0 -2
  784. package/__chunks__/chunk-7A4X3VND.js +0 -2
  785. package/__chunks__/chunk-AFAUYTFM.js +0 -2
  786. package/__chunks__/chunk-AZVCA6PP.js +0 -2
  787. package/__chunks__/chunk-BMM3EAVE.js +0 -2
  788. package/__chunks__/chunk-BQOOU5JN.js +0 -2
  789. package/__chunks__/chunk-CHTJEAWJ.js +0 -2
  790. package/__chunks__/chunk-CUPMM5UN.js +0 -2
  791. package/__chunks__/chunk-DQ6NMBLV.js +0 -2
  792. package/__chunks__/chunk-DXWP7WID.js +0 -2
  793. package/__chunks__/chunk-EGUQKZHO.js +0 -2
  794. package/__chunks__/chunk-EPODPC7N.js +0 -2
  795. package/__chunks__/chunk-FDNJRVRV.js +0 -2
  796. package/__chunks__/chunk-FZKUX6GT.js +0 -2
  797. package/__chunks__/chunk-GTFL6MTY.js +0 -2
  798. package/__chunks__/chunk-IH6JAQIK.js +0 -2
  799. package/__chunks__/chunk-J5MXYBME.js +0 -2
  800. package/__chunks__/chunk-JRCA2D4O.js +0 -2
  801. package/__chunks__/chunk-JZMR4U4G.js +0 -2
  802. package/__chunks__/chunk-K4JDGZX7.js +0 -2
  803. package/__chunks__/chunk-KK63JPYF.js +0 -2
  804. package/__chunks__/chunk-KL3ZFTGO.js +0 -2
  805. package/__chunks__/chunk-KVKIF44C.js +0 -2
  806. package/__chunks__/chunk-LHMBRPVE.js +0 -2
  807. package/__chunks__/chunk-MNBMZXH4.js +0 -2
  808. package/__chunks__/chunk-N53WBDGP.js +0 -2
  809. package/__chunks__/chunk-NJ2FRDNT.js +0 -2
  810. package/__chunks__/chunk-NJAB7S6U.js +0 -2
  811. package/__chunks__/chunk-NLB665WA.js +0 -2
  812. package/__chunks__/chunk-O3IP5FLJ.js +0 -2
  813. package/__chunks__/chunk-OQLWGB56.js +0 -2
  814. package/__chunks__/chunk-PK3B7MMU.js +0 -2
  815. package/__chunks__/chunk-Q2MHKB63.js +0 -2
  816. package/__chunks__/chunk-QC4HFPGK.js +0 -2
  817. package/__chunks__/chunk-QMD3AU7N.js +0 -2
  818. package/__chunks__/chunk-RNF6NJNX.js +0 -2
  819. package/__chunks__/chunk-T7QMSC3P.js +0 -2
  820. package/__chunks__/chunk-TMCGSBFK.js +0 -2
  821. package/__chunks__/chunk-TMST4RY3.js +0 -2
  822. package/__chunks__/chunk-U2HS3BH7.js +0 -2
  823. package/__chunks__/chunk-XUFBPLE5.js +0 -2
  824. package/__chunks__/chunk-XW4TJUAM.js +0 -2
  825. package/__chunks__/chunk-YHN6UC5D.js +0 -2
  826. package/__chunks__/chunk-YMCJEH4Z.js +0 -2
  827. package/__chunks__/chunk-Z5PKPJRS.js +0 -2
  828. package/__chunks__/chunk-ZTLF7T3Z.js +0 -2
  829. package/hooks/signMessage/useVerifyMessage.d.ts +0 -2
  830. package/hooks/signMessage/useVerifyMessage.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Ti=Object.create;var Se=Object.defineProperty,yi=Object.defineProperties,hi=Object.getOwnPropertyDescriptor,xi=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertyNames,Re=Object.getOwnPropertySymbols,wi=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable;var wr=(e,t,r)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))St.call(t,r)&&wr(e,r,t[r]);if(Re)for(var r of Re(t))br.call(t,r)&&wr(e,r,t[r]);return e},A=(e,t)=>yi(e,xi(t));var Ar=(e,t)=>{var r={};for(var n in e)St.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Re)for(var n of Re(e))t.indexOf(n)<0&&br.call(e,n)&&(r[n]=e[n]);return r};var h=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ce=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},Ir=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Si(t))!St.call(e,i)&&i!==r&&Se(e,i,{get:()=>t[i],enumerable:!(n=hi(t,i))||n.enumerable});return e};var w=(e,t,r)=>(r=e!=null?Ti(wi(e)):{},Ir(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),we=e=>Ir(Se({},"__esModule",{value:!0}),e);var k=(e,t,r)=>new Promise((n,i)=>{var l=m=>{try{d(r.next(m))}catch(g){i(g)}},p=m=>{try{d(r.throw(m))}catch(g){i(g)}},d=m=>m.done?n(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var Er=Ce(Pe=>{"use strict";o();Pe.byteLength=Ai;Pe.toByteArray=vi;Pe.fromByteArray=Li;var V=[],F=[],bi=typeof Uint8Array!="undefined"?Uint8Array:Array,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ie=0,vr=wt.length;ie<vr;++ie)V[ie]=wt[ie],F[wt.charCodeAt(ie)]=ie;var ie,vr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function kr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function Ai(e){var t=kr(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Ii(e,t,r){return(t+r)*3/4-r}function vi(e){var t,r=kr(e),n=r[0],i=r[1],l=new bi(Ii(e,n,i)),p=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)t=F[e.charCodeAt(m)]<<18|F[e.charCodeAt(m+1)]<<12|F[e.charCodeAt(m+2)]<<6|F[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=F[e.charCodeAt(m)]<<2|F[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=F[e.charCodeAt(m)]<<10|F[e.charCodeAt(m+1)]<<4|F[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function ki(e){return V[e>>18&63]+V[e>>12&63]+V[e>>6&63]+V[e&63]}function Ei(e,t,r){for(var n,i=[],l=t;l<r;l+=3)n=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(ki(n));return i.join("")}function Li(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,d=r-n;p<d;p+=l)i.push(Ei(e,p,p+l>d?d:p+l));return n===1?(t=e[r-1],i.push(V[t>>2]+V[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(V[t>>10]+V[t>>4&63]+V[t<<2&63]+"=")),i.join("")}});var Lr=Ce(bt=>{o();bt.read=function(e,t,r,n,i){var l,p,d=i*8-n-1,m=(1<<d)-1,g=m>>1,y=-7,f=r?i-1:0,S=r?-1:1,v=e[t+f];for(f+=S,l=v&(1<<-y)-1,v>>=-y,y+=d;y>0;l=l*256+e[t+f],f+=S,y-=8);for(p=l&(1<<-y)-1,l>>=-y,y+=n;y>0;p=p*256+e[t+f],f+=S,y-=8);if(l===0)l=1-g;else{if(l===m)return p?NaN:(v?-1:1)*(1/0);p=p+Math.pow(2,n),l=l-g}return(v?-1:1)*p*Math.pow(2,l-n)};bt.write=function(e,t,r,n,i,l){var p,d,m,g=l*8-i-1,y=(1<<g)-1,f=y>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:l-1,C=n?1:-1,P=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=y):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+f>=1?t+=S/m:t+=S*Math.pow(2,1-f),t*m>=2&&(p++,m/=2),p+f>=y?(d=0,p=y):p+f>=1?(d=(t*m-1)*Math.pow(2,i),p=p+f):(d=t*Math.pow(2,f-1)*Math.pow(2,i),p=0));i>=8;e[r+v]=d&255,v+=C,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+v]=p&255,v+=C,p/=256,g-=8);e[r+v-C]|=P*128}});var $r=Ce(me=>{"use strict";o();var At=Er(),de=Lr(),Nr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=_i;me.INSPECT_MAX_BYTES=50;var _e=2147483647;me.kMaxLength=_e;u.TYPED_ARRAY_SUPPORT=Ni();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Ni(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function j(e){if(e>_e)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Et(e)}return Cr(e,t,r)}u.poolSize=8192;function Cr(e,t,r){if(typeof e=="string")return Ri(e,t);if(ArrayBuffer.isView(e))return Ci(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return vt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=Pi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Cr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Di(e,t,r){return Pr(e),e<=0?j(e):t!==void 0?typeof r=="string"?j(e).fill(t,r):j(e).fill(t):j(e)}u.alloc=function(e,t,r){return Di(e,t,r)};function Et(e){return Pr(e),j(e<0?0:Lt(e)|0)}u.allocUnsafe=function(e){return Et(e)};u.allocUnsafeSlow=function(e){return Et(e)};function Ri(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=_r(e,t)|0,n=j(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function It(e){for(var t=e.length<0?0:Lt(e.length)|0,r=j(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Ci(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return vt(t.buffer,t.byteOffset,t.byteLength)}return It(e)}function vt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function Pi(e){if(u.isBuffer(e)){var t=Lt(e.length)|0,r=j(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Nt(e.length)?j(0):It(e);if(e.type==="Buffer"&&Array.isArray(e.data))return It(e.data)}function Lt(e){if(e>=_e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_e.toString(16)+" bytes");return e|0}function _i(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,l=0,p=Math.min(n,i);l<p;++l)if(t[l]!==r[l]){n=t[l],i=r[l];break}return n<i?-1:i<n?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),l=0;for(n=0;n<t.length;++n){var p=t[n];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function _r(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return kt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Vr(e).length;default:if(i)return n?-1:kt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=_r;function Mi(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return qi(this,t,r);case"utf8":case"utf-8":return Or(this,t,r);case"ascii":return Hi(this,t,r);case"latin1":case"binary":return Wi(this,t,r);case"base64":return $i(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ji(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function ae(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ae(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ae(this,r,r+3),ae(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ae(this,r,r+7),ae(this,r+1,r+6),ae(this,r+2,r+5),ae(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Or(this,0,t):Mi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Nr&&(u.prototype[Nr]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||n>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=n)return 0;if(i>=l)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=n-r,m=Math.min(p,d),g=this.slice(i,l),y=t.slice(r,n),f=0;f<m;++f)if(g[f]!==y[f]){p=g[f],d=y[f];break}return p<d?-1:d<p?1:0};function Mr(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Nt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,n)),u.isBuffer(t))return t.length===0?-1:Dr(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Dr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Dr(e,t,r,n,i){var l=1,p=e.length,d=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(v,C){return l===1?v[C]:v.readUInt16BE(C*l)}var g;if(i){var y=-1;for(g=r;g<p;g++)if(m(e,g)===m(t,y===-1?0:g-y)){if(y===-1&&(y=g),g-y+1===d)return y*l}else y!==-1&&(g-=g-y),y=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var f=!0,S=0;S<d;S++)if(m(e,g+S)!==m(t,S)){f=!1;break}if(f)return g}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return Mr(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return Mr(this,t,r,n,!1)};function Oi(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var l=t.length;n>l/2&&(n=l/2);for(var p=0;p<n;++p){var d=parseInt(t.substr(p*2,2),16);if(Nt(d))return p;e[r+p]=d}return p}function Fi(e,t,r,n){return Me(kt(t,e.length-r),e,r,n)}function Bi(e,t,r,n){return Me(Yi(t),e,r,n)}function Ui(e,t,r,n){return Me(Vr(t),e,r,n)}function Vi(e,t,r,n){return Me(Zi(t,e.length-r),e,r,n)}u.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((n===void 0||n>l)&&(n=l),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Oi(this,t,r,n);case"utf8":case"utf-8":return Fi(this,t,r,n);case"ascii":case"latin1":case"binary":return Bi(this,t,r,n);case"base64":return Ui(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vi(this,t,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $i(e,t,r){return t===0&&r===e.length?At.fromByteArray(e):At.fromByteArray(e.slice(t,r))}function Or(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,g,y,f;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(f=(l&31)<<6|m&63,f>127&&(p=f));break;case 3:m=e[i+1],g=e[i+2],(m&192)===128&&(g&192)===128&&(f=(l&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:m=e[i+1],g=e[i+2],y=e[i+3],(m&192)===128&&(g&192)===128&&(y&192)===128&&(f=(l&15)<<18|(m&63)<<12|(g&63)<<6|y&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=d}return Gi(n)}var Rr=4096;function Gi(e){var t=e.length;if(t<=Rr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Rr));return r}function Hi(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function Wi(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function qi(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",l=t;l<r;++l)i+=Xi[e[l]];return i}function ji(e,t,r){for(var n=e.slice(t,r),i="",l=0;l<n.length-1;l+=2)i+=String.fromCharCode(n[l]+n[l+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||L(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),de.read(this,t,!1,52,8)};function D(e,t,r,n,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=1,d=0;for(this[r]=t&255;++d<n&&(p*=256);)this[r+d]=t/p&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=n-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<n&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=n-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Fr(e,t,r,n,i,l){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Br(e,t,r,n,i){return t=+t,r=r>>>0,i||Fr(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return Br(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return Br(this,t,r,!1,n)};function Ur(e,t,r,n,i){return t=+t,r=r>>>0,i||Fr(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return Ur(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return Ur(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var l=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),l};u.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<n;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=d[p%m]}return this};var zi=/[^+/0-9A-Za-z-_]/g;function Ki(e){if(e=e.split("=")[0],e=e.trim().replace(zi,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function kt(e,t){t=t||1/0;for(var r,n=e.length,i=null,l=[],p=0;p<n;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===n){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Yi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Zi(e,t){for(var r,n,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),n=r>>8,i=r%256,l.push(i),l.push(n);return l}function Vr(e){return At.toByteArray(Ki(e))}function Me(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Nt(e){return e!==e}var Xi=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var jr=Ce((Bs,qr)=>{o();var E=qr.exports={},G,H;function Dt(){throw new Error("setTimeout has not been defined")}function Rt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?G=setTimeout:G=Dt}catch(e){G=Dt}try{typeof clearTimeout=="function"?H=clearTimeout:H=Rt}catch(e){H=Rt}})();function Gr(e){if(G===setTimeout)return setTimeout(e,0);if((G===Dt||!G)&&setTimeout)return G=setTimeout,setTimeout(e,0);try{return G(e,0)}catch(t){try{return G.call(null,e,0)}catch(r){return G.call(this,e,0)}}}function Ji(e){if(H===clearTimeout)return clearTimeout(e);if((H===Rt||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var z=[],ge=!1,se,Oe=-1;function Qi(){!ge||!se||(ge=!1,se.length?z=se.concat(z):Oe=-1,z.length&&Hr())}function Hr(){if(!ge){var e=Gr(Qi);ge=!0;for(var t=z.length;t;){for(se=z,z=[];++Oe<t;)se&&se[Oe].run();Oe=-1,t=z.length}se=null,ge=!1,Ji(e)}}E.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];z.push(new Wr(e,t)),z.length===1&&!ge&&Gr(Hr)};function Wr(e,t){this.fun=e,this.array=t}Wr.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function K(){}E.on=K;E.addListener=K;E.once=K;E.off=K;E.removeListener=K;E.removeAllListeners=K;E.emit=K;E.prependListener=K;E.prependOnceListener=K;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,s,Us,o=h(()=>{a=w($r()),s=w(jr()),Us=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var zr=h(()=>{"use strict";o()});var Kr=h(()=>{"use strict";o()});var Yr=h(()=>{"use strict";o()});var Zr=h(()=>{"use strict";o()});var Y=h(()=>{"use strict";o()});var Xr=h(()=>{"use strict";o()});var Jr=h(()=>{"use strict";o()});var R=h(()=>{"use strict";o()});var Qr=h(()=>{"use strict";o()});var en=h(()=>{"use strict";o()});var _=h(()=>{"use strict";o();Kr();Yr();Zr();Y();Xr();Jr();R();Qr();en()});var Ct,tn,oc,rn,ic,nn,ac,sc,cc,on=h(()=>{"use strict";o();_();Ct={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:tn,egldLabel:oc}=Ct["devnet"],{chainId:rn,egldLabel:ic}=Ct["testnet"],{chainId:nn,egldLabel:ac}=Ct["mainnet"],sc={["devnet"]:tn,["testnet"]:rn,["mainnet"]:nn},cc={[tn]:"devnet",[rn]:"testnet",[nn]:"mainnet"}});var Pt=h(()=>{"use strict";o()});var an=h(()=>{"use strict";o()});var sn,_t=h(()=>{"use strict";o();sn="transaction-status-toast-id"});var W,cn=h(()=>{"use strict";o();W=require("@multiversx/sdk-web-wallet-provider")});var ln,Fe,J,fe,pn,Mt,Be,un,Q,I=h(()=>{"use strict";o();zr();on();Pt();an();_t();cn();ln=.01,Fe=1500,J=5e4,fe=1e9,pn=1,Mt=4294967295,Be="logout",un="login",Q="0"});var Te,Ue=h(()=>{"use strict";o();Te=()=>Date.now()/1e3});var dn=h(()=>{"use strict";o()});var mn=h(()=>{"use strict";o()});var gn=h(()=>{"use strict";o();Ue();dn();mn()});var Ft={};oe(Ft,{getItem:()=>ta,localStorageKeys:()=>ce,removeItem:()=>ra,setItem:()=>ea});var ce,Ot,ea,ta,ra,be=h(()=>{"use strict";o();gn();ce={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ot=typeof localStorage!="undefined",ea=({key:e,data:t,expires:r})=>{!Ot||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ta=e=>{if(!Ot)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Te()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ra=e=>{!Ot||localStorage.removeItem(String(e))}});var Bt={};oe(Bt,{clear:()=>hn,getItem:()=>Tn,removeItem:()=>yn,setItem:()=>fn,storage:()=>na});var fn,Tn,yn,hn,na,xn=h(()=>{"use strict";o();fn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Tn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},yn=e=>sessionStorage.removeItem(String(e)),hn=()=>sessionStorage.clear(),na={setItem:fn,getItem:Tn,removeItem:yn,clear:hn}});var ye,Ve=h(()=>{"use strict";o();be();xn();ye={session:Bt,local:Ft}});var Ut,N,$e,Z=h(()=>{"use strict";o();Ut=require("@reduxjs/toolkit");I();N=(0,Ut.createAction)(Be),$e=(0,Ut.createAction)(un,e=>({payload:e}))});var $t,Sn,wn,Ge,Vt,bn,An,Bc,In,Uc,Vc,$c,Gc,Hc,Wc,qc,He,We=h(()=>{"use strict";o();$t=require("@multiversx/sdk-core"),Sn=require("@reduxjs/toolkit"),wn=require("redux-persist");I();Ve();be();Z();Ge={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Q},Vt={address:"",websocketEvent:null,accounts:{"":Ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},bn=(0,Sn.createSlice)({name:"accountInfoSlice",initialState:Vt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new $t.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ge},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(N,()=>(ye.local.removeItem(ce.loginExpiresAt),Vt)),e.addCase($e,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new $t.Address(n).hex()}),e.addCase(wn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:n}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=n;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:Vt.accounts,t.publicKey=d})}}),{setAccount:An,setAddress:Bc,setAccountNonce:In,setAccountShard:Uc,setLedgerAccount:Vc,updateLedgerAccount:$c,setWalletConnectAccount:Gc,setIsAccountLoading:Hc,setAccountLoadingError:Wc,setWebsocketEvent:qc}=bn.actions,He=bn.reducer});function Ae(){return new Date().setHours(new Date().getHours()+24)}function Ie(e){ye.local.setItem({key:ce.loginExpiresAt,data:e,expires:e})}var Gt=h(()=>{"use strict";o();Ve();be()});var kn,vn,En,tl,rl,nl,ol,il,al,Ln,sl,qe,je=h(()=>{"use strict";o();kn=require("@reduxjs/toolkit");Gt();Y();Z();vn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},En=(0,kn.createSlice)({name:"loginInfoSlice",initialState:vn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(N,()=>vn),e.addCase($e,(t,r)=>{t.loginMethod=r.payload.loginMethod,Ie(Ae())})}}),{setLoginMethod:tl,setWalletConnectLogin:rl,setLedgerLogin:nl,setTokenLogin:ol,setTokenLoginSignature:il,setWalletLogin:al,invalidateLoginSession:Ln,setLogoutRoute:sl}=En.actions,qe=En.reducer});var Dn,Nn,Rn,ul,Ht,dl,ml,ze,Ke=h(()=>{"use strict";o();Dn=require("@reduxjs/toolkit");Z();Nn={},Rn=(0,Dn.createSlice)({name:"modalsSlice",initialState:Nn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(N,()=>Nn)}}),{setTxSubmittedModal:ul,setNotificationModal:Ht,clearTxSubmittedModal:dl,clearNotificationModal:ml}=Rn.actions,ze=Rn.reducer});var Cn=h(()=>{"use strict";o()});var Pn=h(()=>{"use strict";o();Cn()});function Wt(e){return e[Math.floor(Math.random()*e.length)]}var _n=h(()=>{"use strict";o()});var Mn=h(()=>{"use strict";o();Pt()});var On=h(()=>{"use strict";o();Pn();_n();Mn()});var Fn,Bn,qt,ia,Un,Nl,Dl,Ye,Ze=h(()=>{"use strict";o();Fn=require("@reduxjs/toolkit"),Bn=w(require("lodash.omit"));On();qt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ia={network:qt,chainID:"-1"},Un=(0,Fn.createSlice)({name:"appConfig",initialState:ia,reducers:{initializeNetworkConfig:(e,t)=>{let r=Wt(t.payload.walletConnectBridgeAddresses),n=Wt(t.payload.walletConnectV2RelayAddresses),i=(0,Bn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Nl,setChainID:Dl}=Un.actions,Ye=Un.reducer});var Vn,jt,$n,Ol,Fl,Bl,Xe,Je=h(()=>{"use strict";o();Vn=require("@reduxjs/toolkit");_();Z();jt={isSigning:!1,signedSessions:{}},$n=(0,Vn.createSlice)({name:"signedMessageInfoSliceState",initialState:jt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:n,errorMessage:i}=t.payload;return A(x({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:n.status==="pending",signedSessions:A(x({},e.signedSessions),{[r]:n})})},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>jt},extraReducers:e=>{e.addCase(N,()=>jt)}}),{setSignSession:Ol,clearSignedMessageInfo:Fl,setSignSessionState:Bl}=$n.actions,Xe=$n.reducer});var Hn,Wn,Gn,qn,jl,zl,Kl,Yl,Zl,Xl,Qe,et=h(()=>{"use strict";o();Hn=require("@reduxjs/toolkit"),Wn=require("redux-persist");_t();_();Ue();Z();Gn={customToasts:[],transactionToasts:[],failTransactionToast:null},qn=(0,Hn.createSlice)({name:"toastsSlice",initialState:Gn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Te(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=A(x({},t.payload),{toastId:sn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(N,()=>Gn),e.addCase(Wn.REHYDRATE,(t,r)=>{var i,l;let n=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=n})}}),{addCustomToast:jl,removeCustomToast:zl,addTransactionToast:Kl,removeTransactionToast:Yl,addFailTransactionToast:Zl,removeFailTransactionToast:Xl}=qn.actions,Qe=qn.reducer});var jn,Kt,Yt,Zt,aa,zt,zn,tp,Kn,rp,tt,rt=h(()=>{"use strict";o();jn=require("@reduxjs/toolkit");Z();Kt="Transaction failed",Yt="Transaction successful",Zt="Processing transaction",aa="Transaction submitted",zt={},zn=(0,jn.createSlice)({name:"transactionsInfo",initialState:zt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Kt,successMessage:(n==null?void 0:n.successMessage)||Yt,processingMessage:(n==null?void 0:n.processingMessage)||Zt,submittedMessage:(n==null?void 0:n.submittedMessage)||aa,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>zt},extraReducers:e=>{e.addCase(N,()=>zt)}}),{clearTransactionsInfo:tp,setTransactionsDisplayInfo:Kn,clearTransactionsInfoForSessionId:rp}=zn.actions,tt=zn.reducer});function Yn(e){return e!=null&&(fa(e)||xa(e))}function nt(e){return e!=null&&(Ta(e)||Sa(e))}function ot(e){return e!=null&&(ya(e)||wa(e))}function Zn(e){return e!=null&&ha(e)}function fa(e){return e!=null&&ca.includes(e)}function Ta(e){return e!=null&&la.includes(e)}function ya(e){return e!=null&&pa.includes(e)}function ha(e){return e!=null&&ua.includes(e)}function xa(e){return e!=null&&da.includes(e)}function Sa(e){return e!=null&&ma.includes(e)}function wa(e){return e!=null&&ga.includes(e)}var ca,la,pa,ua,da,ma,ga,Jt=h(()=>{"use strict";o();Y();ca=["sent"],la=["success"],pa=["fail","cancelled","timedOut"],ua=["timedOut"],da=["pending"],ma=["success"],ga=["fail","invalid"]});var Xn,Jn,ve,ba,Qn,up,dp,eo,to,ro,Qt,mp,gp,no,fp,it,at=h(()=>{"use strict";o();Xn=require("@reduxjs/toolkit"),Jn=require("redux-persist");Y();Jt();Z();ve={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ba={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Qn=(0,Xn.createSlice)({name:"transactionsSlice",initialState:ve,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,g;let{sessionId:r,transactions:n,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((m=e.customTransactionInformationForSessionId)==null?void 0:m[r])||ba;e.signedTransactions[r]={transactions:n,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=ve.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,m,g,y,f,S;let{sessionId:r,status:n,errorMessage:i,transactionHash:l}=t.payload,p=(m=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:m.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(P=>P.hash===l?A(x({},P),{status:n,errorMessage:i}):P);let v=(y=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:y.every(P=>nt(P.status)),C=(S=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:S.every(P=>ot(P.status));v&&(e.signedTransactions[r].status="success"),C&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ve.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ve.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(N,()=>ve),e.addCase(Jn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(n).reduce((d,[m,g])=>{let y=new Date(m),f=new Date;return f.setHours(f.getHours()+5),f-y>0||(d[m]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:up,updateSignedTransactions:dp,setTransactionsToSign:eo,clearAllTransactionsToSign:to,clearAllSignedTransactions:ro,clearSignedTransaction:Qt,clearTransactionToSign:mp,setSignTransactionsError:gp,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:fp}=Qn.actions,it=Qn.reducer});var ee=h(()=>{"use strict";o();We();je();Ke();Ze();Je();et();rt();at()});var er=h(()=>{"use strict";o()});var co,so,lo,Up,Vp,$p,Gp,Hp,Wp,po,uo=h(()=>{"use strict";o();co=require("@reduxjs/toolkit");Z();so={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},lo=(0,co.createSlice)({name:"dappModalsSlice",initialState:so,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(N,()=>so)}}),{setDappModalVisibility:Up,setDappModalHeaderVisibility:Vp,setDappModalFooterVisibility:$p,setDappModalHeaderText:Gp,setDappModalFooterText:Hp,setDappModalConfig:Wp}=lo.actions,po=lo.reducer});var mo,ka,Ea,le,ut=h(()=>{"use strict";o();mo=require("@reduxjs/toolkit");er();We();uo();je();Ke();Ze();Je();et();rt();at();ka={["account"]:He,["dappModal"]:po,["loginInfo"]:qe,["modals"]:ze,["networkConfig"]:Ye,["signedMessageInfo"]:Xe,["toasts"]:Qe,["transactionsInfo"]:tt,["transactions"]:it},Ea=(e={})=>(0,mo.combineReducers)(x(x({},ka),e)),le=Ea});var yo={};oe(yo,{default:()=>Ga,sessionStorageReducers:()=>tr});function te(e,t=[]){return{key:e,version:1,storage:fo.default,blacklist:t}}var M,go,fo,La,ke,Na,Da,Ra,Ca,Pa,_a,Ma,Oa,Fa,To,Ba,tr,Ua,Va,$a,Ga,ho=h(()=>{"use strict";o();M=require("redux-persist"),go=w(require("redux-persist/lib/storage")),fo=w(require("redux-persist/lib/storage/session"));ut();ee();We();je();Ke();Ze();Je();et();rt();at();er();La={persistReducersStorageType:"localStorage"},ke={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Na=te(ke["account"]),Da=te(ke["loginInfo"]),Ra=te(ke["modals"]),Ca=te(ke["networkConfig"]),Pa={2:e=>A(x({},e),{networkConfig:qt})};_a=te("sdk-dapp-transactionsInfo"),Ma=te("sdk-dapp-transactions",["transactionsToSign"]),Oa=te("sdk-dapp-toasts"),Fa=te("sdk-dapp-signedMessageInfo"),To={key:"sdk-dapp-store",version:2,storage:go.default,whitelist:Object.keys(ke),migrate:(0,M.createMigrate)(Pa,{debug:!1})},Ba=A(x({},To),{whitelist:[]}),tr={["toasts"]:(0,M.persistReducer)(Oa,Qe),["transactions"]:(0,M.persistReducer)(Ma,it),["transactionsInfo"]:(0,M.persistReducer)(_a,tt),["signedMessageInfo"]:(0,M.persistReducer)(Fa,Xe)},Ua=A(x({},tr),{["account"]:(0,M.persistReducer)(Na,He),["loginInfo"]:(0,M.persistReducer)(Da,qe),["modals"]:(0,M.persistReducer)(Ra,ze),["networkConfig"]:(0,M.persistReducer)(Ca,Ye)}),Va=La.persistReducersStorageType==="localStorage",$a=Va?(0,M.persistReducer)(To,le(tr)):(0,M.persistReducer)(Ba,le(Ua)),Ga=$a});var xo={};oe(xo,{default:()=>Ha});var Ha,So=h(()=>{"use strict";o();ut();Ha=le()});var wo={};oe(wo,{default:()=>qa});var B,Wa,qa,bo=h(()=>{"use strict";o();B=require("redux-persist"),Wa=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],qa=Wa});var vo={};oe(vo,{default:()=>Io});function Io(e){return(0,Ao.persistStore)(e)}var Ao,ko=h(()=>{"use strict";o();Ao=require("redux-persist")});var Ps={};oe(Ps,{calcTotalFee:()=>sr,isCrossShardTransaction:()=>jo,nativeAuth:()=>Cs,removeAllSignedTransactions:()=>Ka,removeAllTransactionsToSign:()=>Ya,removeSignedTransaction:()=>za,removeTransactionsToSign:()=>ja,sendTransactions:()=>ks,signTransactions:()=>cr});module.exports=we(Ps);o();o();o();ee();o();var rr=require("@reduxjs/toolkit"),Do=require("react-redux/lib/utils/Subscription");ee();o();var io=w(require("lodash.throttle"));I();o();var oo=w(require("lodash.isequal")),st=require("reselect");_();var T=(0,st.createSelectorCreator)(st.defaultMemoize,oo.default),ct=(e,t)=>e!=""&&Boolean(t);ee();Gt();Ve();be();var Aa=[Be],lt=!1,Ia=(0,io.default)(()=>{Ie(Ae())},5e3),ao=e=>t=>r=>{var m;if(Aa.includes(r.type))return t(r);let n=e.getState(),i=ye.local.getItem(ce.loginExpiresAt);if(!ct((m=n==null?void 0:n.loginInfo)==null?void 0:m.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return Ie(Ae());let p=Date.now();return i-p<0&&!lt?setTimeout(()=>{lt=!0,e.dispatch(Ln())},1e3):(lt&&(lt=!1),Ia()),t(r)};o();o();function pt(){return typeof sessionStorage!="undefined"}var Eo=pt()?(ho(),we(yo)).default:(So(),we(xo)).default,Lo=pt()?(bo(),we(wo)).default:[],No=pt()?(ko(),we(vo)).default:e=>e;ut();var b=(0,rr.configureStore)({reducer:Eo,middleware:e=>e({serializableCheck:{ignoredActions:[...Lo,In.type,An.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ao)}),wu=(0,Do.createSubscription)(b),bu=No(b),Au=(0,rr.configureStore)({reducer:le});function ja(e){b.dispatch(Qt(e))}function za(e){b.dispatch(Qt(e))}function Ka(){b.dispatch(ro())}function Ya(){b.dispatch(to())}o();o();var Vo=w(require("bignumber.js"));I();o();ee();var X=e=>e.account,Ee=T(X,e=>e.address),nr=T(X,Ee,(e,t)=>t in e.accounts?e.accounts[t]:Ge),Du=T(X,nr,(e,t)=>{let i=e,{accounts:r}=i,n=Ar(i,["accounts"]);return A(x({},n),{account:t})}),Ro=T(nr,e=>e.balance),Co=T(nr,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Ru=T(X,e=>e.shard),Cu=T(X,e=>e.ledgerAccount),Pu=T(X,e=>e.walletConnectAccount),_u=T(X,e=>e.isAccountLoading),Mu=T(X,e=>e.accountLoadingError),Ou=T(X,e=>e.websocketEvent);o();var pe=e=>e.networkConfig,dt=T(pe,e=>e.chainID),Uu=T(pe,e=>e.network.walletConnectBridgeAddress),Vu=T(pe,e=>e.network.walletConnectV2RelayAddress),$u=T(pe,e=>e.network.walletConnectV2ProjectId),Gu=T(pe,e=>e.network.walletConnectV2Options),Hu=T(pe,e=>e.network.walletConnectDeepLink),or=T(pe,e=>e.network),Po=T(or,e=>e.apiAddress),_o=T(or,e=>e.explorerAddress),Wu=T(or,e=>e.egldLabel);ee();_();o();var Mo=w(require("bignumber.js"));I();var mt=e=>{if(isNaN(e)||e==null||String(e).includes("Infinity"))return!1;let[t,r]=e.split(".");if(r)for(;r.charAt(r.length-1)===Q;)r=r.slice(0,-1);let n=r?[t,r].join("."):t,i=new Mo.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};o();var ar=w(require("bignumber.js"));I();o();var U=require("@multiversx/sdk-core"),Bo=require("@multiversx/sdk-network-providers");I();o();o();var Oo=w(require("bignumber.js")),ir=(e,t=!0)=>{let r=String(e);if(!r.match(/^[-]?\d+$/))return!1;let n=new Oo.default(r),i=t?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};o();I();o();var Fo={from:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",to:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa"};function Uo({minGasLimit:e=String(J),gasLimit:t,gasPrice:r,data:n,gasPerDataByte:i,gasPriceModifier:l,defaultGasPrice:p=String(fe),chainId:d}){let m=n||"",g=ir(t)?t:e,y=mt(r)?r:p,f=new U.Transaction({nonce:0,value:U.TokenPayment.egldFromAmount("0"),receiver:new U.Address(Fo.to),sender:new U.Address(Fo.to),gasPrice:parseInt(y),gasLimit:parseInt(g),data:new U.TransactionPayload(m.trim()),chainID:d,version:new U.TransactionVersion(1)}),S=new Bo.NetworkConfig;S.MinGasLimit=parseInt(e),S.GasPerDataByte=parseInt(i),S.GasPriceModifier=parseFloat(l);try{return f.computeFee(S).toString(10)}catch(v){return Q}}function sr(e,t){let r=new ar.default(0);return e.forEach(n=>{let i=Uo({gasPerDataByte:String(Fe),gasPriceModifier:String(ln),minGasLimit:String(t),gasLimit:n.getGasLimit().valueOf().toString(),gasPrice:n.getGasPrice().valueOf().toString(),data:n.getData().toString(),chainId:n.getChainID().valueOf()});r=r.plus(new ar.default(i))}),r}function cr(l){return k(this,arguments,function*({transactions:e,callbackRoute:t,minGasLimit:r=J,customTransactionInformation:n,transactionsDisplayInfo:i}){let p=b.getState(),d=Date.now().toString(),m=Ro(p),g=dt(p),y=Array.isArray(e)?e:[e],f=sr(y,r);if(!new Vo.default(mt(m)?m:"0").minus(f).isGreaterThan(0)){let q={type:"warning",iconClassName:"text-warning",title:"Insufficient EGLD funds",description:"Current EGLD balance cannot cover the transaction fees."};return b.dispatch(Ht(q)),{error:"insufficient funds",sessionId:null}}if(!(y==null?void 0:y.every(q=>q.getChainID().valueOf()===g.valueOf()))){let q={type:"warning",iconClassName:"text-warning",title:"Network change detected",description:"The application tried to change the transaction network"};return b.dispatch(Ht(q)),{error:"Invalid ChainID",sessionId:null}}let P={sessionId:d,callbackRoute:t,customTransactionInformation:n,transactions:y.map(q=>q.toPlainObject())};return b.dispatch(no(null)),b.dispatch(eo(P)),b.dispatch(Kn({sessionId:d,transactionsDisplayInfo:i})),{sessionId:d}})}o();var hr=require("@multiversx/sdk-core"),xr=w(require("bignumber.js"));I();o();var O=require("@multiversx/sdk-core");I();o();function lr(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function he(e){return atob(e)}function Le(e){var i,l,p;let{data:t}=e,r=lr(t!=null?t:"")?O.TransactionPayload.fromEncoded(t):new O.TransactionPayload(t),n=new O.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new O.Address(e.receiver),sender:new O.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:J,gasPrice:(l=e.gasPrice.valueOf())!=null?l:fe,chainID:e.chainID.valueOf(),version:new O.TransactionVersion((p=e.version)!=null?p:pn)},e.options?{options:new O.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new O.Address(e.sender)),n}o();o();var ne=e=>e.loginInfo,Ed=T(ne,e=>e.loginMethod),Ld=T(ne,Ee,(e,t)=>ct(e.loginMethod,t)),Nd=T(ne,e=>e.walletConnectLogin),Dd=T(ne,e=>e.ledgerLogin),Rd=T(ne,e=>e.walletLogin),Cd=T(ne,e=>e.isLoginSessionInvalid),Pd=T(ne,e=>e.tokenLogin),_d=T(ne,e=>e.logoutRoute);o();var $o=e=>e.modals,Fd=T($o,e=>e.txSubmittedModal),Bd=T($o,e=>e.notificationModal);o();var pr=e=>e.signedMessageInfo,$d=T(pr,e=>e.isSigning),Gd=T(pr,e=>e.errorMessage),Hd=T(pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var ur=e=>e.toasts,jd=T(ur,e=>e.customToasts),zd=T(ur,e=>e.transactionToasts),Kd=T(ur,e=>e.failTransactionToast);o();ee();var Go={errorMessage:Kt,successMessage:Yt,processingMessage:Zt},Za=e=>e.transactionsInfo,Jd=T(Za,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Go);o();o();Jt();o();var Ja=w(require("bignumber.js"));_();o();o();o();o();var es=require("@multiversx/sdk-core"),ts=w(require("bignumber.js"));Y();o();var Qa=require("@multiversx/sdk-core");o();o();o();var mr=require("@multiversx/sdk-core/out");o();I();var rs=e=>{let t=a.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(e.slice(0,t.length).equals(t))return!0;let n=a.Buffer.alloc(32).fill(0);return e.equals(n)},dr=e=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=a.Buffer.from(e,"hex"),l=i[31];if(rs(i))return Mt;let p=l&r;return p>3-1&&(p=l&n),p}catch(t){return-1}};function jo({receiverAddress:e,senderShard:t,senderAddress:r}){try{let n=new mr.Address(e),i=dr(n.pubkey());if(t==null&&r!=null){let l=new mr.Address(r);return dr(l)===i}return i===t}catch(n){return!1}}o();var zo=require("@multiversx/sdk-core");_();o();o();o();o();Y();o();o();o();o();o();o();o();var gr="accounts";var fr="blocks";o();o();o();o();R();o();o();R();o();o();o();var as=w(require("bignumber.js"));I();o();var is=require("@multiversx/sdk-core"),Tr=w(require("bignumber.js"));I();o();Tr.default.config({ROUNDING_MODE:Tr.default.ROUND_FLOOR});o();o();o();I();o();o();o();o();I();o();I();o();var ss=require("@multiversx/sdk-core");I();o();o();o();o();I();o();R();var ls=["reDelegateRewards","claimRewards","unBond"],ps=["wrapEgld","unwrapEgld"],us=["unStake"],ds=["unDelegate"];o();o();o();I();o();var fs=w(require("bignumber.js"));o();o();o();o();R();o();var Ts=w(require("bignumber.js"));o();o();o();o();R();o();o();o();var hs=w(require("linkifyjs"));o();I();o();var xs=w(require("bignumber.js"));o();_();o();o();Y();o();Y();o();o();o();R();o();R();o();var Ss=w(require("bignumber.js"));I();R();o();R();o();var Jo=require("react");_();o();o();R();o();o();var ws=require("@multiversx/sdk-core/out"),bs=w(require("bignumber.js"));R();o();_();o();o();_();var fh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var Qo=require("react");_();o();var Is=require("react");R();var bh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var yt=e=>e.transactions,Ne=T(yt,e=>e.signedTransactions),ax=T(yt,e=>e.signTransactionsError),sx=T(yt,e=>e.signTransactionsCancelMessage),ht=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),cx=T(Ne,ht(Yn)),lx=T(Ne,ht(nt)),px=T(Ne,ht(ot)),ux=T(Ne,ht(Zn)),dx=T(yt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Le(r)))||[]})}),mx=T(Ne,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});o();o();var ti=w(require("axios"));o();o();var ei=e=>{let t=e!=null?e:Po(b.getState());return t.endsWith("/")?t.slice(0,-1):t};function ri(e){return k(this,null,function*(){if(!e)return null;let r=`${ei()}/${gr}/${e}`;try{let{data:n}=yield ti.default.get(r);return n}catch(n){console.error("error fetching configuration for ",r)}return null})}function ni(e){return k(this,null,function*(){return yield ri(e)})}o();function oi(e){let t=b.getState(),r=Co(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}function vs(e){let t=new xr.default(J),r=new xr.default(Fe),n=e?r.times(a.Buffer.from(e).length):0;return t.plus(n).toString(10)}function ii(t){return k(this,arguments,function*({transactions:e}){let r=Ee(b.getState()),n=yield ni(r),i=oi(n);return e.map(l=>{let{value:p,receiver:d,data:m="",chainID:g,version:y=1,options:f,gasPrice:S=fe,gasLimit:v=vs(l.data)}=l,C=d;try{C=new hr.Address(d).hex()}catch(fi){throw"Invalid Receiver address"}let P=dt(b.getState()).valueOf().toString(),q=g||P;return Le({value:p,receiver:C,data:m,gasPrice:S,gasLimit:Number(v),nonce:Number(i.valueOf().toString()),sender:new hr.Address(r).hex(),chainID:q,version:y,options:f})})})}function ks(m){return k(this,arguments,function*({transactions:e,transactionsDisplayInfo:t,redirectAfterSign:r=!0,callbackRoute:n=window.location.pathname,signWithoutSending:i,completedTransactionsDelay:l,sessionInformation:p,minGasLimit:d}){try{let g=Array.isArray(e)?e:[e],y=g.every(S=>Object.getPrototypeOf(S).toPlainObject!=null),f=g;return y||(f=yield ii({transactions:g,minGasLimit:d})),cr({transactions:f,minGasLimit:d,callbackRoute:n,transactionsDisplayInfo:t,customTransactionInformation:{redirectAfterSign:r,completedTransactionsDelay:l,sessionInformation:p,signWithoutSending:i}})}catch(g){return console.error("error signing transaction",g),{error:g,sessionId:null}}})}o();o();o();o();var Es=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),xe=e=>Es(a.Buffer.from(e,"utf8").toString("base64"));o();var li=w(require("axios"));o();o();o();function ai(e){return k(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}o();var si=(e,t,r,n=0)=>k(void 0,null,function*(){try{return yield e(...r)}catch(i){return n<t.retries?((t==null?void 0:t.delay)!=null&&(yield ai(t.delay)),yield si(e,t,r,n+1)):null}}),ci=(e,t={retries:5,delay:500})=>(...r)=>k(void 0,null,function*(){return yield si(e,t,r)});var Ls=4,Ns=3e4,xt={current:null},ue={current:null},Ds=ci((e,t)=>k(void 0,null,function*(){let{data:r}=yield li.default.get(`${e}/${fr}?from=${Ls}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[n]=r;return n}));function pi(e,t){return k(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(xt.current!=null&&r<xt.current.timestamp*1e3+Ns)return xt.current;if(ue.current!=null)return yield ue.current;ue.current=Ds(e,t);try{let n=yield ue.current;if(n==null)throw ue.current=null,new Error("could not get block hash");return xt.current={hash:n.hash,timestamp:n.timestamp},ue.current=null,n}catch(n){return ue.current=null,null}})}o();function Rs(e){return Object.prototype.toString.call(e)==="[object String]"}var ui=e=>{if(!e||!Rs(e))return null;try{let[t,r,n]=e.split("."),i=he(t),l=he(r),[p,d,m,g]=l.split("."),y=JSON.parse(he(g)),f=he(p),S={ttl:Number(m),address:i,extraInfo:y,host:f,signature:n,blockHash:d,body:l};return g==="e30"&&delete S.extraInfo,S}catch(t){return null}};o();o();Ue();var di=e=>{let t=ui(e);if(!t)return{isExpired:!1};let r=Te(),{ttl:n,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+n,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};o();var mi,De={hostname:typeof window!="undefined"?(mi=window==null?void 0:window.location)==null?void 0:mi.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Sr=e=>{var r,n,i,l,p;return e===!0?De:{hostname:(r=e==null?void 0:e.hostname)!=null?r:De.hostname,blockHashShard:(n=e==null?void 0:e.blockHashShard)!=null?n:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:De.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:De.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:De.tokenExpirationToastWarningSeconds}};o();var gi=({address:e,token:t,signature:r})=>{let n=xe(e),i=xe(t);return`${n}.${i}.${r}`};var Cs=e=>{let{hostname:t,apiAddress:r,expirySeconds:n,blockHashShard:i}=Sr(e);return{getNativeAuthConfig:Sr,initialize:(...m)=>k(void 0,[...m],function*(p={},d){if(!r||!t)return"";let g=d!=null?d:yield pi(r,i),{hash:y,timestamp:f}=g,S=xe(JSON.stringify(x(x({},p),f?{timestamp:f}:{})));return`${xe(t)}.${y}.${n}.${S}`}),getToken:gi,getTokenExpiration:di}};0&&(module.exports={calcTotalFee,isCrossShardTransaction,nativeAuth,removeAllSignedTransactions,removeAllTransactionsToSign,removeSignedTransaction,removeTransactionsToSign,sendTransactions,signTransactions});
1
+ "use strict";var Ti=Object.create;var Se=Object.defineProperty,yi=Object.defineProperties,hi=Object.getOwnPropertyDescriptor,xi=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertyNames,Re=Object.getOwnPropertySymbols,wi=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable;var wr=(e,t,r)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))St.call(t,r)&&wr(e,r,t[r]);if(Re)for(var r of Re(t))br.call(t,r)&&wr(e,r,t[r]);return e},A=(e,t)=>yi(e,xi(t));var Ar=(e,t)=>{var r={};for(var n in e)St.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Re)for(var n of Re(e))t.indexOf(n)<0&&br.call(e,n)&&(r[n]=e[n]);return r};var h=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ce=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var r in t)Se(e,r,{get:t[r],enumerable:!0})},Ir=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Si(t))!St.call(e,i)&&i!==r&&Se(e,i,{get:()=>t[i],enumerable:!(n=hi(t,i))||n.enumerable});return e};var w=(e,t,r)=>(r=e!=null?Ti(wi(e)):{},Ir(t||!e||!e.__esModule?Se(r,"default",{value:e,enumerable:!0}):r,e)),we=e=>Ir(Se({},"__esModule",{value:!0}),e);var k=(e,t,r)=>new Promise((n,i)=>{var l=m=>{try{d(r.next(m))}catch(g){i(g)}},p=m=>{try{d(r.throw(m))}catch(g){i(g)}},d=m=>m.done?n(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var Er=Ce(Pe=>{"use strict";o();Pe.byteLength=Ai;Pe.toByteArray=vi;Pe.fromByteArray=Li;var V=[],F=[],bi=typeof Uint8Array!="undefined"?Uint8Array:Array,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ie=0,vr=wt.length;ie<vr;++ie)V[ie]=wt[ie],F[wt.charCodeAt(ie)]=ie;var ie,vr;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function kr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function Ai(e){var t=kr(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Ii(e,t,r){return(t+r)*3/4-r}function vi(e){var t,r=kr(e),n=r[0],i=r[1],l=new bi(Ii(e,n,i)),p=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)t=F[e.charCodeAt(m)]<<18|F[e.charCodeAt(m+1)]<<12|F[e.charCodeAt(m+2)]<<6|F[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=F[e.charCodeAt(m)]<<2|F[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=F[e.charCodeAt(m)]<<10|F[e.charCodeAt(m+1)]<<4|F[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function ki(e){return V[e>>18&63]+V[e>>12&63]+V[e>>6&63]+V[e&63]}function Ei(e,t,r){for(var n,i=[],l=t;l<r;l+=3)n=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(ki(n));return i.join("")}function Li(e){for(var t,r=e.length,n=r%3,i=[],l=16383,p=0,d=r-n;p<d;p+=l)i.push(Ei(e,p,p+l>d?d:p+l));return n===1?(t=e[r-1],i.push(V[t>>2]+V[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(V[t>>10]+V[t>>4&63]+V[t<<2&63]+"=")),i.join("")}});var Lr=Ce(bt=>{o();bt.read=function(e,t,r,n,i){var l,p,d=i*8-n-1,m=(1<<d)-1,g=m>>1,y=-7,f=r?i-1:0,S=r?-1:1,v=e[t+f];for(f+=S,l=v&(1<<-y)-1,v>>=-y,y+=d;y>0;l=l*256+e[t+f],f+=S,y-=8);for(p=l&(1<<-y)-1,l>>=-y,y+=n;y>0;p=p*256+e[t+f],f+=S,y-=8);if(l===0)l=1-g;else{if(l===m)return p?NaN:(v?-1:1)*(1/0);p=p+Math.pow(2,n),l=l-g}return(v?-1:1)*p*Math.pow(2,l-n)};bt.write=function(e,t,r,n,i,l){var p,d,m,g=l*8-i-1,y=(1<<g)-1,f=y>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:l-1,C=n?1:-1,P=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=y):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+f>=1?t+=S/m:t+=S*Math.pow(2,1-f),t*m>=2&&(p++,m/=2),p+f>=y?(d=0,p=y):p+f>=1?(d=(t*m-1)*Math.pow(2,i),p=p+f):(d=t*Math.pow(2,f-1)*Math.pow(2,i),p=0));i>=8;e[r+v]=d&255,v+=C,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+v]=p&255,v+=C,p/=256,g-=8);e[r+v-C]|=P*128}});var $r=Ce(me=>{"use strict";o();var At=Er(),de=Lr(),Nr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=_i;me.INSPECT_MAX_BYTES=50;var _e=2147483647;me.kMaxLength=_e;u.TYPED_ARRAY_SUPPORT=Ni();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Ni(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function j(e){if(e>_e)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Et(e)}return Cr(e,t,r)}u.poolSize=8192;function Cr(e,t,r){if(typeof e=="string")return Ri(e,t);if(ArrayBuffer.isView(e))return Ci(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return vt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return u.from(n,t,r);var i=Pi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Cr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Di(e,t,r){return Pr(e),e<=0?j(e):t!==void 0?typeof r=="string"?j(e).fill(t,r):j(e).fill(t):j(e)}u.alloc=function(e,t,r){return Di(e,t,r)};function Et(e){return Pr(e),j(e<0?0:Lt(e)|0)}u.allocUnsafe=function(e){return Et(e)};u.allocUnsafeSlow=function(e){return Et(e)};function Ri(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=_r(e,t)|0,n=j(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function It(e){for(var t=e.length<0?0:Lt(e.length)|0,r=j(t),n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Ci(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return vt(t.buffer,t.byteOffset,t.byteLength)}return It(e)}function vt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function Pi(e){if(u.isBuffer(e)){var t=Lt(e.length)|0,r=j(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Nt(e.length)?j(0):It(e);if(e.type==="Buffer"&&Array.isArray(e.data))return It(e.data)}function Lt(e){if(e>=_e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_e.toString(16)+" bytes");return e|0}function _i(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,l=0,p=Math.min(n,i);l<p;++l)if(t[l]!==r[l]){n=t[l],i=r[l];break}return n<i?-1:i<n?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=u.allocUnsafe(r),l=0;for(n=0;n<t.length;++n){var p=t[n];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function _r(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return kt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Vr(e).length;default:if(i)return n?-1:kt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=_r;function Mi(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return qi(this,t,r);case"utf8":case"utf-8":return Or(this,t,r);case"ascii":return Hi(this,t,r);case"latin1":case"binary":return Wi(this,t,r);case"base64":return $i(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ji(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u.prototype._isBuffer=!0;function ae(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ae(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ae(this,r,r+3),ae(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ae(this,r,r+7),ae(this,r+1,r+6),ae(this,r+2,r+5),ae(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Or(this,0,t):Mi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Nr&&(u.prototype[Nr]=u.prototype.inspect);u.prototype.compare=function(t,r,n,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||n>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=n)return 0;if(i>=l)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=n-r,m=Math.min(p,d),g=this.slice(i,l),y=t.slice(r,n),f=0;f<m;++f)if(g[f]!==y[f]){p=g[f],d=y[f];break}return p<d?-1:d<p?1:0};function Mr(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Nt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,n)),u.isBuffer(t))return t.length===0?-1:Dr(e,t,r,n,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Dr(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Dr(e,t,r,n,i){var l=1,p=e.length,d=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(v,C){return l===1?v[C]:v.readUInt16BE(C*l)}var g;if(i){var y=-1;for(g=r;g<p;g++)if(m(e,g)===m(t,y===-1?0:g-y)){if(y===-1&&(y=g),g-y+1===d)return y*l}else y!==-1&&(g-=g-y),y=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var f=!0,S=0;S<d;S++)if(m(e,g+S)!==m(t,S)){f=!1;break}if(f)return g}return-1}u.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};u.prototype.indexOf=function(t,r,n){return Mr(this,t,r,n,!0)};u.prototype.lastIndexOf=function(t,r,n){return Mr(this,t,r,n,!1)};function Oi(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var l=t.length;n>l/2&&(n=l/2);for(var p=0;p<n;++p){var d=parseInt(t.substr(p*2,2),16);if(Nt(d))return p;e[r+p]=d}return p}function Fi(e,t,r,n){return Me(kt(t,e.length-r),e,r,n)}function Bi(e,t,r,n){return Me(Yi(t),e,r,n)}function Ui(e,t,r,n){return Me(Vr(t),e,r,n)}function Vi(e,t,r,n){return Me(Zi(t,e.length-r),e,r,n)}u.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((n===void 0||n>l)&&(n=l),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Oi(this,t,r,n);case"utf8":case"utf-8":return Fi(this,t,r,n);case"ascii":case"latin1":case"binary":return Bi(this,t,r,n);case"base64":return Ui(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vi(this,t,r,n);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $i(e,t,r){return t===0&&r===e.length?At.fromByteArray(e):At.fromByteArray(e.slice(t,r))}function Or(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,g,y,f;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(f=(l&31)<<6|m&63,f>127&&(p=f));break;case 3:m=e[i+1],g=e[i+2],(m&192)===128&&(g&192)===128&&(f=(l&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:m=e[i+1],g=e[i+2],y=e[i+3],(m&192)===128&&(g&192)===128&&(y&192)===128&&(f=(l&15)<<18|(m&63)<<12|(g&63)<<6|y&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|p&1023),n.push(p),i+=d}return Gi(n)}var Rr=4096;function Gi(e){var t=e.length;if(t<=Rr)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Rr));return r}function Hi(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function Wi(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function qi(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",l=t;l<r;++l)i+=Xi[e[l]];return i}function ji(e,t,r){for(var n=e.slice(t,r),i="",l=0;l<n.length-1;l+=2)i+=String.fromCharCode(n[l]+n[l+1]*256);return i}u.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||L(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||L(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),de.read(this,t,!1,52,8)};function D(e,t,r,n,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=1,d=0;for(this[r]=t&255;++d<n&&(p*=256);)this[r+d]=t/p&255;return r+n};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,n=n>>>0,!i){var l=Math.pow(2,8*n)-1;D(this,t,r,n,l,0)}var p=n-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+n};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<n&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+n};u.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*n-1);D(this,t,r,n,l-1,-l)}var p=n-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+n};u.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Fr(e,t,r,n,i,l){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Br(e,t,r,n,i){return t=+t,r=r>>>0,i||Fr(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,n,23,4),r+4}u.prototype.writeFloatLE=function(t,r,n){return Br(this,t,r,!0,n)};u.prototype.writeFloatBE=function(t,r,n){return Br(this,t,r,!1,n)};function Ur(e,t,r,n,i){return t=+t,r=r>>>0,i||Fr(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,n,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,n){return Ur(this,t,r,!0,n)};u.prototype.writeDoubleBE=function(t,r,n){return Ur(this,t,r,!1,n)};u.prototype.copy=function(t,r,n,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var l=i-n;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),l};u.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<n;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<n-r;++p)this[p+r]=d[p%m]}return this};var zi=/[^+/0-9A-Za-z-_]/g;function Ki(e){if(e=e.split("=")[0],e=e.trim().replace(zi,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function kt(e,t){t=t||1/0;for(var r,n=e.length,i=null,l=[],p=0;p<n;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===n){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Yi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Zi(e,t){for(var r,n,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),n=r>>8,i=r%256,l.push(i),l.push(n);return l}function Vr(e){return At.toByteArray(Ki(e))}function Me(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Nt(e){return e!==e}var Xi=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()});var jr=Ce((Bs,qr)=>{o();var E=qr.exports={},G,H;function Dt(){throw new Error("setTimeout has not been defined")}function Rt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?G=setTimeout:G=Dt}catch(e){G=Dt}try{typeof clearTimeout=="function"?H=clearTimeout:H=Rt}catch(e){H=Rt}})();function Gr(e){if(G===setTimeout)return setTimeout(e,0);if((G===Dt||!G)&&setTimeout)return G=setTimeout,setTimeout(e,0);try{return G(e,0)}catch(t){try{return G.call(null,e,0)}catch(r){return G.call(this,e,0)}}}function Ji(e){if(H===clearTimeout)return clearTimeout(e);if((H===Rt||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var z=[],ge=!1,se,Oe=-1;function Qi(){!ge||!se||(ge=!1,se.length?z=se.concat(z):Oe=-1,z.length&&Hr())}function Hr(){if(!ge){var e=Gr(Qi);ge=!0;for(var t=z.length;t;){for(se=z,z=[];++Oe<t;)se&&se[Oe].run();Oe=-1,t=z.length}se=null,ge=!1,Ji(e)}}E.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];z.push(new Wr(e,t)),z.length===1&&!ge&&Gr(Hr)};function Wr(e,t){this.fun=e,this.array=t}Wr.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function K(){}E.on=K;E.addListener=K;E.once=K;E.off=K;E.removeListener=K;E.removeAllListeners=K;E.emit=K;E.prependListener=K;E.prependOnceListener=K;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,s,Us,o=h(()=>{a=w($r()),s=w(jr()),Us=function(e){function t(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var zr=h(()=>{"use strict";o()});var Kr=h(()=>{"use strict";o()});var Yr=h(()=>{"use strict";o()});var Zr=h(()=>{"use strict";o()});var Y=h(()=>{"use strict";o()});var Xr=h(()=>{"use strict";o()});var Jr=h(()=>{"use strict";o()});var R=h(()=>{"use strict";o()});var Qr=h(()=>{"use strict";o()});var en=h(()=>{"use strict";o()});var _=h(()=>{"use strict";o();Kr();Yr();Zr();Y();Xr();Jr();R();Qr();en()});var Ct,tn,oc,rn,ic,nn,ac,sc,cc,on=h(()=>{"use strict";o();_();Ct={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:tn,egldLabel:oc}=Ct["devnet"],{chainId:rn,egldLabel:ic}=Ct["testnet"],{chainId:nn,egldLabel:ac}=Ct["mainnet"],sc={["devnet"]:tn,["testnet"]:rn,["mainnet"]:nn},cc={[tn]:"devnet",[rn]:"testnet",[nn]:"mainnet"}});var Pt=h(()=>{"use strict";o()});var an=h(()=>{"use strict";o()});var sn,_t=h(()=>{"use strict";o();sn="transaction-status-toast-id"});var W,cn=h(()=>{"use strict";o();W=require("@multiversx/sdk-web-wallet-provider")});var ln,Fe,J,fe,pn,Mt,Be,un,Q,I=h(()=>{"use strict";o();zr();on();Pt();an();_t();cn();ln=.01,Fe=1500,J=5e4,fe=1e9,pn=1,Mt=4294967295,Be="logout",un="login",Q="0"});var Te,Ue=h(()=>{"use strict";o();Te=()=>Date.now()/1e3});var dn=h(()=>{"use strict";o()});var mn=h(()=>{"use strict";o()});var gn=h(()=>{"use strict";o();Ue();dn();mn()});var Ft={};oe(Ft,{getItem:()=>ta,localStorageKeys:()=>ce,removeItem:()=>ra,setItem:()=>ea});var ce,Ot,ea,ta,ra,be=h(()=>{"use strict";o();gn();ce={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ot=typeof localStorage!="undefined",ea=({key:e,data:t,expires:r})=>{!Ot||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ta=e=>{if(!Ot)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Te()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ra=e=>{!Ot||localStorage.removeItem(String(e))}});var Bt={};oe(Bt,{clear:()=>hn,getItem:()=>Tn,removeItem:()=>yn,setItem:()=>fn,storage:()=>na});var fn,Tn,yn,hn,na,xn=h(()=>{"use strict";o();fn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Tn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},yn=e=>sessionStorage.removeItem(String(e)),hn=()=>sessionStorage.clear(),na={setItem:fn,getItem:Tn,removeItem:yn,clear:hn}});var ye,Ve=h(()=>{"use strict";o();be();xn();ye={session:Bt,local:Ft}});var Ut,N,$e,Z=h(()=>{"use strict";o();Ut=require("@reduxjs/toolkit");I();N=(0,Ut.createAction)(Be),$e=(0,Ut.createAction)(un,e=>({payload:e}))});var $t,Sn,wn,Ge,Vt,bn,An,Bc,In,Uc,Vc,$c,Gc,Hc,Wc,qc,He,We=h(()=>{"use strict";o();$t=require("@multiversx/sdk-core"),Sn=require("@reduxjs/toolkit"),wn=require("redux-persist");I();Ve();be();Z();Ge={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Q},Vt={address:"",websocketEvent:null,accounts:{"":Ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},bn=(0,Sn.createSlice)({name:"accountInfoSlice",initialState:Vt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new $t.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ge},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(N,()=>(ye.local.removeItem(ce.loginExpiresAt),Vt)),e.addCase($e,(t,r)=>{let{address:n}=r.payload;t.address=n,t.publicKey=new $t.Address(n).hex()}),e.addCase(wn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:n}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=n;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:Vt.accounts,t.publicKey=d})}}),{setAccount:An,setAddress:Bc,setAccountNonce:In,setAccountShard:Uc,setLedgerAccount:Vc,updateLedgerAccount:$c,setWalletConnectAccount:Gc,setIsAccountLoading:Hc,setAccountLoadingError:Wc,setWebsocketEvent:qc}=bn.actions,He=bn.reducer});function Ae(){return new Date().setHours(new Date().getHours()+24)}function Ie(e){ye.local.setItem({key:ce.loginExpiresAt,data:e,expires:e})}var Gt=h(()=>{"use strict";o();Ve();be()});var kn,vn,En,tl,rl,nl,ol,il,al,Ln,sl,qe,je=h(()=>{"use strict";o();kn=require("@reduxjs/toolkit");Gt();Y();Z();vn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},En=(0,kn.createSlice)({name:"loginInfoSlice",initialState:vn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(N,()=>vn),e.addCase($e,(t,r)=>{t.loginMethod=r.payload.loginMethod,Ie(Ae())})}}),{setLoginMethod:tl,setWalletConnectLogin:rl,setLedgerLogin:nl,setTokenLogin:ol,setTokenLoginSignature:il,setWalletLogin:al,invalidateLoginSession:Ln,setLogoutRoute:sl}=En.actions,qe=En.reducer});var Dn,Nn,Rn,ul,Ht,dl,ml,ze,Ke=h(()=>{"use strict";o();Dn=require("@reduxjs/toolkit");Z();Nn={},Rn=(0,Dn.createSlice)({name:"modalsSlice",initialState:Nn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(N,()=>Nn)}}),{setTxSubmittedModal:ul,setNotificationModal:Ht,clearTxSubmittedModal:dl,clearNotificationModal:ml}=Rn.actions,ze=Rn.reducer});var Cn=h(()=>{"use strict";o()});var Pn=h(()=>{"use strict";o();Cn()});function Wt(e){return e[Math.floor(Math.random()*e.length)]}var _n=h(()=>{"use strict";o()});var Mn=h(()=>{"use strict";o();Pt()});var On=h(()=>{"use strict";o();Pn();_n();Mn()});var Fn,Bn,qt,ia,Un,Nl,Dl,Ye,Ze=h(()=>{"use strict";o();Fn=require("@reduxjs/toolkit"),Bn=w(require("lodash.omit"));On();qt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ia={network:qt,chainID:"-1"},Un=(0,Fn.createSlice)({name:"appConfig",initialState:ia,reducers:{initializeNetworkConfig:(e,t)=>{let r=Wt(t.payload.walletConnectBridgeAddresses),n=Wt(t.payload.walletConnectV2RelayAddresses),i=(0,Bn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:n})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Nl,setChainID:Dl}=Un.actions,Ye=Un.reducer});var Vn,jt,$n,Ol,Fl,Bl,Xe,Je=h(()=>{"use strict";o();Vn=require("@reduxjs/toolkit");_();Z();jt={isSigning:!1,signedSessions:{}},$n=(0,Vn.createSlice)({name:"signedMessageInfoSliceState",initialState:jt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:n,errorMessage:i}=t.payload;return A(x({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:n.status==="pending",signedSessions:A(x({},e.signedSessions),{[r]:n})})},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>jt},extraReducers:e=>{e.addCase(N,()=>jt)}}),{setSignSession:Ol,clearSignedMessageInfo:Fl,setSignSessionState:Bl}=$n.actions,Xe=$n.reducer});var Hn,Wn,Gn,qn,jl,zl,Kl,Yl,Zl,Xl,Qe,et=h(()=>{"use strict";o();Hn=require("@reduxjs/toolkit"),Wn=require("redux-persist");_t();_();Ue();Z();Gn={customToasts:[],transactionToasts:[],failTransactionToast:null},qn=(0,Hn.createSlice)({name:"toastsSlice",initialState:Gn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Te(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=A(x({},t.payload),{toastId:sn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(N,()=>Gn),e.addCase(Wn.REHYDRATE,(t,r)=>{var i,l;let n=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=n})}}),{addCustomToast:jl,removeCustomToast:zl,addTransactionToast:Kl,removeTransactionToast:Yl,addFailTransactionToast:Zl,removeFailTransactionToast:Xl}=qn.actions,Qe=qn.reducer});var jn,Kt,Yt,Zt,aa,zt,zn,tp,Kn,rp,tt,rt=h(()=>{"use strict";o();jn=require("@reduxjs/toolkit");Z();Kt="Transaction failed",Yt="Transaction successful",Zt="Processing transaction",aa="Transaction submitted",zt={},zn=(0,jn.createSlice)({name:"transactionsInfo",initialState:zt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:n}=t.payload;r!=null&&(e[r]={errorMessage:(n==null?void 0:n.errorMessage)||Kt,successMessage:(n==null?void 0:n.successMessage)||Yt,processingMessage:(n==null?void 0:n.processingMessage)||Zt,submittedMessage:(n==null?void 0:n.submittedMessage)||aa,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>zt},extraReducers:e=>{e.addCase(N,()=>zt)}}),{clearTransactionsInfo:tp,setTransactionsDisplayInfo:Kn,clearTransactionsInfoForSessionId:rp}=zn.actions,tt=zn.reducer});function Yn(e){return e!=null&&(fa(e)||xa(e))}function nt(e){return e!=null&&(Ta(e)||Sa(e))}function ot(e){return e!=null&&(ya(e)||wa(e))}function Zn(e){return e!=null&&ha(e)}function fa(e){return e!=null&&ca.includes(e)}function Ta(e){return e!=null&&la.includes(e)}function ya(e){return e!=null&&pa.includes(e)}function ha(e){return e!=null&&ua.includes(e)}function xa(e){return e!=null&&da.includes(e)}function Sa(e){return e!=null&&ma.includes(e)}function wa(e){return e!=null&&ga.includes(e)}var ca,la,pa,ua,da,ma,ga,Jt=h(()=>{"use strict";o();Y();ca=["sent"],la=["success"],pa=["fail","cancelled","timedOut"],ua=["timedOut"],da=["pending"],ma=["success"],ga=["fail","invalid"]});var Xn,Jn,ve,ba,Qn,up,dp,eo,to,ro,Qt,mp,gp,no,fp,it,at=h(()=>{"use strict";o();Xn=require("@reduxjs/toolkit"),Jn=require("redux-persist");Y();Jt();Z();ve={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ba={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Qn=(0,Xn.createSlice)({name:"transactionsSlice",initialState:ve,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,g;let{sessionId:r,transactions:n,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((m=e.customTransactionInformationForSessionId)==null?void 0:m[r])||ba;e.signedTransactions[r]={transactions:n,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=ve.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=x(x({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:n,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=n,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,m,g,y,f,S;let{sessionId:r,status:n,errorMessage:i,transactionHash:l}=t.payload,p=(m=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:m.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(P=>P.hash===l?A(x({},P),{status:n,errorMessage:i}):P);let v=(y=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:y.every(P=>nt(P.status)),C=(S=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:S.every(P=>ot(P.status));v&&(e.signedTransactions[r].status="success"),C&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:n}=t.payload;e.customTransactionInformationForSessionId[r]=n,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ve.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ve.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(N,()=>ve),e.addCase(Jn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(n).reduce((d,[m,g])=>{let y=new Date(m),f=new Date;return f.setHours(f.getHours()+5),f-y>0||(d[m]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),n!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:up,updateSignedTransactions:dp,setTransactionsToSign:eo,clearAllTransactionsToSign:to,clearAllSignedTransactions:ro,clearSignedTransaction:Qt,clearTransactionToSign:mp,setSignTransactionsError:gp,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:fp}=Qn.actions,it=Qn.reducer});var ee=h(()=>{"use strict";o();We();je();Ke();Ze();Je();et();rt();at()});var er=h(()=>{"use strict";o()});var co,so,lo,Up,Vp,$p,Gp,Hp,Wp,po,uo=h(()=>{"use strict";o();co=require("@reduxjs/toolkit");Z();so={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},lo=(0,co.createSlice)({name:"dappModalsSlice",initialState:so,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(N,()=>so)}}),{setDappModalVisibility:Up,setDappModalHeaderVisibility:Vp,setDappModalFooterVisibility:$p,setDappModalHeaderText:Gp,setDappModalFooterText:Hp,setDappModalConfig:Wp}=lo.actions,po=lo.reducer});var mo,ka,Ea,le,ut=h(()=>{"use strict";o();mo=require("@reduxjs/toolkit");er();We();uo();je();Ke();Ze();Je();et();rt();at();ka={["account"]:He,["dappModal"]:po,["loginInfo"]:qe,["modals"]:ze,["networkConfig"]:Ye,["signedMessageInfo"]:Xe,["toasts"]:Qe,["transactionsInfo"]:tt,["transactions"]:it},Ea=(e={})=>(0,mo.combineReducers)(x(x({},ka),e)),le=Ea});var yo={};oe(yo,{default:()=>Ga,sessionStorageReducers:()=>tr});function te(e,t=[]){return{key:e,version:1,storage:fo.default,blacklist:t}}var M,go,fo,La,ke,Na,Da,Ra,Ca,Pa,_a,Ma,Oa,Fa,To,Ba,tr,Ua,Va,$a,Ga,ho=h(()=>{"use strict";o();M=require("redux-persist"),go=w(require("redux-persist/lib/storage")),fo=w(require("redux-persist/lib/storage/session"));ut();ee();We();je();Ke();Ze();Je();et();rt();at();er();La={persistReducersStorageType:"localStorage"},ke={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Na=te(ke["account"]),Da=te(ke["loginInfo"]),Ra=te(ke["modals"]),Ca=te(ke["networkConfig"]),Pa={2:e=>A(x({},e),{networkConfig:qt})};_a=te("sdk-dapp-transactionsInfo"),Ma=te("sdk-dapp-transactions",["transactionsToSign"]),Oa=te("sdk-dapp-toasts"),Fa=te("sdk-dapp-signedMessageInfo"),To={key:"sdk-dapp-store",version:2,storage:go.default,whitelist:Object.keys(ke),migrate:(0,M.createMigrate)(Pa,{debug:!1})},Ba=A(x({},To),{whitelist:[]}),tr={["toasts"]:(0,M.persistReducer)(Oa,Qe),["transactions"]:(0,M.persistReducer)(Ma,it),["transactionsInfo"]:(0,M.persistReducer)(_a,tt),["signedMessageInfo"]:(0,M.persistReducer)(Fa,Xe)},Ua=A(x({},tr),{["account"]:(0,M.persistReducer)(Na,He),["loginInfo"]:(0,M.persistReducer)(Da,qe),["modals"]:(0,M.persistReducer)(Ra,ze),["networkConfig"]:(0,M.persistReducer)(Ca,Ye)}),Va=La.persistReducersStorageType==="localStorage",$a=Va?(0,M.persistReducer)(To,le(tr)):(0,M.persistReducer)(Ba,le(Ua)),Ga=$a});var xo={};oe(xo,{default:()=>Ha});var Ha,So=h(()=>{"use strict";o();ut();Ha=le()});var wo={};oe(wo,{default:()=>qa});var B,Wa,qa,bo=h(()=>{"use strict";o();B=require("redux-persist"),Wa=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],qa=Wa});var vo={};oe(vo,{default:()=>Io});function Io(e){return(0,Ao.persistStore)(e)}var Ao,ko=h(()=>{"use strict";o();Ao=require("redux-persist")});var Ps={};oe(Ps,{calcTotalFee:()=>sr,isCrossShardTransaction:()=>jo,nativeAuth:()=>Cs,removeAllSignedTransactions:()=>Ka,removeAllTransactionsToSign:()=>Ya,removeSignedTransaction:()=>za,removeTransactionsToSign:()=>ja,sendTransactions:()=>ks,signTransactions:()=>cr});module.exports=we(Ps);o();o();o();ee();o();var rr=require("@reduxjs/toolkit"),Do=require("react-redux/lib/utils/Subscription");ee();o();var io=w(require("lodash.throttle"));I();o();var oo=w(require("lodash.isequal")),st=require("reselect");_();var T=(0,st.createSelectorCreator)(st.defaultMemoize,oo.default),ct=(e,t)=>e!=""&&Boolean(t);ee();Gt();Ve();be();var Aa=[Be],lt=!1,Ia=(0,io.default)(()=>{Ie(Ae())},5e3),ao=e=>t=>r=>{var m;if(Aa.includes(r.type))return t(r);let n=e.getState(),i=ye.local.getItem(ce.loginExpiresAt);if(!ct((m=n==null?void 0:n.loginInfo)==null?void 0:m.loginMethod,n==null?void 0:n.account.address))return t(r);if(i==null)return Ie(Ae());let p=Date.now();return i-p<0&&!lt?setTimeout(()=>{lt=!0,e.dispatch(Ln())},1e3):(lt&&(lt=!1),Ia()),t(r)};o();o();function pt(){return typeof sessionStorage!="undefined"}var Eo=pt()?(ho(),we(yo)).default:(So(),we(xo)).default,Lo=pt()?(bo(),we(wo)).default:[],No=pt()?(ko(),we(vo)).default:e=>e;ut();var b=(0,rr.configureStore)({reducer:Eo,middleware:e=>e({serializableCheck:{ignoredActions:[...Lo,In.type,An.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ao)}),wu=(0,Do.createSubscription)(b),bu=No(b),Au=(0,rr.configureStore)({reducer:le});function ja(e){b.dispatch(Qt(e))}function za(e){b.dispatch(Qt(e))}function Ka(){b.dispatch(ro())}function Ya(){b.dispatch(to())}o();o();var Vo=w(require("bignumber.js"));I();o();ee();var X=e=>e.account,Ee=T(X,e=>e.address),nr=T(X,Ee,(e,t)=>t in e.accounts?e.accounts[t]:Ge),Du=T(X,nr,(e,t)=>{let i=e,{accounts:r}=i,n=Ar(i,["accounts"]);return A(x({},n),{account:t})}),Ro=T(nr,e=>e.balance),Co=T(nr,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Ru=T(X,e=>e.shard),Cu=T(X,e=>e.ledgerAccount),Pu=T(X,e=>e.walletConnectAccount),_u=T(X,e=>e.isAccountLoading),Mu=T(X,e=>e.accountLoadingError),Ou=T(X,e=>e.websocketEvent);o();var pe=e=>e.networkConfig,dt=T(pe,e=>e.chainID),Uu=T(pe,e=>e.network.walletConnectBridgeAddress),Vu=T(pe,e=>e.network.walletConnectV2RelayAddress),$u=T(pe,e=>e.network.walletConnectV2ProjectId),Gu=T(pe,e=>e.network.walletConnectV2Options),Hu=T(pe,e=>e.network.walletConnectDeepLink),or=T(pe,e=>e.network),Po=T(or,e=>e.apiAddress),_o=T(or,e=>e.explorerAddress),Wu=T(or,e=>e.egldLabel);ee();_();o();var Mo=w(require("bignumber.js"));I();var mt=e=>{if(isNaN(e)||e==null||String(e).includes("Infinity"))return!1;let[t,r]=e.split(".");if(r)for(;r.charAt(r.length-1)===Q;)r=r.slice(0,-1);let n=r?[t,r].join("."):t,i=new Mo.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};o();var ar=w(require("bignumber.js"));I();o();var U=require("@multiversx/sdk-core"),Bo=require("@multiversx/sdk-network-providers");I();o();o();var Oo=w(require("bignumber.js")),ir=(e,t=!0)=>{let r=String(e);if(!r.match(/^[-]?\d+$/))return!1;let n=new Oo.default(r),i=t?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};o();I();o();var Fo={from:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",to:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa"};function Uo({minGasLimit:e=String(J),gasLimit:t,gasPrice:r,data:n,gasPerDataByte:i,gasPriceModifier:l,defaultGasPrice:p=String(fe),chainId:d}){let m=n||"",g=ir(t)?t:e,y=mt(r)?r:p,f=new U.Transaction({nonce:0,value:U.TokenPayment.egldFromAmount("0"),receiver:new U.Address(Fo.to),sender:new U.Address(Fo.to),gasPrice:parseInt(y),gasLimit:parseInt(g),data:new U.TransactionPayload(m.trim()),chainID:d,version:new U.TransactionVersion(1)}),S=new Bo.NetworkConfig;S.MinGasLimit=parseInt(e),S.GasPerDataByte=parseInt(i),S.GasPriceModifier=parseFloat(l);try{return f.computeFee(S).toString(10)}catch(v){return Q}}function sr(e,t){let r=new ar.default(0);return e.forEach(n=>{let i=Uo({gasPerDataByte:String(Fe),gasPriceModifier:String(ln),minGasLimit:String(t),gasLimit:n.getGasLimit().valueOf().toString(),gasPrice:n.getGasPrice().valueOf().toString(),data:n.getData().toString(),chainId:n.getChainID().valueOf()});r=r.plus(new ar.default(i))}),r}function cr(l){return k(this,arguments,function*({transactions:e,callbackRoute:t,minGasLimit:r=J,customTransactionInformation:n,transactionsDisplayInfo:i}){let p=b.getState(),d=Date.now().toString(),m=Ro(p),g=dt(p),y=Array.isArray(e)?e:[e],f=sr(y,r);if(!new Vo.default(mt(m)?m:"0").minus(f).isGreaterThan(0)){let q={type:"warning",iconClassName:"text-warning",title:"Insufficient EGLD funds",description:"Current EGLD balance cannot cover the transaction fees."};return b.dispatch(Ht(q)),{error:"insufficient funds",sessionId:null}}if(!(y==null?void 0:y.every(q=>q.getChainID().valueOf()===g.valueOf()))){let q={type:"warning",iconClassName:"text-warning",title:"Network change detected",description:"The application tried to change the transaction network"};return b.dispatch(Ht(q)),{error:"Invalid ChainID",sessionId:null}}let P={sessionId:d,callbackRoute:t,customTransactionInformation:n,transactions:y.map(q=>q.toPlainObject())};return b.dispatch(no(null)),b.dispatch(eo(P)),b.dispatch(Kn({sessionId:d,transactionsDisplayInfo:i})),{sessionId:d}})}o();var hr=require("@multiversx/sdk-core"),xr=w(require("bignumber.js"));I();o();var O=require("@multiversx/sdk-core");I();o();function lr(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function he(e){return atob(e)}function Le(e){var i,l,p;let{data:t}=e,r=lr(t!=null?t:"")?O.TransactionPayload.fromEncoded(t):new O.TransactionPayload(t),n=new O.Transaction(x({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new O.Address(e.receiver),sender:new O.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:J,gasPrice:(l=e.gasPrice.valueOf())!=null?l:fe,chainID:e.chainID.valueOf(),version:new O.TransactionVersion((p=e.version)!=null?p:pn)},e.options?{options:new O.TransactionOptions(e.options)}:{}));return n.applySignature({hex:()=>e.signature||""},new O.Address(e.sender)),n}o();o();var ne=e=>e.loginInfo,Ed=T(ne,e=>e.loginMethod),Ld=T(ne,Ee,(e,t)=>ct(e.loginMethod,t)),Nd=T(ne,e=>e.walletConnectLogin),Dd=T(ne,e=>e.ledgerLogin),Rd=T(ne,e=>e.walletLogin),Cd=T(ne,e=>e.isLoginSessionInvalid),Pd=T(ne,e=>e.tokenLogin),_d=T(ne,e=>e.logoutRoute);o();var $o=e=>e.modals,Fd=T($o,e=>e.txSubmittedModal),Bd=T($o,e=>e.notificationModal);o();var pr=e=>e.signedMessageInfo,$d=T(pr,e=>e.isSigning),Gd=T(pr,e=>e.errorMessage),Hd=T(pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});o();var ur=e=>e.toasts,jd=T(ur,e=>e.customToasts),zd=T(ur,e=>e.transactionToasts),Kd=T(ur,e=>e.failTransactionToast);o();ee();var Go={errorMessage:Kt,successMessage:Yt,processingMessage:Zt},Za=e=>e.transactionsInfo,Jd=T(Za,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Go);o();o();Jt();o();var Ja=w(require("bignumber.js"));_();o();o();o();o();var es=require("@multiversx/sdk-core"),ts=w(require("bignumber.js"));Y();o();var Qa=require("@multiversx/sdk-core");o();o();o();var mr=require("@multiversx/sdk-core/out");o();I();var rs=e=>{let t=a.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(e.slice(0,t.length).equals(t))return!0;let n=a.Buffer.alloc(32).fill(0);return e.equals(n)},dr=e=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=a.Buffer.from(e,"hex"),l=i[31];if(rs(i))return Mt;let p=l&r;return p>3-1&&(p=l&n),p}catch(t){return-1}};function jo({receiverAddress:e,senderShard:t,senderAddress:r}){try{let n=new mr.Address(e),i=dr(n.pubkey());if(t==null&&r!=null){let l=new mr.Address(r);return dr(l)===i}return i===t}catch(n){return!1}}o();var zo=require("@multiversx/sdk-core");_();o();o();o();o();Y();o();o();o();o();o();o();o();var gr="accounts";var fr="blocks";o();o();o();o();R();o();o();R();o();o();o();var as=w(require("bignumber.js"));I();o();var is=require("@multiversx/sdk-core"),Tr=w(require("bignumber.js"));I();o();Tr.default.config({ROUNDING_MODE:Tr.default.ROUND_FLOOR});o();o();o();I();o();o();o();o();I();o();I();o();var ss=require("@multiversx/sdk-core");I();o();o();o();o();I();o();R();var ls=["reDelegateRewards","claimRewards","unBond"],ps=["wrapEgld","unwrapEgld"],us=["unStake"],ds=["unDelegate"];o();o();o();I();o();var fs=w(require("bignumber.js"));o();o();o();o();R();o();var Ts=w(require("bignumber.js"));o();o();o();o();R();o();o();o();var hs=w(require("linkifyjs"));o();I();o();var xs=w(require("bignumber.js"));o();_();o();o();Y();o();Y();o();o();o();R();o();R();o();var Ss=w(require("bignumber.js"));I();R();o();R();o();var Jo=require("react");_();o();o();R();o();o();var ws=require("@multiversx/sdk-core/out"),bs=w(require("bignumber.js"));R();o();_();o();o();_();var fh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];o();var Qo=require("react");_();o();var Is=require("react");R();var bh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var yt=e=>e.transactions,Ne=T(yt,e=>e.signedTransactions),ax=T(yt,e=>e.signTransactionsError),sx=T(yt,e=>e.signTransactionsCancelMessage),ht=e=>t=>Object.entries(t).reduce((r,[n,i])=>(e(i.status)&&(r[n]=i),r),{}),cx=T(Ne,ht(Yn)),lx=T(Ne,ht(nt)),px=T(Ne,ht(ot)),ux=T(Ne,ht(Zn)),dx=T(yt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Le(r)))||[]})}),mx=T(Ne,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});o();o();var ti=w(require("axios"));o();o();var ei=e=>{let t=e!=null?e:Po(b.getState());return t.endsWith("/")?t.slice(0,-1):t};function ri(e){return k(this,null,function*(){if(!e)return null;let r=`${ei()}/${gr}/${e}`;try{let{data:n}=yield ti.default.get(r);return n}catch(n){console.error("error fetching configuration for ",r)}return null})}function ni(e){return k(this,null,function*(){return yield ri(e)})}o();function oi(e){let t=b.getState(),r=Co(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}function vs(e){let t=new xr.default(J),r=new xr.default(Fe),n=e?r.times(a.Buffer.from(e).length):0;return t.plus(n).toString(10)}function ii(t){return k(this,arguments,function*({transactions:e}){let r=Ee(b.getState()),n=yield ni(r),i=oi(n);return e.map(l=>{let{value:p,receiver:d,data:m="",chainID:g,version:y=1,options:f,gasPrice:S=fe,gasLimit:v=vs(l.data)}=l,C=d;try{C=new hr.Address(d).hex()}catch(fi){throw"Invalid Receiver address"}let P=dt(b.getState()).valueOf().toString(),q=g||P;return Le({value:p,receiver:C,data:m,gasPrice:S,gasLimit:Number(v),nonce:Number(i.valueOf().toString()),sender:new hr.Address(r).hex(),chainID:q,version:y,options:f})})})}function ks(m){return k(this,arguments,function*({transactions:e,transactionsDisplayInfo:t,redirectAfterSign:r=!0,callbackRoute:n=window.location.pathname,signWithoutSending:i,completedTransactionsDelay:l,sessionInformation:p,minGasLimit:d}){try{let g=Array.isArray(e)?e:[e],y=g.every(S=>Object.getPrototypeOf(S).toPlainObject!=null),f=g;return y||(f=yield ii({transactions:g,minGasLimit:d})),cr({transactions:f,minGasLimit:d,callbackRoute:n,transactionsDisplayInfo:t,customTransactionInformation:{redirectAfterSign:r,completedTransactionsDelay:l,sessionInformation:p,signWithoutSending:i}})}catch(g){return console.error("error signing transaction",g),{error:g,sessionId:null}}})}o();o();o();o();var Es=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),xe=e=>Es(a.Buffer.from(e,"utf8").toString("base64"));o();var li=w(require("axios"));o();o();o();function ai(e){return k(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}o();var si=(e,t,r,n=0)=>k(void 0,null,function*(){try{return yield e(...r)}catch(i){return n<t.retries?((t==null?void 0:t.delay)!=null&&(yield ai(t.delay)),yield si(e,t,r,n+1)):null}}),ci=(e,t={retries:5,delay:500})=>(...r)=>k(void 0,null,function*(){return yield si(e,t,r)});var Ls=4,Ns=3e4,xt={current:null},ue={current:null},Ds=ci((e,t)=>k(void 0,null,function*(){let{data:r}=yield li.default.get(`${e}/${fr}?from=${Ls}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[n]=r;return n}));function pi(e,t){return k(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(xt.current!=null&&r<xt.current.timestamp*1e3+Ns)return xt.current;if(ue.current!=null)return yield ue.current;ue.current=Ds(e,t);try{let n=yield ue.current;if(n==null)throw ue.current=null,new Error("could not get block hash");return xt.current={hash:n.hash,timestamp:n.timestamp},ue.current=null,n}catch(n){return ue.current=null,null}})}o();function Rs(e){return Object.prototype.toString.call(e)==="[object String]"}var ui=e=>{if(!e||!Rs(e))return null;try{let[t,r,n]=e.split("."),i=he(t),l=he(r),[p,d,m,g]=l.split("."),y=JSON.parse(he(g)),f=he(p),S={ttl:Number(m),address:i,extraInfo:y,origin:f,signature:n,blockHash:d,body:l};return g==="e30"&&delete S.extraInfo,S}catch(t){return null}};o();o();Ue();var di=e=>{let t=ui(e);if(!t)return{isExpired:!1};let r=Te(),{ttl:n,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+n,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};o();var mi,De={origin:typeof window!="undefined"?(mi=window==null?void 0:window.location)==null?void 0:mi.origin:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Sr=e=>{var r,n,i,l,p;return e===!0?De:{origin:(r=e==null?void 0:e.origin)!=null?r:De.origin,blockHashShard:(n=e==null?void 0:e.blockHashShard)!=null?n:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:De.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:De.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:De.tokenExpirationToastWarningSeconds}};o();var gi=({address:e,token:t,signature:r})=>{let n=xe(e),i=xe(t);return`${n}.${i}.${r}`};var Cs=e=>{let{origin:t,apiAddress:r,expirySeconds:n,blockHashShard:i}=Sr(e);return{getNativeAuthConfig:Sr,initialize:(...m)=>k(void 0,[...m],function*(p={},d){if(!r||!t)return"";let g=d!=null?d:yield pi(r,i),{hash:y,timestamp:f}=g,S=xe(JSON.stringify(x(x({},p),f?{timestamp:f}:{})));return`${xe(t)}.${y}.${n}.${S}`}),getToken:gi,getTokenExpiration:di}};0&&(module.exports={calcTotalFee,isCrossShardTransaction,nativeAuth,removeAllSignedTransactions,removeAllTransactionsToSign,removeSignedTransaction,removeTransactionsToSign,sendTransactions,signTransactions});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Ir=Object.create;var W=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Rr=(e,r)=>()=>(e&&(r=e(e=0)),r);var H=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),_r=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},tr=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Cr(r))!Lr.call(e,i)&&i!==t&&W(e,i,{get:()=>r[i],enumerable:!(n=Tr(r,i))||n.enumerable});return e};var er=(e,r,t)=>(t=e!=null?Ir(Sr(e)):{},tr(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),br=e=>tr(W({},"__esModule",{value:!0}),e);var or=H(Y=>{"use strict";l();Y.byteLength=kr;Y.toByteArray=Nr;Y.fromByteArray=Yr;var F=[],g=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,nr=J.length;L<nr;++L)F[L]=J[L],g[J.charCodeAt(L)]=L;var L,nr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function kr(e){var r=ir(e),t=r[0],n=r[1];return(t+n)*3/4-n}function Dr(e,r,t){return(r+t)*3/4-t}function Nr(e){var r,t=ir(e),n=t[0],i=t[1],o=new Mr(Dr(e,n,i)),u=0,f=i>0?n-4:n,h;for(h=0;h<f;h+=4)r=g[e.charCodeAt(h)]<<18|g[e.charCodeAt(h+1)]<<12|g[e.charCodeAt(h+2)]<<6|g[e.charCodeAt(h+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=g[e.charCodeAt(h)]<<2|g[e.charCodeAt(h+1)]>>4,o[u++]=r&255),i===1&&(r=g[e.charCodeAt(h)]<<10|g[e.charCodeAt(h+1)]<<4|g[e.charCodeAt(h+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Wr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function Hr(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(Wr(n));return i.join("")}function Yr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,f=t-n;u<f;u+=o)i.push(Hr(e,u,u+o>f?f:u+o));return n===1?(r=e[t-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var ur=H(O=>{l();O.read=function(e,r,t,n,i){var o,u,f=i*8-n-1,h=(1<<f)-1,c=h>>1,s=-7,p=t?i-1:0,x=t?-1:1,E=e[r+p];for(p+=x,o=E&(1<<-s)-1,E>>=-s,s+=f;s>0;o=o*256+e[r+p],p+=x,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+e[r+p],p+=x,s-=8);if(o===0)o=1-c;else{if(o===h)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(E?-1:1)*u*Math.pow(2,o-n)};O.write=function(e,r,t,n,i,o){var u,f,h,c=o*8-i-1,s=(1<<c)-1,p=s>>1,x=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,b=n?1:-1,Ur=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=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+p>=1?r+=x/h:r+=x*Math.pow(2,1-p),r*h>=2&&(u++,h/=2),u+p>=s?(f=0,u=s):u+p>=1?(f=(r*h-1)*Math.pow(2,i),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;e[t+E]=f&255,E+=b,f/=256,i-=8);for(u=u<<i|f,c+=i;c>0;e[t+E]=u&255,E+=b,u/=256,c-=8);e[t+E-b]|=Ur*128}});var gr=H(k=>{"use strict";l();var z=or(),M=ur(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=zr;k.INSPECT_MAX_BYTES=50;var q=2147483647;k.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=qr();!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 qr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){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 T(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(e)}return pr(e,r,t)}a.poolSize=8192;function pr(e,r,t){if(typeof e=="string")return Gr(e,r);if(ArrayBuffer.isView(e))return Jr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(v(e,ArrayBuffer)||e&&v(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(e,SharedArrayBuffer)||e&&v(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=Or(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return pr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function cr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Xr(e,r,t){return cr(e),e<=0?T(e):r!==void 0?typeof t=="string"?T(e).fill(r,t):T(e).fill(r):T(e)}a.alloc=function(e,r,t){return Xr(e,r,t)};function Z(e){return cr(e),T(e<0?0:$(e)|0)}a.allocUnsafe=function(e){return Z(e)};a.allocUnsafeSlow=function(e){return Z(e)};function Gr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=sr(e,r)|0,n=T(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function Q(e){for(var r=e.length<0?0:$(e.length)|0,t=T(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Jr(e){if(v(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function Or(e){if(a.isBuffer(e)){var r=$(e.length)|0,t=T(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||P(e.length)?T(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function $(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function zr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),v(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[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,t){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(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(v(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 sr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||v(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Er(e).length;default:if(i)return n?-1:K(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=sr;function Qr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return nt(this,r,t);case"utf8":case"utf-8":return yr(this,r,t);case"ascii":return tt(this,r,t);case"latin1":case"binary":return et(this,r,t);case"base64":return jr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function R(e,r,t){var n=e[r];e[r]=e[t],e[t]=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 t=0;t<r;t+=2)R(this,t,t+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 t=0;t<r;t+=4)R(this,t,t+3),R(this,t+1,t+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 t=0;t<r;t+=8)R(this,t,t+7),R(this,t+1,t+6),R(this,t+2,t+5),R(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):Qr.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="",t=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ar&&(a.prototype[ar]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(v(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(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.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===r)return 0;for(var u=o-i,f=n-t,h=Math.min(u,f),c=this.slice(i,o),s=r.slice(t,n),p=0;p<h;++p)if(c[p]!==s[p]){u=c[p],f=s[p];break}return u<f?-1:f<u?1:0};function lr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,P(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:fr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):fr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(e,r,t,n,i){var o=1,u=e.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function h(E,b){return o===1?E[b]:E.readUInt16BE(b*o)}var c;if(i){var s=-1;for(c=t;c<u;c++)if(h(e,c)===h(r,s===-1?0:c-s)){if(s===-1&&(s=c),c-s+1===f)return s*o}else s!==-1&&(c-=c-s),s=-1}else for(t+f>u&&(t=u-f),c=t;c>=0;c--){for(var p=!0,x=0;x<f;x++)if(h(e,c+x)!==h(r,x)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return lr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return lr(this,r,t,n,!1)};function Vr(e,r,t,n){t=Number(t)||0;var i=e.length-t;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(P(f))return u;e[t+u]=f}return u}function Kr(e,r,t,n){return X(K(r,e.length-t),e,t,n)}function Zr(e,r,t,n){return X(at(r),e,t,n)}function $r(e,r,t,n){return X(Er(r),e,t,n)}function Pr(e,r,t,n){return X(ft(r,e.length-t),e,t,n)}a.prototype.write=function(r,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),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return Vr(this,r,t,n);case"utf8":case"utf-8":return Kr(this,r,t,n);case"ascii":case"latin1":case"binary":return Zr(this,r,t,n);case"base64":return $r(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,r,t,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 jr(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function yr(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=t){var h,c,s,p;switch(f){case 1:o<128&&(u=o);break;case 2:h=e[i+1],(h&192)===128&&(p=(o&31)<<6|h&63,p>127&&(u=p));break;case 3:h=e[i+1],c=e[i+2],(h&192)===128&&(c&192)===128&&(p=(o&15)<<12|(h&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:h=e[i+1],c=e[i+2],s=e[i+3],(h&192)===128&&(c&192)===128&&(s&192)===128&&(p=(o&15)<<18|(h&63)<<12|(c&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}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 rt(n)}var hr=4096;function rt(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=hr));return t}function tt(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function et(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function nt(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=ht[e[o]];return i}function it(e,r,t){for(var n=e.slice(r,t),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,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(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,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=t,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*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),M.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),M.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),M.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),M.read(this,r,!1,52,8)};function m(e,r,t,n,i,o){if(!a.isBuffer(e))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(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;m(this,r,t,n,o,0)}var u=1,f=0;for(this[t]=r&255;++f<n&&(u*=256);)this[t+f]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;m(this,r,t,n,o,0)}var u=n-1,f=1;for(this[t+u]=r&255;--u>=0&&(f*=256);)this[t+u]=r/f&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);m(this,r,t,n,o-1,-o)}var u=0,f=1,h=0;for(this[t]=r&255;++u<n&&(f*=256);)r<0&&h===0&&this[t+u-1]!==0&&(h=1),this[t+u]=(r/f>>0)-h&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);m(this,r,t,n,o-1,-o)}var u=n-1,f=1,h=0;for(this[t+u]=r&255;--u>=0&&(f*=256);)r<0&&h===0&&this[t+u+1]!==0&&(h=1),this[t+u]=(r/f>>0)-h&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function xr(e,r,t,n,i){return r=+r,t=t>>>0,i||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),M.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return xr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return xr(this,r,t,!1,n)};function mr(e,r,t,n,i){return r=+r,t=t>>>0,i||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),M.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return mr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return mr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.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),r.length-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="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"&&!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(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,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),h=f.length;if(h===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=f[u%h]}return this};var ot=/[^+/0-9A-Za-z-_]/g;function ut(e){if(e=e.split("=")[0],e=e.trim().replace(ot,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>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=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=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 at(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ft(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Er(e){return z.toByteArray(ut(e))}function X(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function v(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function P(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var dr=H((gt,vr)=>{l();var y=vr.exports={},d,U;function j(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?d=setTimeout:d=j}catch(e){d=j}try{typeof clearTimeout=="function"?U=clearTimeout:U=rr}catch(e){U=rr}})();function Fr(e){if(d===setTimeout)return setTimeout(e,0);if((d===j||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(r){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function pt(e){if(U===clearTimeout)return clearTimeout(e);if((U===rr||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(r){try{return U.call(null,e)}catch(t){return U.call(this,e)}}}var C=[],D=!1,_,G=-1;function ct(){!D||!_||(D=!1,_.length?C=_.concat(C):G=-1,C.length&&Br())}function Br(){if(!D){var e=Fr(ct);D=!0;for(var r=C.length;r;){for(_=C,C=[];++G<r;)_&&_[G].run();G=-1,r=C.length}_=null,D=!1,pt(e)}}y.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];C.push(new Ar(e,r)),C.length===1&&!D&&Fr(Br)};function Ar(e,r){this.fun=e,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function S(){}y.on=S;y.addListener=S;y.once=S;y.off=S;y.removeListener=S;y.removeAllListeners=S;y.emit=S;y.prependListener=S;y.prependOnceListener=S;y.listeners=function(e){return[]};y.binding=function(e){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(e){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var B,A,Ft,l=Rr(()=>{B=er(gr()),A=er(dr()),Ft=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var yt={};_r(yt,{decodeNativeAuthToken:()=>lt});module.exports=br(yt);l();l();l();function N(e){return atob(e)}l();l();l();function st(e){return Object.prototype.toString.call(e)==="[object String]"}var lt=e=>{if(!e||!st(e))return null;try{let[r,t,n]=e.split("."),i=N(r),o=N(t),[u,f,h,c]=o.split("."),s=JSON.parse(N(c)),p=N(u),x={ttl:Number(h),address:i,extraInfo:s,host:p,signature:n,blockHash:f,body:o};return c==="e30"&&delete x.extraInfo,x}catch(r){return null}};0&&(module.exports={decodeNativeAuthToken});
1
+ "use strict";var Ir=Object.create;var W=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Rr=(e,r)=>()=>(e&&(r=e(e=0)),r);var Y=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),_r=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},tr=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Cr(r))!Lr.call(e,i)&&i!==t&&W(e,i,{get:()=>r[i],enumerable:!(n=Tr(r,i))||n.enumerable});return e};var er=(e,r,t)=>(t=e!=null?Ir(Sr(e)):{},tr(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),br=e=>tr(W({},"__esModule",{value:!0}),e);var or=Y(q=>{"use strict";l();q.byteLength=kr;q.toByteArray=Nr;q.fromByteArray=qr;var F=[],g=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,nr=G.length;L<nr;++L)F[L]=G[L],g[G.charCodeAt(L)]=L;var L,nr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]}function kr(e){var r=ir(e),t=r[0],n=r[1];return(t+n)*3/4-n}function Dr(e,r,t){return(r+t)*3/4-t}function Nr(e){var r,t=ir(e),n=t[0],i=t[1],o=new Mr(Dr(e,n,i)),u=0,f=i>0?n-4:n,h;for(h=0;h<f;h+=4)r=g[e.charCodeAt(h)]<<18|g[e.charCodeAt(h+1)]<<12|g[e.charCodeAt(h+2)]<<6|g[e.charCodeAt(h+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=g[e.charCodeAt(h)]<<2|g[e.charCodeAt(h+1)]>>4,o[u++]=r&255),i===1&&(r=g[e.charCodeAt(h)]<<10|g[e.charCodeAt(h+1)]<<4|g[e.charCodeAt(h+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Wr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function Yr(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push(Wr(n));return i.join("")}function qr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,f=t-n;u<f;u+=o)i.push(Yr(e,u,u+o>f?f:u+o));return n===1?(r=e[t-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var ur=Y(J=>{l();J.read=function(e,r,t,n,i){var o,u,f=i*8-n-1,h=(1<<f)-1,c=h>>1,s=-7,p=t?i-1:0,x=t?-1:1,E=e[r+p];for(p+=x,o=E&(1<<-s)-1,E>>=-s,s+=f;s>0;o=o*256+e[r+p],p+=x,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+e[r+p],p+=x,s-=8);if(o===0)o=1-c;else{if(o===h)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-c}return(E?-1:1)*u*Math.pow(2,o-n)};J.write=function(e,r,t,n,i,o){var u,f,h,c=o*8-i-1,s=(1<<c)-1,p=s>>1,x=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:o-1,b=n?1:-1,Ur=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=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+p>=1?r+=x/h:r+=x*Math.pow(2,1-p),r*h>=2&&(u++,h/=2),u+p>=s?(f=0,u=s):u+p>=1?(f=(r*h-1)*Math.pow(2,i),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;e[t+E]=f&255,E+=b,f/=256,i-=8);for(u=u<<i|f,c+=i;c>0;e[t+E]=u&255,E+=b,u/=256,c-=8);e[t+E-b]|=Ur*128}});var gr=Y(k=>{"use strict";l();var z=or(),M=ur(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=a;k.SlowBuffer=zr;k.INSPECT_MAX_BYTES=50;var H=2147483647;k.kMaxLength=H;a.TYPED_ARRAY_SUPPORT=Hr();!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 Hr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){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 T(e){if(e>H)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(e)}return pr(e,r,t)}a.poolSize=8192;function pr(e,r,t){if(typeof e=="string")return Xr(e,r);if(ArrayBuffer.isView(e))return Gr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(v(e,ArrayBuffer)||e&&v(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(e,SharedArrayBuffer)||e&&v(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return a.from(n,r,t);var i=Jr(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return pr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function cr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Or(e,r,t){return cr(e),e<=0?T(e):r!==void 0?typeof t=="string"?T(e).fill(r,t):T(e).fill(r):T(e)}a.alloc=function(e,r,t){return Or(e,r,t)};function Z(e){return cr(e),T(e<0?0:$(e)|0)}a.allocUnsafe=function(e){return Z(e)};a.allocUnsafeSlow=function(e){return Z(e)};function Xr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=sr(e,r)|0,n=T(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function Q(e){for(var r=e.length<0?0:$(e.length)|0,t=T(r),n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Gr(e){if(v(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,a.prototype),n}function Jr(e){if(a.isBuffer(e)){var r=$(e.length)|0,t=T(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||P(e.length)?T(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function $(e){if(e>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return e|0}function zr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(v(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),v(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var n=r.length,i=t.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[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,t){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(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=a.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(v(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 sr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||v(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Er(e).length;default:if(i)return n?-1:K(e).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=sr;function Qr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return nt(this,r,t);case"utf8":case"utf-8":return yr(this,r,t);case"ascii":return tt(this,r,t);case"latin1":case"binary":return et(this,r,t);case"base64":return jr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function R(e,r,t){var n=e[r];e[r]=e[t],e[t]=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 t=0;t<r;t+=2)R(this,t,t+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 t=0;t<r;t+=4)R(this,t,t+3),R(this,t+1,t+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 t=0;t<r;t+=8)R(this,t,t+7),R(this,t+1,t+6),R(this,t+2,t+5),R(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):Qr.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="",t=k.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ar&&(a.prototype[ar]=a.prototype.inspect);a.prototype.compare=function(r,t,n,i,o){if(v(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(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.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===r)return 0;for(var u=o-i,f=n-t,h=Math.min(u,f),c=this.slice(i,o),s=r.slice(t,n),p=0;p<h;++p)if(c[p]!==s[p]){u=c[p],f=s[p];break}return u<f?-1:f<u?1:0};function lr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,P(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:fr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):fr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(e,r,t,n,i){var o=1,u=e.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function h(E,b){return o===1?E[b]:E.readUInt16BE(b*o)}var c;if(i){var s=-1;for(c=t;c<u;c++)if(h(e,c)===h(r,s===-1?0:c-s)){if(s===-1&&(s=c),c-s+1===f)return s*o}else s!==-1&&(c-=c-s),s=-1}else for(t+f>u&&(t=u-f),c=t;c>=0;c--){for(var p=!0,x=0;x<f;x++)if(h(e,c+x)!==h(r,x)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};a.prototype.indexOf=function(r,t,n){return lr(this,r,t,n,!0)};a.prototype.lastIndexOf=function(r,t,n){return lr(this,r,t,n,!1)};function Vr(e,r,t,n){t=Number(t)||0;var i=e.length-t;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(P(f))return u;e[t+u]=f}return u}function Kr(e,r,t,n){return O(K(r,e.length-t),e,t,n)}function Zr(e,r,t,n){return O(at(r),e,t,n)}function $r(e,r,t,n){return O(Er(r),e,t,n)}function Pr(e,r,t,n){return O(ft(r,e.length-t),e,t,n)}a.prototype.write=function(r,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),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return Vr(this,r,t,n);case"utf8":case"utf-8":return Kr(this,r,t,n);case"ascii":case"latin1":case"binary":return Zr(this,r,t,n);case"base64":return $r(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,r,t,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 jr(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function yr(e,r,t){t=Math.min(e.length,t);for(var n=[],i=r;i<t;){var o=e[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=t){var h,c,s,p;switch(f){case 1:o<128&&(u=o);break;case 2:h=e[i+1],(h&192)===128&&(p=(o&31)<<6|h&63,p>127&&(u=p));break;case 3:h=e[i+1],c=e[i+2],(h&192)===128&&(c&192)===128&&(p=(o&15)<<12|(h&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:h=e[i+1],c=e[i+2],s=e[i+3],(h&192)===128&&(c&192)===128&&(s&192)===128&&(p=(o&15)<<18|(h&63)<<12|(c&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}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 rt(n)}var hr=4096;function rt(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",n=0;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=hr));return t}function tt(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function et(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function nt(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=r;o<t;++o)i+=ht[e[o]];return i}function it(e,r,t){for(var n=e.slice(r,t),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,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,a.prototype),i};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r+--t],o=1;t>0&&(o*=256);)i+=this[r+--t]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(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,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=this[r],o=1,u=0;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};a.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||w(r,t,this.length);for(var i=t,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*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),M.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),M.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),M.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),M.read(this,r,!1,52,8)};function m(e,r,t,n,i,o){if(!a.isBuffer(e))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(t+n>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;m(this,r,t,n,o,0)}var u=1,f=0;for(this[t]=r&255;++f<n&&(u*=256);)this[t+f]=r/u&255;return t+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;m(this,r,t,n,o,0)}var u=n-1,f=1;for(this[t+u]=r&255;--u>=0&&(f*=256);)this[t+u]=r/f&255;return t+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);m(this,r,t,n,o-1,-o)}var u=0,f=1,h=0;for(this[t]=r&255;++u<n&&(f*=256);)r<0&&h===0&&this[t+u-1]!==0&&(h=1),this[t+u]=(r/f>>0)-h&255;return t+n};a.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var o=Math.pow(2,8*n-1);m(this,r,t,n,o-1,-o)}var u=n-1,f=1,h=0;for(this[t+u]=r&255;--u>=0&&(f*=256);)r<0&&h===0&&this[t+u+1]!==0&&(h=1),this[t+u]=(r/f>>0)-h&255;return t+n};a.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||m(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function xr(e,r,t,n,i){return r=+r,t=t>>>0,i||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),M.write(e,r,t,n,23,4),t+4}a.prototype.writeFloatLE=function(r,t,n){return xr(this,r,t,!0,n)};a.prototype.writeFloatBE=function(r,t,n){return xr(this,r,t,!1,n)};function mr(e,r,t,n,i){return r=+r,t=t>>>0,i||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),M.write(e,r,t,n,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,n){return mr(this,r,t,!0,n)};a.prototype.writeDoubleBE=function(r,t,n){return mr(this,r,t,!1,n)};a.prototype.copy=function(r,t,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.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),r.length-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};a.prototype.fill=function(r,t,n,i){if(typeof r=="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"&&!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(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,r||(r=0);var u;if(typeof r=="number")for(u=t;u<n;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,i),h=f.length;if(h===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-t;++u)this[u+t]=f[u%h]}return this};var ot=/[^+/0-9A-Za-z-_]/g;function ut(e){if(e=e.split("=")[0],e=e.trim().replace(ot,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,n=e.length,i=null,o=[],u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>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=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=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 at(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ft(e,r){for(var t,n,i,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function Er(e){return z.toByteArray(ut(e))}function O(e,r,t,n){for(var i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function v(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function P(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)r[n+i]=e[t]+e[i];return r}()});var dr=Y((gt,vr)=>{l();var y=vr.exports={},d,U;function j(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?d=setTimeout:d=j}catch(e){d=j}try{typeof clearTimeout=="function"?U=clearTimeout:U=rr}catch(e){U=rr}})();function Fr(e){if(d===setTimeout)return setTimeout(e,0);if((d===j||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(r){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function pt(e){if(U===clearTimeout)return clearTimeout(e);if((U===rr||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(r){try{return U.call(null,e)}catch(t){return U.call(this,e)}}}var C=[],D=!1,_,X=-1;function ct(){!D||!_||(D=!1,_.length?C=_.concat(C):X=-1,C.length&&Br())}function Br(){if(!D){var e=Fr(ct);D=!0;for(var r=C.length;r;){for(_=C,C=[];++X<r;)_&&_[X].run();X=-1,r=C.length}_=null,D=!1,pt(e)}}y.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];C.push(new Ar(e,r)),C.length===1&&!D&&Fr(Br)};function Ar(e,r){this.fun=e,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function S(){}y.on=S;y.addListener=S;y.once=S;y.off=S;y.removeListener=S;y.removeAllListeners=S;y.emit=S;y.prependListener=S;y.prependOnceListener=S;y.listeners=function(e){return[]};y.binding=function(e){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(e){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var B,A,Ft,l=Rr(()=>{B=er(gr()),A=er(dr()),Ft=function(e){function r(){var n=this||self;return delete e.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var yt={};_r(yt,{decodeNativeAuthToken:()=>lt});module.exports=br(yt);l();l();l();function N(e){return atob(e)}l();l();l();function st(e){return Object.prototype.toString.call(e)==="[object String]"}var lt=e=>{if(!e||!st(e))return null;try{let[r,t,n]=e.split("."),i=N(r),o=N(t),[u,f,h,c]=o.split("."),s=JSON.parse(N(c)),p=N(u),x={ttl:Number(h),address:i,extraInfo:s,origin:p,signature:n,blockHash:f,body:o};return c==="e30"&&delete x.extraInfo,x}catch(r){return null}};0&&(module.exports={decodeNativeAuthToken});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *