@multiversx/sdk-dapp 4.6.1 → 4.6.3

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 (985) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.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/Pagination/Pagination.js +1 -1
  14. package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
  15. package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
  16. package/UI/Pagination/helpers/getPagination/index.js +1 -1
  17. package/UI/Pagination/helpers/index.js +1 -1
  18. package/UI/Pagination/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  52. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  53. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  54. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  56. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  57. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  58. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  59. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  60. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  61. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  62. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  63. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  64. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  65. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  66. package/UI/SignTransactionsModals/components/index.js +1 -1
  67. package/UI/SignTransactionsModals/index.js +1 -1
  68. package/UI/TokenDetails/index.js +1 -1
  69. package/UI/TransactionData/TransactionData.js +1 -1
  70. package/UI/TransactionData/index.js +1 -1
  71. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  72. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  73. package/UI/TransactionDetails/components/index.js +1 -1
  74. package/UI/TransactionDetails/index.js +1 -1
  75. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  76. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  77. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  78. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  79. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  80. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  81. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  82. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  83. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  84. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  85. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  86. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  87. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  88. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  89. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  90. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  91. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  92. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  93. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  94. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  95. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  96. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  97. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  98. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  99. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  100. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  101. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  102. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  103. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  104. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  105. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  106. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  107. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  108. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  109. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  110. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  113. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  114. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  115. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  116. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  117. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  118. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  119. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  120. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  121. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  122. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  123. package/UI/TransactionInfo/components/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  147. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  148. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  149. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  150. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  151. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  152. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  153. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  154. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  155. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  156. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  157. package/UI/TransactionInfo/index.js +1 -1
  158. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  159. package/UI/TransactionsTable/components/AccountName.js +1 -1
  160. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  161. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  162. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  163. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  164. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  165. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  166. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  167. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  168. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  169. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  170. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  171. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  172. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  173. package/UI/TransactionsTable/components/index.js +1 -1
  174. package/UI/TransactionsTable/index.js +1 -1
  175. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  176. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  177. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  181. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  182. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  183. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  184. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  185. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  186. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  187. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  188. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  189. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  190. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  191. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  192. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  193. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  194. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  195. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  196. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  197. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  198. package/UI/TransactionsToastList/components/index.js +1 -1
  199. package/UI/TransactionsToastList/index.js +1 -1
  200. package/UI/Trim/Trim.js +1 -1
  201. package/UI/Trim/index.js +1 -1
  202. package/UI/UsdValue/UsdValue.js +1 -1
  203. package/UI/UsdValue/index.js +1 -1
  204. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  205. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  206. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  207. package/UI/iframe/IframeLoginButton/index.js +1 -1
  208. package/UI/index.js +1 -1
  209. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  210. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  224. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  225. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  226. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  227. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  228. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  229. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  230. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  231. package/UI/ledger/index.js +1 -1
  232. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  233. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  234. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  235. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  236. package/UI/pages/UnlockPage/index.js +1 -1
  237. package/UI/pages/index.js +1 -1
  238. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  239. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  240. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  241. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  242. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  243. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  244. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  245. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  246. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  247. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  248. package/UI/walletConnect/index.js +1 -1
  249. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  250. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  251. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  252. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  253. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  254. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  255. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  256. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  257. package/__chunks__/{chunk-2IFRRSSO.js → chunk-233Y3EPE.js} +2 -2
  258. package/__chunks__/{chunk-JIFFDQW5.js → chunk-26Y3YQLS.js} +2 -2
  259. package/__chunks__/{chunk-KYGLXFIP.js → chunk-2ALFM7YL.js} +2 -2
  260. package/__chunks__/{chunk-ZOZ6VHJE.js → chunk-2M2CN2KE.js} +2 -2
  261. package/__chunks__/{chunk-TQM6WP6Q.js → chunk-2NDLKDTO.js} +2 -2
  262. package/__chunks__/{chunk-X6Z3JQ2G.js → chunk-2NFI6BVS.js} +2 -2
  263. package/__chunks__/{chunk-MPSBINT4.js → chunk-2SLD7I6M.js} +2 -2
  264. package/__chunks__/{chunk-LCHBEVYY.js → chunk-2T7CZQAM.js} +2 -2
  265. package/__chunks__/{chunk-54T6XQRL.js → chunk-2TXIJYQM.js} +2 -2
  266. package/__chunks__/{chunk-T3WCHGUE.js → chunk-2UIMO7XH.js} +2 -2
  267. package/__chunks__/chunk-2UMV4LIS.js +2 -0
  268. package/__chunks__/chunk-2ZE2TVFC.js +2 -0
  269. package/__chunks__/{chunk-PQIN6ETY.js → chunk-2ZZWQE2Z.js} +2 -2
  270. package/__chunks__/{chunk-CHAQ5M65.js → chunk-337ORZMP.js} +2 -2
  271. package/__chunks__/{chunk-NC56ILTU.js → chunk-3CNBCNV4.js} +2 -2
  272. package/__chunks__/{chunk-VASQ2NDP.js → chunk-3DML2DDU.js} +2 -2
  273. package/__chunks__/{chunk-EX75BFUB.js → chunk-3DPOOIQP.js} +2 -2
  274. package/__chunks__/{chunk-BENWBYBG.js → chunk-3HFR4WHH.js} +2 -2
  275. package/__chunks__/{chunk-YMWUJMIA.js → chunk-3LM2D7HG.js} +2 -2
  276. package/__chunks__/chunk-3NKXYE4W.js +2 -0
  277. package/__chunks__/{chunk-Y46VHOT6.js → chunk-3VLECH5O.js} +2 -2
  278. package/__chunks__/{chunk-S5BQ7KVG.js → chunk-3VQ3RI62.js} +2 -2
  279. package/__chunks__/chunk-3XJRCYON.js +2 -0
  280. package/__chunks__/chunk-3XRQTWUN.js +2 -0
  281. package/__chunks__/{chunk-KNJMUTWO.js → chunk-42DOFJ3J.js} +2 -2
  282. package/__chunks__/{chunk-272ZUBLO.js → chunk-44AQUUN4.js} +2 -2
  283. package/__chunks__/chunk-45I4IZUH.js +2 -0
  284. package/__chunks__/{chunk-3MSEILYS.js → chunk-45M67NPO.js} +2 -2
  285. package/__chunks__/{chunk-CYYTD5XX.js → chunk-4BHX257I.js} +2 -2
  286. package/__chunks__/{chunk-3YK7BPRX.js → chunk-4DLGSHMO.js} +2 -2
  287. package/__chunks__/{chunk-42KCESDD.js → chunk-4EINKRT5.js} +2 -2
  288. package/__chunks__/chunk-4LIH7DMK.js +2 -0
  289. package/__chunks__/{chunk-BOVMTIFC.js → chunk-4RKAPVSI.js} +2 -2
  290. package/__chunks__/{chunk-N2ML4HZP.js → chunk-4YWISNCD.js} +2 -2
  291. package/__chunks__/{chunk-RMO5UO7E.js → chunk-534RWS4Q.js} +2 -2
  292. package/__chunks__/{chunk-HZUYZ7LY.js → chunk-535ODM2Z.js} +2 -2
  293. package/__chunks__/{chunk-VSX5ONAE.js → chunk-553NYNA6.js} +2 -2
  294. package/__chunks__/{chunk-5G46CLV4.js → chunk-55P6HT2D.js} +2 -2
  295. package/__chunks__/{chunk-IQEQBUI5.js → chunk-5IWYFX5Y.js} +2 -2
  296. package/__chunks__/{chunk-7OFQUVGS.js → chunk-5JFFMHDB.js} +2 -2
  297. package/__chunks__/{chunk-ADM5RBXX.js → chunk-5NFIOBOE.js} +2 -2
  298. package/__chunks__/{chunk-JP75H2LH.js → chunk-5O5TW3RC.js} +2 -2
  299. package/__chunks__/chunk-5OKH23ME.js +2 -0
  300. package/__chunks__/{chunk-NWECADZA.js → chunk-5TK6IIXY.js} +2 -2
  301. package/__chunks__/{chunk-Y6PVWI4D.js → chunk-5TXNRL46.js} +2 -2
  302. package/__chunks__/{chunk-DXBHY3RI.js → chunk-5U53DNZW.js} +2 -2
  303. package/__chunks__/{chunk-ANW3HDYZ.js → chunk-5WIOXBDC.js} +2 -2
  304. package/__chunks__/{chunk-GCPGPREZ.js → chunk-62YFKV4J.js} +2 -2
  305. package/__chunks__/chunk-65BWG2IU.js +2 -0
  306. package/__chunks__/{chunk-PX6QTIFH.js → chunk-66G73L6V.js} +2 -2
  307. package/__chunks__/{chunk-D6LXVY2B.js → chunk-67DKNM5P.js} +2 -2
  308. package/__chunks__/chunk-67V36LEQ.js +2 -0
  309. package/__chunks__/{chunk-VEFOGXK2.js → chunk-6BLQ5C3B.js} +2 -2
  310. package/__chunks__/{chunk-5THA6SQD.js → chunk-6CS2K64E.js} +2 -2
  311. package/__chunks__/{chunk-H4UY5P4T.js → chunk-6FMP5ICS.js} +2 -2
  312. package/__chunks__/{chunk-KUYMGELX.js → chunk-6JJIXX67.js} +2 -2
  313. package/__chunks__/{chunk-G6SHF6BS.js → chunk-6K7QWTK7.js} +2 -2
  314. package/__chunks__/{chunk-C5F6SP3Q.js → chunk-72TUVIVC.js} +2 -2
  315. package/__chunks__/{chunk-Y5FKX5FN.js → chunk-7337QRHT.js} +2 -2
  316. package/__chunks__/chunk-73QMEKDR.js +2 -0
  317. package/__chunks__/{chunk-G75HV643.js → chunk-75RJ6Q7V.js} +2 -2
  318. package/__chunks__/{chunk-KWSF23ED.js → chunk-7F5GY2UJ.js} +2 -2
  319. package/__chunks__/{chunk-NUNBQ73P.js → chunk-7FRLY7ZG.js} +2 -2
  320. package/__chunks__/{chunk-G32BVJ35.js → chunk-7MNNQBVD.js} +2 -2
  321. package/__chunks__/{chunk-J574TV7M.js → chunk-7S372Y2A.js} +2 -2
  322. package/__chunks__/{chunk-H5CJNSSX.js → chunk-7SZDMEPT.js} +2 -2
  323. package/__chunks__/{chunk-FW23HUPJ.js → chunk-7THQR7BW.js} +2 -2
  324. package/__chunks__/chunk-7UFKIFNA.js +2 -0
  325. package/__chunks__/chunk-7X2LYNI6.js +2 -0
  326. package/__chunks__/{chunk-O56Y63CM.js → chunk-7YTOEYUK.js} +2 -2
  327. package/__chunks__/chunk-A6FTYFPP.js +2 -0
  328. package/__chunks__/chunk-A7RPFC3Q.js +2 -0
  329. package/__chunks__/{chunk-Z5IDF2GH.js → chunk-A7SV3J62.js} +2 -2
  330. package/__chunks__/{chunk-C57MG4IP.js → chunk-AHFQDKMP.js} +2 -2
  331. package/__chunks__/{chunk-BXU25KHA.js → chunk-AJBABHLE.js} +2 -2
  332. package/__chunks__/{chunk-ZVKCC2XJ.js → chunk-ASAXTMBB.js} +2 -2
  333. package/__chunks__/chunk-AUFQFQBU.js +2 -0
  334. package/__chunks__/{chunk-4VAOXDFU.js → chunk-AVLZRXI5.js} +2 -2
  335. package/__chunks__/{chunk-F6M4GBY3.js → chunk-AWBPI3VU.js} +2 -2
  336. package/__chunks__/{chunk-YGZNBZSU.js → chunk-AWY25KLM.js} +2 -2
  337. package/__chunks__/{chunk-OA7BBRYQ.js → chunk-AXGRYLTH.js} +2 -2
  338. package/__chunks__/{chunk-B2GQFM73.js → chunk-B6RVTWFL.js} +2 -2
  339. package/__chunks__/{chunk-IVUDR726.js → chunk-BAYFKPOJ.js} +2 -2
  340. package/__chunks__/{chunk-VBUPQ7PI.js → chunk-BCGCT3JS.js} +2 -2
  341. package/__chunks__/{chunk-AFGYW2DR.js → chunk-BHND5K3I.js} +2 -2
  342. package/__chunks__/chunk-BLY66X7K.js +2 -0
  343. package/__chunks__/{chunk-ZVD4YOCM.js → chunk-BMHPA7EM.js} +2 -2
  344. package/__chunks__/chunk-BN3Q5LGE.js +2 -0
  345. package/__chunks__/{chunk-SIDJDDZK.js → chunk-BPAXQER7.js} +2 -2
  346. package/__chunks__/{chunk-P7EDM7S3.js → chunk-BQ2P7VOI.js} +2 -2
  347. package/__chunks__/{chunk-7IKRO2QH.js → chunk-BRYRQG7O.js} +2 -2
  348. package/__chunks__/{chunk-DX4AR2MB.js → chunk-BS3SBLP2.js} +2 -2
  349. package/__chunks__/{chunk-4E3IOQJP.js → chunk-C3GI3NV2.js} +2 -2
  350. package/__chunks__/chunk-CALM3ZYM.js +2 -0
  351. package/__chunks__/{chunk-37YY6B5P.js → chunk-CF5C324R.js} +2 -2
  352. package/__chunks__/{chunk-2NLGY4Z4.js → chunk-CFPS2XHT.js} +2 -2
  353. package/__chunks__/{chunk-6NHBVPYS.js → chunk-CIDIPTIH.js} +2 -2
  354. package/__chunks__/{chunk-NN7BZ4MA.js → chunk-CSPHLCVN.js} +2 -2
  355. package/__chunks__/{chunk-62OFZHK2.js → chunk-CT7BMSCR.js} +2 -2
  356. package/__chunks__/chunk-CTFNW6OU.js +2 -0
  357. package/__chunks__/chunk-CVCE66P2.js +2 -0
  358. package/__chunks__/{chunk-PPEMSCBT.js → chunk-CZL2QTQ3.js} +2 -2
  359. package/__chunks__/{chunk-AKA3SATR.js → chunk-D26L5RNT.js} +2 -2
  360. package/__chunks__/{chunk-LCKDNPZ7.js → chunk-D44YSRGS.js} +2 -2
  361. package/__chunks__/{chunk-GCRWDAOK.js → chunk-D5MI3Y2X.js} +2 -2
  362. package/__chunks__/{chunk-VSEY57LR.js → chunk-DCXS4DEU.js} +2 -2
  363. package/__chunks__/{chunk-THU3CE7I.js → chunk-DJJ3I5NV.js} +2 -2
  364. package/__chunks__/{chunk-HUXR53W7.js → chunk-DJPC3YBT.js} +2 -2
  365. package/__chunks__/chunk-DKTJARQ4.js +2 -0
  366. package/__chunks__/{chunk-EI2RA2CG.js → chunk-DP5Z7FXY.js} +2 -2
  367. package/__chunks__/chunk-DSKRF3NW.js +2 -0
  368. package/__chunks__/{chunk-GCTYOYVH.js → chunk-DXOYVB33.js} +2 -2
  369. package/__chunks__/{chunk-JJNQKRPL.js → chunk-E5HFQLGK.js} +2 -2
  370. package/__chunks__/{chunk-5Z27CFBK.js → chunk-EA5YAPLI.js} +2 -2
  371. package/__chunks__/{chunk-HNFQM445.js → chunk-ECNWVFCC.js} +2 -2
  372. package/__chunks__/{chunk-AODUMWGA.js → chunk-ED7VFIQC.js} +2 -2
  373. package/__chunks__/{chunk-2TPVEVDW.js → chunk-EJJX3FVQ.js} +2 -2
  374. package/__chunks__/{chunk-WCBKH2DN.js → chunk-EJSRHANI.js} +2 -2
  375. package/__chunks__/{chunk-2E5XMQLB.js → chunk-EKO3G5T3.js} +2 -2
  376. package/__chunks__/chunk-EKWJ7UVN.js +2 -0
  377. package/__chunks__/{chunk-XHFLS5YW.js → chunk-EKY46RCL.js} +2 -2
  378. package/__chunks__/{chunk-TTBSM266.js → chunk-EP4MPMA3.js} +2 -2
  379. package/__chunks__/{chunk-4EMAI4Y4.js → chunk-EWGIPXPI.js} +2 -2
  380. package/__chunks__/{chunk-HUHVCW6Q.js → chunk-F2A3Q372.js} +2 -2
  381. package/__chunks__/{chunk-JCSKQCRL.js → chunk-F2R7DWTU.js} +2 -2
  382. package/__chunks__/{chunk-BK4EIZ7B.js → chunk-F6M4WIHR.js} +2 -2
  383. package/__chunks__/{chunk-77AQ5YMI.js → chunk-FBHTLU44.js} +2 -2
  384. package/__chunks__/{chunk-YM5TI2LU.js → chunk-FG23W4PU.js} +2 -2
  385. package/__chunks__/{chunk-5TC5ZWVY.js → chunk-FGOT333S.js} +2 -2
  386. package/__chunks__/chunk-FKITK4HZ.js +2 -0
  387. package/__chunks__/{chunk-AW6ZL7KS.js → chunk-FN4XBAIF.js} +2 -2
  388. package/__chunks__/{chunk-5SDK6QQV.js → chunk-FOF5VFPQ.js} +2 -2
  389. package/__chunks__/{chunk-BCK43QE6.js → chunk-FRO5L2RS.js} +2 -2
  390. package/__chunks__/{chunk-IN4KHVMW.js → chunk-FTVXOVMD.js} +2 -2
  391. package/__chunks__/chunk-FUNUC3QP.js +2 -0
  392. package/__chunks__/{chunk-J5OGZBKD.js → chunk-FWNHDVJ7.js} +2 -2
  393. package/__chunks__/{chunk-HMFVTMT5.js → chunk-FYTX4XJ5.js} +2 -2
  394. package/__chunks__/chunk-G7KXCGAN.js +2 -0
  395. package/__chunks__/{chunk-QX6YI7IJ.js → chunk-GDLAJDF2.js} +2 -2
  396. package/__chunks__/{chunk-ZE7ZRF6H.js → chunk-GJZZL7UT.js} +2 -2
  397. package/__chunks__/chunk-GQ2RN5XJ.js +2 -0
  398. package/__chunks__/{chunk-MYIQ72DA.js → chunk-GQDL2IA5.js} +2 -2
  399. package/__chunks__/{chunk-I2ZVU7Q2.js → chunk-GQYPL5J2.js} +2 -2
  400. package/__chunks__/{chunk-QLYNRZSH.js → chunk-GRGH7V3U.js} +2 -2
  401. package/__chunks__/chunk-GSVCYLMW.js +2 -0
  402. package/__chunks__/{chunk-UY7JEWEB.js → chunk-GTJRR75A.js} +2 -2
  403. package/__chunks__/{chunk-EDBH7NVW.js → chunk-GTKMHXEY.js} +2 -2
  404. package/__chunks__/{chunk-YUOQUMEJ.js → chunk-GXJWAUE4.js} +2 -2
  405. package/__chunks__/chunk-HBPSGFBI.js +2 -0
  406. package/__chunks__/chunk-HCCEXWUK.js +2 -0
  407. package/__chunks__/{chunk-X246S36O.js → chunk-HEFJSGC6.js} +2 -2
  408. package/__chunks__/{chunk-I2UFX3B3.js → chunk-HGYZKKKA.js} +2 -2
  409. package/__chunks__/{chunk-PKUINLQA.js → chunk-HHFFTM37.js} +2 -2
  410. package/__chunks__/{chunk-JZLIJB64.js → chunk-HHRHWKJS.js} +2 -2
  411. package/__chunks__/chunk-HMVIKBNF.js +2 -0
  412. package/__chunks__/chunk-HNAMU4U3.js +2 -0
  413. package/__chunks__/chunk-HNMYBBYR.js +2 -0
  414. package/__chunks__/{chunk-WQXLRFAU.js → chunk-HNZR7M7E.js} +2 -2
  415. package/__chunks__/{chunk-TVPSCCP5.js → chunk-HR7RGQWN.js} +2 -2
  416. package/__chunks__/{chunk-TAPC2PAT.js → chunk-I4FRD37W.js} +2 -2
  417. package/__chunks__/{chunk-PIDZ6E73.js → chunk-IACL6U52.js} +2 -2
  418. package/__chunks__/{chunk-K636ESMW.js → chunk-ICACBDVF.js} +2 -2
  419. package/__chunks__/{chunk-IK3KUZDP.js → chunk-ICJT5KGV.js} +2 -2
  420. package/__chunks__/{chunk-SYE5VJZR.js → chunk-IEH7QUS3.js} +2 -2
  421. package/__chunks__/{chunk-PYAEMSJC.js → chunk-IGIDEJRL.js} +2 -2
  422. package/__chunks__/{chunk-PZXBWS4D.js → chunk-IJTBI65X.js} +2 -2
  423. package/__chunks__/{chunk-77UPNZQS.js → chunk-IKWEDDHQ.js} +2 -2
  424. package/__chunks__/{chunk-NMXWLS7J.js → chunk-IL6QWPZU.js} +2 -2
  425. package/__chunks__/{chunk-OO6GMY5A.js → chunk-ILB3IHIX.js} +2 -2
  426. package/__chunks__/{chunk-OA2CO5YR.js → chunk-IM7X6DJ6.js} +2 -2
  427. package/__chunks__/{chunk-OMU7GHG2.js → chunk-ITIUQIV3.js} +2 -2
  428. package/__chunks__/{chunk-RHZQYUFE.js → chunk-IYRWBOSS.js} +2 -2
  429. package/__chunks__/{chunk-NY2P4Y3A.js → chunk-IZBFOLAJ.js} +2 -2
  430. package/__chunks__/{chunk-I3CVMMW2.js → chunk-J45QVYDM.js} +2 -2
  431. package/__chunks__/{chunk-OVVKNBSB.js → chunk-J4FNP5FB.js} +2 -2
  432. package/__chunks__/{chunk-JNV6VSHR.js → chunk-J5US4DJK.js} +2 -2
  433. package/__chunks__/{chunk-6LVBKBZV.js → chunk-J7J4DQH3.js} +2 -2
  434. package/__chunks__/chunk-JATQZ5BL.js +2 -0
  435. package/__chunks__/{chunk-YUJR2RZB.js → chunk-JBCDHMIY.js} +2 -2
  436. package/__chunks__/chunk-JBZ5HPMS.js +2 -0
  437. package/__chunks__/chunk-JD4KV2UA.js +2 -0
  438. package/__chunks__/{chunk-6367N3XC.js → chunk-JD7L7RCI.js} +2 -2
  439. package/__chunks__/{chunk-34VNBGWG.js → chunk-JI4FRDU6.js} +2 -2
  440. package/__chunks__/{chunk-YOFG55NW.js → chunk-JICXCUKM.js} +2 -2
  441. package/__chunks__/chunk-JITVKBZR.js +2 -0
  442. package/__chunks__/{chunk-5VZR2354.js → chunk-JNOI2JQO.js} +2 -2
  443. package/__chunks__/{chunk-KDOGQHQV.js → chunk-JOEIPL6J.js} +2 -2
  444. package/__chunks__/{chunk-IKBAVAD6.js → chunk-K3UFILSW.js} +2 -2
  445. package/__chunks__/chunk-K4SAKGW2.js +2 -0
  446. package/__chunks__/{chunk-CNNATFGK.js → chunk-KHCFSIIX.js} +2 -2
  447. package/__chunks__/{chunk-F3RRY3XI.js → chunk-KJHOAVHU.js} +2 -2
  448. package/__chunks__/chunk-KL4JPBDZ.js +2 -0
  449. package/__chunks__/{chunk-ZVYJE2NP.js → chunk-KLWSLJR6.js} +2 -2
  450. package/__chunks__/{chunk-MA26T6ZE.js → chunk-KN33HJUW.js} +2 -2
  451. package/__chunks__/{chunk-AQY6Z347.js → chunk-KOO533PY.js} +2 -2
  452. package/__chunks__/{chunk-SRRBPKE7.js → chunk-KQAHILCK.js} +2 -2
  453. package/__chunks__/{chunk-XHNTFLGE.js → chunk-KSVD6IUM.js} +2 -2
  454. package/__chunks__/{chunk-YUBKHZDO.js → chunk-KSYIV36J.js} +2 -2
  455. package/__chunks__/{chunk-QI3BG276.js → chunk-KT2GLC7H.js} +2 -2
  456. package/__chunks__/{chunk-GQDJXXC3.js → chunk-KTYAHAFK.js} +2 -2
  457. package/__chunks__/chunk-KWNT6IKA.js +2 -0
  458. package/__chunks__/{chunk-MAYEQAU5.js → chunk-L2FARFDW.js} +2 -2
  459. package/__chunks__/{chunk-IZM3HOWK.js → chunk-L2OUPHHW.js} +2 -2
  460. package/__chunks__/{chunk-MVYLHWJD.js → chunk-L52QLJV4.js} +2 -2
  461. package/__chunks__/{chunk-VXREJDVZ.js → chunk-L5UHPWRL.js} +2 -2
  462. package/__chunks__/{chunk-ZOMATUJX.js → chunk-LELTTDC6.js} +2 -2
  463. package/__chunks__/chunk-LFPPBSHZ.js +2 -0
  464. package/__chunks__/{chunk-2SL6RRJE.js → chunk-LFUMFM6N.js} +2 -2
  465. package/__chunks__/chunk-LN3IUDFH.js +2 -0
  466. package/__chunks__/{chunk-JMSXE3RA.js → chunk-LRGYW5ZT.js} +2 -2
  467. package/__chunks__/{chunk-CCDU73E4.js → chunk-LU5EFLBU.js} +2 -2
  468. package/__chunks__/{chunk-NRZ2FPTP.js → chunk-M3GIJKUQ.js} +2 -2
  469. package/__chunks__/{chunk-HVQU5XWI.js → chunk-M3SBPG7Y.js} +2 -2
  470. package/__chunks__/{chunk-ZZNX53E5.js → chunk-M67HDOTE.js} +2 -2
  471. package/__chunks__/{chunk-OKOJWI2Q.js → chunk-MAAOPMQH.js} +2 -2
  472. package/__chunks__/{chunk-IIT2D2SB.js → chunk-MAATDG6R.js} +2 -2
  473. package/__chunks__/{chunk-YLS6TARY.js → chunk-MB6XJ6F4.js} +2 -2
  474. package/__chunks__/{chunk-HU6H2ACE.js → chunk-MBMHC3XI.js} +2 -2
  475. package/__chunks__/{chunk-LFQH5PEL.js → chunk-MED667A5.js} +2 -2
  476. package/__chunks__/chunk-MGFER24G.js +2 -0
  477. package/__chunks__/{chunk-IXHINF7M.js → chunk-MGPS2ZVT.js} +2 -2
  478. package/__chunks__/chunk-MHR3CBFL.js +2 -0
  479. package/__chunks__/{chunk-CS7NTS2S.js → chunk-MLI4NZLA.js} +2 -2
  480. package/__chunks__/{chunk-OTDTNAYC.js → chunk-MM4YURXY.js} +2 -2
  481. package/__chunks__/{chunk-TF2IRX7G.js → chunk-MR7PKIRL.js} +2 -2
  482. package/__chunks__/{chunk-BRW2YHUM.js → chunk-MSVNY2NN.js} +2 -2
  483. package/__chunks__/{chunk-EXJHNZFS.js → chunk-MYIA5PLO.js} +2 -2
  484. package/__chunks__/{chunk-G3ZDNF4W.js → chunk-MYJHU663.js} +2 -2
  485. package/__chunks__/chunk-MYRODCMD.js +2 -0
  486. package/__chunks__/{chunk-JNOB76TJ.js → chunk-MZ53U3IS.js} +2 -2
  487. package/__chunks__/{chunk-WKAQ2WYB.js → chunk-MZCKWMML.js} +2 -2
  488. package/__chunks__/{chunk-WPJUHY6E.js → chunk-NEPBBGTE.js} +2 -2
  489. package/__chunks__/{chunk-SZIUQG4N.js → chunk-NHNNEKH5.js} +2 -2
  490. package/__chunks__/{chunk-5SONMPX2.js → chunk-NMFOG3SQ.js} +2 -2
  491. package/__chunks__/{chunk-C5MMVTPP.js → chunk-NMQWOPL7.js} +2 -2
  492. package/__chunks__/{chunk-5ZY7KAC7.js → chunk-NP2EZZ66.js} +2 -2
  493. package/__chunks__/{chunk-QFZUCSCC.js → chunk-NRLFJJ7U.js} +2 -2
  494. package/__chunks__/{chunk-R6PP2I6G.js → chunk-NSD4S6NQ.js} +2 -2
  495. package/__chunks__/{chunk-QKLHGBJS.js → chunk-NUC5P7CZ.js} +2 -2
  496. package/__chunks__/{chunk-FNUYVR3Z.js → chunk-NXB6KMZY.js} +2 -2
  497. package/__chunks__/{chunk-ZPN3H4YH.js → chunk-NZW5N224.js} +2 -2
  498. package/__chunks__/{chunk-MFVBW2L2.js → chunk-O26EWQ4S.js} +2 -2
  499. package/__chunks__/{chunk-Q4SQEDAI.js → chunk-O3KPS3EW.js} +2 -2
  500. package/__chunks__/{chunk-AK3A7KGG.js → chunk-O7APSK3I.js} +2 -2
  501. package/__chunks__/{chunk-22CC2CNV.js → chunk-OATPA4AW.js} +2 -2
  502. package/__chunks__/{chunk-5VVRIRAH.js → chunk-OAZMYZ53.js} +2 -2
  503. package/__chunks__/{chunk-FQKWLHPE.js → chunk-ODSJT5NQ.js} +2 -2
  504. package/__chunks__/chunk-OED6P55Y.js +2 -0
  505. package/__chunks__/{chunk-2JYQWNNM.js → chunk-OEIKXOFV.js} +2 -2
  506. package/__chunks__/{chunk-CTUR534K.js → chunk-OI7IAN5E.js} +2 -2
  507. package/__chunks__/{chunk-VSXFBK2Z.js → chunk-OJOQFS3E.js} +2 -2
  508. package/__chunks__/{chunk-UDIWNVME.js → chunk-OM47MH4M.js} +2 -2
  509. package/__chunks__/{chunk-3ARGWPH5.js → chunk-ONRKKLQU.js} +2 -2
  510. package/__chunks__/{chunk-PRWWI7Q3.js → chunk-OOZOBKDB.js} +2 -2
  511. package/__chunks__/{chunk-P2464NGL.js → chunk-ORIEDHD5.js} +2 -2
  512. package/__chunks__/{chunk-S2MAFNEA.js → chunk-OTQ66UMA.js} +2 -2
  513. package/__chunks__/chunk-OWZHV5OS.js +2 -0
  514. package/__chunks__/{chunk-RTK2NI7E.js → chunk-P377UY6X.js} +2 -2
  515. package/__chunks__/chunk-P3K72YIC.js +2 -0
  516. package/__chunks__/{chunk-2AWJFV7D.js → chunk-PGI3HWZT.js} +2 -2
  517. package/__chunks__/{chunk-IXZXTYEY.js → chunk-PGTE4IFS.js} +2 -2
  518. package/__chunks__/{chunk-VNYA475U.js → chunk-PHEZSH4P.js} +2 -2
  519. package/__chunks__/{chunk-Q6MML4VF.js → chunk-PHSSZQ44.js} +2 -2
  520. package/__chunks__/{chunk-ZLIAXTOB.js → chunk-PJTXIIBZ.js} +2 -2
  521. package/__chunks__/{chunk-DRFMEV77.js → chunk-PPVA32CL.js} +2 -2
  522. package/__chunks__/{chunk-HISBDY7H.js → chunk-PQRVIPXW.js} +2 -2
  523. package/__chunks__/{chunk-E4J5QKOJ.js → chunk-PXVLTF5X.js} +2 -2
  524. package/__chunks__/{chunk-WCJV2E3D.js → chunk-PZURKVD5.js} +2 -2
  525. package/__chunks__/{chunk-44XTVW42.js → chunk-Q2XDBD6A.js} +2 -2
  526. package/__chunks__/{chunk-H4UC67Y6.js → chunk-QAIY2UZX.js} +2 -2
  527. package/__chunks__/{chunk-CVZPTR3F.js → chunk-QAPSE6Y6.js} +2 -2
  528. package/__chunks__/chunk-QCIGDXG3.js +2 -0
  529. package/__chunks__/{chunk-LFTE7642.js → chunk-QPKSPNTH.js} +2 -2
  530. package/__chunks__/chunk-QW2VQDCZ.js +2 -0
  531. package/__chunks__/{chunk-IHHAQPBN.js → chunk-QZDT6YCJ.js} +2 -2
  532. package/__chunks__/{chunk-YHXCY7IS.js → chunk-R5G3SUVJ.js} +2 -2
  533. package/__chunks__/chunk-R6WDAZIP.js +2 -0
  534. package/__chunks__/{chunk-LQAGWR3V.js → chunk-RBMVD24Y.js} +2 -2
  535. package/__chunks__/{chunk-357HHJLR.js → chunk-RCJZDFZB.js} +2 -2
  536. package/__chunks__/{chunk-PSX3DPNK.js → chunk-RD7SNYUQ.js} +2 -2
  537. package/__chunks__/{chunk-JGW5PDPO.js → chunk-RE2LZ4TU.js} +2 -2
  538. package/__chunks__/chunk-RJYQXWNJ.js +2 -0
  539. package/__chunks__/{chunk-Z6PFAOQ3.js → chunk-RLGYXZS6.js} +2 -2
  540. package/__chunks__/chunk-RMRL3KGY.js +2 -0
  541. package/__chunks__/chunk-RSGN4FBO.js +2 -0
  542. package/__chunks__/{chunk-USJSDWJ4.js → chunk-RU5D5ZGX.js} +2 -2
  543. package/__chunks__/{chunk-KATHW4TP.js → chunk-RVNC4JAG.js} +2 -2
  544. package/__chunks__/chunk-S7OMH77I.js +2 -0
  545. package/__chunks__/{chunk-2UCMUHKJ.js → chunk-S7WMRQWV.js} +2 -2
  546. package/__chunks__/{chunk-ZYAY43GZ.js → chunk-SNCIM33Q.js} +2 -2
  547. package/__chunks__/{chunk-YCLQT2OB.js → chunk-SQ5TV72G.js} +2 -2
  548. package/__chunks__/{chunk-JGVFD27Q.js → chunk-SS52P6M7.js} +2 -2
  549. package/__chunks__/chunk-ST4LHJC5.js +2 -0
  550. package/__chunks__/{chunk-6ELA34OI.js → chunk-SUDVFATY.js} +2 -2
  551. package/__chunks__/{chunk-3CX7HPLX.js → chunk-T2B3BR5O.js} +2 -2
  552. package/__chunks__/{chunk-MFVMSRPZ.js → chunk-T654YWWH.js} +2 -2
  553. package/__chunks__/{chunk-AS2SZ45Z.js → chunk-T6L5FAHK.js} +2 -2
  554. package/__chunks__/{chunk-X3K3D67J.js → chunk-TCOX6DRI.js} +2 -2
  555. package/__chunks__/{chunk-JQJ2KM5D.js → chunk-TDGUYEOE.js} +2 -2
  556. package/__chunks__/chunk-TEGVCH2O.js +2 -0
  557. package/__chunks__/{chunk-MGYYMHDI.js → chunk-TJJLKTNG.js} +2 -2
  558. package/__chunks__/{chunk-I4WFAFL2.js → chunk-TJKNJFY5.js} +2 -2
  559. package/__chunks__/{chunk-TORL2TLA.js → chunk-TMULEZ64.js} +2 -2
  560. package/__chunks__/{chunk-W3UT4J2T.js → chunk-TPWHU5NB.js} +2 -2
  561. package/__chunks__/chunk-TUKRMYV5.js +2 -0
  562. package/__chunks__/{chunk-3KWMG2I6.js → chunk-U5X7WSPV.js} +2 -2
  563. package/__chunks__/{chunk-U6Y2OZXG.js → chunk-U6D4AWI4.js} +2 -2
  564. package/__chunks__/{chunk-ZX53VFJ5.js → chunk-UKLHJFJ5.js} +2 -2
  565. package/__chunks__/chunk-ULTSXR6Y.js +2 -0
  566. package/__chunks__/{chunk-NO5IAGXW.js → chunk-UM5W77A3.js} +2 -2
  567. package/__chunks__/{chunk-KS74VUBZ.js → chunk-UUBQCXBB.js} +2 -2
  568. package/__chunks__/{chunk-XQNQNMU2.js → chunk-UVILNCF4.js} +2 -2
  569. package/__chunks__/{chunk-BRF5PLZN.js → chunk-UXESUXNK.js} +2 -2
  570. package/__chunks__/{chunk-LKQABBKX.js → chunk-V2WHM4BA.js} +2 -2
  571. package/__chunks__/{chunk-Q3BJFWXF.js → chunk-VAPCAFT4.js} +2 -2
  572. package/__chunks__/{chunk-ZEHD4FID.js → chunk-VHQ4EVD4.js} +2 -2
  573. package/__chunks__/{chunk-FGVR7256.js → chunk-VK4MZEDG.js} +2 -2
  574. package/__chunks__/{chunk-236LWVMX.js → chunk-VMKFSMO4.js} +2 -2
  575. package/__chunks__/{chunk-LMC6477H.js → chunk-WCIFIUZE.js} +2 -2
  576. package/__chunks__/{chunk-HYSAM57M.js → chunk-WH7L7T6V.js} +2 -2
  577. package/__chunks__/{chunk-VFET5CPX.js → chunk-WKSPSSEF.js} +2 -2
  578. package/__chunks__/{chunk-VUVNYANS.js → chunk-WPH6ATC4.js} +2 -2
  579. package/__chunks__/{chunk-6NG6D64W.js → chunk-WPLCXSNZ.js} +2 -2
  580. package/__chunks__/chunk-WRMGJOCY.js +2 -0
  581. package/__chunks__/{chunk-5BGCUE72.js → chunk-WUZFADMR.js} +2 -2
  582. package/__chunks__/{chunk-747AXVRE.js → chunk-WZKMCXVL.js} +2 -2
  583. package/__chunks__/{chunk-HLRM4M34.js → chunk-X25S5BBS.js} +2 -2
  584. package/__chunks__/{chunk-FIUKUVMN.js → chunk-X6INL2M6.js} +2 -2
  585. package/__chunks__/{chunk-IUCFQ6DE.js → chunk-XNF7Z2HR.js} +2 -2
  586. package/__chunks__/{chunk-62ZHGQ22.js → chunk-XOYZW4B7.js} +2 -2
  587. package/__chunks__/{chunk-YCJ5H54R.js → chunk-XQA4HAAO.js} +2 -2
  588. package/__chunks__/{chunk-5GUZ5WWL.js → chunk-Y2J7LIXM.js} +2 -2
  589. package/__chunks__/{chunk-7LAZFICL.js → chunk-Y4IQWQCY.js} +2 -2
  590. package/__chunks__/{chunk-DDBG7PDX.js → chunk-Y5PO4ZOE.js} +2 -2
  591. package/__chunks__/{chunk-X3K6FHRY.js → chunk-YB5Z5Y5M.js} +2 -2
  592. package/__chunks__/{chunk-25J5VP4Y.js → chunk-YDAO3S22.js} +2 -2
  593. package/__chunks__/{chunk-YUA7FTHO.js → chunk-YEGRFVN4.js} +2 -2
  594. package/__chunks__/{chunk-7QK7OTGP.js → chunk-YFG4Z4Z7.js} +2 -2
  595. package/__chunks__/{chunk-FLOCSEYW.js → chunk-YNT7HWVJ.js} +2 -2
  596. package/__chunks__/{chunk-OPLZSH7P.js → chunk-YREBU5BK.js} +2 -2
  597. package/__chunks__/{chunk-27SZTX2S.js → chunk-YSKO67VR.js} +2 -2
  598. package/__chunks__/{chunk-4H42C46H.js → chunk-YUWKCWNN.js} +2 -2
  599. package/__chunks__/{chunk-V3MIWRDP.js → chunk-YX47Z3MR.js} +2 -2
  600. package/__chunks__/{chunk-MEIM6T7H.js → chunk-YYBKPR4R.js} +2 -2
  601. package/__chunks__/{chunk-MI5J32U5.js → chunk-Z36JG2J3.js} +2 -2
  602. package/__chunks__/{chunk-264EQUE2.js → chunk-ZBSCDOHZ.js} +2 -2
  603. package/__chunks__/{chunk-BPBY2GKU.js → chunk-ZDDGAESU.js} +2 -2
  604. package/__chunks__/chunk-ZEK3YWRC.js +2 -0
  605. package/__chunks__/{chunk-6VWYM6DX.js → chunk-ZFJ44PY4.js} +2 -2
  606. package/__chunks__/{chunk-YVB63GJZ.js → chunk-ZIK4QU7C.js} +2 -2
  607. package/__chunks__/{chunk-3JIGQKBQ.js → chunk-ZL22I3BD.js} +2 -2
  608. package/__chunks__/chunk-ZMBFD6KV.js +2 -0
  609. package/__chunks__/{chunk-EMZ65JCE.js → chunk-ZOTCSGOF.js} +2 -2
  610. package/__chunks__/{chunk-Z6BJBJCE.js → chunk-ZQLHAGN7.js} +2 -2
  611. package/__chunks__/{chunk-4S3PJSUT.js → chunk-ZWBWZAUF.js} +2 -2
  612. package/__chunks__/{chunk-SO2DMFGD.js → chunk-ZWR5P7II.js} +2 -2
  613. package/__chunks__/{chunk-6W2YZKDZ.js → chunk-ZYLRGT3G.js} +2 -2
  614. package/__chunks__/{chunk-6NO27UC2.js → chunk-ZZ33WXFF.js} +2 -2
  615. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  616. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  617. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  618. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  619. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  620. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  621. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  622. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  623. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  624. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  625. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  626. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  627. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +2 -2
  628. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  629. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  630. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  631. package/__commonjs/UI/index.js +1 -1
  632. package/__commonjs/__mocks__/index.js +1 -1
  633. package/__commonjs/__mocks__/utils/index.js +1 -1
  634. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  635. package/__commonjs/constants/index.js +1 -1
  636. package/__commonjs/hooks/index.js +1 -1
  637. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  638. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  639. package/__commonjs/hooks/transactions/index.js +1 -1
  640. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  641. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  642. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  643. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  644. package/__commonjs/utils/index.js +1 -1
  645. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  646. package/__commonjs/utils/transactions/index.js +1 -1
  647. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  648. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  649. package/__commonjs/wrappers/index.js +1 -1
  650. package/__mocks__/index.js +1 -1
  651. package/__mocks__/utils/index.js +1 -1
  652. package/__mocks__/utils/renderWithProvider.js +1 -1
  653. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  654. package/apiCalls/accounts/index.js +1 -1
  655. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  656. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  657. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  658. package/apiCalls/configuration/index.js +1 -1
  659. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  660. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  661. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  662. package/apiCalls/economics/index.js +1 -1
  663. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  664. package/apiCalls/index.js +1 -1
  665. package/apiCalls/tokens/getPersistedToken.js +1 -1
  666. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  667. package/apiCalls/transactions/index.js +1 -1
  668. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  669. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  670. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  671. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  672. package/apiCalls/utils/getScamAddressData.js +1 -1
  673. package/apiCalls/utils/index.js +1 -1
  674. package/apiCalls/utils/useApiFetch.js +1 -1
  675. package/components/LogoutListener/LogoutListener.js +1 -1
  676. package/components/LogoutListener/helpers/index.js +1 -1
  677. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  678. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  679. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  680. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  681. package/components/LogoutListener/index.js +1 -1
  682. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  683. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  684. package/components/ProviderInitializer/helpers/index.js +1 -1
  685. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  686. package/components/ProviderInitializer/hooks/index.js +1 -1
  687. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  688. package/components/ProviderInitializer/index.js +1 -1
  689. package/components/TransactionSender/TransactionSender.js +1 -1
  690. package/components/TransactionSender/index.js +1 -1
  691. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  692. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  693. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  694. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  695. package/components/TransactionsTracker/index.js +1 -1
  696. package/constants/index.js +1 -1
  697. package/hooks/account/index.js +1 -1
  698. package/hooks/account/useGetAccount.js +1 -1
  699. package/hooks/account/useGetAccountInfo.js +1 -1
  700. package/hooks/account/useGetAccountProvider.js +1 -1
  701. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  702. package/hooks/account/useGetIsLoggedIn.js +1 -1
  703. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  704. package/hooks/account/useGetLoginInfo.js +1 -1
  705. package/hooks/account/useGetWebsocketEvent.js +1 -1
  706. package/hooks/economics/index.js +1 -1
  707. package/hooks/economics/useGetEgldPrice.js +1 -1
  708. package/hooks/index.js +1 -1
  709. package/hooks/login/index.js +1 -1
  710. package/hooks/login/useCrossWindowLogin.js +1 -1
  711. package/hooks/login/useExtensionLogin.js +1 -1
  712. package/hooks/login/useGetModalLoginMethods.js +1 -1
  713. package/hooks/login/useIframeLogin.js +1 -1
  714. package/hooks/login/useLedgerLogin.js +1 -1
  715. package/hooks/login/useLoginService.js +1 -1
  716. package/hooks/login/useMetamaskLogin.js +1 -1
  717. package/hooks/login/useOperaLogin.js +1 -1
  718. package/hooks/login/usePasskeyLogin.js +1 -1
  719. package/hooks/login/useWalletConnectV2Login.js +1 -1
  720. package/hooks/login/useWebViewLogin.js +1 -1
  721. package/hooks/login/useWebWalletLogin.js +1 -1
  722. package/hooks/login/useXaliasLogin.js +1 -1
  723. package/hooks/signMessage/index.js +1 -1
  724. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  725. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  726. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  727. package/hooks/signMessage/useSignMessage.js +1 -1
  728. package/hooks/toasts/index.js +1 -1
  729. package/hooks/toasts/useGetToasts.js +1 -1
  730. package/hooks/toasts/useTransactionsToasts.js +1 -1
  731. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  732. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  733. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  734. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  735. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  736. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  737. package/hooks/transactions/batch/useGetBatches.js +1 -1
  738. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  739. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  740. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  741. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  742. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  743. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  744. package/hooks/transactions/helpers/index.js +1 -1
  745. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  746. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  747. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  748. package/hooks/transactions/index.js +1 -1
  749. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  750. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  751. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  752. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  753. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  754. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  755. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  756. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  757. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  758. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  759. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  760. package/hooks/transactions/useGetPollingInterval.js +1 -1
  761. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  762. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  763. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  764. package/hooks/transactions/useGetTokenDetails.js +1 -1
  765. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  766. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  767. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  768. package/hooks/transactions/useSignTransactions.js +1 -1
  769. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  770. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  771. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  772. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  773. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  774. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  775. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  776. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  777. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  778. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  779. package/hooks/useGetNetworkConfig.js +1 -1
  780. package/hooks/useGetNotification.js +1 -1
  781. package/hooks/websocketListener/index.js +1 -1
  782. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  783. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  784. package/models/index.js +1 -1
  785. package/models/newTransaction.js +1 -1
  786. package/package.json +3 -3
  787. package/providers/accountProvider.js +1 -1
  788. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  789. package/providers/experimentalWebViewProvider/index.js +1 -1
  790. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  791. package/providers/index.js +1 -1
  792. package/providers/utils.js +1 -1
  793. package/providers/webviewProvider/index.js +1 -1
  794. package/providers/webviewProvider/requestMethods.js +1 -1
  795. package/providers/webviewProvider/webviewProvider.js +1 -1
  796. package/reduxStore/DappProviderContext.js +1 -1
  797. package/reduxStore/commonActions.js +1 -1
  798. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  799. package/reduxStore/persistConfig.js +1 -1
  800. package/reduxStore/persistedRootReducer.js +1 -1
  801. package/reduxStore/reducers.js +1 -1
  802. package/reduxStore/rootReducer.js +1 -1
  803. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  804. package/reduxStore/selectors/index.js +1 -1
  805. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  806. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  807. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  808. package/reduxStore/slices/accountInfoSlice.js +1 -1
  809. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  810. package/reduxStore/slices/dappConfigSlice.js +1 -1
  811. package/reduxStore/slices/index.js +1 -1
  812. package/reduxStore/slices/loginInfoSlice.js +1 -1
  813. package/reduxStore/slices/modalsSlice.js +1 -1
  814. package/reduxStore/slices/networkConfigSlice.js +1 -1
  815. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  816. package/reduxStore/slices/toastsSlice.js +1 -1
  817. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  818. package/reduxStore/slices/transactionsSlice.js +1 -1
  819. package/reduxStore/store.js +1 -1
  820. package/services/index.js +1 -1
  821. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  822. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  823. package/services/nativeAuth/helpers/index.js +1 -1
  824. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  825. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  826. package/services/transactions/clearTransactions.js +1 -1
  827. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  828. package/services/transactions/getTransactionsDetails.js +1 -1
  829. package/services/transactions/index.js +1 -1
  830. package/services/transactions/isCrossShardTransaction.js +1 -1
  831. package/services/transactions/sendBatchTransactions.js +1 -1
  832. package/services/transactions/sendBatchTransactions.test.js +1 -1
  833. package/services/transactions/sendTransactions.js +1 -1
  834. package/services/transactions/signTransactions.js +1 -1
  835. package/services/transactions/transformAndSignTransactions.js +1 -1
  836. package/services/transactions/updateSignedTransactions.js +1 -1
  837. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  838. package/services/transactions/utils.js +1 -1
  839. package/utils/account/getAccount.js +1 -1
  840. package/utils/account/getAccountBalance.js +1 -1
  841. package/utils/account/getAccountProviderType.js +1 -1
  842. package/utils/account/getAccountShard.js +1 -1
  843. package/utils/account/getAddress.js +1 -1
  844. package/utils/account/getIsProviderEqualTo.js +1 -1
  845. package/utils/account/getLatestNonce.js +1 -1
  846. package/utils/account/getShardOfAddress.js +1 -1
  847. package/utils/account/getWebviewToken.js +1 -1
  848. package/utils/account/index.js +1 -1
  849. package/utils/account/loginWithExternalProvider.js +1 -1
  850. package/utils/account/refreshAccount.js +1 -1
  851. package/utils/account/setNonce.js +1 -1
  852. package/utils/account/signMessage.js +1 -1
  853. package/utils/getIsLoggedIn.js +1 -1
  854. package/utils/index.js +1 -1
  855. package/utils/logout.js +1 -1
  856. package/utils/network/getChainID.js +1 -1
  857. package/utils/network/getEgldLabel.js +1 -1
  858. package/utils/network/getNetworkConfig.js +1 -1
  859. package/utils/network/index.js +1 -1
  860. package/utils/operations/calculateFeeInFiat.js +1 -1
  861. package/utils/operations/calculateFeeLimit.js +1 -1
  862. package/utils/operations/denominate.js +1 -1
  863. package/utils/operations/formatAmount.js +1 -1
  864. package/utils/operations/index.js +1 -1
  865. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  866. package/utils/operations/ledger/index.js +1 -1
  867. package/utils/operations/nominate.js +1 -1
  868. package/utils/operations/parseAmount.js +1 -1
  869. package/utils/toasts/customToastsActions.js +1 -1
  870. package/utils/toasts/index.js +1 -1
  871. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  872. package/utils/transactions/builtCallbackUrl.js +1 -1
  873. package/utils/transactions/getAllTransactionsLink.js +1 -1
  874. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  875. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  876. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  877. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  878. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  879. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  880. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  881. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  882. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  883. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  884. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  885. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  887. package/utils/transactions/getOperationsDetails.js +1 -1
  888. package/utils/transactions/getTransactionLink.js +1 -1
  889. package/utils/transactions/index.js +1 -1
  890. package/utils/transactions/isGuardianTx.js +1 -1
  891. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  892. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  893. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  894. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  895. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  896. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  897. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  898. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  899. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  900. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  901. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  902. package/utils/validation/index.js +1 -1
  903. package/utils/validation/maxDecimals.js +1 -1
  904. package/utils/validation/stringIsFloat.js +1 -1
  905. package/utils/waitForChainID.js +1 -1
  906. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  907. package/web/hooks/index.js +1 -1
  908. package/web/hooks/useIdleTimer.js +1 -1
  909. package/web/index.js +1 -1
  910. package/wrappers/AppInitializer.js +1 -1
  911. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  912. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  913. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  914. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  915. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  916. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  917. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  918. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  919. package/wrappers/DappProvider/CustomComponents.js +1 -1
  920. package/wrappers/DappProvider/DappProvider.js +1 -1
  921. package/wrappers/DappProvider/index.js +1 -1
  922. package/wrappers/index.js +1 -1
  923. package/__chunks__/chunk-2AJ2U6HR.js +0 -2
  924. package/__chunks__/chunk-2KHNSYYP.js +0 -2
  925. package/__chunks__/chunk-2PYGV2QU.js +0 -2
  926. package/__chunks__/chunk-3KDQLV7Y.js +0 -2
  927. package/__chunks__/chunk-3NIKTVSN.js +0 -2
  928. package/__chunks__/chunk-3SUGNCTV.js +0 -2
  929. package/__chunks__/chunk-3TQIMUIJ.js +0 -2
  930. package/__chunks__/chunk-47WHHINE.js +0 -2
  931. package/__chunks__/chunk-4C2MHWRA.js +0 -2
  932. package/__chunks__/chunk-4UDS5SIS.js +0 -2
  933. package/__chunks__/chunk-5E24V7VW.js +0 -2
  934. package/__chunks__/chunk-677TYHEY.js +0 -2
  935. package/__chunks__/chunk-6TLKRTDF.js +0 -2
  936. package/__chunks__/chunk-7LBI7QXV.js +0 -2
  937. package/__chunks__/chunk-7SMLAQWO.js +0 -2
  938. package/__chunks__/chunk-7UY5XKFH.js +0 -2
  939. package/__chunks__/chunk-7VDKKHW4.js +0 -2
  940. package/__chunks__/chunk-ANL25XRG.js +0 -2
  941. package/__chunks__/chunk-ASRONMTD.js +0 -2
  942. package/__chunks__/chunk-AWTG423H.js +0 -2
  943. package/__chunks__/chunk-AXSMUT3J.js +0 -2
  944. package/__chunks__/chunk-B4NCNC4I.js +0 -2
  945. package/__chunks__/chunk-B6QZ2GXT.js +0 -2
  946. package/__chunks__/chunk-CI6CAGHB.js +0 -2
  947. package/__chunks__/chunk-EQ66TXCL.js +0 -2
  948. package/__chunks__/chunk-ESZ4WF67.js +0 -2
  949. package/__chunks__/chunk-F6T576QO.js +0 -2
  950. package/__chunks__/chunk-FCW2NYFG.js +0 -2
  951. package/__chunks__/chunk-FKIQSUGT.js +0 -2
  952. package/__chunks__/chunk-FT4U2IGB.js +0 -2
  953. package/__chunks__/chunk-G2CBMNHG.js +0 -2
  954. package/__chunks__/chunk-H37AFCHJ.js +0 -2
  955. package/__chunks__/chunk-HORO7HUU.js +0 -2
  956. package/__chunks__/chunk-HY4DLLON.js +0 -2
  957. package/__chunks__/chunk-IOYBBJCI.js +0 -2
  958. package/__chunks__/chunk-KI4NUSXO.js +0 -2
  959. package/__chunks__/chunk-LGIVDAWA.js +0 -2
  960. package/__chunks__/chunk-LMGZW34V.js +0 -2
  961. package/__chunks__/chunk-MMR72JFQ.js +0 -2
  962. package/__chunks__/chunk-NA3DIL6Z.js +0 -2
  963. package/__chunks__/chunk-NNFEEU6A.js +0 -2
  964. package/__chunks__/chunk-NQUVXDZS.js +0 -2
  965. package/__chunks__/chunk-NVMHC2UR.js +0 -2
  966. package/__chunks__/chunk-NZ5NA3MQ.js +0 -2
  967. package/__chunks__/chunk-OFOD3F5A.js +0 -2
  968. package/__chunks__/chunk-PJRCE2KU.js +0 -2
  969. package/__chunks__/chunk-PT4LBHJF.js +0 -2
  970. package/__chunks__/chunk-Q64FUYLU.js +0 -2
  971. package/__chunks__/chunk-QA2U3VUT.js +0 -2
  972. package/__chunks__/chunk-QFTZY2WK.js +0 -2
  973. package/__chunks__/chunk-S6EEK66M.js +0 -2
  974. package/__chunks__/chunk-SIFXULU5.js +0 -2
  975. package/__chunks__/chunk-SK7GCSQ5.js +0 -2
  976. package/__chunks__/chunk-UUNMA3WI.js +0 -2
  977. package/__chunks__/chunk-VDC2YCEB.js +0 -2
  978. package/__chunks__/chunk-VRKEQZNG.js +0 -2
  979. package/__chunks__/chunk-W6WQNYWR.js +0 -2
  980. package/__chunks__/chunk-WDZIOQ4W.js +0 -2
  981. package/__chunks__/chunk-WQNPN74E.js +0 -2
  982. package/__chunks__/chunk-YCOGET3Z.js +0 -2
  983. package/__chunks__/chunk-YW6ZZ4VJ.js +0 -2
  984. package/__chunks__/chunk-YZ3AZ7NL.js +0 -2
  985. package/__chunks__/chunk-ZE3XPL3I.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Ds=Object.create;var Ce=Object.defineProperty,_s=Object.defineProperties,Os=Object.getOwnPropertyDescriptor,Ms=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,Fs=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Jr=(e,t,r)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&Jr(e,r,t[r]);if(Je)for(var r of Je(t))Qr.call(t,r)&&Jr(e,r,t[r]);return e},v=(e,t)=>_s(e,Ms(t));var en=(e,t)=>{var r={};for(var o in e)Xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Je)for(var o of Je(e))t.indexOf(o)<0&&Qr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var r in t)Ce(e,r,{get:t[r],enumerable:!0})},tn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Xt.call(e,i)&&i!==r&&Ce(e,i,{get:()=>t[i],enumerable:!(o=Os(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ds(Fs(e)):{},tn(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e)),De=e=>tn(Ce({},"__esModule",{value:!0}),e);var S=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(T){i(T)}},p=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var on=U(Qe=>{"use strict";n();Qe.byteLength=Ws;Qe.toByteArray=Gs;Qe.fromByteArray=qs;var Y=[],W=[],Us=typeof Uint8Array!="undefined"?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(me=0,rn=Zt.length;me<rn;++me)Y[me]=Zt[me],W[Zt.charCodeAt(me)]=me;var me,rn;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function nn(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 Ws(e){var t=nn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Vs(e,t,r){return(t+r)*3/4-r}function Gs(e){var t,r=nn(e),o=r[0],i=r[1],l=new Us(Vs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=W[e.charCodeAt(m)]<<18|W[e.charCodeAt(m+1)]<<12|W[e.charCodeAt(m+2)]<<6|W[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=W[e.charCodeAt(m)]<<2|W[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=W[e.charCodeAt(m)]<<10|W[e.charCodeAt(m+1)]<<4|W[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function $s(e){return Y[e>>18&63]+Y[e>>12&63]+Y[e>>6&63]+Y[e&63]}function Hs(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($s(o));return i.join("")}function qs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Hs(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(Y[t>>2]+Y[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Y[t>>10]+Y[t>>4&63]+Y[t<<2&63]+"=")),i.join("")}});var sn=U(Jt=>{n();Jt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,x=-7,h=r?i-1:0,w=r?-1:1,k=e[t+h];for(h+=w,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=w,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=w,x-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(k?-1:1)*p*Math.pow(2,l-o)};Jt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,x=(1<<T)-1,h=x>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,b=o?1:-1,E=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+h>=1?t+=w/m:t+=w*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=b,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=b,p/=256,T-=8);e[r+k-b]|=E*128}});var xn=U(Ie=>{"use strict";n();var Qt=on(),ve=sn(),an=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ie.Buffer=u;Ie.SlowBuffer=Zs;Ie.INSPECT_MAX_BYTES=50;var et=2147483647;Ie.kMaxLength=et;u.TYPED_ARRAY_SUPPORT=js();!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 js(){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 re(e){if(e>et)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 nr(e)}return pn(e,t,r)}u.poolSize=8192;function pn(e,t,r){if(typeof e=="string")return Ks(e,t);if(ArrayBuffer.isView(e))return Ys(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(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return tr(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=Xs(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 pn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function un(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 zs(e,t,r){return un(e),e<=0?re(e):t!==void 0?typeof r=="string"?re(e).fill(t,r):re(e).fill(t):re(e)}u.alloc=function(e,t,r){return zs(e,t,r)};function nr(e){return un(e),re(e<0?0:or(e)|0)}u.allocUnsafe=function(e){return nr(e)};u.allocUnsafeSlow=function(e){return nr(e)};function Ks(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=dn(e,t)|0,o=re(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function er(e){for(var t=e.length<0?0:or(e.length)|0,r=re(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ys(e){if(X(e,Uint8Array)){var t=new Uint8Array(e);return tr(t.buffer,t.byteOffset,t.byteLength)}return er(e)}function tr(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 Xs(e){if(u.isBuffer(e)){var t=or(e.length)|0,r=re(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?re(0):er(e);if(e.type==="Buffer"&&Array.isArray(e.data))return er(e.data)}function or(e){if(e>=et)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+et.toString(16)+" bytes");return e|0}function Zs(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(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(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(X(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 dn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(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 rr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return hn(e).length;default:if(i)return o?-1:rr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=dn;function Js(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 ca(this,t,r);case"utf8":case"utf-8":return gn(this,t,r);case"ascii":return sa(this,t,r);case"latin1":case"binary":return aa(this,t,r);case"base64":return oa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return la(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ge(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)ge(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)ge(this,r,r+3),ge(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)ge(this,r,r+7),ge(this,r+1,r+6),ge(this,r+2,r+5),ge(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?gn(this,0,t):Js.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=Ie.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};an&&(u.prototype[an]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(X(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),T=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(T[h]!==x[h]){p=T[h],d=x[h];break}return p<d?-1:d<p?1:0};function mn(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,ir(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:cn(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):cn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function cn(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,b){return l===1?k[b]:k.readUInt16BE(b*l)}var T;if(i){var x=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,x===-1?0:T-x)){if(x===-1&&(x=T),T-x+1===d)return x*l}else x!==-1&&(T-=T-x),x=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var h=!0,w=0;w<d;w++)if(m(e,T+w)!==m(t,w)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return mn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return mn(this,t,r,o,!1)};function Qs(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(ir(d))return p;e[r+p]=d}return p}function ea(e,t,r,o){return tt(rr(t,e.length-r),e,r,o)}function ta(e,t,r,o){return tt(da(t),e,r,o)}function ra(e,t,r,o){return tt(hn(t),e,r,o)}function na(e,t,r,o){return tt(ma(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 Qs(this,t,r,o);case"utf8":case"utf-8":return ea(this,t,r,o);case"ascii":case"latin1":case"binary":return ta(this,t,r,o);case"base64":return ra(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return na(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 oa(e,t,r){return t===0&&r===e.length?Qt.fromByteArray(e):Qt.fromByteArray(e.slice(t,r))}function gn(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,T,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(h=(l&15)<<12|(m&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],T=e[i+2],x=e[i+3],(m&192)===128&&(T&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(T&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ia(o)}var ln=4096;function ia(e){var t=e.length;if(t<=ln)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ln));return r}function sa(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 aa(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 ca(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+=ga[e[l]];return i}function la(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 R(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||R(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||R(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||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,4,this.length),ve.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!1,52,8)};function _(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;_(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;_(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||_(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||_(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||_(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||_(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||_(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);_(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);_(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||_(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||_(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||_(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||_(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||_(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 fn(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 Tn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,4,34028234663852886e22,-34028234663852886e22),ve.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Tn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Tn(this,t,r,!1,o)};function yn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,8,17976931348623157e292,-17976931348623157e292),ve.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return yn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return yn(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 pa=/[^+/0-9A-Za-z-_]/g;function ua(e){if(e=e.split("=")[0],e=e.trim().replace(pa,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function rr(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 da(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ma(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 hn(e){return Qt.toByteArray(ua(e))}function tt(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 X(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ir(e){return e!==e}var ga=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 In=U((Ap,vn)=>{n();var N=vn.exports={},Z,J;function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Z=setTimeout:Z=sr}catch(e){Z=sr}try{typeof clearTimeout=="function"?J=clearTimeout:J=ar}catch(e){J=ar}})();function Sn(e){if(Z===setTimeout)return setTimeout(e,0);if((Z===sr||!Z)&&setTimeout)return Z=setTimeout,setTimeout(e,0);try{return Z(e,0)}catch(t){try{return Z.call(null,e,0)}catch(r){return Z.call(this,e,0)}}}function fa(e){if(J===clearTimeout)return clearTimeout(e);if((J===ar||!J)&&clearTimeout)return J=clearTimeout,clearTimeout(e);try{return J(e)}catch(t){try{return J.call(null,e)}catch(r){return J.call(this,e)}}}var ne=[],be=!1,fe,rt=-1;function Ta(){!be||!fe||(be=!1,fe.length?ne=fe.concat(ne):rt=-1,ne.length&&wn())}function wn(){if(!be){var e=Sn(Ta);be=!0;for(var t=ne.length;t;){for(fe=ne,ne=[];++rt<t;)fe&&fe[rt].run();rt=-1,t=ne.length}fe=null,be=!1,fa(e)}}N.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];ne.push(new An(e,t)),ne.length===1&&!be&&Sn(wn)};function An(e,t){this.fun=e,this.array=t}An.prototype.run=function(){this.fun.apply(null,this.array)};N.title="browser";N.browser=!0;N.env={};N.argv=[];N.version="";N.versions={};function oe(){}N.on=oe;N.addListener=oe;N.once=oe;N.off=oe;N.removeListener=oe;N.removeAllListeners=oe;N.emit=oe;N.prependListener=oe;N.prependOnceListener=oe;N.listeners=function(e){return[]};N.binding=function(e){throw new Error("process.binding is not supported")};N.cwd=function(){return"/"};N.chdir=function(e){throw new Error("process.chdir is not supported")};N.umask=function(){return 0}});var s,c,ya,a,n=f(()=>{s=A(xn()),c=A(In()),ya=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=ya});var bn,cr=f(()=>{"use strict";n();bn="Action not allowed. User is logged in. Call logout() first"});var kn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n()});var lr,Ln=f(()=>{"use strict";n();lr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(lr||{})});var Nn=f(()=>{"use strict";n()});var pr=f(()=>{"use strict";n()});var Pn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n()});var Cn=f(()=>{"use strict";n()});var Dn=f(()=>{"use strict";n()});var nt,ke,ot=f(()=>{"use strict";n();nt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Te,_n,_p,On,Op,$=f(()=>{"use strict";n();ot();Te=(w=>(w.ledger="ledger",w.walletconnect="walletconnect",w.walletconnectv2="walletconnectv2",w.wallet="wallet",w.crossWindow="crossWindow",w.iframe="iframe",w.extension="extension",w.passkey="passkey",w.metamask="metamask",w.opera="opera",w.extra="extra",w.none="",w))(Te||{}),_n=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(_n||{}),_p=g(g({},ke.WindowProviderRequestEnums),_n),On=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(On||{}),Op=g(g({},ke.WindowProviderResponseEnums),On)});var Mn=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var O=f(()=>{"use strict";n()});var Fn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var M=f(()=>{"use strict";n();Rn();Cn();Dn();$();Mn();Bn();O();Fn();Un();Wn()});var ur,Vn,Jp,Gn,Qp,$n,eu,tu,ru,Hn=f(()=>{"use strict";n();M();ur={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Vn,egldLabel:Jp}=ur["devnet"],{chainId:Gn,egldLabel:Qp}=ur["testnet"],{chainId:$n,egldLabel:eu}=ur["mainnet"],tu={["devnet"]:Vn,["testnet"]:Gn,["mainnet"]:$n},ru={[Vn]:"devnet",[Gn]:"testnet",[$n]:"mainnet"}});var dr=f(()=>{"use strict";n()});var Q,qn=f(()=>{"use strict";n();Q=require("@multiversx/sdk-web-wallet-provider")});var it,mr=f(()=>{"use strict";n();it=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var jn,zn,gr,cu,lu,Kn=f(()=>{"use strict";n();mr();gr=String((zn=(jn=it.safeWindow)==null?void 0:jn.navigator)==null?void 0:zn.userAgent),cu=/^((?!chrome|android).)*safari/i.test(gr),lu=/firefox/i.test(gr)&&/windows/i.test(gr)});var st,at,Yn,fr,ct,Xn,Ee,I=f(()=>{"use strict";n();kn();cr();En();Ln();Nn();pr();Pn();Hn();dr();qn();Kn();st=5e4,at=1e9,Yn=1,fr="4.6.1",ct="logout",Xn="login",Ee="0"});var Le,pt=f(()=>{"use strict";n();Le=()=>Date.now()/1e3});var Qn=f(()=>{"use strict";n()});var eo=f(()=>{"use strict";n()});var to=f(()=>{"use strict";n();pt();Qn();eo()});var Tr={};de(Tr,{clear:()=>Aa,getItem:()=>Sa,localStorageKeys:()=>ye,removeItem:()=>wa,setItem:()=>xa});var ye,ut,xa,Sa,wa,Aa,_e=f(()=>{"use strict";n();to();ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},ut=typeof localStorage!="undefined",xa=({key:e,data:t,expires:r})=>{!ut||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Sa=e=>{if(!ut)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:Le()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},wa=e=>{!ut||localStorage.removeItem(String(e))},Aa=()=>{!ut||localStorage.clear()}});var yr={};de(yr,{clear:()=>io,getItem:()=>no,removeItem:()=>oo,sessionStorageKeys:()=>va,setItem:()=>ro,storage:()=>Ia});var va,ro,no,oo,io,Ia,so=f(()=>{"use strict";n();va={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ro=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},no=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},oo=e=>sessionStorage.removeItem(String(e)),io=()=>sessionStorage.clear(),Ia={setItem:ro,getItem:no,removeItem:oo,clear:io}});var Ne,dt=f(()=>{"use strict";n();_e();so();Ne={session:yr,local:Tr}});var hr,L,le,B=f(()=>{"use strict";n();hr=require("@reduxjs/toolkit");I();L=(0,hr.createAction)(ct),le=(0,hr.createAction)(Xn,e=>({payload:e}))});var Sr,ao,co,he,xr,lo,mt,po,uo,Yu,Xu,Zu,Ju,Qu,ed,td,rd,gt,ft=f(()=>{"use strict";n();Sr=require("@multiversx/sdk-core"),ao=require("@reduxjs/toolkit"),co=require("redux-persist");I();dt();_e();B();he={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ee},xr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":he},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},lo=(0,ao.createSlice)({name:"accountInfoSlice",initialState:xr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Sr.Address(r).toHex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:he},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(L,()=>(Ne.local.removeItem(ye.loginExpiresAt),xr)),e.addCase(le,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Sr.Address(o).toHex()}),e.addCase(co.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.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:xr.accounts,t.publicKey=d})}}),{setAccount:mt,setAddress:po,setAccountNonce:uo,setAccountShard:Yu,setLedgerAccount:Xu,updateLedgerAccount:Zu,setWalletConnectAccount:Ju,setIsAccountLoading:Qu,setAccountLoadingError:ed,setWebsocketEvent:td,setWebsocketBatchEvent:rd}=lo.actions,gt=lo.reducer});function Oe(){return new Date().setHours(new Date().getHours()+24)}function Me(e){Ne.local.setItem({key:ye.loginExpiresAt,data:e,expires:e})}var wr=f(()=>{"use strict";n();dt();_e()});var go,mo,fo,dd,md,gd,xe,fd,Td,To,yd,hd,yo,Tt,yt=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");wr();$();B();mo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},fo=(0,go.createSlice)({name:"loginInfoSlice",initialState:mo,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},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(L,()=>mo),e.addCase(le,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Me(Oe())})}}),{setLoginMethod:dd,setWalletConnectLogin:md,setLedgerLogin:gd,setTokenLogin:xe,setTokenLoginSignature:fd,setWalletLogin:Td,invalidateLoginSession:To,setLogoutRoute:yd,setIsWalletConnectV2Initialized:hd,setWebviewLogin:yo}=fo.actions,Tt=fo.reducer});var xo,ho,So,Ad,ba,vd,Id,ht,xt=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");B();ho={},So=(0,xo.createSlice)({name:"modalsSlice",initialState:ho,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(L,()=>ho)}}),{setTxSubmittedModal:Ad,setNotificationModal:ba,clearTxSubmittedModal:vd,clearNotificationModal:Id}=So.actions,ht=So.reducer});var Be,St=f(()=>{"use strict";n();Be=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var ee,pe=f(()=>{"use strict";n();St();ee=()=>{if(!Be())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var wo=f(()=>{"use strict";n();pe()});var Ao=f(()=>{"use strict";n();Fe()});var vo=f(()=>{"use strict";n();mr()});var Fe=f(()=>{"use strict";n();wo();Ao();pe();vo()});var Io=f(()=>{"use strict";n();Fe()});var bo=f(()=>{"use strict";n();Io()});function ko(e){return e[Math.floor(Math.random()*e.length)]}var Eo=f(()=>{"use strict";n()});var Lo=f(()=>{"use strict";n();pr()});var No=f(()=>{"use strict";n();bo();Eo();Lo()});var Po,Ro,Co,Ar,Ea,Do,om,im,sm,wt,At=f(()=>{"use strict";n();Po=require("@reduxjs/toolkit"),Ro=A(require("lodash.omit")),Co=require("redux-persist");dr();B();No();Ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Ea={network:Ar},Do=(0,Po.createSlice)({name:"appConfig",initialState:Ea,reducers:{initializeNetworkConfig:(e,t)=>{let r=ko(t.payload.walletConnectV2RelayAddresses),o=(0,Ro.default)(t.payload,"walletConnectV2RelayAddresses");e.network=v(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(L,t=>{t.network.customWalletAddress=void 0}),e.addCase(Co.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:om,updateNetworkConfig:im,setCustomWalletAddress:sm}=Do.actions,wt=Do.reducer});var _o,vr,Oo,dm,mm,gm,vt,It=f(()=>{"use strict";n();_o=require("@reduxjs/toolkit");M();B();vr={isSigning:!1,signedSessions:{}},Oo=(0,_o.createSlice)({name:"signedMessageInfoSliceState",initialState:vr,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]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>vr},extraReducers:e=>{e.addCase(L,()=>vr)}}),{setSignSession:dm,clearSignedMessageInfo:mm,setSignSessionState:gm}=Oo.actions,vt=Oo.reducer});var Bo,Fo,Mo,Uo,wm,Am,vm,La,bt,kt=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit"),Fo=require("redux-persist");M();pt();B();Mo={customToasts:[],transactionToasts:[]},Uo=(0,Bo.createSlice)({name:"toastsSlice",initialState:Mo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=v(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(v(g({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Le(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(L,()=>Mo),e.addCase(Fo.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:wm,removeCustomToast:Am,addTransactionToast:vm,removeTransactionToast:La}=Uo.actions,bt=Uo.reducer});var Wo,br,kr,Er,Na,Ir,Vo,Em,Pa,Lm,Et,Lt=f(()=>{"use strict";n();Wo=require("@reduxjs/toolkit");B();br="Transaction failed",kr="Transaction successful",Er="Processing transaction",Na="Transaction submitted",Ir={},Vo=(0,Wo.createSlice)({name:"transactionsInfo",initialState:Ir,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||br,successMessage:(o==null?void 0:o.successMessage)||kr,processingMessage:(o==null?void 0:o.processingMessage)||Er,submittedMessage:(o==null?void 0:o.submittedMessage)||Na,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Ir},extraReducers:e=>{e.addCase(L,()=>Ir)}}),{clearTransactionsInfo:Em,setTransactionsDisplayInfo:Pa,clearTransactionsInfoForSessionId:Lm}=Vo.actions,Et=Vo.reducer});function Go(e){return e!=null&&(Va(e)||ja(e))}function Nt(e){return e!=null&&(Ga(e)||za(e))}function Pt(e){return e!=null&&($a(e)||Ka(e))}function $o(e){return e!=null&&(Ha(e)||Ya(e))}function Ho(e){return e!=null&&qa(e)}function Va(e){return e!=null&&Ca.includes(e)}function Ga(e){return e!=null&&Da.includes(e)}function $a(e){return e!=null&&_a.includes(e)}function Ha(e){return e!=null&&Oa.includes(e)}function qa(e){return e!=null&&Ma.includes(e)}function ja(e){return e!=null&&Ba.includes(e)}function za(e){return e!=null&&Fa.includes(e)}function Ka(e){return e!=null&&Ua.includes(e)}function Ya(e){return e!=null&&Wa.includes(e)}var Ca,Da,_a,Oa,Ma,Ba,Fa,Ua,Wa,Nr=f(()=>{"use strict";n();$();Ca=["sent"],Da=["success"],_a=["fail","cancelled","timedOut"],Oa=["invalid"],Ma=["timedOut"],Ba=["pending"],Fa=["success"],Ua=["fail","invalid"],Wa=["not executed"]});var qo,jo,Ue,Xa,zo,Bm,Fm,Za,Ko,Ja,Qa,Um,Wm,ec,Vm,Gm,Rt,Ct=f(()=>{"use strict";n();qo=require("@reduxjs/toolkit"),jo=require("redux-persist");$();Nr();B();Ue={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Xa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},zo=(0,qo.createSlice)({name:"transactionsSlice",initialState:Ue,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},Xa),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Ue.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=g(g({},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 T,x,h,w,k,b,E,C;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(T=e.signedTransactions)==null?void 0:T[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(D=>D.hash===l?v(g(g({},p!=null?p:{}),D),{status:o,errorMessage:i,inTransit:d}):D);let K=(w=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:w.every(D=>Nt(D.status)),ue=(b=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:b.some(D=>Pt(D.status)),Ze=(C=(E=e.signedTransactions[r])==null?void 0:E.transactions)==null?void 0:C.every(D=>$o(D.status));K&&(e.signedTransactions[r].status="success"),ue&&(e.signedTransactions[r].status="fail"),Ze&&(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=Ue.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ue.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(L,()=>Ue),e.addCase(jo.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,T])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Bm,updateSignedTransactions:Fm,setTransactionsToSign:Za,clearAllTransactionsToSign:Ko,clearAllSignedTransactions:Ja,clearSignedTransaction:Qa,clearTransactionToSign:Um,setSignTransactionsError:Wm,setSignTransactionsCancelMessage:ec,moveTransactionsToSignedState:Vm,updateSignedTransactionsCustomTransactionInformation:Gm}=zo.actions,Rt=zo.reducer});var Yo,Pr,Xo,jm,zm,tc,Km,Dt,_t=f(()=>{"use strict";n();Yo=require("@reduxjs/toolkit");B();Pr={},Xo=(0,Yo.createSlice)({name:"batchTransactionsSlice",initialState:Pr,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:()=>Pr},extraReducers:e=>{e.addCase(L,()=>Pr)}}),{setBatchTransactions:jm,updateBatchTransactions:zm,clearBatchTransactions:tc,clearAllBatchTransactions:Km}=Xo.actions,Dt=Xo.reducer});var Jo,Zo,Qo,Jm,ei,Rr=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");B();Zo={},Qo=(0,Jo.createSlice)({name:"dappConfigSlice",initialState:Zo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(L,()=>Zo)}}),{setDappConfig:Jm}=Qo.actions,ei=Qo.reducer});var H=f(()=>{"use strict";n();ft();yt();xt();At();It();kt();Lt();Ct();_t();Rr()});var Cr=f(()=>{"use strict";n()});var ni,ic,sc,We,Dr=f(()=>{"use strict";n();ni=require("@reduxjs/toolkit");Cr();ft();_t();Rr();yt();xt();At();It();kt();Lt();Ct();ic={["account"]:gt,["dappConfig"]:ei,["loginInfo"]:Tt,["modals"]:ht,["networkConfig"]:wt,["signedMessageInfo"]:vt,["toasts"]:bt,["transactionsInfo"]:Et,["transactions"]:Rt,["batchTransactions"]:Dt},sc=(e={})=>(0,ni.combineReducers)(g(g({},ic),e)),We=sc});var ai={};de(ai,{default:()=>Ac,sessionStorageReducers:()=>_r});function ie(e,t=[]){return{key:e,version:1,storage:ii.default,blacklist:t}}var F,oi,ii,ac,Ve,cc,lc,pc,uc,dc,mc,gc,fc,Tc,yc,si,hc,_r,xc,Sc,wc,Ac,ci=f(()=>{"use strict";n();F=require("redux-persist"),oi=A(require("redux-persist/lib/storage")),ii=A(require("redux-persist/lib/storage/session"));Dr();H();ft();_t();yt();xt();At();It();kt();Lt();Ct();Cr();ac={persistReducersStorageType:"localStorage"},Ve={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},cc=ie(Ve["account"]),lc=ie(Ve["loginInfo"]),pc=ie(Ve["modals"]),uc=ie(Ve["networkConfig"]),dc={2:e=>v(g({},e),{networkConfig:Ar})};mc=ie("sdk-dapp-transactionsInfo"),gc=ie("sdk-dapp-transactions",["transactionsToSign"]),fc=ie("sdk-dapp-batchTransactions",["batchTransactions"]),Tc=ie("sdk-dapp-toasts"),yc=ie("sdk-dapp-signedMessageInfo"),si={key:"sdk-dapp-store",version:2,storage:oi.default,whitelist:Object.keys(Ve),migrate:(0,F.createMigrate)(dc,{debug:!1})},hc=v(g({},si),{whitelist:[]}),_r={["toasts"]:(0,F.persistReducer)(Tc,bt),["transactions"]:(0,F.persistReducer)(gc,Rt),["transactionsInfo"]:(0,F.persistReducer)(mc,Et),["batchTransactions"]:(0,F.persistReducer)(fc,Dt),["signedMessageInfo"]:(0,F.persistReducer)(yc,vt)},xc=v(g({},_r),{["account"]:(0,F.persistReducer)(cc,gt),["loginInfo"]:(0,F.persistReducer)(lc,Tt),["modals"]:(0,F.persistReducer)(pc,ht),["networkConfig"]:(0,F.persistReducer)(uc,wt)}),Sc=ac.persistReducersStorageType==="localStorage",wc=Sc?(0,F.persistReducer)(si,We(_r)):(0,F.persistReducer)(hc,We(xc)),Ac=wc});var li={};de(li,{default:()=>vc});var vc,pi=f(()=>{"use strict";n();Dr();vc=We()});var ui={};de(ui,{default:()=>bc});var V,Ic,bc,di=f(()=>{"use strict";n();V=require("redux-persist"),Ic=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],bc=Ic});var fi={};de(fi,{default:()=>gi});function gi(e){return(0,mi.persistStore)(e)}var mi,Ti=f(()=>{"use strict";n();mi=require("redux-persist")});var Qi=U((Eb,Ji)=>{n();var Dl=typeof a=="object"&&a&&a.Object===Object&&a;Ji.exports=Dl});var ts=U((Lb,es)=>{n();var _l=Qi(),Ol=typeof self=="object"&&self&&self.Object===Object&&self,Ml=_l||Ol||Function("return this")();es.exports=Ml});var jr=U((Nb,rs)=>{n();var Bl=ts(),Fl=Bl.Symbol;rs.exports=Fl});var ss=U((Pb,is)=>{n();var ns=jr(),os=Object.prototype,Ul=os.hasOwnProperty,Wl=os.toString,ze=ns?ns.toStringTag:void 0;function Vl(e){var t=Ul.call(e,ze),r=e[ze];try{e[ze]=void 0;var o=!0}catch(l){}var i=Wl.call(e);return o&&(t?e[ze]=r:delete e[ze]),i}is.exports=Vl});var cs=U((Rb,as)=>{n();var Gl=Object.prototype,$l=Gl.toString;function Hl(e){return $l.call(e)}as.exports=Hl});var ds=U((Cb,us)=>{n();var ls=jr(),ql=ss(),jl=cs(),zl="[object Null]",Kl="[object Undefined]",ps=ls?ls.toStringTag:void 0;function Yl(e){return e==null?e===void 0?Kl:zl:ps&&ps in Object(e)?ql(e):jl(e)}us.exports=Yl});var gs=U((Db,ms)=>{n();var Xl=Array.isArray;ms.exports=Xl});var Ts=U((_b,fs)=>{n();function Zl(e){return e!=null&&typeof e=="object"}fs.exports=Zl});var hs=U((Ob,ys)=>{n();var Jl=ds(),Ql=gs(),ep=Ts(),tp="[object String]";function rp(e){return typeof e=="string"||!Ql(e)&&ep(e)&&Jl(e)==tp}ys.exports=rp});var Tp={};de(Tp,{useInitiateExperimentalWebviewLogin:()=>fp});module.exports=De(Tp);n();cr();I();n();n();ot();n();var lt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),ha=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");M();var Zn=e=>(Object.values(Te).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=nt.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=lt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Jn=i=>S(void 0,[i],function*({hasNativeAuth:e,token:t,loginService:r,onError:o}){let l=t;if(e&&!t){let p="Native auth token generation failed";try{if(l=yield r.getNativeAuthLoginToken(),!l)return console.error(p),o==null||o(p),{error:p}}catch(d){let m=d instanceof Error?d.message:String(d),T=`${p}: ${m}`;return console.error(T),o==null||o(T),{error:T}}}return l&&r.setLoginToken(l),{token:l}});n();var vs=require("react"),Yt=require("@multiversx/sdk-core");n();n();n();var Ii=require("react"),Pe=require("react-redux");n();var Si=require("@reduxjs/toolkit"),wi=require("react-redux/lib/utils/Subscription");H();n();var ti=A(require("lodash.throttle"));I();H();wr();dt();_e();var rc=[ct],Ot=!1,nc=(0,ti.default)(()=>{Me(Oe())},5e3),ri=e=>t=>r=>{if(rc.includes(r.type))return t(r);let o=e.getState(),i=Ne.local.getItem(ye.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Me(Oe()),t(r);let p=Date.now();return i-p<0&&!Ot?setTimeout(()=>{Ot=!0,e.dispatch(To())},1e3):(Ot&&(Ot=!1),nc()),t(r)};n();n();function Mt(){return typeof sessionStorage!="undefined"}var yi=Mt()?(ci(),De(ai)).default:(pi(),De(li)).default,hi=Mt()?(di(),De(ui)).default:[],xi=Mt()?(Ti(),De(fi)).default:e=>e;var P=(0,Si.configureStore)({reducer:yi,middleware:e=>e({serializableCheck:{ignoredActions:[...hi,uo.type,mt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ri)}),Ai=(0,wi.createSubscription)(P),vi=xi(P);var kc={store:P,subscription:Ai},Or=(0,Ii.createContext)(kc),Jg=(0,Pe.createStoreHook)(Or),Bt=(0,Pe.createDispatchHook)(Or),q=(0,Pe.createSelectorHook)(Or);n();n();H();n();var bi=A(require("lodash.isequal")),Ft=require("reselect"),y=(0,Ft.createSelectorCreator)(Ft.defaultMemoize,bi.default);var te=e=>e.account,Ut=y(te,e=>e.address),Re=y(te,Ut,(e,t)=>t in e.accounts?e.accounts[t]:he),Ec=y(te,Re,(e,t)=>{let i=e,{accounts:r}=i,o=en(i,["accounts"]);return v(g({},o),{address:t.address,account:t})}),nf=y(Re,e=>e.balance),Lc=y(Re,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),of=y(te,e=>e.shard),sf=y(te,e=>e.ledgerAccount),af=y(te,e=>e.walletConnectAccount),cf=y(te,e=>e.isAccountLoading),lf=y(te,e=>e.accountLoadingError),Nc=y(te,e=>e.websocketEvent),Pc=y(te,e=>e.websocketBatchEvent);n();var Rc=e=>e.dappConfig,df=y(Rc,e=>e.shouldUseWebViewProvider);n();var G=e=>e.loginInfo,Tf=y(G,e=>e.loginMethod),Mr=y(G,Ut,(e,t)=>Boolean(t)),yf=y(G,e=>e.walletConnectLogin),hf=y(G,e=>e.ledgerLogin),xf=y(G,e=>e.walletLogin),Sf=y(G,e=>e.isLoginSessionInvalid),ki=y(G,e=>e.tokenLogin),wf=y(G,e=>e.logoutRoute),Cc=y(G,e=>e.isWalletConnectV2Initialized);n();var Ei=e=>e.modals,If=y(Ei,e=>e.txSubmittedModal),bf=y(Ei,e=>e.notificationModal);n();var se=e=>e.networkConfig,Li=y(se,e=>e.network.chainId),Lf=y(se,e=>e.network.roundDuration),Nf=y(se,e=>e.network.walletConnectBridgeAddress),Pf=y(se,e=>e.network.walletConnectV2RelayAddress),Rf=y(se,e=>e.network.walletConnectV2ProjectId),Cf=y(se,e=>e.network.walletConnectV2Options),Df=y(se,e=>e.network.walletConnectDeepLink),Se=y(se,e=>e.network),Dc=y(Se,e=>e.apiAddress),Ni=y(Se,e=>e.explorerAddress),_f=y(Se,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Of=y(Se,e=>e.xAliasAddress),Mf=y(Se,e=>e.egldLabel);n();var Wt=e=>e.signedMessageInfo,Uf=y(Wt,e=>e.isSigning),Wf=y(Wt,e=>e.errorMessage),Vf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Gf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Pi=e=>e.toasts,qf=y(Pi,e=>e.customToasts),jf=y(Pi,e=>e.transactionToasts);n();H();var Ri={errorMessage:br,successMessage:kr,processingMessage:Er},_c=e=>e.transactionsInfo,Zf=y(_c,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[t])||Ri);n();n();var we=require("@multiversx/sdk-core");I();n();n();n();function Vt(e){if(!e.length)return!1;try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString("utf8"),i=s.Buffer.from(o,"utf8").toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function j(e){if(!Vt(e))return e;try{return s.Buffer.from(e,"base64").toString("utf8")}catch(t){return e}}n();n();n();n();var Ci=e=>{let t=e!=null?e:"",r=Vt(t)?j(t.trim()):t.trim();return s.Buffer.from(r)};n();I();var Ge=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(lr).some(r=>e.startsWith(r)):!1;function Gt(e){var o,i,l;let t=g({},e);Ge({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new we.Transaction(g(g(v(g(v(g(g({value:BigInt(t.value.valueOf()),data:Ci(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new we.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new we.Address(t.relayer)}:{}),{sender:new we.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:st),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:at),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:Yn}),t.options?{options:t.options}:{}),t.guardian?{guardian:new we.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();I();n();n();n();var Fc=require("@multiversx/sdk-core");n();I();n();var Wc=require("@multiversx/sdk-core");M();n();var Uc=require("@multiversx/sdk-core");n();n();n();var Vc=require("@multiversx/sdk-core"),Gc=A(require("bignumber.js"));$();n();n();n();var Br="blocks";n();n();n();n();O();n();n();O();n();n();n();var zc=A(require("bignumber.js"));I();n();var Fr=A(require("bignumber.js"));I();n();var qc=A(require("bignumber.js"));n();Fr.default.config({ROUNDING_MODE:Fr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Fi=require("@multiversx/sdk-core"),Kc=A(require("bignumber.js"));I();n();var Wr=require("@multiversx/sdk-core"),Zc=A(require("bignumber.js"));I();n();n();var Yc=A(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();O();var Qc=["reDelegateRewards","claimRewards","unBond"],el=["wrapEgld","unwrapEgld"],tl=["unStake"],rl=["unDelegate"];n();n();n();I();n();var il=A(require("bignumber.js"));n();n();O();n();var al=A(require("bignumber.js"));n();n();n();n();var ll=A(require("bignumber.js"));M();n();n();var pl=require("@multiversx/sdk-core");n();n();$();n();var ml=require("@multiversx/sdk-web-wallet-provider");I();n();var dl=A(require("qs"));n();Fe();St();n();St();var DS={search:Be()?window.location.search:"",removeParams:[]};n();n();n();pe();n();O();n();n();pe();n();var gl=A(require("linkifyjs"));n();I();n();var fl=A(require("bignumber.js"));n();M();n();n();$();n();$();n();n();n();O();n();O();n();var Tl=A(require("bignumber.js"));I();O();n();O();n();var Vi=require("react");M();n();n();O();n();n();var yl=require("@multiversx/sdk-core"),hl=A(require("bignumber.js"));O();n();M();n();n();M();var EA=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Gi=require("react");M();pe();n();var Sl=require("react");O();var OA=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Nr();n();var Ht=e=>e.transactions,qe=y(Ht,e=>e.signedTransactions),bv=y(Ht,e=>e.signTransactionsError),kv=y(Ht,e=>e.signTransactionsCancelMessage),qt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Ev=y(qe,qt(Go)),Lv=y(qe,qt(Nt)),Nv=y(qe,qt(Pt)),Pv=y(qe,qt(Ho)),Rv=y(Ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:v(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Gt(r)))||[]})}),Cv=y(qe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Gr=()=>q(Re);n();n();n();n();n();var wl=require("@multiversx/sdk-extension-provider"),Al=require("@multiversx/sdk-hw-provider"),vl=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Il=require("@multiversx/sdk-opera-provider"),bl=require("@multiversx/sdk-passkey-provider/out"),kl=require("@multiversx/sdk-web-wallet-provider");I();ot();$();n();var z=e=>`Unable to perform ${e}, Provider not initialized`,jt=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(z("getAccount"))}setAccount(t){throw new Error(z(`setAccount: ${t}`))}login(t){throw new Error(z(`login with options: ${t}`))}logout(t){throw new Error(z(`logout with options: ${t}`))}getAddress(){throw new Error(z("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(z(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(z(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(z(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(z(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(z(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(z(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},$i=new jt;var El=$i,$r=null;function Hr(e){$r=e}function Hi(){$r!=null&&(El=$r)}n();n();n();n();n();n();n();var je=A(require("react"));var bI=(0,je.createContext)({}),kI=P.getState();n();var ji=A(require("react"));n();var qr=A(require("react")),Nl=A(require("axios"));n();n();H();n();n();var As=require("@multiversx/sdk-native-auth-client");n();var Xi=A(require("axios"));n();n();n();function zi(e){return S(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ki=(e,t,r,o=0)=>S(void 0,null,function*(){try{return yield e(...r)}catch(i){if(o<t.retries)return(t==null?void 0:t.delay)!=null&&(yield zi(t.delay)),yield Ki(e,t,r,o+1);throw console.error(`Failed after ${t.retries} retries:`,i),i}}),Yi=(e,t={retries:5,delay:500})=>(...r)=>S(void 0,null,function*(){return yield Ki(e,t,r)});var Pl=4,Rl=3e4,zt={current:null},Ae={current:null},Cl=Yi((e,t,r)=>S(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield Xi.default.get(`${e}/${Br}?from=${Pl}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function Zi(e,t,r,o){return S(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(zt.current!=null&&i<zt.current.timestamp*1e3+Rl&&!o)return zt.current;if(Ae.current!=null)return yield Ae.current;Ae.current=Cl(e,t,r);try{let l=yield Ae.current;if(l==null)throw Ae.current=null,new Error("Could not retrieve block hash from API");return zt.current={hash:l.hash,timestamp:l.timestamp},Ae.current=null,l}catch(l){Ae.current=null;let p=l instanceof Error?l.message:String(l);throw console.error("Failed to fetch latest block hash:",p),new Error(`Block hash fetch failed: ${p}`)}})}n();n();pt();n();n();var xs=A(hs());var Ss=e=>{if(!e||!(0,xs.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(j(l)),d=j(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function np(e){return Object.prototype.toString.call(e)==="[object String]"}var Kt=e=>{var r;if(!e||!np(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=j(o),d=j(i),m=Ss(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let T=v(g({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete T.extraInfo,T}catch(o){return null}};var zr={isExpired:!1},ws=e=>{if(!e)return zr;let t=Kt(e);if(!t)return zr;let r=Le(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l||!o)return zr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();pe();var Ke={origin:ee().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ye=e=>{var r,o,i,l,p,d;return e===!0?Ke:{origin:(r=e==null?void 0:e.origin)!=null?r:Ke.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:Ke.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:Ke.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:Ke.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Kr=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=Ye(e),m=new As.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:Ye,initialize:h=>S(void 0,null,function*(){var k,b;if(!r)throw new Error("Native auth configuration error: apiAddress is required");if(!t)throw new Error("Native auth configuration error: origin is required");let w=()=>m.getCurrentBlockHash();try{let E=(k=h==null?void 0:h.latestBlockInfo)!=null?k:yield Zi(r,i,w,h==null?void 0:h.noCache);if(!E)return"";let{hash:C,timestamp:K}=E,ue=m.encodeValue(JSON.stringify(g(g({},(b=h==null?void 0:h.extraInfo)!=null?b:l),K?{timestamp:K}:{})));return`${m.encodeValue(t)}.${C}.${o}.${ue}`}catch(E){let C=E instanceof Error?E.message:String(E);throw console.error("Native auth token creation failed:",C),new Error(`Native auth token creation failed: ${C}`)}}),getToken:({address:h,token:w,signature:k})=>m.getToken(h,w,k),getTokenExpiration:ws}};var op=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Is=e=>{let t=q(Se),r=q(ki),o=(0,vs.useRef)(r==null?void 0:r.loginToken),i=op(t.apiAddress,e),l=Ye(g(g({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Kr(l),{address:m}=Gr(),T=Bt(),x=b=>{o.current=b,T(xe(g(v(g({},r),{loginToken:b}),i?{nativeAuthConfig:l}:{})))},h=()=>S(void 0,null,function*(){try{let b=yield d.initialize();if(!b)throw new Error("Failed to generate login token: Empty token received from native auth service");return b}catch(b){let E=b instanceof Error?b.message:String(b);throw console.error("Native auth login token generation failed:",E),new Error(`Native auth login token generation failed: ${E}`)}}),w=({address:b,signature:E})=>{let C=o.current;if(!p){T(xe(v(g({},C?{loginToken:C}:{}),{signature:E})));return}if(!C)throw new Error("Native auth login token not found. Ensure getNativeAuthLoginToken was called and completed successfully before setTokenLoginInfo.");try{let K=d.getToken({address:b,token:C,signature:E});return T(xe(g({loginToken:C,signature:E,nativeAuthToken:K},i?{nativeAuthConfig:l}:{}))),K}catch(K){return console.error("SDK setTokenLoginInfo - Error generating nativeAuthToken:",K),T(xe(g({loginToken:C,signature:E},i?{nativeAuthConfig:l}:{}))),null}};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:h,setTokenLoginInfo:w,refreshNativeAuthTokenLogin:C=>S(void 0,[C],function*({signMessageCallback:b,nativeAuthClientConfig:E}){let ue=yield Kr(E||l).initialize({noCache:Boolean(E)});if(o.current=ue,!ue)return;let Ze=new Yt.Message({address:new Yt.Address(m),data:s.Buffer.from(`${m}${ue}`)}),D=yield b(Ze,{});if(!(D!=null&&D.signature))throw"Message not signed";return w({address:m,signature:s.Buffer.from(D.signature).toString("hex")})})}};B();H();$();n();pe();var bs=()=>{let{search:e}=ee(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};n();function ks(){return Mr(P.getState())}n();var Es=typeof window!="undefined"&&window.self!==window.top;n();var Rs=require("@multiversx/sdk-dapp-utils/out/helpers/providerNotInitializedError"),Cs=require("@multiversx/sdk-webview-provider/out/WebviewProvider");B();n();B();H();M();function Ls(e,t=P.dispatch){let r=Kt(e);if(r==null)return;let{signature:o,address:i}=r;o&&e&&i&&(t(xe({loginToken:e,signature:o,nativeAuthToken:e})),t(le({address:i,loginMethod:"extra"})))}n();n();n();I();H();function Ns(){P.dispatch(Ko())}n();Fe();n();H();M();n();n();var dp=require("@multiversx/sdk-core"),mp=A(require("bignumber.js"));I();n();n();n();n();n();var Ps=require("@lifeomic/axios-fetch"),Yr=A(require("axios")),Xr=(0,Ps.buildAxiosFetch)(Yr.default),Zr=(e,t)=>S(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function ip(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function sp(e,t){return S(this,null,function*(){try{let r=yield Xr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Zr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ap(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Xe=Yr.default.create();Xe.get=sp;Xe.post=ip;Xe.patch=ap;n();n();var cp=A(require("axios"));n();var pp=A(require("swr"));n();n();n();var gp=A(require("bignumber.js"));I();var ce=class{constructor(){this.init=t=>S(this,null,function*(){return yield this._provider.init(t)});this.login=t=>S(this,null,function*(){var o,i,l;let r=yield this._provider.login(t);return{address:(o=r==null?void 0:r.address)!=null?o:"",signature:(i=r==null?void 0:r.signature)!=null?i:"",accessToken:(l=r==null?void 0:r.accessToken)!=null?l:""}});this.logout=()=>S(this,null,function*(){return vi.purge(),yield this._provider.logout()});this.relogin=()=>S(this,null,function*(){let t=yield this._provider.relogin();return t?(Ls(t),Hi(),t):(console.error("Unable to re-login. Missing accessToken."),null)});this.signTransactions=t=>S(this,null,function*(){let r=yield this._provider.signTransactions(t);return r||(Ns(),this._provider.cancelAction(),null)});this.signTransaction=t=>S(this,null,function*(){return yield this._provider.signTransaction(t)});this.signMessage=t=>S(this,null,function*(){return yield this._provider.signMessage(t)});this.cancelAction=()=>S(this,null,function*(){return yield this._provider.cancelAction()});this.isInitialized=()=>this._provider.isInitialized();this.isConnected=()=>this._provider.isConnected();this.sendCustomRequest=t=>S(this,null,function*(){this._provider.sendPostMessage({type:t.request.method,payload:t.request.params})});this.getAddress=(0,Rs.providerNotInitializedError)("getAddress");this._provider=Cs.WebviewProvider.getInstance({resetStateCallback:()=>{P.dispatch(L()),this.logout()}}),this._provider.setHandshakeResponseTimeout(2e3)}static getInstance(){return ce._instance||(ce._instance=new ce),ce._instance}getAccount(){var r;let t=this._provider.getAccount();return{address:(r=t==null?void 0:t.address)!=null?r:""}}setAccount(t){this._provider.setAccount(t)}};function fp(){let e=Bt(),r=Is(!0);return()=>S(this,null,function*(){if(ks()&&!Es)throw new Error(bn);Zn(),e(po(he.address)),e(mt(he));let i=ce.getInstance(),l=bs();if(l){yo({data:l}),i.init(),Hr(i);return}try{if(!(yield i.init(fr))){console.warn("Something went wrong trying to redirect to wallet login..");return}let{token:d,error:m}=yield Jn({hasNativeAuth:!0,token:void 0,loginService:r});if(m)return;let{signature:T,address:x}=yield i.login({token:d});if(Hr(i),!x){console.warn("Login cancelled.");return}T&&d&&r.setTokenLoginInfo({signature:T,address:x}),e(le({address:x,loginMethod:"extra"}))}catch(p){console.error("error logging in",p)}})}0&&(module.exports={useInitiateExperimentalWebviewLogin});
1
+ "use strict";var Ds=Object.create;var Ce=Object.defineProperty,_s=Object.defineProperties,Os=Object.getOwnPropertyDescriptor,Ms=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,Fs=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Jr=(e,t,r)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&Jr(e,r,t[r]);if(Je)for(var r of Je(t))Qr.call(t,r)&&Jr(e,r,t[r]);return e},v=(e,t)=>_s(e,Ms(t));var en=(e,t)=>{var r={};for(var o in e)Xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Je)for(var o of Je(e))t.indexOf(o)<0&&Qr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var r in t)Ce(e,r,{get:t[r],enumerable:!0})},tn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Xt.call(e,i)&&i!==r&&Ce(e,i,{get:()=>t[i],enumerable:!(o=Os(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ds(Fs(e)):{},tn(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e)),De=e=>tn(Ce({},"__esModule",{value:!0}),e);var S=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(T){i(T)}},p=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var on=U(Qe=>{"use strict";n();Qe.byteLength=Ws;Qe.toByteArray=Gs;Qe.fromByteArray=qs;var Y=[],W=[],Us=typeof Uint8Array!="undefined"?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(me=0,rn=Zt.length;me<rn;++me)Y[me]=Zt[me],W[Zt.charCodeAt(me)]=me;var me,rn;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function nn(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 Ws(e){var t=nn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Vs(e,t,r){return(t+r)*3/4-r}function Gs(e){var t,r=nn(e),o=r[0],i=r[1],l=new Us(Vs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=W[e.charCodeAt(m)]<<18|W[e.charCodeAt(m+1)]<<12|W[e.charCodeAt(m+2)]<<6|W[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=W[e.charCodeAt(m)]<<2|W[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=W[e.charCodeAt(m)]<<10|W[e.charCodeAt(m+1)]<<4|W[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function $s(e){return Y[e>>18&63]+Y[e>>12&63]+Y[e>>6&63]+Y[e&63]}function Hs(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($s(o));return i.join("")}function qs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Hs(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(Y[t>>2]+Y[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Y[t>>10]+Y[t>>4&63]+Y[t<<2&63]+"=")),i.join("")}});var sn=U(Jt=>{n();Jt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,x=-7,h=r?i-1:0,w=r?-1:1,k=e[t+h];for(h+=w,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=w,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=w,x-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(k?-1:1)*p*Math.pow(2,l-o)};Jt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,x=(1<<T)-1,h=x>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,b=o?1:-1,E=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+h>=1?t+=w/m:t+=w*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=b,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=b,p/=256,T-=8);e[r+k-b]|=E*128}});var xn=U(Ie=>{"use strict";n();var Qt=on(),ve=sn(),an=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ie.Buffer=u;Ie.SlowBuffer=Zs;Ie.INSPECT_MAX_BYTES=50;var et=2147483647;Ie.kMaxLength=et;u.TYPED_ARRAY_SUPPORT=js();!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 js(){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 re(e){if(e>et)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 nr(e)}return pn(e,t,r)}u.poolSize=8192;function pn(e,t,r){if(typeof e=="string")return Ks(e,t);if(ArrayBuffer.isView(e))return Ys(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(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return tr(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=Xs(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 pn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function un(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 zs(e,t,r){return un(e),e<=0?re(e):t!==void 0?typeof r=="string"?re(e).fill(t,r):re(e).fill(t):re(e)}u.alloc=function(e,t,r){return zs(e,t,r)};function nr(e){return un(e),re(e<0?0:or(e)|0)}u.allocUnsafe=function(e){return nr(e)};u.allocUnsafeSlow=function(e){return nr(e)};function Ks(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=dn(e,t)|0,o=re(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function er(e){for(var t=e.length<0?0:or(e.length)|0,r=re(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ys(e){if(X(e,Uint8Array)){var t=new Uint8Array(e);return tr(t.buffer,t.byteOffset,t.byteLength)}return er(e)}function tr(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 Xs(e){if(u.isBuffer(e)){var t=or(e.length)|0,r=re(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?re(0):er(e);if(e.type==="Buffer"&&Array.isArray(e.data))return er(e.data)}function or(e){if(e>=et)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+et.toString(16)+" bytes");return e|0}function Zs(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(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(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(X(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 dn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(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 rr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return hn(e).length;default:if(i)return o?-1:rr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=dn;function Js(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 ca(this,t,r);case"utf8":case"utf-8":return gn(this,t,r);case"ascii":return sa(this,t,r);case"latin1":case"binary":return aa(this,t,r);case"base64":return oa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return la(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ge(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)ge(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)ge(this,r,r+3),ge(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)ge(this,r,r+7),ge(this,r+1,r+6),ge(this,r+2,r+5),ge(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?gn(this,0,t):Js.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=Ie.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};an&&(u.prototype[an]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(X(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),T=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(T[h]!==x[h]){p=T[h],d=x[h];break}return p<d?-1:d<p?1:0};function mn(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,ir(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:cn(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):cn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function cn(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,b){return l===1?k[b]:k.readUInt16BE(b*l)}var T;if(i){var x=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,x===-1?0:T-x)){if(x===-1&&(x=T),T-x+1===d)return x*l}else x!==-1&&(T-=T-x),x=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var h=!0,w=0;w<d;w++)if(m(e,T+w)!==m(t,w)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return mn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return mn(this,t,r,o,!1)};function Qs(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(ir(d))return p;e[r+p]=d}return p}function ea(e,t,r,o){return tt(rr(t,e.length-r),e,r,o)}function ta(e,t,r,o){return tt(da(t),e,r,o)}function ra(e,t,r,o){return tt(hn(t),e,r,o)}function na(e,t,r,o){return tt(ma(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 Qs(this,t,r,o);case"utf8":case"utf-8":return ea(this,t,r,o);case"ascii":case"latin1":case"binary":return ta(this,t,r,o);case"base64":return ra(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return na(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 oa(e,t,r){return t===0&&r===e.length?Qt.fromByteArray(e):Qt.fromByteArray(e.slice(t,r))}function gn(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,T,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(h=(l&15)<<12|(m&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],T=e[i+2],x=e[i+3],(m&192)===128&&(T&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(T&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ia(o)}var ln=4096;function ia(e){var t=e.length;if(t<=ln)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ln));return r}function sa(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 aa(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 ca(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+=ga[e[l]];return i}function la(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 R(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||R(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||R(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||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,4,this.length),ve.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!1,52,8)};function _(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;_(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;_(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||_(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||_(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||_(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||_(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||_(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);_(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);_(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||_(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||_(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||_(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||_(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||_(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 fn(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 Tn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,4,34028234663852886e22,-34028234663852886e22),ve.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Tn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Tn(this,t,r,!1,o)};function yn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,8,17976931348623157e292,-17976931348623157e292),ve.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return yn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return yn(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 pa=/[^+/0-9A-Za-z-_]/g;function ua(e){if(e=e.split("=")[0],e=e.trim().replace(pa,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function rr(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 da(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ma(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 hn(e){return Qt.toByteArray(ua(e))}function tt(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 X(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ir(e){return e!==e}var ga=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 In=U((Ap,vn)=>{n();var N=vn.exports={},Z,J;function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Z=setTimeout:Z=sr}catch(e){Z=sr}try{typeof clearTimeout=="function"?J=clearTimeout:J=ar}catch(e){J=ar}})();function Sn(e){if(Z===setTimeout)return setTimeout(e,0);if((Z===sr||!Z)&&setTimeout)return Z=setTimeout,setTimeout(e,0);try{return Z(e,0)}catch(t){try{return Z.call(null,e,0)}catch(r){return Z.call(this,e,0)}}}function fa(e){if(J===clearTimeout)return clearTimeout(e);if((J===ar||!J)&&clearTimeout)return J=clearTimeout,clearTimeout(e);try{return J(e)}catch(t){try{return J.call(null,e)}catch(r){return J.call(this,e)}}}var ne=[],be=!1,fe,rt=-1;function Ta(){!be||!fe||(be=!1,fe.length?ne=fe.concat(ne):rt=-1,ne.length&&wn())}function wn(){if(!be){var e=Sn(Ta);be=!0;for(var t=ne.length;t;){for(fe=ne,ne=[];++rt<t;)fe&&fe[rt].run();rt=-1,t=ne.length}fe=null,be=!1,fa(e)}}N.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];ne.push(new An(e,t)),ne.length===1&&!be&&Sn(wn)};function An(e,t){this.fun=e,this.array=t}An.prototype.run=function(){this.fun.apply(null,this.array)};N.title="browser";N.browser=!0;N.env={};N.argv=[];N.version="";N.versions={};function oe(){}N.on=oe;N.addListener=oe;N.once=oe;N.off=oe;N.removeListener=oe;N.removeAllListeners=oe;N.emit=oe;N.prependListener=oe;N.prependOnceListener=oe;N.listeners=function(e){return[]};N.binding=function(e){throw new Error("process.binding is not supported")};N.cwd=function(){return"/"};N.chdir=function(e){throw new Error("process.chdir is not supported")};N.umask=function(){return 0}});var s,c,ya,a,n=f(()=>{s=A(xn()),c=A(In()),ya=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=ya});var bn,cr=f(()=>{"use strict";n();bn="Action not allowed. User is logged in. Call logout() first"});var kn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n()});var lr,Ln=f(()=>{"use strict";n();lr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(lr||{})});var Nn=f(()=>{"use strict";n()});var pr=f(()=>{"use strict";n()});var Pn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n()});var Cn=f(()=>{"use strict";n()});var Dn=f(()=>{"use strict";n()});var nt,ke,ot=f(()=>{"use strict";n();nt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Te,_n,_p,On,Op,$=f(()=>{"use strict";n();ot();Te=(w=>(w.ledger="ledger",w.walletconnect="walletconnect",w.walletconnectv2="walletconnectv2",w.wallet="wallet",w.crossWindow="crossWindow",w.iframe="iframe",w.extension="extension",w.passkey="passkey",w.metamask="metamask",w.opera="opera",w.extra="extra",w.none="",w))(Te||{}),_n=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(_n||{}),_p=g(g({},ke.WindowProviderRequestEnums),_n),On=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(On||{}),Op=g(g({},ke.WindowProviderResponseEnums),On)});var Mn=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var O=f(()=>{"use strict";n()});var Fn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var M=f(()=>{"use strict";n();Rn();Cn();Dn();$();Mn();Bn();O();Fn();Un();Wn()});var ur,Vn,Jp,Gn,Qp,$n,eu,tu,ru,Hn=f(()=>{"use strict";n();M();ur={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Vn,egldLabel:Jp}=ur["devnet"],{chainId:Gn,egldLabel:Qp}=ur["testnet"],{chainId:$n,egldLabel:eu}=ur["mainnet"],tu={["devnet"]:Vn,["testnet"]:Gn,["mainnet"]:$n},ru={[Vn]:"devnet",[Gn]:"testnet",[$n]:"mainnet"}});var dr=f(()=>{"use strict";n()});var Q,qn=f(()=>{"use strict";n();Q=require("@multiversx/sdk-web-wallet-provider")});var it,mr=f(()=>{"use strict";n();it=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var jn,zn,gr,cu,lu,Kn=f(()=>{"use strict";n();mr();gr=String((zn=(jn=it.safeWindow)==null?void 0:jn.navigator)==null?void 0:zn.userAgent),cu=/^((?!chrome|android).)*safari/i.test(gr),lu=/firefox/i.test(gr)&&/windows/i.test(gr)});var st,at,Yn,fr,ct,Xn,Ee,I=f(()=>{"use strict";n();kn();cr();En();Ln();Nn();pr();Pn();Hn();dr();qn();Kn();st=5e4,at=1e9,Yn=1,fr="4.6.3",ct="logout",Xn="login",Ee="0"});var Le,pt=f(()=>{"use strict";n();Le=()=>Date.now()/1e3});var Qn=f(()=>{"use strict";n()});var eo=f(()=>{"use strict";n()});var to=f(()=>{"use strict";n();pt();Qn();eo()});var Tr={};de(Tr,{clear:()=>Aa,getItem:()=>Sa,localStorageKeys:()=>ye,removeItem:()=>wa,setItem:()=>xa});var ye,ut,xa,Sa,wa,Aa,_e=f(()=>{"use strict";n();to();ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},ut=typeof localStorage!="undefined",xa=({key:e,data:t,expires:r})=>{!ut||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Sa=e=>{if(!ut)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:Le()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},wa=e=>{!ut||localStorage.removeItem(String(e))},Aa=()=>{!ut||localStorage.clear()}});var yr={};de(yr,{clear:()=>io,getItem:()=>no,removeItem:()=>oo,sessionStorageKeys:()=>va,setItem:()=>ro,storage:()=>Ia});var va,ro,no,oo,io,Ia,so=f(()=>{"use strict";n();va={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ro=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},no=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},oo=e=>sessionStorage.removeItem(String(e)),io=()=>sessionStorage.clear(),Ia={setItem:ro,getItem:no,removeItem:oo,clear:io}});var Ne,dt=f(()=>{"use strict";n();_e();so();Ne={session:yr,local:Tr}});var hr,L,le,B=f(()=>{"use strict";n();hr=require("@reduxjs/toolkit");I();L=(0,hr.createAction)(ct),le=(0,hr.createAction)(Xn,e=>({payload:e}))});var Sr,ao,co,he,xr,lo,mt,po,uo,Yu,Xu,Zu,Ju,Qu,ed,td,rd,gt,ft=f(()=>{"use strict";n();Sr=require("@multiversx/sdk-core"),ao=require("@reduxjs/toolkit"),co=require("redux-persist");I();dt();_e();B();he={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ee},xr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":he},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},lo=(0,ao.createSlice)({name:"accountInfoSlice",initialState:xr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Sr.Address(r).toHex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:he},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(L,()=>(Ne.local.removeItem(ye.loginExpiresAt),xr)),e.addCase(le,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Sr.Address(o).toHex()}),e.addCase(co.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.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:xr.accounts,t.publicKey=d})}}),{setAccount:mt,setAddress:po,setAccountNonce:uo,setAccountShard:Yu,setLedgerAccount:Xu,updateLedgerAccount:Zu,setWalletConnectAccount:Ju,setIsAccountLoading:Qu,setAccountLoadingError:ed,setWebsocketEvent:td,setWebsocketBatchEvent:rd}=lo.actions,gt=lo.reducer});function Oe(){return new Date().setHours(new Date().getHours()+24)}function Me(e){Ne.local.setItem({key:ye.loginExpiresAt,data:e,expires:e})}var wr=f(()=>{"use strict";n();dt();_e()});var go,mo,fo,dd,md,gd,xe,fd,Td,To,yd,hd,yo,Tt,yt=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");wr();$();B();mo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},fo=(0,go.createSlice)({name:"loginInfoSlice",initialState:mo,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},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(L,()=>mo),e.addCase(le,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Me(Oe())})}}),{setLoginMethod:dd,setWalletConnectLogin:md,setLedgerLogin:gd,setTokenLogin:xe,setTokenLoginSignature:fd,setWalletLogin:Td,invalidateLoginSession:To,setLogoutRoute:yd,setIsWalletConnectV2Initialized:hd,setWebviewLogin:yo}=fo.actions,Tt=fo.reducer});var xo,ho,So,Ad,ba,vd,Id,ht,xt=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");B();ho={},So=(0,xo.createSlice)({name:"modalsSlice",initialState:ho,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(L,()=>ho)}}),{setTxSubmittedModal:Ad,setNotificationModal:ba,clearTxSubmittedModal:vd,clearNotificationModal:Id}=So.actions,ht=So.reducer});var Be,St=f(()=>{"use strict";n();Be=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var ee,pe=f(()=>{"use strict";n();St();ee=()=>{if(!Be())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var wo=f(()=>{"use strict";n();pe()});var Ao=f(()=>{"use strict";n();Fe()});var vo=f(()=>{"use strict";n();mr()});var Fe=f(()=>{"use strict";n();wo();Ao();pe();vo()});var Io=f(()=>{"use strict";n();Fe()});var bo=f(()=>{"use strict";n();Io()});function ko(e){return e[Math.floor(Math.random()*e.length)]}var Eo=f(()=>{"use strict";n()});var Lo=f(()=>{"use strict";n();pr()});var No=f(()=>{"use strict";n();bo();Eo();Lo()});var Po,Ro,Co,Ar,Ea,Do,om,im,sm,wt,At=f(()=>{"use strict";n();Po=require("@reduxjs/toolkit"),Ro=A(require("lodash.omit")),Co=require("redux-persist");dr();B();No();Ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Ea={network:Ar},Do=(0,Po.createSlice)({name:"appConfig",initialState:Ea,reducers:{initializeNetworkConfig:(e,t)=>{let r=ko(t.payload.walletConnectV2RelayAddresses),o=(0,Ro.default)(t.payload,"walletConnectV2RelayAddresses");e.network=v(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(L,t=>{t.network.customWalletAddress=void 0}),e.addCase(Co.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:om,updateNetworkConfig:im,setCustomWalletAddress:sm}=Do.actions,wt=Do.reducer});var _o,vr,Oo,dm,mm,gm,vt,It=f(()=>{"use strict";n();_o=require("@reduxjs/toolkit");M();B();vr={isSigning:!1,signedSessions:{}},Oo=(0,_o.createSlice)({name:"signedMessageInfoSliceState",initialState:vr,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]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>vr},extraReducers:e=>{e.addCase(L,()=>vr)}}),{setSignSession:dm,clearSignedMessageInfo:mm,setSignSessionState:gm}=Oo.actions,vt=Oo.reducer});var Bo,Fo,Mo,Uo,wm,Am,vm,La,bt,kt=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit"),Fo=require("redux-persist");M();pt();B();Mo={customToasts:[],transactionToasts:[]},Uo=(0,Bo.createSlice)({name:"toastsSlice",initialState:Mo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=v(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(v(g({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Le(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(L,()=>Mo),e.addCase(Fo.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:wm,removeCustomToast:Am,addTransactionToast:vm,removeTransactionToast:La}=Uo.actions,bt=Uo.reducer});var Wo,br,kr,Er,Na,Ir,Vo,Em,Pa,Lm,Et,Lt=f(()=>{"use strict";n();Wo=require("@reduxjs/toolkit");B();br="Transaction failed",kr="Transaction successful",Er="Processing transaction",Na="Transaction submitted",Ir={},Vo=(0,Wo.createSlice)({name:"transactionsInfo",initialState:Ir,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||br,successMessage:(o==null?void 0:o.successMessage)||kr,processingMessage:(o==null?void 0:o.processingMessage)||Er,submittedMessage:(o==null?void 0:o.submittedMessage)||Na,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Ir},extraReducers:e=>{e.addCase(L,()=>Ir)}}),{clearTransactionsInfo:Em,setTransactionsDisplayInfo:Pa,clearTransactionsInfoForSessionId:Lm}=Vo.actions,Et=Vo.reducer});function Go(e){return e!=null&&(Va(e)||ja(e))}function Nt(e){return e!=null&&(Ga(e)||za(e))}function Pt(e){return e!=null&&($a(e)||Ka(e))}function $o(e){return e!=null&&(Ha(e)||Ya(e))}function Ho(e){return e!=null&&qa(e)}function Va(e){return e!=null&&Ca.includes(e)}function Ga(e){return e!=null&&Da.includes(e)}function $a(e){return e!=null&&_a.includes(e)}function Ha(e){return e!=null&&Oa.includes(e)}function qa(e){return e!=null&&Ma.includes(e)}function ja(e){return e!=null&&Ba.includes(e)}function za(e){return e!=null&&Fa.includes(e)}function Ka(e){return e!=null&&Ua.includes(e)}function Ya(e){return e!=null&&Wa.includes(e)}var Ca,Da,_a,Oa,Ma,Ba,Fa,Ua,Wa,Nr=f(()=>{"use strict";n();$();Ca=["sent"],Da=["success"],_a=["fail","cancelled","timedOut"],Oa=["invalid"],Ma=["timedOut"],Ba=["pending"],Fa=["success"],Ua=["fail","invalid"],Wa=["not executed"]});var qo,jo,Ue,Xa,zo,Bm,Fm,Za,Ko,Ja,Qa,Um,Wm,ec,Vm,Gm,Rt,Ct=f(()=>{"use strict";n();qo=require("@reduxjs/toolkit"),jo=require("redux-persist");$();Nr();B();Ue={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Xa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},zo=(0,qo.createSlice)({name:"transactionsSlice",initialState:Ue,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},Xa),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Ue.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=g(g({},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 T,x,h,w,k,b,E,C;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(T=e.signedTransactions)==null?void 0:T[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(D=>D.hash===l?v(g(g({},p!=null?p:{}),D),{status:o,errorMessage:i,inTransit:d}):D);let K=(w=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:w.every(D=>Nt(D.status)),ue=(b=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:b.some(D=>Pt(D.status)),Ze=(C=(E=e.signedTransactions[r])==null?void 0:E.transactions)==null?void 0:C.every(D=>$o(D.status));K&&(e.signedTransactions[r].status="success"),ue&&(e.signedTransactions[r].status="fail"),Ze&&(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=Ue.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ue.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(L,()=>Ue),e.addCase(jo.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,T])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Bm,updateSignedTransactions:Fm,setTransactionsToSign:Za,clearAllTransactionsToSign:Ko,clearAllSignedTransactions:Ja,clearSignedTransaction:Qa,clearTransactionToSign:Um,setSignTransactionsError:Wm,setSignTransactionsCancelMessage:ec,moveTransactionsToSignedState:Vm,updateSignedTransactionsCustomTransactionInformation:Gm}=zo.actions,Rt=zo.reducer});var Yo,Pr,Xo,jm,zm,tc,Km,Dt,_t=f(()=>{"use strict";n();Yo=require("@reduxjs/toolkit");B();Pr={},Xo=(0,Yo.createSlice)({name:"batchTransactionsSlice",initialState:Pr,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:()=>Pr},extraReducers:e=>{e.addCase(L,()=>Pr)}}),{setBatchTransactions:jm,updateBatchTransactions:zm,clearBatchTransactions:tc,clearAllBatchTransactions:Km}=Xo.actions,Dt=Xo.reducer});var Jo,Zo,Qo,Jm,ei,Rr=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");B();Zo={},Qo=(0,Jo.createSlice)({name:"dappConfigSlice",initialState:Zo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(L,()=>Zo)}}),{setDappConfig:Jm}=Qo.actions,ei=Qo.reducer});var H=f(()=>{"use strict";n();ft();yt();xt();At();It();kt();Lt();Ct();_t();Rr()});var Cr=f(()=>{"use strict";n()});var ni,ic,sc,We,Dr=f(()=>{"use strict";n();ni=require("@reduxjs/toolkit");Cr();ft();_t();Rr();yt();xt();At();It();kt();Lt();Ct();ic={["account"]:gt,["dappConfig"]:ei,["loginInfo"]:Tt,["modals"]:ht,["networkConfig"]:wt,["signedMessageInfo"]:vt,["toasts"]:bt,["transactionsInfo"]:Et,["transactions"]:Rt,["batchTransactions"]:Dt},sc=(e={})=>(0,ni.combineReducers)(g(g({},ic),e)),We=sc});var ai={};de(ai,{default:()=>Ac,sessionStorageReducers:()=>_r});function ie(e,t=[]){return{key:e,version:1,storage:ii.default,blacklist:t}}var F,oi,ii,ac,Ve,cc,lc,pc,uc,dc,mc,gc,fc,Tc,yc,si,hc,_r,xc,Sc,wc,Ac,ci=f(()=>{"use strict";n();F=require("redux-persist"),oi=A(require("redux-persist/lib/storage")),ii=A(require("redux-persist/lib/storage/session"));Dr();H();ft();_t();yt();xt();At();It();kt();Lt();Ct();Cr();ac={persistReducersStorageType:"localStorage"},Ve={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},cc=ie(Ve["account"]),lc=ie(Ve["loginInfo"]),pc=ie(Ve["modals"]),uc=ie(Ve["networkConfig"]),dc={2:e=>v(g({},e),{networkConfig:Ar})};mc=ie("sdk-dapp-transactionsInfo"),gc=ie("sdk-dapp-transactions",["transactionsToSign"]),fc=ie("sdk-dapp-batchTransactions",["batchTransactions"]),Tc=ie("sdk-dapp-toasts"),yc=ie("sdk-dapp-signedMessageInfo"),si={key:"sdk-dapp-store",version:2,storage:oi.default,whitelist:Object.keys(Ve),migrate:(0,F.createMigrate)(dc,{debug:!1})},hc=v(g({},si),{whitelist:[]}),_r={["toasts"]:(0,F.persistReducer)(Tc,bt),["transactions"]:(0,F.persistReducer)(gc,Rt),["transactionsInfo"]:(0,F.persistReducer)(mc,Et),["batchTransactions"]:(0,F.persistReducer)(fc,Dt),["signedMessageInfo"]:(0,F.persistReducer)(yc,vt)},xc=v(g({},_r),{["account"]:(0,F.persistReducer)(cc,gt),["loginInfo"]:(0,F.persistReducer)(lc,Tt),["modals"]:(0,F.persistReducer)(pc,ht),["networkConfig"]:(0,F.persistReducer)(uc,wt)}),Sc=ac.persistReducersStorageType==="localStorage",wc=Sc?(0,F.persistReducer)(si,We(_r)):(0,F.persistReducer)(hc,We(xc)),Ac=wc});var li={};de(li,{default:()=>vc});var vc,pi=f(()=>{"use strict";n();Dr();vc=We()});var ui={};de(ui,{default:()=>bc});var V,Ic,bc,di=f(()=>{"use strict";n();V=require("redux-persist"),Ic=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],bc=Ic});var fi={};de(fi,{default:()=>gi});function gi(e){return(0,mi.persistStore)(e)}var mi,Ti=f(()=>{"use strict";n();mi=require("redux-persist")});var Qi=U((Eb,Ji)=>{n();var Dl=typeof a=="object"&&a&&a.Object===Object&&a;Ji.exports=Dl});var ts=U((Lb,es)=>{n();var _l=Qi(),Ol=typeof self=="object"&&self&&self.Object===Object&&self,Ml=_l||Ol||Function("return this")();es.exports=Ml});var jr=U((Nb,rs)=>{n();var Bl=ts(),Fl=Bl.Symbol;rs.exports=Fl});var ss=U((Pb,is)=>{n();var ns=jr(),os=Object.prototype,Ul=os.hasOwnProperty,Wl=os.toString,ze=ns?ns.toStringTag:void 0;function Vl(e){var t=Ul.call(e,ze),r=e[ze];try{e[ze]=void 0;var o=!0}catch(l){}var i=Wl.call(e);return o&&(t?e[ze]=r:delete e[ze]),i}is.exports=Vl});var cs=U((Rb,as)=>{n();var Gl=Object.prototype,$l=Gl.toString;function Hl(e){return $l.call(e)}as.exports=Hl});var ds=U((Cb,us)=>{n();var ls=jr(),ql=ss(),jl=cs(),zl="[object Null]",Kl="[object Undefined]",ps=ls?ls.toStringTag:void 0;function Yl(e){return e==null?e===void 0?Kl:zl:ps&&ps in Object(e)?ql(e):jl(e)}us.exports=Yl});var gs=U((Db,ms)=>{n();var Xl=Array.isArray;ms.exports=Xl});var Ts=U((_b,fs)=>{n();function Zl(e){return e!=null&&typeof e=="object"}fs.exports=Zl});var hs=U((Ob,ys)=>{n();var Jl=ds(),Ql=gs(),ep=Ts(),tp="[object String]";function rp(e){return typeof e=="string"||!Ql(e)&&ep(e)&&Jl(e)==tp}ys.exports=rp});var Tp={};de(Tp,{useInitiateExperimentalWebviewLogin:()=>fp});module.exports=De(Tp);n();cr();I();n();n();ot();n();var lt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),ha=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");M();var Zn=e=>(Object.values(Te).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=nt.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=lt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Jn=i=>S(void 0,[i],function*({hasNativeAuth:e,token:t,loginService:r,onError:o}){let l=t;if(e&&!t){let p="Native auth token generation failed";try{if(l=yield r.getNativeAuthLoginToken(),!l)return console.error(p),o==null||o(p),{error:p}}catch(d){let m=d instanceof Error?d.message:String(d),T=`${p}: ${m}`;return console.error(T),o==null||o(T),{error:T}}}return l&&r.setLoginToken(l),{token:l}});n();var vs=require("react"),Yt=require("@multiversx/sdk-core");n();n();n();var Ii=require("react"),Pe=require("react-redux");n();var Si=require("@reduxjs/toolkit"),wi=require("react-redux/lib/utils/Subscription");H();n();var ti=A(require("lodash.throttle"));I();H();wr();dt();_e();var rc=[ct],Ot=!1,nc=(0,ti.default)(()=>{Me(Oe())},5e3),ri=e=>t=>r=>{if(rc.includes(r.type))return t(r);let o=e.getState(),i=Ne.local.getItem(ye.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Me(Oe()),t(r);let p=Date.now();return i-p<0&&!Ot?setTimeout(()=>{Ot=!0,e.dispatch(To())},1e3):(Ot&&(Ot=!1),nc()),t(r)};n();n();function Mt(){return typeof sessionStorage!="undefined"}var yi=Mt()?(ci(),De(ai)).default:(pi(),De(li)).default,hi=Mt()?(di(),De(ui)).default:[],xi=Mt()?(Ti(),De(fi)).default:e=>e;var P=(0,Si.configureStore)({reducer:yi,middleware:e=>e({serializableCheck:{ignoredActions:[...hi,uo.type,mt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ri)}),Ai=(0,wi.createSubscription)(P),vi=xi(P);var kc={store:P,subscription:Ai},Or=(0,Ii.createContext)(kc),Jg=(0,Pe.createStoreHook)(Or),Bt=(0,Pe.createDispatchHook)(Or),q=(0,Pe.createSelectorHook)(Or);n();n();H();n();var bi=A(require("lodash.isequal")),Ft=require("reselect"),y=(0,Ft.createSelectorCreator)(Ft.defaultMemoize,bi.default);var te=e=>e.account,Ut=y(te,e=>e.address),Re=y(te,Ut,(e,t)=>t in e.accounts?e.accounts[t]:he),Ec=y(te,Re,(e,t)=>{let i=e,{accounts:r}=i,o=en(i,["accounts"]);return v(g({},o),{address:t.address,account:t})}),nf=y(Re,e=>e.balance),Lc=y(Re,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),of=y(te,e=>e.shard),sf=y(te,e=>e.ledgerAccount),af=y(te,e=>e.walletConnectAccount),cf=y(te,e=>e.isAccountLoading),lf=y(te,e=>e.accountLoadingError),Nc=y(te,e=>e.websocketEvent),Pc=y(te,e=>e.websocketBatchEvent);n();var Rc=e=>e.dappConfig,df=y(Rc,e=>e.shouldUseWebViewProvider);n();var G=e=>e.loginInfo,Tf=y(G,e=>e.loginMethod),Mr=y(G,Ut,(e,t)=>Boolean(t)),yf=y(G,e=>e.walletConnectLogin),hf=y(G,e=>e.ledgerLogin),xf=y(G,e=>e.walletLogin),Sf=y(G,e=>e.isLoginSessionInvalid),ki=y(G,e=>e.tokenLogin),wf=y(G,e=>e.logoutRoute),Cc=y(G,e=>e.isWalletConnectV2Initialized);n();var Ei=e=>e.modals,If=y(Ei,e=>e.txSubmittedModal),bf=y(Ei,e=>e.notificationModal);n();var se=e=>e.networkConfig,Li=y(se,e=>e.network.chainId),Lf=y(se,e=>e.network.roundDuration),Nf=y(se,e=>e.network.walletConnectBridgeAddress),Pf=y(se,e=>e.network.walletConnectV2RelayAddress),Rf=y(se,e=>e.network.walletConnectV2ProjectId),Cf=y(se,e=>e.network.walletConnectV2Options),Df=y(se,e=>e.network.walletConnectDeepLink),Se=y(se,e=>e.network),Dc=y(Se,e=>e.apiAddress),Ni=y(Se,e=>e.explorerAddress),_f=y(Se,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Of=y(Se,e=>e.xAliasAddress),Mf=y(Se,e=>e.egldLabel);n();var Wt=e=>e.signedMessageInfo,Uf=y(Wt,e=>e.isSigning),Wf=y(Wt,e=>e.errorMessage),Vf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Gf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Pi=e=>e.toasts,qf=y(Pi,e=>e.customToasts),jf=y(Pi,e=>e.transactionToasts);n();H();var Ri={errorMessage:br,successMessage:kr,processingMessage:Er},_c=e=>e.transactionsInfo,Zf=y(_c,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[t])||Ri);n();n();var we=require("@multiversx/sdk-core");I();n();n();n();function Vt(e){if(!e.length)return!1;try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString("utf8"),i=s.Buffer.from(o,"utf8").toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function j(e){if(!Vt(e))return e;try{return s.Buffer.from(e,"base64").toString("utf8")}catch(t){return e}}n();n();n();n();var Ci=e=>{let t=e!=null?e:"",r=Vt(t)?j(t.trim()):t.trim();return s.Buffer.from(r)};n();I();var Ge=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(lr).some(r=>e.startsWith(r)):!1;function Gt(e){var o,i,l;let t=g({},e);Ge({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new we.Transaction(g(g(v(g(v(g(g({value:BigInt(t.value.valueOf()),data:Ci(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new we.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new we.Address(t.relayer)}:{}),{sender:new we.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:st),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:at),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:Yn}),t.options?{options:t.options}:{}),t.guardian?{guardian:new we.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();I();n();n();n();var Fc=require("@multiversx/sdk-core");n();I();n();var Wc=require("@multiversx/sdk-core");M();n();var Uc=require("@multiversx/sdk-core");n();n();n();var Vc=require("@multiversx/sdk-core"),Gc=A(require("bignumber.js"));$();n();n();n();var Br="blocks";n();n();n();n();O();n();n();O();n();n();n();var zc=A(require("bignumber.js"));I();n();var Fr=A(require("bignumber.js"));I();n();var qc=A(require("bignumber.js"));n();Fr.default.config({ROUNDING_MODE:Fr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Fi=require("@multiversx/sdk-core"),Kc=A(require("bignumber.js"));I();n();var Wr=require("@multiversx/sdk-core"),Zc=A(require("bignumber.js"));I();n();n();var Yc=A(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();O();var Qc=["reDelegateRewards","claimRewards","unBond"],el=["wrapEgld","unwrapEgld"],tl=["unStake"],rl=["unDelegate"];n();n();n();I();n();var il=A(require("bignumber.js"));n();n();O();n();var al=A(require("bignumber.js"));n();n();n();n();var ll=A(require("bignumber.js"));M();n();n();var pl=require("@multiversx/sdk-core");n();n();$();n();var ml=require("@multiversx/sdk-web-wallet-provider");I();n();var dl=A(require("qs"));n();Fe();St();n();St();var DS={search:Be()?window.location.search:"",removeParams:[]};n();n();n();pe();n();O();n();n();pe();n();var gl=A(require("linkifyjs"));n();I();n();var fl=A(require("bignumber.js"));n();M();n();n();$();n();$();n();n();n();O();n();O();n();var Tl=A(require("bignumber.js"));I();O();n();O();n();var Vi=require("react");M();n();n();O();n();n();var yl=require("@multiversx/sdk-core"),hl=A(require("bignumber.js"));O();n();M();n();n();M();var EA=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Gi=require("react");M();pe();n();var Sl=require("react");O();var OA=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Nr();n();var Ht=e=>e.transactions,qe=y(Ht,e=>e.signedTransactions),bv=y(Ht,e=>e.signTransactionsError),kv=y(Ht,e=>e.signTransactionsCancelMessage),qt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Ev=y(qe,qt(Go)),Lv=y(qe,qt(Nt)),Nv=y(qe,qt(Pt)),Pv=y(qe,qt(Ho)),Rv=y(Ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:v(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Gt(r)))||[]})}),Cv=y(qe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Gr=()=>q(Re);n();n();n();n();n();var wl=require("@multiversx/sdk-extension-provider"),Al=require("@multiversx/sdk-hw-provider"),vl=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Il=require("@multiversx/sdk-opera-provider"),bl=require("@multiversx/sdk-passkey-provider/out"),kl=require("@multiversx/sdk-web-wallet-provider");I();ot();$();n();var z=e=>`Unable to perform ${e}, Provider not initialized`,jt=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(z("getAccount"))}setAccount(t){throw new Error(z(`setAccount: ${t}`))}login(t){throw new Error(z(`login with options: ${t}`))}logout(t){throw new Error(z(`logout with options: ${t}`))}getAddress(){throw new Error(z("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(z(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(z(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(z(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(z(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(z(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(z(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},$i=new jt;var El=$i,$r=null;function Hr(e){$r=e}function Hi(){$r!=null&&(El=$r)}n();n();n();n();n();n();n();var je=A(require("react"));var bI=(0,je.createContext)({}),kI=P.getState();n();var ji=A(require("react"));n();var qr=A(require("react")),Nl=A(require("axios"));n();n();H();n();n();var As=require("@multiversx/sdk-native-auth-client");n();var Xi=A(require("axios"));n();n();n();function zi(e){return S(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ki=(e,t,r,o=0)=>S(void 0,null,function*(){try{return yield e(...r)}catch(i){if(o<t.retries)return(t==null?void 0:t.delay)!=null&&(yield zi(t.delay)),yield Ki(e,t,r,o+1);throw console.error(`Failed after ${t.retries} retries:`,i),i}}),Yi=(e,t={retries:5,delay:500})=>(...r)=>S(void 0,null,function*(){return yield Ki(e,t,r)});var Pl=4,Rl=3e4,zt={current:null},Ae={current:null},Cl=Yi((e,t,r)=>S(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield Xi.default.get(`${e}/${Br}?from=${Pl}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function Zi(e,t,r,o){return S(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(zt.current!=null&&i<zt.current.timestamp*1e3+Rl&&!o)return zt.current;if(Ae.current!=null)return yield Ae.current;Ae.current=Cl(e,t,r);try{let l=yield Ae.current;if(l==null)throw Ae.current=null,new Error("Could not retrieve block hash from API");return zt.current={hash:l.hash,timestamp:l.timestamp},Ae.current=null,l}catch(l){Ae.current=null;let p=l instanceof Error?l.message:String(l);throw console.error("Failed to fetch latest block hash:",p),new Error(`Block hash fetch failed: ${p}`)}})}n();n();pt();n();n();var xs=A(hs());var Ss=e=>{if(!e||!(0,xs.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(j(l)),d=j(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function np(e){return Object.prototype.toString.call(e)==="[object String]"}var Kt=e=>{var r;if(!e||!np(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=j(o),d=j(i),m=Ss(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let T=v(g({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete T.extraInfo,T}catch(o){return null}};var zr={isExpired:!1},ws=e=>{if(!e)return zr;let t=Kt(e);if(!t)return zr;let r=Le(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l||!o)return zr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();pe();var Ke={origin:ee().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ye=e=>{var r,o,i,l,p,d;return e===!0?Ke:{origin:(r=e==null?void 0:e.origin)!=null?r:Ke.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:Ke.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:Ke.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:Ke.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Kr=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=Ye(e),m=new As.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:Ye,initialize:h=>S(void 0,null,function*(){var k,b;if(!r)throw new Error("Native auth configuration error: apiAddress is required");if(!t)throw new Error("Native auth configuration error: origin is required");let w=()=>m.getCurrentBlockHash();try{let E=(k=h==null?void 0:h.latestBlockInfo)!=null?k:yield Zi(r,i,w,h==null?void 0:h.noCache);if(!E)return"";let{hash:C,timestamp:K}=E,ue=m.encodeValue(JSON.stringify(g(g({},(b=h==null?void 0:h.extraInfo)!=null?b:l),K?{timestamp:K}:{})));return`${m.encodeValue(t)}.${C}.${o}.${ue}`}catch(E){let C=E instanceof Error?E.message:String(E);throw console.error("Native auth token creation failed:",C),new Error(`Native auth token creation failed: ${C}`)}}),getToken:({address:h,token:w,signature:k})=>m.getToken(h,w,k),getTokenExpiration:ws}};var op=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Is=e=>{let t=q(Se),r=q(ki),o=(0,vs.useRef)(r==null?void 0:r.loginToken),i=op(t.apiAddress,e),l=Ye(g(g({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Kr(l),{address:m}=Gr(),T=Bt(),x=b=>{o.current=b,T(xe(g(v(g({},r),{loginToken:b}),i?{nativeAuthConfig:l}:{})))},h=()=>S(void 0,null,function*(){try{let b=yield d.initialize();if(!b)throw new Error("Failed to generate login token: Empty token received from native auth service");return b}catch(b){let E=b instanceof Error?b.message:String(b);throw console.error("Native auth login token generation failed:",E),new Error(`Native auth login token generation failed: ${E}`)}}),w=({address:b,signature:E})=>{let C=o.current;if(!p){T(xe(v(g({},C?{loginToken:C}:{}),{signature:E})));return}if(!C)throw new Error("Native auth login token not found. Ensure getNativeAuthLoginToken was called and completed successfully before setTokenLoginInfo.");try{let K=d.getToken({address:b,token:C,signature:E});return T(xe(g({loginToken:C,signature:E,nativeAuthToken:K},i?{nativeAuthConfig:l}:{}))),K}catch(K){return console.error("SDK setTokenLoginInfo - Error generating nativeAuthToken:",K),T(xe(g({loginToken:C,signature:E},i?{nativeAuthConfig:l}:{}))),null}};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:h,setTokenLoginInfo:w,refreshNativeAuthTokenLogin:C=>S(void 0,[C],function*({signMessageCallback:b,nativeAuthClientConfig:E}){let ue=yield Kr(E||l).initialize({noCache:Boolean(E)});if(o.current=ue,!ue)return;let Ze=new Yt.Message({address:new Yt.Address(m),data:s.Buffer.from(`${m}${ue}`)}),D=yield b(Ze,{});if(!(D!=null&&D.signature))throw"Message not signed";return w({address:m,signature:s.Buffer.from(D.signature).toString("hex")})})}};B();H();$();n();pe();var bs=()=>{let{search:e}=ee(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};n();function ks(){return Mr(P.getState())}n();var Es=typeof window!="undefined"&&window.self!==window.top;n();var Rs=require("@multiversx/sdk-dapp-utils/out/helpers/providerNotInitializedError"),Cs=require("@multiversx/sdk-webview-provider/out/WebviewProvider");B();n();B();H();M();function Ls(e,t=P.dispatch){let r=Kt(e);if(r==null)return;let{signature:o,address:i}=r;o&&e&&i&&(t(xe({loginToken:e,signature:o,nativeAuthToken:e})),t(le({address:i,loginMethod:"extra"})))}n();n();n();I();H();function Ns(){P.dispatch(Ko())}n();Fe();n();H();M();n();n();var dp=require("@multiversx/sdk-core"),mp=A(require("bignumber.js"));I();n();n();n();n();n();var Ps=require("@lifeomic/axios-fetch"),Yr=A(require("axios")),Xr=(0,Ps.buildAxiosFetch)(Yr.default),Zr=(e,t)=>S(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function ip(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function sp(e,t){return S(this,null,function*(){try{let r=yield Xr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Zr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ap(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Xe=Yr.default.create();Xe.get=sp;Xe.post=ip;Xe.patch=ap;n();n();var cp=A(require("axios"));n();var pp=A(require("swr"));n();n();n();var gp=A(require("bignumber.js"));I();var ce=class{constructor(){this.init=t=>S(this,null,function*(){return yield this._provider.init(t)});this.login=t=>S(this,null,function*(){var o,i,l;let r=yield this._provider.login(t);return{address:(o=r==null?void 0:r.address)!=null?o:"",signature:(i=r==null?void 0:r.signature)!=null?i:"",accessToken:(l=r==null?void 0:r.accessToken)!=null?l:""}});this.logout=()=>S(this,null,function*(){return vi.purge(),yield this._provider.logout()});this.relogin=()=>S(this,null,function*(){let t=yield this._provider.relogin();return t?(Ls(t),Hi(),t):(console.error("Unable to re-login. Missing accessToken."),null)});this.signTransactions=t=>S(this,null,function*(){let r=yield this._provider.signTransactions(t);return r||(Ns(),this._provider.cancelAction(),null)});this.signTransaction=t=>S(this,null,function*(){return yield this._provider.signTransaction(t)});this.signMessage=t=>S(this,null,function*(){return yield this._provider.signMessage(t)});this.cancelAction=()=>S(this,null,function*(){return yield this._provider.cancelAction()});this.isInitialized=()=>this._provider.isInitialized();this.isConnected=()=>this._provider.isConnected();this.sendCustomRequest=t=>S(this,null,function*(){this._provider.sendPostMessage({type:t.request.method,payload:t.request.params})});this.getAddress=(0,Rs.providerNotInitializedError)("getAddress");this._provider=Cs.WebviewProvider.getInstance({resetStateCallback:()=>{P.dispatch(L()),this.logout()}}),this._provider.setHandshakeResponseTimeout(2e3)}static getInstance(){return ce._instance||(ce._instance=new ce),ce._instance}getAccount(){var r;let t=this._provider.getAccount();return{address:(r=t==null?void 0:t.address)!=null?r:""}}setAccount(t){this._provider.setAccount(t)}};function fp(){let e=Bt(),r=Is(!0);return()=>S(this,null,function*(){if(ks()&&!Es)throw new Error(bn);Zn(),e(po(he.address)),e(mt(he));let i=ce.getInstance(),l=bs();if(l){yo({data:l}),i.init(),Hr(i);return}try{if(!(yield i.init(fr))){console.warn("Something went wrong trying to redirect to wallet login..");return}let{token:d,error:m}=yield Jn({hasNativeAuth:!0,token:void 0,loginService:r});if(m)return;let{signature:T,address:x}=yield i.login({token:d});if(Hr(i),!x){console.warn("Login cancelled.");return}T&&d&&r.setTokenLoginInfo({signature:T,address:x}),e(le({address:x,loginMethod:"extra"}))}catch(p){console.error("error logging in",p)}})}0&&(module.exports={useInitiateExperimentalWebviewLogin});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *