@multiversx/sdk-dapp 2.8.7 → 2.9.0-alpha.0

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 (943) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  21. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  22. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  23. package/UI/SignTransactionsModals/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/index.js +1 -1
  25. package/UI/TokenDetails/index.js +1 -1
  26. package/UI/TransactionData/index.js +1 -1
  27. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  28. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  29. package/UI/TransactionDetails/components/index.js +1 -1
  30. package/UI/TransactionDetails/index.js +1 -1
  31. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  32. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  33. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  34. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  35. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  36. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  37. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  38. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  39. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  40. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  41. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  42. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  43. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  44. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  50. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  51. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  52. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  61. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  63. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  64. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  76. package/UI/TransactionInfo/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  110. package/UI/TransactionInfo/index.js +1 -1
  111. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  114. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  123. package/UI/TransactionsTable/components/index.js +1 -1
  124. package/UI/TransactionsTable/index.js +1 -1
  125. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  148. package/UI/TransactionsToastList/components/index.js +1 -1
  149. package/UI/TransactionsToastList/index.js +1 -1
  150. package/UI/UsdValue/UsdValue.js +1 -1
  151. package/UI/UsdValue/index.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/index.js +1 -1
  154. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  159. package/UI/ledger/index.js +1 -1
  160. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  161. package/UI/pages/UnlockPage/index.js +1 -1
  162. package/UI/pages/index.js +1 -1
  163. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  164. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  167. package/UI/walletConnect/index.js +1 -1
  168. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  169. package/__chunks__/{chunk-2DKPFSTT.js → chunk-25LYYPSL.js} +2 -2
  170. package/__chunks__/{chunk-V5CRB7KN.js → chunk-2DAZJTY7.js} +2 -2
  171. package/__chunks__/{chunk-BMJLZLZM.js → chunk-2G7BO52P.js} +2 -2
  172. package/__chunks__/{chunk-VSXOMCDB.js → chunk-2JGSECMC.js} +2 -2
  173. package/__chunks__/{chunk-NAKSKDVH.js → chunk-2MN2JEL5.js} +2 -2
  174. package/__chunks__/{chunk-423Z6LGX.js → chunk-2QEIR6TS.js} +2 -2
  175. package/__chunks__/{chunk-5R432HI2.js → chunk-2UFNSJOJ.js} +2 -2
  176. package/__chunks__/{chunk-R2G53LUI.js → chunk-32HLRTV3.js} +2 -2
  177. package/__chunks__/{chunk-6UNAWFJ2.js → chunk-33B2EA3V.js} +2 -2
  178. package/__chunks__/{chunk-525WM2BT.js → chunk-343YDU2S.js} +2 -2
  179. package/__chunks__/{chunk-WWLOW2S3.js → chunk-346RZSEQ.js} +2 -2
  180. package/__chunks__/{chunk-IHIUGJRW.js → chunk-35T5H5IL.js} +2 -2
  181. package/__chunks__/{chunk-R3FSXFX3.js → chunk-3ADB74GU.js} +2 -2
  182. package/__chunks__/{chunk-GY336JML.js → chunk-3BQODYHQ.js} +2 -2
  183. package/__chunks__/{chunk-QVCVZLRQ.js → chunk-3CRW4ZUP.js} +2 -2
  184. package/__chunks__/{chunk-KO4CKUQ3.js → chunk-3D56FBAG.js} +2 -2
  185. package/__chunks__/{chunk-YFDYMEP5.js → chunk-3DOTBYW5.js} +2 -2
  186. package/__chunks__/{chunk-XIHOENSC.js → chunk-3OTU3LGP.js} +2 -2
  187. package/__chunks__/{chunk-7XE7OVZZ.js → chunk-3UYWEUYO.js} +2 -2
  188. package/__chunks__/{chunk-XKMOG6SS.js → chunk-3VNANIQN.js} +2 -2
  189. package/__chunks__/chunk-3ZPW6NBW.js +2 -0
  190. package/__chunks__/{chunk-KDNMJ7M2.js → chunk-43MUHJXP.js} +2 -2
  191. package/__chunks__/{chunk-FXKLPJUW.js → chunk-4AXBEAVW.js} +2 -2
  192. package/__chunks__/{chunk-UHDCW2GI.js → chunk-4CUEYG5L.js} +2 -2
  193. package/__chunks__/{chunk-74QKDRVQ.js → chunk-4DXDAPGH.js} +2 -2
  194. package/__chunks__/{chunk-CEPGJ4CK.js → chunk-4E4GWX4K.js} +2 -2
  195. package/__chunks__/chunk-4MGGEDE4.js +2 -0
  196. package/__chunks__/{chunk-TRBK7QQ6.js → chunk-4YGLWJYP.js} +2 -2
  197. package/__chunks__/{chunk-Z7HQTVYF.js → chunk-4ZPZ6AIU.js} +2 -2
  198. package/__chunks__/{chunk-TOZA3Q3T.js → chunk-54NEP2BY.js} +2 -2
  199. package/__chunks__/{chunk-W37FQYGP.js → chunk-54NTEZC5.js} +2 -2
  200. package/__chunks__/{chunk-OM457L3M.js → chunk-57KTNTD4.js} +2 -2
  201. package/__chunks__/{chunk-GFKBUR52.js → chunk-5A4BF2DQ.js} +2 -2
  202. package/__chunks__/{chunk-USUOFVP7.js → chunk-5AOQJY3W.js} +2 -2
  203. package/__chunks__/chunk-5E3Y7WDX.js +2 -0
  204. package/__chunks__/{chunk-4JKMMUID.js → chunk-5IU2LKSN.js} +2 -2
  205. package/__chunks__/{chunk-CN4TUEV7.js → chunk-5JSXSHFD.js} +2 -2
  206. package/__chunks__/{chunk-6UNQJUWL.js → chunk-5LIDVEDY.js} +2 -2
  207. package/__chunks__/{chunk-Z6PNQGOE.js → chunk-5LIPZK7I.js} +2 -2
  208. package/__chunks__/{chunk-TQVFVFKS.js → chunk-5SFT27AY.js} +2 -2
  209. package/__chunks__/chunk-5T2INUJ2.js +2 -0
  210. package/__chunks__/chunk-5TSTJK3D.js +2 -0
  211. package/__chunks__/{chunk-OCKI3V27.js → chunk-62SL73B6.js} +2 -2
  212. package/__chunks__/chunk-65MQPHO4.js +2 -0
  213. package/__chunks__/chunk-6A6EWHUH.js +2 -0
  214. package/__chunks__/{chunk-CJT4DITV.js → chunk-6ALJIJJR.js} +2 -2
  215. package/__chunks__/{chunk-NDJHFLTL.js → chunk-6CPLHN5F.js} +2 -2
  216. package/__chunks__/{chunk-DF24IGER.js → chunk-6NPKQKN5.js} +2 -2
  217. package/__chunks__/{chunk-4P3LJAUR.js → chunk-6O5L57GH.js} +2 -2
  218. package/__chunks__/{chunk-2DPI5E3W.js → chunk-6PSLWD7K.js} +2 -2
  219. package/__chunks__/{chunk-HGAKSUJP.js → chunk-6QQMWPZL.js} +2 -2
  220. package/__chunks__/{chunk-DHYV75O3.js → chunk-6TWOJZGW.js} +2 -2
  221. package/__chunks__/chunk-6W7S3EE3.js +2 -0
  222. package/__chunks__/{chunk-4HQ3HNGC.js → chunk-73F5VFES.js} +2 -2
  223. package/__chunks__/{chunk-ADE5S3WR.js → chunk-7CR6PT46.js} +2 -2
  224. package/__chunks__/{chunk-VXVGC3OH.js → chunk-7G3CGRHQ.js} +2 -2
  225. package/__chunks__/{chunk-BDA7V4NQ.js → chunk-7JYNYESQ.js} +2 -2
  226. package/__chunks__/{chunk-B25RPITH.js → chunk-7NYPVHED.js} +2 -2
  227. package/__chunks__/{chunk-MLSI3RC2.js → chunk-7RDCJEBM.js} +2 -2
  228. package/__chunks__/{chunk-YUIINDCV.js → chunk-7S2XISHG.js} +2 -2
  229. package/__chunks__/{chunk-UG55ZHGL.js → chunk-7UD2BXEK.js} +2 -2
  230. package/__chunks__/{chunk-KGGATDBD.js → chunk-7XH5QF3M.js} +2 -2
  231. package/__chunks__/chunk-A3YTVQRT.js +2 -0
  232. package/__chunks__/chunk-A453JAS3.js +2 -0
  233. package/__chunks__/{chunk-5LEO57S4.js → chunk-A6UEBWYM.js} +2 -2
  234. package/__chunks__/chunk-ABVMFLA3.js +2 -0
  235. package/__chunks__/{chunk-YMP4Z5XY.js → chunk-AJBKM66B.js} +2 -2
  236. package/__chunks__/{chunk-F2EJ4NBK.js → chunk-AK245ZB2.js} +2 -2
  237. package/__chunks__/{chunk-KHTHET32.js → chunk-ALP3UNP6.js} +2 -2
  238. package/__chunks__/{chunk-JXDUGSUA.js → chunk-AMFO52WL.js} +2 -2
  239. package/__chunks__/{chunk-XWDYQGE2.js → chunk-AOEAP24C.js} +2 -2
  240. package/__chunks__/{chunk-CRIOGAAJ.js → chunk-ARBTLT3C.js} +2 -2
  241. package/__chunks__/chunk-B3TAZ7VX.js +2 -0
  242. package/__chunks__/{chunk-A4SQDGPF.js → chunk-B4DRNYML.js} +2 -2
  243. package/__chunks__/chunk-BAT5BA5V.js +2 -0
  244. package/__chunks__/{chunk-U6QHRFQ6.js → chunk-BKMSVP62.js} +2 -2
  245. package/__chunks__/{chunk-5WX4CALV.js → chunk-BKSSTINX.js} +2 -2
  246. package/__chunks__/{chunk-USTDS2O5.js → chunk-BMG5SADY.js} +2 -2
  247. package/__chunks__/{chunk-FGT3C4FE.js → chunk-BPPVSU25.js} +1 -1
  248. package/__chunks__/chunk-BRPCFDIZ.js +2 -0
  249. package/__chunks__/{chunk-CJH2YV7X.js → chunk-BT4PUPX2.js} +2 -2
  250. package/__chunks__/{chunk-SMISCEQS.js → chunk-BTUNYV43.js} +2 -2
  251. package/__chunks__/{chunk-WKD2ES4V.js → chunk-BVRV3PPZ.js} +2 -2
  252. package/__chunks__/chunk-BZONU76B.js +2 -0
  253. package/__chunks__/{chunk-UWE6TJ47.js → chunk-C7BZLCLN.js} +2 -2
  254. package/__chunks__/chunk-CDW2662X.js +2 -0
  255. package/__chunks__/{chunk-MO7GMDSI.js → chunk-CFAUACCS.js} +2 -2
  256. package/__chunks__/{chunk-MDZPOO3F.js → chunk-CJEHVP77.js} +2 -2
  257. package/__chunks__/{chunk-ELIQXNO3.js → chunk-CNNCGA7P.js} +2 -2
  258. package/__chunks__/chunk-COL2EXNW.js +2 -0
  259. package/__chunks__/{chunk-IIAD2DSC.js → chunk-CPACYSUZ.js} +2 -2
  260. package/__chunks__/chunk-CSS5DPJE.js +2 -0
  261. package/__chunks__/{chunk-QUMYRH4H.js → chunk-CTO4KDRF.js} +2 -2
  262. package/__chunks__/chunk-CUPMM5UN.js +2 -0
  263. package/__chunks__/{chunk-M47D4COH.js → chunk-CWZS67S7.js} +2 -2
  264. package/__chunks__/{chunk-LF6VJNCF.js → chunk-CXXTFRHA.js} +2 -2
  265. package/__chunks__/{chunk-T6GIIILG.js → chunk-CZZL3SSJ.js} +2 -2
  266. package/__chunks__/{chunk-UX2EZNAX.js → chunk-D6AVFA2D.js} +2 -2
  267. package/__chunks__/{chunk-Q7U3WZCF.js → chunk-DLO34CIZ.js} +2 -2
  268. package/__chunks__/{chunk-77DECFQY.js → chunk-DTN6DYVS.js} +2 -2
  269. package/__chunks__/chunk-DXE4AAU7.js +2 -0
  270. package/__chunks__/{chunk-4ALRWZZQ.js → chunk-E36MIU6P.js} +2 -2
  271. package/__chunks__/chunk-E4X4P3T6.js +2 -0
  272. package/__chunks__/{chunk-5FBZWQQA.js → chunk-EFMJXVWX.js} +2 -2
  273. package/__chunks__/chunk-EPJMBI2O.js +2 -0
  274. package/__chunks__/{chunk-RJFWI3UU.js → chunk-ESLOIYNE.js} +2 -2
  275. package/__chunks__/{chunk-FSAAWDVV.js → chunk-EXCSAEHQ.js} +2 -2
  276. package/__chunks__/chunk-EZWQ7DMD.js +2 -0
  277. package/__chunks__/{chunk-73KODBLR.js → chunk-FIPS3NHS.js} +2 -2
  278. package/__chunks__/chunk-FPDWY2JO.js +2 -0
  279. package/__chunks__/{chunk-XZ5MLYGD.js → chunk-G3RFZTTV.js} +2 -2
  280. package/__chunks__/{chunk-52J7F3R2.js → chunk-GFUPPZJ2.js} +2 -2
  281. package/__chunks__/chunk-GIPQCOE2.js +2 -0
  282. package/__chunks__/{chunk-5RFLO6MR.js → chunk-GN2RX6OL.js} +2 -2
  283. package/__chunks__/{chunk-FGJI7F7M.js → chunk-GRYUK7ET.js} +2 -2
  284. package/__chunks__/{chunk-BOKSFKJF.js → chunk-H3R6VXAV.js} +2 -2
  285. package/__chunks__/{chunk-ILI6V46A.js → chunk-HACCGAKC.js} +2 -2
  286. package/__chunks__/chunk-HIX6QXZ4.js +2 -0
  287. package/__chunks__/{chunk-A2IXF222.js → chunk-HJ7GDMMX.js} +2 -2
  288. package/__chunks__/{chunk-CUFA5NAA.js → chunk-HOM67ZP7.js} +2 -2
  289. package/__chunks__/{chunk-TEFRLAUL.js → chunk-HPXVUIJL.js} +2 -2
  290. package/__chunks__/{chunk-YLOIJNV2.js → chunk-HWLMQLGK.js} +2 -2
  291. package/__chunks__/{chunk-CPEIGU6U.js → chunk-I4BUST3H.js} +2 -2
  292. package/__chunks__/{chunk-SJ6DPXLM.js → chunk-I6GRLA2C.js} +2 -2
  293. package/__chunks__/{chunk-PVKKZXYP.js → chunk-IMJ3U2BY.js} +2 -2
  294. package/__chunks__/{chunk-N7ACY27N.js → chunk-IMPGP7LI.js} +2 -2
  295. package/__chunks__/{chunk-5GEXET3C.js → chunk-IOQUQ7V7.js} +2 -2
  296. package/__chunks__/{chunk-HER7NR3P.js → chunk-IUSHI4WG.js} +2 -2
  297. package/__chunks__/chunk-IYGHEIZB.js +2 -0
  298. package/__chunks__/{chunk-YPLFH5NC.js → chunk-J3Q7UDAZ.js} +2 -2
  299. package/__chunks__/{chunk-IIXY6EVM.js → chunk-J6HSKOGJ.js} +2 -2
  300. package/__chunks__/{chunk-S7JDYKHM.js → chunk-J7NMG22C.js} +2 -2
  301. package/__chunks__/chunk-JCD6DJSC.js +2 -0
  302. package/__chunks__/{chunk-4R3QOQZE.js → chunk-JDVLHQF6.js} +2 -2
  303. package/__chunks__/{chunk-4JB5QVKY.js → chunk-JIXAK2AC.js} +2 -2
  304. package/__chunks__/{chunk-3KOYQHTR.js → chunk-JJWH3JYM.js} +2 -2
  305. package/__chunks__/{chunk-SLLPTUAV.js → chunk-JK6ABF64.js} +2 -2
  306. package/__chunks__/{chunk-ZEEWQEXA.js → chunk-JK6EDPQT.js} +2 -2
  307. package/__chunks__/chunk-JWP3WLIN.js +2 -0
  308. package/__chunks__/{chunk-7WWHCPMS.js → chunk-JWSBC5DB.js} +2 -2
  309. package/__chunks__/{chunk-I3DMSSAU.js → chunk-K5UIZVZV.js} +2 -2
  310. package/__chunks__/{chunk-KX4A4RXW.js → chunk-KDEQ2GAX.js} +2 -2
  311. package/__chunks__/{chunk-CRI42HNH.js → chunk-KEIOQVXN.js} +2 -2
  312. package/__chunks__/{chunk-U77UZINY.js → chunk-KG3U55NF.js} +2 -2
  313. package/__chunks__/{chunk-P6MWBKH3.js → chunk-KHHNKZRB.js} +2 -2
  314. package/__chunks__/{chunk-SOPJ4FVA.js → chunk-KV6GSWNL.js} +2 -2
  315. package/__chunks__/{chunk-VS7YJKJM.js → chunk-KYC5JNJB.js} +2 -2
  316. package/__chunks__/{chunk-BYS7QALE.js → chunk-KYVILTBF.js} +2 -2
  317. package/__chunks__/chunk-L5DW2DTN.js +2 -0
  318. package/__chunks__/chunk-L5UKH2NP.js +2 -0
  319. package/__chunks__/{chunk-M22NL7FJ.js → chunk-LES3U47Z.js} +2 -2
  320. package/__chunks__/{chunk-7YFFVZWN.js → chunk-LF5ZKC66.js} +2 -2
  321. package/__chunks__/{chunk-XTX67ABL.js → chunk-LF6FN6K3.js} +2 -2
  322. package/__chunks__/{chunk-K4P3Q4G6.js → chunk-LGPEIIM7.js} +2 -2
  323. package/__chunks__/{chunk-HJFWUTN2.js → chunk-LJ2OXL2R.js} +2 -2
  324. package/__chunks__/{chunk-HEMJW4UP.js → chunk-LLTQNIPQ.js} +2 -2
  325. package/__chunks__/{chunk-KE3UZZPK.js → chunk-LRZYNP4X.js} +2 -2
  326. package/__chunks__/{chunk-R5P34PUZ.js → chunk-LSJH4COT.js} +2 -2
  327. package/__chunks__/{chunk-UYKSTJCI.js → chunk-LU3DM6HR.js} +2 -2
  328. package/__chunks__/chunk-LWC25W2W.js +2 -0
  329. package/__chunks__/{chunk-HHGHERF3.js → chunk-M4KXOW7P.js} +2 -2
  330. package/__chunks__/{chunk-66KNLCQD.js → chunk-MC4SKRI3.js} +2 -2
  331. package/__chunks__/{chunk-VVPMSN2M.js → chunk-MCGMQBME.js} +2 -2
  332. package/__chunks__/{chunk-T4FS5XNS.js → chunk-MCX4AA63.js} +2 -2
  333. package/__chunks__/{chunk-UXBGGKWU.js → chunk-MDGIGD6R.js} +2 -2
  334. package/__chunks__/{chunk-HWDGDPLP.js → chunk-MIKIMQR2.js} +2 -2
  335. package/__chunks__/{chunk-DQLFYAJF.js → chunk-MOA4IRT5.js} +2 -2
  336. package/__chunks__/chunk-MYN7DB3X.js +2 -0
  337. package/__chunks__/{chunk-A2MJT5TB.js → chunk-N45VBFNK.js} +2 -2
  338. package/__chunks__/chunk-NA2AEGMU.js +2 -0
  339. package/__chunks__/{chunk-D3E65LJ5.js → chunk-NEHGYCY2.js} +2 -2
  340. package/__chunks__/{chunk-ACE3TC2R.js → chunk-NJQRX7E2.js} +2 -2
  341. package/__chunks__/{chunk-JFOJHUMM.js → chunk-NQ247DLE.js} +2 -2
  342. package/__chunks__/chunk-NTCEKYNN.js +2 -0
  343. package/__chunks__/{chunk-ADCSG5DO.js → chunk-NYNRNXOR.js} +2 -2
  344. package/__chunks__/{chunk-AFLDYYSB.js → chunk-O4ZYTYXZ.js} +2 -2
  345. package/__chunks__/{chunk-AJ2VY4SZ.js → chunk-OAXLOJDD.js} +2 -2
  346. package/__chunks__/chunk-OE5DHTVR.js +2 -0
  347. package/__chunks__/chunk-OGZP3W4S.js +2 -0
  348. package/__chunks__/{chunk-BBL4ZXHW.js → chunk-ONIRIDYD.js} +2 -2
  349. package/__chunks__/{chunk-BKMTF6D2.js → chunk-OPNNXGAJ.js} +2 -2
  350. package/__chunks__/chunk-OXJW5VJL.js +2 -0
  351. package/__chunks__/{chunk-RXNYA6SF.js → chunk-P6MRRO6I.js} +2 -2
  352. package/__chunks__/{chunk-YU5OYJX7.js → chunk-PCHRWVXC.js} +2 -2
  353. package/__chunks__/{chunk-C6OSBOOY.js → chunk-PGYJ74AD.js} +2 -2
  354. package/__chunks__/{chunk-5MMAS7IS.js → chunk-PHYN544Z.js} +2 -2
  355. package/__chunks__/chunk-PMKQQMDY.js +2 -0
  356. package/__chunks__/{chunk-DG7FFCMC.js → chunk-PMREAIGI.js} +2 -2
  357. package/__chunks__/{chunk-VPHC377M.js → chunk-PNSNXL7L.js} +2 -2
  358. package/__chunks__/{chunk-UTDBQNDV.js → chunk-PVQIICYI.js} +2 -2
  359. package/__chunks__/{chunk-EVUACURD.js → chunk-Q3OVBMP3.js} +2 -2
  360. package/__chunks__/{chunk-RHQ3FWWV.js → chunk-Q5WC7I3O.js} +2 -2
  361. package/__chunks__/{chunk-QL7RMPDI.js → chunk-QD5QDTC3.js} +2 -2
  362. package/__chunks__/{chunk-737AN7JD.js → chunk-QGGGF3OX.js} +2 -2
  363. package/__chunks__/{chunk-WWSWE52T.js → chunk-QNUO32JN.js} +2 -2
  364. package/__chunks__/{chunk-YKCZ2UKE.js → chunk-QOZBVOHT.js} +2 -2
  365. package/__chunks__/chunk-QRLJYAVK.js +2 -0
  366. package/__chunks__/{chunk-ROMNQSAY.js → chunk-QWPQS6G5.js} +2 -2
  367. package/__chunks__/{chunk-ODQ5XNPU.js → chunk-R4B6ID2N.js} +2 -2
  368. package/__chunks__/{chunk-KGYURMEO.js → chunk-R6AS2UYG.js} +2 -2
  369. package/__chunks__/{chunk-7BA6MF76.js → chunk-RLVLE6UU.js} +2 -2
  370. package/__chunks__/{chunk-YRHGZ4HS.js → chunk-S2KUPUGA.js} +2 -2
  371. package/__chunks__/{chunk-6R7WMG4C.js → chunk-S653XWKA.js} +2 -2
  372. package/__chunks__/{chunk-ENVPO3OR.js → chunk-SBN47C2G.js} +2 -2
  373. package/__chunks__/{chunk-SAFQFQIH.js → chunk-SDDHDY7Z.js} +2 -2
  374. package/__chunks__/{chunk-NANO4X2A.js → chunk-SFP5Q2SB.js} +2 -2
  375. package/__chunks__/chunk-SGEONHJN.js +2 -0
  376. package/__chunks__/{chunk-LKDW3XH3.js → chunk-SGNT3E2X.js} +2 -2
  377. package/__chunks__/{chunk-NQ5XJOIL.js → chunk-SLZBO3FX.js} +2 -2
  378. package/__chunks__/{chunk-WX5BAI2J.js → chunk-SSGU33XK.js} +2 -2
  379. package/__chunks__/{chunk-KCOIYEPV.js → chunk-SXJLOBGK.js} +2 -2
  380. package/__chunks__/{chunk-32VBXZXR.js → chunk-SYT2T7G2.js} +2 -2
  381. package/__chunks__/{chunk-M2X2JVAM.js → chunk-SZ3VLYKT.js} +2 -2
  382. package/__chunks__/{chunk-GCYQRVDH.js → chunk-T2CFMPMF.js} +2 -2
  383. package/__chunks__/{chunk-GBQ5D4O5.js → chunk-T2MFBGAA.js} +2 -2
  384. package/__chunks__/{chunk-QB3XGANM.js → chunk-T2MIRLFN.js} +2 -2
  385. package/__chunks__/{chunk-YKKS3O3Z.js → chunk-T34J5F2S.js} +2 -2
  386. package/__chunks__/{chunk-CY7H7XN3.js → chunk-T3NGVEED.js} +2 -2
  387. package/__chunks__/{chunk-RU373C7L.js → chunk-T4Q37HLR.js} +2 -2
  388. package/__chunks__/{chunk-NNVTUWMR.js → chunk-TAYARQBC.js} +2 -2
  389. package/__chunks__/{chunk-F4Z4BQFP.js → chunk-TGPRRERJ.js} +2 -2
  390. package/__chunks__/{chunk-UMD2MTE3.js → chunk-TJUHE354.js} +2 -2
  391. package/__chunks__/chunk-TKQGS7L2.js +2 -0
  392. package/__chunks__/{chunk-GXOJLFD4.js → chunk-TTBVJAYG.js} +2 -2
  393. package/__chunks__/{chunk-2KFSLVEO.js → chunk-TTZVNWAK.js} +2 -2
  394. package/__chunks__/{chunk-4NPCJKVQ.js → chunk-TWSAY73D.js} +2 -2
  395. package/__chunks__/{chunk-EN36KS5J.js → chunk-TZ6IR7KY.js} +2 -2
  396. package/__chunks__/{chunk-YWT4XNXN.js → chunk-U2ELIFGD.js} +2 -2
  397. package/__chunks__/{chunk-WXZKC7M3.js → chunk-U7BHVZDF.js} +2 -2
  398. package/__chunks__/{chunk-LVCV5JOX.js → chunk-UB7XMLMC.js} +2 -2
  399. package/__chunks__/{chunk-M7AJLAY3.js → chunk-UFE22DXI.js} +2 -2
  400. package/__chunks__/chunk-UGAJ6X3Z.js +2 -0
  401. package/__chunks__/chunk-UGJIORNP.js +2 -0
  402. package/__chunks__/{chunk-ANO63HEG.js → chunk-UIXYMFD4.js} +2 -2
  403. package/__chunks__/{chunk-XXUDAIKI.js → chunk-UM2Z6I3Z.js} +2 -2
  404. package/__chunks__/{chunk-COV3NRWK.js → chunk-UNW4PYCC.js} +2 -2
  405. package/__chunks__/{chunk-UIRTEEAJ.js → chunk-UPCMC3JF.js} +2 -2
  406. package/__chunks__/{chunk-GPNUHVOM.js → chunk-UWZL6MUF.js} +2 -2
  407. package/__chunks__/{chunk-YLMRTW5R.js → chunk-UZ5EL5IA.js} +2 -2
  408. package/__chunks__/{chunk-W2FZFACI.js → chunk-VGVAZOOL.js} +2 -2
  409. package/__chunks__/{chunk-MDNDUSGB.js → chunk-VHHIARAI.js} +2 -2
  410. package/__chunks__/{chunk-EBMIHN52.js → chunk-VOS5AZ4K.js} +2 -2
  411. package/__chunks__/{chunk-XT5BA43Z.js → chunk-VZZVQSTN.js} +2 -2
  412. package/__chunks__/{chunk-IC5Y7E5N.js → chunk-W4GD6OCO.js} +2 -2
  413. package/__chunks__/{chunk-XNHZJ2SC.js → chunk-W5D3A5ES.js} +2 -2
  414. package/__chunks__/{chunk-B3ILFYYH.js → chunk-WB2WVDZA.js} +2 -2
  415. package/__chunks__/{chunk-LBJUKBPW.js → chunk-WCGXNTPB.js} +2 -2
  416. package/__chunks__/{chunk-A6EXXYVU.js → chunk-WJHMRQCO.js} +2 -2
  417. package/__chunks__/{chunk-WYFQSQAM.js → chunk-WKN5JWWQ.js} +2 -2
  418. package/__chunks__/chunk-WR6IIZFW.js +2 -0
  419. package/__chunks__/{chunk-KTYRUFXV.js → chunk-WRKQTXD4.js} +2 -2
  420. package/__chunks__/{chunk-2C65GIQZ.js → chunk-WU2RFM5A.js} +2 -2
  421. package/__chunks__/{chunk-P7STLJJI.js → chunk-X7SBGOMA.js} +2 -2
  422. package/__chunks__/{chunk-IK27WK4F.js → chunk-XACM7U6A.js} +2 -2
  423. package/__chunks__/{chunk-PINKYRXT.js → chunk-XARXYP2R.js} +2 -2
  424. package/__chunks__/{chunk-FNO4F4XU.js → chunk-XGTZDEYC.js} +2 -2
  425. package/__chunks__/chunk-XHHJUHQV.js +2 -0
  426. package/__chunks__/{chunk-HQJKEU6C.js → chunk-XRHEAXKK.js} +2 -2
  427. package/__chunks__/{chunk-23EGU54D.js → chunk-XVZERATD.js} +2 -2
  428. package/__chunks__/{chunk-TXM7RATR.js → chunk-Y5PCCHR4.js} +2 -2
  429. package/__chunks__/{chunk-X2L7IGUP.js → chunk-Y7U5PXM4.js} +2 -2
  430. package/__chunks__/chunk-YABBPNUR.js +2 -0
  431. package/__chunks__/{chunk-E7MY3TPU.js → chunk-YCWMLUF4.js} +2 -2
  432. package/__chunks__/{chunk-3VGDFLNR.js → chunk-YGKDW2MQ.js} +2 -2
  433. package/__chunks__/{chunk-6PTMJTAR.js → chunk-YJXND7MN.js} +2 -2
  434. package/__chunks__/{chunk-X3JF7AJ7.js → chunk-YLMQQGTH.js} +2 -2
  435. package/__chunks__/{chunk-6YFMGTBJ.js → chunk-YRLJP2A7.js} +2 -2
  436. package/__chunks__/{chunk-NMZHNNDO.js → chunk-YRR6KBN2.js} +2 -2
  437. package/__chunks__/chunk-YW6K2R7N.js +2 -0
  438. package/__chunks__/chunk-YWMWYHIA.js +2 -0
  439. package/__chunks__/{chunk-JWQRJOLL.js → chunk-YYBTFRCM.js} +2 -2
  440. package/__chunks__/{chunk-WUBNBBRC.js → chunk-Z2VZSXDK.js} +2 -2
  441. package/__chunks__/{chunk-S3J7OTBF.js → chunk-Z3ZWK4EM.js} +2 -2
  442. package/__chunks__/{chunk-IOHWBSIX.js → chunk-Z4ABT7NG.js} +2 -2
  443. package/__chunks__/{chunk-EB7DKY7Z.js → chunk-ZCM6WCXA.js} +2 -2
  444. package/__chunks__/chunk-ZQIOXJ4W.js +2 -0
  445. package/__chunks__/{chunk-MBOASZBJ.js → chunk-ZSU24JZ5.js} +2 -2
  446. package/__chunks__/chunk-ZTWKQMJR.js +2 -0
  447. package/__chunks__/{chunk-HGTG6QDV.js → chunk-ZVZUXZJ7.js} +2 -2
  448. package/__chunks__/chunk-ZX7JX6JP.js +2 -0
  449. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  450. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  451. package/__commonjs/UI/NotificationModal/index.js +4 -4
  452. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
  453. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
  454. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  455. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  456. package/__commonjs/UI/SignTransactionsModals/components/index.js +7 -7
  457. package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
  458. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +5 -5
  459. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +5 -5
  460. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +3 -3
  461. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +3 -3
  462. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +2 -2
  463. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +2 -2
  464. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +10 -10
  465. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +7 -7
  466. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +4 -4
  467. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +10 -10
  468. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  469. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +6 -6
  470. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +3 -3
  471. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +4 -4
  472. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +4 -4
  473. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  474. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +4 -4
  475. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +4 -4
  476. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +4 -4
  477. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +4 -4
  478. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +2 -2
  479. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +2 -2
  480. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +4 -4
  481. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +4 -4
  482. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +3 -3
  483. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +3 -3
  484. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +5 -5
  485. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +5 -5
  486. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +4 -4
  487. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +4 -4
  488. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +11 -11
  489. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
  490. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +2 -2
  491. package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
  492. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +6 -6
  493. package/__commonjs/UI/TransactionsTable/index.js +11 -11
  494. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +8 -8
  495. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  496. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +4 -4
  497. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +6 -6
  498. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +4 -4
  499. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  500. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +8 -8
  501. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +8 -8
  502. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  503. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  504. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  505. package/__commonjs/UI/TransactionsToastList/index.js +8 -8
  506. package/__commonjs/UI/UsdValue/UsdValue.js +2 -2
  507. package/__commonjs/UI/UsdValue/index.js +2 -2
  508. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  509. package/__commonjs/UI/index.js +74 -74
  510. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  511. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +2 -2
  512. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +10 -10
  513. package/__commonjs/UI/ledger/index.js +1 -1
  514. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  515. package/__commonjs/UI/pages/UnlockPage/index.js +12 -12
  516. package/__commonjs/UI/pages/index.js +12 -12
  517. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
  518. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
  519. package/__commonjs/UI/walletConnect/index.js +7 -7
  520. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  521. package/__commonjs/__mocks__/accountConfig.js +1 -1
  522. package/__commonjs/__mocks__/index.js +1 -1
  523. package/__commonjs/__mocks__/server.js +1 -1
  524. package/__commonjs/__mocks__/utils/index.js +1 -1
  525. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  526. package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  527. package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  528. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  529. package/__commonjs/apiCalls/configuration/index.js +1 -1
  530. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  531. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  532. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  533. package/__commonjs/components/LogoutListener/index.js +1 -1
  534. package/__commonjs/components/ProviderInitializer.js +1 -1
  535. package/__commonjs/constants/network.js +1 -1
  536. package/__commonjs/hooks/account/index.js +1 -1
  537. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  538. package/__commonjs/hooks/index.js +1 -1
  539. package/__commonjs/hooks/login/index.js +1 -1
  540. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  541. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  542. package/__commonjs/hooks/login/useLoginService.js +1 -1
  543. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  544. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  545. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  546. package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
  547. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  548. package/__commonjs/hooks/signMessage/index.js +1 -1
  549. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  550. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  551. package/__commonjs/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  552. package/__commonjs/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
  553. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  554. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  555. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  556. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  557. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  558. package/__commonjs/hooks/userInterface/index.js +1 -1
  559. package/__commonjs/hooks/userInterface/useIsDappModalVisible.js +1 -1
  560. package/__commonjs/hooks/websocketListener/index.js +1 -1
  561. package/__commonjs/providers/accountProvider.js +1 -1
  562. package/__commonjs/providers/index.js +1 -1
  563. package/__commonjs/providers/utils.js +1 -1
  564. package/__commonjs/providers/webviewProvider/index.js +1 -1
  565. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  566. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  567. package/__commonjs/reduxStore/DappProviderContext.js +1 -1
  568. package/__commonjs/reduxStore/commonActions.js +1 -1
  569. package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  570. package/__commonjs/reduxStore/persistConfig.js +1 -1
  571. package/__commonjs/reduxStore/selectors/accountInfoSelectors.js +1 -1
  572. package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
  573. package/__commonjs/reduxStore/selectors/helpers.js +1 -1
  574. package/__commonjs/reduxStore/selectors/loginInfoSelectors.js +1 -1
  575. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  576. package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
  577. package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  578. package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
  579. package/__commonjs/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  580. package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
  581. package/__commonjs/reduxStore/slices/index.js +1 -1
  582. package/__commonjs/reduxStore/slices/modalsSlice.js +1 -1
  583. package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  584. package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
  585. package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
  586. package/__commonjs/reduxStore/store.js +1 -1
  587. package/__commonjs/services/index.js +1 -1
  588. package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  589. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  590. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  591. package/__commonjs/services/nativeAuth/index.js +1 -1
  592. package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  593. package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
  594. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  595. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  596. package/__commonjs/services/transactions/isCrossShardTransaction.js +1 -1
  597. package/__commonjs/services/transactions/signTransactions.js +1 -1
  598. package/__commonjs/services/transactions/utils.js +1 -1
  599. package/__commonjs/types/enums.types.js +1 -1
  600. package/__commonjs/types/index.js +1 -1
  601. package/__commonjs/utils/account/getAccount.js +1 -1
  602. package/__commonjs/utils/account/getAccountProviderType.js +1 -1
  603. package/__commonjs/utils/account/getAddress.js +1 -1
  604. package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
  605. package/__commonjs/utils/account/getLatestNonce.js +1 -1
  606. package/__commonjs/utils/account/index.js +1 -1
  607. package/__commonjs/utils/account/refreshAccount.js +1 -1
  608. package/__commonjs/utils/account/setNonce.js +1 -1
  609. package/__commonjs/utils/account/signMessage.js +1 -1
  610. package/__commonjs/utils/index.js +2 -2
  611. package/__commonjs/utils/logout.js +1 -1
  612. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  613. package/__commonjs/utils/operations/denominate.js +1 -1
  614. package/__commonjs/utils/operations/formatAmount.js +1 -1
  615. package/__commonjs/utils/operations/index.js +1 -1
  616. package/__commonjs/utils/platform/detectCurrentPlatform.js +1 -1
  617. package/__commonjs/utils/smartContracts.js +1 -1
  618. package/__commonjs/utils/toasts/customToastsActions.js +1 -1
  619. package/__commonjs/utils/toasts/index.js +1 -1
  620. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  621. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  622. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  623. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  624. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  625. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  626. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  627. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  628. package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
  629. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  630. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  631. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  632. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  633. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  634. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  635. package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  636. package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  637. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  638. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  639. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  640. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
  641. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
  642. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
  643. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  644. package/__commonjs/utils/transactions/transactionStateByStatus.js +1 -1
  645. package/__commonjs/utils/validation/maxDecimals.js +1 -1
  646. package/__commonjs/web/hooks/index.js +1 -1
  647. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  648. package/__commonjs/web/index.js +1 -1
  649. package/__commonjs/wrappers/AppInitializer.js +1 -1
  650. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  651. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  652. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  653. package/__commonjs/wrappers/index.js +1 -1
  654. package/__mocks__/accountConfig.js +1 -1
  655. package/__mocks__/index.js +1 -1
  656. package/__mocks__/server.js +1 -1
  657. package/__mocks__/utils/index.js +1 -1
  658. package/__mocks__/utils/renderWithProvider.js +1 -1
  659. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  660. package/apiCalls/accounts/index.js +1 -1
  661. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  662. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  663. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  664. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  665. package/apiCalls/configuration/index.js +1 -1
  666. package/apiCalls/getScamAddressData.js +1 -1
  667. package/apiCalls/index.js +1 -1
  668. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  669. package/apiCalls/transactions/index.js +1 -1
  670. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  671. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  672. package/apiCalls/utils/index.js +1 -1
  673. package/components/LogoutListener/LogoutListener.js +1 -1
  674. package/components/LogoutListener/helpers/index.js +1 -1
  675. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  676. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  677. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  678. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  679. package/components/LogoutListener/index.js +1 -1
  680. package/components/ProviderInitializer.js +1 -1
  681. package/components/TransactionSender/TransactionSender.js +1 -1
  682. package/components/TransactionSender/index.js +1 -1
  683. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  684. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  685. package/components/TransactionsTracker/index.js +1 -1
  686. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  687. package/constants/index.js +1 -1
  688. package/constants/network.js +1 -1
  689. package/hooks/account/index.js +1 -1
  690. package/hooks/account/useGetAccount.js +1 -1
  691. package/hooks/account/useGetAccountInfo.js +1 -1
  692. package/hooks/account/useGetAccountProvider.js +1 -1
  693. package/hooks/account/useGetIsLoggedIn.js +1 -1
  694. package/hooks/account/useGetLoginInfo.js +1 -1
  695. package/hooks/account/useGetWebsocketEvent.js +1 -1
  696. package/hooks/index.js +1 -1
  697. package/hooks/login/index.js +1 -1
  698. package/hooks/login/useExtensionLogin.js +1 -1
  699. package/hooks/login/useLedgerLogin.js +1 -1
  700. package/hooks/login/useLoginService.js +1 -1
  701. package/hooks/login/useOperaLogin.js +1 -1
  702. package/hooks/login/useWalletConnectLogin.js +1 -1
  703. package/hooks/login/useWalletConnectV2Login.js +1 -1
  704. package/hooks/login/useWebViewLogin.js +1 -1
  705. package/hooks/login/useWebWalletLogin.js +1 -1
  706. package/hooks/signMessage/index.js +1 -1
  707. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  708. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  709. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  710. package/hooks/signMessage/useSignMessage.js +1 -1
  711. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  712. package/hooks/transactions/helpers/index.js +1 -1
  713. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  714. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  715. package/hooks/transactions/index.js +1 -1
  716. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  717. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  718. package/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
  719. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  720. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  721. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  722. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  723. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  724. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  725. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  726. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  727. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  728. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  729. package/hooks/transactions/useGetTokenDetails.js +1 -1
  730. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  731. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  732. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  733. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  734. package/hooks/transactions/useSignTransactions.js +1 -1
  735. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  736. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  737. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  738. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  739. package/hooks/useGetNetworkConfig.js +1 -1
  740. package/hooks/useGetNotification.js +1 -1
  741. package/hooks/userInterface/index.js +1 -1
  742. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  743. package/hooks/websocketListener/index.js +1 -1
  744. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  745. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  746. package/models/index.js +1 -1
  747. package/models/newTransaction.js +1 -1
  748. package/package.json +2 -2
  749. package/providers/accountProvider.js +1 -1
  750. package/providers/index.js +1 -1
  751. package/providers/utils.js +1 -1
  752. package/providers/webviewProvider/index.js +1 -1
  753. package/providers/webviewProvider/requestMethods.js +1 -1
  754. package/providers/webviewProvider/webviewProvider.js +1 -1
  755. package/reduxStore/DappProviderContext.js +1 -1
  756. package/reduxStore/commonActions.js +1 -1
  757. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  758. package/reduxStore/persistConfig.js +1 -1
  759. package/reduxStore/persistedRootReducer.d.ts +1 -1
  760. package/reduxStore/persistedRootReducer.js +1 -1
  761. package/reduxStore/reducers.js +1 -1
  762. package/reduxStore/rootReducer.js +1 -1
  763. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  764. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  765. package/reduxStore/selectors/helpers.js +1 -1
  766. package/reduxStore/selectors/index.js +1 -1
  767. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  768. package/reduxStore/selectors/modalsSelectors.js +1 -1
  769. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  770. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  771. package/reduxStore/selectors/toastsSelectors.js +1 -1
  772. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  773. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  774. package/reduxStore/slices/accountInfoSlice.js +1 -1
  775. package/reduxStore/slices/dappModalsSlice.js +1 -1
  776. package/reduxStore/slices/index.js +1 -1
  777. package/reduxStore/slices/loginInfoSlice.js +1 -1
  778. package/reduxStore/slices/modalsSlice.js +1 -1
  779. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  780. package/reduxStore/slices/toastsSlice.js +1 -1
  781. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  782. package/reduxStore/slices/transactionsSlice.js +1 -1
  783. package/reduxStore/store.js +1 -1
  784. package/services/index.js +1 -1
  785. package/services/nativeAuth/helpers/getLatestBlockHash.d.ts +1 -1
  786. package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  787. package/services/nativeAuth/helpers/index.js +1 -1
  788. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  789. package/services/nativeAuth/index.js +1 -1
  790. package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  791. package/services/nativeAuth/methods/getToken.js +1 -1
  792. package/services/nativeAuth/methods/index.js +1 -1
  793. package/services/nativeAuth/nativeAuth.js +1 -1
  794. package/services/transactions/clearTransactions.js +1 -1
  795. package/services/transactions/index.js +1 -1
  796. package/services/transactions/isCrossShardTransaction.js +1 -1
  797. package/services/transactions/sendTransactions.js +1 -1
  798. package/services/transactions/signTransactions.js +1 -1
  799. package/services/transactions/transformAndSignTransactions.js +1 -1
  800. package/services/transactions/utils.js +1 -1
  801. package/types/enums.types.d.ts +2 -1
  802. package/types/enums.types.js +1 -1
  803. package/types/index.js +1 -1
  804. package/types/login.types.d.ts +1 -0
  805. package/types/login.types.js +1 -1
  806. package/utils/account/getAccount.js +1 -1
  807. package/utils/account/getAccountBalance.js +1 -1
  808. package/utils/account/getAccountProviderType.js +1 -1
  809. package/utils/account/getAccountShard.js +1 -1
  810. package/utils/account/getAddress.js +1 -1
  811. package/utils/account/getIsProviderEqualTo.js +1 -1
  812. package/utils/account/getLatestNonce.js +1 -1
  813. package/utils/account/getShardOfAddress.js +1 -1
  814. package/utils/account/index.js +1 -1
  815. package/utils/account/loginWithExternalProvider.js +1 -1
  816. package/utils/account/refreshAccount.js +1 -1
  817. package/utils/account/setNonce.js +1 -1
  818. package/utils/account/signMessage.js +1 -1
  819. package/utils/getIsLoggedIn.js +1 -1
  820. package/utils/index.js +1 -1
  821. package/utils/logout.js +1 -1
  822. package/utils/network/getChainID.js +1 -1
  823. package/utils/network/getEgldLabel.js +1 -1
  824. package/utils/network/getNetworkConfig.js +1 -1
  825. package/utils/network/index.js +1 -1
  826. package/utils/operations/calculateFeeLimit.js +1 -1
  827. package/utils/operations/denominate.js +1 -1
  828. package/utils/operations/formatAmount.js +1 -1
  829. package/utils/operations/index.js +1 -1
  830. package/utils/operations/nominate.js +1 -1
  831. package/utils/operations/parseAmount.js +1 -1
  832. package/utils/platform/detectCurrentPlatform.js +1 -1
  833. package/utils/smartContracts.js +1 -1
  834. package/utils/toasts/customToastsActions.js +1 -1
  835. package/utils/toasts/index.js +1 -1
  836. package/utils/transactions/getAllTransactionsLink.js +1 -1
  837. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  838. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  839. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  840. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  841. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  842. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  843. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  844. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  845. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  846. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  847. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  848. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  849. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  850. package/utils/transactions/getTokenFromData.js +1 -1
  851. package/utils/transactions/getTransactionLink.js +1 -1
  852. package/utils/transactions/index.js +1 -1
  853. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  854. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  855. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  856. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  857. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  858. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  859. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  860. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  861. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  862. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  863. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  864. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  865. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  866. package/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
  867. package/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
  868. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  869. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  870. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  871. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  872. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  873. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  874. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  875. package/utils/transactions/transactionStateByStatus.js +1 -1
  876. package/utils/validation/index.js +1 -1
  877. package/utils/validation/maxDecimals.js +1 -1
  878. package/utils/validation/stringIsFloat.js +1 -1
  879. package/web/hooks/index.js +1 -1
  880. package/web/hooks/useIdleTimer.js +1 -1
  881. package/web/index.js +1 -1
  882. package/wrappers/AppInitializer.js +1 -1
  883. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  884. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  885. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  886. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  887. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  888. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  889. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  890. package/wrappers/DappProvider/CustomComponents.js +1 -1
  891. package/wrappers/DappProvider/index.js +1 -1
  892. package/wrappers/index.js +1 -1
  893. package/__chunks__/chunk-3EYFCRQJ.js +0 -2
  894. package/__chunks__/chunk-3F3J26IL.js +0 -2
  895. package/__chunks__/chunk-3LTTE7Z4.js +0 -2
  896. package/__chunks__/chunk-3XYPMC5Z.js +0 -2
  897. package/__chunks__/chunk-3YOLWVYN.js +0 -2
  898. package/__chunks__/chunk-42BPBN4G.js +0 -2
  899. package/__chunks__/chunk-43CTUMZY.js +0 -2
  900. package/__chunks__/chunk-573MD3HA.js +0 -2
  901. package/__chunks__/chunk-7CRYWUS6.js +0 -2
  902. package/__chunks__/chunk-7NADEOVW.js +0 -2
  903. package/__chunks__/chunk-7ZZWUK5N.js +0 -2
  904. package/__chunks__/chunk-A4RZQEKA.js +0 -2
  905. package/__chunks__/chunk-AJVN5NMC.js +0 -2
  906. package/__chunks__/chunk-BQOSJ42S.js +0 -2
  907. package/__chunks__/chunk-BQY4YEPO.js +0 -2
  908. package/__chunks__/chunk-CKRLCHHT.js +0 -2
  909. package/__chunks__/chunk-CX7JJAI7.js +0 -2
  910. package/__chunks__/chunk-D3DU3GYZ.js +0 -2
  911. package/__chunks__/chunk-FAPWAQOI.js +0 -2
  912. package/__chunks__/chunk-FLNAHHFO.js +0 -2
  913. package/__chunks__/chunk-G4FTNX3C.js +0 -2
  914. package/__chunks__/chunk-GNJAE3HJ.js +0 -2
  915. package/__chunks__/chunk-GQMTJB4L.js +0 -2
  916. package/__chunks__/chunk-JAEDB3IA.js +0 -2
  917. package/__chunks__/chunk-KCCZWHLF.js +0 -2
  918. package/__chunks__/chunk-KQCX4VG2.js +0 -2
  919. package/__chunks__/chunk-KQF4EULM.js +0 -2
  920. package/__chunks__/chunk-KX4VZFVE.js +0 -2
  921. package/__chunks__/chunk-LG6WIZHT.js +0 -2
  922. package/__chunks__/chunk-LM64ZHBF.js +0 -2
  923. package/__chunks__/chunk-MAPKARLD.js +0 -2
  924. package/__chunks__/chunk-N7H3FMAE.js +0 -2
  925. package/__chunks__/chunk-P2E3TG5U.js +0 -2
  926. package/__chunks__/chunk-PURPYWQM.js +0 -2
  927. package/__chunks__/chunk-RBHVYE2Y.js +0 -2
  928. package/__chunks__/chunk-RGJUSITX.js +0 -2
  929. package/__chunks__/chunk-RQ5KJRJY.js +0 -2
  930. package/__chunks__/chunk-S6DXOR2S.js +0 -2
  931. package/__chunks__/chunk-SCCXHHWP.js +0 -2
  932. package/__chunks__/chunk-SPNCRNER.js +0 -2
  933. package/__chunks__/chunk-T6SOZMFL.js +0 -2
  934. package/__chunks__/chunk-TGSNOZEZ.js +0 -2
  935. package/__chunks__/chunk-TTS3WFEE.js +0 -2
  936. package/__chunks__/chunk-UC3M6BHM.js +0 -2
  937. package/__chunks__/chunk-WALAONSP.js +0 -2
  938. package/__chunks__/chunk-XCBMXPY5.js +0 -2
  939. package/__chunks__/chunk-Y3CLO3PP.js +0 -2
  940. package/__chunks__/chunk-YA6SZOY2.js +0 -2
  941. package/__chunks__/chunk-YBGCB57C.js +0 -2
  942. package/__chunks__/chunk-Z4BLO2TH.js +0 -2
  943. package/__chunks__/chunk-Z6WGQSRM.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var ol=Object.create;var Zt=Object.defineProperty,il=Object.defineProperties,sl=Object.getOwnPropertyDescriptor,al=Object.getOwnPropertyDescriptors,cl=Object.getOwnPropertyNames,yr=Object.getOwnPropertySymbols,ll=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable;var Ho=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))vn.call(t,r)&&Ho(e,r,t[r]);if(yr)for(var r of yr(t))zo.call(t,r)&&Ho(e,r,t[r]);return e},L=(e,t)=>il(e,al(t));var jo=e=>typeof e=="symbol"?e:e+"",rt=(e,t)=>{var r={};for(var o in e)vn.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&yr)for(var o of yr(e))t.indexOf(o)<0&&zo.call(e,o)&&(r[o]=e[o]);return r};var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var hr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),nt=(e,t)=>{for(var r in t)Zt(e,r,{get:t[r],enumerable:!0})},qo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!vn.call(e,i)&&i!==r&&Zt(e,i,{get:()=>t[i],enumerable:!(o=sl(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?ol(ll(e)):{},qo(t||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>qo(Zt({},"__esModule",{value:!0}),e);var f=(e,t,r)=>new Promise((o,i)=>{var l=u=>{try{d(r.next(u))}catch(g){i(g)}},p=u=>{try{d(r.throw(u))}catch(g){i(g)}},d=u=>u.done?o(u.value):Promise.resolve(u.value).then(l,p);d((r=r.apply(e,t)).next())});var Yo=hr(Sr=>{"use strict";n();Sr.byteLength=ul;Sr.toByteArray=ml;Sr.fromByteArray=Tl;var he=[],ue=[],pl=typeof Uint8Array!="undefined"?Uint8Array:Array,An="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ot=0,Ko=An.length;ot<Ko;++ot)he[ot]=An[ot],ue[An.charCodeAt(ot)]=ot;var ot,Ko;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Jo(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ul(e){var t=Jo(e),r=t[0],o=t[1];return(r+o)*3/4-o}function dl(e,t,r){return(t+r)*3/4-r}function ml(e){var t,r=Jo(e),o=r[0],i=r[1],l=new pl(dl(e,o,i)),p=0,d=i>0?o-4:o,u;for(u=0;u<d;u+=4)t=ue[e.charCodeAt(u)]<<18|ue[e.charCodeAt(u+1)]<<12|ue[e.charCodeAt(u+2)]<<6|ue[e.charCodeAt(u+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=ue[e.charCodeAt(u)]<<2|ue[e.charCodeAt(u+1)]>>4,l[p++]=t&255),i===1&&(t=ue[e.charCodeAt(u)]<<10|ue[e.charCodeAt(u+1)]<<4|ue[e.charCodeAt(u+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function gl(e){return he[e>>18&63]+he[e>>12&63]+he[e>>6&63]+he[e&63]}function fl(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(gl(o));return i.join("")}function Tl(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(fl(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(he[t>>2]+he[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(he[t>>10]+he[t>>4&63]+he[t<<2&63]+"=")),i.join("")}});var Zo=hr(In=>{n();In.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,u=(1<<d)-1,g=u>>1,T=-7,h=r?i-1:0,I=r?-1:1,C=e[t+h];for(h+=I,l=C&(1<<-T)-1,C>>=-T,T+=d;T>0;l=l*256+e[t+h],h+=I,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=o;T>0;p=p*256+e[t+h],h+=I,T-=8);if(l===0)l=1-g;else{if(l===u)return p?NaN:(C?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(C?-1:1)*p*Math.pow(2,l-o)};In.write=function(e,t,r,o,i,l){var p,d,u,g=l*8-i-1,T=(1<<g)-1,h=T>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=o?0:l-1,k=o?1:-1,b=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=T):(p=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-p))<1&&(p--,u*=2),p+h>=1?t+=I/u:t+=I*Math.pow(2,1-h),t*u>=2&&(p++,u/=2),p+h>=T?(d=0,p=T):p+h>=1?(d=(t*u-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+C]=d&255,C+=k,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+C]=p&255,C+=k,p/=256,g-=8);e[r+C-k]|=b*128}});var pi=hr(It=>{"use strict";n();var bn=Yo(),At=Zo(),Xo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;It.Buffer=m;It.SlowBuffer=vl;It.INSPECT_MAX_BYTES=50;var xr=2147483647;It.kMaxLength=xr;m.TYPED_ARRAY_SUPPORT=yl();!m.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 yl(){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(m.prototype,"parent",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.buffer}});Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.byteOffset}});function ke(e){if(e>xr)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,m.prototype),t}function m(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 Pn(e)}return ti(e,t,r)}m.poolSize=8192;function ti(e,t,r){if(typeof e=="string")return Sl(e,t);if(ArrayBuffer.isView(e))return xl(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(Se(e,ArrayBuffer)||e&&Se(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Se(e,SharedArrayBuffer)||e&&Se(e.buffer,SharedArrayBuffer)))return kn(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return m.from(o,t,r);var i=wl(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return m.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)}m.from=function(e,t,r){return ti(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function ri(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 hl(e,t,r){return ri(e),e<=0?ke(e):t!==void 0?typeof r=="string"?ke(e).fill(t,r):ke(e).fill(t):ke(e)}m.alloc=function(e,t,r){return hl(e,t,r)};function Pn(e){return ri(e),ke(e<0?0:Cn(e)|0)}m.allocUnsafe=function(e){return Pn(e)};m.allocUnsafeSlow=function(e){return Pn(e)};function Sl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ni(e,t)|0,o=ke(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ln(e){for(var t=e.length<0?0:Cn(e.length)|0,r=ke(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function xl(e){if(Se(e,Uint8Array)){var t=new Uint8Array(e);return kn(t.buffer,t.byteOffset,t.byteLength)}return Ln(e)}function kn(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,m.prototype),o}function wl(e){if(m.isBuffer(e)){var t=Cn(e.length)|0,r=ke(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Rn(e.length)?ke(0):Ln(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ln(e.data)}function Cn(e){if(e>=xr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xr.toString(16)+" bytes");return e|0}function vl(e){return+e!=e&&(e=0),m.alloc(+e)}m.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==m.prototype};m.compare=function(t,r){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),Se(r,Uint8Array)&&(r=m.from(r,r.offset,r.byteLength)),!m.isBuffer(t)||!m.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};m.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}};m.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return m.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=m.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(Se(p,Uint8Array))l+p.length>i.length?m.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(m.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function ni(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Se(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return En(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return li(e).length;default:if(i)return o?-1:En(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=ni;function Al(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Dl(this,t,r);case"utf8":case"utf-8":return ii(this,t,r);case"ascii":return Rl(this,t,r);case"latin1":case"binary":return Nl(this,t,r);case"base64":return Pl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ml(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function it(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}m.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)it(this,r,r+1);return this};m.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)it(this,r,r+3),it(this,r+1,r+2);return this};m.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)it(this,r,r+7),it(this,r+1,r+6),it(this,r+2,r+5),it(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?ii(this,0,t):Al.apply(this,arguments)};m.prototype.toLocaleString=m.prototype.toString;m.prototype.equals=function(t){if(!m.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:m.compare(this,t)===0};m.prototype.inspect=function(){var t="",r=It.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Xo&&(m.prototype[Xo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),!m.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,u=Math.min(p,d),g=this.slice(i,l),T=t.slice(r,o),h=0;h<u;++h)if(g[h]!==T[h]){p=g[h],d=T[h];break}return p<d?-1:d<p?1:0};function oi(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Rn(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=m.from(t,o)),m.isBuffer(t))return t.length===0?-1:Qo(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qo(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Qo(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function u(C,k){return l===1?C[k]:C.readUInt16BE(k*l)}var g;if(i){var T=-1;for(g=r;g<p;g++)if(u(e,g)===u(t,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*l}else T!==-1&&(g-=g-T),T=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var h=!0,I=0;I<d;I++)if(u(e,g+I)!==u(t,I)){h=!1;break}if(h)return g}return-1}m.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};m.prototype.indexOf=function(t,r,o){return oi(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return oi(this,t,r,o,!1)};function Il(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(Rn(d))return p;e[r+p]=d}return p}function bl(e,t,r,o){return wr(En(t,e.length-r),e,r,o)}function Ll(e,t,r,o){return wr(Fl(t),e,r,o)}function kl(e,t,r,o){return wr(li(t),e,r,o)}function El(e,t,r,o){return wr(Ul(t,e.length-r),e,r,o)}m.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<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 Il(this,t,r,o);case"utf8":case"utf-8":return bl(this,t,r,o);case"ascii":case"latin1":case"binary":return Ll(this,t,r,o);case"base64":return kl(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return El(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pl(e,t,r){return t===0&&r===e.length?bn.fromByteArray(e):bn.fromByteArray(e.slice(t,r))}function ii(e,t,r){r=Math.min(e.length,r);for(var o=[],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 u,g,T,h;switch(d){case 1:l<128&&(p=l);break;case 2:u=e[i+1],(u&192)===128&&(h=(l&31)<<6|u&63,h>127&&(p=h));break;case 3:u=e[i+1],g=e[i+2],(u&192)===128&&(g&192)===128&&(h=(l&15)<<12|(u&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:u=e[i+1],g=e[i+2],T=e[i+3],(u&192)===128&&(g&192)===128&&(T&192)===128&&(h=(l&15)<<18|(u&63)<<12|(g&63)<<6|T&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return Cl(o)}var ei=4096;function Cl(e){var t=e.length;if(t<=ei)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ei));return r}function Rl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Nl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Dl(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Bl[e[l]];return i}function Ml(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}m.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,m.prototype),i};function $(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")}m.prototype.readUintLE=m.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};m.prototype.readUintBE=m.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};m.prototype.readUint8=m.prototype.readUInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};m.prototype.readUint32BE=m.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};m.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(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};m.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(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};m.prototype.readInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};m.prototype.readInt16BE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};m.prototype.readInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};m.prototype.readInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};m.prototype.readFloatLE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!1,52,8)};function ne(e,t,r,o,i,l){if(!m.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+o>e.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};m.prototype.writeUintBE=m.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};m.prototype.writeUint8=m.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,255,0),this[r]=t&255,r+1};m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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};m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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};m.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=0,d=1,u=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&u===0&&this[r+p-1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=o-1,d=1,u=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&u===0&&this[r+p+1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};m.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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};m.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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 si(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ai(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,4,34028234663852886e22,-34028234663852886e22),At.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return ai(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return ai(this,t,r,!1,o)};function ci(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,8,17976931348623157e292,-17976931348623157e292),At.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return ci(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return ci(this,t,r,!1,o)};m.prototype.copy=function(t,r,o,i){if(!m.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};m.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!m.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<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=m.isBuffer(t)?t:m.from(t,i),u=d.length;if(u===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%u]}return this};var Ol=/[^+/0-9A-Za-z-_]/g;function _l(e){if(e=e.split("=")[0],e=e.trim().replace(Ol,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function En(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++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===o){(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 Fl(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ul(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function li(e){return bn.toByteArray(_l(e))}function wr(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Se(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Rn(e){return e!==e}var Bl=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var fi=hr(($d,gi)=>{n();var U=gi.exports={},xe,we;function Nn(){throw new Error("setTimeout has not been defined")}function Dn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?xe=setTimeout:xe=Nn}catch(e){xe=Nn}try{typeof clearTimeout=="function"?we=clearTimeout:we=Dn}catch(e){we=Dn}})();function ui(e){if(xe===setTimeout)return setTimeout(e,0);if((xe===Nn||!xe)&&setTimeout)return xe=setTimeout,setTimeout(e,0);try{return xe(e,0)}catch(t){try{return xe.call(null,e,0)}catch(r){return xe.call(this,e,0)}}}function Wl(e){if(we===clearTimeout)return clearTimeout(e);if((we===Dn||!we)&&clearTimeout)return we=clearTimeout,clearTimeout(e);try{return we(e)}catch(t){try{return we.call(null,e)}catch(r){return we.call(this,e)}}}var Ee=[],bt=!1,st,vr=-1;function Gl(){!bt||!st||(bt=!1,st.length?Ee=st.concat(Ee):vr=-1,Ee.length&&di())}function di(){if(!bt){var e=ui(Gl);bt=!0;for(var t=Ee.length;t;){for(st=Ee,Ee=[];++vr<t;)st&&st[vr].run();vr=-1,t=Ee.length}st=null,bt=!1,Wl(e)}}U.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];Ee.push(new mi(e,t)),Ee.length===1&&!bt&&ui(di)};function mi(e,t){this.fun=e,this.array=t}mi.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Pe(){}U.on=Pe;U.addListener=Pe;U.once=Pe;U.off=Pe;U.removeListener=Pe;U.removeAllListeners=Pe;U.emit=Pe;U.prependListener=Pe;U.prependOnceListener=Pe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var s,a,Vd,n=v(()=>{s=A(pi()),a=A(fi()),Vd=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var at=v(()=>{"use strict";n()});var Ti=v(()=>{"use strict";n()});var yi=v(()=>{"use strict";n()});var hi=v(()=>{"use strict";n()});var M=v(()=>{"use strict";n()});var Si=v(()=>{"use strict";n()});var xi=v(()=>{"use strict";n()});var X=v(()=>{"use strict";n()});var wi=v(()=>{"use strict";n()});var vi=v(()=>{"use strict";n()});var V=v(()=>{"use strict";n();Ti();yi();hi();M();Si();xi();X();wi();vi()});var ct,Ai,cm,Ii,lm,bi,pm,um,$l,Lt=v(()=>{"use strict";n();V();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:Ai,egldLabel:cm}=ct["devnet"],{chainId:Ii,egldLabel:lm}=ct["testnet"],{chainId:bi,egldLabel:pm}=ct["mainnet"],um={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:bi},$l={[Ai]:"devnet",[Ii]:"testnet",[bi]:"mainnet"}});var Mn=v(()=>{"use strict";n()});var Li=v(()=>{"use strict";n()});var Ar,On=v(()=>{"use strict";n();Ar="transaction-status-toast-id"});var ve,ki=v(()=>{"use strict";n();ve=require("@multiversx/sdk-web-wallet-provider")});var Qt,Ir,Ei,Pi,br,Ci,kt,R=v(()=>{"use strict";n();at();Lt();Mn();Li();On();ki();Qt=5e4,Ir=1e9,Ei=1,Pi=1,br="logout",Ci="login",kt="0"});var Et,Lr=v(()=>{"use strict";n();Et=()=>Date.now()/1e3});var Ri=v(()=>{"use strict";n()});var Ni=v(()=>{"use strict";n()});var _n=v(()=>{"use strict";n();Lr();Ri();Ni()});var Un={};nt(Un,{getItem:()=>Hl,localStorageKeys:()=>ae,removeItem:()=>zl,setItem:()=>Vl});var ae,Fn,Vl,Hl,zl,lt=v(()=>{"use strict";n();_n();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Fn=typeof localStorage!="undefined",Vl=({key:e,data:t,expires:r})=>{!Fn||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Hl=e=>{if(!Fn)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:Et()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},zl=e=>{!Fn||localStorage.removeItem(String(e))}});var Bn={};nt(Bn,{clear:()=>_i,getItem:()=>Mi,removeItem:()=>Oi,setItem:()=>Di,storage:()=>jl});var Di,Mi,Oi,_i,jl,Fi=v(()=>{"use strict";n();Di=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=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},Oi=e=>sessionStorage.removeItem(String(e)),_i=()=>sessionStorage.clear(),jl={setItem:Di,getItem:Mi,removeItem:Oi,clear:_i}});var Ae,Pt=v(()=>{"use strict";n();lt();Fi();Ae={session:Bn,local:Un}});var Wn,B,Z,H=v(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");R();B=(0,Wn.createAction)(br),Z=(0,Wn.createAction)(Ci,e=>({payload:e}))});var $n,Ui,Bi,kr,Gn,Wi,pt,Gm,Er,$m,Vn,ql,Vm,Ct,Gi,$i,Pr,Cr=v(()=>{"use strict";n();$n=require("@multiversx/sdk-core"),Ui=require("@reduxjs/toolkit"),Bi=require("redux-persist");R();Pt();lt();H();kr={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:kt},Gn={address:"",websocketEvent:null,accounts:{"":kr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Wi=(0,Ui.createSlice)({name:"accountInfoSlice",initialState:Gn,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new $n.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:kr},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(B,()=>(Ae.local.removeItem(ae.loginExpiresAt),Gn)),e.addCase(Z,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new $n.Address(o).hex()}),e.addCase(Bi.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let u=p&&i in p;t.accounts=u?p:Gn.accounts,t.publicKey=d})}}),{setAccount:pt,setAddress:Gm,setAccountNonce:Er,setAccountShard:$m,setLedgerAccount:Vn,updateLedgerAccount:ql,setWalletConnectAccount:Vm,setIsAccountLoading:Ct,setAccountLoadingError:Gi,setWebsocketEvent:$i}=Wi.actions,Pr=Wi.reducer});function er(){return new Date().setHours(new Date().getHours()+24)}function tr(e){Ae.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var Hn=v(()=>{"use strict";n();Pt();lt()});var Hi,Vi,zi,Qm,Rr,Kl,He,eg,Nr,ji,qi,Dr,rr=v(()=>{"use strict";n();Hi=require("@reduxjs/toolkit");Hn();M();H();Vi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},zi=(0,Hi.createSlice)({name:"loginInfoSlice",initialState:Vi,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(B,()=>Vi),e.addCase(Z,(t,r)=>{t.loginMethod=r.payload.loginMethod,tr(er())})}}),{setLoginMethod:Qm,setWalletConnectLogin:Rr,setLedgerLogin:Kl,setTokenLogin:He,setTokenLoginSignature:eg,setWalletLogin:Nr,invalidateLoginSession:ji,setLogoutRoute:qi}=zi.actions,Dr=zi.reducer});var Ji,Ki,Yi,Zi,Jl,og,Yl,Mr,Or=v(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");H();Ki={},Yi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Ki,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(B,()=>Ki)}}),{setTxSubmittedModal:Zi,setNotificationModal:Jl,clearTxSubmittedModal:og,clearNotificationModal:Yl}=Yi.actions,Mr=Yi.reducer});var Xi,Qi,Ce,ut=v(()=>{"use strict";n();Xi=!1,Qi=(e=!0)=>{Xi=e},Ce=(e,t=0)=>{Xi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function dt({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Zl;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Ce(e)},l)}var Zl,es=v(()=>{"use strict";n();ut();Zl=200});function zn(e){return e[Math.floor(Math.random()*e.length)]}var ts=v(()=>{"use strict";n()});var jn=v(()=>{"use strict";n();Mn()});var mt=v(()=>{"use strict";n();es();ts();jn()});var rs,ns,qn,Xl,os,Kn,is,_r,nr=v(()=>{"use strict";n();rs=require("@reduxjs/toolkit"),ns=A(require("lodash.omit"));mt();qn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Xl={network:qn,chainID:"-1"},os=(0,rs.createSlice)({name:"appConfig",initialState:Xl,reducers:{initializeNetworkConfig:(e,t)=>{let r=zn(t.payload.walletConnectBridgeAddresses),o=zn(t.payload.walletConnectV2RelayAddresses),i=(0,ns.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=L(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Kn,setChainID:is}=os.actions,_r=os.reducer});var ss,Jn,as,Ig,bg,Lg,Fr,Ur=v(()=>{"use strict";n();ss=require("@reduxjs/toolkit");V();H();Jn={isSigning:!1,signedSessions:{}},as=(0,ss.createSlice)({name:"signedMessageInfoSliceState",initialState:Jn,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return L(y({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:L(y({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>Jn},extraReducers:e=>{e.addCase(B,()=>Jn)}}),{setSignSession:Ig,clearSignedMessageInfo:bg,setSignSessionState:Lg}=as.actions,Fr=as.reducer});var ls,ps,cs,us,Yn,Zn,Mg,Og,_g,Fg,Br,Wr=v(()=>{"use strict";n();ls=require("@reduxjs/toolkit"),ps=require("redux-persist");On();V();Lr();H();cs={customToasts:[],transactionToasts:[],failTransactionToast:null},us=(0,ls.createSlice)({name:"toastsSlice",initialState:cs,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(L(y({},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:Et(),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=L(y({},t.payload),{toastId:Ar})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(B,()=>cs),e.addCase(ps.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Yn,removeCustomToast:Zn,addTransactionToast:Mg,removeTransactionToast:Og,addFailTransactionToast:_g,removeFailTransactionToast:Fg}=us.actions,Br=us.reducer});var ds,Qn,eo,to,Ql,Xn,ms,Gg,ep,ro,Gr,$r=v(()=>{"use strict";n();ds=require("@reduxjs/toolkit");H();Qn="Transaction failed",eo="Transaction successful",to="Processing transaction",Ql="Transaction submitted",Xn={},ms=(0,ds.createSlice)({name:"transactionsInfo",initialState:Xn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Qn,successMessage:(o==null?void 0:o.successMessage)||eo,processingMessage:(o==null?void 0:o.processingMessage)||to,submittedMessage:(o==null?void 0:o.submittedMessage)||Ql,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Xn},extraReducers:e=>{e.addCase(B,()=>Xn)}}),{clearTransactionsInfo:Gg,setTransactionsDisplayInfo:ep,clearTransactionsInfoForSessionId:ro}=ms.actions,Gr=ms.reducer});function Re(e){return e!=null&&(cp(e)||dp(e))}function gt(e){return e!=null&&(lp(e)||mp(e))}function ft(e){return e!=null&&(pp(e)||gp(e))}function no(e){return e!=null&&up(e)}function cp(e){return e!=null&&tp.includes(e)}function lp(e){return e!=null&&rp.includes(e)}function pp(e){return e!=null&&np.includes(e)}function up(e){return e!=null&&op.includes(e)}function dp(e){return e!=null&&ip.includes(e)}function mp(e){return e!=null&&sp.includes(e)}function gp(e){return e!=null&&ap.includes(e)}var tp,rp,np,op,ip,sp,ap,Nt=v(()=>{"use strict";n();M();tp=["sent"],rp=["success"],np=["fail","cancelled","timedOut"],op=["timedOut"],ip=["pending"],sp=["success"],ap=["fail","invalid"]});var gs,fs,or,fp,Ts,ir,Tt,Tp,Dt,yp,hp,Yg,Sp,Vr,oo,Hr,zr=v(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");M();Nt();H();or={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},fp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ts=(0,gs.createSlice)({name:"transactionsSlice",initialState:or,reducers:{moveTransactionsToSignedState:(e,t)=>{var u,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((u=e.customTransactionInformationForSessionId)==null?void 0:u[r])||fp;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=or.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=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,u,g,T,h,I;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(u=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:u.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(b=>b.hash===l?L(y({},b),{status:o,errorMessage:i}):b);let C=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(b=>gt(b.status)),k=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(b=>ft(b.status));C&&(e.signedTransactions[r].status="success"),k&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=or.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=or.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(B,()=>or),e.addCase(fs.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[u,g])=>{let T=new Date(u),h=new Date;return h.setHours(h.getHours()+5),h-T>0||(d[u]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ir,updateSignedTransactions:Tt,setTransactionsToSign:Tp,clearAllTransactionsToSign:Dt,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:Yg,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:Vr,moveTransactionsToSignedState:oo}=Ts.actions,Hr=Ts.reducer});var P=v(()=>{"use strict";n();Cr();rr();Or();nr();Ur();Wr();$r();zr()});var io=v(()=>{"use strict";n()});var ws,xs,vs,wf,vf,Af,If,bf,Lf,As,Is=v(()=>{"use strict";n();ws=require("@reduxjs/toolkit");H();xs={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},vs=(0,ws.createSlice)({name:"dappModalsSlice",initialState:xs,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=y({},t.payload)}},extraReducers:e=>{e.addCase(B,()=>xs)}}),{setDappModalVisibility:wf,setDappModalHeaderVisibility:vf,setDappModalFooterVisibility:Af,setDappModalHeaderText:If,setDappModalFooterText:bf,setDappModalConfig:Lf}=vs.actions,As=vs.reducer});var bs,Ap,Ip,yt,Jr=v(()=>{"use strict";n();bs=require("@reduxjs/toolkit");io();Cr();Is();rr();Or();nr();Ur();Wr();$r();zr();Ap={["account"]:Pr,["dappModal"]:As,["loginInfo"]:Dr,["modals"]:Mr,["networkConfig"]:_r,["signedMessageInfo"]:Fr,["toasts"]:Br,["transactionsInfo"]:Gr,["transactions"]:Hr},Ip=(e={})=>(0,bs.combineReducers)(y(y({},Ap),e)),yt=Ip});var Ps={};nt(Ps,{default:()=>Bp,sessionStorageReducers:()=>so});function je(e,t=[]){return{key:e,version:1,storage:ks.default,blacklist:t}}var ce,Ls,ks,bp,sr,Lp,kp,Ep,Pp,Cp,Rp,Np,Dp,Mp,Es,Op,so,_p,Fp,Up,Bp,Cs=v(()=>{"use strict";n();ce=require("redux-persist"),Ls=A(require("redux-persist/lib/storage")),ks=A(require("redux-persist/lib/storage/session"));Jr();P();Cr();rr();Or();nr();Ur();Wr();$r();zr();io();bp={persistReducersStorageType:"localStorage"},sr={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Lp=je(sr["account"]),kp=je(sr["loginInfo"]),Ep=je(sr["modals"]),Pp=je(sr["networkConfig"]),Cp={2:e=>L(y({},e),{networkConfig:qn})};Rp=je("sdk-dapp-transactionsInfo"),Np=je("sdk-dapp-transactions",["transactionsToSign"]),Dp=je("sdk-dapp-toasts"),Mp=je("sdk-dapp-signedMessageInfo"),Es={key:"sdk-dapp-store",version:2,storage:Ls.default,whitelist:Object.keys(sr),migrate:(0,ce.createMigrate)(Cp,{debug:!1})},Op=L(y({},Es),{whitelist:[]}),so={["toasts"]:(0,ce.persistReducer)(Dp,Br),["transactions"]:(0,ce.persistReducer)(Np,Hr),["transactionsInfo"]:(0,ce.persistReducer)(Rp,Gr),["signedMessageInfo"]:(0,ce.persistReducer)(Mp,Fr)},_p=L(y({},so),{["account"]:(0,ce.persistReducer)(Lp,Pr),["loginInfo"]:(0,ce.persistReducer)(kp,Dr),["modals"]:(0,ce.persistReducer)(Ep,Mr),["networkConfig"]:(0,ce.persistReducer)(Pp,_r)}),Fp=bp.persistReducersStorageType==="localStorage",Up=Fp?(0,ce.persistReducer)(Es,yt(so)):(0,ce.persistReducer)(Op,yt(_p)),Bp=Up});var Rs={};nt(Rs,{default:()=>Wp});var Wp,Ns=v(()=>{"use strict";n();Jr();Wp=yt()});var Ds={};nt(Ds,{default:()=>$p});var de,Gp,$p,Ms=v(()=>{"use strict";n();de=require("redux-persist"),Gp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],$p=Gp});var Fs={};nt(Fs,{default:()=>_s});function _s(e){return(0,Os.persistStore)(e)}var Os,Us=v(()=>{"use strict";n();Os=require("redux-persist")});var _d={};nt(_d,{AppInitializer:()=>ko,AuthenticatedRoutesWrapper:()=>ka,AxiosInterceptor:()=>Co,AxiosInterceptorContext:()=>zu,AxiosInterceptorContextProvider:()=>Eo,DappProvider:()=>Od,LoginInfoListener:()=>Po,useAxiosInterceptorContext:()=>Gt});module.exports=Xt(_d);n();n();var ho=A(require("react"));n();var zs=require("react"),Ot=require("react-redux");n();var ao=require("@reduxjs/toolkit"),$s=require("react-redux/lib/utils/Subscription");P();n();var hs=A(require("lodash.throttle"));R();n();var ys=A(require("lodash.isequal")),jr=require("reselect");V();var x=(0,jr.createSelectorCreator)(jr.defaultMemoize,ys.default),Mt=(e,t)=>e!=""&&Boolean(t);P();Hn();Pt();lt();var xp=[br],qr=!1,wp=(0,hs.default)(()=>{tr(er())},5e3),Ss=e=>t=>r=>{var u;if(xp.includes(r.type))return t(r);let o=e.getState(),i=Ae.local.getItem(ae.loginExpiresAt);if(!Mt((u=o==null?void 0:o.loginInfo)==null?void 0:u.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return tr(er());let p=Date.now();return i-p<0&&!qr?setTimeout(()=>{qr=!0,e.dispatch(ji())},1e3):(qr&&(qr=!1),wp()),t(r)};n();n();function Kr(){return typeof sessionStorage!="undefined"}var Bs=Kr()?(Cs(),Xt(Ps)).default:(Ns(),Xt(Rs)).default,Ws=Kr()?(Ms(),Xt(Ds)).default:[],Gs=Kr()?(Us(),Xt(Fs)).default:e=>e;Jr();var w=(0,ao.configureStore)({reducer:Bs,middleware:e=>e({serializableCheck:{ignoredActions:[...Ws,Er.type,pt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ss)}),Vs=(0,$s.createSubscription)(w),Hs=Gs(w),nT=(0,ao.configureStore)({reducer:yt});var Vp={store:w,subscription:Vs},ar=(0,zs.createContext)(Vp),aT=(0,Ot.createStoreHook)(ar),N=(0,Ot.createDispatchHook)(ar),S=(0,Ot.createSelectorHook)(ar);n();n();P();var Ne=e=>e.account,De=x(Ne,e=>e.address),qe=x(Ne,De,(e,t)=>t in e.accounts?e.accounts[t]:kr),js=x(Ne,qe,(e,t)=>{let i=e,{accounts:r}=i,o=rt(i,["accounts"]);return L(y({},o),{account:t})}),Hp=x(qe,e=>e.balance),qs=x(qe,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uT=x(Ne,e=>e.shard),co=x(Ne,e=>e.ledgerAccount),dT=x(Ne,e=>e.walletConnectAccount),Ks=x(Ne,e=>e.isAccountLoading),mT=x(Ne,e=>e.accountLoadingError),lo=x(Ne,e=>e.websocketEvent);n();var K=e=>e.loginInfo,Js=x(K,e=>e.loginMethod),Me=x(K,De,(e,t)=>Mt(e.loginMethod,t)),Ys=x(K,e=>e.walletConnectLogin),Zs=x(K,e=>e.ledgerLogin),_t=x(K,e=>e.walletLogin),Xs=x(K,e=>e.isLoginSessionInvalid),Yr=x(K,e=>e.tokenLogin),Ft=x(K,e=>e.logoutRoute);n();var Qs=e=>e.modals,ST=x(Qs,e=>e.txSubmittedModal),zp=x(Qs,e=>e.notificationModal);n();var Ie=e=>e.networkConfig,cr=x(Ie,e=>e.chainID),ea=x(Ie,e=>e.network.walletConnectBridgeAddress),ta=x(Ie,e=>e.network.walletConnectV2RelayAddress),ra=x(Ie,e=>e.network.walletConnectV2ProjectId),na=x(Ie,e=>e.network.walletConnectV2Options),Zr=x(Ie,e=>e.network.walletConnectDeepLink),me=x(Ie,e=>e.network),Xr=x(me,e=>e.apiAddress),oa=x(me,e=>e.explorerAddress),ia=x(me,e=>e.egldLabel);n();var po=e=>e.signedMessageInfo,IT=x(po,e=>e.isSigning),bT=x(po,e=>e.errorMessage),LT=x(po,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var uo=e=>e.toasts,PT=x(uo,e=>e.customToasts),CT=x(uo,e=>e.transactionToasts),RT=x(uo,e=>e.failTransactionToast);n();P();var sa={errorMessage:Qn,successMessage:eo,processingMessage:to},jp=e=>e.transactionsInfo,qp=x(jp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||sa);n();n();var le=require("@multiversx/sdk-core");R();n();function mo(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Ut(e){return atob(e)}function Bt(e){var i,l,p;let{data:t}=e,r=mo(t!=null?t:"")?le.TransactionPayload.fromEncoded(t):new le.TransactionPayload(t),o=new le.Transaction(y({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new le.Address(e.receiver),sender:new le.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Qt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Ir,chainID:e.chainID.valueOf(),version:new le.TransactionVersion((p=e.version)!=null?p:Ei)},e.options?{options:new le.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new le.Address(e.sender)),o}n();Nt();n();var Jp=A(require("bignumber.js"));V();n();n();n();n();var Zp=require("@multiversx/sdk-core"),Xp=A(require("bignumber.js"));M();n();var la=require("@multiversx/sdk-core");function Yp(e){try{let t=new la.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function lr(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Yp(e)}n();n();n();var eu=require("@multiversx/sdk-core/out");n();R();n();var pa=require("@multiversx/sdk-core");V();n();n();n();n();M();n();n();n();n();n();n();n();var ua="dapp/config",da="network/config";var Qr="accounts";var go="blocks";n();n();n();n();X();n();n();X();n();n();n();var cu=A(require("bignumber.js"));R();n();var au=require("@multiversx/sdk-core"),fo=A(require("bignumber.js"));R();n();var iu=A(require("bignumber.js"));n();fo.default.config({ROUNDING_MODE:fo.default.ROUND_FLOOR});n();n();n();R();n();n();n();n();R();n();R();n();var lu=require("@multiversx/sdk-core");R();n();var pr=require("@multiversx/sdk-core"),du=require("@multiversx/sdk-network-providers");R();n();n();var pu=A(require("bignumber.js"));R();n();R();n();n();n();n();n();R();n();X();var gu=["reDelegateRewards","claimRewards","unBond"],fu=["wrapEgld","unwrapEgld"],Tu=["unStake"],yu=["unDelegate"];n();n();n();R();n();var wu=A(require("bignumber.js"));n();n();n();X();n();var vu=A(require("bignumber.js"));n();n();n();n();X();n();n();n();var bu=A(require("linkifyjs"));n();R();n();var Lu=A(require("bignumber.js"));n();V();n();n();M();n();M();n();n();n();X();n();X();n();var ku=A(require("bignumber.js"));R();X();n();X();n();var ha=require("react");V();n();n();X();n();var Eu=require("@multiversx/sdk-core/out"),Pu=A(require("bignumber.js"));X();n();X();n();n();M();var rv=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Sa=require("react");V();n();var Ru=require("react");X();var lv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var nn=e=>e.transactions,Je=x(nn,e=>e.signedTransactions),Nu=x(nn,e=>e.signTransactionsError),xa=x(nn,e=>e.signTransactionsCancelMessage),on=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),yo=x(Je,on(Re)),wa=x(Je,on(gt)),va=x(Je,on(ft)),Du=x(Je,on(no)),Aa=x(nn,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:L(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Bt(r)))||[]})}),Mu=x(Je,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});ut();n();n();function Ia(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function ba(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Ou(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((g,T,h)=>{if(T==="*"){let I=d[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return g[T]=_u(d[h]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Ou(e,t=!1,r=!0){Ia(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,d)=>(o.push(d),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function _u(e,t){try{return decodeURIComponent(e)}catch(r){return Ia(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}var La=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>ba(i,t)!==null);var ka=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=S(Me),l=S(Ks),p=S(_t),u=La(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Ce(r),null):ho.default.createElement(ho.default.Fragment,null,e)};n();var Ue=A(require("react")),ja=require("@multiversx/sdk-core/out");n();n();n();var Ea=A(require("axios"));function Pa(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=me(w.getState()),o=e.map(l=>Ea.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var Ca=A(require("axios"));function sn(e){return f(this,null,function*(){let t=Xr(w.getState()),r=e.map(i=>i.hash),{data:o}=yield Ca.default.get(`${t}/transactions`,{params:{hashes:r.join(","),withScResults:!0}});return e.map(({hash:i,previousStatus:l})=>{let p=o.find(d=>(d==null?void 0:d.txHash)===i);return{hash:i,data:p==null?void 0:p.data,invalidTransaction:p==null,status:p==null?void 0:p.status,results:p==null?void 0:p.results,sender:p==null?void 0:p.sender,receiver:p==null?void 0:p.receiver,previousStatus:l,hasStatusChanged:p&&p.status!==l}})})}n();var Uu=A(require("axios"));n();n();var Bu=A(require("axios"));n();var Wu=A(require("axios"));n();n();n();var Na=A(require("axios"));n();n();var an=e=>{let t=e!=null?e:Xr(w.getState());return t.endsWith("/")?t.slice(0,-1):t};function Da(e){return f(this,null,function*(){if(!e)return null;let r=`${an()}/${Qr}/${e}`;try{let{data:o}=yield Na.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();Lt();n();var Ma=A(require("axios"));function So(e){return f(this,null,function*(){let t=`${e}/${ua}`;try{let{data:o}=yield Ma.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=rt(r,[jo(i),"decimals"]);return L(y({},d),{decimals:l,digits:p})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var Oa=A(require("axios"));function _a(){return f(this,null,function*(){var r;let t=`${an()}/${da}`;try{let{data:o}=yield Oa.default.get(t);if(o!=null)return(r=o==null?void 0:o.data)==null?void 0:r.config}catch(o){console.error("error fetching configuration for ",t)}return null})}n();Lt();n();Lt();n();var Gu=A(require("axios"));Lt();n();var Oe=()=>S(js);nr();n();n();n();n();var Fa=require("@multiversx/sdk-extension-provider"),Ua=require("@multiversx/sdk-hw-provider"),Ba=require("@multiversx/sdk-opera-provider"),Wa=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Ga=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),xo=require("@multiversx/sdk-web-wallet-provider");R();M();var $u="/dapp/init",ht=e=>{switch(e==null?void 0:e.constructor){case xo.WalletProvider:return"wallet";case Wa.WalletConnectProvider:return"walletconnect";case Ga.WalletConnectV2Provider:return"walletconnectv2";case Ua.HWProvider:return"ledger";case Fa.ExtensionProvider:return"extension";case Ba.OperaProvider:return"opera";case cn:return"";default:return"extra"}},wo=e=>new xo.WalletProvider(`${e}${$u}`),vo=e=>f(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Pi}}),_e=e=>`Unable to perform ${e}, Provider not initialized`,cn=class{init(){return Promise.resolve(!1)}login(t){throw new Error(_e(`login with options: ${t}`))}logout(t){throw new Error(_e(`logout with options: ${t}`))}getAddress(){throw new Error(_e("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(_e(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(_e(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(_e(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(_e(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(_e(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(_e(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},ur=new cn;var Io=ur,Ao=null;function pe(e){Io=e}function bo(e){Ao=e}function ln(){Ao!=null&&(Io=Ao)}function oe(){return Io||ur}H();V();n();function ge(){return Me(w.getState())}n();n();M();n();n();function $a(){let e=oe();return ht(e)}function fe(e){return $a()===e}function Fe(){let{search:e}=window.location,t=w.getState(),r=oe(),o=De(t),i=Me(t),l=_t(t);if(!r)throw"provider not initialized";return fe("ledger")&&i?new Promise(p=>{p(o)}):!fe("")&&!fe("wallet")&&!fe("extra")?r.getAddress():new Promise(p=>{if(l!=null){let d=new URLSearchParams(e),u=Object.fromEntries(d);lr(u.address)&&p(u.address)}i&&p(o),p("")})}n();function Ye(e){return f(this,null,function*(){return yield Da(e)})}n();P();function Va(e){w.dispatch(Er(e))}n();function Wt(e){let t=w.getState(),r=qs(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();P();var Ha=()=>f(void 0,null,function*(){try{let e=yield Fe();try{let t=yield Ye(e);if(t!=null){let r=L(y({},t),{nonce:Wt(t)});return w.dispatch(pt(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function pn(){return f(this,null,function*(){let e=oe();if(e==null)throw"Provider not initialized";if(!e.isInitialized||e.isInitialized())return Ha();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?Ha():void 0}catch(t){console.error("Failed initializing provider ",t)}})}n();var za=require("@multiversx/sdk-core");n();H();V();ut();Pt();lt();var Vu=e=>{let t=Ae.local.getItem(ae.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(Ae.local.setItem({key:ae.logoutEvent,data:e,expires:0}),Ae.local.removeItem(ae.logoutEvent))};function ee(e,t,r=!0){return f(this,null,function*(){let o=oe(),i=ht(o),l=ge(),p=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!l||!o){Lo(e,t,!1);return}try{let d=yield Fe();Vu(d)}catch(d){Lo(e,t,!1),console.error("error fetching logout address",d)}p&&Qi(),w.dispatch(B());try{let u=p&&!e?window.location.origin:e;p?setTimeout(()=>{o.logout({callbackUrl:u})}):(yield o.logout({callbackUrl:u}),Lo(e,t,p))}catch(d){console.error("error logging out",d)}})}function Lo(e,t,r){e&&!r&&(typeof t=="function"?t(e):Ce(e))}rr();function ko({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,l]=(0,Ue.useState)(!1),p=Oe(),d=S(Xs),{address:u,publicKey:g}=p,T=N();function h(){return f(this,null,function*(){let C=!(e!=null&&e.skipFetchFromServer),k=e==null?void 0:e.apiAddress,b=ct[r]||{},_=y(y({},b),e);if(C){let D=b==null?void 0:b.apiAddress,z=yield So(k||D);if(z!=null){let ie=y(y(y({},b),z),e);T(Kn(ie));return}}T(Kn(_))})}function I(){return f(this,null,function*(){T(qi(o)),yield h(),l(!0)})}return(0,Ue.useEffect)(()=>{u&&new ja.Address(u).hex()!==g&&ee(o)},[u,g,o]),(0,Ue.useEffect)(()=>{I()},[e,r,o]),(0,Ue.useEffect)(()=>{p.address&&d&&ee(o)},[d,p.address,o]),i?Ue.default.createElement(Ue.default.Fragment,null,t):null}n();var Kt=A(require("react")),tl=require("react-redux"),rl=require("redux-persist/integration/react");n();var We=require("react"),sc=require("@multiversx/sdk-extension-provider"),ac=require("@multiversx/sdk-hw-provider"),cc=require("@multiversx/sdk-opera-provider");n();var Qa=require("react"),mn=require("@multiversx/sdk-core");n();n();var St=()=>S(qe);n();n();n();n();n();var Be=A(require("react"));var qa=(0,Be.createContext)({}),Hu=w.getState();function Eo({children:e}){let[t,r]=(0,Be.useState)(),[o,i]=(0,Be.useState)(K(Hu)),l={address:t,setAddress:r,isLoggedIn:Mt(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Be.default.createElement(qa.Provider,{value:l},e)}function Gt(){let e=(0,Be.useContext)(qa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var dr=A(require("react"));var Po=({children:e=null})=>{var l;let{address:t}=St(),r=S(K),{setLoginInfo:o,setAddress:i}=Gt();return(0,dr.useEffect)(()=>{i(t),o(r)},[(l=r.tokenLogin)==null?void 0:l.loginToken,t]),dr.default.createElement(dr.default.Fragment,null,e)};n();var Ze=A(require("react")),un=A(require("axios"));var Co=({children:e,authenticatedDomanis:t})=>{var d;let{loginInfo:r}=Gt(),o=(d=r==null?void 0:r.tokenLogin)==null?void 0:d.nativeAuthToken,i=(0,Ze.useRef)(-1),l=()=>{un.default.interceptors.response.use(u=>u,u=>{var T,h;let g=(T=u.config)==null?void 0:T.url;return(h=u.config)!=null&&h.params&&(g+=`?${new URLSearchParams(u.config.params).toString()}`),console.error("Axios error for: ",g),Promise.reject(u)})},p=()=>{un.default.interceptors.request.eject(i.current),i.current=un.default.interceptors.request.use(u=>f(void 0,null,function*(){return t.includes(String(u==null?void 0:u.baseURL))&&(u.headers={Authorization:`Bearer ${o}`}),u}),u=>{Promise.reject(u)})};return(0,Ze.useEffect)(l,[]),(0,Ze.useEffect)(()=>{o&&p()},[o]),Ze.default.createElement(Ze.default.Fragment,null,e)};var zu={Interceptor:Co,Listener:Po,Provider:Eo};n();n();var mr=()=>{let e=oe(),t=ht(e);return{provider:e,providerType:t}};n();P();n();n();n();var ju=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),$t=e=>ju(s.Buffer.from(e,"utf8").toString("base64"));n();var Ka=A(require("axios"));var qu=4e4,Ro=null,Vt={current:null},No={current:!1};function Ja(e){return f(this,null,function*(){if(e==null)throw new Error("missing api url");if(Ro!=null&&Date.now()<Ro&&Vt.current!=null)return Vt.current;{if(No.current)return yield Ju();No.current=!0,Vt.current=null;let r=yield Ku(e);return Vt.current=r,Ro=Date.now()+qu,No.current=!1,r}})}function Ku(e){return f(this,null,function*(){let{data:t}=yield Ka.default.get(`${e}/${go}?size=1&fields=hash,timestamp`),[r]=t;return r})}function Ju(){return f(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{Vt.current!=null&&(e(Vt.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var Ya,gr={hostname:typeof window!="undefined"?(Ya=window==null?void 0:window.location)==null?void 0:Ya.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},fr=e=>{var r,o,i,l;return e===!0?gr:{hostname:(r=e==null?void 0:e.hostname)!=null?r:gr.hostname,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:gr.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:gr.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:gr.tokenExpirationToastWarningSeconds}};n();n();n();function Yu(e){return Object.prototype.toString.call(e)==="[object String]"}var dn=e=>{if(!e||!Yu(e))return null;try{let[t,r,o]=e.split("."),i=Ut(t),l=Ut(r),[p,d,u,g]=l.split("."),T=JSON.parse(Ut(g)),h=Ut(p),I={ttl:Number(u),address:i,extraInfo:T,host:h,signature:o,blockHash:d,body:l};return g==="e30"&&delete I.extraInfo,I}catch(t){return null}};var Za=({address:e,token:t,signature:r})=>{let o=$t(e),i=$t(t);return`${o}.${i}.${r}`};n();Lr();var Ht=e=>{let t=dn(e);if(!t)return{isExpired:!1};let r=Et(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,d=r>p,u=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:u}};var Xa=e=>{let{hostname:t,apiAddress:r,expirySeconds:o}=fr(e);return{getNativeAuthConfig:fr,initialize:(...p)=>f(void 0,[...p],function*(l={}){let{hash:d,timestamp:u}=yield Ja(r),g=$t(JSON.stringify(y(y({},l),u?{timestamp:u}:{})));return`${$t(t)}.${d}.${o}.${g}`}),getToken:Za,getTokenExpiration:Ht}};n();var Zu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},be=e=>{let t=S(me),r=S(Yr),o=(0,Qa.useRef)(r==null?void 0:r.loginToken),i=Zu(t.apiAddress,e),l=fr(y(y({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Xa(l),{address:u}=St(),g=N(),T=k=>{o.current=k,g(He(y({loginToken:k},i?{nativeAuthConfig:l}:{})))},h=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(k){console.error("Unable to get block. Login failed.",k);return}}),I=({address:k,signature:b})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(He({loginToken:_,signature:b}));return}let D=d.getToken({address:k,token:_,signature:b});g(He(y({loginToken:_,signature:b,nativeAuthToken:D},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:T,getNativeAuthLoginToken:h,setTokenLoginInfo:I,refreshNativeAuthTokenLogin:b=>f(void 0,[b],function*({signMessageCallback:k}){let _=yield h();if(o.current=_,!_)return;let D=new mn.SignableMessage({address:new mn.Address(u),message:s.Buffer.from(_)}),z=yield k(D,{});I({address:u,signature:z.toJSON().signature})})}};n();var Xe=require("react"),ec=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var gn=require("react");function zt(e,t=[]){let r=(0,gn.useRef)(!0);(0,gn.useEffect)(()=>{r.current?r.current=!1:e()},t)}H();P();M();mt();var Do=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=N(),p=15e3,d=r!=null,u=be(r),g=o,[T,h]=(0,Xe.useState)(""),[I,C]=(0,Xe.useState)(""),{provider:k}=mr(),b=S(ea),_=S(Zr),D=(0,Xe.useRef)(k),z=(0,Xe.useRef)(!0),ie,te=Boolean(I),Qe=!te,$e=te?`${_}?wallet-connect=${encodeURIComponent(I)}`:"";(0,Xe.useEffect)(()=>{tt();let F=setInterval(()=>{tt()},p);return()=>clearInterval(F)},[k]),zt(()=>{!o||wt()},[o]),zt(()=>{D.current=k},[k]);let W=()=>{ee(e)},et=()=>{z.current=!1};function tt(){return f(this,null,function*(){var se,j;if(k==null||!fe("walletconnect")||!Boolean((j=(se=D.current)==null?void 0:se.walletConnector)==null?void 0:j.connected))return;let J={method:"heartbeat",params:{}};try{yield D.current.sendCustomMessage(J)}catch(re){console.error("Connection lost",re),W()}})}function Jt(){return f(this,null,function*(){var F;try{let J=D.current;if(ge()||J==null||!fe("walletconnect"))return;if(!z.current){try{yield(F=D.current)==null?void 0:F.logout()}catch(q){console.warn("Unable to logout")}return}let j=yield J.getAddress();if(!j){console.warn("Login cancelled.");return}let re=yield J.getSignature(),vt={address:j,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(Rr(G)),re&&u.setTokenLoginInfo({signature:re,address:j}),l(Z(vt)),J.walletConnector.on("heartbeat",()=>{clearInterval(ie),ie=setInterval(()=>{console.log("xPortal Mobile Wallet Connection Lost"),W(),clearInterval(ie)},15e4)}),dt({callbackRoute:t,onLoginRedirect:i,options:{address:j,signature:re}})}catch(J){h("Invalid address"),console.error(J)}})}function Yt(F=!0){return f(this,null,function*(){var re,vt;let J=F&&!I;if(!b||((vt=(re=D==null?void 0:D.current)==null?void 0:re.isInitialized)==null?void 0:vt.call(re))&&!J)return;let se={onClientLogin:Jt,onClientLogout:W},j=new ec.WalletConnectProvider(b,se);yield j.init(),z.current=!0,pe(j),D.current=j,F&&wt()})}function wt(){return f(this,null,function*(){var j;if(!b)return;let F=yield(j=D.current)==null?void 0:j.login();if(!Boolean(F))return;if(d&&!g&&(g=yield u.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(!g){C(F);return}u.setLoginToken(g);let se=`${F}&token=${g}`;C(se)})}let E=Boolean(T),O=ge();return[Yt,{error:T,loginFailed:E,isLoading:Qe&&!E,isLoggedIn:O&&!E},{uriDeepLink:$e,walletConnectUri:I,cancelLogin:et}]};n();var Le=require("react"),tc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");H();P();M();mt();var Mo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=N(),p=o!=null,d=be(o),u=r,[g,T]=(0,Le.useState)(""),[h,I]=(0,Le.useState)(""),[C,k]=(0,Le.useState)(!0),[b,_]=(0,Le.useState)([]),D=oe(),z=S(ta),ie=S(ra),te=S(na),Qe=S(cr),$e=S(Zr),W=(0,Le.useRef)(D),et=(0,Le.useRef)(!0),tt=["erd_cancelAction"],Jt=C?"":`${$e}?wallet-connect=${encodeURIComponent(h)}`;zt(()=>{!r||j()},[r]),zt(()=>{W.current=D},[D]),(0,Le.useEffect)(()=>{k(!Boolean(h))},[h]);let Yt=()=>{ee(t)},wt=G=>{console.log("wc2 session event: ",G)},E=()=>{et.current=!1};function O(){return f(this,null,function*(){var G;try{let q=W.current;if(ge()||q==null||!fe("walletconnectv2"))return;if(!et.current){try{yield(G=W.current)==null?void 0:G.logout()}catch(Fd){console.warn("Unable to logout")}return}let Te=yield q.getAddress();if(!Te){console.warn("Login cancelled.");return}let Ve=yield q.getSignature(),wn={address:Te,loginMethod:"walletconnectv2"},nl={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(Rr(nl)),Ve&&d.setTokenLoginInfo({signature:Ve,address:Te}),l(Z(wn)),dt({callbackRoute:e,onLoginRedirect:i,options:{address:Te,signature:Ve}})}catch(q){T("Invalid address"),console.error(q)}})}function F(G=!0){return f(this,null,function*(){if(!ie||!z){T("Invalid WalletConnect setup");return}let q={onClientLogin:O,onClientLogout:Yt,onClientEvent:wt},Y=new tc.WalletConnectV2Provider(q,Qe,z,ie,te);yield Y.init(),et.current=!0,pe(Y),_(Y.pairings),W.current=Y,G&&j()})}function J(G){return f(this,null,function*(){var q,Y,Te;if(!z||!ie){T("Invalid WalletConnect setup");return}if(!G||!G.topic){T("Expired connection");return}try{let{approval:Ve}=yield(q=W.current)==null?void 0:q.connect({topic:G.topic,methods:tt});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(Y=W.current)==null?void 0:Y.login({approval:Ve,token:u})}catch(wn){T("User rejected existing connection proposal"),k(!0),yield F()}}catch(Ve){console.error("Unable to connect to existing session",Ve),T("Unable to connect to existing session")}finally{_((Te=W.current)==null?void 0:Te.pairings)}})}function se(G){return f(this,null,function*(){var q,Y;try{G&&(yield(q=W.current)==null?void 0:q.logout({topic:G}))}catch(Te){console.error("Unable to remove existing pairing",Te),T("Unable to remove existing pairing")}finally{_((Y=W.current)==null?void 0:Y.pairings)}})}function j(){return f(this,null,function*(){var G,q;if(!z||!ie){T("Invalid WalletConnect setup");return}try{let{uri:Y,approval:Te}=yield(G=W.current)==null?void 0:G.connect({methods:tt});if(!Boolean(Y))return;if(I(Y),p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(q=W.current)==null?void 0:q.login({approval:Te,token:u})}catch(wn){T("User rejected connection proposal"),k(!0),yield F()}}catch(Y){console.error("Unable to connect",Y)}})}let re=Boolean(g),vt=ge();return[F,{error:g,loginFailed:re,isLoading:C&&!re,isLoggedIn:vt&&!re},{uriDeepLink:Jt,walletConnectUri:h,cancelLogin:E,connectExisting:J,removeExistingPairing:se,wcPairings:b}]};H();P();M();n();n();var rc=e=>{let t=new URLSearchParams(e).toString(),{pathname:r}=window.location,o=t?`?${t}`:"",i=r?`${r}${o}`:"./";setTimeout(()=>{window.history.replaceState({},document==null?void 0:document.title,i)})};var nc=e=>{var o;let t={};if((o=window==null?void 0:window.location)!=null&&o.search){let i=new URLSearchParams(window.location.search);t=Object.fromEntries(i)}let r={};return e.forEach(i=>{r[i]=t[i],delete t[i]}),{remainingParams:r,clearNavigationHistory:()=>rc(t)}};n();var oc=require("react");n();H();P();V();function fn(e,t){let r=dn(e);if(r==null)return;let o=t!=null?t:w.dispatch,{signature:i,address:l}=r;i&&e&&l&&(o(B()),setTimeout(()=>{o(He({loginToken:e,signature:i,nativeAuthToken:e})),o(Z({address:l,loginMethod:"extra"}))}))}function ic(){var l;let e=N(),t=typeof window!="undefined"?(l=window==null?void 0:window.location)==null?void 0:l.search:"",r=new URLSearchParams(t),o=Object.fromEntries(r),i=o==null?void 0:o.accessToken;(0,oc.useEffect)(()=>{fn(i,e)},[i])}function lc(){let e=S(me),t=S(Ys),r=S(Js),o=S(_t),i=S(De),l=S(co),p=S(Zs),d=S(Me),u=S(Ft),[g,T]=(0,We.useState)(),h=S(Yr),I=h==null?void 0:h.nativeAuthConfig,C=be(I||!1),k=(0,We.useRef)(!1),b=N();ic();let{callbackRoute:_,logoutRoute:D}=t||{callbackRoute:"",logoutRoute:""},[z]=Do({callbackRoute:_,logoutRoute:D}),[ie]=Mo({callbackRoute:_,logoutRoute:D});(0,We.useEffect)(()=>{te()},[e]),(0,We.useEffect)(()=>{wt()},[r]),(0,We.useEffect)(()=>{$e()},[i,e]),(0,We.useEffect)(()=>{Qe()},[l,d,g]);function te(){return f(this,null,function*(){try{let E=yield _a();E&&b(is(E.erd_chain_id))}catch(E){console.error("failed refreshing chainId ",E)}})}function Qe(){l==null&&p!=null&&g&&b(Vn({index:p.index,address:i,hasContractDataEnabled:g.dataEnabled,version:g.version}))}function $e(){return f(this,null,function*(){if(b(Ct(!0)),k.current){k.current=!1,b(Ct(!1));return}if(i)try{let E=yield Ye(i);E&&b(pt(L(y({},E),{address:i,nonce:E.nonce.valueOf()})))}catch(E){b(Gi("Failed getting account")),console.error("Failed getting account ",E)}b(Ct(!1))})}function W(){return f(this,null,function*(){let E=wo(e.walletAddress);if(pe(E),o!=null){try{let O=yield Fe(),{clearNavigationHistory:F,remainingParams:{signature:J}}=nc(["signature","loginToken","address"]);if(!O)return pe(ur),b(He(null)),b(Nr(null)),F();J&&C.setTokenLoginInfo({signature:J,address:O});let se=yield Ye(O);se&&(k.current=!0,b(Ct(!0)),b(Z({address:O,loginMethod:"wallet"})),b(pt(L(y({},se),{nonce:Wt(se)}))),b(Ct(!1))),F()}catch(O){console.error("Failed authenticating wallet user ",O)}b(Nr(null))}})}function et(){return f(this,null,function*(){let E=new ac.HWProvider,O=E.isInitialized();if(O||(O=yield E.init()),!O&&d){console.warn("Could not initialise ledger app"),ee(u);return}return(p==null?void 0:p.index)!=null&&(E.addressIndex=p.index),E})}function tt(){return f(this,null,function*(){try{let E=yield et();if(!E)return;let O=yield vo(E);pe(E),T(O)}catch(E){console.error("Could not initialise ledger app",E),ee(u)}})}function Jt(){return f(this,null,function*(){try{let E=yield Fe(),O=sc.ExtensionProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(E){console.error("Unable to login to ExtensionProvider",E)}})}function Yt(){return f(this,null,function*(){try{let E=yield Fe(),O=cc.OperaProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(E){console.error("Unable to login to OperaProvider",E)}})}function wt(){if(r!=null)switch(r){case"ledger":{tt();break}case"walletconnect":{z(!1);break}case"walletconnectv2":{ie(!1);break}case"extension":{Jt();break}case"opera":{Yt();break}case"extra":{ln();break}case"wallet":case"":{W();break}default:return}}return null}n();n();var Fo=require("@multiversx/sdk-core");V();n();M();var pc=()=>window!=null&&window.ReactNativeWebView?"reactNative":window.webkit?"ios":"web";n();V();var Tn={signTransactions:{["ios"]:e=>window.webkit.messageHandlers.signTransactions.postMessage(e,ye),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye)},signMessage:{["ios"]:e=>window.webkit.messageHandlers.signMessage.postMessage(e),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye)},logout:{["ios"]:()=>window.webkit.messageHandlers.logout.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye)},login:{["ios"]:()=>window.webkit.messageHandlers.login.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye)}};var Oo=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)},_o=pc(),dc,mc,ye=typeof window!="undefined"&&(mc=(dc=window==null?void 0:window.parent)==null?void 0:dc.origin)!=null?mc:"*",uc=e=>{let t=r=>{let o=r.data;if(r.target.origin==ye)try{o=JSON.parse(o),e(o)}catch(i){console.error("error parsing response")}};document.addEventListener("message",t),window.addEventListener("message",t)},gc={init:()=>f(void 0,null,function*(){return!0}),login:()=>f(void 0,null,function*(){return!0}),relogin:()=>f(void 0,null,function*(){try{return Tn.login[_o](),yield new Promise((t,r)=>{function o(i){let{message:l,type:p}=i;if(p==="LOGIN_RESPONSE")try{let{accessToken:d,error:u}=l;u?r(u):(fn(d),ln(),t(d))}catch(d){r("Unable to login")}document.removeEventListener("message",o)}uc(o)})}catch(e){throw console.error("error logging in",e),e}}),logout:()=>(Tn.logout[_o](),new Promise(e=>{e(!0)})),getAddress:Oo("getAddress"),isInitialized:()=>!0,isConnected:()=>f(void 0,null,function*(){return!0}),sendTransaction:Oo("sendTransaction"),signMessage:Oo("signMessage"),signTransactions:e=>f(void 0,null,function*(){try{let t=e.map(o=>o.toPlainObject());return Tn.signTransactions[_o](t),yield new Promise((o,i)=>{window.transactionsSigned=(p,d)=>{if(p=JSON.parse(p),d){i(d),window.transactionsSigned=null;return}o(p.map(u=>Fo.Transaction.fromPlainObject(u))),window.transactionsSigned=null};function l(p){let{message:d,type:u}=p;if(u==="SIGN_TRANSACTIONS_RESPONSE"){let{transactions:g,error:T}=d;try{T?i(T):o(g.map(h=>Fo.Transaction.fromPlainObject(h)))}catch(h){i("Unable to sign")}}document.removeEventListener("message",l)}uc(l)})}catch(t){throw console.error("error sending transaction",t),t}}),signTransaction:function(e){return f(this,null,function*(){return(yield this.signTransactions([e]))[0]})}};n();var qt=A(require("react"));n();n();n();n();var Bc=require("react");n();n();var Uo=()=>S(Ie);n();P();n();n();n();var ed=require("react"),td=require("@multiversx/sdk-web-wallet-provider"),rd=A(require("qs"));R();P();M();n();var yc=require("react"),ld=require("@multiversx/sdk-extension-provider");R();P();M();n();n();n();n();var Tc=require("react"),id=require("@multiversx/sdk-extension-provider");R();P();n();n();var pd=A(require("axios")),ud=A(require("swr"));n();n();var Sc=require("react");n();var hc=require("react");jn();P();V();ut();n();at();P();n();n();n();n();n();function xc(){let e=S(yo),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Nt();n();P();M();n();Nt();function wc(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Re(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();P();M();function vc({results:e,hash:t,sessionId:r}){let o=e==null?void 0:e.find(i=>(i==null?void 0:i.returnMessage)!=="");w.dispatch(ir({transactionHash:t,sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage})),w.dispatch(Tt({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();P();V();function Bo(e){w.dispatch(Tt({sessionId:e,status:"timedOut"}))}var yn={},Wo=[];function md({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(Wo.includes(i))return;if(yn[i]>30){Bo(t);return}if(d||Re(l)){yn[i]=yn[i]?yn[i]+1:1;return}u&&(gt(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(Wo.push(i),setTimeout(()=>w.dispatch(ir({sessionId:t,status:"success",transactionHash:i})),r==null?void 0:r.completedTransactionsDelay)):w.dispatch(ir({sessionId:t,status:l,transactionHash:i}))),o||pn(),ft(l)&&vc({sessionId:t,hash:i,results:p})}catch(g){console.error(g),Bo(t)}}function Ac(l){return f(this,arguments,function*({sessionId:e,transactionBatch:{transactions:t,customTransactionInformation:r},getTransactionsByHash:o=sn,shouldRefreshBalance:i}){try{if(t==null)return;let p=wc(t,Wo),d=yield o(p);for(let u of d)md({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function Ic(){let{pendingTransactionsArray:e}=xc();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Re(l.status));if(o.length>0)for(let[i,l]of o)yield Ac(y({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&pn()})}return t}n();var Sd=require("react");n();n();n();P();n();n();var Td=A(require("bignumber.js"));R();P();V();n();var fd=A(require("bignumber.js"));R();n();var yd=require("@multiversx/sdk-core"),hd=A(require("bignumber.js"));R();M();Nt();n();n();n();n();var bc=require("react");n();n();var xd=require("react"),wd=require("@multiversx/sdk-extension-provider");at();H();M();mt();n();var vd=require("react"),Ad=require("@multiversx/sdk-opera-provider");at();H();M();mt();n();var Ld=require("react");at();P();n();n();_n();n();n();var Id=A(require("platform"));n();n();n();n();n();ut();n();n();n();function Lc(e){return new Promise(t=>{setTimeout(()=>t(),e)})}n();var kc=(e,t,r,o=0)=>f(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Lc(t.delay)),kc(e,t,r,o+1)):null}}),Ec=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return kc(e,t,r)});Pt();n();n();n();P();var bd={};var Pc=e=>{if(e.component!=null){let t=e,{component:r}=t,o=rt(t,["component"]),{payload:i}=w.dispatch(Yn(L(y({},o),{component:null})));return bd[i.toastId]=r,i}return w.dispatch(Yn(e)).payload};n();n();var Cc=A(require("axios"));function $o(e){return f(this,null,function*(){try{let{data:t}=yield Cc.default.get(`${e}/websocket/config`);return`wss://${t.url}`}catch(t){throw console.error(t),new Error("Can not get websocket url")}})}n();n();var Rc=require("react"),Ed=require("@multiversx/sdk-hw-provider");at();H();P();M();mt();n();var kd=require("react");n();n();var Nc=require("react");n();var Oc=require("react");n();var xt=require("react"),Dc=require("socket.io-client");P();n();var Ge={current:null,status:"not_initialized"};var Pd=3e3,Cd=3,Rd=500,Nd=1e3;function Mc(){let e=(0,xt.useRef)(null),{address:t}=St(),r=N(),{network:o}=Uo(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r($i(p))},Nd)},l=(0,xt.useCallback)(Ec(()=>f(this,null,function*(){Ge.status="pending";let p=yield $o(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}Ge.current=(0,Dc.io)(p,{forceNew:!0,reconnectionAttempts:Cd,timeout:Pd,query:{address:t}}),Ge.status="completed",Ge.current.onAny(d=>{i(d)})}),{retries:2,delay:Rd}),[t]);(0,xt.useEffect)(()=>{t&&Ge.status==="not_initialized"&&!Ge.current&&l()},[t,Ge.current]),(0,xt.useEffect)(()=>()=>{var p;(p=Ge.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function _c(e){Mc();let t=S(lo);(0,Oc.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var Fc=e=>e.dappModal,Dd=x(Fc,e=>e.visible),hn=x(Fc,e=>e.modal),SM=x(hn,e=>e.showHeader),xM=x(hn,e=>e.showFooter),wM=x(hn,e=>e.headerText),vM=x(hn,e=>e.footerText);lt();var{logoutEvent:Md}=ae,Uc="storage",Wc=()=>{let{address:e}=Oe(),t=S(Ft);(0,Bc.useEffect)(()=>{let r=o=>{if(!(o.key!==Md||!o.newValue))try{let{data:i}=JSON.parse(o.newValue);i===e&&ee(t)}catch(i){return}};return window.addEventListener(Uc,r),()=>{window.removeEventListener(Uc,r)}},[e,t])};n();n();var Sn=require("react"),Vo=A(require("bignumber.js"));var $c=require("@fortawesome/free-solid-svg-icons");n();n();var Tr=A(require("bignumber.js")),Gc=e=>{let t=new Tr.default(e).dividedBy(1e3).integerValue(Tr.default.ROUND_FLOOR),r=new Tr.default(t).dividedBy(60).integerValue(Tr.default.ROUND_FLOOR),o=r.modulo(60).isGreaterThan(1),i=r.modulo(60).isLessThan(1);return o?`${r} minutes`:i?"less than 1 minute":`${r} minute`};var Vc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),{secondsUntilExpires:r,expiresAt:o}=Ht(t==null?void 0:t.nativeAuthToken),i=(0,Sn.useRef)();return(0,Sn.useEffect)(()=>{var d;let l=new Vo.default(String(r)),p=l.times(1e3);if(!(!r||l.isLessThanOrEqualTo(0))){if((d=t==null?void 0:t.nativeAuthConfig)!=null&&d.tokenExpirationToastWarningSeconds){clearTimeout(i.current);let g=new Vo.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),h=Gc(p),I=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{Pc({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:$c.faRefresh,message:`Your token will expire in ${h}!`})},I)}return()=>{clearTimeout(i.current)}}},[o,e,t==null?void 0:t.nativeAuthConfig]),null};n();var jt=require("react"),Hc=A(require("bignumber.js"));var zc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),r=S(Ft),{isExpired:o,secondsUntilExpires:i,expiresAt:l}=Ht(t==null?void 0:t.nativeAuthToken),p=(0,jt.useRef)(""),d=(0,jt.useRef)();return(0,jt.useEffect)(()=>{e&&o&&ee(r)},[o,e,r]),(0,jt.useEffect)(()=>{let u=new Hc.default(String(i)),g=`${e}_${l}`,T=p.current===g;if(!(i&&u.isGreaterThan(0))||T)return;p.current=g,clearTimeout(d.current);let I=u.times(1e3);return d.current=setTimeout(()=>{ee(r)},I.toNumber()),()=>{clearTimeout(d.current)}},[l,e,r]),null};var jc=()=>(Vc(),Wc(),zc(),null);n();n();var xn=require("react"),Kc=require("@multiversx/sdk-core"),Jc=require("@multiversx/sdk-core/out/signature");P();M();ut();var qc=e=>{let t=e.redirectRoute;t&&Ce(t)},Yc=({sendSignedTransactionsAsync:e=Pa})=>{let t=S(qe),r=S(Je),o=(0,xn.useRef)(!1),i=N(),l=()=>{i(Dt()),o.current=!1};function p(){return f(this,null,function*(){var u;let d=Object.keys(r);for(let g of d){let T=r==null?void 0:r[g],h=(u=T==null?void 0:T.customTransactionInformation)==null?void 0:u.signWithoutSending;if(!g||h){qc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:k}=r[g];if(!k)continue;o.current=!0;let b=k.map(te=>{let Qe=new Kc.Address(te.sender),$e=Bt(te),W=new Jc.Signature(te.signature);return $e.applySignature(W,Qe),$e}),_=yield e(b),D="pending",z=k.map(te=>_.includes(te.hash)?L(y({},te),{status:D}):te);i(Zi({sessionId:g,submittedMessage:"submitted"})),i(Tt({sessionId:g,status:"sent",transactions:z})),l(),Va(t.nonce+k.length),qc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(I){console.error("Unable to send transactions",I),i(Tt({sessionId:g,status:"fail",errorMessage:I.message})),l()}finally{o.current=!1}}})}return(0,xn.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Zc=require("react");function Xc(e){var i;let t=Ic(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:sn,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};_c(o),(0,Zc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function Qc({getTransactionsByHash:e}){return Xc({getTransactionsByHash:e}),null}function el({customComponents:e}){var l,p;let t=e==null?void 0:e.transactionSender,r=e==null?void 0:e.transactionTracker,o=(l=t==null?void 0:t.component)!=null?l:Yc,i=(p=r==null?void 0:r.component)!=null?p:Qc;return qt.default.createElement(qt.default.Fragment,null,qt.default.createElement(o,y({},t==null?void 0:t.props)),qt.default.createElement(i,y({},r==null?void 0:r.props)),qt.default.createElement(jc,null))}var Od=({children:e,customNetworkConfig:t={},externalProvider:r,environment:o,customComponents:i,dappConfig:l})=>{if(!o)throw new Error("missing environment flag");return r!=null&&bo(r),l!=null&&l.shouldUseWebViewProvider&&bo(gc),Kt.default.createElement(tl.Provider,{context:ar,store:w},Kt.default.createElement(rl.PersistGate,{persistor:Hs,loading:null},Kt.default.createElement(ko,{environment:o,customNetworkConfig:t,logoutRoute:l==null?void 0:l.logoutRoute},Kt.default.createElement(lc,null),Kt.default.createElement(el,{customComponents:i}),e)))};0&&(module.exports={AppInitializer,AuthenticatedRoutesWrapper,AxiosInterceptor,AxiosInterceptorContext,AxiosInterceptorContextProvider,DappProvider,LoginInfoListener,useAxiosInterceptorContext});
1
+ "use strict";var ol=Object.create;var Zt=Object.defineProperty,il=Object.defineProperties,sl=Object.getOwnPropertyDescriptor,al=Object.getOwnPropertyDescriptors,cl=Object.getOwnPropertyNames,yr=Object.getOwnPropertySymbols,ll=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable;var Ho=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))vn.call(t,r)&&Ho(e,r,t[r]);if(yr)for(var r of yr(t))zo.call(t,r)&&Ho(e,r,t[r]);return e},L=(e,t)=>il(e,al(t));var jo=e=>typeof e=="symbol"?e:e+"",rt=(e,t)=>{var r={};for(var o in e)vn.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&yr)for(var o of yr(e))t.indexOf(o)<0&&zo.call(e,o)&&(r[o]=e[o]);return r};var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var hr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),nt=(e,t)=>{for(var r in t)Zt(e,r,{get:t[r],enumerable:!0})},qo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!vn.call(e,i)&&i!==r&&Zt(e,i,{get:()=>t[i],enumerable:!(o=sl(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?ol(ll(e)):{},qo(t||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>qo(Zt({},"__esModule",{value:!0}),e);var f=(e,t,r)=>new Promise((o,i)=>{var l=u=>{try{d(r.next(u))}catch(g){i(g)}},p=u=>{try{d(r.throw(u))}catch(g){i(g)}},d=u=>u.done?o(u.value):Promise.resolve(u.value).then(l,p);d((r=r.apply(e,t)).next())});var Yo=hr(Sr=>{"use strict";n();Sr.byteLength=ul;Sr.toByteArray=ml;Sr.fromByteArray=Tl;var he=[],ue=[],pl=typeof Uint8Array!="undefined"?Uint8Array:Array,An="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ot=0,Ko=An.length;ot<Ko;++ot)he[ot]=An[ot],ue[An.charCodeAt(ot)]=ot;var ot,Ko;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Jo(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ul(e){var t=Jo(e),r=t[0],o=t[1];return(r+o)*3/4-o}function dl(e,t,r){return(t+r)*3/4-r}function ml(e){var t,r=Jo(e),o=r[0],i=r[1],l=new pl(dl(e,o,i)),p=0,d=i>0?o-4:o,u;for(u=0;u<d;u+=4)t=ue[e.charCodeAt(u)]<<18|ue[e.charCodeAt(u+1)]<<12|ue[e.charCodeAt(u+2)]<<6|ue[e.charCodeAt(u+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=ue[e.charCodeAt(u)]<<2|ue[e.charCodeAt(u+1)]>>4,l[p++]=t&255),i===1&&(t=ue[e.charCodeAt(u)]<<10|ue[e.charCodeAt(u+1)]<<4|ue[e.charCodeAt(u+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function gl(e){return he[e>>18&63]+he[e>>12&63]+he[e>>6&63]+he[e&63]}function fl(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(gl(o));return i.join("")}function Tl(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(fl(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(he[t>>2]+he[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(he[t>>10]+he[t>>4&63]+he[t<<2&63]+"=")),i.join("")}});var Zo=hr(In=>{n();In.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,u=(1<<d)-1,g=u>>1,T=-7,h=r?i-1:0,I=r?-1:1,C=e[t+h];for(h+=I,l=C&(1<<-T)-1,C>>=-T,T+=d;T>0;l=l*256+e[t+h],h+=I,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=o;T>0;p=p*256+e[t+h],h+=I,T-=8);if(l===0)l=1-g;else{if(l===u)return p?NaN:(C?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(C?-1:1)*p*Math.pow(2,l-o)};In.write=function(e,t,r,o,i,l){var p,d,u,g=l*8-i-1,T=(1<<g)-1,h=T>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=o?0:l-1,k=o?1:-1,b=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=T):(p=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-p))<1&&(p--,u*=2),p+h>=1?t+=I/u:t+=I*Math.pow(2,1-h),t*u>=2&&(p++,u/=2),p+h>=T?(d=0,p=T):p+h>=1?(d=(t*u-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+C]=d&255,C+=k,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+C]=p&255,C+=k,p/=256,g-=8);e[r+C-k]|=b*128}});var pi=hr(It=>{"use strict";n();var bn=Yo(),At=Zo(),Xo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;It.Buffer=m;It.SlowBuffer=vl;It.INSPECT_MAX_BYTES=50;var xr=2147483647;It.kMaxLength=xr;m.TYPED_ARRAY_SUPPORT=yl();!m.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 yl(){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(m.prototype,"parent",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.buffer}});Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.byteOffset}});function ke(e){if(e>xr)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,m.prototype),t}function m(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 Pn(e)}return ti(e,t,r)}m.poolSize=8192;function ti(e,t,r){if(typeof e=="string")return Sl(e,t);if(ArrayBuffer.isView(e))return xl(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(Se(e,ArrayBuffer)||e&&Se(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Se(e,SharedArrayBuffer)||e&&Se(e.buffer,SharedArrayBuffer)))return kn(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return m.from(o,t,r);var i=wl(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return m.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)}m.from=function(e,t,r){return ti(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function ri(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 hl(e,t,r){return ri(e),e<=0?ke(e):t!==void 0?typeof r=="string"?ke(e).fill(t,r):ke(e).fill(t):ke(e)}m.alloc=function(e,t,r){return hl(e,t,r)};function Pn(e){return ri(e),ke(e<0?0:Cn(e)|0)}m.allocUnsafe=function(e){return Pn(e)};m.allocUnsafeSlow=function(e){return Pn(e)};function Sl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ni(e,t)|0,o=ke(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ln(e){for(var t=e.length<0?0:Cn(e.length)|0,r=ke(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function xl(e){if(Se(e,Uint8Array)){var t=new Uint8Array(e);return kn(t.buffer,t.byteOffset,t.byteLength)}return Ln(e)}function kn(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,m.prototype),o}function wl(e){if(m.isBuffer(e)){var t=Cn(e.length)|0,r=ke(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Rn(e.length)?ke(0):Ln(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ln(e.data)}function Cn(e){if(e>=xr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xr.toString(16)+" bytes");return e|0}function vl(e){return+e!=e&&(e=0),m.alloc(+e)}m.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==m.prototype};m.compare=function(t,r){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),Se(r,Uint8Array)&&(r=m.from(r,r.offset,r.byteLength)),!m.isBuffer(t)||!m.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};m.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}};m.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return m.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=m.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(Se(p,Uint8Array))l+p.length>i.length?m.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(m.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function ni(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Se(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return En(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return li(e).length;default:if(i)return o?-1:En(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=ni;function Al(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Dl(this,t,r);case"utf8":case"utf-8":return ii(this,t,r);case"ascii":return Rl(this,t,r);case"latin1":case"binary":return Nl(this,t,r);case"base64":return Pl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ml(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function it(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}m.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)it(this,r,r+1);return this};m.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)it(this,r,r+3),it(this,r+1,r+2);return this};m.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)it(this,r,r+7),it(this,r+1,r+6),it(this,r+2,r+5),it(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?ii(this,0,t):Al.apply(this,arguments)};m.prototype.toLocaleString=m.prototype.toString;m.prototype.equals=function(t){if(!m.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:m.compare(this,t)===0};m.prototype.inspect=function(){var t="",r=It.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Xo&&(m.prototype[Xo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),!m.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,u=Math.min(p,d),g=this.slice(i,l),T=t.slice(r,o),h=0;h<u;++h)if(g[h]!==T[h]){p=g[h],d=T[h];break}return p<d?-1:d<p?1:0};function oi(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Rn(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=m.from(t,o)),m.isBuffer(t))return t.length===0?-1:Qo(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Qo(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Qo(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function u(C,k){return l===1?C[k]:C.readUInt16BE(k*l)}var g;if(i){var T=-1;for(g=r;g<p;g++)if(u(e,g)===u(t,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*l}else T!==-1&&(g-=g-T),T=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var h=!0,I=0;I<d;I++)if(u(e,g+I)!==u(t,I)){h=!1;break}if(h)return g}return-1}m.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};m.prototype.indexOf=function(t,r,o){return oi(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return oi(this,t,r,o,!1)};function Il(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(Rn(d))return p;e[r+p]=d}return p}function bl(e,t,r,o){return wr(En(t,e.length-r),e,r,o)}function Ll(e,t,r,o){return wr(Fl(t),e,r,o)}function kl(e,t,r,o){return wr(li(t),e,r,o)}function El(e,t,r,o){return wr(Ul(t,e.length-r),e,r,o)}m.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<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 Il(this,t,r,o);case"utf8":case"utf-8":return bl(this,t,r,o);case"ascii":case"latin1":case"binary":return Ll(this,t,r,o);case"base64":return kl(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return El(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pl(e,t,r){return t===0&&r===e.length?bn.fromByteArray(e):bn.fromByteArray(e.slice(t,r))}function ii(e,t,r){r=Math.min(e.length,r);for(var o=[],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 u,g,T,h;switch(d){case 1:l<128&&(p=l);break;case 2:u=e[i+1],(u&192)===128&&(h=(l&31)<<6|u&63,h>127&&(p=h));break;case 3:u=e[i+1],g=e[i+2],(u&192)===128&&(g&192)===128&&(h=(l&15)<<12|(u&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:u=e[i+1],g=e[i+2],T=e[i+3],(u&192)===128&&(g&192)===128&&(T&192)===128&&(h=(l&15)<<18|(u&63)<<12|(g&63)<<6|T&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return Cl(o)}var ei=4096;function Cl(e){var t=e.length;if(t<=ei)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ei));return r}function Rl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Nl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Dl(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Bl[e[l]];return i}function Ml(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}m.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,m.prototype),i};function $(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")}m.prototype.readUintLE=m.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};m.prototype.readUintBE=m.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};m.prototype.readUint8=m.prototype.readUInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};m.prototype.readUint32BE=m.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};m.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(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};m.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(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};m.prototype.readInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};m.prototype.readInt16BE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};m.prototype.readInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};m.prototype.readInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};m.prototype.readFloatLE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!1,52,8)};function ne(e,t,r,o,i,l){if(!m.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+o>e.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};m.prototype.writeUintBE=m.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};m.prototype.writeUint8=m.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,255,0),this[r]=t&255,r+1};m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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};m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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};m.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=0,d=1,u=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&u===0&&this[r+p-1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=o-1,d=1,u=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&u===0&&this[r+p+1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};m.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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};m.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(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 si(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ai(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,4,34028234663852886e22,-34028234663852886e22),At.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return ai(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return ai(this,t,r,!1,o)};function ci(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,8,17976931348623157e292,-17976931348623157e292),At.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return ci(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return ci(this,t,r,!1,o)};m.prototype.copy=function(t,r,o,i){if(!m.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};m.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!m.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<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=m.isBuffer(t)?t:m.from(t,i),u=d.length;if(u===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%u]}return this};var Ol=/[^+/0-9A-Za-z-_]/g;function _l(e){if(e=e.split("=")[0],e=e.trim().replace(Ol,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function En(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++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===o){(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 Fl(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ul(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function li(e){return bn.toByteArray(_l(e))}function wr(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Se(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Rn(e){return e!==e}var Bl=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var fi=hr(($d,gi)=>{n();var U=gi.exports={},xe,we;function Nn(){throw new Error("setTimeout has not been defined")}function Dn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?xe=setTimeout:xe=Nn}catch(e){xe=Nn}try{typeof clearTimeout=="function"?we=clearTimeout:we=Dn}catch(e){we=Dn}})();function ui(e){if(xe===setTimeout)return setTimeout(e,0);if((xe===Nn||!xe)&&setTimeout)return xe=setTimeout,setTimeout(e,0);try{return xe(e,0)}catch(t){try{return xe.call(null,e,0)}catch(r){return xe.call(this,e,0)}}}function Wl(e){if(we===clearTimeout)return clearTimeout(e);if((we===Dn||!we)&&clearTimeout)return we=clearTimeout,clearTimeout(e);try{return we(e)}catch(t){try{return we.call(null,e)}catch(r){return we.call(this,e)}}}var Ee=[],bt=!1,st,vr=-1;function Gl(){!bt||!st||(bt=!1,st.length?Ee=st.concat(Ee):vr=-1,Ee.length&&di())}function di(){if(!bt){var e=ui(Gl);bt=!0;for(var t=Ee.length;t;){for(st=Ee,Ee=[];++vr<t;)st&&st[vr].run();vr=-1,t=Ee.length}st=null,bt=!1,Wl(e)}}U.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];Ee.push(new mi(e,t)),Ee.length===1&&!bt&&ui(di)};function mi(e,t){this.fun=e,this.array=t}mi.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Pe(){}U.on=Pe;U.addListener=Pe;U.once=Pe;U.off=Pe;U.removeListener=Pe;U.removeAllListeners=Pe;U.emit=Pe;U.prependListener=Pe;U.prependOnceListener=Pe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var s,a,Vd,n=v(()=>{s=A(pi()),a=A(fi()),Vd=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var at=v(()=>{"use strict";n()});var Ti=v(()=>{"use strict";n()});var yi=v(()=>{"use strict";n()});var hi=v(()=>{"use strict";n()});var M=v(()=>{"use strict";n()});var Si=v(()=>{"use strict";n()});var xi=v(()=>{"use strict";n()});var X=v(()=>{"use strict";n()});var wi=v(()=>{"use strict";n()});var vi=v(()=>{"use strict";n()});var V=v(()=>{"use strict";n();Ti();yi();hi();M();Si();xi();X();wi();vi()});var ct,Ai,cm,Ii,lm,bi,pm,um,$l,Lt=v(()=>{"use strict";n();V();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:Ai,egldLabel:cm}=ct["devnet"],{chainId:Ii,egldLabel:lm}=ct["testnet"],{chainId:bi,egldLabel:pm}=ct["mainnet"],um={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:bi},$l={[Ai]:"devnet",[Ii]:"testnet",[bi]:"mainnet"}});var Mn=v(()=>{"use strict";n()});var Li=v(()=>{"use strict";n()});var Ar,On=v(()=>{"use strict";n();Ar="transaction-status-toast-id"});var ve,ki=v(()=>{"use strict";n();ve=require("@multiversx/sdk-web-wallet-provider")});var Qt,Ir,Ei,Pi,br,Ci,kt,R=v(()=>{"use strict";n();at();Lt();Mn();Li();On();ki();Qt=5e4,Ir=1e9,Ei=1,Pi=1,br="logout",Ci="login",kt="0"});var Et,Lr=v(()=>{"use strict";n();Et=()=>Date.now()/1e3});var Ri=v(()=>{"use strict";n()});var Ni=v(()=>{"use strict";n()});var _n=v(()=>{"use strict";n();Lr();Ri();Ni()});var Un={};nt(Un,{getItem:()=>Hl,localStorageKeys:()=>ae,removeItem:()=>zl,setItem:()=>Vl});var ae,Fn,Vl,Hl,zl,lt=v(()=>{"use strict";n();_n();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Fn=typeof localStorage!="undefined",Vl=({key:e,data:t,expires:r})=>{!Fn||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Hl=e=>{if(!Fn)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:Et()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},zl=e=>{!Fn||localStorage.removeItem(String(e))}});var Bn={};nt(Bn,{clear:()=>_i,getItem:()=>Mi,removeItem:()=>Oi,setItem:()=>Di,storage:()=>jl});var Di,Mi,Oi,_i,jl,Fi=v(()=>{"use strict";n();Di=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=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},Oi=e=>sessionStorage.removeItem(String(e)),_i=()=>sessionStorage.clear(),jl={setItem:Di,getItem:Mi,removeItem:Oi,clear:_i}});var Ae,Pt=v(()=>{"use strict";n();lt();Fi();Ae={session:Bn,local:Un}});var Wn,B,Z,H=v(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");R();B=(0,Wn.createAction)(br),Z=(0,Wn.createAction)(Ci,e=>({payload:e}))});var $n,Ui,Bi,kr,Gn,Wi,pt,Gm,Er,$m,Vn,ql,Vm,Ct,Gi,$i,Pr,Cr=v(()=>{"use strict";n();$n=require("@multiversx/sdk-core"),Ui=require("@reduxjs/toolkit"),Bi=require("redux-persist");R();Pt();lt();H();kr={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:kt},Gn={address:"",websocketEvent:null,accounts:{"":kr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Wi=(0,Ui.createSlice)({name:"accountInfoSlice",initialState:Gn,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new $n.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:kr},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(B,()=>(Ae.local.removeItem(ae.loginExpiresAt),Gn)),e.addCase(Z,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new $n.Address(o).hex()}),e.addCase(Bi.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let u=p&&i in p;t.accounts=u?p:Gn.accounts,t.publicKey=d})}}),{setAccount:pt,setAddress:Gm,setAccountNonce:Er,setAccountShard:$m,setLedgerAccount:Vn,updateLedgerAccount:ql,setWalletConnectAccount:Vm,setIsAccountLoading:Ct,setAccountLoadingError:Gi,setWebsocketEvent:$i}=Wi.actions,Pr=Wi.reducer});function er(){return new Date().setHours(new Date().getHours()+24)}function tr(e){Ae.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var Hn=v(()=>{"use strict";n();Pt();lt()});var Hi,Vi,zi,Qm,Rr,Kl,He,eg,Nr,ji,qi,Dr,rr=v(()=>{"use strict";n();Hi=require("@reduxjs/toolkit");Hn();M();H();Vi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},zi=(0,Hi.createSlice)({name:"loginInfoSlice",initialState:Vi,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(B,()=>Vi),e.addCase(Z,(t,r)=>{t.loginMethod=r.payload.loginMethod,tr(er())})}}),{setLoginMethod:Qm,setWalletConnectLogin:Rr,setLedgerLogin:Kl,setTokenLogin:He,setTokenLoginSignature:eg,setWalletLogin:Nr,invalidateLoginSession:ji,setLogoutRoute:qi}=zi.actions,Dr=zi.reducer});var Ji,Ki,Yi,Zi,Jl,og,Yl,Mr,Or=v(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");H();Ki={},Yi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Ki,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(B,()=>Ki)}}),{setTxSubmittedModal:Zi,setNotificationModal:Jl,clearTxSubmittedModal:og,clearNotificationModal:Yl}=Yi.actions,Mr=Yi.reducer});var Xi,Qi,Ce,ut=v(()=>{"use strict";n();Xi=!1,Qi=(e=!0)=>{Xi=e},Ce=(e,t=0)=>{Xi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function dt({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Zl;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Ce(e)},l)}var Zl,es=v(()=>{"use strict";n();ut();Zl=200});function zn(e){return e[Math.floor(Math.random()*e.length)]}var ts=v(()=>{"use strict";n()});var jn=v(()=>{"use strict";n();Mn()});var mt=v(()=>{"use strict";n();es();ts();jn()});var rs,ns,qn,Xl,os,Kn,is,_r,nr=v(()=>{"use strict";n();rs=require("@reduxjs/toolkit"),ns=A(require("lodash.omit"));mt();qn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Xl={network:qn,chainID:"-1"},os=(0,rs.createSlice)({name:"appConfig",initialState:Xl,reducers:{initializeNetworkConfig:(e,t)=>{let r=zn(t.payload.walletConnectBridgeAddresses),o=zn(t.payload.walletConnectV2RelayAddresses),i=(0,ns.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=L(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Kn,setChainID:is}=os.actions,_r=os.reducer});var ss,Jn,as,Ig,bg,Lg,Fr,Ur=v(()=>{"use strict";n();ss=require("@reduxjs/toolkit");V();H();Jn={isSigning:!1,signedSessions:{}},as=(0,ss.createSlice)({name:"signedMessageInfoSliceState",initialState:Jn,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return L(y({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:L(y({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>Jn},extraReducers:e=>{e.addCase(B,()=>Jn)}}),{setSignSession:Ig,clearSignedMessageInfo:bg,setSignSessionState:Lg}=as.actions,Fr=as.reducer});var ls,ps,cs,us,Yn,Zn,Mg,Og,_g,Fg,Br,Wr=v(()=>{"use strict";n();ls=require("@reduxjs/toolkit"),ps=require("redux-persist");On();V();Lr();H();cs={customToasts:[],transactionToasts:[],failTransactionToast:null},us=(0,ls.createSlice)({name:"toastsSlice",initialState:cs,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(L(y({},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:Et(),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=L(y({},t.payload),{toastId:Ar})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(B,()=>cs),e.addCase(ps.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Yn,removeCustomToast:Zn,addTransactionToast:Mg,removeTransactionToast:Og,addFailTransactionToast:_g,removeFailTransactionToast:Fg}=us.actions,Br=us.reducer});var ds,Qn,eo,to,Ql,Xn,ms,Gg,ep,ro,Gr,$r=v(()=>{"use strict";n();ds=require("@reduxjs/toolkit");H();Qn="Transaction failed",eo="Transaction successful",to="Processing transaction",Ql="Transaction submitted",Xn={},ms=(0,ds.createSlice)({name:"transactionsInfo",initialState:Xn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Qn,successMessage:(o==null?void 0:o.successMessage)||eo,processingMessage:(o==null?void 0:o.processingMessage)||to,submittedMessage:(o==null?void 0:o.submittedMessage)||Ql,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Xn},extraReducers:e=>{e.addCase(B,()=>Xn)}}),{clearTransactionsInfo:Gg,setTransactionsDisplayInfo:ep,clearTransactionsInfoForSessionId:ro}=ms.actions,Gr=ms.reducer});function Re(e){return e!=null&&(cp(e)||dp(e))}function gt(e){return e!=null&&(lp(e)||mp(e))}function ft(e){return e!=null&&(pp(e)||gp(e))}function no(e){return e!=null&&up(e)}function cp(e){return e!=null&&tp.includes(e)}function lp(e){return e!=null&&rp.includes(e)}function pp(e){return e!=null&&np.includes(e)}function up(e){return e!=null&&op.includes(e)}function dp(e){return e!=null&&ip.includes(e)}function mp(e){return e!=null&&sp.includes(e)}function gp(e){return e!=null&&ap.includes(e)}var tp,rp,np,op,ip,sp,ap,Nt=v(()=>{"use strict";n();M();tp=["sent"],rp=["success"],np=["fail","cancelled","timedOut"],op=["timedOut"],ip=["pending"],sp=["success"],ap=["fail","invalid"]});var gs,fs,or,fp,Ts,ir,Tt,Tp,Dt,yp,hp,Yg,Sp,Vr,oo,Hr,zr=v(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");M();Nt();H();or={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},fp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ts=(0,gs.createSlice)({name:"transactionsSlice",initialState:or,reducers:{moveTransactionsToSignedState:(e,t)=>{var u,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((u=e.customTransactionInformationForSessionId)==null?void 0:u[r])||fp;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=or.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=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,u,g,T,h,I;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(u=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:u.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(b=>b.hash===l?L(y({},b),{status:o,errorMessage:i}):b);let C=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(b=>gt(b.status)),k=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(b=>ft(b.status));C&&(e.signedTransactions[r].status="success"),k&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=or.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=or.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(B,()=>or),e.addCase(fs.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[u,g])=>{let T=new Date(u),h=new Date;return h.setHours(h.getHours()+5),h-T>0||(d[u]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ir,updateSignedTransactions:Tt,setTransactionsToSign:Tp,clearAllTransactionsToSign:Dt,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:Yg,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:Vr,moveTransactionsToSignedState:oo}=Ts.actions,Hr=Ts.reducer});var P=v(()=>{"use strict";n();Cr();rr();Or();nr();Ur();Wr();$r();zr()});var io=v(()=>{"use strict";n()});var ws,xs,vs,wf,vf,Af,If,bf,Lf,As,Is=v(()=>{"use strict";n();ws=require("@reduxjs/toolkit");H();xs={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},vs=(0,ws.createSlice)({name:"dappModalsSlice",initialState:xs,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=y({},t.payload)}},extraReducers:e=>{e.addCase(B,()=>xs)}}),{setDappModalVisibility:wf,setDappModalHeaderVisibility:vf,setDappModalFooterVisibility:Af,setDappModalHeaderText:If,setDappModalFooterText:bf,setDappModalConfig:Lf}=vs.actions,As=vs.reducer});var bs,Ap,Ip,yt,Jr=v(()=>{"use strict";n();bs=require("@reduxjs/toolkit");io();Cr();Is();rr();Or();nr();Ur();Wr();$r();zr();Ap={["account"]:Pr,["dappModal"]:As,["loginInfo"]:Dr,["modals"]:Mr,["networkConfig"]:_r,["signedMessageInfo"]:Fr,["toasts"]:Br,["transactionsInfo"]:Gr,["transactions"]:Hr},Ip=(e={})=>(0,bs.combineReducers)(y(y({},Ap),e)),yt=Ip});var Ps={};nt(Ps,{default:()=>Bp,sessionStorageReducers:()=>so});function je(e,t=[]){return{key:e,version:1,storage:ks.default,blacklist:t}}var ce,Ls,ks,bp,sr,Lp,kp,Ep,Pp,Cp,Rp,Np,Dp,Mp,Es,Op,so,_p,Fp,Up,Bp,Cs=v(()=>{"use strict";n();ce=require("redux-persist"),Ls=A(require("redux-persist/lib/storage")),ks=A(require("redux-persist/lib/storage/session"));Jr();P();Cr();rr();Or();nr();Ur();Wr();$r();zr();io();bp={persistReducersStorageType:"localStorage"},sr={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Lp=je(sr["account"]),kp=je(sr["loginInfo"]),Ep=je(sr["modals"]),Pp=je(sr["networkConfig"]),Cp={2:e=>L(y({},e),{networkConfig:qn})};Rp=je("sdk-dapp-transactionsInfo"),Np=je("sdk-dapp-transactions",["transactionsToSign"]),Dp=je("sdk-dapp-toasts"),Mp=je("sdk-dapp-signedMessageInfo"),Es={key:"sdk-dapp-store",version:2,storage:Ls.default,whitelist:Object.keys(sr),migrate:(0,ce.createMigrate)(Cp,{debug:!1})},Op=L(y({},Es),{whitelist:[]}),so={["toasts"]:(0,ce.persistReducer)(Dp,Br),["transactions"]:(0,ce.persistReducer)(Np,Hr),["transactionsInfo"]:(0,ce.persistReducer)(Rp,Gr),["signedMessageInfo"]:(0,ce.persistReducer)(Mp,Fr)},_p=L(y({},so),{["account"]:(0,ce.persistReducer)(Lp,Pr),["loginInfo"]:(0,ce.persistReducer)(kp,Dr),["modals"]:(0,ce.persistReducer)(Ep,Mr),["networkConfig"]:(0,ce.persistReducer)(Pp,_r)}),Fp=bp.persistReducersStorageType==="localStorage",Up=Fp?(0,ce.persistReducer)(Es,yt(so)):(0,ce.persistReducer)(Op,yt(_p)),Bp=Up});var Rs={};nt(Rs,{default:()=>Wp});var Wp,Ns=v(()=>{"use strict";n();Jr();Wp=yt()});var Ds={};nt(Ds,{default:()=>$p});var de,Gp,$p,Ms=v(()=>{"use strict";n();de=require("redux-persist"),Gp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],$p=Gp});var Fs={};nt(Fs,{default:()=>_s});function _s(e){return(0,Os.persistStore)(e)}var Os,Us=v(()=>{"use strict";n();Os=require("redux-persist")});var _d={};nt(_d,{AppInitializer:()=>ko,AuthenticatedRoutesWrapper:()=>ka,AxiosInterceptor:()=>Co,AxiosInterceptorContext:()=>zu,AxiosInterceptorContextProvider:()=>Eo,DappProvider:()=>Od,LoginInfoListener:()=>Po,useAxiosInterceptorContext:()=>Gt});module.exports=Xt(_d);n();n();var ho=A(require("react"));n();var zs=require("react"),Ot=require("react-redux");n();var ao=require("@reduxjs/toolkit"),$s=require("react-redux/lib/utils/Subscription");P();n();var hs=A(require("lodash.throttle"));R();n();var ys=A(require("lodash.isequal")),jr=require("reselect");V();var x=(0,jr.createSelectorCreator)(jr.defaultMemoize,ys.default),Mt=(e,t)=>e!=""&&Boolean(t);P();Hn();Pt();lt();var xp=[br],qr=!1,wp=(0,hs.default)(()=>{tr(er())},5e3),Ss=e=>t=>r=>{var u;if(xp.includes(r.type))return t(r);let o=e.getState(),i=Ae.local.getItem(ae.loginExpiresAt);if(!Mt((u=o==null?void 0:o.loginInfo)==null?void 0:u.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return tr(er());let p=Date.now();return i-p<0&&!qr?setTimeout(()=>{qr=!0,e.dispatch(ji())},1e3):(qr&&(qr=!1),wp()),t(r)};n();n();function Kr(){return typeof sessionStorage!="undefined"}var Bs=Kr()?(Cs(),Xt(Ps)).default:(Ns(),Xt(Rs)).default,Ws=Kr()?(Ms(),Xt(Ds)).default:[],Gs=Kr()?(Us(),Xt(Fs)).default:e=>e;Jr();var w=(0,ao.configureStore)({reducer:Bs,middleware:e=>e({serializableCheck:{ignoredActions:[...Ws,Er.type,pt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ss)}),Vs=(0,$s.createSubscription)(w),Hs=Gs(w),nT=(0,ao.configureStore)({reducer:yt});var Vp={store:w,subscription:Vs},ar=(0,zs.createContext)(Vp),aT=(0,Ot.createStoreHook)(ar),N=(0,Ot.createDispatchHook)(ar),S=(0,Ot.createSelectorHook)(ar);n();n();P();var Ne=e=>e.account,De=x(Ne,e=>e.address),qe=x(Ne,De,(e,t)=>t in e.accounts?e.accounts[t]:kr),js=x(Ne,qe,(e,t)=>{let i=e,{accounts:r}=i,o=rt(i,["accounts"]);return L(y({},o),{account:t})}),Hp=x(qe,e=>e.balance),qs=x(qe,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uT=x(Ne,e=>e.shard),co=x(Ne,e=>e.ledgerAccount),dT=x(Ne,e=>e.walletConnectAccount),Ks=x(Ne,e=>e.isAccountLoading),mT=x(Ne,e=>e.accountLoadingError),lo=x(Ne,e=>e.websocketEvent);n();var K=e=>e.loginInfo,Js=x(K,e=>e.loginMethod),Me=x(K,De,(e,t)=>Mt(e.loginMethod,t)),Ys=x(K,e=>e.walletConnectLogin),Zs=x(K,e=>e.ledgerLogin),_t=x(K,e=>e.walletLogin),Xs=x(K,e=>e.isLoginSessionInvalid),Yr=x(K,e=>e.tokenLogin),Ft=x(K,e=>e.logoutRoute);n();var Qs=e=>e.modals,ST=x(Qs,e=>e.txSubmittedModal),zp=x(Qs,e=>e.notificationModal);n();var Ie=e=>e.networkConfig,cr=x(Ie,e=>e.chainID),ea=x(Ie,e=>e.network.walletConnectBridgeAddress),ta=x(Ie,e=>e.network.walletConnectV2RelayAddress),ra=x(Ie,e=>e.network.walletConnectV2ProjectId),na=x(Ie,e=>e.network.walletConnectV2Options),Zr=x(Ie,e=>e.network.walletConnectDeepLink),me=x(Ie,e=>e.network),Xr=x(me,e=>e.apiAddress),oa=x(me,e=>e.explorerAddress),ia=x(me,e=>e.egldLabel);n();var po=e=>e.signedMessageInfo,IT=x(po,e=>e.isSigning),bT=x(po,e=>e.errorMessage),LT=x(po,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var uo=e=>e.toasts,PT=x(uo,e=>e.customToasts),CT=x(uo,e=>e.transactionToasts),RT=x(uo,e=>e.failTransactionToast);n();P();var sa={errorMessage:Qn,successMessage:eo,processingMessage:to},jp=e=>e.transactionsInfo,qp=x(jp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||sa);n();n();var le=require("@multiversx/sdk-core");R();n();function mo(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Ut(e){return atob(e)}function Bt(e){var i,l,p;let{data:t}=e,r=mo(t!=null?t:"")?le.TransactionPayload.fromEncoded(t):new le.TransactionPayload(t),o=new le.Transaction(y({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new le.Address(e.receiver),sender:new le.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Qt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Ir,chainID:e.chainID.valueOf(),version:new le.TransactionVersion((p=e.version)!=null?p:Ei)},e.options?{options:new le.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new le.Address(e.sender)),o}n();Nt();n();var Jp=A(require("bignumber.js"));V();n();n();n();n();var Zp=require("@multiversx/sdk-core"),Xp=A(require("bignumber.js"));M();n();var la=require("@multiversx/sdk-core");function Yp(e){try{let t=new la.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function lr(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Yp(e)}n();n();n();var eu=require("@multiversx/sdk-core/out");n();R();n();var pa=require("@multiversx/sdk-core");V();n();n();n();n();M();n();n();n();n();n();n();n();var ua="dapp/config",da="network/config";var Qr="accounts";var go="blocks";n();n();n();n();X();n();n();X();n();n();n();var cu=A(require("bignumber.js"));R();n();var au=require("@multiversx/sdk-core"),fo=A(require("bignumber.js"));R();n();var iu=A(require("bignumber.js"));n();fo.default.config({ROUNDING_MODE:fo.default.ROUND_FLOOR});n();n();n();R();n();n();n();n();R();n();R();n();var lu=require("@multiversx/sdk-core");R();n();var pr=require("@multiversx/sdk-core"),du=require("@multiversx/sdk-network-providers");R();n();n();var pu=A(require("bignumber.js"));R();n();R();n();n();n();n();n();R();n();X();var gu=["reDelegateRewards","claimRewards","unBond"],fu=["wrapEgld","unwrapEgld"],Tu=["unStake"],yu=["unDelegate"];n();n();n();R();n();var wu=A(require("bignumber.js"));n();n();n();X();n();var vu=A(require("bignumber.js"));n();n();n();n();X();n();n();n();var bu=A(require("linkifyjs"));n();R();n();var Lu=A(require("bignumber.js"));n();V();n();n();M();n();M();n();n();n();X();n();X();n();var ku=A(require("bignumber.js"));R();X();n();X();n();var ha=require("react");V();n();n();X();n();var Eu=require("@multiversx/sdk-core/out"),Pu=A(require("bignumber.js"));X();n();X();n();n();M();var rv=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Sa=require("react");V();n();var Ru=require("react");X();var lv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var nn=e=>e.transactions,Je=x(nn,e=>e.signedTransactions),Nu=x(nn,e=>e.signTransactionsError),xa=x(nn,e=>e.signTransactionsCancelMessage),on=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),yo=x(Je,on(Re)),wa=x(Je,on(gt)),va=x(Je,on(ft)),Du=x(Je,on(no)),Aa=x(nn,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:L(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Bt(r)))||[]})}),Mu=x(Je,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});ut();n();n();function Ia(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function ba(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Ou(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((g,T,h)=>{if(T==="*"){let I=d[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return g[T]=_u(d[h]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Ou(e,t=!1,r=!0){Ia(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,d)=>(o.push(d),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function _u(e,t){try{return decodeURIComponent(e)}catch(r){return Ia(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}var La=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>ba(i,t)!==null);var ka=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=S(Me),l=S(Ks),p=S(_t),u=La(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Ce(r),null):ho.default.createElement(ho.default.Fragment,null,e)};n();var Ue=A(require("react")),ja=require("@multiversx/sdk-core/out");n();n();n();var Ea=A(require("axios"));function Pa(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=me(w.getState()),o=e.map(l=>Ea.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var Ca=A(require("axios"));function sn(e){return f(this,null,function*(){let t=Xr(w.getState()),r=e.map(i=>i.hash),{data:o}=yield Ca.default.get(`${t}/transactions`,{params:{hashes:r.join(","),withScResults:!0}});return e.map(({hash:i,previousStatus:l})=>{let p=o.find(d=>(d==null?void 0:d.txHash)===i);return{hash:i,data:p==null?void 0:p.data,invalidTransaction:p==null,status:p==null?void 0:p.status,results:p==null?void 0:p.results,sender:p==null?void 0:p.sender,receiver:p==null?void 0:p.receiver,previousStatus:l,hasStatusChanged:p&&p.status!==l}})})}n();var Uu=A(require("axios"));n();n();var Bu=A(require("axios"));n();var Wu=A(require("axios"));n();n();n();var Na=A(require("axios"));n();n();var an=e=>{let t=e!=null?e:Xr(w.getState());return t.endsWith("/")?t.slice(0,-1):t};function Da(e){return f(this,null,function*(){if(!e)return null;let r=`${an()}/${Qr}/${e}`;try{let{data:o}=yield Na.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();Lt();n();var Ma=A(require("axios"));function So(e){return f(this,null,function*(){let t=`${e}/${ua}`;try{let{data:o}=yield Ma.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=rt(r,[jo(i),"decimals"]);return L(y({},d),{decimals:l,digits:p})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var Oa=A(require("axios"));function _a(){return f(this,null,function*(){var r;let t=`${an()}/${da}`;try{let{data:o}=yield Oa.default.get(t);if(o!=null)return(r=o==null?void 0:o.data)==null?void 0:r.config}catch(o){console.error("error fetching configuration for ",t)}return null})}n();Lt();n();Lt();n();var Gu=A(require("axios"));Lt();n();var Oe=()=>S(js);nr();n();n();n();n();var Fa=require("@multiversx/sdk-extension-provider"),Ua=require("@multiversx/sdk-hw-provider"),Ba=require("@multiversx/sdk-opera-provider"),Wa=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Ga=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),xo=require("@multiversx/sdk-web-wallet-provider");R();M();var $u="/dapp/init",ht=e=>{switch(e==null?void 0:e.constructor){case xo.WalletProvider:return"wallet";case Wa.WalletConnectProvider:return"walletconnect";case Ga.WalletConnectV2Provider:return"walletconnectv2";case Ua.HWProvider:return"ledger";case Fa.ExtensionProvider:return"extension";case Ba.OperaProvider:return"opera";case cn:return"";default:return"extra"}},wo=e=>new xo.WalletProvider(`${e}${$u}`),vo=e=>f(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Pi}}),_e=e=>`Unable to perform ${e}, Provider not initialized`,cn=class{init(){return Promise.resolve(!1)}login(t){throw new Error(_e(`login with options: ${t}`))}logout(t){throw new Error(_e(`logout with options: ${t}`))}getAddress(){throw new Error(_e("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(_e(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(_e(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(_e(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(_e(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(_e(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(_e(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},ur=new cn;var Io=ur,Ao=null;function pe(e){Io=e}function bo(e){Ao=e}function ln(){Ao!=null&&(Io=Ao)}function oe(){return Io||ur}H();V();n();function ge(){return Me(w.getState())}n();n();M();n();n();function $a(){let e=oe();return ht(e)}function fe(e){return $a()===e}function Fe(){let{search:e}=window.location,t=w.getState(),r=oe(),o=De(t),i=Me(t),l=_t(t);if(!r)throw"provider not initialized";return fe("ledger")&&i?new Promise(p=>{p(o)}):!fe("")&&!fe("wallet")&&!fe("extra")?r.getAddress():new Promise(p=>{if(l!=null){let d=new URLSearchParams(e),u=Object.fromEntries(d);lr(u.address)&&p(u.address)}i&&p(o),p("")})}n();function Ye(e){return f(this,null,function*(){return yield Da(e)})}n();P();function Va(e){w.dispatch(Er(e))}n();function Wt(e){let t=w.getState(),r=qs(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();P();var Ha=()=>f(void 0,null,function*(){try{let e=yield Fe();try{let t=yield Ye(e);if(t!=null){let r=L(y({},t),{nonce:Wt(t)});return w.dispatch(pt(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function pn(){return f(this,null,function*(){let e=oe();if(e==null)throw"Provider not initialized";if(!e.isInitialized||e.isInitialized())return Ha();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?Ha():void 0}catch(t){console.error("Failed initializing provider ",t)}})}n();var za=require("@multiversx/sdk-core");n();H();V();ut();Pt();lt();var Vu=e=>{let t=Ae.local.getItem(ae.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(Ae.local.setItem({key:ae.logoutEvent,data:e,expires:0}),Ae.local.removeItem(ae.logoutEvent))};function ee(e,t,r=!0){return f(this,null,function*(){let o=oe(),i=ht(o),l=ge(),p=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!l||!o){Lo(e,t,!1);return}try{let d=yield Fe();Vu(d)}catch(d){Lo(e,t,!1),console.error("error fetching logout address",d)}p&&Qi(),w.dispatch(B());try{let u=p&&!e?window.location.origin:e;p?setTimeout(()=>{o.logout({callbackUrl:u})}):(yield o.logout({callbackUrl:u}),Lo(e,t,p))}catch(d){console.error("error logging out",d)}})}function Lo(e,t,r){e&&!r&&(typeof t=="function"?t(e):Ce(e))}rr();function ko({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,l]=(0,Ue.useState)(!1),p=Oe(),d=S(Xs),{address:u,publicKey:g}=p,T=N();function h(){return f(this,null,function*(){let C=!(e!=null&&e.skipFetchFromServer),k=e==null?void 0:e.apiAddress,b=ct[r]||{},_=y(y({},b),e);if(C){let D=b==null?void 0:b.apiAddress,z=yield So(k||D);if(z!=null){let ie=y(y(y({},b),z),e);T(Kn(ie));return}}T(Kn(_))})}function I(){return f(this,null,function*(){T(qi(o)),yield h(),l(!0)})}return(0,Ue.useEffect)(()=>{u&&new ja.Address(u).hex()!==g&&ee(o)},[u,g,o]),(0,Ue.useEffect)(()=>{I()},[e,r,o]),(0,Ue.useEffect)(()=>{p.address&&d&&ee(o)},[d,p.address,o]),i?Ue.default.createElement(Ue.default.Fragment,null,t):null}n();var Kt=A(require("react")),tl=require("react-redux"),rl=require("redux-persist/integration/react");n();var We=require("react"),sc=require("@multiversx/sdk-extension-provider"),ac=require("@multiversx/sdk-hw-provider"),cc=require("@multiversx/sdk-opera-provider");n();var Qa=require("react"),mn=require("@multiversx/sdk-core");n();n();var St=()=>S(qe);n();n();n();n();n();var Be=A(require("react"));var qa=(0,Be.createContext)({}),Hu=w.getState();function Eo({children:e}){let[t,r]=(0,Be.useState)(),[o,i]=(0,Be.useState)(K(Hu)),l={address:t,setAddress:r,isLoggedIn:Mt(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Be.default.createElement(qa.Provider,{value:l},e)}function Gt(){let e=(0,Be.useContext)(qa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var dr=A(require("react"));var Po=({children:e=null})=>{var l;let{address:t}=St(),r=S(K),{setLoginInfo:o,setAddress:i}=Gt();return(0,dr.useEffect)(()=>{i(t),o(r)},[(l=r.tokenLogin)==null?void 0:l.loginToken,t]),dr.default.createElement(dr.default.Fragment,null,e)};n();var Ze=A(require("react")),un=A(require("axios"));var Co=({children:e,authenticatedDomanis:t})=>{var d;let{loginInfo:r}=Gt(),o=(d=r==null?void 0:r.tokenLogin)==null?void 0:d.nativeAuthToken,i=(0,Ze.useRef)(-1),l=()=>{un.default.interceptors.response.use(u=>u,u=>{var T,h;let g=(T=u.config)==null?void 0:T.url;return(h=u.config)!=null&&h.params&&(g+=`?${new URLSearchParams(u.config.params).toString()}`),console.error("Axios error for: ",g),Promise.reject(u)})},p=()=>{un.default.interceptors.request.eject(i.current),i.current=un.default.interceptors.request.use(u=>f(void 0,null,function*(){return t.includes(String(u==null?void 0:u.baseURL))&&(u.headers={Authorization:`Bearer ${o}`}),u}),u=>{Promise.reject(u)})};return(0,Ze.useEffect)(l,[]),(0,Ze.useEffect)(()=>{o&&p()},[o]),Ze.default.createElement(Ze.default.Fragment,null,e)};var zu={Interceptor:Co,Listener:Po,Provider:Eo};n();n();var mr=()=>{let e=oe(),t=ht(e);return{provider:e,providerType:t}};n();P();n();n();n();var ju=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),$t=e=>ju(s.Buffer.from(e,"utf8").toString("base64"));n();var Ka=A(require("axios"));var qu=4e4,Ro=null,Vt={current:null},No={current:!1};function Ja(e,t){return f(this,null,function*(){if(e==null)throw new Error("missing api url");if(Ro!=null&&Date.now()<Ro&&Vt.current!=null)return Vt.current;{if(No.current)return yield Ju();No.current=!0,Vt.current=null;let o=yield Ku(e,t);return Vt.current=o,Ro=Date.now()+qu,No.current=!1,o}})}function Ku(e,t){return f(this,null,function*(){let{data:r}=yield Ka.default.get(`${e}/${go}?size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o})}function Ju(){return f(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{Vt.current!=null&&(e(Vt.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var Ya,gr={hostname:typeof window!="undefined"?(Ya=window==null?void 0:window.location)==null?void 0:Ya.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},fr=e=>{var r,o,i,l,p;return e===!0?gr:{hostname:(r=e==null?void 0:e.hostname)!=null?r:gr.hostname,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:gr.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:gr.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:gr.tokenExpirationToastWarningSeconds}};n();n();n();function Yu(e){return Object.prototype.toString.call(e)==="[object String]"}var dn=e=>{if(!e||!Yu(e))return null;try{let[t,r,o]=e.split("."),i=Ut(t),l=Ut(r),[p,d,u,g]=l.split("."),T=JSON.parse(Ut(g)),h=Ut(p),I={ttl:Number(u),address:i,extraInfo:T,host:h,signature:o,blockHash:d,body:l};return g==="e30"&&delete I.extraInfo,I}catch(t){return null}};var Za=({address:e,token:t,signature:r})=>{let o=$t(e),i=$t(t);return`${o}.${i}.${r}`};n();Lr();var Ht=e=>{let t=dn(e);if(!t)return{isExpired:!1};let r=Et(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,d=r>p,u=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:u}};var Xa=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=fr(e);return{getNativeAuthConfig:fr,initialize:(...d)=>f(void 0,[...d],function*(p={}){let{hash:u,timestamp:g}=yield Ja(r,i),T=$t(JSON.stringify(y(y({},p),g?{timestamp:g}:{})));return`${$t(t)}.${u}.${o}.${T}`}),getToken:Za,getTokenExpiration:Ht}};n();var Zu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},be=e=>{let t=S(me),r=S(Yr),o=(0,Qa.useRef)(r==null?void 0:r.loginToken),i=Zu(t.apiAddress,e),l=fr(y(y({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Xa(l),{address:u}=St(),g=N(),T=k=>{o.current=k,g(He(y({loginToken:k},i?{nativeAuthConfig:l}:{})))},h=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(k){console.error("Unable to get block. Login failed.",k);return}}),I=({address:k,signature:b})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(He({loginToken:_,signature:b}));return}let D=d.getToken({address:k,token:_,signature:b});g(He(y({loginToken:_,signature:b,nativeAuthToken:D},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:T,getNativeAuthLoginToken:h,setTokenLoginInfo:I,refreshNativeAuthTokenLogin:b=>f(void 0,[b],function*({signMessageCallback:k}){let _=yield h();if(o.current=_,!_)return;let D=new mn.SignableMessage({address:new mn.Address(u),message:s.Buffer.from(_)}),z=yield k(D,{});I({address:u,signature:z.toJSON().signature})})}};n();var Xe=require("react"),ec=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var gn=require("react");function zt(e,t=[]){let r=(0,gn.useRef)(!0);(0,gn.useEffect)(()=>{r.current?r.current=!1:e()},t)}H();P();M();mt();var Do=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=N(),p=15e3,d=r!=null,u=be(r),g=o,[T,h]=(0,Xe.useState)(""),[I,C]=(0,Xe.useState)(""),{provider:k}=mr(),b=S(ea),_=S(Zr),D=(0,Xe.useRef)(k),z=(0,Xe.useRef)(!0),ie,te=Boolean(I),Qe=!te,$e=te?`${_}?wallet-connect=${encodeURIComponent(I)}`:"";(0,Xe.useEffect)(()=>{tt();let F=setInterval(()=>{tt()},p);return()=>clearInterval(F)},[k]),zt(()=>{!o||wt()},[o]),zt(()=>{D.current=k},[k]);let W=()=>{ee(e)},et=()=>{z.current=!1};function tt(){return f(this,null,function*(){var se,j;if(k==null||!fe("walletconnect")||!Boolean((j=(se=D.current)==null?void 0:se.walletConnector)==null?void 0:j.connected))return;let J={method:"heartbeat",params:{}};try{yield D.current.sendCustomMessage(J)}catch(re){console.error("Connection lost",re),W()}})}function Jt(){return f(this,null,function*(){var F;try{let J=D.current;if(ge()||J==null||!fe("walletconnect"))return;if(!z.current){try{yield(F=D.current)==null?void 0:F.logout()}catch(q){console.warn("Unable to logout")}return}let j=yield J.getAddress();if(!j){console.warn("Login cancelled.");return}let re=yield J.getSignature(),vt={address:j,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(Rr(G)),re&&u.setTokenLoginInfo({signature:re,address:j}),l(Z(vt)),J.walletConnector.on("heartbeat",()=>{clearInterval(ie),ie=setInterval(()=>{console.log("xPortal Mobile Wallet Connection Lost"),W(),clearInterval(ie)},15e4)}),dt({callbackRoute:t,onLoginRedirect:i,options:{address:j,signature:re}})}catch(J){h("Invalid address"),console.error(J)}})}function Yt(F=!0){return f(this,null,function*(){var re,vt;let J=F&&!I;if(!b||((vt=(re=D==null?void 0:D.current)==null?void 0:re.isInitialized)==null?void 0:vt.call(re))&&!J)return;let se={onClientLogin:Jt,onClientLogout:W},j=new ec.WalletConnectProvider(b,se);yield j.init(),z.current=!0,pe(j),D.current=j,F&&wt()})}function wt(){return f(this,null,function*(){var j;if(!b)return;let F=yield(j=D.current)==null?void 0:j.login();if(!Boolean(F))return;if(d&&!g&&(g=yield u.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(!g){C(F);return}u.setLoginToken(g);let se=`${F}&token=${g}`;C(se)})}let E=Boolean(T),O=ge();return[Yt,{error:T,loginFailed:E,isLoading:Qe&&!E,isLoggedIn:O&&!E},{uriDeepLink:$e,walletConnectUri:I,cancelLogin:et}]};n();var Le=require("react"),tc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");H();P();M();mt();var Mo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=N(),p=o!=null,d=be(o),u=r,[g,T]=(0,Le.useState)(""),[h,I]=(0,Le.useState)(""),[C,k]=(0,Le.useState)(!0),[b,_]=(0,Le.useState)([]),D=oe(),z=S(ta),ie=S(ra),te=S(na),Qe=S(cr),$e=S(Zr),W=(0,Le.useRef)(D),et=(0,Le.useRef)(!0),tt=["erd_cancelAction","multiversx_cancelAction"],Jt=C?"":`${$e}?wallet-connect=${encodeURIComponent(h)}`;zt(()=>{!r||j()},[r]),zt(()=>{W.current=D},[D]),(0,Le.useEffect)(()=>{k(!Boolean(h))},[h]);let Yt=()=>{ee(t)},wt=G=>{console.log("wc2 session event: ",G)},E=()=>{et.current=!1};function O(){return f(this,null,function*(){var G;try{let q=W.current;if(ge()||q==null||!fe("walletconnectv2"))return;if(!et.current){try{yield(G=W.current)==null?void 0:G.logout()}catch(Fd){console.warn("Unable to logout")}return}let Te=yield q.getAddress();if(!Te){console.warn("Login cancelled.");return}let Ve=yield q.getSignature(),wn={address:Te,loginMethod:"walletconnectv2"},nl={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(Rr(nl)),Ve&&d.setTokenLoginInfo({signature:Ve,address:Te}),l(Z(wn)),dt({callbackRoute:e,onLoginRedirect:i,options:{address:Te,signature:Ve}})}catch(q){T("Invalid address"),console.error(q)}})}function F(G=!0){return f(this,null,function*(){if(!ie||!z){T("Invalid WalletConnect setup");return}let q={onClientLogin:O,onClientLogout:Yt,onClientEvent:wt},Y=new tc.WalletConnectV2Provider(q,Qe,z,ie,te);yield Y.init(),et.current=!0,pe(Y),_(Y.pairings),W.current=Y,G&&j()})}function J(G){return f(this,null,function*(){var q,Y,Te;if(!z||!ie){T("Invalid WalletConnect setup");return}if(!G||!G.topic){T("Expired connection");return}try{let{approval:Ve}=yield(q=W.current)==null?void 0:q.connect({topic:G.topic,methods:tt});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(Y=W.current)==null?void 0:Y.login({approval:Ve,token:u})}catch(wn){T("User rejected existing connection proposal"),k(!0),yield F()}}catch(Ve){console.error("Unable to connect to existing session",Ve),T("Unable to connect to existing session")}finally{_((Te=W.current)==null?void 0:Te.pairings)}})}function se(G){return f(this,null,function*(){var q,Y;try{G&&(yield(q=W.current)==null?void 0:q.logout({topic:G}))}catch(Te){console.error("Unable to remove existing pairing",Te),T("Unable to remove existing pairing")}finally{_((Y=W.current)==null?void 0:Y.pairings)}})}function j(){return f(this,null,function*(){var G,q;if(!z||!ie){T("Invalid WalletConnect setup");return}try{let{uri:Y,approval:Te}=yield(G=W.current)==null?void 0:G.connect({methods:tt});if(!Boolean(Y))return;if(I(Y),p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(q=W.current)==null?void 0:q.login({approval:Te,token:u})}catch(wn){T("User rejected connection proposal"),k(!0),yield F()}}catch(Y){console.error("Unable to connect",Y)}})}let re=Boolean(g),vt=ge();return[F,{error:g,loginFailed:re,isLoading:C&&!re,isLoggedIn:vt&&!re},{uriDeepLink:Jt,walletConnectUri:h,cancelLogin:E,connectExisting:J,removeExistingPairing:se,wcPairings:b}]};H();P();M();n();n();var rc=e=>{let t=new URLSearchParams(e).toString(),{pathname:r}=window.location,o=t?`?${t}`:"",i=r?`${r}${o}`:"./";setTimeout(()=>{window.history.replaceState({},document==null?void 0:document.title,i)})};var nc=e=>{var o;let t={};if((o=window==null?void 0:window.location)!=null&&o.search){let i=new URLSearchParams(window.location.search);t=Object.fromEntries(i)}let r={};return e.forEach(i=>{r[i]=t[i],delete t[i]}),{remainingParams:r,clearNavigationHistory:()=>rc(t)}};n();var oc=require("react");n();H();P();V();function fn(e,t){let r=dn(e);if(r==null)return;let o=t!=null?t:w.dispatch,{signature:i,address:l}=r;i&&e&&l&&(o(B()),setTimeout(()=>{o(He({loginToken:e,signature:i,nativeAuthToken:e})),o(Z({address:l,loginMethod:"extra"}))}))}function ic(){var l;let e=N(),t=typeof window!="undefined"?(l=window==null?void 0:window.location)==null?void 0:l.search:"",r=new URLSearchParams(t),o=Object.fromEntries(r),i=o==null?void 0:o.accessToken;(0,oc.useEffect)(()=>{fn(i,e)},[i])}function lc(){let e=S(me),t=S(Ys),r=S(Js),o=S(_t),i=S(De),l=S(co),p=S(Zs),d=S(Me),u=S(Ft),[g,T]=(0,We.useState)(),h=S(Yr),I=h==null?void 0:h.nativeAuthConfig,C=be(I||!1),k=(0,We.useRef)(!1),b=N();ic();let{callbackRoute:_,logoutRoute:D}=t||{callbackRoute:"",logoutRoute:""},[z]=Do({callbackRoute:_,logoutRoute:D}),[ie]=Mo({callbackRoute:_,logoutRoute:D});(0,We.useEffect)(()=>{te()},[e]),(0,We.useEffect)(()=>{wt()},[r]),(0,We.useEffect)(()=>{$e()},[i,e]),(0,We.useEffect)(()=>{Qe()},[l,d,g]);function te(){return f(this,null,function*(){try{let E=yield _a();E&&b(is(E.erd_chain_id))}catch(E){console.error("failed refreshing chainId ",E)}})}function Qe(){l==null&&p!=null&&g&&b(Vn({index:p.index,address:i,hasContractDataEnabled:g.dataEnabled,version:g.version}))}function $e(){return f(this,null,function*(){if(b(Ct(!0)),k.current){k.current=!1,b(Ct(!1));return}if(i)try{let E=yield Ye(i);E&&b(pt(L(y({},E),{address:i,nonce:E.nonce.valueOf()})))}catch(E){b(Gi("Failed getting account")),console.error("Failed getting account ",E)}b(Ct(!1))})}function W(){return f(this,null,function*(){let E=wo(e.walletAddress);if(pe(E),o!=null){try{let O=yield Fe(),{clearNavigationHistory:F,remainingParams:{signature:J}}=nc(["signature","loginToken","address"]);if(!O)return pe(ur),b(He(null)),b(Nr(null)),F();J&&C.setTokenLoginInfo({signature:J,address:O});let se=yield Ye(O);se&&(k.current=!0,b(Ct(!0)),b(Z({address:O,loginMethod:"wallet"})),b(pt(L(y({},se),{nonce:Wt(se)}))),b(Ct(!1))),F()}catch(O){console.error("Failed authenticating wallet user ",O)}b(Nr(null))}})}function et(){return f(this,null,function*(){let E=new ac.HWProvider,O=E.isInitialized();if(O||(O=yield E.init()),!O&&d){console.warn("Could not initialise ledger app"),ee(u);return}return(p==null?void 0:p.index)!=null&&(E.addressIndex=p.index),E})}function tt(){return f(this,null,function*(){try{let E=yield et();if(!E)return;let O=yield vo(E);pe(E),T(O)}catch(E){console.error("Could not initialise ledger app",E),ee(u)}})}function Jt(){return f(this,null,function*(){try{let E=yield Fe(),O=sc.ExtensionProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(E){console.error("Unable to login to ExtensionProvider",E)}})}function Yt(){return f(this,null,function*(){try{let E=yield Fe(),O=cc.OperaProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(E){console.error("Unable to login to OperaProvider",E)}})}function wt(){if(r!=null)switch(r){case"ledger":{tt();break}case"walletconnect":{z(!1);break}case"walletconnectv2":{ie(!1);break}case"extension":{Jt();break}case"opera":{Yt();break}case"extra":{ln();break}case"wallet":case"":{W();break}default:return}}return null}n();n();var Fo=require("@multiversx/sdk-core");V();n();M();var pc=()=>window!=null&&window.ReactNativeWebView?"reactNative":window.webkit?"ios":"web";n();V();var Tn={signTransactions:{["ios"]:e=>window.webkit.messageHandlers.signTransactions.postMessage(e,ye),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye)},signMessage:{["ios"]:e=>window.webkit.messageHandlers.signMessage.postMessage(e),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye)},logout:{["ios"]:()=>window.webkit.messageHandlers.logout.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye)},login:{["ios"]:()=>window.webkit.messageHandlers.login.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye)}};var Oo=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)},_o=pc(),dc,mc,ye=typeof window!="undefined"&&(mc=(dc=window==null?void 0:window.parent)==null?void 0:dc.origin)!=null?mc:"*",uc=e=>{let t=r=>{let o=r.data;if(r.target.origin==ye)try{o=JSON.parse(o),e(o)}catch(i){console.error("error parsing response")}};document.addEventListener("message",t),window.addEventListener("message",t)},gc={init:()=>f(void 0,null,function*(){return!0}),login:()=>f(void 0,null,function*(){return!0}),relogin:()=>f(void 0,null,function*(){try{return Tn.login[_o](),yield new Promise((t,r)=>{function o(i){let{message:l,type:p}=i;if(p==="LOGIN_RESPONSE")try{let{accessToken:d,error:u}=l;u?r(u):(fn(d),ln(),t(d))}catch(d){r("Unable to login")}document.removeEventListener("message",o)}uc(o)})}catch(e){throw console.error("error logging in",e),e}}),logout:()=>(Tn.logout[_o](),new Promise(e=>{e(!0)})),getAddress:Oo("getAddress"),isInitialized:()=>!0,isConnected:()=>f(void 0,null,function*(){return!0}),sendTransaction:Oo("sendTransaction"),signMessage:Oo("signMessage"),signTransactions:e=>f(void 0,null,function*(){try{let t=e.map(o=>o.toPlainObject());return Tn.signTransactions[_o](t),yield new Promise((o,i)=>{window.transactionsSigned=(p,d)=>{if(p=JSON.parse(p),d){i(d),window.transactionsSigned=null;return}o(p.map(u=>Fo.Transaction.fromPlainObject(u))),window.transactionsSigned=null};function l(p){let{message:d,type:u}=p;if(u==="SIGN_TRANSACTIONS_RESPONSE"){let{transactions:g,error:T}=d;try{T?i(T):o(g.map(h=>Fo.Transaction.fromPlainObject(h)))}catch(h){i("Unable to sign")}}document.removeEventListener("message",l)}uc(l)})}catch(t){throw console.error("error sending transaction",t),t}}),signTransaction:function(e){return f(this,null,function*(){return(yield this.signTransactions([e]))[0]})}};n();var qt=A(require("react"));n();n();n();n();var Bc=require("react");n();n();var Uo=()=>S(Ie);n();P();n();n();n();var ed=require("react"),td=require("@multiversx/sdk-web-wallet-provider"),rd=A(require("qs"));R();P();M();n();var yc=require("react"),ld=require("@multiversx/sdk-extension-provider");R();P();M();n();n();n();n();var Tc=require("react"),id=require("@multiversx/sdk-extension-provider");R();P();n();n();var pd=A(require("axios")),ud=A(require("swr"));n();n();var Sc=require("react");n();var hc=require("react");jn();P();V();ut();n();at();P();n();n();n();n();n();function xc(){let e=S(yo),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Nt();n();P();M();n();Nt();function wc(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Re(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();P();M();function vc({results:e,hash:t,sessionId:r}){let o=e==null?void 0:e.find(i=>(i==null?void 0:i.returnMessage)!=="");w.dispatch(ir({transactionHash:t,sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage})),w.dispatch(Tt({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();P();V();function Bo(e){w.dispatch(Tt({sessionId:e,status:"timedOut"}))}var yn={},Wo=[];function md({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(Wo.includes(i))return;if(yn[i]>30){Bo(t);return}if(d||Re(l)){yn[i]=yn[i]?yn[i]+1:1;return}u&&(gt(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(Wo.push(i),setTimeout(()=>w.dispatch(ir({sessionId:t,status:"success",transactionHash:i})),r==null?void 0:r.completedTransactionsDelay)):w.dispatch(ir({sessionId:t,status:l,transactionHash:i}))),o||pn(),ft(l)&&vc({sessionId:t,hash:i,results:p})}catch(g){console.error(g),Bo(t)}}function Ac(l){return f(this,arguments,function*({sessionId:e,transactionBatch:{transactions:t,customTransactionInformation:r},getTransactionsByHash:o=sn,shouldRefreshBalance:i}){try{if(t==null)return;let p=wc(t,Wo),d=yield o(p);for(let u of d)md({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function Ic(){let{pendingTransactionsArray:e}=xc();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Re(l.status));if(o.length>0)for(let[i,l]of o)yield Ac(y({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&pn()})}return t}n();var Sd=require("react");n();n();n();P();n();n();var Td=A(require("bignumber.js"));R();P();V();n();var fd=A(require("bignumber.js"));R();n();var yd=require("@multiversx/sdk-core"),hd=A(require("bignumber.js"));R();M();Nt();n();n();n();n();var bc=require("react");n();n();var xd=require("react"),wd=require("@multiversx/sdk-extension-provider");at();H();M();mt();n();var vd=require("react"),Ad=require("@multiversx/sdk-opera-provider");at();H();M();mt();n();var Ld=require("react");at();P();n();n();_n();n();n();var Id=A(require("platform"));n();n();n();n();n();ut();n();n();n();function Lc(e){return new Promise(t=>{setTimeout(()=>t(),e)})}n();var kc=(e,t,r,o=0)=>f(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Lc(t.delay)),kc(e,t,r,o+1)):null}}),Ec=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return kc(e,t,r)});Pt();n();n();n();P();var bd={};var Pc=e=>{if(e.component!=null){let t=e,{component:r}=t,o=rt(t,["component"]),{payload:i}=w.dispatch(Yn(L(y({},o),{component:null})));return bd[i.toastId]=r,i}return w.dispatch(Yn(e)).payload};n();n();var Cc=A(require("axios"));function $o(e){return f(this,null,function*(){try{let{data:t}=yield Cc.default.get(`${e}/websocket/config`);return`wss://${t.url}`}catch(t){throw console.error(t),new Error("Can not get websocket url")}})}n();n();var Rc=require("react"),Ed=require("@multiversx/sdk-hw-provider");at();H();P();M();mt();n();var kd=require("react");n();n();var Nc=require("react");n();var Oc=require("react");n();var xt=require("react"),Dc=require("socket.io-client");P();n();var Ge={current:null,status:"not_initialized"};var Pd=3e3,Cd=3,Rd=500,Nd=1e3;function Mc(){let e=(0,xt.useRef)(null),{address:t}=St(),r=N(),{network:o}=Uo(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r($i(p))},Nd)},l=(0,xt.useCallback)(Ec(()=>f(this,null,function*(){Ge.status="pending";let p=yield $o(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}Ge.current=(0,Dc.io)(p,{forceNew:!0,reconnectionAttempts:Cd,timeout:Pd,query:{address:t}}),Ge.status="completed",Ge.current.onAny(d=>{i(d)})}),{retries:2,delay:Rd}),[t]);(0,xt.useEffect)(()=>{t&&Ge.status==="not_initialized"&&!Ge.current&&l()},[t,Ge.current]),(0,xt.useEffect)(()=>()=>{var p;(p=Ge.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function _c(e){Mc();let t=S(lo);(0,Oc.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var Fc=e=>e.dappModal,Dd=x(Fc,e=>e.visible),hn=x(Fc,e=>e.modal),SM=x(hn,e=>e.showHeader),xM=x(hn,e=>e.showFooter),wM=x(hn,e=>e.headerText),vM=x(hn,e=>e.footerText);lt();var{logoutEvent:Md}=ae,Uc="storage",Wc=()=>{let{address:e}=Oe(),t=S(Ft);(0,Bc.useEffect)(()=>{let r=o=>{if(!(o.key!==Md||!o.newValue))try{let{data:i}=JSON.parse(o.newValue);i===e&&ee(t)}catch(i){return}};return window.addEventListener(Uc,r),()=>{window.removeEventListener(Uc,r)}},[e,t])};n();n();var Sn=require("react"),Vo=A(require("bignumber.js"));var $c=require("@fortawesome/free-solid-svg-icons");n();n();var Tr=A(require("bignumber.js")),Gc=e=>{let t=new Tr.default(e).dividedBy(1e3).integerValue(Tr.default.ROUND_FLOOR),r=new Tr.default(t).dividedBy(60).integerValue(Tr.default.ROUND_FLOOR),o=r.modulo(60).isGreaterThan(1),i=r.modulo(60).isLessThan(1);return o?`${r} minutes`:i?"less than 1 minute":`${r} minute`};var Vc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),{secondsUntilExpires:r,expiresAt:o}=Ht(t==null?void 0:t.nativeAuthToken),i=(0,Sn.useRef)();return(0,Sn.useEffect)(()=>{var d;let l=new Vo.default(String(r)),p=l.times(1e3);if(!(!r||l.isLessThanOrEqualTo(0))){if((d=t==null?void 0:t.nativeAuthConfig)!=null&&d.tokenExpirationToastWarningSeconds){clearTimeout(i.current);let g=new Vo.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),h=Gc(p),I=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{Pc({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:$c.faRefresh,message:`Your token will expire in ${h}!`})},I)}return()=>{clearTimeout(i.current)}}},[o,e,t==null?void 0:t.nativeAuthConfig]),null};n();var jt=require("react"),Hc=A(require("bignumber.js"));var zc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),r=S(Ft),{isExpired:o,secondsUntilExpires:i,expiresAt:l}=Ht(t==null?void 0:t.nativeAuthToken),p=(0,jt.useRef)(""),d=(0,jt.useRef)();return(0,jt.useEffect)(()=>{e&&o&&ee(r)},[o,e,r]),(0,jt.useEffect)(()=>{let u=new Hc.default(String(i)),g=`${e}_${l}`,T=p.current===g;if(!(i&&u.isGreaterThan(0))||T)return;p.current=g,clearTimeout(d.current);let I=u.times(1e3);return d.current=setTimeout(()=>{ee(r)},I.toNumber()),()=>{clearTimeout(d.current)}},[l,e,r]),null};var jc=()=>(Vc(),Wc(),zc(),null);n();n();var xn=require("react"),Kc=require("@multiversx/sdk-core"),Jc=require("@multiversx/sdk-core/out/signature");P();M();ut();var qc=e=>{let t=e.redirectRoute;t&&Ce(t)},Yc=({sendSignedTransactionsAsync:e=Pa})=>{let t=S(qe),r=S(Je),o=(0,xn.useRef)(!1),i=N(),l=()=>{i(Dt()),o.current=!1};function p(){return f(this,null,function*(){var u;let d=Object.keys(r);for(let g of d){let T=r==null?void 0:r[g],h=(u=T==null?void 0:T.customTransactionInformation)==null?void 0:u.signWithoutSending;if(!g||h){qc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:k}=r[g];if(!k)continue;o.current=!0;let b=k.map(te=>{let Qe=new Kc.Address(te.sender),$e=Bt(te),W=new Jc.Signature(te.signature);return $e.applySignature(W,Qe),$e}),_=yield e(b),D="pending",z=k.map(te=>_.includes(te.hash)?L(y({},te),{status:D}):te);i(Zi({sessionId:g,submittedMessage:"submitted"})),i(Tt({sessionId:g,status:"sent",transactions:z})),l(),Va(t.nonce+k.length),qc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(I){console.error("Unable to send transactions",I),i(Tt({sessionId:g,status:"fail",errorMessage:I.message})),l()}finally{o.current=!1}}})}return(0,xn.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Zc=require("react");function Xc(e){var i;let t=Ic(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:sn,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};_c(o),(0,Zc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function Qc({getTransactionsByHash:e}){return Xc({getTransactionsByHash:e}),null}function el({customComponents:e}){var l,p;let t=e==null?void 0:e.transactionSender,r=e==null?void 0:e.transactionTracker,o=(l=t==null?void 0:t.component)!=null?l:Yc,i=(p=r==null?void 0:r.component)!=null?p:Qc;return qt.default.createElement(qt.default.Fragment,null,qt.default.createElement(o,y({},t==null?void 0:t.props)),qt.default.createElement(i,y({},r==null?void 0:r.props)),qt.default.createElement(jc,null))}var Od=({children:e,customNetworkConfig:t={},externalProvider:r,environment:o,customComponents:i,dappConfig:l})=>{if(!o)throw new Error("missing environment flag");return r!=null&&bo(r),l!=null&&l.shouldUseWebViewProvider&&bo(gc),Kt.default.createElement(tl.Provider,{context:ar,store:w},Kt.default.createElement(rl.PersistGate,{persistor:Hs,loading:null},Kt.default.createElement(ko,{environment:o,customNetworkConfig:t,logoutRoute:l==null?void 0:l.logoutRoute},Kt.default.createElement(lc,null),Kt.default.createElement(el,{customComponents:i}),e)))};0&&(module.exports={AppInitializer,AuthenticatedRoutesWrapper,AxiosInterceptor,AxiosInterceptorContext,AxiosInterceptorContextProvider,DappProvider,LoginInfoListener,useAxiosInterceptorContext});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,2 +1,2 @@
1
- "use strict";import{a,b,c}from"../__chunks__/chunk-UYKSTJCI.js";import"../__chunks__/chunk-MLSI3RC2.js";import"../__chunks__/chunk-XKMOG6SS.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-FGT3C4FE.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-43CTUMZY.js";import"../__chunks__/chunk-HBP5N4FR.js";export{a as testAddress,b as testNetwork,c as testReceiver};
1
+ "use strict";import{a,b,c}from"../__chunks__/chunk-LU3DM6HR.js";import"../__chunks__/chunk-7RDCJEBM.js";import"../__chunks__/chunk-3VNANIQN.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-BPPVSU25.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-CDW2662X.js";import"../__chunks__/chunk-HBP5N4FR.js";export{a as testAddress,b as testNetwork,c as testReceiver};
2
2
  //# sourceMappingURL=accountConfig.js.map
@@ -1,2 +1,2 @@
1
- "use strict";import"../__chunks__/chunk-OQMQWZG7.js";import{a as m}from"../__chunks__/chunk-WTAIM7XI.js";import{a as x,b as a,c as b}from"../__chunks__/chunk-BOKSFKJF.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-5RFLO6MR.js";import"../__chunks__/chunk-CJH2YV7X.js";import"../__chunks__/chunk-BBL4ZXHW.js";import"../__chunks__/chunk-USTDS2O5.js";import"../__chunks__/chunk-K3PKB7WJ.js";import"../__chunks__/chunk-ENVPO3OR.js";import"../__chunks__/chunk-YPLFH5NC.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-HER7NR3P.js";import"../__chunks__/chunk-WYFQSQAM.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-G4FTNX3C.js";import"../__chunks__/chunk-W37FQYGP.js";import"../__chunks__/chunk-IOHWBSIX.js";import"../__chunks__/chunk-2C65GIQZ.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-QL7RMPDI.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-32VBXZXR.js";import"../__chunks__/chunk-AFLDYYSB.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-TQVFVFKS.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-3YOLWVYN.js";import"../__chunks__/chunk-7XE7OVZZ.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-Y3CLO3PP.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-3EYFCRQJ.js";import"../__chunks__/chunk-2DPI5E3W.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-AJVN5NMC.js";import"../__chunks__/chunk-RJFWI3UU.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-WALAONSP.js";import"../__chunks__/chunk-YMP4Z5XY.js";import"../__chunks__/chunk-NQ5XJOIL.js";import"../__chunks__/chunk-ADCSG5DO.js";import"../__chunks__/chunk-73KODBLR.js";import"../__chunks__/chunk-KTYRUFXV.js";import"../__chunks__/chunk-BQOSJ42S.js";import"../__chunks__/chunk-NAKSKDVH.js";import"../__chunks__/chunk-W2FZFACI.js";import"../__chunks__/chunk-U77UZINY.js";import"../__chunks__/chunk-ZEEWQEXA.js";import"../__chunks__/chunk-YFDYMEP5.js";import"../__chunks__/chunk-IC5Y7E5N.js";import"../__chunks__/chunk-CEPGJ4CK.js";import"../__chunks__/chunk-XCBMXPY5.js";import"../__chunks__/chunk-BQY4YEPO.js";import"../__chunks__/chunk-3XYPMC5Z.js";import"../__chunks__/chunk-VS7YJKJM.js";import"../__chunks__/chunk-7CRYWUS6.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-JFOJHUMM.js";import"../__chunks__/chunk-D3DU3GYZ.js";import"../__chunks__/chunk-D3E65LJ5.js";import"../__chunks__/chunk-PURPYWQM.js";import"../__chunks__/chunk-HHGHERF3.js";import"../__chunks__/chunk-5MMAS7IS.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-FLNAHHFO.js";import"../__chunks__/chunk-CKRLCHHT.js";import"../__chunks__/chunk-6ERRM2KF.js";import"../__chunks__/chunk-USUOFVP7.js";import"../__chunks__/chunk-N7ACY27N.js";import"../__chunks__/chunk-IHIUGJRW.js";import"../__chunks__/chunk-SAFQFQIH.js";import"../__chunks__/chunk-J53G5Q65.js";import"../__chunks__/chunk-5WQI3F3M.js";import"../__chunks__/chunk-UTDBQNDV.js";import"../__chunks__/chunk-TGSNOZEZ.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-MBOASZBJ.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-GQMTJB4L.js";import"../__chunks__/chunk-GNJAE3HJ.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-3LTTE7Z4.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-S6DXOR2S.js";import"../__chunks__/chunk-RBHVYE2Y.js";import"../__chunks__/chunk-YBGCB57C.js";import"../__chunks__/chunk-JWQRJOLL.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-42BPBN4G.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-525WM2BT.js";import"../__chunks__/chunk-TOZA3Q3T.js";import"../__chunks__/chunk-GCYQRVDH.js";import"../__chunks__/chunk-SPNCRNER.js";import"../__chunks__/chunk-Z6WGQSRM.js";import"../__chunks__/chunk-NGVE7MA7.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-N7H3FMAE.js";import"../__chunks__/chunk-RQ5KJRJY.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-3KOYQHTR.js";import"../__chunks__/chunk-4VDFQTIQ.js";import"../__chunks__/chunk-7ZZWUK5N.js";import"../__chunks__/chunk-MRGB5FAN.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-NJVX7KSK.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-SZGCAC7X.js";import"../__chunks__/chunk-MV5K23LN.js";import"../__chunks__/chunk-UX2EZNAX.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-LG6WIZHT.js";import"../__chunks__/chunk-CPEIGU6U.js";import"../__chunks__/chunk-737AN7JD.js";import"../__chunks__/chunk-SMISCEQS.js";import"../__chunks__/chunk-XZ5MLYGD.js";import"../__chunks__/chunk-KQCX4VG2.js";import"../__chunks__/chunk-TTS3WFEE.js";import"../__chunks__/chunk-UC3M6BHM.js";import"../__chunks__/chunk-CX7JJAI7.js";import"../__chunks__/chunk-7NADEOVW.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-R3FSXFX3.js";import"../__chunks__/chunk-FXKLPJUW.js";import"../__chunks__/chunk-T6SOZMFL.js";import"../__chunks__/chunk-KQF4EULM.js";import"../__chunks__/chunk-WWLOW2S3.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-UMD2MTE3.js";import"../__chunks__/chunk-5FBZWQQA.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-GY336JML.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-573MD3HA.js";import"../__chunks__/chunk-SCCXHHWP.js";import"../__chunks__/chunk-XWDYQGE2.js";import"../__chunks__/chunk-WWSWE52T.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-E7MY3TPU.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-RGJUSITX.js";import"../__chunks__/chunk-RU373C7L.js";import"../__chunks__/chunk-6YFMGTBJ.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-I3DMSSAU.js";import"../__chunks__/chunk-77DECFQY.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-QOM22MQB.js";import"../__chunks__/chunk-CY7H7XN3.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-HEMJW4UP.js";import"../__chunks__/chunk-Z6PNQGOE.js";import"../__chunks__/chunk-DHYV75O3.js";import"../__chunks__/chunk-YUIINDCV.js";import"../__chunks__/chunk-MAPKARLD.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-QZPF3VRD.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-BYS7QALE.js";import"../__chunks__/chunk-P5ISWVSR.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-FNO4F4XU.js";import"../__chunks__/chunk-6U3Y3HED.js";import"../__chunks__/chunk-MDNDUSGB.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-PWZEN2EG.js";import"../__chunks__/chunk-EVUACURD.js";import"../__chunks__/chunk-EMQ3L23O.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-PINKYRXT.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-LKR7PEAH.js";import"../__chunks__/chunk-S267QGNY.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-Z7HQTVYF.js";import"../__chunks__/chunk-QB3XGANM.js";import"../__chunks__/chunk-MYRD6QTU.js";import"../__chunks__/chunk-357APEOJ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-MDZPOO3F.js";import"../__chunks__/chunk-BMJLZLZM.js";import"../__chunks__/chunk-K4P3Q4G6.js";import"../__chunks__/chunk-KCOIYEPV.js";import"../__chunks__/chunk-P6MWBKH3.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-F2EJ4NBK.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-X3JF7AJ7.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-DG7FFCMC.js";import"../__chunks__/chunk-HP3L7RUD.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-F4Z4BQFP.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-QVCVZLRQ.js";import"../__chunks__/chunk-UWE6TJ47.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-GBQ5D4O5.js";import"../__chunks__/chunk-PRBKZEMT.js";import"../__chunks__/chunk-T7D7BT5X.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-LF6VJNCF.js";import"../__chunks__/chunk-JBJD3IUJ.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-A4SQDGPF.js";import"../__chunks__/chunk-SOPJ4FVA.js";import"../__chunks__/chunk-GXOJLFD4.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-ELIQXNO3.js";import"../__chunks__/chunk-DF24IGER.js";import"../__chunks__/chunk-6OZDAYJV.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-Z4BLO2TH.js";import"../__chunks__/chunk-CUFA5NAA.js";import"../__chunks__/chunk-P7STLJJI.js";import"../__chunks__/chunk-VVPMSN2M.js";import"../__chunks__/chunk-S7JDYKHM.js";import"../__chunks__/chunk-ODQ5XNPU.js";import"../__chunks__/chunk-XNHZJ2SC.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-XIHOENSC.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-4ALRWZZQ.js";import"../__chunks__/chunk-TXM7RATR.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-5JVA7MJI.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-5R432HI2.js";import"../__chunks__/chunk-LKDW3XH3.js";import"../__chunks__/chunk-ANO63HEG.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-YLOIJNV2.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-YWT4XNXN.js";import"../__chunks__/chunk-6UNQJUWL.js";import"../__chunks__/chunk-KKMXLCWS.js";import"../__chunks__/chunk-5WX4CALV.js";import"../__chunks__/chunk-HWDGDPLP.js";import"../__chunks__/chunk-LM64ZHBF.js";import"../__chunks__/chunk-YU5OYJX7.js";import"../__chunks__/chunk-DQLFYAJF.js";import"../__chunks__/chunk-NANO4X2A.js";import"../__chunks__/chunk-ILI6V46A.js";import"../__chunks__/chunk-4P3LJAUR.js";import"../__chunks__/chunk-IIXY6EVM.js";import"../__chunks__/chunk-FYSR5U3I.js";import"../__chunks__/chunk-DUSZZPF5.js";import"../__chunks__/chunk-OXBZSHOZ.js";import"../__chunks__/chunk-PXHBOM4A.js";import"../__chunks__/chunk-ZU6LXEUO.js";import"../__chunks__/chunk-5KGDRZSV.js";import"../__chunks__/chunk-VTMJ7INI.js";import"../__chunks__/chunk-WTIKHG7D.js";import"../__chunks__/chunk-A2IXF222.js";import"../__chunks__/chunk-RLE3NYEW.js";import"../__chunks__/chunk-TYNIHZ2F.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-YRHGZ4HS.js";import"../__chunks__/chunk-J42ZO72F.js";import"../__chunks__/chunk-2DKPFSTT.js";import"../__chunks__/chunk-YKKS3O3Z.js";import"../__chunks__/chunk-27DX5WIQ.js";import"../__chunks__/chunk-X2JZA2ND.js";import"../__chunks__/chunk-MV7THB7B.js";import"../__chunks__/chunk-WQFSDAGL.js";import"../__chunks__/chunk-QR72MI4M.js";import"../__chunks__/chunk-FC3CZOOQ.js";import{a as r,b as e,c as f}from"../__chunks__/chunk-UYKSTJCI.js";import"../__chunks__/chunk-MLSI3RC2.js";import"../__chunks__/chunk-XKMOG6SS.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-FGT3C4FE.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-43CTUMZY.js";import"../__chunks__/chunk-GNCSMYRN.js";import"../__chunks__/chunk-Y4RXLAEX.js";import"../__chunks__/chunk-UIDXWJ2D.js";import"../__chunks__/chunk-FTQGHIGG.js";import"../__chunks__/chunk-NHHDQ53S.js";import"../__chunks__/chunk-XXP2T2NS.js";import"../__chunks__/chunk-AHX4GHIC.js";import{m as o}from"../__chunks__/chunk-HBP5N4FR.js";o();export{m as createSubscription,a as mockResponse,t as mockWindowLocation,p as renderWithProvider,x as rest,b as server,r as testAddress,e as testNetwork,f as testReceiver};
1
+ "use strict";import"../__chunks__/chunk-OQMQWZG7.js";import{a as m}from"../__chunks__/chunk-WTAIM7XI.js";import{a as x,b as a,c as b}from"../__chunks__/chunk-H3R6VXAV.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-GN2RX6OL.js";import"../__chunks__/chunk-BT4PUPX2.js";import"../__chunks__/chunk-ONIRIDYD.js";import"../__chunks__/chunk-BMG5SADY.js";import"../__chunks__/chunk-K3PKB7WJ.js";import"../__chunks__/chunk-SBN47C2G.js";import"../__chunks__/chunk-J3Q7UDAZ.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-IUSHI4WG.js";import"../__chunks__/chunk-WKN5JWWQ.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-YABBPNUR.js";import"../__chunks__/chunk-54NTEZC5.js";import"../__chunks__/chunk-Z4ABT7NG.js";import"../__chunks__/chunk-WU2RFM5A.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-QD5QDTC3.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-SYT2T7G2.js";import"../__chunks__/chunk-O4ZYTYXZ.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-5SFT27AY.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-GIPQCOE2.js";import"../__chunks__/chunk-3UYWEUYO.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-4MGGEDE4.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-CSS5DPJE.js";import"../__chunks__/chunk-6PSLWD7K.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-JWP3WLIN.js";import"../__chunks__/chunk-ESLOIYNE.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-L5DW2DTN.js";import"../__chunks__/chunk-AJBKM66B.js";import"../__chunks__/chunk-SLZBO3FX.js";import"../__chunks__/chunk-NYNRNXOR.js";import"../__chunks__/chunk-FIPS3NHS.js";import"../__chunks__/chunk-WRKQTXD4.js";import"../__chunks__/chunk-A3YTVQRT.js";import"../__chunks__/chunk-2MN2JEL5.js";import"../__chunks__/chunk-VGVAZOOL.js";import"../__chunks__/chunk-KG3U55NF.js";import"../__chunks__/chunk-JK6EDPQT.js";import"../__chunks__/chunk-3DOTBYW5.js";import"../__chunks__/chunk-W4GD6OCO.js";import"../__chunks__/chunk-4E4GWX4K.js";import"../__chunks__/chunk-BRPCFDIZ.js";import"../__chunks__/chunk-65MQPHO4.js";import"../__chunks__/chunk-BZONU76B.js";import"../__chunks__/chunk-KYC5JNJB.js";import"../__chunks__/chunk-OXJW5VJL.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-NQ247DLE.js";import"../__chunks__/chunk-TKQGS7L2.js";import"../__chunks__/chunk-NEHGYCY2.js";import"../__chunks__/chunk-5E3Y7WDX.js";import"../__chunks__/chunk-M4KXOW7P.js";import"../__chunks__/chunk-PHYN544Z.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-ZTWKQMJR.js";import"../__chunks__/chunk-COL2EXNW.js";import"../__chunks__/chunk-6ERRM2KF.js";import"../__chunks__/chunk-5AOQJY3W.js";import"../__chunks__/chunk-IMPGP7LI.js";import"../__chunks__/chunk-35T5H5IL.js";import"../__chunks__/chunk-SDDHDY7Z.js";import"../__chunks__/chunk-J53G5Q65.js";import"../__chunks__/chunk-5WQI3F3M.js";import"../__chunks__/chunk-PVQIICYI.js";import"../__chunks__/chunk-5TSTJK3D.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-ZSU24JZ5.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-XHHJUHQV.js";import"../__chunks__/chunk-CUPMM5UN.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-SGEONHJN.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-DXE4AAU7.js";import"../__chunks__/chunk-LWC25W2W.js";import"../__chunks__/chunk-A453JAS3.js";import"../__chunks__/chunk-YYBTFRCM.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-E4X4P3T6.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-343YDU2S.js";import"../__chunks__/chunk-54NEP2BY.js";import"../__chunks__/chunk-T2CFMPMF.js";import"../__chunks__/chunk-6A6EWHUH.js";import"../__chunks__/chunk-YWMWYHIA.js";import"../__chunks__/chunk-NGVE7MA7.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-JCD6DJSC.js";import"../__chunks__/chunk-BAT5BA5V.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-JJWH3JYM.js";import"../__chunks__/chunk-4VDFQTIQ.js";import"../__chunks__/chunk-3ZPW6NBW.js";import"../__chunks__/chunk-MRGB5FAN.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-NJVX7KSK.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-SZGCAC7X.js";import"../__chunks__/chunk-MV5K23LN.js";import"../__chunks__/chunk-D6AVFA2D.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-OE5DHTVR.js";import"../__chunks__/chunk-I4BUST3H.js";import"../__chunks__/chunk-QGGGF3OX.js";import"../__chunks__/chunk-BTUNYV43.js";import"../__chunks__/chunk-G3RFZTTV.js";import"../__chunks__/chunk-UGJIORNP.js";import"../__chunks__/chunk-WR6IIZFW.js";import"../__chunks__/chunk-OGZP3W4S.js";import"../__chunks__/chunk-B3TAZ7VX.js";import"../__chunks__/chunk-MYN7DB3X.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-3ADB74GU.js";import"../__chunks__/chunk-4AXBEAVW.js";import"../__chunks__/chunk-IYGHEIZB.js";import"../__chunks__/chunk-ZQIOXJ4W.js";import"../__chunks__/chunk-346RZSEQ.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-TJUHE354.js";import"../__chunks__/chunk-EFMJXVWX.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-3BQODYHQ.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-ZX7JX6JP.js";import"../__chunks__/chunk-L5UKH2NP.js";import"../__chunks__/chunk-AOEAP24C.js";import"../__chunks__/chunk-QNUO32JN.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-YCWMLUF4.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-NTCEKYNN.js";import"../__chunks__/chunk-T4Q37HLR.js";import"../__chunks__/chunk-YRLJP2A7.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-K5UIZVZV.js";import"../__chunks__/chunk-DTN6DYVS.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-QOM22MQB.js";import"../__chunks__/chunk-T3NGVEED.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-LLTQNIPQ.js";import"../__chunks__/chunk-5LIPZK7I.js";import"../__chunks__/chunk-6TWOJZGW.js";import"../__chunks__/chunk-7S2XISHG.js";import"../__chunks__/chunk-EZWQ7DMD.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-QZPF3VRD.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-KYVILTBF.js";import"../__chunks__/chunk-P5ISWVSR.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-XGTZDEYC.js";import"../__chunks__/chunk-6U3Y3HED.js";import"../__chunks__/chunk-VHHIARAI.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-PWZEN2EG.js";import"../__chunks__/chunk-Q3OVBMP3.js";import"../__chunks__/chunk-EMQ3L23O.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-XARXYP2R.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-LKR7PEAH.js";import"../__chunks__/chunk-S267QGNY.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-4ZPZ6AIU.js";import"../__chunks__/chunk-T2MIRLFN.js";import"../__chunks__/chunk-MYRD6QTU.js";import"../__chunks__/chunk-357APEOJ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-CJEHVP77.js";import"../__chunks__/chunk-2G7BO52P.js";import"../__chunks__/chunk-LGPEIIM7.js";import"../__chunks__/chunk-SXJLOBGK.js";import"../__chunks__/chunk-KHHNKZRB.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-AK245ZB2.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-YLMQQGTH.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-PMREAIGI.js";import"../__chunks__/chunk-HP3L7RUD.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-TGPRRERJ.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-3CRW4ZUP.js";import"../__chunks__/chunk-C7BZLCLN.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-T2MFBGAA.js";import"../__chunks__/chunk-PRBKZEMT.js";import"../__chunks__/chunk-T7D7BT5X.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-CXXTFRHA.js";import"../__chunks__/chunk-JBJD3IUJ.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-B4DRNYML.js";import"../__chunks__/chunk-KV6GSWNL.js";import"../__chunks__/chunk-TTBVJAYG.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-CNNCGA7P.js";import"../__chunks__/chunk-6NPKQKN5.js";import"../__chunks__/chunk-6OZDAYJV.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-HIX6QXZ4.js";import"../__chunks__/chunk-HOM67ZP7.js";import"../__chunks__/chunk-X7SBGOMA.js";import"../__chunks__/chunk-MCGMQBME.js";import"../__chunks__/chunk-J7NMG22C.js";import"../__chunks__/chunk-R4B6ID2N.js";import"../__chunks__/chunk-W5D3A5ES.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-3OTU3LGP.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-E36MIU6P.js";import"../__chunks__/chunk-Y5PCCHR4.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-5JVA7MJI.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-2UFNSJOJ.js";import"../__chunks__/chunk-SGNT3E2X.js";import"../__chunks__/chunk-UIXYMFD4.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-HWLMQLGK.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-U2ELIFGD.js";import"../__chunks__/chunk-5LIDVEDY.js";import"../__chunks__/chunk-KKMXLCWS.js";import"../__chunks__/chunk-BKSSTINX.js";import"../__chunks__/chunk-MIKIMQR2.js";import"../__chunks__/chunk-UGAJ6X3Z.js";import"../__chunks__/chunk-PCHRWVXC.js";import"../__chunks__/chunk-MOA4IRT5.js";import"../__chunks__/chunk-SFP5Q2SB.js";import"../__chunks__/chunk-HACCGAKC.js";import"../__chunks__/chunk-6O5L57GH.js";import"../__chunks__/chunk-J6HSKOGJ.js";import"../__chunks__/chunk-FYSR5U3I.js";import"../__chunks__/chunk-DUSZZPF5.js";import"../__chunks__/chunk-OXBZSHOZ.js";import"../__chunks__/chunk-PXHBOM4A.js";import"../__chunks__/chunk-ZU6LXEUO.js";import"../__chunks__/chunk-5KGDRZSV.js";import"../__chunks__/chunk-VTMJ7INI.js";import"../__chunks__/chunk-WTIKHG7D.js";import"../__chunks__/chunk-HJ7GDMMX.js";import"../__chunks__/chunk-RLE3NYEW.js";import"../__chunks__/chunk-TYNIHZ2F.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-S2KUPUGA.js";import"../__chunks__/chunk-J42ZO72F.js";import"../__chunks__/chunk-25LYYPSL.js";import"../__chunks__/chunk-T34J5F2S.js";import"../__chunks__/chunk-27DX5WIQ.js";import"../__chunks__/chunk-X2JZA2ND.js";import"../__chunks__/chunk-MV7THB7B.js";import"../__chunks__/chunk-WQFSDAGL.js";import"../__chunks__/chunk-QR72MI4M.js";import"../__chunks__/chunk-FC3CZOOQ.js";import{a as r,b as e,c as f}from"../__chunks__/chunk-LU3DM6HR.js";import"../__chunks__/chunk-7RDCJEBM.js";import"../__chunks__/chunk-3VNANIQN.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-BPPVSU25.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-CDW2662X.js";import"../__chunks__/chunk-GNCSMYRN.js";import"../__chunks__/chunk-Y4RXLAEX.js";import"../__chunks__/chunk-UIDXWJ2D.js";import"../__chunks__/chunk-FTQGHIGG.js";import"../__chunks__/chunk-NHHDQ53S.js";import"../__chunks__/chunk-XXP2T2NS.js";import"../__chunks__/chunk-AHX4GHIC.js";import{m as o}from"../__chunks__/chunk-HBP5N4FR.js";o();export{m as createSubscription,a as mockResponse,t as mockWindowLocation,p as renderWithProvider,x as rest,b as server,r as testAddress,e as testNetwork,f as testReceiver};
2
2
  //# sourceMappingURL=index.js.map