@multiversx/sdk-dapp 2.2.8 → 2.2.9

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 (678) 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/ExplorerLink/ExplorerLink.js +1 -1
  5. package/UI/ExplorerLink/index.js +1 -1
  6. package/UI/ModalContainer/ModalContainer.js +1 -1
  7. package/UI/ModalContainer/index.js +1 -1
  8. package/UI/NotificationModal/index.js +1 -1
  9. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  16. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  17. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  18. package/UI/SignTransactionsModals/components/index.js +1 -1
  19. package/UI/SignTransactionsModals/index.js +1 -1
  20. package/UI/TokenDetails/index.js +1 -1
  21. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  22. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  23. package/UI/TransactionDetails/components/index.js +1 -1
  24. package/UI/TransactionDetails/index.js +1 -1
  25. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  26. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  27. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  28. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  29. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  30. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  31. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  32. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  33. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  34. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  35. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  36. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  37. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  38. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  39. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  40. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  41. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  42. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  43. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  44. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  45. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  46. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  47. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  48. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  49. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  50. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  51. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  52. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  53. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  54. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  55. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  56. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  57. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  58. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  59. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  60. package/UI/TransactionInfo/components/index.js +1 -1
  61. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  62. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  63. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  64. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  65. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  66. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  67. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  68. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  69. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  70. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  71. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  72. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  73. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  74. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  75. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  76. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  80. package/UI/TransactionInfo/index.js +1 -1
  81. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  82. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  83. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  84. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  85. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  86. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  87. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  88. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  89. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  90. package/UI/TransactionsTable/components/index.js +1 -1
  91. package/UI/TransactionsTable/index.js +1 -1
  92. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  93. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  94. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  95. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  96. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  97. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  98. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  99. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  100. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  101. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  102. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  103. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  104. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  105. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  106. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  107. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  108. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  109. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  110. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  111. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  112. package/UI/TransactionsToastList/components/index.js +1 -1
  113. package/UI/TransactionsToastList/index.js +1 -1
  114. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  115. package/UI/index.js +1 -1
  116. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  117. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  118. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  119. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  120. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  121. package/UI/ledger/index.js +1 -1
  122. package/UI/pages/UnlockPage/index.js +1 -1
  123. package/UI/pages/index.js +1 -1
  124. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  125. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  126. package/UI/walletConnect/index.js +1 -1
  127. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  128. package/__chunks__/{chunk-GL3ZQY35.js → chunk-2747DBC5.js} +2 -2
  129. package/__chunks__/{chunk-PPRKYDMI.js → chunk-27W4RYCB.js} +2 -2
  130. package/__chunks__/{chunk-MCHY7ULZ.js → chunk-2EPKPA7X.js} +2 -2
  131. package/__chunks__/{chunk-YOIHCIZO.js → chunk-2KEKYIKF.js} +2 -2
  132. package/__chunks__/{chunk-4GOB7LZ5.js → chunk-2OXDEH5R.js} +2 -2
  133. package/__chunks__/{chunk-MY5IQBX5.js → chunk-2QMOCBXT.js} +2 -2
  134. package/__chunks__/chunk-3BXBWNHG.js +2 -0
  135. package/__chunks__/chunk-3JMXL3ZH.js +2 -0
  136. package/__chunks__/chunk-3LA46YVM.js +2 -0
  137. package/__chunks__/{chunk-M22H6OX5.js → chunk-3XYVMAUZ.js} +2 -2
  138. package/__chunks__/{chunk-LBJB3ZNM.js → chunk-4EJQ6DSL.js} +2 -2
  139. package/__chunks__/{chunk-5VCQYCYB.js → chunk-4MMDW3AN.js} +2 -2
  140. package/__chunks__/{chunk-AAJVVQT6.js → chunk-4QRO7HX5.js} +2 -2
  141. package/__chunks__/{chunk-RUTTIU5E.js → chunk-4REBP6WY.js} +2 -2
  142. package/__chunks__/{chunk-L4IDQPOD.js → chunk-4STYFQ4U.js} +2 -2
  143. package/__chunks__/chunk-5D54Y7JB.js +2 -0
  144. package/__chunks__/{chunk-6NXMC65N.js → chunk-5HMAFC53.js} +2 -2
  145. package/__chunks__/{chunk-OW7HQGRY.js → chunk-5I5R4A5G.js} +2 -2
  146. package/__chunks__/chunk-5PGSKBWL.js +2 -0
  147. package/__chunks__/{chunk-FVG6XMBQ.js → chunk-62G7GJKN.js} +2 -2
  148. package/__chunks__/{chunk-MG7CMK7A.js → chunk-66NLICRH.js} +2 -2
  149. package/__chunks__/{chunk-BOJMUSXY.js → chunk-6MVR6BBP.js} +2 -2
  150. package/__chunks__/{chunk-GW5LFRGT.js → chunk-6PL4QFNG.js} +2 -2
  151. package/__chunks__/{chunk-EIVT6Z63.js → chunk-6S5ZHK2B.js} +2 -2
  152. package/__chunks__/{chunk-LMC6YRHT.js → chunk-77IECT3I.js} +2 -2
  153. package/__chunks__/{chunk-QXWR6TSF.js → chunk-7FFOMOWE.js} +2 -2
  154. package/__chunks__/{chunk-FIY7MK45.js → chunk-7JLREWFH.js} +2 -2
  155. package/__chunks__/{chunk-OGNQ2P7I.js → chunk-7JLVJNMZ.js} +2 -2
  156. package/__chunks__/{chunk-JTCO74AP.js → chunk-7LRSU4EP.js} +1 -1
  157. package/__chunks__/{chunk-O2K3THKS.js → chunk-7NIKDCME.js} +2 -2
  158. package/__chunks__/{chunk-64572GSB.js → chunk-7UR47JS3.js} +2 -2
  159. package/__chunks__/{chunk-Y4FFH4PZ.js → chunk-APZAKVXY.js} +2 -2
  160. package/__chunks__/{chunk-MDZNNVE7.js → chunk-BBYDGHDB.js} +2 -2
  161. package/__chunks__/{chunk-Z4W26FV7.js → chunk-BDEDNJCP.js} +2 -2
  162. package/__chunks__/chunk-BDJT6VWB.js +2 -0
  163. package/__chunks__/{chunk-MEKAGLP3.js → chunk-BGTAYSZX.js} +2 -2
  164. package/__chunks__/{chunk-MV4B2PJR.js → chunk-BIKHMTZ2.js} +2 -2
  165. package/__chunks__/{chunk-LTH2PQYE.js → chunk-BP2DV6FZ.js} +2 -2
  166. package/__chunks__/{chunk-EWHR6KPN.js → chunk-BUYM6IA4.js} +2 -2
  167. package/__chunks__/chunk-BYSH3UW5.js +2 -0
  168. package/__chunks__/{chunk-KBAEUOCV.js → chunk-C453SXKS.js} +2 -2
  169. package/__chunks__/chunk-CNQDR77M.js +2 -0
  170. package/__chunks__/{chunk-R7MU4VR6.js → chunk-CPD5PAKM.js} +2 -2
  171. package/__chunks__/{chunk-TOXUX7HH.js → chunk-CSNOFG2L.js} +2 -2
  172. package/__chunks__/{chunk-BJNLUAT6.js → chunk-D22C4NRZ.js} +2 -2
  173. package/__chunks__/chunk-D7ESU7PM.js +2 -0
  174. package/__chunks__/{chunk-B5WBMB3W.js → chunk-D7GAZ2QF.js} +2 -2
  175. package/__chunks__/{chunk-JEJURFRK.js → chunk-DL3OWOUL.js} +2 -2
  176. package/__chunks__/{chunk-LUQ2H3V7.js → chunk-DMQLBHXQ.js} +2 -2
  177. package/__chunks__/{chunk-A7FH4BS6.js → chunk-DNQT65WC.js} +2 -2
  178. package/__chunks__/{chunk-6SBWMEC4.js → chunk-EYVRZI7M.js} +2 -2
  179. package/__chunks__/chunk-FDKODXIE.js +2 -0
  180. package/__chunks__/{chunk-BSJ5ENGA.js → chunk-FKXDC3ZG.js} +2 -2
  181. package/__chunks__/{chunk-NVNI3SO4.js → chunk-FOKZPL3K.js} +2 -2
  182. package/__chunks__/{chunk-KU35SOD5.js → chunk-FTIGF6JH.js} +2 -2
  183. package/__chunks__/{chunk-BDCGUWDV.js → chunk-FYYNVEPP.js} +2 -2
  184. package/__chunks__/{chunk-MEBXCY7Z.js → chunk-FZXDHR2A.js} +2 -2
  185. package/__chunks__/{chunk-BPIIOYWT.js → chunk-GLF35VWJ.js} +2 -2
  186. package/__chunks__/{chunk-ZTTP36AW.js → chunk-GLUOV32C.js} +2 -2
  187. package/__chunks__/chunk-GN76CEGK.js +2 -0
  188. package/__chunks__/{chunk-WKR6S477.js → chunk-GR5OSCR5.js} +2 -2
  189. package/__chunks__/{chunk-LYQVVB3O.js → chunk-H2P6C2QC.js} +2 -2
  190. package/__chunks__/{chunk-RC6ADHP5.js → chunk-H3JSXZU7.js} +2 -2
  191. package/__chunks__/{chunk-KKKLAVA3.js → chunk-H7S7UNCE.js} +2 -2
  192. package/__chunks__/{chunk-GSUOEZEY.js → chunk-HDGQXIPY.js} +2 -2
  193. package/__chunks__/{chunk-WXIJAAFT.js → chunk-HFMSFPZY.js} +2 -2
  194. package/__chunks__/{chunk-4YGJSKC5.js → chunk-HJKED3EO.js} +2 -2
  195. package/__chunks__/{chunk-6P7SO5VP.js → chunk-HJV355AX.js} +2 -2
  196. package/__chunks__/chunk-HNMPVC5E.js +2 -0
  197. package/__chunks__/{chunk-GQRVR6W6.js → chunk-HONEA3B4.js} +2 -2
  198. package/__chunks__/{chunk-DF2TWP2K.js → chunk-HRVCOPRT.js} +2 -2
  199. package/__chunks__/chunk-HU3BH7PO.js +2 -0
  200. package/__chunks__/{chunk-EYPLEH7Y.js → chunk-ICK2T23Q.js} +2 -2
  201. package/__chunks__/{chunk-4BTZKAVZ.js → chunk-IJGZSU5V.js} +2 -2
  202. package/__chunks__/{chunk-U6IQGPV5.js → chunk-ITFAMBVC.js} +2 -2
  203. package/__chunks__/{chunk-666G2YQ3.js → chunk-IXKZUK44.js} +2 -2
  204. package/__chunks__/{chunk-MJL2475M.js → chunk-J2ENTD7J.js} +2 -2
  205. package/__chunks__/{chunk-YG6PNJS4.js → chunk-J56FZK5O.js} +2 -2
  206. package/__chunks__/{chunk-EZGRVPQA.js → chunk-JGPF6MSX.js} +2 -2
  207. package/__chunks__/chunk-JPHKRVHO.js +2 -0
  208. package/__chunks__/{chunk-SK5SW3JO.js → chunk-KCOX7WBA.js} +2 -2
  209. package/__chunks__/{chunk-LPLX4X3Q.js → chunk-KCPOZ357.js} +2 -2
  210. package/__chunks__/{chunk-QGR5H5EP.js → chunk-KKMS5FBD.js} +2 -2
  211. package/__chunks__/{chunk-HCP3PZSA.js → chunk-KMTPOGSO.js} +2 -2
  212. package/__chunks__/{chunk-CHIAW3XY.js → chunk-KO7M2QKA.js} +2 -2
  213. package/__chunks__/chunk-L4X3FLGT.js +2 -0
  214. package/__chunks__/{chunk-UGD3W3HU.js → chunk-L5SHBNHU.js} +2 -2
  215. package/__chunks__/{chunk-2GZQEJ2W.js → chunk-LRTFDOSW.js} +2 -2
  216. package/__chunks__/{chunk-C56YOL6E.js → chunk-LV7JDBAZ.js} +2 -2
  217. package/__chunks__/{chunk-I7COOM24.js → chunk-M74YP6D5.js} +2 -2
  218. package/__chunks__/{chunk-WAD7CB3P.js → chunk-MHCD7K6X.js} +2 -2
  219. package/__chunks__/{chunk-R3XAZNEK.js → chunk-MJZS4ZEL.js} +2 -2
  220. package/__chunks__/{chunk-XFBHQNP5.js → chunk-MNC4AYLY.js} +2 -2
  221. package/__chunks__/{chunk-2DSOYZGD.js → chunk-MSF2XJRQ.js} +2 -2
  222. package/__chunks__/chunk-MWCRWZR3.js +2 -0
  223. package/__chunks__/{chunk-5PP3HFS6.js → chunk-MXJL5TOF.js} +2 -2
  224. package/__chunks__/{chunk-26GZ4QWU.js → chunk-NKCXUNXX.js} +2 -2
  225. package/__chunks__/{chunk-IS3W6HDJ.js → chunk-NUDQOJHT.js} +2 -2
  226. package/__chunks__/{chunk-MIR5I4FK.js → chunk-NYEIZKXN.js} +2 -2
  227. package/__chunks__/{chunk-QWEBCD2X.js → chunk-O6LO53PU.js} +2 -2
  228. package/__chunks__/{chunk-HHFPIOFG.js → chunk-OHQHR4US.js} +2 -2
  229. package/__chunks__/{chunk-3IDGHOFN.js → chunk-OSRRPXLM.js} +2 -2
  230. package/__chunks__/{chunk-VSK7D3KJ.js → chunk-PBTIAILL.js} +2 -2
  231. package/__chunks__/{chunk-KHND3MVN.js → chunk-PKZJODOE.js} +2 -2
  232. package/__chunks__/{chunk-5OQDOZY7.js → chunk-PMPMHWEF.js} +2 -2
  233. package/__chunks__/{chunk-M56K5VBA.js → chunk-PQWZ57BW.js} +2 -2
  234. package/__chunks__/{chunk-VAF4K2TX.js → chunk-PXFSZ4UB.js} +2 -2
  235. package/__chunks__/{chunk-ECX3THWJ.js → chunk-Q6I5YBBB.js} +2 -2
  236. package/__chunks__/{chunk-DHJBJT5J.js → chunk-QA7NI7OV.js} +2 -2
  237. package/__chunks__/{chunk-3VNAWHVG.js → chunk-QG43YYX7.js} +2 -2
  238. package/__chunks__/{chunk-5QC2FNCM.js → chunk-QKKE3QW6.js} +2 -2
  239. package/__chunks__/chunk-QNILHJHF.js +2 -0
  240. package/__chunks__/{chunk-XO7XZ5EV.js → chunk-QSXSVBLI.js} +2 -2
  241. package/__chunks__/{chunk-7VCF3GDZ.js → chunk-QU5KDEWG.js} +2 -2
  242. package/__chunks__/{chunk-K7NPE6AZ.js → chunk-QVV7ASYN.js} +2 -2
  243. package/__chunks__/{chunk-PXRSWUGL.js → chunk-QXV5S2J4.js} +2 -2
  244. package/__chunks__/{chunk-SBBK32ZD.js → chunk-R22DUOOL.js} +2 -2
  245. package/__chunks__/{chunk-X7Q7FXJB.js → chunk-RJ6AJV64.js} +2 -2
  246. package/__chunks__/chunk-RNCZ6RY4.js +2 -0
  247. package/__chunks__/{chunk-6KIDTE3S.js → chunk-RQ72QALB.js} +2 -2
  248. package/__chunks__/{chunk-A6I7FQNL.js → chunk-S2DL6EUE.js} +2 -2
  249. package/__chunks__/{chunk-HAHZ7U4V.js → chunk-S6HPVHGM.js} +2 -2
  250. package/__chunks__/{chunk-KUXLOGH5.js → chunk-S6OTGW5V.js} +2 -2
  251. package/__chunks__/{chunk-HDVTBA5V.js → chunk-SLDMPFTS.js} +2 -2
  252. package/__chunks__/{chunk-6O4HZ4GP.js → chunk-TKUOWL5E.js} +2 -2
  253. package/__chunks__/{chunk-YRQDMGGB.js → chunk-TLXHNQ3Z.js} +2 -2
  254. package/__chunks__/chunk-TQIVL2AI.js +2 -0
  255. package/__chunks__/{chunk-OVTAF2JP.js → chunk-TXAUKKZC.js} +2 -2
  256. package/__chunks__/{chunk-7VJ4CETW.js → chunk-U4IBNLM6.js} +2 -2
  257. package/__chunks__/{chunk-TVKGB66R.js → chunk-UIYSLS6R.js} +2 -2
  258. package/__chunks__/chunk-UJWWUM4K.js +2 -0
  259. package/__chunks__/{chunk-4KZ57RHS.js → chunk-UTH4HI6C.js} +2 -2
  260. package/__chunks__/{chunk-OJ6FMLEB.js → chunk-VG7CMK3D.js} +2 -2
  261. package/__chunks__/{chunk-EZGL42UW.js → chunk-VMMLZXJJ.js} +2 -2
  262. package/__chunks__/{chunk-FNWBUFHV.js → chunk-VX3R6DYQ.js} +2 -2
  263. package/__chunks__/{chunk-E62TVCSW.js → chunk-VYXSAUBQ.js} +2 -2
  264. package/__chunks__/chunk-W5M6M7ZK.js +2 -0
  265. package/__chunks__/{chunk-RV2Y3TRM.js → chunk-W6I7QNJG.js} +2 -2
  266. package/__chunks__/{chunk-LWZ3EPG2.js → chunk-WBMQJNO3.js} +2 -2
  267. package/__chunks__/{chunk-BWRZZ2SN.js → chunk-WDNG6ZSB.js} +2 -2
  268. package/__chunks__/{chunk-F6WPVYVX.js → chunk-WEKJ6VIL.js} +2 -2
  269. package/__chunks__/{chunk-VB7T7RBA.js → chunk-WFKHIJSM.js} +2 -2
  270. package/__chunks__/{chunk-R2GPT2EK.js → chunk-WMUS6P6Z.js} +2 -2
  271. package/__chunks__/{chunk-66YJTJLA.js → chunk-WNBU7UEV.js} +2 -2
  272. package/__chunks__/{chunk-IORG7JGY.js → chunk-X2AHAHEP.js} +2 -2
  273. package/__chunks__/{chunk-MMQGX4UQ.js → chunk-XFXDLXMU.js} +2 -2
  274. package/__chunks__/{chunk-YYO327WQ.js → chunk-XKRWCLBZ.js} +2 -2
  275. package/__chunks__/{chunk-CVJ4YRUK.js → chunk-XX4QYPNR.js} +2 -2
  276. package/__chunks__/{chunk-73WJ5DU7.js → chunk-Y7URY6A2.js} +2 -2
  277. package/__chunks__/{chunk-EE7DP6J5.js → chunk-Y7ZYOF5A.js} +2 -2
  278. package/__chunks__/{chunk-QWW2EJAJ.js → chunk-YGWPQG2B.js} +2 -2
  279. package/__chunks__/{chunk-TZOLUUUS.js → chunk-YISR6DUJ.js} +2 -2
  280. package/__chunks__/{chunk-M4L5JCHB.js → chunk-YJ3PSK4H.js} +2 -2
  281. package/__chunks__/{chunk-KWAHKAB3.js → chunk-YLZQLHE7.js} +2 -2
  282. package/__chunks__/{chunk-BAWXXJMC.js → chunk-ZHJHSMMW.js} +2 -2
  283. package/__chunks__/{chunk-JD47SKNQ.js → chunk-ZJEBHKI4.js} +2 -2
  284. package/__chunks__/{chunk-NYLW2S4Q.js → chunk-ZJOIBZEK.js} +2 -2
  285. package/__chunks__/{chunk-GVGORF76.js → chunk-ZLQNXL5U.js} +2 -2
  286. package/__chunks__/{chunk-H6AZ6IIK.js → chunk-ZNDNEIAP.js} +2 -2
  287. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  288. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  289. package/__commonjs/UI/DappModal/index.js +1 -1
  290. package/__commonjs/UI/ExplorerLink/ExplorerLink.js +1 -1
  291. package/__commonjs/UI/ExplorerLink/index.js +1 -1
  292. package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
  293. package/__commonjs/UI/ModalContainer/index.js +1 -1
  294. package/__commonjs/UI/NotificationModal/index.js +1 -1
  295. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  296. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  297. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  298. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  299. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  300. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  301. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  302. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  303. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  304. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  305. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  306. package/__commonjs/UI/TokenDetails/index.js +1 -1
  307. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +1 -1
  308. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  309. package/__commonjs/UI/TransactionDetails/components/index.js +1 -1
  310. package/__commonjs/UI/TransactionDetails/index.js +1 -1
  311. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +29 -29
  312. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  313. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  314. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  315. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  316. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  317. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  318. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  319. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  320. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  321. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  322. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  323. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  324. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  325. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  326. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  327. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  328. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  329. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  330. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  331. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  332. package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  333. package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  334. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  335. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  336. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  337. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  338. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  339. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  340. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  341. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  342. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  343. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  344. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  345. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  346. package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
  347. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  348. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  349. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  350. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  351. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  352. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  353. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  354. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  355. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  356. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  357. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  358. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  359. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  360. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  361. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  362. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  363. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  364. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  365. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  366. package/__commonjs/UI/TransactionInfo/index.js +26 -26
  367. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  368. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  369. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +1 -1
  370. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  371. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
  372. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
  373. package/__commonjs/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  374. package/__commonjs/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  375. package/__commonjs/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  376. package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
  377. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  378. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  379. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  380. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  381. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  382. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  383. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  384. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  385. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  386. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  387. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  388. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  389. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  390. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  391. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  392. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  393. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  394. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  395. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  396. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  397. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  398. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  399. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  400. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  401. package/__commonjs/UI/index.js +2 -2
  402. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  403. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  404. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  405. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  406. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  407. package/__commonjs/UI/ledger/index.js +1 -1
  408. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  409. package/__commonjs/UI/pages/index.js +1 -1
  410. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  411. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  412. package/__commonjs/UI/walletConnect/index.js +1 -1
  413. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  414. package/__commonjs/__mocks__/index.js +1 -1
  415. package/__commonjs/__mocks__/utils/index.js +1 -1
  416. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  417. package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
  418. package/__commonjs/apiCalls/accounts/index.js +1 -1
  419. package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
  420. package/__commonjs/apiCalls/configuration/index.js +1 -1
  421. package/__commonjs/apiCalls/getScamAddressData.js +1 -1
  422. package/__commonjs/apiCalls/index.js +1 -1
  423. package/__commonjs/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  424. package/__commonjs/apiCalls/transactions/index.js +1 -1
  425. package/__commonjs/apiCalls/transactions/sendSignedTransactions.js +1 -1
  426. package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
  427. package/__commonjs/apiCalls/utils/index.js +1 -1
  428. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  429. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  430. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  431. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  432. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  433. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  434. package/__commonjs/components/LogoutListener/index.js +1 -1
  435. package/__commonjs/components/ProviderInitializer.js +1 -1
  436. package/__commonjs/components/TransactionSender/TransactionSender.js +1 -1
  437. package/__commonjs/components/TransactionSender/index.js +1 -1
  438. package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  439. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  440. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  441. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  442. package/__commonjs/hooks/account/index.js +1 -1
  443. package/__commonjs/hooks/account/useGetAccount.js +1 -1
  444. package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
  445. package/__commonjs/hooks/account/useGetIsLoggedIn.js +1 -1
  446. package/__commonjs/hooks/account/useGetLoginInfo.js +1 -1
  447. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  448. package/__commonjs/hooks/index.js +1 -1
  449. package/__commonjs/hooks/login/index.js +1 -1
  450. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  451. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  452. package/__commonjs/hooks/login/useLoginService.js +1 -1
  453. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  454. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  455. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  456. package/__commonjs/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  457. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  458. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  459. package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  460. package/__commonjs/hooks/transactions/index.js +1 -1
  461. package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  462. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  463. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  464. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  465. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  466. package/__commonjs/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  467. package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
  468. package/__commonjs/hooks/transactions/useGetPendingTransactions.js +1 -1
  469. package/__commonjs/hooks/transactions/useGetSignTransactionsError.js +1 -1
  470. package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
  471. package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  472. package/__commonjs/hooks/transactions/useGetTokenDetails.js +1 -1
  473. package/__commonjs/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  474. package/__commonjs/hooks/transactions/useParseSignedTransactions.js +1 -1
  475. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  476. package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  477. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  478. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  479. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  480. package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
  481. package/__commonjs/hooks/useGetNotification.js +1 -1
  482. package/__commonjs/hooks/userInterface/index.js +1 -1
  483. package/__commonjs/hooks/userInterface/useIsDappModalVisible.js +1 -1
  484. package/__commonjs/hooks/websocketListener/index.js +1 -1
  485. package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  486. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  487. package/__commonjs/reduxStore/DappProviderContext.js +1 -1
  488. package/__commonjs/reduxStore/selectors/index.js +1 -1
  489. package/__commonjs/reduxStore/selectors/transactionsSelectors.js +1 -1
  490. package/__commonjs/reduxStore/store.js +1 -1
  491. package/__commonjs/services/index.js +1 -1
  492. package/__commonjs/services/transactions/clearTransactions.js +1 -1
  493. package/__commonjs/services/transactions/index.js +1 -1
  494. package/__commonjs/services/transactions/sendTransactions.js +1 -1
  495. package/__commonjs/services/transactions/signTransactions.js +1 -1
  496. package/__commonjs/services/transactions/transformAndSignTransactions.js +1 -1
  497. package/__commonjs/typings.d.js +1 -1
  498. package/__commonjs/utils/account/getAccount.js +1 -1
  499. package/__commonjs/utils/account/getAccountBalance.js +1 -1
  500. package/__commonjs/utils/account/getAccountShard.js +1 -1
  501. package/__commonjs/utils/account/getAddress.js +1 -1
  502. package/__commonjs/utils/account/getLatestNonce.js +1 -1
  503. package/__commonjs/utils/account/index.js +1 -1
  504. package/__commonjs/utils/account/loginWithExternalProvider.js +1 -1
  505. package/__commonjs/utils/account/refreshAccount.js +1 -1
  506. package/__commonjs/utils/account/setNonce.js +1 -1
  507. package/__commonjs/utils/account/signMessage.js +1 -1
  508. package/__commonjs/utils/getIsLoggedIn.js +1 -1
  509. package/__commonjs/utils/index.js +1 -1
  510. package/__commonjs/utils/logout.js +1 -1
  511. package/__commonjs/utils/network/getChainID.js +1 -1
  512. package/__commonjs/utils/network/getEgldLabel.js +1 -1
  513. package/__commonjs/utils/network/getNetworkConfig.js +1 -1
  514. package/__commonjs/utils/network/index.js +1 -1
  515. package/__commonjs/utils/toasts/customToastsActions.js +1 -1
  516. package/__commonjs/utils/toasts/index.js +1 -1
  517. package/__commonjs/utils/transactions/getAllTransactionsLink.js +1 -1
  518. package/__commonjs/utils/transactions/getTransactionLink.js +1 -1
  519. package/__commonjs/utils/transactions/index.js +1 -1
  520. package/__commonjs/web/hooks/index.js +1 -1
  521. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  522. package/__commonjs/web/index.js +1 -1
  523. package/__commonjs/wrappers/AppInitializer.js +1 -1
  524. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  525. package/__commonjs/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  526. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  527. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  528. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  529. package/__commonjs/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  530. package/__commonjs/wrappers/AxiosInterceptorContext/index.js +1 -1
  531. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  532. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  533. package/__commonjs/wrappers/index.js +1 -1
  534. package/__mocks__/index.js +1 -1
  535. package/__mocks__/utils/index.js +1 -1
  536. package/__mocks__/utils/renderWithProvider.js +1 -1
  537. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  538. package/apiCalls/accounts/index.js +1 -1
  539. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  540. package/apiCalls/configuration/index.js +1 -1
  541. package/apiCalls/getScamAddressData.js +1 -1
  542. package/apiCalls/index.js +1 -1
  543. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  544. package/apiCalls/transactions/index.js +1 -1
  545. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  546. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  547. package/apiCalls/utils/index.js +1 -1
  548. package/components/LogoutListener/LogoutListener.js +1 -1
  549. package/components/LogoutListener/helpers/index.js +1 -1
  550. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  551. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  552. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  553. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  554. package/components/LogoutListener/index.js +1 -1
  555. package/components/ProviderInitializer.js +1 -1
  556. package/components/TransactionSender/TransactionSender.js +1 -1
  557. package/components/TransactionSender/index.js +1 -1
  558. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  559. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  560. package/components/TransactionsTracker/index.js +1 -1
  561. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  562. package/hooks/account/index.js +1 -1
  563. package/hooks/account/useGetAccount.js +1 -1
  564. package/hooks/account/useGetAccountInfo.js +1 -1
  565. package/hooks/account/useGetIsLoggedIn.js +1 -1
  566. package/hooks/account/useGetLoginInfo.js +1 -1
  567. package/hooks/account/useGetWebsocketEvent.js +1 -1
  568. package/hooks/index.js +1 -1
  569. package/hooks/login/index.js +1 -1
  570. package/hooks/login/useExtensionLogin.js +1 -1
  571. package/hooks/login/useLedgerLogin.js +1 -1
  572. package/hooks/login/useLoginService.js +1 -1
  573. package/hooks/login/useWalletConnectLogin.js +1 -1
  574. package/hooks/login/useWalletConnectV2Login.js +1 -1
  575. package/hooks/login/useWebWalletLogin.js +1 -1
  576. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  577. package/hooks/transactions/helpers/index.js +1 -1
  578. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  579. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  580. package/hooks/transactions/index.js +1 -1
  581. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  582. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  583. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  584. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  585. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  586. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  587. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  588. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  589. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  590. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  591. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  592. package/hooks/transactions/useGetTokenDetails.js +1 -1
  593. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  594. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  595. package/hooks/transactions/useSignTransactions.js +1 -1
  596. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  597. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  598. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  599. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  600. package/hooks/useGetNetworkConfig.js +1 -1
  601. package/hooks/useGetNotification.js +1 -1
  602. package/hooks/userInterface/index.js +1 -1
  603. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  604. package/hooks/websocketListener/index.js +1 -1
  605. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  606. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  607. package/package.json +1 -1
  608. package/reduxStore/DappProviderContext.js +1 -1
  609. package/reduxStore/persistConfig.js +1 -1
  610. package/reduxStore/persistedRootReducer.js +1 -1
  611. package/reduxStore/selectors/index.js +1 -1
  612. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  613. package/reduxStore/store.d.ts +2 -1
  614. package/reduxStore/store.js +1 -1
  615. package/services/index.js +1 -1
  616. package/services/transactions/clearTransactions.js +1 -1
  617. package/services/transactions/index.js +1 -1
  618. package/services/transactions/sendTransactions.js +1 -1
  619. package/services/transactions/signTransactions.js +1 -1
  620. package/services/transactions/transformAndSignTransactions.js +1 -1
  621. package/typings.d.js +1 -1
  622. package/utils/account/getAccount.js +1 -1
  623. package/utils/account/getAccountBalance.js +1 -1
  624. package/utils/account/getAccountShard.js +1 -1
  625. package/utils/account/getAddress.js +1 -1
  626. package/utils/account/getLatestNonce.js +1 -1
  627. package/utils/account/index.js +1 -1
  628. package/utils/account/loginWithExternalProvider.js +1 -1
  629. package/utils/account/refreshAccount.js +1 -1
  630. package/utils/account/setNonce.js +1 -1
  631. package/utils/account/signMessage.js +1 -1
  632. package/utils/getIsLoggedIn.js +1 -1
  633. package/utils/index.js +1 -1
  634. package/utils/logout.js +1 -1
  635. package/utils/network/getChainID.js +1 -1
  636. package/utils/network/getEgldLabel.js +1 -1
  637. package/utils/network/getNetworkConfig.js +1 -1
  638. package/utils/network/index.js +1 -1
  639. package/utils/toasts/customToastsActions.js +1 -1
  640. package/utils/toasts/index.js +1 -1
  641. package/utils/transactions/getAllTransactionsLink.js +1 -1
  642. package/utils/transactions/getTransactionLink.js +1 -1
  643. package/utils/transactions/index.js +1 -1
  644. package/web/hooks/index.js +1 -1
  645. package/web/hooks/useIdleTimer.js +1 -1
  646. package/web/index.js +1 -1
  647. package/wrappers/AppInitializer.js +1 -1
  648. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  649. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  650. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  651. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  652. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  653. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  654. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  655. package/wrappers/DappProvider/CustomComponents.js +1 -1
  656. package/wrappers/DappProvider/index.js +1 -1
  657. package/wrappers/index.js +1 -1
  658. package/__chunks__/chunk-ASRIFVT3.js +0 -2
  659. package/__chunks__/chunk-COK4563Q.js +0 -2
  660. package/__chunks__/chunk-D5NHJSGG.js +0 -2
  661. package/__chunks__/chunk-D6KZSCED.js +0 -2
  662. package/__chunks__/chunk-D7CJRUUT.js +0 -2
  663. package/__chunks__/chunk-EBP4BQQZ.js +0 -2
  664. package/__chunks__/chunk-ETMNJG7Z.js +0 -2
  665. package/__chunks__/chunk-FD3ML4YZ.js +0 -2
  666. package/__chunks__/chunk-FMTVVLXJ.js +0 -2
  667. package/__chunks__/chunk-G6KWFYYQ.js +0 -2
  668. package/__chunks__/chunk-H3IT5LK3.js +0 -2
  669. package/__chunks__/chunk-LAERXTWM.js +0 -2
  670. package/__chunks__/chunk-MB3URQD2.js +0 -2
  671. package/__chunks__/chunk-N4OC6UUR.js +0 -2
  672. package/__chunks__/chunk-NOZPGR3U.js +0 -2
  673. package/__chunks__/chunk-QLTFKKAC.js +0 -2
  674. package/__chunks__/chunk-QX4ZUOPN.js +0 -2
  675. package/__chunks__/chunk-SSWUBPRL.js +0 -2
  676. package/__chunks__/chunk-V5DUB2CZ.js +0 -2
  677. package/__chunks__/chunk-WRSAHJHU.js +0 -2
  678. package/__chunks__/chunk-XTNMLBY3.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Ac=Object.create;var zt=Object.defineProperty,Ic=Object.defineProperties,bc=Object.getOwnPropertyDescriptor,kc=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Lc=Object.getPrototypeOf,en=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable;var xo=(e,t,r)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))en.call(t,r)&&xo(e,r,t[r]);if(ar)for(var r of ar(t))So.call(t,r)&&xo(e,r,t[r]);return e},E=(e,t)=>Ic(e,kc(t));var wo=e=>typeof e=="symbol"?e:e+"",ve=(e,t)=>{var r={};for(var o in e)en.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&ar)for(var o of ar(e))t.indexOf(o)<0&&So.call(e,o)&&(r[o]=e[o]);return r};var I=(e,t)=>()=>(e&&(t=e(e=0)),t);var cr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Qe=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},vo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ec(t))!en.call(e,i)&&i!==r&&zt(e,i,{get:()=>t[i],enumerable:!(o=bc(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ac(Lc(e)):{},vo(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),jt=e=>vo(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 bo=cr(lr=>{"use strict";n();lr.byteLength=Cc;lr.toByteArray=Nc;lr.fromByteArray=Oc;var fe=[],ae=[],Pc=typeof Uint8Array!="undefined"?Uint8Array:Array,tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(et=0,Ao=tn.length;et<Ao;++et)fe[et]=tn[et],ae[tn.charCodeAt(et)]=et;var et,Ao;ae["-".charCodeAt(0)]=62;ae["_".charCodeAt(0)]=63;function Io(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 Cc(e){var t=Io(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Dc(e,t,r){return(t+r)*3/4-r}function Nc(e){var t,r=Io(e),o=r[0],i=r[1],l=new Pc(Dc(e,o,i)),p=0,d=i>0?o-4:o,u;for(u=0;u<d;u+=4)t=ae[e.charCodeAt(u)]<<18|ae[e.charCodeAt(u+1)]<<12|ae[e.charCodeAt(u+2)]<<6|ae[e.charCodeAt(u+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=ae[e.charCodeAt(u)]<<2|ae[e.charCodeAt(u+1)]>>4,l[p++]=t&255),i===1&&(t=ae[e.charCodeAt(u)]<<10|ae[e.charCodeAt(u+1)]<<4|ae[e.charCodeAt(u+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Rc(e){return fe[e>>18&63]+fe[e>>12&63]+fe[e>>6&63]+fe[e&63]}function Mc(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(Rc(o));return i.join("")}function Oc(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Mc(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(fe[t>>2]+fe[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(fe[t>>10]+fe[t>>4&63]+fe[t<<2&63]+"=")),i.join("")}});var ko=cr(rn=>{n();rn.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,u=(1<<d)-1,g=u>>1,T=-7,y=r?i-1:0,b=r?-1:1,L=e[t+y];for(y+=b,l=L&(1<<-T)-1,L>>=-T,T+=d;T>0;l=l*256+e[t+y],y+=b,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=o;T>0;p=p*256+e[t+y],y+=b,T-=8);if(l===0)l=1-g;else{if(l===u)return p?NaN:(L?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(L?-1:1)*p*Math.pow(2,l-o)};rn.write=function(e,t,r,o,i,l){var p,d,u,g=l*8-i-1,T=(1<<g)-1,y=T>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=o?0:l-1,w=o?1:-1,C=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+y>=1?t+=b/u:t+=b*Math.pow(2,1-y),t*u>=2&&(p++,u/=2),p+y>=T?(d=0,p=T):p+y>=1?(d=(t*u-1)*Math.pow(2,i),p=p+y):(d=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+L]=d&255,L+=w,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+L]=p&255,L+=w,p/=256,g-=8);e[r+L-w]|=C*128}});var Bo=cr(Tt=>{"use strict";n();var nn=bo(),ft=ko(),Eo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Tt.Buffer=m;Tt.SlowBuffer=$c;Tt.INSPECT_MAX_BYTES=50;var pr=2147483647;Tt.kMaxLength=pr;m.TYPED_ARRAY_SUPPORT=Fc();!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 Fc(){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 Ae(e){if(e>pr)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 cn(e)}return Co(e,t,r)}m.poolSize=8192;function Co(e,t,r){if(typeof e=="string")return Uc(e,t);if(ArrayBuffer.isView(e))return Bc(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(Te(e,ArrayBuffer)||e&&Te(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Te(e,SharedArrayBuffer)||e&&Te(e.buffer,SharedArrayBuffer)))return sn(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=Wc(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 Co(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function Do(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 _c(e,t,r){return Do(e),e<=0?Ae(e):t!==void 0?typeof r=="string"?Ae(e).fill(t,r):Ae(e).fill(t):Ae(e)}m.alloc=function(e,t,r){return _c(e,t,r)};function cn(e){return Do(e),Ae(e<0?0:ln(e)|0)}m.allocUnsafe=function(e){return cn(e)};m.allocUnsafeSlow=function(e){return cn(e)};function Uc(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=No(e,t)|0,o=Ae(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function on(e){for(var t=e.length<0?0:ln(e.length)|0,r=Ae(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Bc(e){if(Te(e,Uint8Array)){var t=new Uint8Array(e);return sn(t.buffer,t.byteOffset,t.byteLength)}return on(e)}function sn(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 Wc(e){if(m.isBuffer(e)){var t=ln(e.length)|0,r=Ae(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||pn(e.length)?Ae(0):on(e);if(e.type==="Buffer"&&Array.isArray(e.data))return on(e.data)}function ln(e){if(e>=pr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+pr.toString(16)+" bytes");return e|0}function $c(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(Te(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),Te(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(Te(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 No(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Te(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 an(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Uo(e).length;default:if(i)return o?-1:an(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=No;function Gc(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 Xc(this,t,r);case"utf8":case"utf-8":return Mo(this,t,r);case"ascii":return Zc(this,t,r);case"latin1":case"binary":return Jc(this,t,r);case"base64":return Kc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qc(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function tt(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)tt(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)tt(this,r,r+3),tt(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)tt(this,r,r+7),tt(this,r+1,r+6),tt(this,r+2,r+5),tt(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Mo(this,0,t):Gc.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=Tt.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Eo&&(m.prototype[Eo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(Te(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),y=0;y<u;++y)if(g[y]!==T[y]){p=g[y],d=T[y];break}return p<d?-1:d<p?1:0};function Ro(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,pn(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:Lo(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):Lo(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Lo(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(L,w){return l===1?L[w]:L.readUInt16BE(w*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 y=!0,b=0;b<d;b++)if(u(e,g+b)!==u(t,b)){y=!1;break}if(y)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 Ro(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return Ro(this,t,r,o,!1)};function Vc(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(pn(d))return p;e[r+p]=d}return p}function Hc(e,t,r,o){return ur(an(t,e.length-r),e,r,o)}function zc(e,t,r,o){return ur(rl(t),e,r,o)}function jc(e,t,r,o){return ur(Uo(t),e,r,o)}function qc(e,t,r,o){return ur(nl(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 Vc(this,t,r,o);case"utf8":case"utf-8":return Hc(this,t,r,o);case"ascii":case"latin1":case"binary":return zc(this,t,r,o);case"base64":return jc(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qc(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 Kc(e,t,r){return t===0&&r===e.length?nn.fromByteArray(e):nn.fromByteArray(e.slice(t,r))}function Mo(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,y;switch(d){case 1:l<128&&(p=l);break;case 2:u=e[i+1],(u&192)===128&&(y=(l&31)<<6|u&63,y>127&&(p=y));break;case 3:u=e[i+1],g=e[i+2],(u&192)===128&&(g&192)===128&&(y=(l&15)<<12|(u&63)<<6|g&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:u=e[i+1],g=e[i+2],T=e[i+3],(u&192)===128&&(g&192)===128&&(T&192)===128&&(y=(l&15)<<18|(u&63)<<12|(g&63)<<6|T&63,y>65535&&y<1114112&&(p=y))}}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 Yc(o)}var Po=4096;function Yc(e){var t=e.length;if(t<=Po)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Po));return r}function Zc(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 Jc(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 Xc(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+=ol[e[l]];return i}function Qc(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 V(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||V(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||V(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||V(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,4,this.length),ft.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||V(t,4,this.length),ft.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||V(t,8,this.length),ft.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||V(t,8,this.length),ft.read(this,t,!1,52,8)};function te(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;te(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;te(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||te(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||te(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||te(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||te(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||te(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);te(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);te(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||te(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||te(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||te(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||te(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||te(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 Oo(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 Fo(e,t,r,o,i){return t=+t,r=r>>>0,i||Oo(e,t,r,4,34028234663852886e22,-34028234663852886e22),ft.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return Fo(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return Fo(this,t,r,!1,o)};function _o(e,t,r,o,i){return t=+t,r=r>>>0,i||Oo(e,t,r,8,17976931348623157e292,-17976931348623157e292),ft.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return _o(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return _o(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 el=/[^+/0-9A-Za-z-_]/g;function tl(e){if(e=e.split("=")[0],e=e.trim().replace(el,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function an(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 rl(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function nl(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 Uo(e){return nn.toByteArray(tl(e))}function ur(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 Te(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function pn(e){return e!==e}var ol=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 Ho=cr((ju,Vo)=>{n();var U=Vo.exports={},ye,he;function un(){throw new Error("setTimeout has not been defined")}function dn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ye=setTimeout:ye=un}catch(e){ye=un}try{typeof clearTimeout=="function"?he=clearTimeout:he=dn}catch(e){he=dn}})();function Wo(e){if(ye===setTimeout)return setTimeout(e,0);if((ye===un||!ye)&&setTimeout)return ye=setTimeout,setTimeout(e,0);try{return ye(e,0)}catch(t){try{return ye.call(null,e,0)}catch(r){return ye.call(this,e,0)}}}function il(e){if(he===clearTimeout)return clearTimeout(e);if((he===dn||!he)&&clearTimeout)return he=clearTimeout,clearTimeout(e);try{return he(e)}catch(t){try{return he.call(null,e)}catch(r){return he.call(this,e)}}}var Ie=[],yt=!1,rt,dr=-1;function sl(){!yt||!rt||(yt=!1,rt.length?Ie=rt.concat(Ie):dr=-1,Ie.length&&$o())}function $o(){if(!yt){var e=Wo(sl);yt=!0;for(var t=Ie.length;t;){for(rt=Ie,Ie=[];++dr<t;)rt&&rt[dr].run();dr=-1,t=Ie.length}rt=null,yt=!1,il(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];Ie.push(new Go(e,t)),Ie.length===1&&!yt&&Wo($o)};function Go(e,t){this.fun=e,this.array=t}Go.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function be(){}U.on=be;U.addListener=be;U.once=be;U.off=be;U.removeListener=be;U.removeAllListeners=be;U.emit=be;U.prependListener=be;U.prependOnceListener=be;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,qu,n=I(()=>{s=A(Bo()),a=A(Ho()),qu=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 ht,mr=I(()=>{"use strict";n();ht=()=>Date.now()/1e3});var zo=I(()=>{"use strict";n()});var jo=I(()=>{"use strict";n()});var mn=I(()=>{"use strict";n();mr();zo();jo()});var fn={};Qe(fn,{getItem:()=>cl,localStorageKeys:()=>ce,removeItem:()=>ll,setItem:()=>al});var ce,gn,al,cl,ll,nt=I(()=>{"use strict";n();mn();ce={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gn=typeof localStorage!="undefined",al=({key:e,data:t,expires:r})=>{!gn||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},cl=e=>{if(!gn)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:ht()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ll=e=>{!gn||localStorage.removeItem(String(e))}});var Tn={};Qe(Tn,{clear:()=>Zo,getItem:()=>Ko,removeItem:()=>Yo,setItem:()=>qo,storage:()=>pl});var qo,Ko,Yo,Zo,pl,Jo=I(()=>{"use strict";n();qo=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ko=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},Yo=e=>sessionStorage.removeItem(String(e)),Zo=()=>sessionStorage.clear(),pl={setItem:qo,getItem:Ko,removeItem:Yo,clear:Zo}});var ke,xt=I(()=>{"use strict";n();nt();Jo();ke={session:Tn,local:fn}});function qt(){return new Date().setHours(new Date().getHours()+24)}function Kt(e){ke.local.setItem({key:ce.loginExpiresAt,data:e,expires:e})}var yn=I(()=>{"use strict";n();xt();nt()});var O=I(()=>{"use strict";n()});var St=I(()=>{"use strict";n()});var Xo=I(()=>{"use strict";n()});var Qo=I(()=>{"use strict";n()});var ei=I(()=>{"use strict";n()});var ti=I(()=>{"use strict";n()});var J=I(()=>{"use strict";n()});var ri=I(()=>{"use strict";n()});var ni=I(()=>{"use strict";n()});var re=I(()=>{"use strict";n();Xo();Qo();O();ei();ti();J();ri();ni()});var ot,oi,vd,ii,Ad,si,Id,bd,ul,wt=I(()=>{"use strict";n();re();ot={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:"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://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:oi,egldLabel:vd}=ot["devnet"],{chainId:ii,egldLabel:Ad}=ot["testnet"],{chainId:si,egldLabel:Id}=ot["mainnet"],bd={["devnet"]:oi,["testnet"]:ii,["mainnet"]:si},ul={[oi]:"devnet",[ii]:"testnet",[si]:"mainnet"}});var hn=I(()=>{"use strict";n()});var ai=I(()=>{"use strict";n()});var gr,xn=I(()=>{"use strict";n();gr="transaction-status-toast-id"});var Yt,fr,ci,li,Tr,pi,vt,D=I(()=>{"use strict";n();St();wt();hn();ai();xn();Yt=5e4,fr=1e9,ci=1,li=1,Tr="logout",pi="login",vt="0"});var Sn,Y,oe,X=I(()=>{"use strict";n();Sn=require("@reduxjs/toolkit");D();Y=(0,Sn.createAction)(Tr),oe=(0,Sn.createAction)(pi,e=>({payload:e}))});var di,ui,mi,Vd,yr,dl,hr,Hd,wn,gi,fi,vn=I(()=>{"use strict";n();di=require("@reduxjs/toolkit");yn();O();X();ui={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,isLoginSessionInvalid:!1},mi=(0,di.createSlice)({name:"loginInfoSlice",initialState:ui,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}},extraReducers:e=>{e.addCase(Y,()=>ui),e.addCase(oe,(t,r)=>{t.loginMethod=r.payload.loginMethod,Kt(qt())})}}),{setLoginMethod:Vd,setWalletConnectLogin:yr,setLedgerLogin:dl,setTokenLogin:hr,setTokenLoginSignature:Hd,setWalletLogin:wn,invalidateLoginSession:gi}=mi.actions,fi=mi.reducer});var Ti,yi,Ee,it=I(()=>{"use strict";n();Ti=!1,yi=(e=!0)=>{Ti=e},Ee=(e,t=0)=>{Ti||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function At({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:ml;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Ee(e)},l)}var ml,hi=I(()=>{"use strict";n();it();ml=200});function An(e){return e[Math.floor(Math.random()*e.length)]}var xi=I(()=>{"use strict";n()});var In=I(()=>{"use strict";n();hn()});var It=I(()=>{"use strict";n();hi();xi();In()});var Si,wi,bn,gl,vi,kn,Ai,Ii,xr=I(()=>{"use strict";n();Si=require("@reduxjs/toolkit"),wi=A(require("lodash.omit"));It();bn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},gl={network:bn,chainID:"-1"},vi=(0,Si.createSlice)({name:"appConfig",initialState:gl,reducers:{initializeNetworkConfig:(e,t)=>{let r=An(t.payload.walletConnectBridgeAddresses),o=An(t.payload.walletConnectV2RelayAddresses),i=(0,wi.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=E(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:kn,setChainID:Ai}=vi.actions,Ii=vi.reducer});var Ln,bi,ki,Sr,En,Ei,st,dm,wr,mm,Pn,fl,gm,bt,Li,Pi,Ci,Cn=I(()=>{"use strict";n();Ln=require("@multiversx/sdk-core"),bi=require("@reduxjs/toolkit"),ki=require("redux-persist");D();xt();nt();X();Sr={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:vt},En={address:"",websocketEvent:null,accounts:{"":Sr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Ei=(0,bi.createSlice)({name:"accountInfoSlice",initialState:En,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Ln.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Sr},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(Y,()=>(ke.local.removeItem(ce.loginExpiresAt),En)),e.addCase(oe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ln.Address(o).hex()}),e.addCase(ki.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:En.accounts,t.publicKey=d})}}),{setAccount:st,setAddress:dm,setAccountNonce:wr,setAccountShard:mm,setLedgerAccount:Pn,updateLedgerAccount:fl,setWalletConnectAccount:gm,setIsAccountLoading:bt,setAccountLoadingError:Li,setWebsocketEvent:Pi}=Ei.actions,Ci=Ei.reducer});function Le(e){return e!=null&&(Al(e)||El(e))}function at(e){return e!=null&&(Il(e)||Ll(e))}function ct(e){return e!=null&&(bl(e)||Pl(e))}function Dn(e){return e!=null&&kl(e)}function Al(e){return e!=null&&Tl.includes(e)}function Il(e){return e!=null&&yl.includes(e)}function bl(e){return e!=null&&hl.includes(e)}function kl(e){return e!=null&&xl.includes(e)}function El(e){return e!=null&&Sl.includes(e)}function Ll(e){return e!=null&&wl.includes(e)}function Pl(e){return e!=null&&vl.includes(e)}var Tl,yl,hl,xl,Sl,wl,vl,Et=I(()=>{"use strict";n();O();Tl=["sent"],yl=["success"],hl=["fail","cancelled","timedOut"],xl=["timedOut"],Sl=["pending"],wl=["success"],vl=["fail","invalid"]});var Di,Ni,Zt,Cl,Ri,Jt,lt,Dl,Lt,Nl,Rl,Am,Ml,vr,Nn,Ar,Ir=I(()=>{"use strict";n();Di=require("@reduxjs/toolkit"),Ni=require("redux-persist");O();Et();X();Zt={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Cl={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ri=(0,Di.createSlice)({name:"transactionsSlice",initialState:Zt,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])||Cl;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=Zt.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=h(h({},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,y,b;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(C=>C.hash===l?E(h({},C),{status:o,errorMessage:i}):C);let L=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(C=>at(C.status)),w=(b=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:b.every(C=>ct(C.status));L&&(e.signedTransactions[r].status="success"),w&&(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=Zt.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Zt.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(Y,()=>Zt),e.addCase(Ni.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),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(d[u]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Jt,updateSignedTransactions:lt,setTransactionsToSign:Dl,clearAllTransactionsToSign:Lt,clearAllSignedTransactions:Nl,clearSignedTransaction:Rl,clearTransactionToSign:Am,setSignTransactionsError:Ml,setSignTransactionsCancelMessage:vr,moveTransactionsToSignedState:Nn}=Ri.actions,Ar=Ri.reducer});var Mi,Mn,On,Fn,Ol,Rn,Oi,Em,Fl,_n,br,kr=I(()=>{"use strict";n();Mi=require("@reduxjs/toolkit");X();Mn="Transaction failed",On="Transaction successful",Fn="Processing transaction",Ol="Transaction submitted",Rn={},Oi=(0,Mi.createSlice)({name:"transactionsInfo",initialState:Rn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Mn,successMessage:(o==null?void 0:o.successMessage)||On,processingMessage:(o==null?void 0:o.processingMessage)||Fn,submittedMessage:(o==null?void 0:o.submittedMessage)||Ol,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Rn},extraReducers:e=>{e.addCase(Y,()=>Rn)}}),{clearTransactionsInfo:Em,setTransactionsDisplayInfo:Fl,clearTransactionsInfoForSessionId:_n}=Oi.actions,br=Oi.reducer});var _i,Fi,Ui,Bi,_l,Dm,Ul,Wi,Un=I(()=>{"use strict";n();_i=require("@reduxjs/toolkit");X();Fi={},Ui=(0,_i.createSlice)({name:"modalsSlice",initialState:Fi,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(Y,()=>Fi)}}),{setTxSubmittedModal:Bi,setNotificationModal:_l,clearTxSubmittedModal:Dm,clearNotificationModal:Ul}=Ui.actions,Wi=Ui.reducer});var Gi,Vi,$i,Hi,Bn,Wn,Bm,Wm,$m,Gm,Er,Lr=I(()=>{"use strict";n();Gi=require("@reduxjs/toolkit"),Vi=require("redux-persist");xn();re();mr();X();$i={customToasts:[],transactionToasts:[],failTransactionToast:null},Hi=(0,Gi.createSlice)({name:"toastsSlice",initialState:$i,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(E(h({},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:ht(),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=E(h({},t.payload),{toastId:gr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(Y,()=>$i),e.addCase(Vi.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:Bn,removeCustomToast:Wn,addTransactionToast:Bm,removeTransactionToast:Wm,addFailTransactionToast:$m,removeFailTransactionToast:Gm}=Hi.actions,Er=Hi.reducer});var P=I(()=>{"use strict";n();vn();xr();Cn();Ir();kr();Un();Lr()});var $n=I(()=>{"use strict";n()});var Yi,Ki,Zi,ug,dg,mg,gg,fg,Tg,Ji,Xi=I(()=>{"use strict";n();Yi=require("@reduxjs/toolkit");X();Ki={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Zi=(0,Yi.createSlice)({name:"dappModalsSlice",initialState:Ki,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=h({},t.payload)}},extraReducers:e=>{e.addCase(Y,()=>Ki)}}),{setDappModalVisibility:ug,setDappModalHeaderVisibility:dg,setDappModalFooterVisibility:mg,setDappModalHeaderText:gg,setDappModalFooterText:fg,setDappModalConfig:Tg}=Zi.actions,Ji=Zi.reducer});var Qi,Gl,Vl,Ct,Nr=I(()=>{"use strict";n();Qi=require("@reduxjs/toolkit");$n();Cn();Xi();vn();Un();xr();Lr();kr();Ir();Gl={["account"]:Ci,["networkConfig"]:Ii,["loginInfo"]:fi,["modals"]:Wi,["dappModal"]:Ji,["toasts"]:Er,["transactions"]:Ar,["transactionsInfo"]:br},Vl=(e={})=>(0,Qi.combineReducers)(h(h({},Gl),e)),Ct=Vl});var rs={};Qe(rs,{default:()=>Zl});function Gn(e,t=[]){return{key:e,version:1,storage:ts.default,blacklist:t}}var pt,es,ts,Hl,zl,jl,ql,Kl,Yl,Zl,ns=I(()=>{"use strict";n();pt=require("redux-persist"),es=A(require("redux-persist/lib/storage")),ts=A(require("redux-persist/lib/storage/session"));Nr();P();Lr();kr();Ir();$n();Hl={2:e=>E(h({},e),{networkConfig:bn})};zl=Gn("sdk-dapp-transactionsInfo"),jl=Gn("sdk-dapp-transactions",["transactionsToSign"]),ql=Gn("sdk-dapp-toasts"),Kl={key:"sdk-dapp-store",version:2,storage:es.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,pt.createMigrate)(Hl,{debug:!1})},Yl={["toasts"]:(0,pt.persistReducer)(ql,Er),["transactions"]:(0,pt.persistReducer)(jl,Ar),["transactionsInfo"]:(0,pt.persistReducer)(zl,br)},Zl=(0,pt.persistReducer)(Kl,Ct(Yl))});var os={};Qe(os,{default:()=>Jl});var Jl,is=I(()=>{"use strict";n();Nr();Jl=Ct()});var ss={};Qe(ss,{default:()=>Ql});var le,Xl,Ql,as=I(()=>{"use strict";n();le=require("redux-persist"),Xl=[le.FLUSH,le.REHYDRATE,le.PAUSE,le.PERSIST,le.PURGE,le.REGISTER],Ql=Xl});var ps={};Qe(ps,{default:()=>ls});function ls(e){return(0,cs.persistStore)(e)}var cs,us=I(()=>{"use strict";n();cs=require("redux-persist")});var Wu={};Qe(Wu,{AppInitializer:()=>ao,AuthenticatedRoutesWrapper:()=>ea,AxiosInterceptor:()=>po,AxiosInterceptorContext:()=>ru,AxiosInterceptorContextProvider:()=>co,DappProvider:()=>Bu,LoginInfoListener:()=>lo,useAxiosInterceptorContext:()=>Ft});module.exports=jt(Wu);n();n();var Xn=A(require("react"));n();var hs=require("react"),Dt=require("react-redux");n();var Vn=require("@reduxjs/toolkit"),fs=require("react-redux/es/utils/Subscription");P();n();var ji=A(require("lodash.throttle"));D();n();var zi=A(require("lodash.isequal")),Pr=require("reselect");re();var S=(0,Pr.createSelectorCreator)(Pr.defaultMemoize,zi.default),Pt=(e,t)=>e!=""&&Boolean(t);P();yn();xt();nt();var Bl=[Tr],Cr=!1,Wl=(0,ji.default)(()=>{Kt(qt())},5e3),qi=e=>t=>r=>{var u;if(Bl.includes(r.type))return t(r);let o=e.getState(),i=ke.local.getItem(ce.loginExpiresAt);if(!Pt((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 Kt(qt());let p=Date.now();return i-p<0&&!Cr?setTimeout(()=>{Cr=!0,e.dispatch(gi())},1e3):(Cr&&(Cr=!1),Wl()),t(r)};n();n();function Dr(){return typeof sessionStorage!="undefined"}var ds=Dr()?(ns(),jt(rs)).default:(is(),jt(os)).default,ms=Dr()?(as(),jt(ss)).default:[],gs=Dr()?(us(),jt(ps)).default:e=>e;Nr();var v=(0,Vn.configureStore)({reducer:ds,middleware:e=>e({serializableCheck:{ignoredActions:[...ms,wr.type,st.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(qi)}),Ts=(0,fs.createSubscription)(v),ys=gs(v),$g=(0,Vn.configureStore)({reducer:Ct});var ep={store:v,subscription:Ts},Xt=(0,hs.createContext)(ep),zg=(0,Dt.createStoreHook)(Xt),F=(0,Dt.createDispatchHook)(Xt),x=(0,Dt.createSelectorHook)(Xt);n();n();P();var Pe=e=>e.account,Ce=S(Pe,e=>e.address),Ve=S(Pe,Ce,(e,t)=>t in e.accounts?e.accounts[t]:Sr),xs=S(Pe,Ve,(e,t)=>{let i=e,{accounts:r}=i,o=ve(i,["accounts"]);return E(h({},o),{account:t})}),tp=S(Ve,e=>e.balance),Ss=S(Ve,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Yg=S(Pe,e=>e.shard),Hn=S(Pe,e=>e.ledgerAccount),Zg=S(Pe,e=>e.walletConnectAccount),ws=S(Pe,e=>e.isAccountLoading),Jg=S(Pe,e=>e.accountLoadingError),zn=S(Pe,e=>e.websocketEvent);n();var xe=e=>e.networkConfig,Qt=S(xe,e=>e.chainID),vs=S(xe,e=>e.network.walletConnectBridgeAddress),As=S(xe,e=>e.network.walletConnectV2RelayAddress),Is=S(xe,e=>e.network.walletConnectV2ProjectId),bs=S(xe,e=>e.network.walletConnectV2Options),Rr=S(xe,e=>e.network.walletConnectDeepLink),pe=S(xe,e=>e.network),Mr=S(pe,e=>e.apiAddress),ks=S(pe,e=>e.explorerAddress),Es=S(pe,e=>e.egldLabel);n();var Z=e=>e.loginInfo,Ls=S(Z,e=>e.loginMethod),De=S(Z,Ce,(e,t)=>Pt(e.loginMethod,t)),Ps=S(Z,e=>e.walletConnectLogin),Cs=S(Z,e=>e.ledgerLogin),Nt=S(Z,e=>e.walletLogin),Ds=S(Z,e=>e.isLoginSessionInvalid),Or=S(Z,e=>e.tokenLogin);n();n();var se=require("@multiversx/sdk-core");D();n();function jn(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Rt(e){return atob(e)}function Mt(e){var i,l,p;let{data:t}=e,r=jn(t!=null?t:"")?se.TransactionPayload.fromEncoded(t):new se.TransactionPayload(t),o=new se.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new se.Address(e.receiver),sender:new se.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Yt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:fr,chainID:e.chainID.valueOf(),version:new se.TransactionVersion((p=e.version)!=null?p:ci)},e.options?{options:new se.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new se.Address(e.sender)),o}n();Et();n();var np=A(require("bignumber.js"));re();n();n();n();n();var ip=require("@multiversx/sdk-core"),sp=A(require("bignumber.js"));O();n();var Ms=require("@multiversx/sdk-core");function op(e){try{let t=new Ms.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function er(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&op(e)}n();n();n();var cp=require("@multiversx/sdk-core/out");n();D();n();var Os=require("@multiversx/sdk-core");re();n();n();n();n();O();n();n();n();n();n();n();n();var Fs="dapp/config",_s="network/config";var Fr="accounts";var qn="blocks";n();n();n();n();J();n();n();J();n();n();n();var Tp=A(require("bignumber.js"));D();n();var fp=require("@multiversx/sdk-core"),Kn=A(require("bignumber.js"));D();n();var mp=A(require("bignumber.js"));n();Kn.default.config({ROUNDING_MODE:Kn.default.ROUND_FLOOR});n();n();n();D();n();n();n();n();D();n();D();n();var yp=require("@multiversx/sdk-core");D();n();var tr=require("@multiversx/sdk-core"),Sp=require("@multiversx/sdk-network-providers");D();n();n();var hp=A(require("bignumber.js"));D();n();D();n();n();n();n();n();D();n();J();var vp=["reDelegateRewards","claimRewards","unBond"],Ap=["wrapEgld","unwrapEgld"],Ip=["unStake"],bp=["unDelegate"];n();n();n();D();n();var Pp=A(require("bignumber.js"));n();n();n();J();n();var Cp=A(require("bignumber.js"));n();n();n();n();J();n();n();n();var Rp=A(require("linkifyjs"));n();D();n();var Mp=A(require("bignumber.js"));n();re();n();n();O();n();O();n();n();n();J();n();J();n();var Op=A(require("bignumber.js"));D();J();n();J();n();var Vs=require("react");re();n();n();J();n();var Fp=require("@multiversx/sdk-core/out"),_p=A(require("bignumber.js"));J();n();J();n();n();O();var IS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Hs=require("react");re();n();var Bp=require("react");J();var DS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Wr=e=>e.transactions,ze=S(Wr,e=>e.signedTransactions),Wp=S(Wr,e=>e.signTransactionsError),zs=S(Wr,e=>e.signTransactionsCancelMessage),$r=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Zn=S(ze,$r(Le)),js=S(ze,$r(at)),qs=S(ze,$r(ct)),$p=S(ze,$r(Dn)),Ks=S(Wr,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:E(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Mt(r)))||[]})}),Gp=S(ze,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();P();var Ys={errorMessage:Mn,successMessage:On,processingMessage:Fn},Vp=e=>e.transactionsInfo,Hp=S(Vp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Ys);n();var Zs=e=>e.modals,Sw=S(Zs,e=>e.txSubmittedModal),zp=S(Zs,e=>e.notificationModal);n();var Jn=e=>e.toasts,Aw=S(Jn,e=>e.customToasts),Iw=S(Jn,e=>e.transactionToasts),bw=S(Jn,e=>e.failTransactionToast);it();n();n();function Js(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function Xs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=jp(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,y)=>{if(T==="*"){let b=d[y]||"";p=l.slice(0,l.length-b.length).replace(/(.)\/+$/,"$1")}return g[T]=qp(d[y]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function jp(e,t=!1,r=!0){Js(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 qp(e,t){try{return decodeURIComponent(e)}catch(r){return Js(!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 Qs=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>Xs(i,t)!==null);var ea=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=x(De),l=x(ws),p=x(Nt),u=Qs(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Ee(r),null):Xn.default.createElement(Xn.default.Fragment,null,e)};n();var Me=A(require("react")),Sa=require("@multiversx/sdk-core/out");n();n();n();var ta=A(require("axios"));function ra(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=pe(v.getState()),o=e.map(l=>ta.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var na=A(require("axios"));function Gr(e){return f(this,null,function*(){let t=Mr(v.getState()),r=e.map(i=>i.hash),{data:o}=yield na.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 Yp=A(require("axios"));n();n();var Zp=A(require("axios"));n();var Jp=A(require("axios"));n();n();n();var ia=A(require("axios"));n();n();var Vr=e=>{let t=e!=null?e:Mr(v.getState());return t.endsWith("/")?t.slice(0,-1):t};function sa(e){return f(this,null,function*(){if(!e)return null;let r=`${Vr()}/${Fr}/${e}`;try{let{data:o}=yield ia.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();wt();n();var aa=A(require("axios"));function Qn(e){return f(this,null,function*(){let t=`${e}/${Fs}`;try{let{data:o}=yield aa.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=ve(r,[wo(i),"decimals"]);return E(h({},d),{decimals:l,digits:p})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var ca=A(require("axios"));function la(){return f(this,null,function*(){var r;let t=`${Vr()}/${_s}`;try{let{data:o}=yield ca.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();wt();n();wt();n();var Xp=A(require("axios"));wt();n();var Ne=()=>x(xs);xr();n();n();n();n();var pa=require("@multiversx/sdk-extension-provider"),ua=require("@multiversx/sdk-hw-provider"),da=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ma=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),eo=require("@multiversx/sdk-web-wallet-provider");D();O();var Qp="/dapp/init",ut=e=>{switch(e==null?void 0:e.constructor){case eo.WalletProvider:return"wallet";case da.WalletConnectProvider:return"walletconnect";case ma.WalletConnectV2Provider:return"walletconnectv2";case ua.HWProvider:return"ledger";case pa.ExtensionProvider:return"extension";case Hr:return"";default:return"extra"}},to=e=>new eo.WalletProvider(`${e}${Qp}`),ro=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===li}}),Re=e=>`Unable to perform ${e}, Provider not initialized`,Hr=class{init(){return Promise.resolve(!1)}login(t){throw new Error(Re(`login with options: ${t}`))}logout(t){throw new Error(Re(`logout with options: ${t}`))}getAddress(){throw new Error(Re("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(Re(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(Re(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(Re(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(Re(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(Re(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(Re(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},no=new Hr;var io=no,oo=null;function Se(e){io=e}function ga(e){oo=e}function fa(){oo!=null&&(io=oo)}function ne(){return io||no}X();re();n();function ge(){return De(v.getState())}n();n();O();n();n();function Ta(){let e=ne();return ut(e)}function ue(e){return Ta()===e}function je(){let{search:e}=window.location,t=v.getState(),r=ne(),o=Ce(t),i=De(t),l=Nt(t);if(!r)throw"provider not initialized";return ue("ledger")&&i?new Promise(p=>{p(o)}):!ue("")&&!ue("wallet")&&!ue("extra")?r.getAddress():new Promise(p=>{if(l!=null){let d=new URLSearchParams(e),u=Object.fromEntries(d);er(u.address)&&p(u.address)}i&&p(o),p("")})}n();function qe(e){return f(this,null,function*(){return yield sa(e)})}n();P();function ya(e){v.dispatch(wr(e))}n();function Ot(e){let t=v.getState(),r=Ss(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 je();try{let t=yield qe(e);if(t!=null){let r=E(h({},t),{nonce:Ot(t)});return v.dispatch(st(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function zr(){return f(this,null,function*(){let e=ne();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 xa=require("@multiversx/sdk-core");n();X();re();it();xt();nt();var eu=e=>{ke.local.setItem({key:ce.logoutEvent,data:e,expires:0}),ke.local.removeItem(ce.logoutEvent)};function Q(e,t){return f(this,null,function*(){let r=ne(),o=ut(r),i=ge(),l=o==="wallet";if(!i||!r){so(e,t,!1);return}try{let p=yield je();eu(p)}catch(p){so(e,t,!1),console.error("error fetching logout address",p)}l&&yi(),v.dispatch(Y());try{let d=l&&!e?window.location.origin:e;l?setTimeout(()=>{r.logout({callbackUrl:d})}):(yield r.logout({callbackUrl:d}),so(e,t,l))}catch(p){console.error("error logging out",p)}})}function so(e,t,r){e&&!r&&(typeof t=="function"?t(e):Ee(e))}function ao({customNetworkConfig:e={},children:t,environment:r}){let[o,i]=(0,Me.useState)(!1),l=Ne(),p=x(Ds),{address:d,publicKey:u}=l,g=F();function T(){return f(this,null,function*(){let b=!(e!=null&&e.skipFetchFromServer),L=e==null?void 0:e.apiAddress,w=ot[r]||{},C=h(h({},w),e);if(b){let _=w==null?void 0:w.apiAddress,N=yield Qn(L||_);if(N!=null){let q=h(h(h({},w),N),e);g(kn(q));return}}g(kn(C))})}function y(){return f(this,null,function*(){yield T(),i(!0)})}return(0,Me.useEffect)(()=>{d&&new Sa.Address(d).hex()!==u&&Q()},[d,u]),(0,Me.useEffect)(()=>{y()},[e,r]),(0,Me.useEffect)(()=>{l.address&&p&&Q()},[p,l.address]),o?Me.default.createElement(Me.default.Fragment,null,t):null}n();var Gt=A(require("react")),Sc=require("react-redux"),wc=require("redux-persist/integration/react");n();var _e=require("react"),Ca=require("@multiversx/sdk-extension-provider"),Da=require("@multiversx/sdk-hw-provider");n();var Ea=require("react"),qr=require("@multiversx/sdk-core");n();n();var dt=()=>x(Ve);n();n();n();n();n();var Oe=A(require("react"));var wa=(0,Oe.createContext)({}),tu=v.getState();function co({children:e}){let[t,r]=(0,Oe.useState)(),[o,i]=(0,Oe.useState)(Z(tu)),l={address:t,setAddress:r,isLoggedIn:Pt(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Oe.default.createElement(wa.Provider,{value:l},e)}function Ft(){let e=(0,Oe.useContext)(wa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var rr=A(require("react"));var lo=({children:e=null})=>{var l;let{address:t}=dt(),r=x(Z),{setLoginInfo:o,setAddress:i}=Ft();return(0,rr.useEffect)(()=>{i(t),o(r)},[(l=r.tokenLogin)==null?void 0:l.loginToken,t]),rr.default.createElement(rr.default.Fragment,null,e)};n();var Ke=A(require("react")),jr=A(require("axios"));var po=({children:e,authenticatedDomanis:t})=>{var d;let{loginInfo:r}=Ft(),o=(d=r==null?void 0:r.tokenLogin)==null?void 0:d.nativeAuthToken,i=(0,Ke.useRef)(-1),l=()=>{jr.default.interceptors.response.use(u=>u,u=>{var T,y;let g=(T=u.config)==null?void 0:T.url;return(y=u.config)!=null&&y.params&&(g+=`?${new URLSearchParams(u.config.params).toString()}`),console.error("Axios error for: ",g),Promise.reject(u)})},p=()=>{jr.default.interceptors.request.eject(i.current),i.current=jr.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,Ke.useEffect)(l,[]),(0,Ke.useEffect)(()=>{o&&p()},[o]),Ke.default.createElement(Ke.default.Fragment,null,e)};var ru={Interceptor:po,Listener:lo,Provider:co};n();n();var nr=()=>{let e=ne(),t=ut(e);return{provider:e,providerType:t}};n();P();n();n();n();n();var nu=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),_t=e=>nu(s.Buffer.from(e,"utf8").toString("base64"));n();var va=A(require("axios"));function Aa(e){return f(this,null,function*(){let{data:t}=yield va.default.get(`${e}/${qn}?size=1&fields=hash,timestamp`),[r]=t;return r})}n();function ou(e){return Object.prototype.toString.call(e)==="[object String]"}var Ia=e=>{if(!e||!ou(e))return null;try{let[t,r,o]=e.split("."),i=Rt(t),l=Rt(r),[p,d,u,g]=l.split("."),T=JSON.parse(Rt(g)),y=Rt(p),b={ttl:Number(u),address:i,extraInfo:T,host:y,signature:o,blockHash:d,body:l};return g==="e30"&&delete b.extraInfo,b}catch(t){return null}};n();n();mr();var Ut=e=>{let t=Ia(e);if(!t)return{isExpired:!1};let r=ht(),{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}};n();var or={hostname:typeof window!="undefined"?window.location.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},ir=e=>{var r,o,i,l;return e===!0?or:{hostname:(r=e==null?void 0:e.hostname)!=null?r:or.hostname,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:or.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:or.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:or.tokenExpirationToastWarningSeconds}};n();var ba=({address:e,token:t,signature:r})=>{let o=_t(e),i=_t(t);return`${o}.${i}.${r}`};var ka=e=>{let{hostname:t,apiAddress:r,expirySeconds:o}=ir(e);return{getNativeAuthConfig:ir,initialize:(...p)=>f(void 0,[...p],function*(l={}){let{hash:d,timestamp:u}=yield Aa(r),g=_t(JSON.stringify(h(h({},l),u?{timestamp:u}:{})));return`${_t(t)}.${d}.${o}.${g}`}),getToken:ba,getTokenExpiration:Ut}};var iu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Fe=e=>{let t=x(pe),r=x(Or),o=(0,Ea.useRef)(r==null?void 0:r.loginToken),i=iu(t.apiAddress,e),l=ir(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=ka(l),{address:u}=dt(),g=F(),T=w=>{o.current=w,g(hr(h({loginToken:w},i?{nativeAuthConfig:l}:{})))},y=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(w){console.error("Unable to get block. Login failed.",w);return}}),b=({address:w,signature:C})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(hr({loginToken:_,signature:C}));return}let N=d.getToken({address:w,token:_,signature:C});g(hr(h({loginToken:_,signature:C,nativeAuthToken:N},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:T,getNativeAuthLoginToken:y,setTokenLoginInfo:b,refreshNativeAuthTokenLogin:C=>f(void 0,[C],function*({signMessageCallback:w}){let _=yield y();if(o.current=_,!_)return;let N=new qr.SignableMessage({address:new qr.Address(u),message:s.Buffer.from(_)}),q=yield w(N,{});b({address:u,signature:q.toJSON().signature})})}};n();var Ye=require("react"),La=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var Kr=require("react");function Bt(e,t=[]){let r=(0,Kr.useRef)(!0);(0,Kr.useEffect)(()=>{r.current?r.current=!1:e()},t)}X();P();O();It();var uo=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=F(),p=15e3,d=r!=null,u=Fe(r),g=o,[T,y]=(0,Ye.useState)(""),[b,L]=(0,Ye.useState)(""),{provider:w}=nr(),C=x(vs),_=x(Rr),N=(0,Ye.useRef)(w),q=(0,Ye.useRef)(!0),de,ee=Boolean(b),Ze=!ee,Be=ee?`${_}?wallet-connect=${encodeURIComponent(b)}`:"";(0,Ye.useEffect)(()=>{Xe();let M=setInterval(()=>{Xe()},p);return()=>clearInterval(M)},[w]),Bt(()=>{gt()},[o]),Bt(()=>{N.current=w},[w]);let W=()=>{Q(e)},Je=()=>{q.current=!1};function Xe(){return f(this,null,function*(){var H,B;if(w==null||!ue("walletconnect")||!Boolean((B=(H=N.current)==null?void 0:H.walletConnector)==null?void 0:B.connected))return;let $={method:"heartbeat",params:{}};try{yield N.current.sendCustomMessage($)}catch(z){console.error("Connection lost",z),W()}})}function Vt(){return f(this,null,function*(){var M;try{let $=N.current;if(ge()||$==null||!ue("walletconnect"))return;if(!q.current){try{yield(M=N.current)==null?void 0:M.logout()}catch(j){console.warn("Unable to logout")}return}let B=yield $.getAddress();if(!B){console.warn("Login cancelled.");return}let z=yield $.getSignature(),We={address:B,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(yr(G)),z&&u.setTokenLoginInfo({signature:z,address:B}),l(oe(We)),$.walletConnector.on("heartbeat",()=>{clearInterval(de),de=setInterval(()=>{console.log("Maiar Wallet Connection Lost"),W(),clearInterval(de)},15e4)}),At({callbackRoute:t,onLoginRedirect:i,options:{address:B,signature:z}})}catch($){y("Invalid address"),console.error($)}})}function Ht(M=!0){return f(this,null,function*(){var z,We;let $=M&&!b;if(!C||((We=(z=N==null?void 0:N.current)==null?void 0:z.isInitialized)==null?void 0:We.call(z))&&!$)return;let H={onClientLogin:Vt,onClientLogout:W},B=new La.WalletConnectProvider(C,H);yield B.init(),q.current=!0,Se(B),N.current=B,M&&gt()})}function gt(){return f(this,null,function*(){var B;if(!C)return;let M=yield(B=N.current)==null?void 0:B.login();if(!Boolean(M))return;if(d&&!g&&(g=yield u.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(!g){L(M);return}u.setLoginToken(g);let H=`${M}&token=${g}`;L(H)})}let k=Boolean(T),R=ge();return[Ht,{error:T,loginFailed:k,isLoading:Ze&&!k,isLoggedIn:R&&!k},{uriDeepLink:Be,walletConnectUri:b,cancelLogin:Je}]};n();var we=require("react"),Pa=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");X();P();O();It();var mo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=F(),p=o!=null,d=Fe(o),u=r,[g,T]=(0,we.useState)(""),[y,b]=(0,we.useState)(""),[L,w]=(0,we.useState)(!0),[C,_]=(0,we.useState)([]),N=ne(),q=x(As),de=x(Is),ee=x(bs),Ze=x(Qt),Be=x(Rr),W=(0,we.useRef)(N),Je=(0,we.useRef)(!0),Xe=["erd_cancelAction"],Vt=L?"":`${Be}?wallet-connect=${encodeURIComponent(y)}`;Bt(()=>{B()},[r]),Bt(()=>{W.current=N},[N]),(0,we.useEffect)(()=>{w(!Boolean(y))},[y]);let Ht=()=>{Q(t)},gt=G=>{console.log("wc2 session event: ",G)},k=()=>{Je.current=!1};function R(){return f(this,null,function*(){var G;try{let j=W.current;if(ge()||j==null||!ue("walletconnectv2"))return;if(!Je.current){try{yield(G=W.current)==null?void 0:G.logout()}catch($u){console.warn("Unable to logout")}return}let me=yield j.getAddress();if(!me){console.warn("Login cancelled.");return}let $e=yield j.getSignature(),Qr={address:me,loginMethod:"walletconnectv2"},vc={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(yr(vc)),$e&&d.setTokenLoginInfo({signature:$e,address:me}),l(oe(Qr)),At({callbackRoute:e,onLoginRedirect:i,options:{address:me,signature:$e}})}catch(j){T("Invalid address"),console.error(j)}})}function M(G=!0){return f(this,null,function*(){if(!de||!q){T("Invalid WalletConnect setup");return}let j={onClientLogin:R,onClientLogout:Ht,onClientEvent:gt},K=new Pa.WalletConnectV2Provider(j,Ze,q,de,ee);yield K.init(),Je.current=!0,Se(K),_(K.pairings),W.current=K,G&&B()})}function $(G){return f(this,null,function*(){var j,K,me;if(!q||!de){T("Invalid WalletConnect setup");return}if(!G||!G.topic){T("Expired connection");return}try{let{approval:$e}=yield(j=W.current)==null?void 0:j.connect({topic:G.topic,methods:Xe});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(K=W.current)==null?void 0:K.login({approval:$e,token:u})}catch(Qr){T("User rejected existing connection proposal"),w(!0),yield M()}}catch($e){console.error("Unable to connect to existing session",$e),T("Unable to connect to existing session")}finally{_((me=W.current)==null?void 0:me.pairings)}})}function H(G){return f(this,null,function*(){var j,K;try{G&&(yield(j=W.current)==null?void 0:j.logout({topic:G}))}catch(me){console.error("Unable to remove existing pairing",me),T("Unable to remove existing pairing")}finally{_((K=W.current)==null?void 0:K.pairings)}})}function B(){return f(this,null,function*(){var G,j;if(!q||!de){T("Invalid WalletConnect setup");return}try{let{uri:K,approval:me}=yield(G=W.current)==null?void 0:G.connect({methods:Xe});if(!Boolean(K))return;if(b(K),p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(j=W.current)==null?void 0:j.login({approval:me,token:u})}catch(Qr){T("User rejected connection proposal"),w(!0),yield M()}}catch(K){console.error("Unable to connect",K)}})}let z=Boolean(g),We=ge();return[M,{error:g,loginFailed:z,isLoading:L&&!z,isLoggedIn:We&&!z},{uriDeepLink:Vt,walletConnectUri:y,cancelLogin:k,connectExisting:$,removeExistingPairing:H,wcPairings:C}]};X();P();O();function Na(){let e=x(pe),t=x(Ps),r=x(Ls),o=x(Nt),i=x(Ce),l=x(Hn),p=x(Cs),d=x(De),[u,g]=(0,_e.useState)(),T=x(Or),y=T==null?void 0:T.nativeAuthConfig,b=Fe(y||!1),L=(0,_e.useRef)(!1),w=F(),{callbackRoute:C,logoutRoute:_}=t||{callbackRoute:"",logoutRoute:""},[N]=uo({callbackRoute:C,logoutRoute:_}),[q]=mo({callbackRoute:C,logoutRoute:_});(0,_e.useEffect)(()=>{de()},[e]),(0,_e.useEffect)(()=>{gt()},[r]),(0,_e.useEffect)(()=>{Ze()},[i,e]),(0,_e.useEffect)(()=>{ee()},[l,d,u]);function de(){return f(this,null,function*(){try{let k=yield la();k&&w(Ai(k.erd_chain_id))}catch(k){console.error("failed refreshing chainId ",k)}})}function ee(){l==null&&p!=null&&u&&w(Pn({index:p.index,address:i,hasContractDataEnabled:u.dataEnabled,version:u.version}))}function Ze(){return f(this,null,function*(){if(w(bt(!0)),L.current){L.current=!1,w(bt(!1));return}if(i)try{let k=yield qe(i);k&&w(st(E(h({},k),{address:i,nonce:k.nonce.valueOf()})))}catch(k){w(Li("Failed getting account")),console.error("Failed getting account ",k)}w(bt(!1))})}function Be(){return f(this,null,function*(){let k=to(e.walletAddress);if(Se(k),o!=null){try{let R=yield je(),{clearWalletLoginHistory:M,signature:$}=W();if(!R)return M();$&&b.setTokenLoginInfo({signature:$,address:R});let H=yield qe(R);H&&(L.current=!0,w(bt(!0)),w(oe({address:R,loginMethod:"wallet"})),w(st(E(h({},H),{nonce:Ot(H)}))),w(bt(!1))),M()}catch(R){console.error("Failed authenticating wallet user ",R)}w(wn(null))}})}function W(){var B;let k={};if((B=window==null?void 0:window.location)!=null&&B.search){let We=new URLSearchParams(window.location.search);k=Object.fromEntries(We)}let z=k,{signature:R,loginToken:M,address:$}=z,H=ve(z,["signature","loginToken","address"]);return{signature:R,clearWalletLoginHistory:()=>Je(H)}}function Je(k){let R=new URLSearchParams(k).toString(),{pathname:M}=window.location,$=R?`?${R}`:"",H=M?`${M}${$}`:"./";setTimeout(()=>{window.history.replaceState({},document==null?void 0:document.title,H)})}function Xe(){return f(this,null,function*(){let k=new Da.HWProvider,R=k.isInitialized();if(R||(R=yield k.init()),!R&&d){console.warn("Could not initialise ledger app"),Q();return}return(p==null?void 0:p.index)!=null&&(k.addressIndex=p.index),k})}function Vt(){return f(this,null,function*(){try{let k=yield Xe();if(!k)return;let R=yield ro(k);Se(k),g(R)}catch(k){console.error("Could not initialise ledger app",k),Q()}})}function Ht(){return f(this,null,function*(){try{let k=yield je(),R=Ca.ExtensionProvider.getInstance().setAddress(k);(yield R.init())?Se(R):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(k){console.error("Unable to login to ExtensionProvider",k)}})}function gt(){if(r!=null)switch(r){case"ledger":{Vt();break}case"walletconnect":{N(!1);break}case"walletconnectv2":{q(!1);break}case"extension":{Ht();break}case"extra":{fa();break}case"wallet":case"":{Be();break}default:return}}return null}n();var $t=A(require("react"));n();n();n();n();var oc=require("react");n();n();var go=()=>x(xe);n();P();n();n();n();var au=require("react"),cu=require("@multiversx/sdk-web-wallet-provider"),lu=A(require("qs"));D();P();O();n();var Oa=require("react"),Tu=require("@multiversx/sdk-extension-provider");D();P();O();n();n();n();n();var Ma=require("react"),du=require("@multiversx/sdk-extension-provider");D();P();n();n();var yu=A(require("axios")),hu=A(require("swr"));n();n();var _a=require("react");n();var Fa=require("react");In();P();re();it();n();St();P();n();n();n();n();n();function Ua(){let e=x(Zn),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Et();n();P();O();n();Et();function Ba(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Le(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();P();O();function Wa({results:e,hash:t,sessionId:r}){let o=e==null?void 0:e.find(i=>(i==null?void 0:i.returnMessage)!=="");v.dispatch(Jt({transactionHash:t,sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage})),v.dispatch(lt({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();P();re();function fo(e){v.dispatch(lt({sessionId:e,status:"timedOut"}))}var Yr={},To=[];function Su({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(To.includes(i))return;if(Yr[i]>30){fo(t);return}if(d||Le(l)){Yr[i]=Yr[i]?Yr[i]+1:1;return}u&&(at(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(To.push(i),setTimeout(()=>v.dispatch(Jt({sessionId:t,status:"success",transactionHash:i})),r==null?void 0:r.completedTransactionsDelay)):v.dispatch(Jt({sessionId:t,status:l,transactionHash:i}))),o||zr(),ct(l)&&Wa({sessionId:t,hash:i,results:p})}catch(g){console.error(g),fo(t)}}function $a(l){return f(this,arguments,function*({sessionId:e,transactionBatch:{transactions:t,customTransactionInformation:r},getTransactionsByHash:o=Gr,shouldRefreshBalance:i}){try{if(t==null)return;let p=Ba(t,To),d=yield o(p);for(let u of d)Su({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function Ga(){let{pendingTransactionsArray:e}=Ua();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Le(l.status));if(o.length>0)for(let[i,l]of o)yield $a(h({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&zr()})}return t}n();var ku=require("react");n();n();n();P();n();n();var Au=A(require("bignumber.js"));D();P();re();n();var vu=A(require("bignumber.js"));D();n();var Iu=require("@multiversx/sdk-core"),bu=A(require("bignumber.js"));D();O();Et();n();n();n();n();var Va=require("react");n();n();var Eu=require("react"),Lu=require("@multiversx/sdk-extension-provider");St();X();O();It();n();var Du=require("react");St();P();n();n();n();n();n();P();var Pu={};var za=e=>{if(e.component!=null){let t=e,{component:r}=t,o=ve(t,["component"]),{payload:i}=v.dispatch(Bn(E(h({},o),{component:null})));return Pu[i.toastId]=r,i}return v.dispatch(Bn(e)).payload};n();n();n();n();n();xt();it();mn();n();n();n();function ja(e){return new Promise(t=>{setTimeout(()=>t(),e)})}n();var qa=(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 ja(t.delay)),qa(e,t,r,o+1)):null}}),Ka=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return qa(e,t,r)});n();n();var Ya=A(require("axios"));function yo(e){return f(this,null,function*(){try{let{data:t}=yield Ya.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 Cu=A(require("platform"));n();var Za=require("react"),Nu=require("@multiversx/sdk-hw-provider");St();X();P();O();It();n();n();var Ja=require("react");n();var ec=require("react");n();var mt=require("react"),Xa=require("socket.io-client");P();n();var Ue={current:null,status:"not_initialized"};var Ru=3e3,Mu=3,Ou=500,Fu=1e3;function Qa(){let e=(0,mt.useRef)(null),{address:t}=dt(),r=F(),{network:o}=go(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(Pi(p))},Fu)},l=(0,mt.useCallback)(Ka(()=>f(this,null,function*(){Ue.status="pending";let p=yield yo(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}Ue.current=(0,Xa.io)(p,{forceNew:!0,reconnectionAttempts:Mu,timeout:Ru,query:{address:t}}),Ue.status="completed",Ue.current.onAny(d=>{i(d)})}),{retries:2,delay:Ou}),[t]);(0,mt.useEffect)(()=>{t&&Ue.status==="not_initialized"&&!Ue.current&&l()},[t,Ue.current]),(0,mt.useEffect)(()=>()=>{var p;(p=Ue.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function tc(e){Qa();let t=x(zn);(0,ec.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var rc=e=>e.dappModal,_u=S(rc,e=>e.visible),Zr=S(rc,e=>e.modal),QD=S(Zr,e=>e.showHeader),eN=S(Zr,e=>e.showFooter),tN=S(Zr,e=>e.headerText),rN=S(Zr,e=>e.footerText);nt();var{logoutEvent:Uu}=ce,nc="storage",ic=()=>{let{address:e}=Ne();(0,oc.useEffect)(()=>{let t=r=>{if(!(r.key!==Uu||!r.newValue))try{let{data:o}=JSON.parse(r.newValue);o===e&&Q()}catch(o){return}};return window.addEventListener(nc,t),()=>{window.removeEventListener(nc,t)}},[e])};n();n();var Jr=require("react"),ho=A(require("bignumber.js"));var ac=require("@fortawesome/free-solid-svg-icons");n();n();var sr=A(require("bignumber.js")),sc=e=>{let t=new sr.default(e).dividedBy(1e3).integerValue(sr.default.ROUND_FLOOR),r=new sr.default(t).dividedBy(60).integerValue(sr.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 cc=()=>{let{address:e}=Ne(),{tokenLogin:t}=x(Z),{secondsUntilExpires:r,expiresAt:o}=Ut(t==null?void 0:t.nativeAuthToken),i=(0,Jr.useRef)();return(0,Jr.useEffect)(()=>{var d;let l=new ho.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 ho.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),y=sc(p),b=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{za({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:ac.faRefresh,message:`Your token will expire in ${y}!`})},b)}return()=>{clearTimeout(i.current)}}},[o,e,t==null?void 0:t.nativeAuthConfig]),null};n();var Wt=require("react"),lc=A(require("bignumber.js"));var pc=()=>{let{address:e}=Ne(),{tokenLogin:t}=x(Z),{isExpired:r,secondsUntilExpires:o,expiresAt:i}=Ut(t==null?void 0:t.nativeAuthToken),l=(0,Wt.useRef)(""),p=(0,Wt.useRef)();return(0,Wt.useEffect)(()=>{e&&r&&Q()},[r,e]),(0,Wt.useEffect)(()=>{let d=new lc.default(String(o)),u=`${e}_${i}`,g=l.current===u;if(!(o&&d.isGreaterThan(0))||g)return;l.current=u,clearTimeout(p.current);let y=d.times(1e3);return p.current=setTimeout(()=>{Q()},y.toNumber()),()=>{clearTimeout(p.current)}},[i,e]),null};var uc=()=>(cc(),ic(),pc(),null);n();n();var Xr=require("react"),mc=require("@multiversx/sdk-core"),gc=require("@multiversx/sdk-core/out/signature");P();O();it();var dc=e=>{let t=e.redirectRoute;t&&Ee(t)},fc=({sendSignedTransactionsAsync:e=ra})=>{let t=x(Ve),r=x(ze),o=(0,Xr.useRef)(!1),i=F(),l=()=>{i(Lt()),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],y=(u=T==null?void 0:T.customTransactionInformation)==null?void 0:u.signWithoutSending;if(!g||y){dc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:w}=r[g];if(!w)continue;o.current=!0;let C=w.map(ee=>{let Ze=new mc.Address(ee.sender),Be=Mt(ee),W=new gc.Signature(ee.signature);return Be.applySignature(W,Ze),Be}),_=yield e(C),N="pending",q=w.map(ee=>_.includes(ee.hash)?E(h({},ee),{status:N}):ee);i(Bi({sessionId:g,submittedMessage:"submitted"})),i(lt({sessionId:g,status:"sent",transactions:q})),l(),ya(t.nonce+w.length),dc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(b){console.error("Unable to send transactions",b),i(lt({sessionId:g,status:"fail",errorMessage:b.message})),l()}finally{o.current=!1}}})}return(0,Xr.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Tc=require("react");function yc(e){var i;let t=Ga(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:Gr,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};tc(o),(0,Tc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function hc({getTransactionsByHash:e}){return yc({getTransactionsByHash:e}),null}function xc({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:fc,i=(p=r==null?void 0:r.component)!=null?p:hc;return $t.default.createElement($t.default.Fragment,null,$t.default.createElement(o,h({},t==null?void 0:t.props)),$t.default.createElement(i,h({},r==null?void 0:r.props)),$t.default.createElement(uc,null))}var Bu=({children:e,customNetworkConfig:t={},externalProvider:r,environment:o,customComponents:i})=>{if(!o)throw new Error("missing environment flag");return r!=null&&ga(r),Gt.default.createElement(Sc.Provider,{context:Xt,store:v},Gt.default.createElement(wc.PersistGate,{persistor:ys,loading:null},Gt.default.createElement(ao,{environment:o,customNetworkConfig:t},Gt.default.createElement(Na,null),Gt.default.createElement(xc,{customComponents:i}),e)))};0&&(module.exports={AppInitializer,AuthenticatedRoutesWrapper,AxiosInterceptor,AxiosInterceptorContext,AxiosInterceptorContextProvider,DappProvider,LoginInfoListener,useAxiosInterceptorContext});
1
+ "use strict";var Ac=Object.create;var zt=Object.defineProperty,Ic=Object.defineProperties,bc=Object.getOwnPropertyDescriptor,kc=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Lc=Object.getPrototypeOf,en=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable;var xo=(e,t,r)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))en.call(t,r)&&xo(e,r,t[r]);if(ar)for(var r of ar(t))So.call(t,r)&&xo(e,r,t[r]);return e},E=(e,t)=>Ic(e,kc(t));var wo=e=>typeof e=="symbol"?e:e+"",ve=(e,t)=>{var r={};for(var o in e)en.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&ar)for(var o of ar(e))t.indexOf(o)<0&&So.call(e,o)&&(r[o]=e[o]);return r};var I=(e,t)=>()=>(e&&(t=e(e=0)),t);var cr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Qe=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},vo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ec(t))!en.call(e,i)&&i!==r&&zt(e,i,{get:()=>t[i],enumerable:!(o=bc(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ac(Lc(e)):{},vo(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),jt=e=>vo(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 bo=cr(lr=>{"use strict";n();lr.byteLength=Cc;lr.toByteArray=Nc;lr.fromByteArray=Oc;var fe=[],ae=[],Pc=typeof Uint8Array!="undefined"?Uint8Array:Array,tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(et=0,Ao=tn.length;et<Ao;++et)fe[et]=tn[et],ae[tn.charCodeAt(et)]=et;var et,Ao;ae["-".charCodeAt(0)]=62;ae["_".charCodeAt(0)]=63;function Io(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 Cc(e){var t=Io(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Dc(e,t,r){return(t+r)*3/4-r}function Nc(e){var t,r=Io(e),o=r[0],i=r[1],l=new Pc(Dc(e,o,i)),p=0,d=i>0?o-4:o,u;for(u=0;u<d;u+=4)t=ae[e.charCodeAt(u)]<<18|ae[e.charCodeAt(u+1)]<<12|ae[e.charCodeAt(u+2)]<<6|ae[e.charCodeAt(u+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=ae[e.charCodeAt(u)]<<2|ae[e.charCodeAt(u+1)]>>4,l[p++]=t&255),i===1&&(t=ae[e.charCodeAt(u)]<<10|ae[e.charCodeAt(u+1)]<<4|ae[e.charCodeAt(u+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Rc(e){return fe[e>>18&63]+fe[e>>12&63]+fe[e>>6&63]+fe[e&63]}function Mc(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(Rc(o));return i.join("")}function Oc(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Mc(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(fe[t>>2]+fe[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(fe[t>>10]+fe[t>>4&63]+fe[t<<2&63]+"=")),i.join("")}});var ko=cr(rn=>{n();rn.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,u=(1<<d)-1,g=u>>1,T=-7,y=r?i-1:0,b=r?-1:1,L=e[t+y];for(y+=b,l=L&(1<<-T)-1,L>>=-T,T+=d;T>0;l=l*256+e[t+y],y+=b,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=o;T>0;p=p*256+e[t+y],y+=b,T-=8);if(l===0)l=1-g;else{if(l===u)return p?NaN:(L?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(L?-1:1)*p*Math.pow(2,l-o)};rn.write=function(e,t,r,o,i,l){var p,d,u,g=l*8-i-1,T=(1<<g)-1,y=T>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=o?0:l-1,w=o?1:-1,C=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+y>=1?t+=b/u:t+=b*Math.pow(2,1-y),t*u>=2&&(p++,u/=2),p+y>=T?(d=0,p=T):p+y>=1?(d=(t*u-1)*Math.pow(2,i),p=p+y):(d=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+L]=d&255,L+=w,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+L]=p&255,L+=w,p/=256,g-=8);e[r+L-w]|=C*128}});var Bo=cr(Tt=>{"use strict";n();var nn=bo(),ft=ko(),Eo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Tt.Buffer=m;Tt.SlowBuffer=$c;Tt.INSPECT_MAX_BYTES=50;var pr=2147483647;Tt.kMaxLength=pr;m.TYPED_ARRAY_SUPPORT=Fc();!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 Fc(){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 Ae(e){if(e>pr)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 cn(e)}return Co(e,t,r)}m.poolSize=8192;function Co(e,t,r){if(typeof e=="string")return Uc(e,t);if(ArrayBuffer.isView(e))return Bc(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(Te(e,ArrayBuffer)||e&&Te(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Te(e,SharedArrayBuffer)||e&&Te(e.buffer,SharedArrayBuffer)))return sn(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=Wc(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 Co(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function Do(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 _c(e,t,r){return Do(e),e<=0?Ae(e):t!==void 0?typeof r=="string"?Ae(e).fill(t,r):Ae(e).fill(t):Ae(e)}m.alloc=function(e,t,r){return _c(e,t,r)};function cn(e){return Do(e),Ae(e<0?0:ln(e)|0)}m.allocUnsafe=function(e){return cn(e)};m.allocUnsafeSlow=function(e){return cn(e)};function Uc(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=No(e,t)|0,o=Ae(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function on(e){for(var t=e.length<0?0:ln(e.length)|0,r=Ae(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Bc(e){if(Te(e,Uint8Array)){var t=new Uint8Array(e);return sn(t.buffer,t.byteOffset,t.byteLength)}return on(e)}function sn(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 Wc(e){if(m.isBuffer(e)){var t=ln(e.length)|0,r=Ae(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||pn(e.length)?Ae(0):on(e);if(e.type==="Buffer"&&Array.isArray(e.data))return on(e.data)}function ln(e){if(e>=pr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+pr.toString(16)+" bytes");return e|0}function $c(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(Te(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),Te(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(Te(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 No(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Te(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 an(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Uo(e).length;default:if(i)return o?-1:an(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=No;function Gc(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 Xc(this,t,r);case"utf8":case"utf-8":return Mo(this,t,r);case"ascii":return Zc(this,t,r);case"latin1":case"binary":return Jc(this,t,r);case"base64":return Kc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qc(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function tt(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)tt(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)tt(this,r,r+3),tt(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)tt(this,r,r+7),tt(this,r+1,r+6),tt(this,r+2,r+5),tt(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Mo(this,0,t):Gc.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=Tt.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Eo&&(m.prototype[Eo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(Te(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),y=0;y<u;++y)if(g[y]!==T[y]){p=g[y],d=T[y];break}return p<d?-1:d<p?1:0};function Ro(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,pn(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:Lo(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):Lo(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Lo(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(L,w){return l===1?L[w]:L.readUInt16BE(w*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 y=!0,b=0;b<d;b++)if(u(e,g+b)!==u(t,b)){y=!1;break}if(y)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 Ro(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return Ro(this,t,r,o,!1)};function Vc(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(pn(d))return p;e[r+p]=d}return p}function Hc(e,t,r,o){return ur(an(t,e.length-r),e,r,o)}function zc(e,t,r,o){return ur(rl(t),e,r,o)}function jc(e,t,r,o){return ur(Uo(t),e,r,o)}function qc(e,t,r,o){return ur(nl(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 Vc(this,t,r,o);case"utf8":case"utf-8":return Hc(this,t,r,o);case"ascii":case"latin1":case"binary":return zc(this,t,r,o);case"base64":return jc(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qc(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 Kc(e,t,r){return t===0&&r===e.length?nn.fromByteArray(e):nn.fromByteArray(e.slice(t,r))}function Mo(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,y;switch(d){case 1:l<128&&(p=l);break;case 2:u=e[i+1],(u&192)===128&&(y=(l&31)<<6|u&63,y>127&&(p=y));break;case 3:u=e[i+1],g=e[i+2],(u&192)===128&&(g&192)===128&&(y=(l&15)<<12|(u&63)<<6|g&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:u=e[i+1],g=e[i+2],T=e[i+3],(u&192)===128&&(g&192)===128&&(T&192)===128&&(y=(l&15)<<18|(u&63)<<12|(g&63)<<6|T&63,y>65535&&y<1114112&&(p=y))}}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 Yc(o)}var Po=4096;function Yc(e){var t=e.length;if(t<=Po)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Po));return r}function Zc(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 Jc(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 Xc(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+=ol[e[l]];return i}function Qc(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 V(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||V(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||V(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||V(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,4,this.length),ft.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||V(t,4,this.length),ft.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||V(t,8,this.length),ft.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||V(t,8,this.length),ft.read(this,t,!1,52,8)};function te(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;te(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;te(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||te(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||te(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||te(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||te(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||te(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);te(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);te(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||te(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||te(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||te(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||te(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||te(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 Oo(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 Fo(e,t,r,o,i){return t=+t,r=r>>>0,i||Oo(e,t,r,4,34028234663852886e22,-34028234663852886e22),ft.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return Fo(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return Fo(this,t,r,!1,o)};function _o(e,t,r,o,i){return t=+t,r=r>>>0,i||Oo(e,t,r,8,17976931348623157e292,-17976931348623157e292),ft.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return _o(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return _o(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 el=/[^+/0-9A-Za-z-_]/g;function tl(e){if(e=e.split("=")[0],e=e.trim().replace(el,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function an(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 rl(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function nl(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 Uo(e){return nn.toByteArray(tl(e))}function ur(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 Te(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function pn(e){return e!==e}var ol=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 Ho=cr((ju,Vo)=>{n();var U=Vo.exports={},ye,he;function un(){throw new Error("setTimeout has not been defined")}function dn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ye=setTimeout:ye=un}catch(e){ye=un}try{typeof clearTimeout=="function"?he=clearTimeout:he=dn}catch(e){he=dn}})();function Wo(e){if(ye===setTimeout)return setTimeout(e,0);if((ye===un||!ye)&&setTimeout)return ye=setTimeout,setTimeout(e,0);try{return ye(e,0)}catch(t){try{return ye.call(null,e,0)}catch(r){return ye.call(this,e,0)}}}function il(e){if(he===clearTimeout)return clearTimeout(e);if((he===dn||!he)&&clearTimeout)return he=clearTimeout,clearTimeout(e);try{return he(e)}catch(t){try{return he.call(null,e)}catch(r){return he.call(this,e)}}}var Ie=[],yt=!1,rt,dr=-1;function sl(){!yt||!rt||(yt=!1,rt.length?Ie=rt.concat(Ie):dr=-1,Ie.length&&$o())}function $o(){if(!yt){var e=Wo(sl);yt=!0;for(var t=Ie.length;t;){for(rt=Ie,Ie=[];++dr<t;)rt&&rt[dr].run();dr=-1,t=Ie.length}rt=null,yt=!1,il(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];Ie.push(new Go(e,t)),Ie.length===1&&!yt&&Wo($o)};function Go(e,t){this.fun=e,this.array=t}Go.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function be(){}U.on=be;U.addListener=be;U.once=be;U.off=be;U.removeListener=be;U.removeAllListeners=be;U.emit=be;U.prependListener=be;U.prependOnceListener=be;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,qu,n=I(()=>{s=A(Bo()),a=A(Ho()),qu=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 ht,mr=I(()=>{"use strict";n();ht=()=>Date.now()/1e3});var zo=I(()=>{"use strict";n()});var jo=I(()=>{"use strict";n()});var mn=I(()=>{"use strict";n();mr();zo();jo()});var fn={};Qe(fn,{getItem:()=>cl,localStorageKeys:()=>ce,removeItem:()=>ll,setItem:()=>al});var ce,gn,al,cl,ll,nt=I(()=>{"use strict";n();mn();ce={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},gn=typeof localStorage!="undefined",al=({key:e,data:t,expires:r})=>{!gn||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},cl=e=>{if(!gn)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:ht()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},ll=e=>{!gn||localStorage.removeItem(String(e))}});var Tn={};Qe(Tn,{clear:()=>Zo,getItem:()=>Ko,removeItem:()=>Yo,setItem:()=>qo,storage:()=>pl});var qo,Ko,Yo,Zo,pl,Jo=I(()=>{"use strict";n();qo=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ko=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},Yo=e=>sessionStorage.removeItem(String(e)),Zo=()=>sessionStorage.clear(),pl={setItem:qo,getItem:Ko,removeItem:Yo,clear:Zo}});var ke,xt=I(()=>{"use strict";n();nt();Jo();ke={session:Tn,local:fn}});function qt(){return new Date().setHours(new Date().getHours()+24)}function Kt(e){ke.local.setItem({key:ce.loginExpiresAt,data:e,expires:e})}var yn=I(()=>{"use strict";n();xt();nt()});var O=I(()=>{"use strict";n()});var St=I(()=>{"use strict";n()});var Xo=I(()=>{"use strict";n()});var Qo=I(()=>{"use strict";n()});var ei=I(()=>{"use strict";n()});var ti=I(()=>{"use strict";n()});var J=I(()=>{"use strict";n()});var ri=I(()=>{"use strict";n()});var ni=I(()=>{"use strict";n()});var re=I(()=>{"use strict";n();Xo();Qo();O();ei();ti();J();ri();ni()});var ot,oi,vd,ii,Ad,si,Id,bd,ul,wt=I(()=>{"use strict";n();re();ot={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:"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://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:oi,egldLabel:vd}=ot["devnet"],{chainId:ii,egldLabel:Ad}=ot["testnet"],{chainId:si,egldLabel:Id}=ot["mainnet"],bd={["devnet"]:oi,["testnet"]:ii,["mainnet"]:si},ul={[oi]:"devnet",[ii]:"testnet",[si]:"mainnet"}});var hn=I(()=>{"use strict";n()});var ai=I(()=>{"use strict";n()});var gr,xn=I(()=>{"use strict";n();gr="transaction-status-toast-id"});var Yt,fr,ci,li,Tr,pi,vt,D=I(()=>{"use strict";n();St();wt();hn();ai();xn();Yt=5e4,fr=1e9,ci=1,li=1,Tr="logout",pi="login",vt="0"});var Sn,Y,oe,X=I(()=>{"use strict";n();Sn=require("@reduxjs/toolkit");D();Y=(0,Sn.createAction)(Tr),oe=(0,Sn.createAction)(pi,e=>({payload:e}))});var di,ui,mi,Vd,yr,dl,hr,Hd,wn,gi,fi,vn=I(()=>{"use strict";n();di=require("@reduxjs/toolkit");yn();O();X();ui={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,isLoginSessionInvalid:!1},mi=(0,di.createSlice)({name:"loginInfoSlice",initialState:ui,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}},extraReducers:e=>{e.addCase(Y,()=>ui),e.addCase(oe,(t,r)=>{t.loginMethod=r.payload.loginMethod,Kt(qt())})}}),{setLoginMethod:Vd,setWalletConnectLogin:yr,setLedgerLogin:dl,setTokenLogin:hr,setTokenLoginSignature:Hd,setWalletLogin:wn,invalidateLoginSession:gi}=mi.actions,fi=mi.reducer});var Ti,yi,Ee,it=I(()=>{"use strict";n();Ti=!1,yi=(e=!0)=>{Ti=e},Ee=(e,t=0)=>{Ti||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function At({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:ml;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Ee(e)},l)}var ml,hi=I(()=>{"use strict";n();it();ml=200});function An(e){return e[Math.floor(Math.random()*e.length)]}var xi=I(()=>{"use strict";n()});var In=I(()=>{"use strict";n();hn()});var It=I(()=>{"use strict";n();hi();xi();In()});var Si,wi,bn,gl,vi,kn,Ai,Ii,xr=I(()=>{"use strict";n();Si=require("@reduxjs/toolkit"),wi=A(require("lodash.omit"));It();bn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},gl={network:bn,chainID:"-1"},vi=(0,Si.createSlice)({name:"appConfig",initialState:gl,reducers:{initializeNetworkConfig:(e,t)=>{let r=An(t.payload.walletConnectBridgeAddresses),o=An(t.payload.walletConnectV2RelayAddresses),i=(0,wi.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=E(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:kn,setChainID:Ai}=vi.actions,Ii=vi.reducer});var Ln,bi,ki,Sr,En,Ei,st,dm,wr,mm,Pn,fl,gm,bt,Li,Pi,Ci,Cn=I(()=>{"use strict";n();Ln=require("@multiversx/sdk-core"),bi=require("@reduxjs/toolkit"),ki=require("redux-persist");D();xt();nt();X();Sr={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:vt},En={address:"",websocketEvent:null,accounts:{"":Sr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Ei=(0,bi.createSlice)({name:"accountInfoSlice",initialState:En,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Ln.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Sr},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(Y,()=>(ke.local.removeItem(ce.loginExpiresAt),En)),e.addCase(oe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ln.Address(o).hex()}),e.addCase(ki.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:En.accounts,t.publicKey=d})}}),{setAccount:st,setAddress:dm,setAccountNonce:wr,setAccountShard:mm,setLedgerAccount:Pn,updateLedgerAccount:fl,setWalletConnectAccount:gm,setIsAccountLoading:bt,setAccountLoadingError:Li,setWebsocketEvent:Pi}=Ei.actions,Ci=Ei.reducer});function Le(e){return e!=null&&(Al(e)||El(e))}function at(e){return e!=null&&(Il(e)||Ll(e))}function ct(e){return e!=null&&(bl(e)||Pl(e))}function Dn(e){return e!=null&&kl(e)}function Al(e){return e!=null&&Tl.includes(e)}function Il(e){return e!=null&&yl.includes(e)}function bl(e){return e!=null&&hl.includes(e)}function kl(e){return e!=null&&xl.includes(e)}function El(e){return e!=null&&Sl.includes(e)}function Ll(e){return e!=null&&wl.includes(e)}function Pl(e){return e!=null&&vl.includes(e)}var Tl,yl,hl,xl,Sl,wl,vl,Et=I(()=>{"use strict";n();O();Tl=["sent"],yl=["success"],hl=["fail","cancelled","timedOut"],xl=["timedOut"],Sl=["pending"],wl=["success"],vl=["fail","invalid"]});var Di,Ni,Zt,Cl,Ri,Jt,lt,Dl,Lt,Nl,Rl,Am,Ml,vr,Nn,Ar,Ir=I(()=>{"use strict";n();Di=require("@reduxjs/toolkit"),Ni=require("redux-persist");O();Et();X();Zt={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Cl={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ri=(0,Di.createSlice)({name:"transactionsSlice",initialState:Zt,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])||Cl;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=Zt.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=h(h({},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,y,b;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(C=>C.hash===l?E(h({},C),{status:o,errorMessage:i}):C);let L=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(C=>at(C.status)),w=(b=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:b.every(C=>ct(C.status));L&&(e.signedTransactions[r].status="success"),w&&(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=Zt.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Zt.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(Y,()=>Zt),e.addCase(Ni.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),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(d[u]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Jt,updateSignedTransactions:lt,setTransactionsToSign:Dl,clearAllTransactionsToSign:Lt,clearAllSignedTransactions:Nl,clearSignedTransaction:Rl,clearTransactionToSign:Am,setSignTransactionsError:Ml,setSignTransactionsCancelMessage:vr,moveTransactionsToSignedState:Nn}=Ri.actions,Ar=Ri.reducer});var Mi,Mn,On,Fn,Ol,Rn,Oi,Em,Fl,_n,br,kr=I(()=>{"use strict";n();Mi=require("@reduxjs/toolkit");X();Mn="Transaction failed",On="Transaction successful",Fn="Processing transaction",Ol="Transaction submitted",Rn={},Oi=(0,Mi.createSlice)({name:"transactionsInfo",initialState:Rn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Mn,successMessage:(o==null?void 0:o.successMessage)||On,processingMessage:(o==null?void 0:o.processingMessage)||Fn,submittedMessage:(o==null?void 0:o.submittedMessage)||Ol,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Rn},extraReducers:e=>{e.addCase(Y,()=>Rn)}}),{clearTransactionsInfo:Em,setTransactionsDisplayInfo:Fl,clearTransactionsInfoForSessionId:_n}=Oi.actions,br=Oi.reducer});var _i,Fi,Ui,Bi,_l,Dm,Ul,Wi,Un=I(()=>{"use strict";n();_i=require("@reduxjs/toolkit");X();Fi={},Ui=(0,_i.createSlice)({name:"modalsSlice",initialState:Fi,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(Y,()=>Fi)}}),{setTxSubmittedModal:Bi,setNotificationModal:_l,clearTxSubmittedModal:Dm,clearNotificationModal:Ul}=Ui.actions,Wi=Ui.reducer});var Gi,Vi,$i,Hi,Bn,Wn,Bm,Wm,$m,Gm,Er,Lr=I(()=>{"use strict";n();Gi=require("@reduxjs/toolkit"),Vi=require("redux-persist");xn();re();mr();X();$i={customToasts:[],transactionToasts:[],failTransactionToast:null},Hi=(0,Gi.createSlice)({name:"toastsSlice",initialState:$i,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(E(h({},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:ht(),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=E(h({},t.payload),{toastId:gr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(Y,()=>$i),e.addCase(Vi.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:Bn,removeCustomToast:Wn,addTransactionToast:Bm,removeTransactionToast:Wm,addFailTransactionToast:$m,removeFailTransactionToast:Gm}=Hi.actions,Er=Hi.reducer});var P=I(()=>{"use strict";n();vn();xr();Cn();Ir();kr();Un();Lr()});var $n=I(()=>{"use strict";n()});var Yi,Ki,Zi,ug,dg,mg,gg,fg,Tg,Ji,Xi=I(()=>{"use strict";n();Yi=require("@reduxjs/toolkit");X();Ki={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Zi=(0,Yi.createSlice)({name:"dappModalsSlice",initialState:Ki,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=h({},t.payload)}},extraReducers:e=>{e.addCase(Y,()=>Ki)}}),{setDappModalVisibility:ug,setDappModalHeaderVisibility:dg,setDappModalFooterVisibility:mg,setDappModalHeaderText:gg,setDappModalFooterText:fg,setDappModalConfig:Tg}=Zi.actions,Ji=Zi.reducer});var Qi,Gl,Vl,Ct,Nr=I(()=>{"use strict";n();Qi=require("@reduxjs/toolkit");$n();Cn();Xi();vn();Un();xr();Lr();kr();Ir();Gl={["account"]:Ci,["networkConfig"]:Ii,["loginInfo"]:fi,["modals"]:Wi,["dappModal"]:Ji,["toasts"]:Er,["transactions"]:Ar,["transactionsInfo"]:br},Vl=(e={})=>(0,Qi.combineReducers)(h(h({},Gl),e)),Ct=Vl});var rs={};Qe(rs,{default:()=>Zl});function Gn(e,t=[]){return{key:e,version:1,storage:ts.default,blacklist:t}}var pt,es,ts,Hl,zl,jl,ql,Kl,Yl,Zl,ns=I(()=>{"use strict";n();pt=require("redux-persist"),es=A(require("redux-persist/lib/storage")),ts=A(require("redux-persist/lib/storage/session"));Nr();P();Lr();kr();Ir();$n();Hl={2:e=>E(h({},e),{networkConfig:bn})};zl=Gn("sdk-dapp-transactionsInfo"),jl=Gn("sdk-dapp-transactions",["transactionsToSign"]),ql=Gn("sdk-dapp-toasts"),Kl={key:"sdk-dapp-store",version:2,storage:es.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,pt.createMigrate)(Hl,{debug:!1})},Yl={["toasts"]:(0,pt.persistReducer)(ql,Er),["transactions"]:(0,pt.persistReducer)(jl,Ar),["transactionsInfo"]:(0,pt.persistReducer)(zl,br)},Zl=(0,pt.persistReducer)(Kl,Ct(Yl))});var os={};Qe(os,{default:()=>Jl});var Jl,is=I(()=>{"use strict";n();Nr();Jl=Ct()});var ss={};Qe(ss,{default:()=>Ql});var le,Xl,Ql,as=I(()=>{"use strict";n();le=require("redux-persist"),Xl=[le.FLUSH,le.REHYDRATE,le.PAUSE,le.PERSIST,le.PURGE,le.REGISTER],Ql=Xl});var ps={};Qe(ps,{default:()=>ls});function ls(e){return(0,cs.persistStore)(e)}var cs,us=I(()=>{"use strict";n();cs=require("redux-persist")});var Wu={};Qe(Wu,{AppInitializer:()=>ao,AuthenticatedRoutesWrapper:()=>ea,AxiosInterceptor:()=>po,AxiosInterceptorContext:()=>ru,AxiosInterceptorContextProvider:()=>co,DappProvider:()=>Bu,LoginInfoListener:()=>lo,useAxiosInterceptorContext:()=>Ft});module.exports=jt(Wu);n();n();var Xn=A(require("react"));n();var hs=require("react"),Dt=require("react-redux");n();var Vn=require("@reduxjs/toolkit"),fs=require("react-redux/lib/utils/Subscription");P();n();var ji=A(require("lodash.throttle"));D();n();var zi=A(require("lodash.isequal")),Pr=require("reselect");re();var S=(0,Pr.createSelectorCreator)(Pr.defaultMemoize,zi.default),Pt=(e,t)=>e!=""&&Boolean(t);P();yn();xt();nt();var Bl=[Tr],Cr=!1,Wl=(0,ji.default)(()=>{Kt(qt())},5e3),qi=e=>t=>r=>{var u;if(Bl.includes(r.type))return t(r);let o=e.getState(),i=ke.local.getItem(ce.loginExpiresAt);if(!Pt((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 Kt(qt());let p=Date.now();return i-p<0&&!Cr?setTimeout(()=>{Cr=!0,e.dispatch(gi())},1e3):(Cr&&(Cr=!1),Wl()),t(r)};n();n();function Dr(){return typeof sessionStorage!="undefined"}var ds=Dr()?(ns(),jt(rs)).default:(is(),jt(os)).default,ms=Dr()?(as(),jt(ss)).default:[],gs=Dr()?(us(),jt(ps)).default:e=>e;Nr();var v=(0,Vn.configureStore)({reducer:ds,middleware:e=>e({serializableCheck:{ignoredActions:[...ms,wr.type,st.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(qi)}),Ts=(0,fs.createSubscription)(v),ys=gs(v),$g=(0,Vn.configureStore)({reducer:Ct});var ep={store:v,subscription:Ts},Xt=(0,hs.createContext)(ep),zg=(0,Dt.createStoreHook)(Xt),F=(0,Dt.createDispatchHook)(Xt),x=(0,Dt.createSelectorHook)(Xt);n();n();P();var Pe=e=>e.account,Ce=S(Pe,e=>e.address),Ve=S(Pe,Ce,(e,t)=>t in e.accounts?e.accounts[t]:Sr),xs=S(Pe,Ve,(e,t)=>{let i=e,{accounts:r}=i,o=ve(i,["accounts"]);return E(h({},o),{account:t})}),tp=S(Ve,e=>e.balance),Ss=S(Ve,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Yg=S(Pe,e=>e.shard),Hn=S(Pe,e=>e.ledgerAccount),Zg=S(Pe,e=>e.walletConnectAccount),ws=S(Pe,e=>e.isAccountLoading),Jg=S(Pe,e=>e.accountLoadingError),zn=S(Pe,e=>e.websocketEvent);n();var xe=e=>e.networkConfig,Qt=S(xe,e=>e.chainID),vs=S(xe,e=>e.network.walletConnectBridgeAddress),As=S(xe,e=>e.network.walletConnectV2RelayAddress),Is=S(xe,e=>e.network.walletConnectV2ProjectId),bs=S(xe,e=>e.network.walletConnectV2Options),Rr=S(xe,e=>e.network.walletConnectDeepLink),pe=S(xe,e=>e.network),Mr=S(pe,e=>e.apiAddress),ks=S(pe,e=>e.explorerAddress),Es=S(pe,e=>e.egldLabel);n();var Z=e=>e.loginInfo,Ls=S(Z,e=>e.loginMethod),De=S(Z,Ce,(e,t)=>Pt(e.loginMethod,t)),Ps=S(Z,e=>e.walletConnectLogin),Cs=S(Z,e=>e.ledgerLogin),Nt=S(Z,e=>e.walletLogin),Ds=S(Z,e=>e.isLoginSessionInvalid),Or=S(Z,e=>e.tokenLogin);n();n();var se=require("@multiversx/sdk-core");D();n();function jn(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Rt(e){return atob(e)}function Mt(e){var i,l,p;let{data:t}=e,r=jn(t!=null?t:"")?se.TransactionPayload.fromEncoded(t):new se.TransactionPayload(t),o=new se.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new se.Address(e.receiver),sender:new se.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Yt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:fr,chainID:e.chainID.valueOf(),version:new se.TransactionVersion((p=e.version)!=null?p:ci)},e.options?{options:new se.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new se.Address(e.sender)),o}n();Et();n();var np=A(require("bignumber.js"));re();n();n();n();n();var ip=require("@multiversx/sdk-core"),sp=A(require("bignumber.js"));O();n();var Ms=require("@multiversx/sdk-core");function op(e){try{let t=new Ms.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function er(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&op(e)}n();n();n();var cp=require("@multiversx/sdk-core/out");n();D();n();var Os=require("@multiversx/sdk-core");re();n();n();n();n();O();n();n();n();n();n();n();n();var Fs="dapp/config",_s="network/config";var Fr="accounts";var qn="blocks";n();n();n();n();J();n();n();J();n();n();n();var Tp=A(require("bignumber.js"));D();n();var fp=require("@multiversx/sdk-core"),Kn=A(require("bignumber.js"));D();n();var mp=A(require("bignumber.js"));n();Kn.default.config({ROUNDING_MODE:Kn.default.ROUND_FLOOR});n();n();n();D();n();n();n();n();D();n();D();n();var yp=require("@multiversx/sdk-core");D();n();var tr=require("@multiversx/sdk-core"),Sp=require("@multiversx/sdk-network-providers");D();n();n();var hp=A(require("bignumber.js"));D();n();D();n();n();n();n();n();D();n();J();var vp=["reDelegateRewards","claimRewards","unBond"],Ap=["wrapEgld","unwrapEgld"],Ip=["unStake"],bp=["unDelegate"];n();n();n();D();n();var Pp=A(require("bignumber.js"));n();n();n();J();n();var Cp=A(require("bignumber.js"));n();n();n();n();J();n();n();n();var Rp=A(require("linkifyjs"));n();D();n();var Mp=A(require("bignumber.js"));n();re();n();n();O();n();O();n();n();n();J();n();J();n();var Op=A(require("bignumber.js"));D();J();n();J();n();var Vs=require("react");re();n();n();J();n();var Fp=require("@multiversx/sdk-core/out"),_p=A(require("bignumber.js"));J();n();J();n();n();O();var IS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Hs=require("react");re();n();var Bp=require("react");J();var DS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Wr=e=>e.transactions,ze=S(Wr,e=>e.signedTransactions),Wp=S(Wr,e=>e.signTransactionsError),zs=S(Wr,e=>e.signTransactionsCancelMessage),$r=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Zn=S(ze,$r(Le)),js=S(ze,$r(at)),qs=S(ze,$r(ct)),$p=S(ze,$r(Dn)),Ks=S(Wr,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:E(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Mt(r)))||[]})}),Gp=S(ze,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();P();var Ys={errorMessage:Mn,successMessage:On,processingMessage:Fn},Vp=e=>e.transactionsInfo,Hp=S(Vp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Ys);n();var Zs=e=>e.modals,Sw=S(Zs,e=>e.txSubmittedModal),zp=S(Zs,e=>e.notificationModal);n();var Jn=e=>e.toasts,Aw=S(Jn,e=>e.customToasts),Iw=S(Jn,e=>e.transactionToasts),bw=S(Jn,e=>e.failTransactionToast);it();n();n();function Js(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function Xs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=jp(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,y)=>{if(T==="*"){let b=d[y]||"";p=l.slice(0,l.length-b.length).replace(/(.)\/+$/,"$1")}return g[T]=qp(d[y]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function jp(e,t=!1,r=!0){Js(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 qp(e,t){try{return decodeURIComponent(e)}catch(r){return Js(!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 Qs=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>Xs(i,t)!==null);var ea=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=x(De),l=x(ws),p=x(Nt),u=Qs(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Ee(r),null):Xn.default.createElement(Xn.default.Fragment,null,e)};n();var Me=A(require("react")),Sa=require("@multiversx/sdk-core/out");n();n();n();var ta=A(require("axios"));function ra(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=pe(v.getState()),o=e.map(l=>ta.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var na=A(require("axios"));function Gr(e){return f(this,null,function*(){let t=Mr(v.getState()),r=e.map(i=>i.hash),{data:o}=yield na.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 Yp=A(require("axios"));n();n();var Zp=A(require("axios"));n();var Jp=A(require("axios"));n();n();n();var ia=A(require("axios"));n();n();var Vr=e=>{let t=e!=null?e:Mr(v.getState());return t.endsWith("/")?t.slice(0,-1):t};function sa(e){return f(this,null,function*(){if(!e)return null;let r=`${Vr()}/${Fr}/${e}`;try{let{data:o}=yield ia.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();wt();n();var aa=A(require("axios"));function Qn(e){return f(this,null,function*(){let t=`${e}/${Fs}`;try{let{data:o}=yield aa.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=ve(r,[wo(i),"decimals"]);return E(h({},d),{decimals:l,digits:p})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var ca=A(require("axios"));function la(){return f(this,null,function*(){var r;let t=`${Vr()}/${_s}`;try{let{data:o}=yield ca.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();wt();n();wt();n();var Xp=A(require("axios"));wt();n();var Ne=()=>x(xs);xr();n();n();n();n();var pa=require("@multiversx/sdk-extension-provider"),ua=require("@multiversx/sdk-hw-provider"),da=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ma=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),eo=require("@multiversx/sdk-web-wallet-provider");D();O();var Qp="/dapp/init",ut=e=>{switch(e==null?void 0:e.constructor){case eo.WalletProvider:return"wallet";case da.WalletConnectProvider:return"walletconnect";case ma.WalletConnectV2Provider:return"walletconnectv2";case ua.HWProvider:return"ledger";case pa.ExtensionProvider:return"extension";case Hr:return"";default:return"extra"}},to=e=>new eo.WalletProvider(`${e}${Qp}`),ro=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===li}}),Re=e=>`Unable to perform ${e}, Provider not initialized`,Hr=class{init(){return Promise.resolve(!1)}login(t){throw new Error(Re(`login with options: ${t}`))}logout(t){throw new Error(Re(`logout with options: ${t}`))}getAddress(){throw new Error(Re("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(Re(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(Re(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(Re(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(Re(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(Re(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(Re(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},no=new Hr;var io=no,oo=null;function Se(e){io=e}function ga(e){oo=e}function fa(){oo!=null&&(io=oo)}function ne(){return io||no}X();re();n();function ge(){return De(v.getState())}n();n();O();n();n();function Ta(){let e=ne();return ut(e)}function ue(e){return Ta()===e}function je(){let{search:e}=window.location,t=v.getState(),r=ne(),o=Ce(t),i=De(t),l=Nt(t);if(!r)throw"provider not initialized";return ue("ledger")&&i?new Promise(p=>{p(o)}):!ue("")&&!ue("wallet")&&!ue("extra")?r.getAddress():new Promise(p=>{if(l!=null){let d=new URLSearchParams(e),u=Object.fromEntries(d);er(u.address)&&p(u.address)}i&&p(o),p("")})}n();function qe(e){return f(this,null,function*(){return yield sa(e)})}n();P();function ya(e){v.dispatch(wr(e))}n();function Ot(e){let t=v.getState(),r=Ss(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 je();try{let t=yield qe(e);if(t!=null){let r=E(h({},t),{nonce:Ot(t)});return v.dispatch(st(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function zr(){return f(this,null,function*(){let e=ne();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 xa=require("@multiversx/sdk-core");n();X();re();it();xt();nt();var eu=e=>{ke.local.setItem({key:ce.logoutEvent,data:e,expires:0}),ke.local.removeItem(ce.logoutEvent)};function Q(e,t){return f(this,null,function*(){let r=ne(),o=ut(r),i=ge(),l=o==="wallet";if(!i||!r){so(e,t,!1);return}try{let p=yield je();eu(p)}catch(p){so(e,t,!1),console.error("error fetching logout address",p)}l&&yi(),v.dispatch(Y());try{let d=l&&!e?window.location.origin:e;l?setTimeout(()=>{r.logout({callbackUrl:d})}):(yield r.logout({callbackUrl:d}),so(e,t,l))}catch(p){console.error("error logging out",p)}})}function so(e,t,r){e&&!r&&(typeof t=="function"?t(e):Ee(e))}function ao({customNetworkConfig:e={},children:t,environment:r}){let[o,i]=(0,Me.useState)(!1),l=Ne(),p=x(Ds),{address:d,publicKey:u}=l,g=F();function T(){return f(this,null,function*(){let b=!(e!=null&&e.skipFetchFromServer),L=e==null?void 0:e.apiAddress,w=ot[r]||{},C=h(h({},w),e);if(b){let _=w==null?void 0:w.apiAddress,N=yield Qn(L||_);if(N!=null){let q=h(h(h({},w),N),e);g(kn(q));return}}g(kn(C))})}function y(){return f(this,null,function*(){yield T(),i(!0)})}return(0,Me.useEffect)(()=>{d&&new Sa.Address(d).hex()!==u&&Q()},[d,u]),(0,Me.useEffect)(()=>{y()},[e,r]),(0,Me.useEffect)(()=>{l.address&&p&&Q()},[p,l.address]),o?Me.default.createElement(Me.default.Fragment,null,t):null}n();var Gt=A(require("react")),Sc=require("react-redux"),wc=require("redux-persist/integration/react");n();var _e=require("react"),Ca=require("@multiversx/sdk-extension-provider"),Da=require("@multiversx/sdk-hw-provider");n();var Ea=require("react"),qr=require("@multiversx/sdk-core");n();n();var dt=()=>x(Ve);n();n();n();n();n();var Oe=A(require("react"));var wa=(0,Oe.createContext)({}),tu=v.getState();function co({children:e}){let[t,r]=(0,Oe.useState)(),[o,i]=(0,Oe.useState)(Z(tu)),l={address:t,setAddress:r,isLoggedIn:Pt(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Oe.default.createElement(wa.Provider,{value:l},e)}function Ft(){let e=(0,Oe.useContext)(wa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var rr=A(require("react"));var lo=({children:e=null})=>{var l;let{address:t}=dt(),r=x(Z),{setLoginInfo:o,setAddress:i}=Ft();return(0,rr.useEffect)(()=>{i(t),o(r)},[(l=r.tokenLogin)==null?void 0:l.loginToken,t]),rr.default.createElement(rr.default.Fragment,null,e)};n();var Ke=A(require("react")),jr=A(require("axios"));var po=({children:e,authenticatedDomanis:t})=>{var d;let{loginInfo:r}=Ft(),o=(d=r==null?void 0:r.tokenLogin)==null?void 0:d.nativeAuthToken,i=(0,Ke.useRef)(-1),l=()=>{jr.default.interceptors.response.use(u=>u,u=>{var T,y;let g=(T=u.config)==null?void 0:T.url;return(y=u.config)!=null&&y.params&&(g+=`?${new URLSearchParams(u.config.params).toString()}`),console.error("Axios error for: ",g),Promise.reject(u)})},p=()=>{jr.default.interceptors.request.eject(i.current),i.current=jr.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,Ke.useEffect)(l,[]),(0,Ke.useEffect)(()=>{o&&p()},[o]),Ke.default.createElement(Ke.default.Fragment,null,e)};var ru={Interceptor:po,Listener:lo,Provider:co};n();n();var nr=()=>{let e=ne(),t=ut(e);return{provider:e,providerType:t}};n();P();n();n();n();n();var nu=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),_t=e=>nu(s.Buffer.from(e,"utf8").toString("base64"));n();var va=A(require("axios"));function Aa(e){return f(this,null,function*(){let{data:t}=yield va.default.get(`${e}/${qn}?size=1&fields=hash,timestamp`),[r]=t;return r})}n();function ou(e){return Object.prototype.toString.call(e)==="[object String]"}var Ia=e=>{if(!e||!ou(e))return null;try{let[t,r,o]=e.split("."),i=Rt(t),l=Rt(r),[p,d,u,g]=l.split("."),T=JSON.parse(Rt(g)),y=Rt(p),b={ttl:Number(u),address:i,extraInfo:T,host:y,signature:o,blockHash:d,body:l};return g==="e30"&&delete b.extraInfo,b}catch(t){return null}};n();n();mr();var Ut=e=>{let t=Ia(e);if(!t)return{isExpired:!1};let r=ht(),{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}};n();var or={hostname:typeof window!="undefined"?window.location.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},ir=e=>{var r,o,i,l;return e===!0?or:{hostname:(r=e==null?void 0:e.hostname)!=null?r:or.hostname,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:or.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:or.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:or.tokenExpirationToastWarningSeconds}};n();var ba=({address:e,token:t,signature:r})=>{let o=_t(e),i=_t(t);return`${o}.${i}.${r}`};var ka=e=>{let{hostname:t,apiAddress:r,expirySeconds:o}=ir(e);return{getNativeAuthConfig:ir,initialize:(...p)=>f(void 0,[...p],function*(l={}){let{hash:d,timestamp:u}=yield Aa(r),g=_t(JSON.stringify(h(h({},l),u?{timestamp:u}:{})));return`${_t(t)}.${d}.${o}.${g}`}),getToken:ba,getTokenExpiration:Ut}};var iu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Fe=e=>{let t=x(pe),r=x(Or),o=(0,Ea.useRef)(r==null?void 0:r.loginToken),i=iu(t.apiAddress,e),l=ir(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=ka(l),{address:u}=dt(),g=F(),T=w=>{o.current=w,g(hr(h({loginToken:w},i?{nativeAuthConfig:l}:{})))},y=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(w){console.error("Unable to get block. Login failed.",w);return}}),b=({address:w,signature:C})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(hr({loginToken:_,signature:C}));return}let N=d.getToken({address:w,token:_,signature:C});g(hr(h({loginToken:_,signature:C,nativeAuthToken:N},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:T,getNativeAuthLoginToken:y,setTokenLoginInfo:b,refreshNativeAuthTokenLogin:C=>f(void 0,[C],function*({signMessageCallback:w}){let _=yield y();if(o.current=_,!_)return;let N=new qr.SignableMessage({address:new qr.Address(u),message:s.Buffer.from(_)}),q=yield w(N,{});b({address:u,signature:q.toJSON().signature})})}};n();var Ye=require("react"),La=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var Kr=require("react");function Bt(e,t=[]){let r=(0,Kr.useRef)(!0);(0,Kr.useEffect)(()=>{r.current?r.current=!1:e()},t)}X();P();O();It();var uo=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=F(),p=15e3,d=r!=null,u=Fe(r),g=o,[T,y]=(0,Ye.useState)(""),[b,L]=(0,Ye.useState)(""),{provider:w}=nr(),C=x(vs),_=x(Rr),N=(0,Ye.useRef)(w),q=(0,Ye.useRef)(!0),de,ee=Boolean(b),Ze=!ee,Be=ee?`${_}?wallet-connect=${encodeURIComponent(b)}`:"";(0,Ye.useEffect)(()=>{Xe();let M=setInterval(()=>{Xe()},p);return()=>clearInterval(M)},[w]),Bt(()=>{!o||gt()},[o]),Bt(()=>{N.current=w},[w]);let W=()=>{Q(e)},Je=()=>{q.current=!1};function Xe(){return f(this,null,function*(){var H,B;if(w==null||!ue("walletconnect")||!Boolean((B=(H=N.current)==null?void 0:H.walletConnector)==null?void 0:B.connected))return;let $={method:"heartbeat",params:{}};try{yield N.current.sendCustomMessage($)}catch(z){console.error("Connection lost",z),W()}})}function Vt(){return f(this,null,function*(){var M;try{let $=N.current;if(ge()||$==null||!ue("walletconnect"))return;if(!q.current){try{yield(M=N.current)==null?void 0:M.logout()}catch(j){console.warn("Unable to logout")}return}let B=yield $.getAddress();if(!B){console.warn("Login cancelled.");return}let z=yield $.getSignature(),We={address:B,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(yr(G)),z&&u.setTokenLoginInfo({signature:z,address:B}),l(oe(We)),$.walletConnector.on("heartbeat",()=>{clearInterval(de),de=setInterval(()=>{console.log("Maiar Wallet Connection Lost"),W(),clearInterval(de)},15e4)}),At({callbackRoute:t,onLoginRedirect:i,options:{address:B,signature:z}})}catch($){y("Invalid address"),console.error($)}})}function Ht(M=!0){return f(this,null,function*(){var z,We;let $=M&&!b;if(!C||((We=(z=N==null?void 0:N.current)==null?void 0:z.isInitialized)==null?void 0:We.call(z))&&!$)return;let H={onClientLogin:Vt,onClientLogout:W},B=new La.WalletConnectProvider(C,H);yield B.init(),q.current=!0,Se(B),N.current=B,M&&gt()})}function gt(){return f(this,null,function*(){var B;if(!C)return;let M=yield(B=N.current)==null?void 0:B.login();if(!Boolean(M))return;if(d&&!g&&(g=yield u.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(!g){L(M);return}u.setLoginToken(g);let H=`${M}&token=${g}`;L(H)})}let k=Boolean(T),R=ge();return[Ht,{error:T,loginFailed:k,isLoading:Ze&&!k,isLoggedIn:R&&!k},{uriDeepLink:Be,walletConnectUri:b,cancelLogin:Je}]};n();var we=require("react"),Pa=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");X();P();O();It();var mo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=F(),p=o!=null,d=Fe(o),u=r,[g,T]=(0,we.useState)(""),[y,b]=(0,we.useState)(""),[L,w]=(0,we.useState)(!0),[C,_]=(0,we.useState)([]),N=ne(),q=x(As),de=x(Is),ee=x(bs),Ze=x(Qt),Be=x(Rr),W=(0,we.useRef)(N),Je=(0,we.useRef)(!0),Xe=["erd_cancelAction"],Vt=L?"":`${Be}?wallet-connect=${encodeURIComponent(y)}`;Bt(()=>{!r||B()},[r]),Bt(()=>{W.current=N},[N]),(0,we.useEffect)(()=>{w(!Boolean(y))},[y]);let Ht=()=>{Q(t)},gt=G=>{console.log("wc2 session event: ",G)},k=()=>{Je.current=!1};function R(){return f(this,null,function*(){var G;try{let j=W.current;if(ge()||j==null||!ue("walletconnectv2"))return;if(!Je.current){try{yield(G=W.current)==null?void 0:G.logout()}catch($u){console.warn("Unable to logout")}return}let me=yield j.getAddress();if(!me){console.warn("Login cancelled.");return}let $e=yield j.getSignature(),Qr={address:me,loginMethod:"walletconnectv2"},vc={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(yr(vc)),$e&&d.setTokenLoginInfo({signature:$e,address:me}),l(oe(Qr)),At({callbackRoute:e,onLoginRedirect:i,options:{address:me,signature:$e}})}catch(j){T("Invalid address"),console.error(j)}})}function M(G=!0){return f(this,null,function*(){if(!de||!q){T("Invalid WalletConnect setup");return}let j={onClientLogin:R,onClientLogout:Ht,onClientEvent:gt},K=new Pa.WalletConnectV2Provider(j,Ze,q,de,ee);yield K.init(),Je.current=!0,Se(K),_(K.pairings),W.current=K,G&&B()})}function $(G){return f(this,null,function*(){var j,K,me;if(!q||!de){T("Invalid WalletConnect setup");return}if(!G||!G.topic){T("Expired connection");return}try{let{approval:$e}=yield(j=W.current)==null?void 0:j.connect({topic:G.topic,methods:Xe});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(K=W.current)==null?void 0:K.login({approval:$e,token:u})}catch(Qr){T("User rejected existing connection proposal"),w(!0),yield M()}}catch($e){console.error("Unable to connect to existing session",$e),T("Unable to connect to existing session")}finally{_((me=W.current)==null?void 0:me.pairings)}})}function H(G){return f(this,null,function*(){var j,K;try{G&&(yield(j=W.current)==null?void 0:j.logout({topic:G}))}catch(me){console.error("Unable to remove existing pairing",me),T("Unable to remove existing pairing")}finally{_((K=W.current)==null?void 0:K.pairings)}})}function B(){return f(this,null,function*(){var G,j;if(!q||!de){T("Invalid WalletConnect setup");return}try{let{uri:K,approval:me}=yield(G=W.current)==null?void 0:G.connect({methods:Xe});if(!Boolean(K))return;if(b(K),p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(j=W.current)==null?void 0:j.login({approval:me,token:u})}catch(Qr){T("User rejected connection proposal"),w(!0),yield M()}}catch(K){console.error("Unable to connect",K)}})}let z=Boolean(g),We=ge();return[M,{error:g,loginFailed:z,isLoading:L&&!z,isLoggedIn:We&&!z},{uriDeepLink:Vt,walletConnectUri:y,cancelLogin:k,connectExisting:$,removeExistingPairing:H,wcPairings:C}]};X();P();O();function Na(){let e=x(pe),t=x(Ps),r=x(Ls),o=x(Nt),i=x(Ce),l=x(Hn),p=x(Cs),d=x(De),[u,g]=(0,_e.useState)(),T=x(Or),y=T==null?void 0:T.nativeAuthConfig,b=Fe(y||!1),L=(0,_e.useRef)(!1),w=F(),{callbackRoute:C,logoutRoute:_}=t||{callbackRoute:"",logoutRoute:""},[N]=uo({callbackRoute:C,logoutRoute:_}),[q]=mo({callbackRoute:C,logoutRoute:_});(0,_e.useEffect)(()=>{de()},[e]),(0,_e.useEffect)(()=>{gt()},[r]),(0,_e.useEffect)(()=>{Ze()},[i,e]),(0,_e.useEffect)(()=>{ee()},[l,d,u]);function de(){return f(this,null,function*(){try{let k=yield la();k&&w(Ai(k.erd_chain_id))}catch(k){console.error("failed refreshing chainId ",k)}})}function ee(){l==null&&p!=null&&u&&w(Pn({index:p.index,address:i,hasContractDataEnabled:u.dataEnabled,version:u.version}))}function Ze(){return f(this,null,function*(){if(w(bt(!0)),L.current){L.current=!1,w(bt(!1));return}if(i)try{let k=yield qe(i);k&&w(st(E(h({},k),{address:i,nonce:k.nonce.valueOf()})))}catch(k){w(Li("Failed getting account")),console.error("Failed getting account ",k)}w(bt(!1))})}function Be(){return f(this,null,function*(){let k=to(e.walletAddress);if(Se(k),o!=null){try{let R=yield je(),{clearWalletLoginHistory:M,signature:$}=W();if(!R)return M();$&&b.setTokenLoginInfo({signature:$,address:R});let H=yield qe(R);H&&(L.current=!0,w(bt(!0)),w(oe({address:R,loginMethod:"wallet"})),w(st(E(h({},H),{nonce:Ot(H)}))),w(bt(!1))),M()}catch(R){console.error("Failed authenticating wallet user ",R)}w(wn(null))}})}function W(){var B;let k={};if((B=window==null?void 0:window.location)!=null&&B.search){let We=new URLSearchParams(window.location.search);k=Object.fromEntries(We)}let z=k,{signature:R,loginToken:M,address:$}=z,H=ve(z,["signature","loginToken","address"]);return{signature:R,clearWalletLoginHistory:()=>Je(H)}}function Je(k){let R=new URLSearchParams(k).toString(),{pathname:M}=window.location,$=R?`?${R}`:"",H=M?`${M}${$}`:"./";setTimeout(()=>{window.history.replaceState({},document==null?void 0:document.title,H)})}function Xe(){return f(this,null,function*(){let k=new Da.HWProvider,R=k.isInitialized();if(R||(R=yield k.init()),!R&&d){console.warn("Could not initialise ledger app"),Q();return}return(p==null?void 0:p.index)!=null&&(k.addressIndex=p.index),k})}function Vt(){return f(this,null,function*(){try{let k=yield Xe();if(!k)return;let R=yield ro(k);Se(k),g(R)}catch(k){console.error("Could not initialise ledger app",k),Q()}})}function Ht(){return f(this,null,function*(){try{let k=yield je(),R=Ca.ExtensionProvider.getInstance().setAddress(k);(yield R.init())?Se(R):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(k){console.error("Unable to login to ExtensionProvider",k)}})}function gt(){if(r!=null)switch(r){case"ledger":{Vt();break}case"walletconnect":{N(!1);break}case"walletconnectv2":{q(!1);break}case"extension":{Ht();break}case"extra":{fa();break}case"wallet":case"":{Be();break}default:return}}return null}n();var $t=A(require("react"));n();n();n();n();var oc=require("react");n();n();var go=()=>x(xe);n();P();n();n();n();var au=require("react"),cu=require("@multiversx/sdk-web-wallet-provider"),lu=A(require("qs"));D();P();O();n();var Oa=require("react"),Tu=require("@multiversx/sdk-extension-provider");D();P();O();n();n();n();n();var Ma=require("react"),du=require("@multiversx/sdk-extension-provider");D();P();n();n();var yu=A(require("axios")),hu=A(require("swr"));n();n();var _a=require("react");n();var Fa=require("react");In();P();re();it();n();St();P();n();n();n();n();n();function Ua(){let e=x(Zn),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Et();n();P();O();n();Et();function Ba(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Le(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();P();O();function Wa({results:e,hash:t,sessionId:r}){let o=e==null?void 0:e.find(i=>(i==null?void 0:i.returnMessage)!=="");v.dispatch(Jt({transactionHash:t,sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage})),v.dispatch(lt({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();P();re();function fo(e){v.dispatch(lt({sessionId:e,status:"timedOut"}))}var Yr={},To=[];function Su({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(To.includes(i))return;if(Yr[i]>30){fo(t);return}if(d||Le(l)){Yr[i]=Yr[i]?Yr[i]+1:1;return}u&&(at(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(To.push(i),setTimeout(()=>v.dispatch(Jt({sessionId:t,status:"success",transactionHash:i})),r==null?void 0:r.completedTransactionsDelay)):v.dispatch(Jt({sessionId:t,status:l,transactionHash:i}))),o||zr(),ct(l)&&Wa({sessionId:t,hash:i,results:p})}catch(g){console.error(g),fo(t)}}function $a(l){return f(this,arguments,function*({sessionId:e,transactionBatch:{transactions:t,customTransactionInformation:r},getTransactionsByHash:o=Gr,shouldRefreshBalance:i}){try{if(t==null)return;let p=Ba(t,To),d=yield o(p);for(let u of d)Su({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function Ga(){let{pendingTransactionsArray:e}=Ua();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Le(l.status));if(o.length>0)for(let[i,l]of o)yield $a(h({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&zr()})}return t}n();var ku=require("react");n();n();n();P();n();n();var Au=A(require("bignumber.js"));D();P();re();n();var vu=A(require("bignumber.js"));D();n();var Iu=require("@multiversx/sdk-core"),bu=A(require("bignumber.js"));D();O();Et();n();n();n();n();var Va=require("react");n();n();var Eu=require("react"),Lu=require("@multiversx/sdk-extension-provider");St();X();O();It();n();var Du=require("react");St();P();n();n();n();n();n();P();var Pu={};var za=e=>{if(e.component!=null){let t=e,{component:r}=t,o=ve(t,["component"]),{payload:i}=v.dispatch(Bn(E(h({},o),{component:null})));return Pu[i.toastId]=r,i}return v.dispatch(Bn(e)).payload};n();n();n();n();n();xt();it();mn();n();n();n();function ja(e){return new Promise(t=>{setTimeout(()=>t(),e)})}n();var qa=(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 ja(t.delay)),qa(e,t,r,o+1)):null}}),Ka=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return qa(e,t,r)});n();n();var Ya=A(require("axios"));function yo(e){return f(this,null,function*(){try{let{data:t}=yield Ya.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 Cu=A(require("platform"));n();var Za=require("react"),Nu=require("@multiversx/sdk-hw-provider");St();X();P();O();It();n();n();var Ja=require("react");n();var ec=require("react");n();var mt=require("react"),Xa=require("socket.io-client");P();n();var Ue={current:null,status:"not_initialized"};var Ru=3e3,Mu=3,Ou=500,Fu=1e3;function Qa(){let e=(0,mt.useRef)(null),{address:t}=dt(),r=F(),{network:o}=go(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(Pi(p))},Fu)},l=(0,mt.useCallback)(Ka(()=>f(this,null,function*(){Ue.status="pending";let p=yield yo(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}Ue.current=(0,Xa.io)(p,{forceNew:!0,reconnectionAttempts:Mu,timeout:Ru,query:{address:t}}),Ue.status="completed",Ue.current.onAny(d=>{i(d)})}),{retries:2,delay:Ou}),[t]);(0,mt.useEffect)(()=>{t&&Ue.status==="not_initialized"&&!Ue.current&&l()},[t,Ue.current]),(0,mt.useEffect)(()=>()=>{var p;(p=Ue.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function tc(e){Qa();let t=x(zn);(0,ec.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var rc=e=>e.dappModal,_u=S(rc,e=>e.visible),Zr=S(rc,e=>e.modal),QD=S(Zr,e=>e.showHeader),eN=S(Zr,e=>e.showFooter),tN=S(Zr,e=>e.headerText),rN=S(Zr,e=>e.footerText);nt();var{logoutEvent:Uu}=ce,nc="storage",ic=()=>{let{address:e}=Ne();(0,oc.useEffect)(()=>{let t=r=>{if(!(r.key!==Uu||!r.newValue))try{let{data:o}=JSON.parse(r.newValue);o===e&&Q()}catch(o){return}};return window.addEventListener(nc,t),()=>{window.removeEventListener(nc,t)}},[e])};n();n();var Jr=require("react"),ho=A(require("bignumber.js"));var ac=require("@fortawesome/free-solid-svg-icons");n();n();var sr=A(require("bignumber.js")),sc=e=>{let t=new sr.default(e).dividedBy(1e3).integerValue(sr.default.ROUND_FLOOR),r=new sr.default(t).dividedBy(60).integerValue(sr.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 cc=()=>{let{address:e}=Ne(),{tokenLogin:t}=x(Z),{secondsUntilExpires:r,expiresAt:o}=Ut(t==null?void 0:t.nativeAuthToken),i=(0,Jr.useRef)();return(0,Jr.useEffect)(()=>{var d;let l=new ho.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 ho.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),y=sc(p),b=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{za({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:ac.faRefresh,message:`Your token will expire in ${y}!`})},b)}return()=>{clearTimeout(i.current)}}},[o,e,t==null?void 0:t.nativeAuthConfig]),null};n();var Wt=require("react"),lc=A(require("bignumber.js"));var pc=()=>{let{address:e}=Ne(),{tokenLogin:t}=x(Z),{isExpired:r,secondsUntilExpires:o,expiresAt:i}=Ut(t==null?void 0:t.nativeAuthToken),l=(0,Wt.useRef)(""),p=(0,Wt.useRef)();return(0,Wt.useEffect)(()=>{e&&r&&Q()},[r,e]),(0,Wt.useEffect)(()=>{let d=new lc.default(String(o)),u=`${e}_${i}`,g=l.current===u;if(!(o&&d.isGreaterThan(0))||g)return;l.current=u,clearTimeout(p.current);let y=d.times(1e3);return p.current=setTimeout(()=>{Q()},y.toNumber()),()=>{clearTimeout(p.current)}},[i,e]),null};var uc=()=>(cc(),ic(),pc(),null);n();n();var Xr=require("react"),mc=require("@multiversx/sdk-core"),gc=require("@multiversx/sdk-core/out/signature");P();O();it();var dc=e=>{let t=e.redirectRoute;t&&Ee(t)},fc=({sendSignedTransactionsAsync:e=ra})=>{let t=x(Ve),r=x(ze),o=(0,Xr.useRef)(!1),i=F(),l=()=>{i(Lt()),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],y=(u=T==null?void 0:T.customTransactionInformation)==null?void 0:u.signWithoutSending;if(!g||y){dc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:w}=r[g];if(!w)continue;o.current=!0;let C=w.map(ee=>{let Ze=new mc.Address(ee.sender),Be=Mt(ee),W=new gc.Signature(ee.signature);return Be.applySignature(W,Ze),Be}),_=yield e(C),N="pending",q=w.map(ee=>_.includes(ee.hash)?E(h({},ee),{status:N}):ee);i(Bi({sessionId:g,submittedMessage:"submitted"})),i(lt({sessionId:g,status:"sent",transactions:q})),l(),ya(t.nonce+w.length),dc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(b){console.error("Unable to send transactions",b),i(lt({sessionId:g,status:"fail",errorMessage:b.message})),l()}finally{o.current=!1}}})}return(0,Xr.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Tc=require("react");function yc(e){var i;let t=Ga(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:Gr,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};tc(o),(0,Tc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function hc({getTransactionsByHash:e}){return yc({getTransactionsByHash:e}),null}function xc({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:fc,i=(p=r==null?void 0:r.component)!=null?p:hc;return $t.default.createElement($t.default.Fragment,null,$t.default.createElement(o,h({},t==null?void 0:t.props)),$t.default.createElement(i,h({},r==null?void 0:r.props)),$t.default.createElement(uc,null))}var Bu=({children:e,customNetworkConfig:t={},externalProvider:r,environment:o,customComponents:i})=>{if(!o)throw new Error("missing environment flag");return r!=null&&ga(r),Gt.default.createElement(Sc.Provider,{context:Xt,store:v},Gt.default.createElement(wc.PersistGate,{persistor:ys,loading:null},Gt.default.createElement(ao,{environment:o,customNetworkConfig:t},Gt.default.createElement(Na,null),Gt.default.createElement(xc,{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"../__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-BWMML3RQ.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-7VJ4CETW.js";import"../__chunks__/chunk-64572GSB.js";import"../__chunks__/chunk-BWRZZ2SN.js";import"../__chunks__/chunk-FVG6XMBQ.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-H6AZ6IIK.js";import"../__chunks__/chunk-EYPLEH7Y.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-ETMNJG7Z.js";import"../__chunks__/chunk-QXWR6TSF.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-X7Q7FXJB.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-PXRSWUGL.js";import"../__chunks__/chunk-RV2Y3TRM.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-KHND3MVN.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-QWEBCD2X.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-H3IT5LK3.js";import"../__chunks__/chunk-4KMLYD5U.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-NOZPGR3U.js";import"../__chunks__/chunk-GW5LFRGT.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-IORG7JGY.js";import"../__chunks__/chunk-ASRIFVT3.js";import"../__chunks__/chunk-QWW2EJAJ.js";import"../__chunks__/chunk-FS5CM3DN.js";import"../__chunks__/chunk-AXC7O7AK.js";import"../__chunks__/chunk-FIY7MK45.js";import"../__chunks__/chunk-5OQDOZY7.js";import"../__chunks__/chunk-QGR5H5EP.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-FNWBUFHV.js";import"../__chunks__/chunk-R7MU4VR6.js";import"../__chunks__/chunk-4KZ57RHS.js";import"../__chunks__/chunk-AAJVVQT6.js";import"../__chunks__/chunk-IWNNDSP7.js";import"../__chunks__/chunk-WXIJAAFT.js";import"../__chunks__/chunk-QX4ZUOPN.js";import"../__chunks__/chunk-MB3URQD2.js";import"../__chunks__/chunk-N4OC6UUR.js";import"../__chunks__/chunk-GVGORF76.js";import"../__chunks__/chunk-GSUOEZEY.js";import"../__chunks__/chunk-KWAHKAB3.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-6P7SO5VP.js";import"../__chunks__/chunk-WRSAHJHU.js";import"../__chunks__/chunk-5QC2FNCM.js";import"../__chunks__/chunk-PCZFDQ5B.js";import"../__chunks__/chunk-B5WBMB3W.js";import"../__chunks__/chunk-RUTTIU5E.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-FD3ML4YZ.js";import"../__chunks__/chunk-O2K3THKS.js";import"../__chunks__/chunk-UGD3W3HU.js";import"../__chunks__/chunk-NUIOY7UN.js";import"../__chunks__/chunk-MV4B2PJR.js";import"../__chunks__/chunk-M22H6OX5.js";import"../__chunks__/chunk-4YGJSKC5.js";import"../__chunks__/chunk-QLTFKKAC.js";import"../__chunks__/chunk-FMTVVLXJ.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-Z4W26FV7.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-2NU2PZVM.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-WRMCO6JM.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-XZ2PVEHF.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-ONV5BS35.js";import"../__chunks__/chunk-D5NHJSGG.js";import"../__chunks__/chunk-4BTZKAVZ.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-G6KWFYYQ.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-7VCF3GDZ.js";import"../__chunks__/chunk-A6I7FQNL.js";import"../__chunks__/chunk-DF2TWP2K.js";import"../__chunks__/chunk-V5DUB2CZ.js";import"../__chunks__/chunk-SSWUBPRL.js";import"../__chunks__/chunk-XTNMLBY3.js";import"../__chunks__/chunk-YVWYIOVR.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-LYQVVB3O.js";import"../__chunks__/chunk-JD47SKNQ.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-DHJBJT5J.js";import"../__chunks__/chunk-NYLW2S4Q.js";import"../__chunks__/chunk-4VDFQTIQ.js";import"../__chunks__/chunk-MRGB5FAN.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-NJVX7KSK.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-F6WPVYVX.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-MEKAGLP3.js";import"../__chunks__/chunk-26GZ4QWU.js";import"../__chunks__/chunk-MEBXCY7Z.js";import"../__chunks__/chunk-6NXMC65N.js";import"../__chunks__/chunk-TOXUX7HH.js";import"../__chunks__/chunk-6ZOT4UPT.js";import"../__chunks__/chunk-ACTRB5LM.js";import"../__chunks__/chunk-OW7HQGRY.js";import"../__chunks__/chunk-EBP4BQQZ.js";import"../__chunks__/chunk-HHFPIOFG.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-GICWWDPC.js";import"../__chunks__/chunk-K5I4K66U.js";import"../__chunks__/chunk-LAERXTWM.js";import"../__chunks__/chunk-TZOLUUUS.js";import"../__chunks__/chunk-TVKGB66R.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-EZGL42UW.js";import"../__chunks__/chunk-LWZ3EPG2.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-OGNQ2P7I.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-JFGSGOSE.js";import"../__chunks__/chunk-SN2JI7E6.js";import"../__chunks__/chunk-MDZNNVE7.js";import"../__chunks__/chunk-3KK65EEE.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-YG6PNJS4.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-GL3ZQY35.js";import"../__chunks__/chunk-NVNI3SO4.js";import"../__chunks__/chunk-J5MFAQKQ.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-M766C74Y.js";import"../__chunks__/chunk-GYZUIBLJ.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-YHV6VWI3.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-KFS4B5ZW.js";import"../__chunks__/chunk-TBO5QYEY.js";import"../__chunks__/chunk-KCO5BRJ5.js";import"../__chunks__/chunk-2S5ACGRO.js";import"../__chunks__/chunk-I4FKIWAM.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-J5HFBYM7.js";import"../__chunks__/chunk-QGFR3GHY.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-6FNBC33X.js";import"../__chunks__/chunk-V4YXT3IE.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-PV2VJ5SF.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-SDGTVQWV.js";import"../__chunks__/chunk-FQET2LHU.js";import"../__chunks__/chunk-YNFXKRA6.js";import"../__chunks__/chunk-VP7XSTRT.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-4ALQYLPC.js";import"../__chunks__/chunk-MXDZDWRM.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-UB3HZ7Y3.js";import"../__chunks__/chunk-S267QGNY.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-6IS2SONX.js";import"../__chunks__/chunk-OOD3NJN6.js";import"../__chunks__/chunk-DLXVJ5WN.js";import"../__chunks__/chunk-2PGGQXUN.js";import"../__chunks__/chunk-ZAVVSTLV.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-AHZUJBYR.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-K3CE7OO2.js";import"../__chunks__/chunk-QUAEDZVX.js";import"../__chunks__/chunk-EFRKTZXC.js";import"../__chunks__/chunk-D5NVSL2S.js";import"../__chunks__/chunk-JEIGUWJD.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-BXSTWDGT.js";import"../__chunks__/chunk-ITHC5HSC.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-XE6PFCZN.js";import"../__chunks__/chunk-5SJ24Q3V.js";import"../__chunks__/chunk-EXJ5ZTBR.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-L4J6N34X.js";import"../__chunks__/chunk-Y6BVHIRZ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-NZESMHGE.js";import"../__chunks__/chunk-Z73N7QHR.js";import"../__chunks__/chunk-2MEUTTSR.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-KK2SPOAR.js";import"../__chunks__/chunk-6OZDAYJV.js";import"../__chunks__/chunk-M5EEQKIJ.js";import"../__chunks__/chunk-5QU4UUHH.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-HBTW66HM.js";import"../__chunks__/chunk-JBJD3IUJ.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-5JVA7MJI.js";import"../__chunks__/chunk-DRIJHTEM.js";import"../__chunks__/chunk-YNN77W6N.js";import"../__chunks__/chunk-KTXJULCK.js";import"../__chunks__/chunk-D3YHOCKY.js";import"../__chunks__/chunk-XOCNUV5U.js";import"../__chunks__/chunk-MPA2344O.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-PTA7PGGN.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-QMBZ6EOX.js";import"../__chunks__/chunk-HFKQUCI5.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-D6KZSCED.js";import"../__chunks__/chunk-DFLSPB5R.js";import"../__chunks__/chunk-UCA4Y6ZN.js";import"../__chunks__/chunk-ECX3THWJ.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-VLL22T2N.js";import"../__chunks__/chunk-JTCO74AP.js";import"../__chunks__/chunk-4YZ4FBHD.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-REDCFBQD.js";import"../__chunks__/chunk-IR5STJEZ.js";import"../__chunks__/chunk-KPNDHNJ5.js";import"../__chunks__/chunk-UPWHURQN.js";import"../__chunks__/chunk-CGQQEMES.js";import"../__chunks__/chunk-KJQUO2IV.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-GNU32CXT.js";import"../__chunks__/chunk-KBE5G6C7.js";import"../__chunks__/chunk-WIAUFPP4.js";import"../__chunks__/chunk-GZRP7BNN.js";import"../__chunks__/chunk-B3SIEZ5W.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-3N72LXYF.js";import"../__chunks__/chunk-YLLIHJY3.js";import"../__chunks__/chunk-NO5ZX2I2.js";import"../__chunks__/chunk-GCYVO66N.js";import"../__chunks__/chunk-27DX5WIQ.js";import"../__chunks__/chunk-X2JZA2ND.js";import"../__chunks__/chunk-MV7THB7B.js";import"../__chunks__/chunk-C32UB6VS.js";import"../__chunks__/chunk-FC3CZOOQ.js";import{a as r,b as e,c as f}from"../__chunks__/chunk-6NPC3RU6.js";import"../__chunks__/chunk-DWQM5Y3Y.js";import"../__chunks__/chunk-IERLVDGT.js";import"../__chunks__/chunk-YDQULLMK.js";import"../__chunks__/chunk-YUGUMBTX.js";import"../__chunks__/chunk-UMTCMSCG.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-H2JYGVBI.js";import"../__chunks__/chunk-FGT3C4FE.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-P6M5SGWP.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-BWMML3RQ.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-U4IBNLM6.js";import"../__chunks__/chunk-7UR47JS3.js";import"../__chunks__/chunk-WDNG6ZSB.js";import"../__chunks__/chunk-62G7GJKN.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-ZNDNEIAP.js";import"../__chunks__/chunk-ICK2T23Q.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-UJWWUM4K.js";import"../__chunks__/chunk-7FFOMOWE.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-RJ6AJV64.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-QXV5S2J4.js";import"../__chunks__/chunk-W6I7QNJG.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-PKZJODOE.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-O6LO53PU.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-D7ESU7PM.js";import"../__chunks__/chunk-4KMLYD5U.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-JPHKRVHO.js";import"../__chunks__/chunk-6PL4QFNG.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-X2AHAHEP.js";import"../__chunks__/chunk-L4X3FLGT.js";import"../__chunks__/chunk-YGWPQG2B.js";import"../__chunks__/chunk-FS5CM3DN.js";import"../__chunks__/chunk-AXC7O7AK.js";import"../__chunks__/chunk-7JLREWFH.js";import"../__chunks__/chunk-PMPMHWEF.js";import"../__chunks__/chunk-KKMS5FBD.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-VX3R6DYQ.js";import"../__chunks__/chunk-CPD5PAKM.js";import"../__chunks__/chunk-UTH4HI6C.js";import"../__chunks__/chunk-4QRO7HX5.js";import"../__chunks__/chunk-IWNNDSP7.js";import"../__chunks__/chunk-HFMSFPZY.js";import"../__chunks__/chunk-HNMPVC5E.js";import"../__chunks__/chunk-GN76CEGK.js";import"../__chunks__/chunk-RNCZ6RY4.js";import"../__chunks__/chunk-ZLQNXL5U.js";import"../__chunks__/chunk-HDGQXIPY.js";import"../__chunks__/chunk-YLZQLHE7.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-HJV355AX.js";import"../__chunks__/chunk-3LA46YVM.js";import"../__chunks__/chunk-QKKE3QW6.js";import"../__chunks__/chunk-PCZFDQ5B.js";import"../__chunks__/chunk-D7GAZ2QF.js";import"../__chunks__/chunk-4REBP6WY.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-CNQDR77M.js";import"../__chunks__/chunk-7NIKDCME.js";import"../__chunks__/chunk-L5SHBNHU.js";import"../__chunks__/chunk-NUIOY7UN.js";import"../__chunks__/chunk-BIKHMTZ2.js";import"../__chunks__/chunk-3XYVMAUZ.js";import"../__chunks__/chunk-HJKED3EO.js";import"../__chunks__/chunk-5D54Y7JB.js";import"../__chunks__/chunk-5PGSKBWL.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-BDEDNJCP.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-2NU2PZVM.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-WRMCO6JM.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-XZ2PVEHF.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-ONV5BS35.js";import"../__chunks__/chunk-TQIVL2AI.js";import"../__chunks__/chunk-IJGZSU5V.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-3BXBWNHG.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-QU5KDEWG.js";import"../__chunks__/chunk-S2DL6EUE.js";import"../__chunks__/chunk-HRVCOPRT.js";import"../__chunks__/chunk-HU3BH7PO.js";import"../__chunks__/chunk-BDJT6VWB.js";import"../__chunks__/chunk-W5M6M7ZK.js";import"../__chunks__/chunk-YVWYIOVR.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-H2P6C2QC.js";import"../__chunks__/chunk-ZJEBHKI4.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-QA7NI7OV.js";import"../__chunks__/chunk-ZJOIBZEK.js";import"../__chunks__/chunk-4VDFQTIQ.js";import"../__chunks__/chunk-MRGB5FAN.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-NJVX7KSK.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-WEKJ6VIL.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-BGTAYSZX.js";import"../__chunks__/chunk-NKCXUNXX.js";import"../__chunks__/chunk-FZXDHR2A.js";import"../__chunks__/chunk-5HMAFC53.js";import"../__chunks__/chunk-CSNOFG2L.js";import"../__chunks__/chunk-6ZOT4UPT.js";import"../__chunks__/chunk-ACTRB5LM.js";import"../__chunks__/chunk-5I5R4A5G.js";import"../__chunks__/chunk-3JMXL3ZH.js";import"../__chunks__/chunk-OHQHR4US.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-GICWWDPC.js";import"../__chunks__/chunk-K5I4K66U.js";import"../__chunks__/chunk-MWCRWZR3.js";import"../__chunks__/chunk-YISR6DUJ.js";import"../__chunks__/chunk-UIYSLS6R.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-VMMLZXJJ.js";import"../__chunks__/chunk-WBMQJNO3.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-7JLVJNMZ.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-JFGSGOSE.js";import"../__chunks__/chunk-SN2JI7E6.js";import"../__chunks__/chunk-BBYDGHDB.js";import"../__chunks__/chunk-3KK65EEE.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-J56FZK5O.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-2747DBC5.js";import"../__chunks__/chunk-FOKZPL3K.js";import"../__chunks__/chunk-J5MFAQKQ.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-M766C74Y.js";import"../__chunks__/chunk-GYZUIBLJ.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-YHV6VWI3.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-KFS4B5ZW.js";import"../__chunks__/chunk-TBO5QYEY.js";import"../__chunks__/chunk-KCO5BRJ5.js";import"../__chunks__/chunk-2S5ACGRO.js";import"../__chunks__/chunk-I4FKIWAM.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-J5HFBYM7.js";import"../__chunks__/chunk-QGFR3GHY.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-6FNBC33X.js";import"../__chunks__/chunk-V4YXT3IE.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-PV2VJ5SF.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-SDGTVQWV.js";import"../__chunks__/chunk-FQET2LHU.js";import"../__chunks__/chunk-YNFXKRA6.js";import"../__chunks__/chunk-VP7XSTRT.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-4ALQYLPC.js";import"../__chunks__/chunk-MXDZDWRM.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-UB3HZ7Y3.js";import"../__chunks__/chunk-S267QGNY.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-6IS2SONX.js";import"../__chunks__/chunk-OOD3NJN6.js";import"../__chunks__/chunk-DLXVJ5WN.js";import"../__chunks__/chunk-2PGGQXUN.js";import"../__chunks__/chunk-ZAVVSTLV.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-AHZUJBYR.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-K3CE7OO2.js";import"../__chunks__/chunk-QUAEDZVX.js";import"../__chunks__/chunk-EFRKTZXC.js";import"../__chunks__/chunk-D5NVSL2S.js";import"../__chunks__/chunk-JEIGUWJD.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-BXSTWDGT.js";import"../__chunks__/chunk-ITHC5HSC.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-XE6PFCZN.js";import"../__chunks__/chunk-5SJ24Q3V.js";import"../__chunks__/chunk-EXJ5ZTBR.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-L4J6N34X.js";import"../__chunks__/chunk-Y6BVHIRZ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-NZESMHGE.js";import"../__chunks__/chunk-Z73N7QHR.js";import"../__chunks__/chunk-2MEUTTSR.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-KK2SPOAR.js";import"../__chunks__/chunk-6OZDAYJV.js";import"../__chunks__/chunk-M5EEQKIJ.js";import"../__chunks__/chunk-5QU4UUHH.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-HBTW66HM.js";import"../__chunks__/chunk-JBJD3IUJ.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-5JVA7MJI.js";import"../__chunks__/chunk-DRIJHTEM.js";import"../__chunks__/chunk-YNN77W6N.js";import"../__chunks__/chunk-KTXJULCK.js";import"../__chunks__/chunk-D3YHOCKY.js";import"../__chunks__/chunk-XOCNUV5U.js";import"../__chunks__/chunk-MPA2344O.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-PTA7PGGN.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-QMBZ6EOX.js";import"../__chunks__/chunk-HFKQUCI5.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-FDKODXIE.js";import"../__chunks__/chunk-DFLSPB5R.js";import"../__chunks__/chunk-UCA4Y6ZN.js";import"../__chunks__/chunk-Q6I5YBBB.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-VLL22T2N.js";import"../__chunks__/chunk-7LRSU4EP.js";import"../__chunks__/chunk-4YZ4FBHD.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-REDCFBQD.js";import"../__chunks__/chunk-IR5STJEZ.js";import"../__chunks__/chunk-KPNDHNJ5.js";import"../__chunks__/chunk-UPWHURQN.js";import"../__chunks__/chunk-CGQQEMES.js";import"../__chunks__/chunk-KJQUO2IV.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-GNU32CXT.js";import"../__chunks__/chunk-KBE5G6C7.js";import"../__chunks__/chunk-WIAUFPP4.js";import"../__chunks__/chunk-GZRP7BNN.js";import"../__chunks__/chunk-B3SIEZ5W.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-3N72LXYF.js";import"../__chunks__/chunk-YLLIHJY3.js";import"../__chunks__/chunk-NO5ZX2I2.js";import"../__chunks__/chunk-GCYVO66N.js";import"../__chunks__/chunk-27DX5WIQ.js";import"../__chunks__/chunk-X2JZA2ND.js";import"../__chunks__/chunk-MV7THB7B.js";import"../__chunks__/chunk-C32UB6VS.js";import"../__chunks__/chunk-FC3CZOOQ.js";import{a as r,b as e,c as f}from"../__chunks__/chunk-6NPC3RU6.js";import"../__chunks__/chunk-DWQM5Y3Y.js";import"../__chunks__/chunk-IERLVDGT.js";import"../__chunks__/chunk-YDQULLMK.js";import"../__chunks__/chunk-YUGUMBTX.js";import"../__chunks__/chunk-UMTCMSCG.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-H2JYGVBI.js";import"../__chunks__/chunk-FGT3C4FE.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-P6M5SGWP.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