@multiversx/sdk-dapp 2.14.0-alpha.4 → 2.14.0-alpha.5

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 (973) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.d.ts +3 -2
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  39. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  40. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  41. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  42. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  43. package/UI/SignTransactionsModals/components/index.js +1 -1
  44. package/UI/SignTransactionsModals/index.js +1 -1
  45. package/UI/TokenDetails/index.js +1 -1
  46. package/UI/TransactionData/TransactionData.js +1 -1
  47. package/UI/TransactionData/index.js +1 -1
  48. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  49. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  50. package/UI/TransactionDetails/components/index.js +1 -1
  51. package/UI/TransactionDetails/index.js +1 -1
  52. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  54. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  55. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  56. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  57. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  58. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  59. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  60. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  61. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  62. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  70. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  80. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  81. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  82. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  96. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  97. package/UI/TransactionInfo/components/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  131. package/UI/TransactionInfo/index.js +1 -1
  132. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  133. package/UI/TransactionsTable/components/AccountName.js +1 -1
  134. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  135. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  136. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  137. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  138. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  139. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  140. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  141. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  142. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  143. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  144. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  145. package/UI/TransactionsTable/components/index.js +1 -1
  146. package/UI/TransactionsTable/index.js +1 -1
  147. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  148. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  149. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  150. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  151. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  152. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  153. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  154. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  155. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  156. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  157. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  158. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  159. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  161. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  162. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  163. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  164. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  165. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  166. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  167. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  168. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  169. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  170. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  171. package/UI/TransactionsToastList/components/index.js +1 -1
  172. package/UI/TransactionsToastList/index.js +1 -1
  173. package/UI/Trim/Trim.js +1 -1
  174. package/UI/Trim/index.js +1 -1
  175. package/UI/UsdValue/UsdValue.js +1 -1
  176. package/UI/UsdValue/index.js +1 -1
  177. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  178. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  179. package/UI/index.js +1 -1
  180. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  181. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  182. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  183. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  184. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  185. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  186. package/UI/ledger/index.js +1 -1
  187. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  188. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  189. package/UI/pages/UnlockPage/index.js +1 -1
  190. package/UI/pages/index.js +1 -1
  191. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  192. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  193. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  194. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  195. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  196. package/UI/walletConnect/index.js +1 -1
  197. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  198. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  199. package/__chunks__/chunk-22DF2JY3.js +2 -0
  200. package/__chunks__/{chunk-G7YT34QS.js → chunk-23ZCXN2F.js} +2 -2
  201. package/__chunks__/{chunk-3EIFFYSW.js → chunk-2BH3RGXT.js} +2 -2
  202. package/__chunks__/{chunk-6PML67ZT.js → chunk-2DM6E5ZQ.js} +2 -2
  203. package/__chunks__/{chunk-RMFPR3WE.js → chunk-2MQTOEH7.js} +2 -2
  204. package/__chunks__/{chunk-K6PQKXTG.js → chunk-2N5W35OP.js} +2 -2
  205. package/__chunks__/{chunk-EKEN7M5S.js → chunk-2TNTVWHI.js} +2 -2
  206. package/__chunks__/{chunk-75OYQVUT.js → chunk-37OMD6TU.js} +2 -2
  207. package/__chunks__/{chunk-OOHLZUYQ.js → chunk-3AIQZQV5.js} +2 -2
  208. package/__chunks__/{chunk-M3EZYCFZ.js → chunk-3E325MO3.js} +2 -2
  209. package/__chunks__/{chunk-MFSA2AFS.js → chunk-3GXKEM7O.js} +2 -2
  210. package/__chunks__/{chunk-YQBS57WR.js → chunk-3HSCP4I5.js} +2 -2
  211. package/__chunks__/{chunk-UX3RIQBL.js → chunk-3MRXLKQ6.js} +2 -2
  212. package/__chunks__/{chunk-LIXERWA2.js → chunk-3NDCUMDO.js} +2 -2
  213. package/__chunks__/{chunk-WG5PKEON.js → chunk-3YVLGUEV.js} +2 -2
  214. package/__chunks__/chunk-45SWAR6Z.js +2 -0
  215. package/__chunks__/chunk-45Y6PPM6.js +2 -0
  216. package/__chunks__/{chunk-NU2ITMZG.js → chunk-4EVOUFDQ.js} +2 -2
  217. package/__chunks__/chunk-4N55MHPF.js +2 -0
  218. package/__chunks__/{chunk-JI6OOAZM.js → chunk-4NKLZGOI.js} +2 -2
  219. package/__chunks__/{chunk-65NKVC5M.js → chunk-4NTCPISQ.js} +2 -2
  220. package/__chunks__/chunk-4OPFX2AR.js +2 -0
  221. package/__chunks__/{chunk-AJHIV737.js → chunk-4X46XUT2.js} +2 -2
  222. package/__chunks__/{chunk-H7CNP4WI.js → chunk-4XP2XNHY.js} +2 -2
  223. package/__chunks__/{chunk-NXW6OYLP.js → chunk-4ZMGDGIW.js} +2 -2
  224. package/__chunks__/chunk-52MWR3NB.js +2 -0
  225. package/__chunks__/{chunk-DO2UAUXB.js → chunk-5BJVPZCN.js} +2 -2
  226. package/__chunks__/{chunk-ADIXH72H.js → chunk-5HVG2X2C.js} +2 -2
  227. package/__chunks__/{chunk-2O2WKQZO.js → chunk-5LJK67SQ.js} +2 -2
  228. package/__chunks__/chunk-5S3JVHG4.js +2 -0
  229. package/__chunks__/{chunk-7B5HJBGA.js → chunk-5WEAM5DC.js} +2 -2
  230. package/__chunks__/{chunk-ETREDIXF.js → chunk-63WDBVPL.js} +2 -2
  231. package/__chunks__/{chunk-JZHCY5DO.js → chunk-64H5N2TX.js} +2 -2
  232. package/__chunks__/chunk-64QZWKAW.js +2 -0
  233. package/__chunks__/chunk-64TIYJQO.js +2 -0
  234. package/__chunks__/chunk-66APQRPP.js +2 -0
  235. package/__chunks__/{chunk-DSLJYRGI.js → chunk-66SPJK65.js} +2 -2
  236. package/__chunks__/{chunk-D5X5KUNJ.js → chunk-6M37KL7A.js} +2 -2
  237. package/__chunks__/{chunk-25WQVZTS.js → chunk-6QKO7DMB.js} +2 -2
  238. package/__chunks__/{chunk-TQW4QO2P.js → chunk-6SLIVO3J.js} +2 -2
  239. package/__chunks__/{chunk-6MSQ4C6G.js → chunk-6SYLJHDT.js} +2 -2
  240. package/__chunks__/chunk-72UVGPGW.js +2 -0
  241. package/__chunks__/{chunk-B2BFY4EM.js → chunk-72WF3QCP.js} +2 -2
  242. package/__chunks__/{chunk-BZRH45H2.js → chunk-73CI4JUZ.js} +2 -2
  243. package/__chunks__/{chunk-A2USBEG7.js → chunk-75MDOLF3.js} +2 -2
  244. package/__chunks__/{chunk-BHNYFAWW.js → chunk-7C6EUBPR.js} +2 -2
  245. package/__chunks__/{chunk-DPE4DHS3.js → chunk-7CLDEGGE.js} +2 -2
  246. package/__chunks__/{chunk-2BBVQR4G.js → chunk-7CULFRUR.js} +2 -2
  247. package/__chunks__/{chunk-CNKQYALU.js → chunk-7EGE3G5H.js} +2 -2
  248. package/__chunks__/chunk-7FRJUQZK.js +2 -0
  249. package/__chunks__/{chunk-4XB7TL2O.js → chunk-7FZ6R3FZ.js} +2 -2
  250. package/__chunks__/{chunk-N4NGHEHS.js → chunk-7LOSPPXE.js} +2 -2
  251. package/__chunks__/{chunk-7ZASLY2V.js → chunk-7OV4F75Q.js} +2 -2
  252. package/__chunks__/{chunk-3SJW5U4T.js → chunk-7PMB3ZPQ.js} +2 -2
  253. package/__chunks__/{chunk-NURDMNDV.js → chunk-7VNDM6T2.js} +2 -2
  254. package/__chunks__/{chunk-J4GB3QSA.js → chunk-7WX2EHSX.js} +2 -2
  255. package/__chunks__/{chunk-OP3XAH5A.js → chunk-7ZBMAANU.js} +2 -2
  256. package/__chunks__/{chunk-AZMHVSME.js → chunk-A22OQRDY.js} +2 -2
  257. package/__chunks__/chunk-A3PWYILZ.js +2 -0
  258. package/__chunks__/chunk-A5T5GJXY.js +2 -0
  259. package/__chunks__/{chunk-N5ZFYU42.js → chunk-AFQSV3AV.js} +2 -2
  260. package/__chunks__/{chunk-5ETMNA3U.js → chunk-AQLSAD63.js} +2 -2
  261. package/__chunks__/{chunk-UNXCKKMH.js → chunk-AQQDWTIM.js} +2 -2
  262. package/__chunks__/{chunk-M53XPRLQ.js → chunk-ARE7NE4A.js} +2 -2
  263. package/__chunks__/{chunk-OMUNS7IZ.js → chunk-AS6DDFO5.js} +2 -2
  264. package/__chunks__/{chunk-2RE3X7HY.js → chunk-AVXBFRHY.js} +2 -2
  265. package/__chunks__/{chunk-NTIDBQEF.js → chunk-AWO2PCXG.js} +2 -2
  266. package/__chunks__/chunk-AYAQCUGB.js +2 -0
  267. package/__chunks__/{chunk-BETCI47Y.js → chunk-B3KZCRET.js} +2 -2
  268. package/__chunks__/{chunk-GT772GIP.js → chunk-B4XGJGNO.js} +2 -2
  269. package/__chunks__/{chunk-MOWDPR4N.js → chunk-B7S7JVDB.js} +2 -2
  270. package/__chunks__/{chunk-YAKHLJVF.js → chunk-BH4VLAI6.js} +2 -2
  271. package/__chunks__/{chunk-7IIBUVTP.js → chunk-BHGUCY6V.js} +2 -2
  272. package/__chunks__/chunk-BHOMICVA.js +2 -0
  273. package/__chunks__/{chunk-CMA2TRJ6.js → chunk-BIHEEQKC.js} +2 -2
  274. package/__chunks__/chunk-BMGACOL4.js +2 -0
  275. package/__chunks__/{chunk-W4SDIPRJ.js → chunk-BQ5Y2UAI.js} +2 -2
  276. package/__chunks__/chunk-BROB2EYB.js +2 -0
  277. package/__chunks__/chunk-BS6COOQK.js +2 -0
  278. package/__chunks__/{chunk-DQI3464J.js → chunk-BSTDVOEM.js} +2 -2
  279. package/__chunks__/{chunk-TVKNCSNS.js → chunk-BU2OLIU5.js} +2 -2
  280. package/__chunks__/{chunk-TTFVOEQM.js → chunk-BWD5DNLC.js} +2 -2
  281. package/__chunks__/{chunk-4CSBBYW6.js → chunk-BWHYROKS.js} +2 -2
  282. package/__chunks__/{chunk-VGJS6HAC.js → chunk-BXZKJ2JM.js} +2 -2
  283. package/__chunks__/{chunk-YV33QQWO.js → chunk-BY5OXFIJ.js} +2 -2
  284. package/__chunks__/{chunk-XGRQEHBD.js → chunk-C7KWERFR.js} +2 -2
  285. package/__chunks__/{chunk-BEJ57YJB.js → chunk-CBHAMICU.js} +2 -2
  286. package/__chunks__/{chunk-FXIIIY53.js → chunk-CEHDE5I3.js} +2 -2
  287. package/__chunks__/{chunk-6V7E33PO.js → chunk-CHK4IXN2.js} +2 -2
  288. package/__chunks__/{chunk-IARIHJCY.js → chunk-CLUAI4BC.js} +2 -2
  289. package/__chunks__/{chunk-5ZJROBOQ.js → chunk-CNZ7MLQ7.js} +2 -2
  290. package/__chunks__/{chunk-YQQYT64P.js → chunk-CPUSPPDI.js} +2 -2
  291. package/__chunks__/{chunk-ODSDXRQA.js → chunk-CVYNW6HS.js} +2 -2
  292. package/__chunks__/{chunk-TMBYISJR.js → chunk-D22UDVB4.js} +2 -2
  293. package/__chunks__/{chunk-LL22QBDO.js → chunk-D3XHDZNM.js} +2 -2
  294. package/__chunks__/{chunk-AY5VIBS4.js → chunk-DASQ5XL4.js} +2 -2
  295. package/__chunks__/{chunk-BB35SLKQ.js → chunk-DH6HLWVN.js} +2 -2
  296. package/__chunks__/{chunk-ZONFCHNM.js → chunk-DIPYSEFN.js} +2 -2
  297. package/__chunks__/{chunk-BVFL6VNO.js → chunk-DMZHZXTQ.js} +2 -2
  298. package/__chunks__/chunk-DPIMMEMO.js +2 -0
  299. package/__chunks__/chunk-DRZSQ3SO.js +2 -0
  300. package/__chunks__/chunk-DW2W2BXK.js +2 -0
  301. package/__chunks__/{chunk-XX6G32OZ.js → chunk-DX5V75EW.js} +2 -2
  302. package/__chunks__/{chunk-VWVCMKWI.js → chunk-DX7ZR4LC.js} +2 -2
  303. package/__chunks__/{chunk-LS3ZPA4A.js → chunk-DZ5R5IVB.js} +2 -2
  304. package/__chunks__/{chunk-ZBBI7EXV.js → chunk-E2PAPCZZ.js} +2 -2
  305. package/__chunks__/chunk-E67CW34R.js +2 -0
  306. package/__chunks__/{chunk-Y3BR5QAK.js → chunk-E6T4FDCM.js} +2 -2
  307. package/__chunks__/{chunk-6FWRIRSA.js → chunk-EBVL3ZPT.js} +2 -2
  308. package/__chunks__/chunk-EFF2RSHD.js +2 -0
  309. package/__chunks__/{chunk-QWZQQTWX.js → chunk-EPQU5FU5.js} +2 -2
  310. package/__chunks__/{chunk-6KMEMGNE.js → chunk-EYHSN2ES.js} +2 -2
  311. package/__chunks__/{chunk-M233YJDK.js → chunk-EZCQPLF5.js} +1 -1
  312. package/__chunks__/{chunk-C3O633TI.js → chunk-EZFDQOQK.js} +2 -2
  313. package/__chunks__/{chunk-MLM5BJKL.js → chunk-F35XWJRY.js} +2 -2
  314. package/__chunks__/{chunk-ZNBJZX4N.js → chunk-FFFYKQQT.js} +2 -2
  315. package/__chunks__/{chunk-CTEFAY5K.js → chunk-FO6CSZ3M.js} +2 -2
  316. package/__chunks__/chunk-FSG3TRMT.js +2 -0
  317. package/__chunks__/{chunk-E4YJNUDM.js → chunk-FVV4D7XQ.js} +2 -2
  318. package/__chunks__/{chunk-WUONLXPI.js → chunk-G435636V.js} +2 -2
  319. package/__chunks__/{chunk-MF64B4U4.js → chunk-G7LALDGL.js} +2 -2
  320. package/__chunks__/{chunk-MHTCIPER.js → chunk-GGX6JWC7.js} +2 -2
  321. package/__chunks__/{chunk-TJDTOBJB.js → chunk-GHBNLFY6.js} +2 -2
  322. package/__chunks__/chunk-GKXDFWTQ.js +2 -0
  323. package/__chunks__/{chunk-DDAIG6KJ.js → chunk-GRSB6J5H.js} +2 -2
  324. package/__chunks__/{chunk-S3PEPYDB.js → chunk-GV6IC2UV.js} +2 -2
  325. package/__chunks__/{chunk-GS3TX6RP.js → chunk-GYLHTTKH.js} +2 -2
  326. package/__chunks__/{chunk-A35WFZLK.js → chunk-GZPJTYLB.js} +2 -2
  327. package/__chunks__/{chunk-BKGSRCIG.js → chunk-H72JI5IO.js} +2 -2
  328. package/__chunks__/{chunk-ITTK65KC.js → chunk-HBNASBYW.js} +2 -2
  329. package/__chunks__/{chunk-BNFFB2Q2.js → chunk-HC5YGCXW.js} +2 -2
  330. package/__chunks__/{chunk-3S3UYNDH.js → chunk-HG2ZNAPC.js} +2 -2
  331. package/__chunks__/{chunk-T6V7CRJ6.js → chunk-HI3PTSVH.js} +2 -2
  332. package/__chunks__/{chunk-5EE2O4OK.js → chunk-HJSUDU6E.js} +2 -2
  333. package/__chunks__/{chunk-2S2HD6NY.js → chunk-HLBNNU76.js} +2 -2
  334. package/__chunks__/{chunk-Q5OYAPU5.js → chunk-HQDHLSES.js} +2 -2
  335. package/__chunks__/{chunk-TXT2Q3I7.js → chunk-HUXKICI7.js} +2 -2
  336. package/__chunks__/{chunk-KQEWHTUX.js → chunk-HW3RRTL4.js} +2 -2
  337. package/__chunks__/{chunk-SJPL6A4R.js → chunk-I3QJAXPM.js} +2 -2
  338. package/__chunks__/{chunk-R7ZQUY5M.js → chunk-I5DP6EA3.js} +2 -2
  339. package/__chunks__/{chunk-PQQ6VKEU.js → chunk-IBNKHMRT.js} +2 -2
  340. package/__chunks__/{chunk-3M5IGP5X.js → chunk-ICL4PNNH.js} +2 -2
  341. package/__chunks__/chunk-IMTVRPR2.js +2 -0
  342. package/__chunks__/{chunk-DOZP7NGC.js → chunk-IMUTFTIH.js} +2 -2
  343. package/__chunks__/{chunk-2W3RSW6U.js → chunk-IOQ2I37X.js} +2 -2
  344. package/__chunks__/{chunk-PZK2RAY5.js → chunk-IPUQIGI3.js} +2 -2
  345. package/__chunks__/{chunk-DRYDLVRM.js → chunk-ISDCXQ4P.js} +2 -2
  346. package/__chunks__/{chunk-JDSP6DIQ.js → chunk-IX4F6QCU.js} +2 -2
  347. package/__chunks__/{chunk-ZSRMIYTY.js → chunk-IXYSFUVJ.js} +2 -2
  348. package/__chunks__/{chunk-U2JKSHHG.js → chunk-J2S5AKNH.js} +2 -2
  349. package/__chunks__/{chunk-CSK635Z2.js → chunk-J3I4HFDX.js} +2 -2
  350. package/__chunks__/{chunk-MN6KYUQF.js → chunk-J3X5E67Y.js} +2 -2
  351. package/__chunks__/chunk-J5VRFQ5K.js +2 -0
  352. package/__chunks__/{chunk-KZWPHYUQ.js → chunk-J7QW3AWU.js} +2 -2
  353. package/__chunks__/{chunk-K7WXNMIW.js → chunk-JGXCSZOG.js} +2 -2
  354. package/__chunks__/{chunk-JELSAF4F.js → chunk-JLUJSZNT.js} +2 -2
  355. package/__chunks__/{chunk-UFX3TGSA.js → chunk-JQSJBRM5.js} +2 -2
  356. package/__chunks__/{chunk-WY7PX3AX.js → chunk-JXLRQ366.js} +2 -2
  357. package/__chunks__/{chunk-SU4UMHVT.js → chunk-JZEMMTV2.js} +2 -2
  358. package/__chunks__/{chunk-VXR5V3AG.js → chunk-KDTUT2LX.js} +2 -2
  359. package/__chunks__/{chunk-EKFRD5MI.js → chunk-KFRESXBX.js} +2 -2
  360. package/__chunks__/{chunk-WV5OIBBU.js → chunk-KJ63D6WC.js} +2 -2
  361. package/__chunks__/chunk-KUV4H7NI.js +2 -0
  362. package/__chunks__/{chunk-CP5DQMBV.js → chunk-KXA5BTHR.js} +2 -2
  363. package/__chunks__/{chunk-YE54WZEN.js → chunk-L5RPOJYV.js} +2 -2
  364. package/__chunks__/{chunk-FZICV4WG.js → chunk-L72DQXC4.js} +2 -2
  365. package/__chunks__/{chunk-ABT5TVGK.js → chunk-LDEN3UBI.js} +2 -2
  366. package/__chunks__/{chunk-OAJ6UKY2.js → chunk-LDK7LOZE.js} +2 -2
  367. package/__chunks__/chunk-LDOD4URJ.js +2 -0
  368. package/__chunks__/{chunk-SVBB3C56.js → chunk-LEGFCHLH.js} +2 -2
  369. package/__chunks__/{chunk-NIOILRMS.js → chunk-LOPX3UQA.js} +2 -2
  370. package/__chunks__/{chunk-6ZNAORPN.js → chunk-LTKYGZVB.js} +2 -2
  371. package/__chunks__/{chunk-MUXG4SAL.js → chunk-M2MO2MBB.js} +2 -2
  372. package/__chunks__/{chunk-24KNNDWA.js → chunk-M6LUCMOP.js} +2 -2
  373. package/__chunks__/{chunk-IJPDQTGJ.js → chunk-M7A4FIUW.js} +2 -2
  374. package/__chunks__/{chunk-XCUH4IO5.js → chunk-MF2IH44M.js} +2 -2
  375. package/__chunks__/{chunk-AG6W7R5R.js → chunk-MFWOGLLI.js} +2 -2
  376. package/__chunks__/chunk-MJ5VLQIM.js +2 -0
  377. package/__chunks__/chunk-MTX4TBBK.js +2 -0
  378. package/__chunks__/{chunk-AAP32ARY.js → chunk-MTYG3AKO.js} +2 -2
  379. package/__chunks__/{chunk-PJMQDDVY.js → chunk-MVAYGMUS.js} +2 -2
  380. package/__chunks__/{chunk-R27EHEPZ.js → chunk-MVSDWKCQ.js} +2 -2
  381. package/__chunks__/{chunk-PPI2G3CG.js → chunk-MZNK56TB.js} +2 -2
  382. package/__chunks__/{chunk-B33AQG5Y.js → chunk-N2BWMAQO.js} +2 -2
  383. package/__chunks__/{chunk-FHRLYFE7.js → chunk-NBE4IO7E.js} +2 -2
  384. package/__chunks__/chunk-NCQHY6FK.js +2 -0
  385. package/__chunks__/chunk-NGSJFSKF.js +2 -0
  386. package/__chunks__/{chunk-6L4GYJ4E.js → chunk-NGZAQTAO.js} +2 -2
  387. package/__chunks__/{chunk-EUFQVYPH.js → chunk-NJ447X3Y.js} +2 -2
  388. package/__chunks__/chunk-NKIQUB3Z.js +2 -0
  389. package/__chunks__/{chunk-OBZRTME6.js → chunk-NKQM2LQN.js} +2 -2
  390. package/__chunks__/{chunk-G3LE2FFL.js → chunk-NMTFMY6D.js} +2 -2
  391. package/__chunks__/{chunk-E2XUJA52.js → chunk-NNAOY4Y2.js} +2 -2
  392. package/__chunks__/{chunk-5JWFOFX7.js → chunk-NYA6M6LM.js} +2 -2
  393. package/__chunks__/{chunk-BR4CBSOZ.js → chunk-O25VXVLL.js} +2 -2
  394. package/__chunks__/{chunk-HKDLCDFL.js → chunk-O2LF4IKO.js} +2 -2
  395. package/__chunks__/{chunk-I2ZNHA6A.js → chunk-O3AHG24N.js} +2 -2
  396. package/__chunks__/chunk-O4IT6M2K.js +2 -0
  397. package/__chunks__/chunk-OAQQLUZD.js +2 -0
  398. package/__chunks__/chunk-OEATJDMD.js +2 -0
  399. package/__chunks__/chunk-OFGCMYZC.js +2 -0
  400. package/__chunks__/{chunk-TNS4TEQ7.js → chunk-OFW66NKR.js} +2 -2
  401. package/__chunks__/{chunk-KEHEKMPA.js → chunk-OIICBQYN.js} +2 -2
  402. package/__chunks__/{chunk-LEDINSJJ.js → chunk-OIXJEMR2.js} +2 -2
  403. package/__chunks__/{chunk-3R6P5ZTL.js → chunk-OPRXQQHD.js} +2 -2
  404. package/__chunks__/{chunk-XB6HSRCJ.js → chunk-OSERWU57.js} +2 -2
  405. package/__chunks__/chunk-OVCTWVRD.js +2 -0
  406. package/__chunks__/{chunk-PBMPFFAA.js → chunk-OXXFVN6M.js} +2 -2
  407. package/__chunks__/{chunk-YCK4CN3Z.js → chunk-P7BC4GGB.js} +2 -2
  408. package/__chunks__/{chunk-C2Q6FEYG.js → chunk-PD7VPZG6.js} +2 -2
  409. package/__chunks__/{chunk-XQIPRD66.js → chunk-PDZ4DDQH.js} +2 -2
  410. package/__chunks__/chunk-PPPPPTWM.js +2 -0
  411. package/__chunks__/{chunk-F73E6SNL.js → chunk-PQRRKW6T.js} +2 -2
  412. package/__chunks__/{chunk-CHAPDH4M.js → chunk-PQWK7I7W.js} +2 -2
  413. package/__chunks__/chunk-PRMLOJCW.js +2 -0
  414. package/__chunks__/{chunk-AD2OYDWP.js → chunk-PRVFFCTX.js} +2 -2
  415. package/__chunks__/{chunk-J7FYVEOE.js → chunk-PUGRGKXL.js} +2 -2
  416. package/__chunks__/{chunk-RRXNMG57.js → chunk-PUTAYUVI.js} +2 -2
  417. package/__chunks__/{chunk-BQ2DNFB5.js → chunk-PVGVQNF5.js} +2 -2
  418. package/__chunks__/{chunk-JPXPPWFO.js → chunk-Q7BITZCY.js} +2 -2
  419. package/__chunks__/{chunk-Q4HYM77M.js → chunk-QEXM4GNY.js} +2 -2
  420. package/__chunks__/{chunk-MBIW6QDB.js → chunk-QHE5LKUF.js} +2 -2
  421. package/__chunks__/{chunk-G73R4TLJ.js → chunk-QJI7323N.js} +2 -2
  422. package/__chunks__/{chunk-F7FK4LHU.js → chunk-QMNK4RVF.js} +2 -2
  423. package/__chunks__/chunk-QPUAI2KI.js +2 -0
  424. package/__chunks__/{chunk-BXUN6SYS.js → chunk-QRLZOINP.js} +2 -2
  425. package/__chunks__/{chunk-BO2I26NT.js → chunk-QT4WPGJZ.js} +2 -2
  426. package/__chunks__/chunk-QYPK5Q6W.js +2 -0
  427. package/__chunks__/{chunk-MTYZVH3Q.js → chunk-R5YANSYC.js} +2 -2
  428. package/__chunks__/{chunk-YZ3MXMDL.js → chunk-R6C5LQQ6.js} +2 -2
  429. package/__chunks__/{chunk-B27CZPKZ.js → chunk-RAJ6NSTB.js} +2 -2
  430. package/__chunks__/{chunk-W5F4ROFF.js → chunk-RBNQZEHE.js} +2 -2
  431. package/__chunks__/{chunk-VO7HT5AE.js → chunk-RCYVWPXC.js} +2 -2
  432. package/__chunks__/chunk-RGVRKCY6.js +2 -0
  433. package/__chunks__/chunk-RKCTWZYL.js +2 -0
  434. package/__chunks__/{chunk-R5RMHCBK.js → chunk-RKHPZO3J.js} +2 -2
  435. package/__chunks__/{chunk-P6NDRRQZ.js → chunk-ROHB4JXW.js} +2 -2
  436. package/__chunks__/{chunk-KZ2YG7WD.js → chunk-RXT7KG2J.js} +2 -2
  437. package/__chunks__/chunk-S2JT6RUX.js +2 -0
  438. package/__chunks__/{chunk-7B4DSY7J.js → chunk-S6AT7XDS.js} +2 -2
  439. package/__chunks__/{chunk-QF7H32ZF.js → chunk-SD4KIZFM.js} +2 -2
  440. package/__chunks__/{chunk-YUITQOD4.js → chunk-SFGH3NY6.js} +2 -2
  441. package/__chunks__/{chunk-VOQPTK3P.js → chunk-SFMGQMBN.js} +2 -2
  442. package/__chunks__/{chunk-T5FVCXWM.js → chunk-SFNUFEF2.js} +2 -2
  443. package/__chunks__/chunk-SHGRRNIR.js +2 -0
  444. package/__chunks__/{chunk-ILGUHJXU.js → chunk-SNHBOMQB.js} +2 -2
  445. package/__chunks__/{chunk-55DUEQQC.js → chunk-SNJTLKB7.js} +2 -2
  446. package/__chunks__/{chunk-KVOYPUTL.js → chunk-SRAOPXTJ.js} +2 -2
  447. package/__chunks__/{chunk-MFEAYG2S.js → chunk-SUGDF5WM.js} +2 -2
  448. package/__chunks__/{chunk-MK3VMRXH.js → chunk-SWFFCOPD.js} +2 -2
  449. package/__chunks__/{chunk-YU5K4PFZ.js → chunk-TBJMDAK6.js} +2 -2
  450. package/__chunks__/{chunk-V3SXLSPP.js → chunk-TCFDANSN.js} +2 -2
  451. package/__chunks__/{chunk-VCXFFZUJ.js → chunk-TIV34PWT.js} +2 -2
  452. package/__chunks__/{chunk-5RKEEDEK.js → chunk-TMANWXH2.js} +2 -2
  453. package/__chunks__/{chunk-U6BNAA53.js → chunk-TNAZLZ5D.js} +2 -2
  454. package/__chunks__/{chunk-QPC72ZWW.js → chunk-TNVAQBUD.js} +2 -2
  455. package/__chunks__/{chunk-QTKNSGVB.js → chunk-TQPQGMUY.js} +2 -2
  456. package/__chunks__/chunk-TUX4LV23.js +2 -0
  457. package/__chunks__/{chunk-S4LL3KB6.js → chunk-TWEOQ6DY.js} +2 -2
  458. package/__chunks__/{chunk-V76TUDDS.js → chunk-TXLYUKO4.js} +2 -2
  459. package/__chunks__/{chunk-AHTQGFQH.js → chunk-TZ2Q7D2C.js} +2 -2
  460. package/__chunks__/{chunk-DSNFOYKK.js → chunk-U37OVM67.js} +2 -2
  461. package/__chunks__/{chunk-GV3O7KE4.js → chunk-U47DABFU.js} +2 -2
  462. package/__chunks__/{chunk-7G7ZTBUS.js → chunk-U6WJGK33.js} +2 -2
  463. package/__chunks__/{chunk-VZBSJMM2.js → chunk-UGBATJ3G.js} +2 -2
  464. package/__chunks__/chunk-UMDKSXDB.js +2 -0
  465. package/__chunks__/{chunk-3AUGN4GK.js → chunk-UWC6BST6.js} +2 -2
  466. package/__chunks__/chunk-VC7QR7JJ.js +2 -0
  467. package/__chunks__/{chunk-EAVCV2HC.js → chunk-VDDAMA7J.js} +2 -2
  468. package/__chunks__/{chunk-Y75V7F7B.js → chunk-VDTIS4WM.js} +2 -2
  469. package/__chunks__/{chunk-MR4SYWNE.js → chunk-VEDEFBLI.js} +2 -2
  470. package/__chunks__/chunk-VHNZJOWW.js +2 -0
  471. package/__chunks__/{chunk-FP6XIYYC.js → chunk-VMAFIASR.js} +2 -2
  472. package/__chunks__/{chunk-PU2BYDA7.js → chunk-VR2IWDLI.js} +2 -2
  473. package/__chunks__/{chunk-6MLPR6PG.js → chunk-VS4JLG27.js} +2 -2
  474. package/__chunks__/{chunk-7UPYCBZ6.js → chunk-WANTOLNU.js} +2 -2
  475. package/__chunks__/{chunk-HFFGSWH3.js → chunk-WL4SJ6O7.js} +2 -2
  476. package/__chunks__/{chunk-QQFRZKM7.js → chunk-WNB5SPIG.js} +2 -2
  477. package/__chunks__/{chunk-NIZC4L5I.js → chunk-WOD5VURY.js} +2 -2
  478. package/__chunks__/{chunk-KFOE2PXU.js → chunk-WVDDZ46X.js} +2 -2
  479. package/__chunks__/chunk-WZJJOSSJ.js +2 -0
  480. package/__chunks__/{chunk-3WND6LDT.js → chunk-XDFKYAS4.js} +2 -2
  481. package/__chunks__/{chunk-3JCLUK2I.js → chunk-XFIVFXS7.js} +2 -2
  482. package/__chunks__/chunk-XFWZHVMQ.js +2 -0
  483. package/__chunks__/{chunk-TS5AF7EY.js → chunk-XLU57PQT.js} +2 -2
  484. package/__chunks__/{chunk-X2XA3A56.js → chunk-XPNRFI2N.js} +2 -2
  485. package/__chunks__/{chunk-TKPBSQCR.js → chunk-XRRSG3OY.js} +2 -2
  486. package/__chunks__/chunk-XV4OJIFL.js +2 -0
  487. package/__chunks__/{chunk-72C2F6UZ.js → chunk-XWHZSJJT.js} +2 -2
  488. package/__chunks__/chunk-XXUXSUJ4.js +2 -0
  489. package/__chunks__/{chunk-XFV67FRH.js → chunk-Y2KWLYWJ.js} +2 -2
  490. package/__chunks__/{chunk-LZGXW7PM.js → chunk-Y5CBJ4UZ.js} +2 -2
  491. package/__chunks__/{chunk-5RSCXZHA.js → chunk-YAQTBFIA.js} +2 -2
  492. package/__chunks__/{chunk-TLIPGQTL.js → chunk-YBY7YSWR.js} +2 -2
  493. package/__chunks__/{chunk-YEKURN6J.js → chunk-YDTZYJVI.js} +2 -2
  494. package/__chunks__/{chunk-2JPDOTNR.js → chunk-YEKZT7IZ.js} +2 -2
  495. package/__chunks__/{chunk-KLSKWBRV.js → chunk-YOHFVDSM.js} +2 -2
  496. package/__chunks__/chunk-YQIVUJQA.js +2 -0
  497. package/__chunks__/chunk-YTYIWUKN.js +2 -0
  498. package/__chunks__/{chunk-FNBY2R37.js → chunk-YV2C2SMF.js} +2 -2
  499. package/__chunks__/{chunk-HFHIABUS.js → chunk-YVYSZTE6.js} +2 -2
  500. package/__chunks__/chunk-Z4J6CMMG.js +2 -0
  501. package/__chunks__/{chunk-NRSOD4ZI.js → chunk-Z55Y6AHY.js} +2 -2
  502. package/__chunks__/{chunk-KO7DXJSF.js → chunk-Z7RBIJ6V.js} +2 -2
  503. package/__chunks__/{chunk-RNRVG3L3.js → chunk-ZBIQWJEJ.js} +2 -2
  504. package/__chunks__/{chunk-I7EFXVFW.js → chunk-ZCH5V2PI.js} +2 -2
  505. package/__chunks__/{chunk-H75EVHZJ.js → chunk-ZEG3UOZU.js} +2 -2
  506. package/__chunks__/chunk-ZLLRPBCT.js +2 -0
  507. package/__chunks__/{chunk-Z3COGUUT.js → chunk-ZPGD3DNA.js} +2 -2
  508. package/__chunks__/{chunk-UFABIQV3.js → chunk-ZWCZ77RL.js} +2 -2
  509. package/__chunks__/{chunk-JZDXCYQA.js → chunk-ZWSYHERK.js} +2 -2
  510. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +27 -27
  511. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +14 -14
  512. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +14 -14
  513. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +13 -13
  514. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.d.ts +3 -2
  515. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +5 -5
  516. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +5 -5
  517. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +3 -3
  518. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +3 -3
  519. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  520. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  521. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  522. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  523. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +13 -13
  524. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +14 -14
  525. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +18 -18
  526. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +18 -18
  527. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
  528. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
  529. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +2 -2
  530. package/__commonjs/UI/SignTransactionsModals/components/index.js +12 -12
  531. package/__commonjs/UI/SignTransactionsModals/index.js +27 -27
  532. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +1 -1
  533. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  534. package/__commonjs/UI/TransactionDetails/components/index.js +1 -1
  535. package/__commonjs/UI/TransactionDetails/index.js +1 -1
  536. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +2 -2
  537. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  538. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +3 -3
  539. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  540. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +11 -11
  541. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +4 -4
  542. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +4 -4
  543. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +3 -3
  544. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +2 -2
  545. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +2 -2
  546. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  547. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  548. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  549. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  550. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +2 -2
  551. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +4 -4
  552. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +2 -2
  553. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  554. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +3 -3
  555. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +2 -2
  556. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +3 -3
  557. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  558. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +2 -2
  559. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +3 -3
  560. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +3 -3
  561. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +3 -3
  562. package/__commonjs/UI/TransactionsToastList/components/index.js +3 -3
  563. package/__commonjs/UI/TransactionsToastList/index.js +3 -3
  564. package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  565. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  566. package/__commonjs/UI/index.js +58 -58
  567. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  568. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  569. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +5 -5
  570. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  571. package/__commonjs/UI/ledger/index.js +1 -1
  572. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  573. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  574. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  575. package/__commonjs/UI/pages/index.js +1 -1
  576. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +4 -4
  577. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +4 -4
  578. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
  579. package/__commonjs/UI/walletConnect/index.js +4 -4
  580. package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  581. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  582. package/__commonjs/__mocks__/index.js +1 -1
  583. package/__commonjs/__mocks__/utils/index.js +1 -1
  584. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  585. package/__commonjs/apiCalls/configuration/index.js +1 -1
  586. package/__commonjs/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  587. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  588. package/__commonjs/components/ProviderInitializer.js +1 -1
  589. package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +2 -2
  590. package/__commonjs/constants/index.js +1 -1
  591. package/__commonjs/hooks/index.js +1 -1
  592. package/__commonjs/hooks/login/index.js +1 -1
  593. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  594. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  595. package/__commonjs/hooks/login/useLoginService.js +1 -1
  596. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  597. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  598. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  599. package/__commonjs/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  600. package/__commonjs/hooks/transactions/helpers/buildBatchId.js +1 -1
  601. package/__commonjs/hooks/transactions/helpers/extractSessionId.js +1 -1
  602. package/__commonjs/hooks/transactions/index.js +1 -1
  603. package/__commonjs/hooks/transactions/useGetSignTransactionsError.js +1 -1
  604. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  605. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  606. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  607. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  608. package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
  609. package/__commonjs/models/index.js +1 -1
  610. package/__commonjs/models/newTransaction.js +1 -1
  611. package/__commonjs/reduxStore/commonActions.js +1 -1
  612. package/__commonjs/reduxStore/reducers.js +1 -1
  613. package/__commonjs/reduxStore/rootReducer.js +1 -1
  614. package/__commonjs/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  615. package/__commonjs/reduxStore/selectors/dappConfigSelector.js +1 -1
  616. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  617. package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  618. package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  619. package/__commonjs/reduxStore/slices/transactionsSlice.js +1 -1
  620. package/__commonjs/services/index.js +1 -1
  621. package/__commonjs/services/nativeAuth/index.js +1 -1
  622. package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  623. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  624. package/__commonjs/services/nativeAuth/nativeAuth.d.ts +3 -1
  625. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  626. package/__commonjs/services/transactions/signTransactions.js +1 -1
  627. package/__commonjs/types/login.types.d.ts +3 -0
  628. package/__commonjs/utils/operations/index.js +1 -1
  629. package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
  630. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  631. package/__commonjs/utils/transactions/parseTransactionAfterSigning.js +1 -1
  632. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  633. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  634. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  635. package/__commonjs/wrappers/AppInitializer.d.ts +8 -4
  636. package/__commonjs/wrappers/AppInitializer.js +1 -1
  637. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.d.ts +2 -1
  638. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  639. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  640. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  641. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  642. package/__commonjs/wrappers/index.js +1 -1
  643. package/__mocks__/accountConfig.js +1 -1
  644. package/__mocks__/index.js +1 -1
  645. package/__mocks__/server.js +1 -1
  646. package/__mocks__/utils/index.js +1 -1
  647. package/__mocks__/utils/renderWithProvider.js +1 -1
  648. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  649. package/apiCalls/accounts/index.js +1 -1
  650. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  651. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  652. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  653. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  654. package/apiCalls/configuration/index.js +1 -1
  655. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  656. package/apiCalls/economics/index.js +1 -1
  657. package/apiCalls/getScamAddressData.js +1 -1
  658. package/apiCalls/index.js +1 -1
  659. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  660. package/apiCalls/transactions/index.js +1 -1
  661. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  662. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  663. package/apiCalls/utils/index.js +1 -1
  664. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  665. package/components/BatchTransactionsSender/index.js +1 -1
  666. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  667. package/components/LogoutListener/LogoutListener.js +1 -1
  668. package/components/LogoutListener/helpers/index.js +1 -1
  669. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  670. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  671. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  672. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  673. package/components/LogoutListener/index.js +1 -1
  674. package/components/ProviderInitializer.js +1 -1
  675. package/components/TransactionSender/TransactionSender.js +1 -1
  676. package/components/TransactionSender/index.js +1 -1
  677. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  678. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  679. package/components/TransactionsTracker/index.js +1 -1
  680. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  681. package/constants/index.js +1 -1
  682. package/constants/network.js +1 -1
  683. package/hooks/account/index.js +1 -1
  684. package/hooks/account/useGetAccount.js +1 -1
  685. package/hooks/account/useGetAccountInfo.js +1 -1
  686. package/hooks/account/useGetAccountProvider.js +1 -1
  687. package/hooks/account/useGetIsLoggedIn.js +1 -1
  688. package/hooks/account/useGetLoginInfo.js +1 -1
  689. package/hooks/account/useGetWebsocketEvent.js +1 -1
  690. package/hooks/economics/index.js +1 -1
  691. package/hooks/economics/useGetEgldPrice.js +1 -1
  692. package/hooks/index.js +1 -1
  693. package/hooks/login/index.js +1 -1
  694. package/hooks/login/useExtensionLogin.js +1 -1
  695. package/hooks/login/useLedgerLogin.js +1 -1
  696. package/hooks/login/useLoginService.js +1 -1
  697. package/hooks/login/useOperaLogin.js +1 -1
  698. package/hooks/login/useWalletConnectV2Login.js +1 -1
  699. package/hooks/login/useWebViewLogin.js +1 -1
  700. package/hooks/login/useWebWalletLogin.js +1 -1
  701. package/hooks/signMessage/index.js +1 -1
  702. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  703. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  704. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  705. package/hooks/signMessage/useSignMessage.js +1 -1
  706. package/hooks/toasts/index.js +1 -1
  707. package/hooks/toasts/useTransactionsToasts.js +1 -1
  708. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  709. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  710. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  711. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  712. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  713. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  714. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  715. package/hooks/transactions/batch/useGetBatches.js +1 -1
  716. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  717. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  718. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  719. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  720. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  721. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  722. package/hooks/transactions/helpers/index.js +1 -1
  723. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  724. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  725. package/hooks/transactions/index.js +1 -1
  726. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  727. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  728. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  729. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  730. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  731. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  732. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  733. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  734. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  735. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  736. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  737. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  738. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  739. package/hooks/transactions/useGetTokenDetails.js +1 -1
  740. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  741. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  742. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  743. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  744. package/hooks/transactions/useSignTransactions.js +1 -1
  745. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  746. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  747. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  748. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  749. package/hooks/useGetNetworkConfig.js +1 -1
  750. package/hooks/useGetNotification.js +1 -1
  751. package/hooks/userInterface/index.js +1 -1
  752. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  753. package/hooks/websocketListener/index.js +1 -1
  754. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  755. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  756. package/models/index.js +1 -1
  757. package/models/newTransaction.js +1 -1
  758. package/package.json +2 -2
  759. package/providers/accountProvider.js +1 -1
  760. package/providers/index.js +1 -1
  761. package/providers/utils.js +1 -1
  762. package/providers/webviewProvider/index.js +1 -1
  763. package/providers/webviewProvider/requestMethods.js +1 -1
  764. package/providers/webviewProvider/webviewProvider.js +1 -1
  765. package/reduxStore/DappProviderContext.js +1 -1
  766. package/reduxStore/commonActions.js +1 -1
  767. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  768. package/reduxStore/persistConfig.js +1 -1
  769. package/reduxStore/persistedRootReducer.js +1 -1
  770. package/reduxStore/reducers.js +1 -1
  771. package/reduxStore/rootReducer.js +1 -1
  772. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  773. package/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  774. package/reduxStore/selectors/dappConfigSelector.js +1 -1
  775. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  776. package/reduxStore/selectors/helpers.js +1 -1
  777. package/reduxStore/selectors/index.js +1 -1
  778. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  779. package/reduxStore/selectors/modalsSelectors.js +1 -1
  780. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  781. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  782. package/reduxStore/selectors/toastsSelectors.js +1 -1
  783. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  784. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  785. package/reduxStore/slices/accountInfoSlice.js +1 -1
  786. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  787. package/reduxStore/slices/dappConfigSlice.js +1 -1
  788. package/reduxStore/slices/dappModalsSlice.js +1 -1
  789. package/reduxStore/slices/index.js +1 -1
  790. package/reduxStore/slices/loginInfoSlice.js +1 -1
  791. package/reduxStore/slices/modalsSlice.js +1 -1
  792. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  793. package/reduxStore/slices/toastsSlice.js +1 -1
  794. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  795. package/reduxStore/slices/transactionsSlice.js +1 -1
  796. package/reduxStore/store.js +1 -1
  797. package/services/index.js +1 -1
  798. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  799. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  800. package/services/nativeAuth/helpers/index.js +1 -1
  801. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  802. package/services/nativeAuth/index.js +1 -1
  803. package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  804. package/services/nativeAuth/methods/index.js +1 -1
  805. package/services/nativeAuth/nativeAuth.d.ts +3 -1
  806. package/services/nativeAuth/nativeAuth.js +1 -1
  807. package/services/transactions/clearTransactions.js +1 -1
  808. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  809. package/services/transactions/getTransactionsDetails.js +1 -1
  810. package/services/transactions/index.js +1 -1
  811. package/services/transactions/isCrossShardTransaction.js +1 -1
  812. package/services/transactions/sendBatchTransactions.js +1 -1
  813. package/services/transactions/sendTransactions.js +1 -1
  814. package/services/transactions/signTransactions.js +1 -1
  815. package/services/transactions/transformAndSignTransactions.js +1 -1
  816. package/services/transactions/updateSignedTransactions.js +1 -1
  817. package/services/transactions/utils.js +1 -1
  818. package/types/index.js +1 -1
  819. package/types/login.types.d.ts +3 -0
  820. package/types/login.types.js +1 -1
  821. package/utils/account/getAccount.js +1 -1
  822. package/utils/account/getAccountBalance.js +1 -1
  823. package/utils/account/getAccountProviderType.js +1 -1
  824. package/utils/account/getAccountShard.js +1 -1
  825. package/utils/account/getAddress.js +1 -1
  826. package/utils/account/getIsProviderEqualTo.js +1 -1
  827. package/utils/account/getLatestNonce.js +1 -1
  828. package/utils/account/getShardOfAddress.js +1 -1
  829. package/utils/account/index.js +1 -1
  830. package/utils/account/loginWithExternalProvider.js +1 -1
  831. package/utils/account/refreshAccount.js +1 -1
  832. package/utils/account/setNonce.js +1 -1
  833. package/utils/account/signMessage.js +1 -1
  834. package/utils/getIsLoggedIn.js +1 -1
  835. package/utils/index.js +1 -1
  836. package/utils/logout.js +1 -1
  837. package/utils/network/getChainID.js +1 -1
  838. package/utils/network/getEgldLabel.js +1 -1
  839. package/utils/network/getNetworkConfig.js +1 -1
  840. package/utils/network/index.js +1 -1
  841. package/utils/operations/calculateFeeInFiat.js +1 -1
  842. package/utils/operations/calculateFeeLimit.js +1 -1
  843. package/utils/operations/denominate.js +1 -1
  844. package/utils/operations/formatAmount.js +1 -1
  845. package/utils/operations/index.js +1 -1
  846. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  847. package/utils/operations/ledger/index.js +1 -1
  848. package/utils/operations/nominate.js +1 -1
  849. package/utils/operations/parseAmount.js +1 -1
  850. package/utils/smartContracts.js +1 -1
  851. package/utils/toasts/customToastsActions.js +1 -1
  852. package/utils/toasts/index.js +1 -1
  853. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  854. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  855. package/utils/transactions/getAllTransactionsLink.js +1 -1
  856. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  857. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  858. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  859. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  860. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  861. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  862. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  863. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  864. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  865. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  866. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  867. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  868. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  869. package/utils/transactions/getTransactionLink.js +1 -1
  870. package/utils/transactions/index.js +1 -1
  871. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  872. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  873. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  874. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  875. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  876. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  877. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  878. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  879. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  880. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  881. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  882. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  883. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  884. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  885. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  886. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  887. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  888. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  889. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  890. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  891. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  892. package/utils/validation/index.js +1 -1
  893. package/utils/validation/maxDecimals.js +1 -1
  894. package/utils/validation/stringIsFloat.js +1 -1
  895. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  896. package/web/hooks/index.js +1 -1
  897. package/web/hooks/useIdleTimer.js +1 -1
  898. package/web/index.js +1 -1
  899. package/wrappers/AppInitializer.d.ts +8 -4
  900. package/wrappers/AppInitializer.js +1 -1
  901. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.d.ts +2 -1
  902. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  903. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  904. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  905. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  906. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  907. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  908. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  909. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  910. package/wrappers/DappProvider/CustomComponents.js +1 -1
  911. package/wrappers/DappProvider/DappProvider.js +1 -1
  912. package/wrappers/DappProvider/index.js +1 -1
  913. package/wrappers/index.js +1 -1
  914. package/__chunks__/chunk-3TAA4Y55.js +0 -2
  915. package/__chunks__/chunk-57TF2K5F.js +0 -2
  916. package/__chunks__/chunk-5BQQ6N4B.js +0 -2
  917. package/__chunks__/chunk-5GBIOPEB.js +0 -2
  918. package/__chunks__/chunk-67YQWA6A.js +0 -2
  919. package/__chunks__/chunk-73UZEGRD.js +0 -2
  920. package/__chunks__/chunk-AGAJYSCW.js +0 -2
  921. package/__chunks__/chunk-AKXCE7TP.js +0 -2
  922. package/__chunks__/chunk-AQWBPIIR.js +0 -2
  923. package/__chunks__/chunk-AYDFOJNV.js +0 -2
  924. package/__chunks__/chunk-BEVI5I6K.js +0 -2
  925. package/__chunks__/chunk-C6TKUT5B.js +0 -2
  926. package/__chunks__/chunk-CXHYXO3L.js +0 -2
  927. package/__chunks__/chunk-DI77O3ER.js +0 -2
  928. package/__chunks__/chunk-DOYUVMDB.js +0 -2
  929. package/__chunks__/chunk-E3YJCAFJ.js +0 -2
  930. package/__chunks__/chunk-EDOTBOIG.js +0 -2
  931. package/__chunks__/chunk-FD2IBVFL.js +0 -2
  932. package/__chunks__/chunk-GDJUYBJN.js +0 -2
  933. package/__chunks__/chunk-GPSZHD4E.js +0 -2
  934. package/__chunks__/chunk-GVWI3IJA.js +0 -2
  935. package/__chunks__/chunk-H6QUZNYL.js +0 -2
  936. package/__chunks__/chunk-H7AY4LJU.js +0 -2
  937. package/__chunks__/chunk-HXADLPX7.js +0 -2
  938. package/__chunks__/chunk-HYEPXACG.js +0 -2
  939. package/__chunks__/chunk-ICK6X25D.js +0 -2
  940. package/__chunks__/chunk-IMKRBQP6.js +0 -2
  941. package/__chunks__/chunk-IOPAOK6S.js +0 -2
  942. package/__chunks__/chunk-IOTIZ6PB.js +0 -2
  943. package/__chunks__/chunk-LC6KL5LB.js +0 -2
  944. package/__chunks__/chunk-LYSDRINL.js +0 -2
  945. package/__chunks__/chunk-N3XXBVL4.js +0 -2
  946. package/__chunks__/chunk-N5FUBV6K.js +0 -2
  947. package/__chunks__/chunk-NUPZBRJJ.js +0 -2
  948. package/__chunks__/chunk-NWGSJHJM.js +0 -2
  949. package/__chunks__/chunk-NXXHP3HG.js +0 -2
  950. package/__chunks__/chunk-OANN2DSY.js +0 -2
  951. package/__chunks__/chunk-OLFYSXKP.js +0 -2
  952. package/__chunks__/chunk-OUS7WFIV.js +0 -2
  953. package/__chunks__/chunk-OW6JZVL2.js +0 -2
  954. package/__chunks__/chunk-Q2KDNTOL.js +0 -2
  955. package/__chunks__/chunk-QGIARIH3.js +0 -2
  956. package/__chunks__/chunk-RBBF6IPL.js +0 -2
  957. package/__chunks__/chunk-RJJS24BM.js +0 -2
  958. package/__chunks__/chunk-RMMVTO3F.js +0 -2
  959. package/__chunks__/chunk-RV76JITB.js +0 -2
  960. package/__chunks__/chunk-RXUBF4NZ.js +0 -2
  961. package/__chunks__/chunk-SYJSPEIV.js +0 -2
  962. package/__chunks__/chunk-UH2MOGOM.js +0 -2
  963. package/__chunks__/chunk-VHTGEB7R.js +0 -2
  964. package/__chunks__/chunk-VP7K5EPO.js +0 -2
  965. package/__chunks__/chunk-WOJZP5GS.js +0 -2
  966. package/__chunks__/chunk-WRJQMF3Q.js +0 -2
  967. package/__chunks__/chunk-WRN6U5SY.js +0 -2
  968. package/__chunks__/chunk-WWYZM6K6.js +0 -2
  969. package/__chunks__/chunk-XKFPTVWI.js +0 -2
  970. package/__chunks__/chunk-XTQOQV33.js +0 -2
  971. package/__chunks__/chunk-YF5HGSGZ.js +0 -2
  972. package/__chunks__/chunk-YIWG2FUM.js +0 -2
  973. package/__chunks__/chunk-YSRNCDRZ.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Hi=Object.create;var be=Object.defineProperty,ji=Object.defineProperties,qi=Object.getOwnPropertyDescriptor,zi=Object.getOwnPropertyDescriptors,Ki=Object.getOwnPropertyNames,Ve=Object.getOwnPropertySymbols,Yi=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable;var Lr=(e,t,r)=>t in e?be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&Lr(e,r,t[r]);if(Ve)for(var r of Ve(t))Nr.call(t,r)&&Lr(e,r,t[r]);return e},I=(e,t)=>ji(e,zi(t));var Dr=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ve)for(var o of Ve(e))t.indexOf(o)<0&&Nr.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},Rr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ki(t))!Rt.call(e,i)&&i!==r&&be(e,i,{get:()=>t[i],enumerable:!(o=qi(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Hi(Yi(e)):{},Rr(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),Ae=e=>Rr(be({},"__esModule",{value:!0}),e);var N=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(f){i(f)}},p=m=>{try{d(r.throw(m))}catch(f){i(f)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var _r=C($e=>{"use strict";n();$e.byteLength=Zi;$e.toByteArray=Qi;$e.fromByteArray=rs;var V=[],_=[],Xi=typeof Uint8Array!="undefined"?Uint8Array:Array,Pt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ie=0,Pr=Pt.length;ie<Pr;++ie)V[ie]=Pt[ie],_[Pt.charCodeAt(ie)]=ie;var ie,Pr;_["-".charCodeAt(0)]=62;_["_".charCodeAt(0)]=63;function Cr(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 Zi(e){var t=Cr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Ji(e,t,r){return(t+r)*3/4-r}function Qi(e){var t,r=Cr(e),o=r[0],i=r[1],l=new Xi(Ji(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=_[e.charCodeAt(m)]<<18|_[e.charCodeAt(m+1)]<<12|_[e.charCodeAt(m+2)]<<6|_[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=_[e.charCodeAt(m)]<<2|_[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=_[e.charCodeAt(m)]<<10|_[e.charCodeAt(m+1)]<<4|_[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function es(e){return V[e>>18&63]+V[e>>12&63]+V[e>>6&63]+V[e&63]}function ts(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(es(o));return i.join("")}function rs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(ts(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(V[t>>2]+V[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(V[t>>10]+V[t>>4&63]+V[t<<2&63]+"=")),i.join("")}});var Or=C(Ct=>{n();Ct.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,f=m>>1,x=-7,y=r?i-1:0,A=r?-1:1,k=e[t+y];for(y+=A,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+y],y+=A,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+y],y+=A,x-=8);if(l===0)l=1-f;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-f}return(k?-1:1)*p*Math.pow(2,l-o)};Ct.write=function(e,t,r,o,i,l){var p,d,m,f=l*8-i-1,x=(1<<f)-1,y=x>>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,E=o?1:-1,re=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=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+y>=1?t+=A/m:t+=A*Math.pow(2,1-y),t*m>=2&&(p++,m/=2),p+y>=x?(d=0,p=x):p+y>=1?(d=(t*m-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+k]=d&255,k+=E,d/=256,i-=8);for(p=p<<i|d,f+=i;f>0;e[r+k]=p&255,k+=E,p/=256,f-=8);e[r+k-E]|=re*128}});var Kr=C(fe=>{"use strict";n();var _t=_r(),ge=Or(),Mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=cs;fe.INSPECT_MAX_BYTES=50;var Ge=2147483647;fe.kMaxLength=Ge;u.TYPED_ARRAY_SUPPORT=ns();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ns(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function Y(e){if(e>Ge)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Bt(e)}return Ur(e,t,r)}u.poolSize=8192;function Ur(e,t,r){if(typeof e=="string")return is(e,t);if(ArrayBuffer.isView(e))return ss(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return Mt(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 u.from(o,t,r);var i=as(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Ur(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Vr(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 os(e,t,r){return Vr(e),e<=0?Y(e):t!==void 0?typeof r=="string"?Y(e).fill(t,r):Y(e).fill(t):Y(e)}u.alloc=function(e,t,r){return os(e,t,r)};function Bt(e){return Vr(e),Y(e<0?0:Ut(e)|0)}u.allocUnsafe=function(e){return Bt(e)};u.allocUnsafeSlow=function(e){return Bt(e)};function is(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=$r(e,t)|0,o=Y(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ot(e){for(var t=e.length<0?0:Ut(e.length)|0,r=Y(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function ss(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return Mt(t.buffer,t.byteOffset,t.byteLength)}return Ot(e)}function Mt(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,u.prototype),o}function as(e){if(u.isBuffer(e)){var t=Ut(e.length)|0,r=Y(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Vt(e.length)?Y(0):Ot(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ot(e.data)}function Ut(e){if(e>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return e|0}function cs(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var 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};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function $r(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,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 Ft(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return zr(e).length;default:if(i)return o?-1:Ft(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=$r;function ls(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 xs(this,t,r);case"utf8":case"utf-8":return Wr(this,t,r);case"ascii":return ys(this,t,r);case"latin1":case"binary":return hs(this,t,r);case"base64":return fs(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ss(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function se(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)se(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)se(this,r,r+3),se(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)se(this,r,r+7),se(this,r+1,r+6),se(this,r+2,r+5),se(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Wr(this,0,t):ls.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Mr&&(u.prototype[Mr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),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,m=Math.min(p,d),f=this.slice(i,l),x=t.slice(r,o),y=0;y<m;++y)if(f[y]!==x[y]){p=f[y],d=x[y];break}return p<d?-1:d<p?1:0};function Gr(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,Vt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Fr(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):Fr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Fr(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 m(k,E){return l===1?k[E]:k.readUInt16BE(E*l)}var f;if(i){var x=-1;for(f=r;f<p;f++)if(m(e,f)===m(t,x===-1?0:f-x)){if(x===-1&&(x=f),f-x+1===d)return x*l}else x!==-1&&(f-=f-x),x=-1}else for(r+d>p&&(r=p-d),f=r;f>=0;f--){for(var y=!0,A=0;A<d;A++)if(m(e,f+A)!==m(t,A)){y=!1;break}if(y)return f}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Gr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Gr(this,t,r,o,!1)};function ps(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(Vt(d))return p;e[r+p]=d}return p}function us(e,t,r,o){return We(Ft(t,e.length-r),e,r,o)}function ds(e,t,r,o){return We(bs(t),e,r,o)}function ms(e,t,r,o){return We(zr(t),e,r,o)}function gs(e,t,r,o){return We(As(t,e.length-r),e,r,o)}u.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 ps(this,t,r,o);case"utf8":case"utf-8":return us(this,t,r,o);case"ascii":case"latin1":case"binary":return ds(this,t,r,o);case"base64":return ms(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gs(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fs(e,t,r){return t===0&&r===e.length?_t.fromByteArray(e):_t.fromByteArray(e.slice(t,r))}function Wr(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 m,f,x,y;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(y=(l&31)<<6|m&63,y>127&&(p=y));break;case 3:m=e[i+1],f=e[i+2],(m&192)===128&&(f&192)===128&&(y=(l&15)<<12|(m&63)<<6|f&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:m=e[i+1],f=e[i+2],x=e[i+3],(m&192)===128&&(f&192)===128&&(x&192)===128&&(y=(l&15)<<18|(m&63)<<12|(f&63)<<6|x&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 Ts(o)}var Br=4096;function Ts(e){var t=e.length;if(t<=Br)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Br));return r}function ys(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 hs(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 xs(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+=vs[e[l]];return i}function Ss(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}u.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,u.prototype),i};function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||L(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),ge.read(this,t,!1,52,8)};function D(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.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;D(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};u.prototype.writeUintBE=u.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;D(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};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);D(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);D(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Hr(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 jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return jr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return jr(this,t,r,!1,o)};function qr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return qr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return qr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.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};u.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"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<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=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var ws=/[^+/0-9A-Za-z-_]/g;function Is(e){if(e=e.split("=")[0],e=e.trim().replace(ws,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ft(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 bs(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function As(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 zr(e){return _t.toByteArray(Is(e))}function We(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 $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Vt(e){return e!==e}var vs=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 Qr=C((rl,Jr)=>{n();var b=Jr.exports={},G,W;function $t(){throw new Error("setTimeout has not been defined")}function Gt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?G=setTimeout:G=$t}catch(e){G=$t}try{typeof clearTimeout=="function"?W=clearTimeout:W=Gt}catch(e){W=Gt}})();function Yr(e){if(G===setTimeout)return setTimeout(e,0);if((G===$t||!G)&&setTimeout)return G=setTimeout,setTimeout(e,0);try{return G(e,0)}catch(t){try{return G.call(null,e,0)}catch(r){return G.call(this,e,0)}}}function Es(e){if(W===clearTimeout)return clearTimeout(e);if((W===Gt||!W)&&clearTimeout)return W=clearTimeout,clearTimeout(e);try{return W(e)}catch(t){try{return W.call(null,e)}catch(r){return W.call(this,e)}}}var X=[],Te=!1,ae,He=-1;function ks(){!Te||!ae||(Te=!1,ae.length?X=ae.concat(X):He=-1,X.length&&Xr())}function Xr(){if(!Te){var e=Yr(ks);Te=!0;for(var t=X.length;t;){for(ae=X,X=[];++He<t;)ae&&ae[He].run();He=-1,t=X.length}ae=null,Te=!1,Es(e)}}b.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];X.push(new Zr(e,t)),X.length===1&&!Te&&Yr(Xr)};function Zr(e,t){this.fun=e,this.array=t}Zr.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function Z(){}b.on=Z;b.addListener=Z;b.once=Z;b.off=Z;b.removeListener=Z;b.removeAllListeners=Z;b.emit=Z;b.prependListener=Z;b.prependOnceListener=Z;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var s,c,Ls,a,n=T(()=>{s=S(Kr()),c=S(Qr()),Ls=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),a=Ls});var en=T(()=>{"use strict";n()});var tn=T(()=>{"use strict";n()});var rn=T(()=>{"use strict";n()});var nn=T(()=>{"use strict";n()});var H=T(()=>{"use strict";n()});var on=T(()=>{"use strict";n()});var sn=T(()=>{"use strict";n()});var R=T(()=>{"use strict";n()});var an=T(()=>{"use strict";n()});var cn=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var O=T(()=>{"use strict";n();tn();rn();nn();H();on();sn();R();an();cn();ln()});var Wt,pn,Il,un,bl,dn,Al,vl,El,mn=T(()=>{"use strict";n();O();Wt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:pn,egldLabel:Il}=Wt["devnet"],{chainId:un,egldLabel:bl}=Wt["testnet"],{chainId:dn,egldLabel:Al}=Wt["mainnet"],vl={["devnet"]:pn,["testnet"]:un,["mainnet"]:dn},El={[pn]:"devnet",[un]:"testnet",[dn]:"mainnet"}});var Ht=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n()});var fn,jt=T(()=>{"use strict";n();fn="transaction-status-toast-id"});var j,Tn=T(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var yn=T(()=>{"use strict";n()});var hn=T(()=>{"use strict";n()});var qt,zt,xn,je,Sn,ye,w=T(()=>{"use strict";n();en();mn();Ht();gn();jt();Tn();yn();hn();qt=5e4,zt=1e9,xn=1,je="logout",Sn="login",ye="0"});var he,qe=T(()=>{"use strict";n();he=()=>Date.now()/1e3});var wn=T(()=>{"use strict";n()});var In=T(()=>{"use strict";n()});var bn=T(()=>{"use strict";n();qe();wn();In()});var Yt={};oe(Yt,{getItem:()=>Ds,localStorageKeys:()=>ce,removeItem:()=>Rs,setItem:()=>Ns});var ce,Kt,Ns,Ds,Rs,ve=T(()=>{"use strict";n();bn();ce={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Kt=typeof localStorage!="undefined",Ns=({key:e,data:t,expires:r})=>{!Kt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ds=e=>{if(!Kt)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:he()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Rs=e=>{!Kt||localStorage.removeItem(String(e))}});var Xt={};oe(Xt,{clear:()=>kn,getItem:()=>vn,removeItem:()=>En,setItem:()=>An,storage:()=>Ps});var An,vn,En,kn,Ps,Ln=T(()=>{"use strict";n();An=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},vn=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},En=e=>sessionStorage.removeItem(String(e)),kn=()=>sessionStorage.clear(),Ps={setItem:An,getItem:vn,removeItem:En,clear:kn}});var xe,ze=T(()=>{"use strict";n();ve();Ln();xe={session:Xt,local:Yt}});var Zt,v,Ke,F=T(()=>{"use strict";n();Zt=require("@reduxjs/toolkit");w();v=(0,Zt.createAction)(je),Ke=(0,Zt.createAction)(Sn,e=>({payload:e}))});var Qt,Nn,Dn,Ye,Jt,Rn,Pn,sp,Cn,ap,cp,lp,pp,up,dp,mp,gp,Xe,Ze=T(()=>{"use strict";n();Qt=require("@multiversx/sdk-core"),Nn=require("@reduxjs/toolkit"),Dn=require("redux-persist");w();ze();ve();F();Ye={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ye},Jt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ye},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Rn=(0,Nn.createSlice)({name:"accountInfoSlice",initialState:Jt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Qt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ye},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}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(v,()=>(xe.local.removeItem(ce.loginExpiresAt),Jt)),e.addCase(Ke,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Qt.Address(o).hex()}),e.addCase(Dn.REHYDRATE,(t,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:Jt.accounts,t.publicKey=d})}}),{setAccount:Pn,setAddress:sp,setAccountNonce:Cn,setAccountShard:ap,setLedgerAccount:cp,updateLedgerAccount:lp,setWalletConnectAccount:pp,setIsAccountLoading:up,setAccountLoadingError:dp,setWebsocketEvent:mp,setWebsocketBatchEvent:gp}=Rn.actions,Xe=Rn.reducer});function Ee(){return new Date().setHours(new Date().getHours()+24)}function ke(e){xe.local.setItem({key:ce.loginExpiresAt,data:e,expires:e})}var er=T(()=>{"use strict";n();ze();ve()});var Mn,_n,Fn,Ap,vp,Ep,Je,kp,Lp,Bn,Np,Qe,et=T(()=>{"use strict";n();Mn=require("@reduxjs/toolkit");er();H();F();_n={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Fn=(0,Mn.createSlice)({name:"loginInfoSlice",initialState:_n,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(v,()=>_n),e.addCase(Ke,(t,r)=>{t.loginMethod=r.payload.loginMethod,ke(Ee())})}}),{setLoginMethod:Ap,setWalletConnectLogin:vp,setLedgerLogin:Ep,setTokenLogin:Je,setTokenLoginSignature:kp,setWalletLogin:Lp,invalidateLoginSession:Bn,setLogoutRoute:Np}=Fn.actions,Qe=Fn.reducer});var Vn,Un,$n,Cp,_p,Op,Mp,tt,rt=T(()=>{"use strict";n();Vn=require("@reduxjs/toolkit");F();Un={},$n=(0,Vn.createSlice)({name:"modalsSlice",initialState:Un,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(v,()=>Un)}}),{setTxSubmittedModal:Cp,setNotificationModal:_p,clearTxSubmittedModal:Op,clearNotificationModal:Mp}=$n.actions,tt=$n.reducer});var Gn=T(()=>{"use strict";n()});var Wn=T(()=>{"use strict";n();Gn()});function Hn(e){return e[Math.floor(Math.random()*e.length)]}var jn=T(()=>{"use strict";n()});var qn=T(()=>{"use strict";n();Ht()});var zn=T(()=>{"use strict";n();Wn();jn();qn()});var Kn,Yn,tr,Cs,Xn,Jp,Qp,nt,ot=T(()=>{"use strict";n();Kn=require("@reduxjs/toolkit"),Yn=S(require("lodash.omit"));zn();tr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Cs={network:tr,chainID:"-1"},Xn=(0,Kn.createSlice)({name:"appConfig",initialState:Cs,reducers:{initializeNetworkConfig:(e,t)=>{let r=Hn(t.payload.walletConnectV2RelayAddresses),o=(0,Yn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=I(h(h({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Jp,setChainID:Qp}=Xn.actions,nt=Xn.reducer});var Zn,rr,Jn,iu,su,au,it,st=T(()=>{"use strict";n();Zn=require("@reduxjs/toolkit");O();F();rr={isSigning:!1,signedSessions:{}},Jn=(0,Zn.createSlice)({name:"signedMessageInfoSliceState",initialState:rr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=o},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>rr},extraReducers:e=>{e.addCase(v,()=>rr)}}),{setSignSession:iu,clearSignedMessageInfo:su,setSignSessionState:au}=Jn.actions,it=Jn.reducer});var eo,to,Qn,ro,fu,Tu,yu,hu,xu,Su,at,ct=T(()=>{"use strict";n();eo=require("@reduxjs/toolkit"),to=require("redux-persist");jt();O();qe();F();Qn={customToasts:[],transactionToasts:[],failTransactionToast:null},ro=(0,eo.createSlice)({name:"toastsSlice",initialState:Qn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(I(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:he(),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=I(h({},t.payload),{toastId:fn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(v,()=>Qn),e.addCase(to.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:fu,removeCustomToast:Tu,addTransactionToast:yu,removeTransactionToast:hu,addFailTransactionToast:xu,removeFailTransactionToast:Su}=ro.actions,at=ro.reducer});var no,or,ir,sr,_s,nr,oo,Au,vu,Eu,lt,pt=T(()=>{"use strict";n();no=require("@reduxjs/toolkit");F();or="Transaction failed",ir="Transaction successful",sr="Processing transaction",_s="Transaction submitted",nr={},oo=(0,no.createSlice)({name:"transactionsInfo",initialState:nr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||or,successMessage:(o==null?void 0:o.successMessage)||ir,processingMessage:(o==null?void 0:o.processingMessage)||sr,submittedMessage:(o==null?void 0:o.submittedMessage)||_s,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>nr},extraReducers:e=>{e.addCase(v,()=>nr)}}),{clearTransactionsInfo:Au,setTransactionsDisplayInfo:vu,clearTransactionsInfoForSessionId:Eu}=oo.actions,lt=oo.reducer});function io(e){return e!=null&&(js(e)||Xs(e))}function ut(e){return e!=null&&(qs(e)||Zs(e))}function dt(e){return e!=null&&(zs(e)||Js(e))}function so(e){return e!=null&&(Ks(e)||Qs(e))}function ao(e){return e!=null&&Ys(e)}function js(e){return e!=null&&Ms.includes(e)}function qs(e){return e!=null&&Fs.includes(e)}function zs(e){return e!=null&&Bs.includes(e)}function Ks(e){return e!=null&&Us.includes(e)}function Ys(e){return e!=null&&Vs.includes(e)}function Xs(e){return e!=null&&$s.includes(e)}function Zs(e){return e!=null&&Gs.includes(e)}function Js(e){return e!=null&&Ws.includes(e)}function Qs(e){return e!=null&&Hs.includes(e)}var Ms,Fs,Bs,Us,Vs,$s,Gs,Ws,Hs,cr=T(()=>{"use strict";n();H();Ms=["sent"],Fs=["success"],Bs=["fail","cancelled","timedOut"],Us=["invalid"],Vs=["timedOut"],$s=["pending"],Gs=["success"],Ws=["fail","invalid"],Hs=["not executed"]});var co,lo,Le,ea,po,Ou,Mu,Fu,Bu,Uu,Vu,$u,Gu,Wu,Hu,mt,gt=T(()=>{"use strict";n();co=require("@reduxjs/toolkit"),lo=require("redux-persist");H();cr();F();Le={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ea={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},po=(0,co.createSlice)({name:"transactionsSlice",initialState:Le,reducers:{moveTransactionsToSignedState:(e,t)=>{var f,x;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d={}}=t.payload,m=((f=e.customTransactionInformationForSessionId)==null?void 0:f[r])||ea;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:h(h({},m),d)},((x=e==null?void 0:e.transactionsToSign)==null?void 0:x.sessionId)===r&&(e.transactionsToSign=Le.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 m,f,x,y,A,k,E,re;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,inTransit:p}=t.payload,d=(f=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:f.transactions;if(d!=null){e.signedTransactions[r].transactions=d.map(K=>K.hash===l?I(h({},K),{status:o,errorMessage:i,inTransit:p}):K);let U=(y=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:y.every(K=>ut(K.status)),Ie=(k=(A=e.signedTransactions[r])==null?void 0:A.transactions)==null?void 0:k.every(K=>dt(K.status)),Dt=(re=(E=e.signedTransactions[r])==null?void 0:E.transactions)==null?void 0:re.every(K=>so(K.status));U&&(e.signedTransactions[r].status="success"),Ie&&(e.signedTransactions[r].status="fail"),Dt&&(e.signedTransactions[r].status="invalid")}},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=Le.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Le.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>Le),e.addCase(lo.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,[m,f])=>{let x=new Date(m),y=new Date;return y.setHours(y.getHours()+5),y-x>0||(d[m]=f),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Ou,updateSignedTransactions:Mu,setTransactionsToSign:Fu,clearAllTransactionsToSign:Bu,clearAllSignedTransactions:Uu,clearSignedTransaction:Vu,clearTransactionToSign:$u,setSignTransactionsError:Gu,setSignTransactionsCancelMessage:Wu,moveTransactionsToSignedState:Hu}=po.actions,mt=po.reducer});var uo,lr,mo,Ku,Yu,Xu,Zu,ft,Tt=T(()=>{"use strict";n();uo=require("@reduxjs/toolkit");F();lr={},mo=(0,uo.createSlice)({name:"batchTransactionsSlice",initialState:lr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>lr},extraReducers:e=>{e.addCase(v,()=>lr)}}),{setBatchTransactions:Ku,updateBatchTransactions:Yu,clearBatchTransactions:Xu,clearAllBatchTransactions:Zu}=mo.actions,ft=mo.reducer});var fo,go,To,td,yo,pr=T(()=>{"use strict";n();fo=require("@reduxjs/toolkit");F();go={},To=(0,fo.createSlice)({name:"dappConfigSlice",initialState:go,reducers:{setDappConfig:(e,t)=>{if(e&&t.payload){let{logoutRoute:r,shouldUseWebViewProvider:o}=t.payload;e.logoutRoute=r,e.shouldUseWebViewProvider=o}else e=t.payload}},extraReducers:e=>{e.addCase(v,()=>go)}}),{setDappConfig:td}=To.actions,yo=To.reducer});var le=T(()=>{"use strict";n();Ze();et();rt();ot();st();ct();pt();gt();Tt();pr()});var ur=T(()=>{"use strict";n()});var Io,wo,bo,kd,Ld,Nd,Dd,Rd,Pd,Ao,vo=T(()=>{"use strict";n();Io=require("@reduxjs/toolkit");F();wo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},bo=(0,Io.createSlice)({name:"dappModalsSlice",initialState:wo,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(v,()=>wo)}}),{setDappModalVisibility:kd,setDappModalHeaderVisibility:Ld,setDappModalFooterVisibility:Nd,setDappModalHeaderText:Dd,setDappModalFooterText:Rd,setDappModalConfig:Pd}=bo.actions,Ao=bo.reducer});var Eo,oa,ia,pe,St=T(()=>{"use strict";n();Eo=require("@reduxjs/toolkit");ur();Ze();Tt();pr();vo();et();rt();ot();st();ct();pt();gt();oa={["account"]:Xe,["dappModal"]:Ao,["dappConfig"]:yo,["loginInfo"]:Qe,["modals"]:tt,["networkConfig"]:nt,["signedMessageInfo"]:it,["toasts"]:at,["transactionsInfo"]:lt,["transactions"]:mt,["batchTransactions"]:ft},ia=(e={})=>(0,Eo.combineReducers)(h(h({},oa),e)),pe=ia});var Do={};oe(Do,{default:()=>wa,sessionStorageReducers:()=>dr});function J(e,t=[]){return{key:e,version:1,storage:Lo.default,blacklist:t}}var P,ko,Lo,sa,De,aa,ca,la,pa,ua,da,ma,ga,fa,Ta,No,ya,dr,ha,xa,Sa,wa,Ro=T(()=>{"use strict";n();P=require("redux-persist"),ko=S(require("redux-persist/lib/storage")),Lo=S(require("redux-persist/lib/storage/session"));St();le();Ze();Tt();et();rt();ot();st();ct();pt();gt();ur();sa={persistReducersStorageType:"localStorage"},De={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},aa=J(De["account"]),ca=J(De["loginInfo"]),la=J(De["modals"]),pa=J(De["networkConfig"]),ua={2:e=>I(h({},e),{networkConfig:tr})};da=J("sdk-dapp-transactionsInfo"),ma=J("sdk-dapp-transactions",["transactionsToSign"]),ga=J("sdk-dapp-batchTransactions",["batchTransactions"]),fa=J("sdk-dapp-toasts"),Ta=J("sdk-dapp-signedMessageInfo"),No={key:"sdk-dapp-store",version:2,storage:ko.default,whitelist:Object.keys(De),migrate:(0,P.createMigrate)(ua,{debug:!1})},ya=I(h({},No),{whitelist:[]}),dr={["toasts"]:(0,P.persistReducer)(fa,at),["transactions"]:(0,P.persistReducer)(ma,mt),["transactionsInfo"]:(0,P.persistReducer)(da,lt),["batchTransactions"]:(0,P.persistReducer)(ga,ft),["signedMessageInfo"]:(0,P.persistReducer)(Ta,it)},ha=I(h({},dr),{["account"]:(0,P.persistReducer)(aa,Xe),["loginInfo"]:(0,P.persistReducer)(ca,Qe),["modals"]:(0,P.persistReducer)(la,tt),["networkConfig"]:(0,P.persistReducer)(pa,nt)}),xa=sa.persistReducersStorageType==="localStorage",Sa=xa?(0,P.persistReducer)(No,pe(dr)):(0,P.persistReducer)(ya,pe(ha)),wa=Sa});var Po={};oe(Po,{default:()=>Ia});var Ia,Co=T(()=>{"use strict";n();St();Ia=pe()});var _o={};oe(_o,{default:()=>Aa});var M,ba,Aa,Oo=T(()=>{"use strict";n();M=require("redux-persist"),ba=[M.FLUSH,M.REHYDRATE,M.PAUSE,M.PERSIST,M.PURGE,M.REGISTER],Aa=ba});var Bo={};oe(Bo,{default:()=>Fo});function Fo(e){return(0,Mo.persistStore)(e)}var Mo,Uo=T(()=>{"use strict";n();Mo=require("redux-persist")});var Ti=C((II,fi)=>{n();var Ac=typeof a=="object"&&a&&a.Object===Object&&a;fi.exports=Ac});var hi=C((bI,yi)=>{n();var vc=Ti(),Ec=typeof self=="object"&&self&&self.Object===Object&&self,kc=vc||Ec||Function("return this")();yi.exports=kc});var Er=C((AI,xi)=>{n();var Lc=hi(),Nc=Lc.Symbol;xi.exports=Nc});var bi=C((vI,Ii)=>{n();var Si=Er(),wi=Object.prototype,Dc=wi.hasOwnProperty,Rc=wi.toString,Fe=Si?Si.toStringTag:void 0;function Pc(e){var t=Dc.call(e,Fe),r=e[Fe];try{e[Fe]=void 0;var o=!0}catch(l){}var i=Rc.call(e);return o&&(t?e[Fe]=r:delete e[Fe]),i}Ii.exports=Pc});var vi=C((EI,Ai)=>{n();var Cc=Object.prototype,_c=Cc.toString;function Oc(e){return _c.call(e)}Ai.exports=Oc});var Ni=C((kI,Li)=>{n();var Ei=Er(),Mc=bi(),Fc=vi(),Bc="[object Null]",Uc="[object Undefined]",ki=Ei?Ei.toStringTag:void 0;function Vc(e){return e==null?e===void 0?Uc:Bc:ki&&ki in Object(e)?Mc(e):Fc(e)}Li.exports=Vc});var Ri=C((LI,Di)=>{n();var $c=Array.isArray;Di.exports=$c});var Ci=C((NI,Pi)=>{n();function Gc(e){return e!=null&&typeof e=="object"}Pi.exports=Gc});var Oi=C((DI,_i)=>{n();var Wc=Ni(),Hc=Ri(),jc=Ci(),qc="[object String]";function zc(e){return typeof e=="string"||!Hc(e)&&jc(e)&&Wc(e)==qc}_i.exports=zc});var Zc={};oe(Zc,{useLoginService:()=>Xc});module.exports=Ae(Zc);n();var Wi=require("react"),Nt=require("@multiversx/sdk-core");n();n();n();var jo=require("react"),Se=require("react-redux");n();var mr=require("@reduxjs/toolkit"),Wo=require("react-redux/lib/utils/Subscription");le();n();var xo=S(require("lodash.throttle"));w();n();var ho=S(require("lodash.isequal")),yt=require("reselect");O();var g=(0,yt.createSelectorCreator)(yt.defaultMemoize,ho.default),Ne=(e,t)=>e!=""&&Boolean(t);le();er();ze();ve();var ta=[je],ht=!1,ra=(0,xo.default)(()=>{ke(Ee())},5e3),So=e=>t=>r=>{var m;if(ta.includes(r.type))return t(r);let o=e.getState(),i=xe.local.getItem(ce.loginExpiresAt);if(!Ne((m=o==null?void 0:o.loginInfo)==null?void 0:m.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ke(Ee());let p=Date.now();return i-p<0&&!ht?setTimeout(()=>{ht=!0,e.dispatch(Bn())},1e3):(ht&&(ht=!1),ra()),t(r)};n();n();function xt(){return typeof sessionStorage!="undefined"}var Vo=xt()?(Ro(),Ae(Do)).default:(Co(),Ae(Po)).default,$o=xt()?(Oo(),Ae(_o)).default:[],Go=xt()?(Uo(),Ae(Bo)).default:e=>e;St();var ne=(0,mr.configureStore)({reducer:Vo,middleware:e=>e({serializableCheck:{ignoredActions:[...$o,Cn.type,Pn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(So)}),Ho=(0,Wo.createSubscription)(ne),dm=Go(ne),mm=(0,mr.configureStore)({reducer:pe});var va={store:ne,subscription:Ho},gr=(0,jo.createContext)(va),ym=(0,Se.createStoreHook)(gr),qo=(0,Se.createDispatchHook)(gr),Q=(0,Se.createSelectorHook)(gr);n();n();le();var q=e=>e.account,fr=g(q,e=>e.address),Re=g(q,fr,(e,t)=>t in e.accounts?e.accounts[t]:Ye),Ea=g(q,Re,(e,t)=>{let i=e,{accounts:r}=i,o=Dr(i,["accounts"]);return I(h({},o),{account:t})}),wm=g(Re,e=>e.balance),Im=g(Re,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),bm=g(q,e=>e.shard),Am=g(q,e=>e.ledgerAccount),vm=g(q,e=>e.walletConnectAccount),Em=g(q,e=>e.isAccountLoading),km=g(q,e=>e.accountLoadingError),ka=g(q,e=>e.websocketEvent),Lm=g(q,e=>e.websocketBatchEvent);n();var La=e=>e.dappConfig,Rm=g(La,e=>e.shouldUseWebViewProvider);n();var B=e=>e.loginInfo,Om=g(B,e=>e.loginMethod),Na=g(B,fr,(e,t)=>Ne(e.loginMethod,t)),Mm=g(B,e=>e.walletConnectLogin),Fm=g(B,e=>e.ledgerLogin),Bm=g(B,e=>e.walletLogin),Um=g(B,e=>e.isLoginSessionInvalid),zo=g(B,e=>e.tokenLogin),Vm=g(B,e=>e.logoutRoute);n();var Ko=e=>e.modals,Wm=g(Ko,e=>e.txSubmittedModal),Hm=g(Ko,e=>e.notificationModal);n();var ue=e=>e.networkConfig,zm=g(ue,e=>e.chainID),Km=g(ue,e=>e.network.walletConnectBridgeAddress),Ym=g(ue,e=>e.network.walletConnectV2RelayAddress),Xm=g(ue,e=>e.network.walletConnectV2ProjectId),Zm=g(ue,e=>e.network.walletConnectV2Options),Jm=g(ue,e=>e.network.walletConnectDeepLink),Pe=g(ue,e=>e.network),Qm=g(Pe,e=>e.apiAddress),Yo=g(Pe,e=>e.explorerAddress),eg=g(Pe,e=>e.egldLabel);n();var wt=e=>e.signedMessageInfo,ng=g(wt,e=>e.isSigning),og=g(wt,e=>e.errorMessage),ig=g(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),sg=g(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Tr=e=>e.toasts,lg=g(Tr,e=>e.customToasts),pg=g(Tr,e=>e.transactionToasts),ug=g(Tr,e=>e.failTransactionToast);n();le();var Xo={errorMessage:or,successMessage:ir,processingMessage:sr},Da=e=>e.transactionsInfo,fg=g(Da,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Xo);n();n();var z=require("@multiversx/sdk-core"),Jo=require("@multiversx/sdk-core/out/signature");w();n();var yr=require("@multiversx/sdk-core/out");n();n();function It(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}function de(e){return It(e)?atob(e):e}n();n();n();n();var Zo=e=>{let t=e!=null?e:"";return It(t)?yr.TransactionPayload.fromEncoded(t):new yr.TransactionPayload(t)};function hr(e){var r,o,i;let t=new z.Transaction(h(h({value:e.value.valueOf(),data:Zo(e.data),nonce:e.nonce.valueOf(),receiver:new z.Address(e.receiver),sender:new z.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:qt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:zt,chainID:e.chainID.valueOf(),version:new z.TransactionVersion((i=e.version)!=null?i:xn)},e.options?{options:new z.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new z.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),e.signature&&t.applySignature(new Jo.Signature(e.signature)),t}n();n();n();n();n();var Ca=require("@multiversx/sdk-core/out");n();w();n();var ei=require("@multiversx/sdk-core");O();n();var _a=require("@multiversx/sdk-core");n();n();n();var Oa=require("@multiversx/sdk-core"),Ma=S(require("bignumber.js"));H();n();n();n();var xr="blocks";n();n();n();n();R();n();n();R();n();n();n();var Ga=S(require("bignumber.js"));w();n();var $a=require("@multiversx/sdk-core"),Sr=S(require("bignumber.js"));w();n();var Ua=S(require("bignumber.js"));n();Sr.default.config({ROUNDING_MODE:Sr.default.ROUND_FLOOR});n();n();n();w();n();n();n();n();w();n();w();n();var Wa=require("@multiversx/sdk-core");w();n();var _e=require("@multiversx/sdk-core"),ja=require("@multiversx/sdk-network-providers");w();n();n();var Ha=S(require("bignumber.js"));w();n();w();n();n();n();n();n();n();w();n();w();n();w();n();R();var za=["reDelegateRewards","claimRewards","unBond"],Ka=["wrapEgld","unwrapEgld"],Ya=["unStake"],Xa=["unDelegate"];n();n();n();w();n();var Qa=S(require("bignumber.js"));n();n();R();n();var ec=S(require("bignumber.js"));n();n();n();var rc=S(require("bignumber.js"));O();n();n();n();n();H();n();var ic=require("@multiversx/sdk-web-wallet-provider");w();n();var oc=S(require("qs"));n();n();var br=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();var Hh={search:br()?window.location.search:"",removeParams:[]};n();n();n();n();R();n();n();n();var sc=S(require("linkifyjs"));n();w();n();var ac=S(require("bignumber.js"));n();O();n();n();H();n();H();n();n();n();R();n();R();n();var cc=S(require("bignumber.js"));w();R();n();R();n();var si=require("react");O();n();n();R();n();n();var lc=require("@multiversx/sdk-core/out"),pc=S(require("bignumber.js"));R();n();O();n();n();O();var MS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var ai=require("react");O();n();var dc=require("react");R();var WS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];cr();var vt=e=>e.transactions,Oe=g(vt,e=>e.signedTransactions),Lw=g(vt,e=>e.signTransactionsError),Nw=g(vt,e=>e.signTransactionsCancelMessage),Et=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Dw=g(Oe,Et(io)),Rw=g(Oe,Et(ut)),Pw=g(Oe,Et(dt)),Cw=g(Oe,Et(ao)),_w=g(vt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:I(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>hr(r)))||[]})}),Ow=g(Oe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var Ar=()=>Q(Re);n();n();n();n();n();var Me=S(require("react"));var s0=(0,Me.createContext)({}),a0=ne.getState();n();var li=S(require("react"));n();var vr=S(require("react")),mc=S(require("axios"));n();n();n();n();n();var gc=require("@multiversx/sdk-extension-provider"),fc=require("@multiversx/sdk-hw-provider"),Tc=require("@multiversx/sdk-opera-provider"),yc=require("@multiversx/sdk-web-wallet-provider");w();H();n();var te=e=>`Unable to perform ${e}, Provider not initialized`,kt=class{init(){return Promise.resolve(!1)}login(t){throw new Error(te(`login with options: ${t}`))}logout(t){throw new Error(te(`logout with options: ${t}`))}getAddress(){throw new Error(te("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(te(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(te(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(te(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(te(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(te(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(te(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},hc=new kt;n();le();n();n();n();var Sc=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),we=e=>Sc(s.Buffer.from(e,"utf8").toString("base64"));n();var mi=S(require("axios"));n();n();n();function pi(e){return N(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var ui=(e,t,r,o=0)=>N(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield pi(t.delay)),yield ui(e,t,r,o+1)):null}}),di=(e,t={retries:5,delay:500})=>(...r)=>N(void 0,null,function*(){return yield ui(e,t,r)});var wc=4,Ic=3e4,Lt={current:null},me={current:null},bc=di((e,t)=>N(void 0,null,function*(){let{data:r}=yield mi.default.get(`${e}/${xr}?from=${wc}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function gi(e,t){return N(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(Lt.current!=null&&r<Lt.current.timestamp*1e3+Ic)return Lt.current;if(me.current!=null)return yield me.current;me.current=bc(e,t);try{let o=yield me.current;if(o==null)throw me.current=null,new Error("could not get block hash");return Lt.current={hash:o.hash,timestamp:o.timestamp},me.current=null,o}catch(o){return me.current=null,null}})}n();n();qe();n();n();var Mi=S(Oi());var Fi=e=>{if(!e||!(0,Mi.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(de(l)),d=de(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function Kc(e){return Object.prototype.toString.call(e)==="[object String]"}var Bi=e=>{var r;if(!e||!Kc(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=de(o),d=de(i),m=Fi(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let f=I(h({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete f.extraInfo,f}catch(o){return null}};var kr={isExpired:!1},Ui=e=>{if(!e)return kr;let t=Bi(e);if(!t)return kr;let r=he(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l)return kr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();var Vi,Be={origin:typeof window!="undefined"?(Vi=window==null?void 0:window.location)==null?void 0:Vi.origin:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ue=e=>{var r,o,i,l,p;return e===!0?Be:{origin:(r=e==null?void 0:e.origin)!=null?r:Be.origin,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:Be.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:Be.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Be.tokenExpirationToastWarningSeconds}};n();var $i=({address:e,token:t,signature:r})=>{let o=we(e),i=we(t);return`${o}.${i}.${r}`};var Gi=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=Ue(e);return{getNativeAuthConfig:Ue,initialize:(...m)=>N(void 0,[...m],function*(p={},d){if(!r||!t)return"";let f=d!=null?d:yield gi(r,i),{hash:x,timestamp:y}=f,A=we(JSON.stringify(h(h({},p),y?{timestamp:y}:{})));return`${we(t)}.${x}.${o}.${A}`}),getToken:$i,getTokenExpiration:Ui}};var Yc=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Xc=e=>{let t=Q(Pe),r=Q(zo),o=(0,Wi.useRef)(r==null?void 0:r.loginToken),i=Yc(t.apiAddress,e),l=Ue(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Gi(l),{address:m}=Ar(),f=qo(),x=E=>{o.current=E,f(Je(h({loginToken:E},i?{nativeAuthConfig:l}:{})))},y=()=>N(void 0,null,function*(){try{return yield d.initialize()}catch(E){console.error("Unable to get block. Login failed.",E);return}}),A=({address:E,signature:re})=>{let U=o.current;if(!U)throw"Token not found. Call `setLoginToken` first.";if(!p){f(Je({loginToken:U,signature:re}));return}let Ie=d.getToken({address:E,token:U,signature:re});f(Je(h({loginToken:U,signature:re,nativeAuthToken:Ie},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:y,setTokenLoginInfo:A,refreshNativeAuthTokenLogin:re=>N(void 0,[re],function*({signMessageCallback:E}){let U=yield y();if(o.current=U,!U)return;let Ie=new Nt.SignableMessage({address:new Nt.Address(m),message:s.Buffer.from(U)}),Dt=yield E(Ie,{});A({address:m,signature:Dt.toJSON().signature})})}};0&&(module.exports={useLoginService});
1
+ "use strict";var Hi=Object.create;var be=Object.defineProperty,ji=Object.defineProperties,qi=Object.getOwnPropertyDescriptor,zi=Object.getOwnPropertyDescriptors,Ki=Object.getOwnPropertyNames,Ve=Object.getOwnPropertySymbols,Yi=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable;var Lr=(e,t,r)=>t in e?be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&Lr(e,r,t[r]);if(Ve)for(var r of Ve(t))Nr.call(t,r)&&Lr(e,r,t[r]);return e},I=(e,t)=>ji(e,zi(t));var Dr=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ve)for(var o of Ve(e))t.indexOf(o)<0&&Nr.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},Rr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ki(t))!Rt.call(e,i)&&i!==r&&be(e,i,{get:()=>t[i],enumerable:!(o=qi(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Hi(Yi(e)):{},Rr(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),Ae=e=>Rr(be({},"__esModule",{value:!0}),e);var N=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(f){i(f)}},p=d=>{try{m(r.throw(d))}catch(f){i(f)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var _r=C($e=>{"use strict";n();$e.byteLength=Zi;$e.toByteArray=Qi;$e.fromByteArray=rs;var V=[],_=[],Xi=typeof Uint8Array!="undefined"?Uint8Array:Array,Pt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ie=0,Pr=Pt.length;ie<Pr;++ie)V[ie]=Pt[ie],_[Pt.charCodeAt(ie)]=ie;var ie,Pr;_["-".charCodeAt(0)]=62;_["_".charCodeAt(0)]=63;function Cr(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 Zi(e){var t=Cr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Ji(e,t,r){return(t+r)*3/4-r}function Qi(e){var t,r=Cr(e),o=r[0],i=r[1],l=new Xi(Ji(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=_[e.charCodeAt(d)]<<18|_[e.charCodeAt(d+1)]<<12|_[e.charCodeAt(d+2)]<<6|_[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=_[e.charCodeAt(d)]<<2|_[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=_[e.charCodeAt(d)]<<10|_[e.charCodeAt(d+1)]<<4|_[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function es(e){return V[e>>18&63]+V[e>>12&63]+V[e>>6&63]+V[e&63]}function ts(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(es(o));return i.join("")}function rs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(ts(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(V[t>>2]+V[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(V[t>>10]+V[t>>4&63]+V[t<<2&63]+"=")),i.join("")}});var Or=C(Ct=>{n();Ct.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,f=d>>1,x=-7,y=r?i-1:0,A=r?-1:1,k=e[t+y];for(y+=A,l=k&(1<<-x)-1,k>>=-x,x+=m;x>0;l=l*256+e[t+y],y+=A,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+y],y+=A,x-=8);if(l===0)l=1-f;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-f}return(k?-1:1)*p*Math.pow(2,l-o)};Ct.write=function(e,t,r,o,i,l){var p,m,d,f=l*8-i-1,x=(1<<f)-1,y=x>>1,A=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,E=o?1:-1,re=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=A/d:t+=A*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=x?(m=0,p=x):p+y>=1?(m=(t*d-1)*Math.pow(2,i),p=p+y):(m=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=m&255,k+=E,m/=256,i-=8);for(p=p<<i|m,f+=i;f>0;e[r+k]=p&255,k+=E,p/=256,f-=8);e[r+k-E]|=re*128}});var Kr=C(fe=>{"use strict";n();var _t=_r(),ge=Or(),Mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=cs;fe.INSPECT_MAX_BYTES=50;var Ge=2147483647;fe.kMaxLength=Ge;u.TYPED_ARRAY_SUPPORT=ns();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ns(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function Y(e){if(e>Ge)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Bt(e)}return Ur(e,t,r)}u.poolSize=8192;function Ur(e,t,r){if(typeof e=="string")return is(e,t);if(ArrayBuffer.isView(e))return ss(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return Mt(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 u.from(o,t,r);var i=as(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Ur(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Vr(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 os(e,t,r){return Vr(e),e<=0?Y(e):t!==void 0?typeof r=="string"?Y(e).fill(t,r):Y(e).fill(t):Y(e)}u.alloc=function(e,t,r){return os(e,t,r)};function Bt(e){return Vr(e),Y(e<0?0:Ut(e)|0)}u.allocUnsafe=function(e){return Bt(e)};u.allocUnsafeSlow=function(e){return Bt(e)};function is(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=$r(e,t)|0,o=Y(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ot(e){for(var t=e.length<0?0:Ut(e.length)|0,r=Y(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function ss(e){if($(e,Uint8Array)){var t=new Uint8Array(e);return Mt(t.buffer,t.byteOffset,t.byteLength)}return Ot(e)}function Mt(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,u.prototype),o}function as(e){if(u.isBuffer(e)){var t=Ut(e.length)|0,r=Y(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Vt(e.length)?Y(0):Ot(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ot(e.data)}function Ut(e){if(e>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return e|0}function cs(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var 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};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if($(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function $r(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,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 Ft(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return zr(e).length;default:if(i)return o?-1:Ft(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=$r;function ls(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 xs(this,t,r);case"utf8":case"utf-8":return Wr(this,t,r);case"ascii":return ys(this,t,r);case"latin1":case"binary":return hs(this,t,r);case"base64":return fs(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ss(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function se(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)se(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)se(this,r,r+3),se(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)se(this,r,r+7),se(this,r+1,r+6),se(this,r+2,r+5),se(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Wr(this,0,t):ls.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Mr&&(u.prototype[Mr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if($(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),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,m=o-r,d=Math.min(p,m),f=this.slice(i,l),x=t.slice(r,o),y=0;y<d;++y)if(f[y]!==x[y]){p=f[y],m=x[y];break}return p<m?-1:m<p?1:0};function Gr(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,Vt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Fr(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):Fr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Fr(e,t,r,o,i){var l=1,p=e.length,m=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,m/=2,r/=2}function d(k,E){return l===1?k[E]:k.readUInt16BE(E*l)}var f;if(i){var x=-1;for(f=r;f<p;f++)if(d(e,f)===d(t,x===-1?0:f-x)){if(x===-1&&(x=f),f-x+1===m)return x*l}else x!==-1&&(f-=f-x),x=-1}else for(r+m>p&&(r=p-m),f=r;f>=0;f--){for(var y=!0,A=0;A<m;A++)if(d(e,f+A)!==d(t,A)){y=!1;break}if(y)return f}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Gr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Gr(this,t,r,o,!1)};function ps(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 m=parseInt(t.substr(p*2,2),16);if(Vt(m))return p;e[r+p]=m}return p}function us(e,t,r,o){return We(Ft(t,e.length-r),e,r,o)}function ds(e,t,r,o){return We(bs(t),e,r,o)}function ms(e,t,r,o){return We(zr(t),e,r,o)}function gs(e,t,r,o){return We(As(t,e.length-r),e,r,o)}u.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 ps(this,t,r,o);case"utf8":case"utf-8":return us(this,t,r,o);case"ascii":case"latin1":case"binary":return ds(this,t,r,o);case"base64":return ms(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gs(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fs(e,t,r){return t===0&&r===e.length?_t.fromByteArray(e):_t.fromByteArray(e.slice(t,r))}function Wr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,f,x,y;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],f=e[i+2],(d&192)===128&&(f&192)===128&&(y=(l&15)<<12|(d&63)<<6|f&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],f=e[i+2],x=e[i+3],(d&192)===128&&(f&192)===128&&(x&192)===128&&(y=(l&15)<<18|(d&63)<<12|(f&63)<<6|x&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return Ts(o)}var Br=4096;function Ts(e){var t=e.length;if(t<=Br)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Br));return r}function ys(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 hs(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 xs(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+=vs[e[l]];return i}function Ss(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}u.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,u.prototype),i};function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||L(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),ge.read(this,t,!1,52,8)};function D(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.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;D(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.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;D(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);D(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);D(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Hr(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 jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return jr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return jr(this,t,r,!1,o)};function qr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return qr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return qr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.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};u.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"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<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 m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var ws=/[^+/0-9A-Za-z-_]/g;function Is(e){if(e=e.split("=")[0],e=e.trim().replace(ws,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ft(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 bs(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function As(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 zr(e){return _t.toByteArray(Is(e))}function We(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 $(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Vt(e){return e!==e}var vs=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 Qr=C((rl,Jr)=>{n();var b=Jr.exports={},G,W;function $t(){throw new Error("setTimeout has not been defined")}function Gt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?G=setTimeout:G=$t}catch(e){G=$t}try{typeof clearTimeout=="function"?W=clearTimeout:W=Gt}catch(e){W=Gt}})();function Yr(e){if(G===setTimeout)return setTimeout(e,0);if((G===$t||!G)&&setTimeout)return G=setTimeout,setTimeout(e,0);try{return G(e,0)}catch(t){try{return G.call(null,e,0)}catch(r){return G.call(this,e,0)}}}function Es(e){if(W===clearTimeout)return clearTimeout(e);if((W===Gt||!W)&&clearTimeout)return W=clearTimeout,clearTimeout(e);try{return W(e)}catch(t){try{return W.call(null,e)}catch(r){return W.call(this,e)}}}var X=[],Te=!1,ae,He=-1;function ks(){!Te||!ae||(Te=!1,ae.length?X=ae.concat(X):He=-1,X.length&&Xr())}function Xr(){if(!Te){var e=Yr(ks);Te=!0;for(var t=X.length;t;){for(ae=X,X=[];++He<t;)ae&&ae[He].run();He=-1,t=X.length}ae=null,Te=!1,Es(e)}}b.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];X.push(new Zr(e,t)),X.length===1&&!Te&&Yr(Xr)};function Zr(e,t){this.fun=e,this.array=t}Zr.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function Z(){}b.on=Z;b.addListener=Z;b.once=Z;b.off=Z;b.removeListener=Z;b.removeAllListeners=Z;b.emit=Z;b.prependListener=Z;b.prependOnceListener=Z;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var s,c,Ls,a,n=T(()=>{s=S(Kr()),c=S(Qr()),Ls=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),a=Ls});var en=T(()=>{"use strict";n()});var tn=T(()=>{"use strict";n()});var rn=T(()=>{"use strict";n()});var nn=T(()=>{"use strict";n()});var H=T(()=>{"use strict";n()});var on=T(()=>{"use strict";n()});var sn=T(()=>{"use strict";n()});var R=T(()=>{"use strict";n()});var an=T(()=>{"use strict";n()});var cn=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var O=T(()=>{"use strict";n();tn();rn();nn();H();on();sn();R();an();cn();ln()});var Wt,pn,Il,un,bl,dn,Al,vl,El,mn=T(()=>{"use strict";n();O();Wt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:pn,egldLabel:Il}=Wt["devnet"],{chainId:un,egldLabel:bl}=Wt["testnet"],{chainId:dn,egldLabel:Al}=Wt["mainnet"],vl={["devnet"]:pn,["testnet"]:un,["mainnet"]:dn},El={[pn]:"devnet",[un]:"testnet",[dn]:"mainnet"}});var Ht=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n()});var fn,jt=T(()=>{"use strict";n();fn="transaction-status-toast-id"});var j,Tn=T(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var yn=T(()=>{"use strict";n()});var hn=T(()=>{"use strict";n()});var qt,zt,xn,je,Sn,ye,w=T(()=>{"use strict";n();en();mn();Ht();gn();jt();Tn();yn();hn();qt=5e4,zt=1e9,xn=1,je="logout",Sn="login",ye="0"});var he,qe=T(()=>{"use strict";n();he=()=>Date.now()/1e3});var wn=T(()=>{"use strict";n()});var In=T(()=>{"use strict";n()});var bn=T(()=>{"use strict";n();qe();wn();In()});var Yt={};oe(Yt,{getItem:()=>Ds,localStorageKeys:()=>ce,removeItem:()=>Rs,setItem:()=>Ns});var ce,Kt,Ns,Ds,Rs,ve=T(()=>{"use strict";n();bn();ce={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Kt=typeof localStorage!="undefined",Ns=({key:e,data:t,expires:r})=>{!Kt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ds=e=>{if(!Kt)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:he()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Rs=e=>{!Kt||localStorage.removeItem(String(e))}});var Xt={};oe(Xt,{clear:()=>kn,getItem:()=>vn,removeItem:()=>En,setItem:()=>An,storage:()=>Ps});var An,vn,En,kn,Ps,Ln=T(()=>{"use strict";n();An=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},vn=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},En=e=>sessionStorage.removeItem(String(e)),kn=()=>sessionStorage.clear(),Ps={setItem:An,getItem:vn,removeItem:En,clear:kn}});var xe,ze=T(()=>{"use strict";n();ve();Ln();xe={session:Xt,local:Yt}});var Zt,v,Ke,F=T(()=>{"use strict";n();Zt=require("@reduxjs/toolkit");w();v=(0,Zt.createAction)(je),Ke=(0,Zt.createAction)(Sn,e=>({payload:e}))});var Qt,Nn,Dn,Ye,Jt,Rn,Pn,sp,Cn,ap,cp,lp,pp,up,dp,mp,gp,Xe,Ze=T(()=>{"use strict";n();Qt=require("@multiversx/sdk-core"),Nn=require("@reduxjs/toolkit"),Dn=require("redux-persist");w();ze();ve();F();Ye={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ye},Jt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ye},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Rn=(0,Nn.createSlice)({name:"accountInfoSlice",initialState:Jt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Qt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ye},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}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(v,()=>(xe.local.removeItem(ce.loginExpiresAt),Jt)),e.addCase(Ke,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Qt.Address(o).hex()}),e.addCase(Dn.REHYDRATE,(t,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Jt.accounts,t.publicKey=m})}}),{setAccount:Pn,setAddress:sp,setAccountNonce:Cn,setAccountShard:ap,setLedgerAccount:cp,updateLedgerAccount:lp,setWalletConnectAccount:pp,setIsAccountLoading:up,setAccountLoadingError:dp,setWebsocketEvent:mp,setWebsocketBatchEvent:gp}=Rn.actions,Xe=Rn.reducer});function Ee(){return new Date().setHours(new Date().getHours()+24)}function ke(e){xe.local.setItem({key:ce.loginExpiresAt,data:e,expires:e})}var er=T(()=>{"use strict";n();ze();ve()});var Mn,_n,Fn,Ap,vp,Ep,Je,kp,Lp,Bn,Np,Qe,et=T(()=>{"use strict";n();Mn=require("@reduxjs/toolkit");er();H();F();_n={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Fn=(0,Mn.createSlice)({name:"loginInfoSlice",initialState:_n,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(v,()=>_n),e.addCase(Ke,(t,r)=>{t.loginMethod=r.payload.loginMethod,ke(Ee())})}}),{setLoginMethod:Ap,setWalletConnectLogin:vp,setLedgerLogin:Ep,setTokenLogin:Je,setTokenLoginSignature:kp,setWalletLogin:Lp,invalidateLoginSession:Bn,setLogoutRoute:Np}=Fn.actions,Qe=Fn.reducer});var Vn,Un,$n,Cp,_p,Op,Mp,tt,rt=T(()=>{"use strict";n();Vn=require("@reduxjs/toolkit");F();Un={},$n=(0,Vn.createSlice)({name:"modalsSlice",initialState:Un,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(v,()=>Un)}}),{setTxSubmittedModal:Cp,setNotificationModal:_p,clearTxSubmittedModal:Op,clearNotificationModal:Mp}=$n.actions,tt=$n.reducer});var Gn=T(()=>{"use strict";n()});var Wn=T(()=>{"use strict";n();Gn()});function Hn(e){return e[Math.floor(Math.random()*e.length)]}var jn=T(()=>{"use strict";n()});var qn=T(()=>{"use strict";n();Ht()});var zn=T(()=>{"use strict";n();Wn();jn();qn()});var Kn,Yn,tr,Cs,Xn,Jp,Qp,nt,ot=T(()=>{"use strict";n();Kn=require("@reduxjs/toolkit"),Yn=S(require("lodash.omit"));zn();tr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Cs={network:tr,chainID:"-1"},Xn=(0,Kn.createSlice)({name:"appConfig",initialState:Cs,reducers:{initializeNetworkConfig:(e,t)=>{let r=Hn(t.payload.walletConnectV2RelayAddresses),o=(0,Yn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=I(h(h({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Jp,setChainID:Qp}=Xn.actions,nt=Xn.reducer});var Zn,rr,Jn,iu,su,au,it,st=T(()=>{"use strict";n();Zn=require("@reduxjs/toolkit");O();F();rr={isSigning:!1,signedSessions:{}},Jn=(0,Zn.createSlice)({name:"signedMessageInfoSliceState",initialState:rr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=o},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>rr},extraReducers:e=>{e.addCase(v,()=>rr)}}),{setSignSession:iu,clearSignedMessageInfo:su,setSignSessionState:au}=Jn.actions,it=Jn.reducer});var eo,to,Qn,ro,fu,Tu,yu,hu,xu,Su,at,ct=T(()=>{"use strict";n();eo=require("@reduxjs/toolkit"),to=require("redux-persist");jt();O();qe();F();Qn={customToasts:[],transactionToasts:[],failTransactionToast:null},ro=(0,eo.createSlice)({name:"toastsSlice",initialState:Qn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(I(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:he(),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=I(h({},t.payload),{toastId:fn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(v,()=>Qn),e.addCase(to.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:fu,removeCustomToast:Tu,addTransactionToast:yu,removeTransactionToast:hu,addFailTransactionToast:xu,removeFailTransactionToast:Su}=ro.actions,at=ro.reducer});var no,or,ir,sr,_s,nr,oo,Au,vu,Eu,lt,pt=T(()=>{"use strict";n();no=require("@reduxjs/toolkit");F();or="Transaction failed",ir="Transaction successful",sr="Processing transaction",_s="Transaction submitted",nr={},oo=(0,no.createSlice)({name:"transactionsInfo",initialState:nr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||or,successMessage:(o==null?void 0:o.successMessage)||ir,processingMessage:(o==null?void 0:o.processingMessage)||sr,submittedMessage:(o==null?void 0:o.submittedMessage)||_s,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>nr},extraReducers:e=>{e.addCase(v,()=>nr)}}),{clearTransactionsInfo:Au,setTransactionsDisplayInfo:vu,clearTransactionsInfoForSessionId:Eu}=oo.actions,lt=oo.reducer});function io(e){return e!=null&&(js(e)||Xs(e))}function ut(e){return e!=null&&(qs(e)||Zs(e))}function dt(e){return e!=null&&(zs(e)||Js(e))}function so(e){return e!=null&&(Ks(e)||Qs(e))}function ao(e){return e!=null&&Ys(e)}function js(e){return e!=null&&Ms.includes(e)}function qs(e){return e!=null&&Fs.includes(e)}function zs(e){return e!=null&&Bs.includes(e)}function Ks(e){return e!=null&&Us.includes(e)}function Ys(e){return e!=null&&Vs.includes(e)}function Xs(e){return e!=null&&$s.includes(e)}function Zs(e){return e!=null&&Gs.includes(e)}function Js(e){return e!=null&&Ws.includes(e)}function Qs(e){return e!=null&&Hs.includes(e)}var Ms,Fs,Bs,Us,Vs,$s,Gs,Ws,Hs,cr=T(()=>{"use strict";n();H();Ms=["sent"],Fs=["success"],Bs=["fail","cancelled","timedOut"],Us=["invalid"],Vs=["timedOut"],$s=["pending"],Gs=["success"],Ws=["fail","invalid"],Hs=["not executed"]});var co,lo,Le,ea,po,Ou,Mu,Fu,Bu,Uu,Vu,$u,Gu,Wu,Hu,mt,gt=T(()=>{"use strict";n();co=require("@reduxjs/toolkit"),lo=require("redux-persist");H();cr();F();Le={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ea={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},po=(0,co.createSlice)({name:"transactionsSlice",initialState:Le,reducers:{moveTransactionsToSignedState:(e,t)=>{var f,x;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m={}}=t.payload,d=((f=e.customTransactionInformationForSessionId)==null?void 0:f[r])||ea;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:h(h({},d),m)},((x=e==null?void 0:e.transactionsToSign)==null?void 0:x.sessionId)===r&&(e.transactionsToSign=Le.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,f,x,y,A,k,E,re;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,inTransit:p}=t.payload,m=(f=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:f.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(K=>K.hash===l?I(h({},K),{status:o,errorMessage:i,inTransit:p}):K);let U=(y=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:y.every(K=>ut(K.status)),Ie=(k=(A=e.signedTransactions[r])==null?void 0:A.transactions)==null?void 0:k.every(K=>dt(K.status)),Dt=(re=(E=e.signedTransactions[r])==null?void 0:E.transactions)==null?void 0:re.every(K=>so(K.status));U&&(e.signedTransactions[r].status="success"),Ie&&(e.signedTransactions[r].status="fail"),Dt&&(e.signedTransactions[r].status="invalid")}},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=Le.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Le.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(v,()=>Le),e.addCase(lo.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((m,[d,f])=>{let x=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-x>0||(m[d]=f),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Ou,updateSignedTransactions:Mu,setTransactionsToSign:Fu,clearAllTransactionsToSign:Bu,clearAllSignedTransactions:Uu,clearSignedTransaction:Vu,clearTransactionToSign:$u,setSignTransactionsError:Gu,setSignTransactionsCancelMessage:Wu,moveTransactionsToSignedState:Hu}=po.actions,mt=po.reducer});var uo,lr,mo,Ku,Yu,Xu,Zu,ft,Tt=T(()=>{"use strict";n();uo=require("@reduxjs/toolkit");F();lr={},mo=(0,uo.createSlice)({name:"batchTransactionsSlice",initialState:lr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>lr},extraReducers:e=>{e.addCase(v,()=>lr)}}),{setBatchTransactions:Ku,updateBatchTransactions:Yu,clearBatchTransactions:Xu,clearAllBatchTransactions:Zu}=mo.actions,ft=mo.reducer});var fo,go,To,td,yo,pr=T(()=>{"use strict";n();fo=require("@reduxjs/toolkit");F();go={},To=(0,fo.createSlice)({name:"dappConfigSlice",initialState:go,reducers:{setDappConfig:(e,t)=>{if(e&&t.payload){let{logoutRoute:r,shouldUseWebViewProvider:o}=t.payload;e.logoutRoute=r,e.shouldUseWebViewProvider=o}else e=t.payload}},extraReducers:e=>{e.addCase(v,()=>go)}}),{setDappConfig:td}=To.actions,yo=To.reducer});var le=T(()=>{"use strict";n();Ze();et();rt();ot();st();ct();pt();gt();Tt();pr()});var ur=T(()=>{"use strict";n()});var Io,wo,bo,kd,Ld,Nd,Dd,Rd,Pd,Ao,vo=T(()=>{"use strict";n();Io=require("@reduxjs/toolkit");F();wo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},bo=(0,Io.createSlice)({name:"dappModalsSlice",initialState:wo,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(v,()=>wo)}}),{setDappModalVisibility:kd,setDappModalHeaderVisibility:Ld,setDappModalFooterVisibility:Nd,setDappModalHeaderText:Dd,setDappModalFooterText:Rd,setDappModalConfig:Pd}=bo.actions,Ao=bo.reducer});var Eo,oa,ia,pe,St=T(()=>{"use strict";n();Eo=require("@reduxjs/toolkit");ur();Ze();Tt();pr();vo();et();rt();ot();st();ct();pt();gt();oa={["account"]:Xe,["dappModal"]:Ao,["dappConfig"]:yo,["loginInfo"]:Qe,["modals"]:tt,["networkConfig"]:nt,["signedMessageInfo"]:it,["toasts"]:at,["transactionsInfo"]:lt,["transactions"]:mt,["batchTransactions"]:ft},ia=(e={})=>(0,Eo.combineReducers)(h(h({},oa),e)),pe=ia});var Do={};oe(Do,{default:()=>wa,sessionStorageReducers:()=>dr});function J(e,t=[]){return{key:e,version:1,storage:Lo.default,blacklist:t}}var P,ko,Lo,sa,De,aa,ca,la,pa,ua,da,ma,ga,fa,Ta,No,ya,dr,ha,xa,Sa,wa,Ro=T(()=>{"use strict";n();P=require("redux-persist"),ko=S(require("redux-persist/lib/storage")),Lo=S(require("redux-persist/lib/storage/session"));St();le();Ze();Tt();et();rt();ot();st();ct();pt();gt();ur();sa={persistReducersStorageType:"localStorage"},De={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},aa=J(De["account"]),ca=J(De["loginInfo"]),la=J(De["modals"]),pa=J(De["networkConfig"]),ua={2:e=>I(h({},e),{networkConfig:tr})};da=J("sdk-dapp-transactionsInfo"),ma=J("sdk-dapp-transactions",["transactionsToSign"]),ga=J("sdk-dapp-batchTransactions",["batchTransactions"]),fa=J("sdk-dapp-toasts"),Ta=J("sdk-dapp-signedMessageInfo"),No={key:"sdk-dapp-store",version:2,storage:ko.default,whitelist:Object.keys(De),migrate:(0,P.createMigrate)(ua,{debug:!1})},ya=I(h({},No),{whitelist:[]}),dr={["toasts"]:(0,P.persistReducer)(fa,at),["transactions"]:(0,P.persistReducer)(ma,mt),["transactionsInfo"]:(0,P.persistReducer)(da,lt),["batchTransactions"]:(0,P.persistReducer)(ga,ft),["signedMessageInfo"]:(0,P.persistReducer)(Ta,it)},ha=I(h({},dr),{["account"]:(0,P.persistReducer)(aa,Xe),["loginInfo"]:(0,P.persistReducer)(ca,Qe),["modals"]:(0,P.persistReducer)(la,tt),["networkConfig"]:(0,P.persistReducer)(pa,nt)}),xa=sa.persistReducersStorageType==="localStorage",Sa=xa?(0,P.persistReducer)(No,pe(dr)):(0,P.persistReducer)(ya,pe(ha)),wa=Sa});var Po={};oe(Po,{default:()=>Ia});var Ia,Co=T(()=>{"use strict";n();St();Ia=pe()});var _o={};oe(_o,{default:()=>Aa});var M,ba,Aa,Oo=T(()=>{"use strict";n();M=require("redux-persist"),ba=[M.FLUSH,M.REHYDRATE,M.PAUSE,M.PERSIST,M.PURGE,M.REGISTER],Aa=ba});var Bo={};oe(Bo,{default:()=>Fo});function Fo(e){return(0,Mo.persistStore)(e)}var Mo,Uo=T(()=>{"use strict";n();Mo=require("redux-persist")});var Ti=C((II,fi)=>{n();var Ac=typeof a=="object"&&a&&a.Object===Object&&a;fi.exports=Ac});var hi=C((bI,yi)=>{n();var vc=Ti(),Ec=typeof self=="object"&&self&&self.Object===Object&&self,kc=vc||Ec||Function("return this")();yi.exports=kc});var Er=C((AI,xi)=>{n();var Lc=hi(),Nc=Lc.Symbol;xi.exports=Nc});var bi=C((vI,Ii)=>{n();var Si=Er(),wi=Object.prototype,Dc=wi.hasOwnProperty,Rc=wi.toString,Fe=Si?Si.toStringTag:void 0;function Pc(e){var t=Dc.call(e,Fe),r=e[Fe];try{e[Fe]=void 0;var o=!0}catch(l){}var i=Rc.call(e);return o&&(t?e[Fe]=r:delete e[Fe]),i}Ii.exports=Pc});var vi=C((EI,Ai)=>{n();var Cc=Object.prototype,_c=Cc.toString;function Oc(e){return _c.call(e)}Ai.exports=Oc});var Ni=C((kI,Li)=>{n();var Ei=Er(),Mc=bi(),Fc=vi(),Bc="[object Null]",Uc="[object Undefined]",ki=Ei?Ei.toStringTag:void 0;function Vc(e){return e==null?e===void 0?Uc:Bc:ki&&ki in Object(e)?Mc(e):Fc(e)}Li.exports=Vc});var Ri=C((LI,Di)=>{n();var $c=Array.isArray;Di.exports=$c});var Ci=C((NI,Pi)=>{n();function Gc(e){return e!=null&&typeof e=="object"}Pi.exports=Gc});var Oi=C((DI,_i)=>{n();var Wc=Ni(),Hc=Ri(),jc=Ci(),qc="[object String]";function zc(e){return typeof e=="string"||!Hc(e)&&jc(e)&&Wc(e)==qc}_i.exports=zc});var Zc={};oe(Zc,{useLoginService:()=>Xc});module.exports=Ae(Zc);n();var Wi=require("react"),Nt=require("@multiversx/sdk-core");n();n();n();var jo=require("react"),Se=require("react-redux");n();var mr=require("@reduxjs/toolkit"),Wo=require("react-redux/lib/utils/Subscription");le();n();var xo=S(require("lodash.throttle"));w();n();var ho=S(require("lodash.isequal")),yt=require("reselect");O();var g=(0,yt.createSelectorCreator)(yt.defaultMemoize,ho.default),Ne=(e,t)=>e!=""&&Boolean(t);le();er();ze();ve();var ta=[je],ht=!1,ra=(0,xo.default)(()=>{ke(Ee())},5e3),So=e=>t=>r=>{var d;if(ta.includes(r.type))return t(r);let o=e.getState(),i=xe.local.getItem(ce.loginExpiresAt);if(!Ne((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ke(Ee());let p=Date.now();return i-p<0&&!ht?setTimeout(()=>{ht=!0,e.dispatch(Bn())},1e3):(ht&&(ht=!1),ra()),t(r)};n();n();function xt(){return typeof sessionStorage!="undefined"}var Vo=xt()?(Ro(),Ae(Do)).default:(Co(),Ae(Po)).default,$o=xt()?(Oo(),Ae(_o)).default:[],Go=xt()?(Uo(),Ae(Bo)).default:e=>e;St();var ne=(0,mr.configureStore)({reducer:Vo,middleware:e=>e({serializableCheck:{ignoredActions:[...$o,Cn.type,Pn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(So)}),Ho=(0,Wo.createSubscription)(ne),dm=Go(ne),mm=(0,mr.configureStore)({reducer:pe});var va={store:ne,subscription:Ho},gr=(0,jo.createContext)(va),ym=(0,Se.createStoreHook)(gr),qo=(0,Se.createDispatchHook)(gr),Q=(0,Se.createSelectorHook)(gr);n();n();le();var q=e=>e.account,fr=g(q,e=>e.address),Re=g(q,fr,(e,t)=>t in e.accounts?e.accounts[t]:Ye),Ea=g(q,Re,(e,t)=>{let i=e,{accounts:r}=i,o=Dr(i,["accounts"]);return I(h({},o),{account:t})}),wm=g(Re,e=>e.balance),Im=g(Re,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),bm=g(q,e=>e.shard),Am=g(q,e=>e.ledgerAccount),vm=g(q,e=>e.walletConnectAccount),Em=g(q,e=>e.isAccountLoading),km=g(q,e=>e.accountLoadingError),ka=g(q,e=>e.websocketEvent),Lm=g(q,e=>e.websocketBatchEvent);n();var La=e=>e.dappConfig,Rm=g(La,e=>e.shouldUseWebViewProvider);n();var B=e=>e.loginInfo,Om=g(B,e=>e.loginMethod),Na=g(B,fr,(e,t)=>Ne(e.loginMethod,t)),Mm=g(B,e=>e.walletConnectLogin),Fm=g(B,e=>e.ledgerLogin),Bm=g(B,e=>e.walletLogin),Um=g(B,e=>e.isLoginSessionInvalid),zo=g(B,e=>e.tokenLogin),Vm=g(B,e=>e.logoutRoute);n();var Ko=e=>e.modals,Wm=g(Ko,e=>e.txSubmittedModal),Hm=g(Ko,e=>e.notificationModal);n();var ue=e=>e.networkConfig,zm=g(ue,e=>e.chainID),Km=g(ue,e=>e.network.walletConnectBridgeAddress),Ym=g(ue,e=>e.network.walletConnectV2RelayAddress),Xm=g(ue,e=>e.network.walletConnectV2ProjectId),Zm=g(ue,e=>e.network.walletConnectV2Options),Jm=g(ue,e=>e.network.walletConnectDeepLink),Pe=g(ue,e=>e.network),Qm=g(Pe,e=>e.apiAddress),Yo=g(Pe,e=>e.explorerAddress),eg=g(Pe,e=>e.egldLabel);n();var wt=e=>e.signedMessageInfo,ng=g(wt,e=>e.isSigning),og=g(wt,e=>e.errorMessage),ig=g(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),sg=g(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Tr=e=>e.toasts,lg=g(Tr,e=>e.customToasts),pg=g(Tr,e=>e.transactionToasts),ug=g(Tr,e=>e.failTransactionToast);n();le();var Xo={errorMessage:or,successMessage:ir,processingMessage:sr},Da=e=>e.transactionsInfo,fg=g(Da,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Xo);n();n();var z=require("@multiversx/sdk-core"),Jo=require("@multiversx/sdk-core/out/signature");w();n();var yr=require("@multiversx/sdk-core/out");n();n();function It(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}function de(e){return It(e)?atob(e):e}n();n();n();n();var Zo=e=>{let t=e!=null?e:"";return It(t)?yr.TransactionPayload.fromEncoded(t):new yr.TransactionPayload(t)};function hr(e){var r,o,i;let t=new z.Transaction(h(h({value:e.value.valueOf(),data:Zo(e.data),nonce:e.nonce.valueOf(),receiver:new z.Address(e.receiver),sender:new z.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:qt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:zt,chainID:e.chainID.valueOf(),version:new z.TransactionVersion((i=e.version)!=null?i:xn)},e.options?{options:new z.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new z.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),e.signature&&t.applySignature(new Jo.Signature(e.signature)),t}n();n();n();n();n();var Ca=require("@multiversx/sdk-core/out");n();w();n();var ei=require("@multiversx/sdk-core");O();n();var _a=require("@multiversx/sdk-core");n();n();n();var Oa=require("@multiversx/sdk-core"),Ma=S(require("bignumber.js"));H();n();n();n();var xr="blocks";n();n();n();n();R();n();n();R();n();n();n();var Ga=S(require("bignumber.js"));w();n();var $a=require("@multiversx/sdk-core"),Sr=S(require("bignumber.js"));w();n();var Ua=S(require("bignumber.js"));n();Sr.default.config({ROUNDING_MODE:Sr.default.ROUND_FLOOR});n();n();n();w();n();n();n();n();w();n();w();n();var Wa=require("@multiversx/sdk-core");w();n();var _e=require("@multiversx/sdk-core"),ja=require("@multiversx/sdk-network-providers");w();n();n();var Ha=S(require("bignumber.js"));w();n();w();n();n();n();n();n();n();w();n();w();n();w();n();R();var za=["reDelegateRewards","claimRewards","unBond"],Ka=["wrapEgld","unwrapEgld"],Ya=["unStake"],Xa=["unDelegate"];n();n();n();w();n();var Qa=S(require("bignumber.js"));n();n();R();n();var ec=S(require("bignumber.js"));n();n();n();var rc=S(require("bignumber.js"));O();n();n();n();n();H();n();var ic=require("@multiversx/sdk-web-wallet-provider");w();n();var oc=S(require("qs"));n();n();var br=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();var Hh={search:br()?window.location.search:"",removeParams:[]};n();n();n();n();R();n();n();n();var sc=S(require("linkifyjs"));n();w();n();var ac=S(require("bignumber.js"));n();O();n();n();H();n();H();n();n();n();R();n();R();n();var cc=S(require("bignumber.js"));w();R();n();R();n();var si=require("react");O();n();n();R();n();n();var lc=require("@multiversx/sdk-core/out"),pc=S(require("bignumber.js"));R();n();O();n();n();O();var MS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var ai=require("react");O();n();var dc=require("react");R();var WS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];cr();var vt=e=>e.transactions,Oe=g(vt,e=>e.signedTransactions),Lw=g(vt,e=>e.signTransactionsError),Nw=g(vt,e=>e.signTransactionsCancelMessage),Et=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Dw=g(Oe,Et(io)),Rw=g(Oe,Et(ut)),Pw=g(Oe,Et(dt)),Cw=g(Oe,Et(ao)),_w=g(vt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:I(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>hr(r)))||[]})}),Ow=g(Oe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var Ar=()=>Q(Re);n();n();n();n();n();var Me=S(require("react"));var s0=(0,Me.createContext)({}),a0=ne.getState();n();var li=S(require("react"));n();var vr=S(require("react")),mc=S(require("axios"));n();n();n();n();n();var gc=require("@multiversx/sdk-extension-provider"),fc=require("@multiversx/sdk-hw-provider"),Tc=require("@multiversx/sdk-opera-provider"),yc=require("@multiversx/sdk-web-wallet-provider");w();H();n();var te=e=>`Unable to perform ${e}, Provider not initialized`,kt=class{init(){return Promise.resolve(!1)}login(t){throw new Error(te(`login with options: ${t}`))}logout(t){throw new Error(te(`logout with options: ${t}`))}getAddress(){throw new Error(te("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(te(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(te(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(te(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(te(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(te(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(te(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},hc=new kt;n();le();n();n();n();var Sc=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),we=e=>Sc(s.Buffer.from(e,"utf8").toString("base64"));n();var mi=S(require("axios"));n();n();n();function pi(e){return N(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var ui=(e,t,r,o=0)=>N(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield pi(t.delay)),yield ui(e,t,r,o+1)):null}}),di=(e,t={retries:5,delay:500})=>(...r)=>N(void 0,null,function*(){return yield ui(e,t,r)});var wc=4,Ic=3e4,Lt={current:null},me={current:null},bc=di((e,t)=>N(void 0,null,function*(){let{data:r}=yield mi.default.get(`${e}/${xr}?from=${wc}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function gi(e,t){return N(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(Lt.current!=null&&r<Lt.current.timestamp*1e3+Ic)return Lt.current;if(me.current!=null)return yield me.current;me.current=bc(e,t);try{let o=yield me.current;if(o==null)throw me.current=null,new Error("could not get block hash");return Lt.current={hash:o.hash,timestamp:o.timestamp},me.current=null,o}catch(o){return me.current=null,null}})}n();n();qe();n();n();var Mi=S(Oi());var Fi=e=>{if(!e||!(0,Mi.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(de(l)),m=de(r);return{ttl:Number(i),extraInfo:p,origin:m,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function Kc(e){return Object.prototype.toString.call(e)==="[object String]"}var Bi=e=>{var r;if(!e||!Kc(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=de(o),m=de(i),d=Fi(m);if(!d)return{address:p,body:m,signature:l,blockHash:"",origin:"",ttl:0};let f=I(h({},d),{address:p,body:m,signature:l});return(r=d.extraInfo)!=null&&r.timestamp||delete f.extraInfo,f}catch(o){return null}};var kr={isExpired:!1},Ui=e=>{if(!e)return kr;let t=Bi(e);if(!t)return kr;let r=he(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l)return kr;let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};n();var Vi,Be={origin:typeof window!="undefined"?(Vi=window==null?void 0:window.location)==null?void 0:Vi.origin:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ue=e=>{var r,o,i,l,p,m;return e===!0?Be:{origin:(r=e==null?void 0:e.origin)!=null?r:Be.origin,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:Be.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:Be.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:Be.tokenExpirationToastWarningSeconds,extraInfo:(m=e==null?void 0:e.extraInfo)!=null?m:{}}};n();var $i=({address:e,token:t,signature:r})=>{let o=we(e),i=we(t);return`${o}.${i}.${r}`};var Gi=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l}=Ue(e);return{getNativeAuthConfig:Ue,initialize:(m,d)=>N(void 0,null,function*(){if(!r||!t)return"";let f=d!=null?d:yield gi(r,i),{hash:x,timestamp:y}=f,A=we(JSON.stringify(h(h({},m!=null?m:l),y?{timestamp:y}:{})));return`${we(t)}.${x}.${o}.${A}`}),getToken:$i,getTokenExpiration:Ui}};var Yc=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Xc=e=>{let t=Q(Pe),r=Q(zo),o=(0,Wi.useRef)(r==null?void 0:r.loginToken),i=Yc(t.apiAddress,e),l=Ue(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Gi(l),{address:d}=Ar(),f=qo(),x=E=>{o.current=E,f(Je(h({loginToken:E},i?{nativeAuthConfig:l}:{})))},y=()=>N(void 0,null,function*(){try{return yield m.initialize()}catch(E){console.error("Unable to get block. Login failed.",E);return}}),A=({address:E,signature:re})=>{let U=o.current;if(!U)throw"Token not found. Call `setLoginToken` first.";if(!p){f(Je({loginToken:U,signature:re}));return}let Ie=m.getToken({address:E,token:U,signature:re});f(Je(h({loginToken:U,signature:re,nativeAuthToken:Ie},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:y,setTokenLoginInfo:A,refreshNativeAuthTokenLogin:re=>N(void 0,[re],function*({signMessageCallback:E}){let U=yield y();if(o.current=U,!U)return;let Ie=new Nt.SignableMessage({address:new Nt.Address(d),message:s.Buffer.from(U)}),Dt=yield E(Ie,{});A({address:d,signature:Dt.toJSON().signature})})}};0&&(module.exports={useLoginService});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *