@multiversx/sdk-dapp 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (988) 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-J3GF2U5G.js → chunk-22CC2CNV.js} +2 -2
  258. package/__chunks__/{chunk-TXIVGSK3.js → chunk-236LWVMX.js} +2 -2
  259. package/__chunks__/{chunk-I7CREMSR.js → chunk-25J5VP4Y.js} +2 -2
  260. package/__chunks__/{chunk-HUFIQTPO.js → chunk-264EQUE2.js} +2 -2
  261. package/__chunks__/{chunk-J6W3PRZB.js → chunk-272ZUBLO.js} +2 -2
  262. package/__chunks__/{chunk-D3Y62QL7.js → chunk-27SZTX2S.js} +2 -2
  263. package/__chunks__/chunk-2AJ2U6HR.js +2 -0
  264. package/__chunks__/{chunk-TCXW46VB.js → chunk-2AWJFV7D.js} +2 -2
  265. package/__chunks__/{chunk-HJZ2ZNSL.js → chunk-2E5XMQLB.js} +2 -2
  266. package/__chunks__/{chunk-TUFVDRGH.js → chunk-2IFRRSSO.js} +2 -2
  267. package/__chunks__/{chunk-COQKPY6M.js → chunk-2JYQWNNM.js} +2 -2
  268. package/__chunks__/chunk-2KHNSYYP.js +2 -0
  269. package/__chunks__/{chunk-EKWKL7U7.js → chunk-2NLGY4Z4.js} +2 -2
  270. package/__chunks__/chunk-2PYGV2QU.js +2 -0
  271. package/__chunks__/{chunk-3JCYUVJ5.js → chunk-2SL6RRJE.js} +2 -2
  272. package/__chunks__/{chunk-SLT2S7ZK.js → chunk-2TPVEVDW.js} +2 -2
  273. package/__chunks__/{chunk-PXO5PQYO.js → chunk-2UCMUHKJ.js} +2 -2
  274. package/__chunks__/{chunk-3ZB6IDNZ.js → chunk-34VNBGWG.js} +2 -2
  275. package/__chunks__/{chunk-U6EQDK4P.js → chunk-357HHJLR.js} +2 -2
  276. package/__chunks__/{chunk-P6PCKE6Z.js → chunk-37YY6B5P.js} +2 -2
  277. package/__chunks__/{chunk-M44ELMY5.js → chunk-3ARGWPH5.js} +2 -2
  278. package/__chunks__/{chunk-LFQYI77J.js → chunk-3CX7HPLX.js} +2 -2
  279. package/__chunks__/{chunk-SY5XUWEX.js → chunk-3JIGQKBQ.js} +2 -2
  280. package/__chunks__/chunk-3KDQLV7Y.js +2 -0
  281. package/__chunks__/{chunk-UFRPRTVO.js → chunk-3KWMG2I6.js} +2 -2
  282. package/__chunks__/{chunk-PDRLTS7R.js → chunk-3MSEILYS.js} +2 -2
  283. package/__chunks__/chunk-3NIKTVSN.js +2 -0
  284. package/__chunks__/chunk-3SUGNCTV.js +2 -0
  285. package/__chunks__/chunk-3TQIMUIJ.js +2 -0
  286. package/__chunks__/{chunk-J55EH53G.js → chunk-3YK7BPRX.js} +2 -2
  287. package/__chunks__/{chunk-RDZBVQSX.js → chunk-42KCESDD.js} +2 -2
  288. package/__chunks__/{chunk-J2PJ66UK.js → chunk-44XTVW42.js} +2 -2
  289. package/__chunks__/chunk-47WHHINE.js +2 -0
  290. package/__chunks__/chunk-4C2MHWRA.js +2 -0
  291. package/__chunks__/{chunk-2RQSEETS.js → chunk-4E3IOQJP.js} +2 -2
  292. package/__chunks__/{chunk-SQLZ5IPF.js → chunk-4EMAI4Y4.js} +2 -2
  293. package/__chunks__/{chunk-NG3PH73T.js → chunk-4H42C46H.js} +2 -2
  294. package/__chunks__/{chunk-HSDTB4TY.js → chunk-4S3PJSUT.js} +2 -2
  295. package/__chunks__/chunk-4UDS5SIS.js +2 -0
  296. package/__chunks__/{chunk-K2ODR4KZ.js → chunk-4VAOXDFU.js} +2 -2
  297. package/__chunks__/{chunk-PCPN5RJV.js → chunk-54T6XQRL.js} +2 -2
  298. package/__chunks__/{chunk-YPU65RQ4.js → chunk-5BGCUE72.js} +2 -2
  299. package/__chunks__/chunk-5E24V7VW.js +2 -0
  300. package/__chunks__/{chunk-2PUH5LDP.js → chunk-5G46CLV4.js} +2 -2
  301. package/__chunks__/{chunk-TNPWIKUV.js → chunk-5GUZ5WWL.js} +2 -2
  302. package/__chunks__/{chunk-FJCZJ3SR.js → chunk-5SDK6QQV.js} +2 -2
  303. package/__chunks__/{chunk-2VJMWDXC.js → chunk-5SONMPX2.js} +2 -2
  304. package/__chunks__/{chunk-RUXITF3V.js → chunk-5TC5ZWVY.js} +2 -2
  305. package/__chunks__/{chunk-7CHTJEF5.js → chunk-5THA6SQD.js} +2 -2
  306. package/__chunks__/{chunk-S2Y3KOSQ.js → chunk-5VVRIRAH.js} +2 -2
  307. package/__chunks__/{chunk-QXNOAHZS.js → chunk-5VZR2354.js} +2 -2
  308. package/__chunks__/{chunk-2EQSTAO5.js → chunk-5Z27CFBK.js} +2 -2
  309. package/__chunks__/{chunk-AFYNPVE2.js → chunk-5ZY7KAC7.js} +2 -2
  310. package/__chunks__/{chunk-5ACYXKS5.js → chunk-62OFZHK2.js} +2 -2
  311. package/__chunks__/{chunk-25MJQA7O.js → chunk-62ZHGQ22.js} +2 -2
  312. package/__chunks__/{chunk-LNT75L7K.js → chunk-6367N3XC.js} +2 -2
  313. package/__chunks__/chunk-677TYHEY.js +2 -0
  314. package/__chunks__/{chunk-CJSMEFPZ.js → chunk-6ELA34OI.js} +2 -2
  315. package/__chunks__/{chunk-KZ254S2X.js → chunk-6LVBKBZV.js} +2 -2
  316. package/__chunks__/{chunk-4FM6UVIR.js → chunk-6NG6D64W.js} +2 -2
  317. package/__chunks__/{chunk-Y6EAPOHZ.js → chunk-6NHBVPYS.js} +2 -2
  318. package/__chunks__/{chunk-5TPDIXPR.js → chunk-6NO27UC2.js} +2 -2
  319. package/__chunks__/chunk-6TLKRTDF.js +2 -0
  320. package/__chunks__/{chunk-OCRBNEH4.js → chunk-6VWYM6DX.js} +2 -2
  321. package/__chunks__/{chunk-LGSQTWQD.js → chunk-6W2YZKDZ.js} +2 -2
  322. package/__chunks__/{chunk-TZDEF75R.js → chunk-747AXVRE.js} +2 -2
  323. package/__chunks__/{chunk-MPT4AZ2B.js → chunk-77AQ5YMI.js} +2 -2
  324. package/__chunks__/{chunk-SYR244HI.js → chunk-77UPNZQS.js} +2 -2
  325. package/__chunks__/{chunk-POLX2LYZ.js → chunk-7IKRO2QH.js} +2 -2
  326. package/__chunks__/{chunk-34AA3WEF.js → chunk-7LAZFICL.js} +2 -2
  327. package/__chunks__/chunk-7LBI7QXV.js +2 -0
  328. package/__chunks__/{chunk-B4FKDTQC.js → chunk-7OFQUVGS.js} +2 -2
  329. package/__chunks__/{chunk-QI2X7XQP.js → chunk-7QK7OTGP.js} +2 -2
  330. package/__chunks__/chunk-7SMLAQWO.js +2 -0
  331. package/__chunks__/chunk-7UY5XKFH.js +2 -0
  332. package/__chunks__/chunk-7VDKKHW4.js +2 -0
  333. package/__chunks__/{chunk-7AKNAJFC.js → chunk-ADM5RBXX.js} +2 -2
  334. package/__chunks__/{chunk-7HFJOB26.js → chunk-AFGYW2DR.js} +2 -2
  335. package/__chunks__/{chunk-KNJMHWK6.js → chunk-AK3A7KGG.js} +2 -2
  336. package/__chunks__/{chunk-H56OPWYN.js → chunk-AKA3SATR.js} +2 -2
  337. package/__chunks__/chunk-ANL25XRG.js +2 -0
  338. package/__chunks__/{chunk-7E6UTOAR.js → chunk-ANW3HDYZ.js} +2 -2
  339. package/__chunks__/{chunk-MYKAXAFO.js → chunk-AODUMWGA.js} +2 -2
  340. package/__chunks__/{chunk-QFXSEWXZ.js → chunk-AQY6Z347.js} +2 -2
  341. package/__chunks__/{chunk-74X4MTSF.js → chunk-AS2SZ45Z.js} +2 -2
  342. package/__chunks__/chunk-ASRONMTD.js +2 -0
  343. package/__chunks__/{chunk-DOEKN4E7.js → chunk-AW6ZL7KS.js} +2 -2
  344. package/__chunks__/chunk-AWTG423H.js +2 -0
  345. package/__chunks__/chunk-AXSMUT3J.js +2 -0
  346. package/__chunks__/{chunk-IA6PIFWP.js → chunk-B2GQFM73.js} +2 -2
  347. package/__chunks__/chunk-B4NCNC4I.js +2 -0
  348. package/__chunks__/chunk-B6QZ2GXT.js +2 -0
  349. package/__chunks__/{chunk-P74AMLLT.js → chunk-BCK43QE6.js} +2 -2
  350. package/__chunks__/{chunk-TVMQ2G4A.js → chunk-BENWBYBG.js} +2 -2
  351. package/__chunks__/{chunk-P73U5CMW.js → chunk-BK4EIZ7B.js} +2 -2
  352. package/__chunks__/{chunk-REHNM7LB.js → chunk-BOVMTIFC.js} +2 -2
  353. package/__chunks__/{chunk-2IGYUZBY.js → chunk-BPBY2GKU.js} +2 -2
  354. package/__chunks__/{chunk-HUYNEQFW.js → chunk-BRF5PLZN.js} +2 -2
  355. package/__chunks__/{chunk-SNDJZU2Q.js → chunk-BRW2YHUM.js} +2 -2
  356. package/__chunks__/{chunk-GMS7WGKK.js → chunk-BXU25KHA.js} +2 -2
  357. package/__chunks__/{chunk-XRL7LJ4G.js → chunk-C57MG4IP.js} +2 -2
  358. package/__chunks__/{chunk-JHIHGGXD.js → chunk-C5F6SP3Q.js} +2 -2
  359. package/__chunks__/{chunk-FCNMXPJO.js → chunk-C5MMVTPP.js} +2 -2
  360. package/__chunks__/{chunk-MDJKRGBW.js → chunk-CCDU73E4.js} +2 -2
  361. package/__chunks__/{chunk-WF5X2ABS.js → chunk-CHAQ5M65.js} +2 -2
  362. package/__chunks__/chunk-CI6CAGHB.js +2 -0
  363. package/__chunks__/{chunk-XI7FS7WZ.js → chunk-CNNATFGK.js} +2 -2
  364. package/__chunks__/{chunk-RGWX53N5.js → chunk-CS7NTS2S.js} +2 -2
  365. package/__chunks__/{chunk-JSQXH6UQ.js → chunk-CTUR534K.js} +2 -2
  366. package/__chunks__/{chunk-MT7RCDUO.js → chunk-CVZPTR3F.js} +2 -2
  367. package/__chunks__/{chunk-KB3AESP5.js → chunk-CYYTD5XX.js} +2 -2
  368. package/__chunks__/{chunk-P7GBMUGD.js → chunk-D6LXVY2B.js} +2 -2
  369. package/__chunks__/{chunk-VSP4L35C.js → chunk-DDBG7PDX.js} +2 -2
  370. package/__chunks__/{chunk-JUW7E2QG.js → chunk-DRFMEV77.js} +2 -2
  371. package/__chunks__/{chunk-PLUZ5CUI.js → chunk-DX4AR2MB.js} +2 -2
  372. package/__chunks__/{chunk-I5QOLAIT.js → chunk-DXBHY3RI.js} +2 -2
  373. package/__chunks__/{chunk-MNJNP3GZ.js → chunk-E4J5QKOJ.js} +2 -2
  374. package/__chunks__/{chunk-WEQF4FCZ.js → chunk-EDBH7NVW.js} +2 -2
  375. package/__chunks__/{chunk-3HBFI6VK.js → chunk-EI2RA2CG.js} +2 -2
  376. package/__chunks__/{chunk-67WQOMED.js → chunk-EMZ65JCE.js} +2 -2
  377. package/__chunks__/chunk-EQ66TXCL.js +2 -0
  378. package/__chunks__/chunk-ESZ4WF67.js +2 -0
  379. package/__chunks__/{chunk-PY465QCM.js → chunk-EX75BFUB.js} +2 -2
  380. package/__chunks__/{chunk-DH34SVSQ.js → chunk-EXJHNZFS.js} +2 -2
  381. package/__chunks__/{chunk-NV5UDWE7.js → chunk-F3RRY3XI.js} +2 -2
  382. package/__chunks__/{chunk-FFFLDEMS.js → chunk-F6M4GBY3.js} +2 -2
  383. package/__chunks__/chunk-F6T576QO.js +2 -0
  384. package/__chunks__/chunk-FCW2NYFG.js +2 -0
  385. package/__chunks__/{chunk-42ILIACX.js → chunk-FGVR7256.js} +2 -2
  386. package/__chunks__/{chunk-K6SW5B46.js → chunk-FIUKUVMN.js} +2 -2
  387. package/__chunks__/chunk-FKIQSUGT.js +2 -0
  388. package/__chunks__/{chunk-7VD3KDJK.js → chunk-FLOCSEYW.js} +2 -2
  389. package/__chunks__/{chunk-TADMZWFS.js → chunk-FNUYVR3Z.js} +2 -2
  390. package/__chunks__/{chunk-64KBUFPL.js → chunk-FQKWLHPE.js} +2 -2
  391. package/__chunks__/chunk-FT4U2IGB.js +2 -0
  392. package/__chunks__/{chunk-6BSMKLF7.js → chunk-FW23HUPJ.js} +2 -2
  393. package/__chunks__/chunk-G2CBMNHG.js +2 -0
  394. package/__chunks__/{chunk-DCKFDG27.js → chunk-G32BVJ35.js} +2 -2
  395. package/__chunks__/{chunk-5IB6CQ7H.js → chunk-G3ZDNF4W.js} +2 -2
  396. package/__chunks__/{chunk-QXNRC7VP.js → chunk-G6SHF6BS.js} +2 -2
  397. package/__chunks__/{chunk-FRD3YCK2.js → chunk-G75HV643.js} +2 -2
  398. package/__chunks__/{chunk-34AK7RHN.js → chunk-GCPGPREZ.js} +2 -2
  399. package/__chunks__/{chunk-6T3UW3TR.js → chunk-GCRWDAOK.js} +2 -2
  400. package/__chunks__/{chunk-WSWHNGTS.js → chunk-GCTYOYVH.js} +2 -2
  401. package/__chunks__/{chunk-B565MNB3.js → chunk-GQDJXXC3.js} +2 -2
  402. package/__chunks__/chunk-H37AFCHJ.js +2 -0
  403. package/__chunks__/{chunk-W6UK32RG.js → chunk-H4UC67Y6.js} +2 -2
  404. package/__chunks__/{chunk-H2O4YD3W.js → chunk-H4UY5P4T.js} +2 -2
  405. package/__chunks__/{chunk-3ODZ32WD.js → chunk-H5CJNSSX.js} +2 -2
  406. package/__chunks__/{chunk-LQPCD2UL.js → chunk-HISBDY7H.js} +2 -2
  407. package/__chunks__/{chunk-S2RPHUVP.js → chunk-HLRM4M34.js} +2 -2
  408. package/__chunks__/{chunk-ET33OW7R.js → chunk-HMFVTMT5.js} +2 -2
  409. package/__chunks__/{chunk-2DDUNS57.js → chunk-HNFQM445.js} +2 -2
  410. package/__chunks__/chunk-HORO7HUU.js +2 -0
  411. package/__chunks__/{chunk-Q5OIKDPK.js → chunk-HU6H2ACE.js} +2 -2
  412. package/__chunks__/{chunk-QDAKPPFQ.js → chunk-HUHVCW6Q.js} +2 -2
  413. package/__chunks__/{chunk-CFPROJJO.js → chunk-HUXR53W7.js} +2 -2
  414. package/__chunks__/{chunk-GXCK7E47.js → chunk-HVQU5XWI.js} +2 -2
  415. package/__chunks__/chunk-HY4DLLON.js +2 -0
  416. package/__chunks__/{chunk-X6RKRJYE.js → chunk-HYSAM57M.js} +2 -2
  417. package/__chunks__/{chunk-ABFKOO4Q.js → chunk-HZUYZ7LY.js} +2 -2
  418. package/__chunks__/{chunk-CDLWRRVH.js → chunk-I2UFX3B3.js} +2 -2
  419. package/__chunks__/{chunk-M4PZDPFF.js → chunk-I2ZVU7Q2.js} +2 -2
  420. package/__chunks__/{chunk-XBEYU6SR.js → chunk-I3CVMMW2.js} +2 -2
  421. package/__chunks__/{chunk-HXLXYAIS.js → chunk-I4WFAFL2.js} +2 -2
  422. package/__chunks__/{chunk-Q4BNXRRQ.js → chunk-IHHAQPBN.js} +2 -2
  423. package/__chunks__/{chunk-4KCPHXUF.js → chunk-IIT2D2SB.js} +2 -2
  424. package/__chunks__/{chunk-HUN7QNIR.js → chunk-IK3KUZDP.js} +2 -2
  425. package/__chunks__/{chunk-ZJAHX7DN.js → chunk-IKBAVAD6.js} +2 -2
  426. package/__chunks__/{chunk-73C4O4X3.js → chunk-IN4KHVMW.js} +2 -2
  427. package/__chunks__/chunk-IOYBBJCI.js +2 -0
  428. package/__chunks__/{chunk-XD75FAZL.js → chunk-IQEQBUI5.js} +2 -2
  429. package/__chunks__/{chunk-D35VQJKG.js → chunk-IUCFQ6DE.js} +2 -2
  430. package/__chunks__/{chunk-VWREN4XT.js → chunk-IVUDR726.js} +2 -2
  431. package/__chunks__/{chunk-JLD6UB52.js → chunk-IXHINF7M.js} +2 -2
  432. package/__chunks__/{chunk-3XA5HBCM.js → chunk-IXZXTYEY.js} +2 -2
  433. package/__chunks__/{chunk-BQV2W2RY.js → chunk-IZM3HOWK.js} +2 -2
  434. package/__chunks__/{chunk-VABZW2FZ.js → chunk-J574TV7M.js} +2 -2
  435. package/__chunks__/{chunk-6KSDDWPV.js → chunk-J5OGZBKD.js} +2 -2
  436. package/__chunks__/{chunk-GXXCFOAH.js → chunk-JCSKQCRL.js} +2 -2
  437. package/__chunks__/{chunk-QIKPFXTG.js → chunk-JGVFD27Q.js} +2 -2
  438. package/__chunks__/{chunk-CPEIKZFQ.js → chunk-JGW5PDPO.js} +2 -2
  439. package/__chunks__/{chunk-5WABGKPN.js → chunk-JIFFDQW5.js} +2 -2
  440. package/__chunks__/{chunk-HDCZDDHX.js → chunk-JJNQKRPL.js} +2 -2
  441. package/__chunks__/{chunk-7CIVGLN3.js → chunk-JMSXE3RA.js} +2 -2
  442. package/__chunks__/{chunk-I4NACPLM.js → chunk-JNOB76TJ.js} +2 -2
  443. package/__chunks__/{chunk-ZWOJO7SU.js → chunk-JNV6VSHR.js} +2 -2
  444. package/__chunks__/{chunk-BAG6PZQM.js → chunk-JP75H2LH.js} +2 -2
  445. package/__chunks__/{chunk-VW5KN6ZJ.js → chunk-JQJ2KM5D.js} +2 -2
  446. package/__chunks__/{chunk-NOGYQOIV.js → chunk-JZLIJB64.js} +2 -2
  447. package/__chunks__/{chunk-JR6HJRNN.js → chunk-K636ESMW.js} +2 -2
  448. package/__chunks__/{chunk-TPESMDJC.js → chunk-KATHW4TP.js} +2 -2
  449. package/__chunks__/{chunk-CK6NOSPF.js → chunk-KDOGQHQV.js} +2 -2
  450. package/__chunks__/chunk-KI4NUSXO.js +2 -0
  451. package/__chunks__/{chunk-FOX5U7WT.js → chunk-KNJMUTWO.js} +2 -2
  452. package/__chunks__/{chunk-ZJFLF6JY.js → chunk-KS74VUBZ.js} +2 -2
  453. package/__chunks__/{chunk-I7KZRVRP.js → chunk-KUYMGELX.js} +2 -2
  454. package/__chunks__/{chunk-X3HSQ5A3.js → chunk-KWSF23ED.js} +2 -2
  455. package/__chunks__/{chunk-WNG7LDIX.js → chunk-KYGLXFIP.js} +2 -2
  456. package/__chunks__/{chunk-ORUNBSEJ.js → chunk-LCHBEVYY.js} +2 -2
  457. package/__chunks__/{chunk-QR62DIUC.js → chunk-LCKDNPZ7.js} +2 -2
  458. package/__chunks__/{chunk-F7XLVOHM.js → chunk-LFQH5PEL.js} +2 -2
  459. package/__chunks__/{chunk-36DIZZVM.js → chunk-LFTE7642.js} +2 -2
  460. package/__chunks__/chunk-LGIVDAWA.js +2 -0
  461. package/__chunks__/{chunk-NULRUHDQ.js → chunk-LKQABBKX.js} +2 -2
  462. package/__chunks__/{chunk-XF55N5LK.js → chunk-LMC6477H.js} +2 -2
  463. package/__chunks__/chunk-LMGZW34V.js +2 -0
  464. package/__chunks__/{chunk-22XHI3FH.js → chunk-LQAGWR3V.js} +2 -2
  465. package/__chunks__/{chunk-PXTXWPTJ.js → chunk-MA26T6ZE.js} +2 -2
  466. package/__chunks__/{chunk-BIKMWLIG.js → chunk-MAYEQAU5.js} +2 -2
  467. package/__chunks__/{chunk-ITSZ5OPN.js → chunk-MEIM6T7H.js} +2 -2
  468. package/__chunks__/{chunk-CMHSO634.js → chunk-MFVBW2L2.js} +2 -2
  469. package/__chunks__/{chunk-CE7OLDPB.js → chunk-MFVMSRPZ.js} +2 -2
  470. package/__chunks__/{chunk-OAAVRBK6.js → chunk-MGYYMHDI.js} +2 -2
  471. package/__chunks__/{chunk-UYLOSBZ2.js → chunk-MI5J32U5.js} +2 -2
  472. package/__chunks__/chunk-MMR72JFQ.js +2 -0
  473. package/__chunks__/{chunk-63IDJIXE.js → chunk-MPSBINT4.js} +2 -2
  474. package/__chunks__/{chunk-33Y6FCPJ.js → chunk-MVYLHWJD.js} +2 -2
  475. package/__chunks__/{chunk-WQIINDFV.js → chunk-MYIQ72DA.js} +2 -2
  476. package/__chunks__/{chunk-JBBJNZBK.js → chunk-N2ML4HZP.js} +2 -2
  477. package/__chunks__/chunk-NA3DIL6Z.js +2 -0
  478. package/__chunks__/{chunk-XV4Z5AWW.js → chunk-NC56ILTU.js} +2 -2
  479. package/__chunks__/{chunk-QNVY23Z2.js → chunk-NMXWLS7J.js} +2 -2
  480. package/__chunks__/{chunk-THFSCGNO.js → chunk-NN7BZ4MA.js} +2 -2
  481. package/__chunks__/chunk-NNFEEU6A.js +2 -0
  482. package/__chunks__/{chunk-V4OILH2G.js → chunk-NO5IAGXW.js} +2 -2
  483. package/__chunks__/chunk-NQUVXDZS.js +2 -0
  484. package/__chunks__/{chunk-AFTJYOBZ.js → chunk-NRZ2FPTP.js} +2 -2
  485. package/__chunks__/{chunk-EJBJOJLH.js → chunk-NUNBQ73P.js} +2 -2
  486. package/__chunks__/chunk-NVMHC2UR.js +2 -0
  487. package/__chunks__/{chunk-LO6HMRWP.js → chunk-NWECADZA.js} +2 -2
  488. package/__chunks__/{chunk-G24OQC6D.js → chunk-NY2P4Y3A.js} +2 -2
  489. package/__chunks__/chunk-NZ5NA3MQ.js +2 -0
  490. package/__chunks__/{chunk-6I6JCZPM.js → chunk-O56Y63CM.js} +2 -2
  491. package/__chunks__/{chunk-H5ON5VEH.js → chunk-OA2CO5YR.js} +2 -2
  492. package/__chunks__/{chunk-HZI3PO7U.js → chunk-OA7BBRYQ.js} +2 -2
  493. package/__chunks__/chunk-OFOD3F5A.js +2 -0
  494. package/__chunks__/{chunk-BMZYKQWI.js → chunk-OKOJWI2Q.js} +2 -2
  495. package/__chunks__/{chunk-LJNBC7T3.js → chunk-OMU7GHG2.js} +2 -2
  496. package/__chunks__/{chunk-FXKUTXDY.js → chunk-OO6GMY5A.js} +2 -2
  497. package/__chunks__/{chunk-JI3XZR7F.js → chunk-OPLZSH7P.js} +2 -2
  498. package/__chunks__/{chunk-BGOFK6ZA.js → chunk-OTDTNAYC.js} +2 -2
  499. package/__chunks__/{chunk-RBXA4VEW.js → chunk-OVVKNBSB.js} +2 -2
  500. package/__chunks__/{chunk-RYTV3XDW.js → chunk-P2464NGL.js} +2 -2
  501. package/__chunks__/{chunk-GXEJ7QDF.js → chunk-P7EDM7S3.js} +2 -2
  502. package/__chunks__/{chunk-36SNCUNO.js → chunk-PIDZ6E73.js} +2 -2
  503. package/__chunks__/chunk-PJRCE2KU.js +2 -0
  504. package/__chunks__/{chunk-TWL7YZRZ.js → chunk-PKUINLQA.js} +2 -2
  505. package/__chunks__/{chunk-RAI7CARU.js → chunk-PPEMSCBT.js} +2 -2
  506. package/__chunks__/{chunk-RZQ35YMS.js → chunk-PQIN6ETY.js} +2 -2
  507. package/__chunks__/{chunk-Z4J25GVS.js → chunk-PRWWI7Q3.js} +2 -2
  508. package/__chunks__/{chunk-4JRTJP3O.js → chunk-PSX3DPNK.js} +2 -2
  509. package/__chunks__/chunk-PT4LBHJF.js +2 -0
  510. package/__chunks__/{chunk-XYSKXHTD.js → chunk-PX6QTIFH.js} +2 -2
  511. package/__chunks__/{chunk-UHWSHCVX.js → chunk-PYAEMSJC.js} +2 -2
  512. package/__chunks__/{chunk-JOALGZ3M.js → chunk-PZXBWS4D.js} +2 -2
  513. package/__chunks__/{chunk-BROGTSKT.js → chunk-Q3BJFWXF.js} +2 -2
  514. package/__chunks__/{chunk-JE5JWLTP.js → chunk-Q4SQEDAI.js} +2 -2
  515. package/__chunks__/chunk-Q64FUYLU.js +2 -0
  516. package/__chunks__/{chunk-2MSKDRHI.js → chunk-Q6MML4VF.js} +2 -2
  517. package/__chunks__/chunk-QA2U3VUT.js +2 -0
  518. package/__chunks__/chunk-QFTZY2WK.js +2 -0
  519. package/__chunks__/{chunk-E4BH5V5X.js → chunk-QFZUCSCC.js} +2 -2
  520. package/__chunks__/{chunk-62NEKOTN.js → chunk-QI3BG276.js} +2 -2
  521. package/__chunks__/{chunk-7CDFLPGW.js → chunk-QKLHGBJS.js} +2 -2
  522. package/__chunks__/{chunk-Y5KBTCOU.js → chunk-QLYNRZSH.js} +2 -2
  523. package/__chunks__/{chunk-YZBSRL4C.js → chunk-QX6YI7IJ.js} +2 -2
  524. package/__chunks__/{chunk-MMXQZ4G4.js → chunk-R6PP2I6G.js} +2 -2
  525. package/__chunks__/{chunk-SRTD4AAB.js → chunk-RHZQYUFE.js} +2 -2
  526. package/__chunks__/{chunk-7PPZHE2G.js → chunk-RMO5UO7E.js} +2 -2
  527. package/__chunks__/{chunk-ZJACNDZF.js → chunk-RTK2NI7E.js} +2 -2
  528. package/__chunks__/{chunk-YKP5OOHL.js → chunk-S2MAFNEA.js} +2 -2
  529. package/__chunks__/{chunk-MD72O7TJ.js → chunk-S5BQ7KVG.js} +2 -2
  530. package/__chunks__/chunk-S6EEK66M.js +2 -0
  531. package/__chunks__/{chunk-ITTFL2NK.js → chunk-SIDJDDZK.js} +2 -2
  532. package/__chunks__/chunk-SIFXULU5.js +2 -0
  533. package/__chunks__/chunk-SK7GCSQ5.js +2 -0
  534. package/__chunks__/{chunk-BVFNOJEX.js → chunk-SO2DMFGD.js} +2 -2
  535. package/__chunks__/{chunk-3PIZWDZJ.js → chunk-SRRBPKE7.js} +2 -2
  536. package/__chunks__/{chunk-TMKTEJ46.js → chunk-SYE5VJZR.js} +2 -2
  537. package/__chunks__/{chunk-7KEIIZ3H.js → chunk-SZIUQG4N.js} +2 -2
  538. package/__chunks__/{chunk-VSSPCYY7.js → chunk-T3WCHGUE.js} +2 -2
  539. package/__chunks__/{chunk-ZTSZFKE7.js → chunk-TAPC2PAT.js} +2 -2
  540. package/__chunks__/{chunk-CMB5D2CV.js → chunk-TF2IRX7G.js} +2 -2
  541. package/__chunks__/{chunk-HS2YQZBU.js → chunk-THU3CE7I.js} +2 -2
  542. package/__chunks__/{chunk-L5ZILGHX.js → chunk-TORL2TLA.js} +2 -2
  543. package/__chunks__/{chunk-U3CVOTME.js → chunk-TQM6WP6Q.js} +2 -2
  544. package/__chunks__/{chunk-PSLXNVTU.js → chunk-TTBSM266.js} +2 -2
  545. package/__chunks__/{chunk-KHI2JK52.js → chunk-TVPSCCP5.js} +2 -2
  546. package/__chunks__/{chunk-KEUQPS45.js → chunk-U6Y2OZXG.js} +2 -2
  547. package/__chunks__/{chunk-FLBZ42LX.js → chunk-UDIWNVME.js} +2 -2
  548. package/__chunks__/{chunk-QKA4U5N3.js → chunk-USJSDWJ4.js} +2 -2
  549. package/__chunks__/chunk-UUNMA3WI.js +2 -0
  550. package/__chunks__/{chunk-F6FJ6C5B.js → chunk-UY7JEWEB.js} +2 -2
  551. package/__chunks__/{chunk-6ESLZN4Q.js → chunk-V3MIWRDP.js} +2 -2
  552. package/__chunks__/{chunk-LZ3QIFHW.js → chunk-VASQ2NDP.js} +2 -2
  553. package/__chunks__/{chunk-5MHOF6OR.js → chunk-VBUPQ7PI.js} +2 -2
  554. package/__chunks__/chunk-VDC2YCEB.js +2 -0
  555. package/__chunks__/{chunk-FIVKIEGL.js → chunk-VEFOGXK2.js} +2 -2
  556. package/__chunks__/{chunk-EYN4O4QS.js → chunk-VFET5CPX.js} +2 -2
  557. package/__chunks__/{chunk-GDFRYINA.js → chunk-VNYA475U.js} +2 -2
  558. package/__chunks__/chunk-VRKEQZNG.js +2 -0
  559. package/__chunks__/{chunk-WX5V7JLP.js → chunk-VSEY57LR.js} +2 -2
  560. package/__chunks__/{chunk-FCTYVFIR.js → chunk-VSX5ONAE.js} +2 -2
  561. package/__chunks__/{chunk-V2D642BJ.js → chunk-VSXFBK2Z.js} +2 -2
  562. package/__chunks__/{chunk-NH3U2GTZ.js → chunk-VUVNYANS.js} +2 -2
  563. package/__chunks__/{chunk-BEIYQ3VB.js → chunk-VXREJDVZ.js} +2 -2
  564. package/__chunks__/{chunk-V5GGYFU3.js → chunk-W3UT4J2T.js} +2 -2
  565. package/__chunks__/chunk-W6WQNYWR.js +2 -0
  566. package/__chunks__/{chunk-HPLVNLBH.js → chunk-WCBKH2DN.js} +2 -2
  567. package/__chunks__/{chunk-BPS3QO6M.js → chunk-WCJV2E3D.js} +2 -2
  568. package/__chunks__/chunk-WDZIOQ4W.js +2 -0
  569. package/__chunks__/{chunk-POVEF5JW.js → chunk-WKAQ2WYB.js} +2 -2
  570. package/__chunks__/{chunk-PO3T55BC.js → chunk-WPJUHY6E.js} +2 -2
  571. package/__chunks__/chunk-WQNPN74E.js +2 -0
  572. package/__chunks__/{chunk-7CKWURZN.js → chunk-WQXLRFAU.js} +2 -2
  573. package/__chunks__/{chunk-2HNTLSNF.js → chunk-X246S36O.js} +2 -2
  574. package/__chunks__/{chunk-2SVFHBFI.js → chunk-X3K3D67J.js} +2 -2
  575. package/__chunks__/{chunk-635QE6QX.js → chunk-X3K6FHRY.js} +2 -2
  576. package/__chunks__/{chunk-LRNU4JLX.js → chunk-X6Z3JQ2G.js} +2 -2
  577. package/__chunks__/{chunk-HUWOFH5L.js → chunk-XHFLS5YW.js} +2 -2
  578. package/__chunks__/{chunk-AS4CMARL.js → chunk-XHNTFLGE.js} +2 -2
  579. package/__chunks__/{chunk-T5XXAIO4.js → chunk-XQNQNMU2.js} +2 -2
  580. package/__chunks__/{chunk-NF4OCEJJ.js → chunk-Y46VHOT6.js} +2 -2
  581. package/__chunks__/{chunk-GT5R3C3T.js → chunk-Y5FKX5FN.js} +2 -2
  582. package/__chunks__/{chunk-ZS3PDP67.js → chunk-Y6PVWI4D.js} +2 -2
  583. package/__chunks__/{chunk-DC7GQVQJ.js → chunk-YCJ5H54R.js} +2 -2
  584. package/__chunks__/{chunk-IXOMWDRD.js → chunk-YCLQT2OB.js} +2 -2
  585. package/__chunks__/chunk-YCOGET3Z.js +2 -0
  586. package/__chunks__/{chunk-5DMFJF7A.js → chunk-YGZNBZSU.js} +2 -2
  587. package/__chunks__/{chunk-KBCP3FVA.js → chunk-YHXCY7IS.js} +2 -2
  588. package/__chunks__/{chunk-XWXGVDSE.js → chunk-YLS6TARY.js} +2 -2
  589. package/__chunks__/{chunk-KQTNNINC.js → chunk-YM5TI2LU.js} +2 -2
  590. package/__chunks__/{chunk-TAH32CHZ.js → chunk-YMWUJMIA.js} +2 -2
  591. package/__chunks__/{chunk-BXLPISGK.js → chunk-YOFG55NW.js} +2 -2
  592. package/__chunks__/{chunk-JPPPEKZH.js → chunk-YUA7FTHO.js} +2 -2
  593. package/__chunks__/{chunk-6GZMRNND.js → chunk-YUBKHZDO.js} +2 -2
  594. package/__chunks__/{chunk-ERNQDLXE.js → chunk-YUJR2RZB.js} +2 -2
  595. package/__chunks__/{chunk-RUTZGE6P.js → chunk-YUOQUMEJ.js} +2 -2
  596. package/__chunks__/{chunk-7JLHGIW6.js → chunk-YVB63GJZ.js} +2 -2
  597. package/__chunks__/chunk-YW6ZZ4VJ.js +2 -0
  598. package/__chunks__/chunk-YZ3AZ7NL.js +2 -0
  599. package/__chunks__/{chunk-A2EOW5FF.js → chunk-Z5IDF2GH.js} +2 -2
  600. package/__chunks__/{chunk-3PPJ7ZMN.js → chunk-Z6BJBJCE.js} +2 -2
  601. package/__chunks__/{chunk-FUKSER7U.js → chunk-Z6PFAOQ3.js} +2 -2
  602. package/__chunks__/chunk-ZE3XPL3I.js +2 -0
  603. package/__chunks__/{chunk-5MC3BEIT.js → chunk-ZE7ZRF6H.js} +2 -2
  604. package/__chunks__/{chunk-EZAGYFFB.js → chunk-ZEHD4FID.js} +2 -2
  605. package/__chunks__/{chunk-QY5NWVGL.js → chunk-ZLIAXTOB.js} +2 -2
  606. package/__chunks__/{chunk-Q5PUZPW7.js → chunk-ZOMATUJX.js} +2 -2
  607. package/__chunks__/{chunk-6XWAMOLE.js → chunk-ZOZ6VHJE.js} +2 -2
  608. package/__chunks__/{chunk-7ULWYQHV.js → chunk-ZPN3H4YH.js} +2 -2
  609. package/__chunks__/{chunk-QIWLXRJX.js → chunk-ZVD4YOCM.js} +2 -2
  610. package/__chunks__/{chunk-DZI5AVEM.js → chunk-ZVKCC2XJ.js} +2 -2
  611. package/__chunks__/{chunk-SXRQQIUA.js → chunk-ZVYJE2NP.js} +2 -2
  612. package/__chunks__/{chunk-5YK3M2JW.js → chunk-ZX53VFJ5.js} +2 -2
  613. package/__chunks__/{chunk-RYXZIDYX.js → chunk-ZYAY43GZ.js} +2 -2
  614. package/__chunks__/{chunk-45ZD6HNG.js → chunk-ZZNX53E5.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/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  628. package/__commonjs/UI/index.js +1 -1
  629. package/__commonjs/__mocks__/data/unicodeSamples.d.ts +0 -1
  630. package/__commonjs/__mocks__/data/unicodeSamples.js +2 -2
  631. package/__commonjs/__mocks__/index.js +1 -1
  632. package/__commonjs/__mocks__/utils/index.js +1 -1
  633. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  634. package/__commonjs/components/TransactionSender/TransactionSender.js +1 -1
  635. package/__commonjs/components/TransactionSender/index.js +1 -1
  636. package/__commonjs/constants/index.js +1 -1
  637. package/__commonjs/hooks/index.js +1 -1
  638. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  639. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  640. package/__commonjs/hooks/transactions/index.js +1 -1
  641. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  642. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  643. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  644. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  645. package/__commonjs/utils/index.js +1 -1
  646. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  647. package/__commonjs/utils/transactions/index.js +1 -1
  648. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  649. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  650. package/__commonjs/wrappers/index.js +1 -1
  651. package/__mocks__/data/unicodeSamples.d.ts +0 -1
  652. package/__mocks__/data/unicodeSamples.js +1 -1
  653. package/__mocks__/index.js +1 -1
  654. package/__mocks__/utils/index.js +1 -1
  655. package/__mocks__/utils/renderWithProvider.js +1 -1
  656. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  657. package/apiCalls/accounts/index.js +1 -1
  658. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  659. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  660. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  661. package/apiCalls/configuration/index.js +1 -1
  662. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  663. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  664. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  665. package/apiCalls/economics/index.js +1 -1
  666. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  667. package/apiCalls/index.js +1 -1
  668. package/apiCalls/tokens/getPersistedToken.js +1 -1
  669. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  670. package/apiCalls/transactions/index.js +1 -1
  671. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  672. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  673. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  674. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  675. package/apiCalls/utils/getScamAddressData.js +1 -1
  676. package/apiCalls/utils/index.js +1 -1
  677. package/apiCalls/utils/useApiFetch.js +1 -1
  678. package/components/LogoutListener/LogoutListener.js +1 -1
  679. package/components/LogoutListener/helpers/index.js +1 -1
  680. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  681. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  682. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  683. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  684. package/components/LogoutListener/index.js +1 -1
  685. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  686. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  687. package/components/ProviderInitializer/helpers/index.js +1 -1
  688. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  689. package/components/ProviderInitializer/hooks/index.js +1 -1
  690. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  691. package/components/ProviderInitializer/index.js +1 -1
  692. package/components/TransactionSender/TransactionSender.js +1 -1
  693. package/components/TransactionSender/index.js +1 -1
  694. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  695. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  696. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  697. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  698. package/components/TransactionsTracker/index.js +1 -1
  699. package/constants/index.js +1 -1
  700. package/hooks/account/index.js +1 -1
  701. package/hooks/account/useGetAccount.js +1 -1
  702. package/hooks/account/useGetAccountInfo.js +1 -1
  703. package/hooks/account/useGetAccountProvider.js +1 -1
  704. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  705. package/hooks/account/useGetIsLoggedIn.js +1 -1
  706. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  707. package/hooks/account/useGetLoginInfo.js +1 -1
  708. package/hooks/account/useGetWebsocketEvent.js +1 -1
  709. package/hooks/economics/index.js +1 -1
  710. package/hooks/economics/useGetEgldPrice.js +1 -1
  711. package/hooks/index.js +1 -1
  712. package/hooks/login/index.js +1 -1
  713. package/hooks/login/useCrossWindowLogin.js +1 -1
  714. package/hooks/login/useExtensionLogin.js +1 -1
  715. package/hooks/login/useGetModalLoginMethods.js +1 -1
  716. package/hooks/login/useIframeLogin.js +1 -1
  717. package/hooks/login/useLedgerLogin.js +1 -1
  718. package/hooks/login/useLoginService.js +1 -1
  719. package/hooks/login/useMetamaskLogin.js +1 -1
  720. package/hooks/login/useOperaLogin.js +1 -1
  721. package/hooks/login/usePasskeyLogin.js +1 -1
  722. package/hooks/login/useWalletConnectV2Login.js +1 -1
  723. package/hooks/login/useWebViewLogin.js +1 -1
  724. package/hooks/login/useWebWalletLogin.js +1 -1
  725. package/hooks/login/useXaliasLogin.js +1 -1
  726. package/hooks/signMessage/index.js +1 -1
  727. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  728. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  729. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  730. package/hooks/signMessage/useSignMessage.js +1 -1
  731. package/hooks/toasts/index.js +1 -1
  732. package/hooks/toasts/useGetToasts.js +1 -1
  733. package/hooks/toasts/useTransactionsToasts.js +1 -1
  734. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  735. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  736. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  737. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  738. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  739. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  740. package/hooks/transactions/batch/useGetBatches.js +1 -1
  741. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  742. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  743. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  744. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  745. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  746. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  747. package/hooks/transactions/helpers/index.js +1 -1
  748. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  749. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  750. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  751. package/hooks/transactions/index.js +1 -1
  752. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  753. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  754. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  755. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  756. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  757. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  758. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  759. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  760. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  761. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  762. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  763. package/hooks/transactions/useGetPollingInterval.js +1 -1
  764. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  765. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  766. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  767. package/hooks/transactions/useGetTokenDetails.js +1 -1
  768. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  769. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  770. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  771. package/hooks/transactions/useSignTransactions.js +1 -1
  772. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  773. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  774. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  775. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  776. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  777. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  778. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  779. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  780. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  781. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  782. package/hooks/useGetNetworkConfig.js +1 -1
  783. package/hooks/useGetNotification.js +1 -1
  784. package/hooks/websocketListener/index.js +1 -1
  785. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  786. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  787. package/models/index.js +1 -1
  788. package/models/newTransaction.js +1 -1
  789. package/package.json +2 -2
  790. package/providers/accountProvider.js +1 -1
  791. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  792. package/providers/experimentalWebViewProvider/index.js +1 -1
  793. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  794. package/providers/index.js +1 -1
  795. package/providers/utils.js +1 -1
  796. package/providers/webviewProvider/index.js +1 -1
  797. package/providers/webviewProvider/requestMethods.js +1 -1
  798. package/providers/webviewProvider/webviewProvider.js +1 -1
  799. package/reduxStore/DappProviderContext.js +1 -1
  800. package/reduxStore/commonActions.js +1 -1
  801. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  802. package/reduxStore/persistConfig.js +1 -1
  803. package/reduxStore/persistedRootReducer.js +1 -1
  804. package/reduxStore/reducers.js +1 -1
  805. package/reduxStore/rootReducer.js +1 -1
  806. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  807. package/reduxStore/selectors/index.js +1 -1
  808. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  809. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  810. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  811. package/reduxStore/slices/accountInfoSlice.js +1 -1
  812. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  813. package/reduxStore/slices/dappConfigSlice.js +1 -1
  814. package/reduxStore/slices/index.js +1 -1
  815. package/reduxStore/slices/loginInfoSlice.js +1 -1
  816. package/reduxStore/slices/modalsSlice.js +1 -1
  817. package/reduxStore/slices/networkConfigSlice.js +1 -1
  818. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  819. package/reduxStore/slices/toastsSlice.js +1 -1
  820. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  821. package/reduxStore/slices/transactionsSlice.js +1 -1
  822. package/reduxStore/store.js +1 -1
  823. package/services/index.js +1 -1
  824. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  825. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  826. package/services/nativeAuth/helpers/index.js +1 -1
  827. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  828. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  829. package/services/transactions/clearTransactions.js +1 -1
  830. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  831. package/services/transactions/getTransactionsDetails.js +1 -1
  832. package/services/transactions/index.js +1 -1
  833. package/services/transactions/isCrossShardTransaction.js +1 -1
  834. package/services/transactions/sendBatchTransactions.js +1 -1
  835. package/services/transactions/sendBatchTransactions.test.js +1 -1
  836. package/services/transactions/sendTransactions.js +1 -1
  837. package/services/transactions/signTransactions.js +1 -1
  838. package/services/transactions/transformAndSignTransactions.js +1 -1
  839. package/services/transactions/updateSignedTransactions.js +1 -1
  840. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  841. package/services/transactions/utils.js +1 -1
  842. package/utils/account/getAccount.js +1 -1
  843. package/utils/account/getAccountBalance.js +1 -1
  844. package/utils/account/getAccountProviderType.js +1 -1
  845. package/utils/account/getAccountShard.js +1 -1
  846. package/utils/account/getAddress.js +1 -1
  847. package/utils/account/getIsProviderEqualTo.js +1 -1
  848. package/utils/account/getLatestNonce.js +1 -1
  849. package/utils/account/getShardOfAddress.js +1 -1
  850. package/utils/account/getWebviewToken.js +1 -1
  851. package/utils/account/index.js +1 -1
  852. package/utils/account/loginWithExternalProvider.js +1 -1
  853. package/utils/account/refreshAccount.js +1 -1
  854. package/utils/account/setNonce.js +1 -1
  855. package/utils/account/signMessage.js +1 -1
  856. package/utils/getIsLoggedIn.js +1 -1
  857. package/utils/index.js +1 -1
  858. package/utils/logout.js +1 -1
  859. package/utils/network/getChainID.js +1 -1
  860. package/utils/network/getEgldLabel.js +1 -1
  861. package/utils/network/getNetworkConfig.js +1 -1
  862. package/utils/network/index.js +1 -1
  863. package/utils/operations/calculateFeeInFiat.js +1 -1
  864. package/utils/operations/calculateFeeLimit.js +1 -1
  865. package/utils/operations/denominate.js +1 -1
  866. package/utils/operations/formatAmount.js +1 -1
  867. package/utils/operations/index.js +1 -1
  868. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  869. package/utils/operations/ledger/index.js +1 -1
  870. package/utils/operations/nominate.js +1 -1
  871. package/utils/operations/parseAmount.js +1 -1
  872. package/utils/toasts/customToastsActions.js +1 -1
  873. package/utils/toasts/index.js +1 -1
  874. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  875. package/utils/transactions/builtCallbackUrl.js +1 -1
  876. package/utils/transactions/getAllTransactionsLink.js +1 -1
  877. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  878. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  879. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  880. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  881. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  882. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  883. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  884. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  885. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  887. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  888. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  889. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  890. package/utils/transactions/getOperationsDetails.js +1 -1
  891. package/utils/transactions/getTransactionLink.js +1 -1
  892. package/utils/transactions/index.js +1 -1
  893. package/utils/transactions/isGuardianTx.js +1 -1
  894. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  895. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  896. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  897. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  898. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  899. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  900. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  901. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  902. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  903. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  904. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  905. package/utils/validation/index.js +1 -1
  906. package/utils/validation/maxDecimals.js +1 -1
  907. package/utils/validation/stringIsFloat.js +1 -1
  908. package/utils/waitForChainID.js +1 -1
  909. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  910. package/web/hooks/index.js +1 -1
  911. package/web/hooks/useIdleTimer.js +1 -1
  912. package/web/index.js +1 -1
  913. package/wrappers/AppInitializer.js +1 -1
  914. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  915. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  916. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  917. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  918. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  919. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  920. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  921. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  922. package/wrappers/DappProvider/CustomComponents.js +1 -1
  923. package/wrappers/DappProvider/DappProvider.js +1 -1
  924. package/wrappers/DappProvider/index.js +1 -1
  925. package/wrappers/index.js +1 -1
  926. package/__chunks__/chunk-2A3APQE6.js +0 -2
  927. package/__chunks__/chunk-2ORKF74V.js +0 -2
  928. package/__chunks__/chunk-3F5O7AIL.js +0 -2
  929. package/__chunks__/chunk-3T4J4D5B.js +0 -2
  930. package/__chunks__/chunk-3TVIBCIL.js +0 -2
  931. package/__chunks__/chunk-4STWQTRL.js +0 -2
  932. package/__chunks__/chunk-4UIUVGH7.js +0 -2
  933. package/__chunks__/chunk-5KLY7CKK.js +0 -2
  934. package/__chunks__/chunk-5WKDGF2U.js +0 -2
  935. package/__chunks__/chunk-5WOJDOOV.js +0 -2
  936. package/__chunks__/chunk-6BA2SAHP.js +0 -2
  937. package/__chunks__/chunk-6VKKYCTK.js +0 -2
  938. package/__chunks__/chunk-7DHR7MQG.js +0 -2
  939. package/__chunks__/chunk-7MOFFY4K.js +0 -2
  940. package/__chunks__/chunk-AAJ27W63.js +0 -2
  941. package/__chunks__/chunk-BCQSGQIR.js +0 -2
  942. package/__chunks__/chunk-BFQEMWMM.js +0 -2
  943. package/__chunks__/chunk-BHGJYQVJ.js +0 -2
  944. package/__chunks__/chunk-C5K4NB6H.js +0 -2
  945. package/__chunks__/chunk-DHD2ROHN.js +0 -2
  946. package/__chunks__/chunk-DMTDFDHE.js +0 -2
  947. package/__chunks__/chunk-EJ4SZRPL.js +0 -2
  948. package/__chunks__/chunk-FH7CVUY2.js +0 -2
  949. package/__chunks__/chunk-FU3Q57PE.js +0 -2
  950. package/__chunks__/chunk-G2PCXGKE.js +0 -2
  951. package/__chunks__/chunk-G7FUA5HR.js +0 -2
  952. package/__chunks__/chunk-GJAIUU7R.js +0 -2
  953. package/__chunks__/chunk-GSFBH2GN.js +0 -2
  954. package/__chunks__/chunk-GX3LTVWC.js +0 -2
  955. package/__chunks__/chunk-GXTMQK26.js +0 -2
  956. package/__chunks__/chunk-I2CRYRYH.js +0 -2
  957. package/__chunks__/chunk-IAMEV7TR.js +0 -2
  958. package/__chunks__/chunk-INGPGNTA.js +0 -2
  959. package/__chunks__/chunk-IPW55AVE.js +0 -2
  960. package/__chunks__/chunk-ITN2NSBG.js +0 -2
  961. package/__chunks__/chunk-J6CVUBBP.js +0 -2
  962. package/__chunks__/chunk-JOP4BEZF.js +0 -2
  963. package/__chunks__/chunk-JSCRTAAO.js +0 -2
  964. package/__chunks__/chunk-JVFAJVEC.js +0 -2
  965. package/__chunks__/chunk-JYH6IZFK.js +0 -2
  966. package/__chunks__/chunk-KPBF5HSO.js +0 -2
  967. package/__chunks__/chunk-KRXXPMJD.js +0 -2
  968. package/__chunks__/chunk-L6D6H2TL.js +0 -2
  969. package/__chunks__/chunk-LDKFYYUQ.js +0 -2
  970. package/__chunks__/chunk-M735KLL2.js +0 -2
  971. package/__chunks__/chunk-M7PVQHDQ.js +0 -2
  972. package/__chunks__/chunk-MBRHI6SE.js +0 -2
  973. package/__chunks__/chunk-MGPGNPGU.js +0 -2
  974. package/__chunks__/chunk-MKCW5NSI.js +0 -2
  975. package/__chunks__/chunk-MUUJFAZM.js +0 -2
  976. package/__chunks__/chunk-NZW46N7L.js +0 -2
  977. package/__chunks__/chunk-PIJ7PV2V.js +0 -2
  978. package/__chunks__/chunk-PWWL5AUZ.js +0 -2
  979. package/__chunks__/chunk-PYPDUE73.js +0 -2
  980. package/__chunks__/chunk-QZNGJGQG.js +0 -2
  981. package/__chunks__/chunk-R7ZGVJ7T.js +0 -2
  982. package/__chunks__/chunk-T27HYYEY.js +0 -2
  983. package/__chunks__/chunk-TRMNAHR2.js +0 -2
  984. package/__chunks__/chunk-VQLZZEQ7.js +0 -2
  985. package/__chunks__/chunk-WD4NKXSQ.js +0 -2
  986. package/__chunks__/chunk-WOVOYL37.js +0 -2
  987. package/__chunks__/chunk-X3JUCBSS.js +0 -2
  988. package/__chunks__/chunk-YWH4TA4F.js +0 -2
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-WX5V7JLP.js";import{a as s}from"./chunk-4ELEWAI5.js";import{a}from"./chunk-7E6UTOAR.js";import{m as l}from"./chunk-HBP5N4FR.js";l();import o from"react";var F=({buttonClassName:r="dapp-wallet-connect-login-button",callbackRoute:d,children:p,className:u="dapp-wallet-connect-login",customSpinnerComponent:c,"data-testid":m,disabled:g,hideButtonWhenModalOpens:h=!1,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L=!0,lead:w="Scan the QR code using the xPortal App",loginButtonText:t="xPortal App",logoutRoute:B,modalClassName:M,nativeAuth:f,onLoginRedirect:P,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,showScamPhishingAlert:N,title:R="Login with the xPortal App",token:n,wrapContentInsideModal:e=!0,customRequestMethods:S=[]})=>{let{disabledConnectButton:y,handleCloseModal:T,handleOpenModal:k,shouldRenderButton:q,showContent:v,showModal:G}=a({hideButtonWhenModalOpens:h,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,token:n,wrapContentInsideModal:e});return o.createElement(o.Fragment,null,q&&o.createElement(s,{btnClassName:r,className:u,"data-testid":m,disabled:g||y,onLogin:k,text:t},p),o.createElement(i,{callbackRoute:d,className:M,customSpinnerComponent:c,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L,lead:w,loginButtonText:t,logoutRoute:B,nativeAuth:f,onClose:T,onLoginRedirect:P,showLoginContent:v,showLoginModal:G,showScamPhishingAlert:N,title:R,token:n,wrapContentInsideModal:e,customRequestMethods:S}))};export{F as a};
2
- //# sourceMappingURL=chunk-6GZMRNND.js.map
1
+ import{a as i}from"./chunk-VSEY57LR.js";import{a as s}from"./chunk-4ELEWAI5.js";import{a}from"./chunk-ANW3HDYZ.js";import{m as l}from"./chunk-HBP5N4FR.js";l();import o from"react";var F=({buttonClassName:r="dapp-wallet-connect-login-button",callbackRoute:d,children:p,className:u="dapp-wallet-connect-login",customSpinnerComponent:c,"data-testid":m,disabled:g,hideButtonWhenModalOpens:h=!1,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L=!0,lead:w="Scan the QR code using the xPortal App",loginButtonText:t="xPortal App",logoutRoute:B,modalClassName:M,nativeAuth:f,onLoginRedirect:P,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,showScamPhishingAlert:N,title:R="Login with the xPortal App",token:n,wrapContentInsideModal:e=!0,customRequestMethods:S=[]})=>{let{disabledConnectButton:y,handleCloseModal:T,handleOpenModal:k,shouldRenderButton:q,showContent:v,showModal:G}=a({hideButtonWhenModalOpens:h,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,token:n,wrapContentInsideModal:e});return o.createElement(o.Fragment,null,q&&o.createElement(s,{btnClassName:r,className:u,"data-testid":m,disabled:g||y,onLogin:k,text:t},p),o.createElement(i,{callbackRoute:d,className:M,customSpinnerComponent:c,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L,lead:w,loginButtonText:t,logoutRoute:B,nativeAuth:f,onClose:T,onLoginRedirect:P,showLoginContent:v,showLoginModal:G,showScamPhishingAlert:N,title:R,token:n,wrapContentInsideModal:e,customRequestMethods:S}))};export{F as a};
2
+ //# sourceMappingURL=chunk-YUBKHZDO.js.map
@@ -1,2 +1,2 @@
1
- import{a as o,b as P}from"./chunk-P3EO43BR.js";import{m as a,n as m,y as n}from"./chunk-ZJFLF6JY.js";import{e as t,m as r}from"./chunk-HBP5N4FR.js";import{WALLET_PROVIDER_CALLBACK_PARAM as c}from"@multiversx/sdk-web-wallet-provider";var R,i=t(()=>{r();n();P();R=({transaction:e,search:s})=>o({removeParams:[...Object.keys(e),c,a,m],search:s})});export{R as a,i as b};
2
- //# sourceMappingURL=chunk-ERNQDLXE.js.map
1
+ import{a as o,b as P}from"./chunk-P3EO43BR.js";import{m as a,n as m,y as n}from"./chunk-KS74VUBZ.js";import{e as t,m as r}from"./chunk-HBP5N4FR.js";import{WALLET_PROVIDER_CALLBACK_PARAM as c}from"@multiversx/sdk-web-wallet-provider";var R,i=t(()=>{r();n();P();R=({transaction:e,search:s})=>o({removeParams:[...Object.keys(e),c,a,m],search:s})});export{R as a,i as b};
2
+ //# sourceMappingURL=chunk-YUJR2RZB.js.map
@@ -1,2 +1,2 @@
1
- import{a as N}from"./chunk-7CIVGLN3.js";import{c as E,d as P}from"./chunk-4HOBRX6K.js";import{b as D}from"./chunk-4OLSDXSV.js";import{a as T}from"./chunk-FU3Q57PE.js";import{a as A}from"./chunk-ZXZXEDS2.js";import{a as p}from"./chunk-PXTXWPTJ.js";import{x as d,y as h}from"./chunk-ZJFLF6JY.js";import{i as S,m as u}from"./chunk-HBP5N4FR.js";u();h();import n from"react";import{faCoins as U}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as W}from"@fortawesome/react-fontawesome";import x from"classnames";var B=({isEgld:m,styles:o,tokenPrice:r,isNftOrSft:e,handleReference:v,currentTransaction:g,amount:I,tokenDetails:c})=>{let{network:i}=T(),{tokenAvatar:t,tokenDecimals:b,identifier:k}=c,f=({addCommas:w})=>p({input:m?g.transaction.value.toString():I,decimals:m?Number(i.decimals):b,digits:Number(i.digits),showLastNonZeroDecimal:!1,addCommas:w}),a=m||c.identifier===d,C=f({addCommas:!0}),L=f({addCommas:!1});return n.createElement("div",{className:o==null?void 0:o.confirmAmountData},n.createElement("div",{className:o==null?void 0:o.confirmAmountDataWrapper},!a&&t&&n.createElement("img",{src:t,className:o==null?void 0:o.confirmAmountDataIcon}),!a&&!t&&n.createElement("div",{className:x(o==null?void 0:o.confirmAmountDataIcon,o==null?void 0:o.confirmAmountDataIconDefault)},n.createElement(W,{icon:U,className:o==null?void 0:o.confirmAmountDataIconDefaultIcon})),n.createElement("div",{className:o==null?void 0:o.confirmAmountDataBalanceWrapper,ref:v},n.createElement(D,{amount:C,egldIcon:a,"data-testid":"confirmAmount",showTokenLabel:!0,showTokenLabelSup:!0,tokenLabel:a?i.egldLabel:k,className:o==null?void 0:o.confirmAmountDataBalance}))),!e&&r&&n.createElement(N,{amount:L,usd:r,"data-testid":"confirmUsdValue",className:o==null?void 0:o.confirmAmountDataPrice}),!e&&!r&&n.createElement("div",{className:o==null?void 0:o.confirmAmountDataPrice},"Price Unknown"))},Y=A(B,{ssrStyles:()=>import("../UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/confirmAmountDataStyles.js"),clientStyles:()=>(P(),S(E)).default});export{Y as a};
2
- //# sourceMappingURL=chunk-RUTZGE6P.js.map
1
+ import{a as N}from"./chunk-JMSXE3RA.js";import{c as E,d as P}from"./chunk-4HOBRX6K.js";import{b as D}from"./chunk-4OLSDXSV.js";import{a as T}from"./chunk-NZ5NA3MQ.js";import{a as A}from"./chunk-ZXZXEDS2.js";import{a as p}from"./chunk-MA26T6ZE.js";import{x as d,y as h}from"./chunk-KS74VUBZ.js";import{i as S,m as u}from"./chunk-HBP5N4FR.js";u();h();import n from"react";import{faCoins as U}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as W}from"@fortawesome/react-fontawesome";import x from"classnames";var B=({isEgld:m,styles:o,tokenPrice:r,isNftOrSft:e,handleReference:v,currentTransaction:g,amount:I,tokenDetails:c})=>{let{network:i}=T(),{tokenAvatar:t,tokenDecimals:b,identifier:k}=c,f=({addCommas:w})=>p({input:m?g.transaction.value.toString():I,decimals:m?Number(i.decimals):b,digits:Number(i.digits),showLastNonZeroDecimal:!1,addCommas:w}),a=m||c.identifier===d,C=f({addCommas:!0}),L=f({addCommas:!1});return n.createElement("div",{className:o==null?void 0:o.confirmAmountData},n.createElement("div",{className:o==null?void 0:o.confirmAmountDataWrapper},!a&&t&&n.createElement("img",{src:t,className:o==null?void 0:o.confirmAmountDataIcon}),!a&&!t&&n.createElement("div",{className:x(o==null?void 0:o.confirmAmountDataIcon,o==null?void 0:o.confirmAmountDataIconDefault)},n.createElement(W,{icon:U,className:o==null?void 0:o.confirmAmountDataIconDefaultIcon})),n.createElement("div",{className:o==null?void 0:o.confirmAmountDataBalanceWrapper,ref:v},n.createElement(D,{amount:C,egldIcon:a,"data-testid":"confirmAmount",showTokenLabel:!0,showTokenLabelSup:!0,tokenLabel:a?i.egldLabel:k,className:o==null?void 0:o.confirmAmountDataBalance}))),!e&&r&&n.createElement(N,{amount:L,usd:r,"data-testid":"confirmUsdValue",className:o==null?void 0:o.confirmAmountDataPrice}),!e&&!r&&n.createElement("div",{className:o==null?void 0:o.confirmAmountDataPrice},"Price Unknown"))},Y=A(B,{ssrStyles:()=>import("../UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/confirmAmountDataStyles.js"),clientStyles:()=>(P(),S(E)).default});export{Y as a};
2
+ //# sourceMappingURL=chunk-YUOQUMEJ.js.map
@@ -1,2 +1,2 @@
1
- import{d as t,e as l}from"./chunk-N3AM4TV2.js";import{a as d,b as g}from"./chunk-7PPZHE2G.js";import{e as T,m as i}from"./chunk-HBP5N4FR.js";var y,p=T(()=>{i();g();l();y=(e,u=1)=>e!=null&&e.length?e.reduce((n,{receiver:m,data:r})=>{let o=t({receiver:m,data:r!=null?r:""});return o==null?n:n&&d({receiverAddress:o,senderShard:u})},!0):!0});export{y as a,p as b};
2
- //# sourceMappingURL=chunk-7JLHGIW6.js.map
1
+ import{d as t,e as l}from"./chunk-N3AM4TV2.js";import{a as d,b as g}from"./chunk-RMO5UO7E.js";import{e as T,m as i}from"./chunk-HBP5N4FR.js";var y,p=T(()=>{i();g();l();y=(e,u=1)=>e!=null&&e.length?e.reduce((n,{receiver:m,data:r})=>{let o=t({receiver:m,data:r!=null?r:""});return o==null?n:n&&d({receiverAddress:o,senderShard:u})},!0):!0});export{y as a,p as b};
2
+ //# sourceMappingURL=chunk-YVB63GJZ.js.map
@@ -0,0 +1,2 @@
1
+ import{a as c}from"./chunk-4H42C46H.js";import{a as s}from"./chunk-J5OGZBKD.js";import{a as I}from"./chunk-V3MIWRDP.js";import{a as p}from"./chunk-CHAQ5M65.js";import{a as m}from"./chunk-CYYTD5XX.js";import{a as T}from"./chunk-AODUMWGA.js";import{a as G}from"./chunk-3MSEILYS.js";import{a as g}from"./chunk-U6Y2OZXG.js";import{a as u}from"./chunk-ZX53VFJ5.js";import{a as i}from"./chunk-TM6MD7QW.js";import{a as k}from"./chunk-747AXVRE.js";import{a as l}from"./chunk-QX6YI7IJ.js";import{a as d}from"./chunk-GCTYOYVH.js";import{a as h}from"./chunk-JNOB76TJ.js";import{a as f}from"./chunk-Q3BJFWXF.js";import{a as t}from"./chunk-4E3IOQJP.js";import{a as r}from"./chunk-LKQABBKX.js";import{m as a}from"./chunk-HBP5N4FR.js";a();import n from"react";var W=({transaction:o})=>n.createElement(n.Fragment,null,n.createElement(i,{transaction:o}),n.createElement(s,{transaction:o}),n.createElement(r,{transaction:o}),n.createElement(T,{transaction:o}),n.createElement(t,{transaction:o}),n.createElement(I,{transaction:o}),n.createElement(c,{transaction:o}),n.createElement(m,{transaction:o}),n.createElement(p,{transaction:o}),n.createElement(f,{transaction:o}),n.createElement(h,{transaction:o}),n.createElement(l,{transaction:o}),n.createElement(d,{transaction:o}),n.createElement(u,{transaction:o}),n.createElement(G,{transaction:o}),n.createElement(k,{transaction:o}),n.createElement(g,{transaction:o}));export{W as a};
2
+ //# sourceMappingURL=chunk-YW6ZZ4VJ.js.map
@@ -0,0 +1,2 @@
1
+ import{a as m,b as i}from"./chunk-MA26T6ZE.js";import{f as o,y as e}from"./chunk-KS74VUBZ.js";import{e as r,m as a}from"./chunk-HBP5N4FR.js";var u,l=r(()=>{a();e();i();u=t=>({egldValueData:{value:t,formattedValue:m({input:t}),decimals:o}})});export{u as a,l as b};
2
+ //# sourceMappingURL=chunk-YZ3AZ7NL.js.map
@@ -1,2 +1,2 @@
1
- import{c as Z,d as k}from"./chunk-2Q2SGN7Q.js";import{a as T}from"./chunk-4STWQTRL.js";import{a as N}from"./chunk-ZXZXEDS2.js";import{a as h,b as w}from"./chunk-PXTXWPTJ.js";import{a as S,b as E}from"./chunk-WGYM3KRP.js";import{f as g,g as I,u as i,y as v}from"./chunk-ZJFLF6JY.js";import{a as r,b as p,i as C,m as A}from"./chunk-HBP5N4FR.js";A();v();import o from"react";import x from"classnames";w();E();var M=t=>{var a;let s=(a=t.styles)!=null?a:{};return o.createElement("span",{"data-testid":t["data-testid"]||"formatAmountComponent",className:t.className},o.createElement("span",{className:s["int-amount"],"data-testid":"formatAmountInt"},"..."))},V=(t,s)=>{var d,c,y;let{value:a,showLastNonZeroDecimal:b=!1,showLabel:F=!0}=t,m=t.digits!=null?t.digits:I,L=t.decimals!=null?t.decimals:g,n=(d=t.styles)!=null?d:{},P=(c=t.globalStyles)!=null?c:{},u=h({input:a,decimals:L,digits:m,showLastNonZeroDecimal:b,addCommas:!0}),e=u.split("."),D=e.length===1,W=u!==i;if(m>0&&D&&W){let l="";for(let f=1;f<=m;f++)l=l+i;e.push(l)}return o.createElement("span",{"data-testid":t["data-testid"]||"formatAmountComponent",className:t.className},o.createElement("span",{className:n["int-amount"],"data-testid":"formatAmountInt"},e[0]),e.length>1&&o.createElement("span",{className:n.decimals,"data-testid":"formatAmountDecimals"},".",e[1]),F&&o.createElement("span",{className:x(n.symbol,t.token&&P.textMuted),"data-testid":"formatAmountSymbol"},` ${(y=t.token)!=null?y:s}`))},q=t=>{let{value:s}=t;return S(s)?V(t,t.egldLabel||""):M(t)},z=t=>{let s=t.egldLabel||T(),a=p(r({},t),{egldLabel:s});return o.createElement(q,r({},a))},_=N(z,{ssrStyles:()=>import("../UI/FormatAmount/formatAmountStyles.js"),clientStyles:()=>(k(),C(Z)).default});export{_ as a};
2
- //# sourceMappingURL=chunk-A2EOW5FF.js.map
1
+ import{c as Z,d as k}from"./chunk-2Q2SGN7Q.js";import{a as T}from"./chunk-F6T576QO.js";import{a as N}from"./chunk-ZXZXEDS2.js";import{a as h,b as w}from"./chunk-MA26T6ZE.js";import{a as S,b as E}from"./chunk-WGYM3KRP.js";import{f as g,g as I,u as i,y as v}from"./chunk-KS74VUBZ.js";import{a as r,b as p,i as C,m as A}from"./chunk-HBP5N4FR.js";A();v();import o from"react";import x from"classnames";w();E();var M=t=>{var a;let s=(a=t.styles)!=null?a:{};return o.createElement("span",{"data-testid":t["data-testid"]||"formatAmountComponent",className:t.className},o.createElement("span",{className:s["int-amount"],"data-testid":"formatAmountInt"},"..."))},V=(t,s)=>{var d,c,y;let{value:a,showLastNonZeroDecimal:b=!1,showLabel:F=!0}=t,m=t.digits!=null?t.digits:I,L=t.decimals!=null?t.decimals:g,n=(d=t.styles)!=null?d:{},P=(c=t.globalStyles)!=null?c:{},u=h({input:a,decimals:L,digits:m,showLastNonZeroDecimal:b,addCommas:!0}),e=u.split("."),D=e.length===1,W=u!==i;if(m>0&&D&&W){let l="";for(let f=1;f<=m;f++)l=l+i;e.push(l)}return o.createElement("span",{"data-testid":t["data-testid"]||"formatAmountComponent",className:t.className},o.createElement("span",{className:n["int-amount"],"data-testid":"formatAmountInt"},e[0]),e.length>1&&o.createElement("span",{className:n.decimals,"data-testid":"formatAmountDecimals"},".",e[1]),F&&o.createElement("span",{className:x(n.symbol,t.token&&P.textMuted),"data-testid":"formatAmountSymbol"},` ${(y=t.token)!=null?y:s}`))},q=t=>{let{value:s}=t;return S(s)?V(t,t.egldLabel||""):M(t)},z=t=>{let s=t.egldLabel||T(),a=p(r({},t),{egldLabel:s});return o.createElement(q,r({},a))},_=N(z,{ssrStyles:()=>import("../UI/FormatAmount/formatAmountStyles.js"),clientStyles:()=>(k(),C(Z)).default});export{_ as a};
2
+ //# sourceMappingURL=chunk-Z5IDF2GH.js.map
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-JOP4BEZF.js";import{a as l,b as u}from"./chunk-QY5NWVGL.js";import{a as o,b as f}from"./chunk-GXXCFOAH.js";import{j as m}from"./chunk-OKLK5GYW.js";import{a as r,b as s,m as c}from"./chunk-HBP5N4FR.js";c();m();import T from"react";u();f();var p=e=>{if(!e)return"";let t=e.split("-");return t.length>0?t[0]:e},h=({operation:e})=>{let t={type:e.esdtType,name:e.name,ticker:e.svgUrl?p(String(e.identifier)):e.identifier,collection:e.collection,identifier:e.identifier,token:e.identifier,decimals:e.decimals,value:e.value,svgUrl:e.svgUrl};if(t.type==null)return null;switch(e.type){case"nft":{let n=l({token:t});return T.createElement(i.Nft,s(r({},n),{badgeText:null}))}case"esdt":{let n=o({token:t});return T.createElement(i.Token,r({},n))}default:return null}};export{p as a,h as b};
2
- //# sourceMappingURL=chunk-3PPJ7ZMN.js.map
1
+ import{a as i}from"./chunk-MMR72JFQ.js";import{a as l,b as u}from"./chunk-ZLIAXTOB.js";import{a as o,b as f}from"./chunk-JCSKQCRL.js";import{j as m}from"./chunk-OKLK5GYW.js";import{a as r,b as s,m as c}from"./chunk-HBP5N4FR.js";c();m();import T from"react";u();f();var p=e=>{if(!e)return"";let t=e.split("-");return t.length>0?t[0]:e},h=({operation:e})=>{let t={type:e.esdtType,name:e.name,ticker:e.svgUrl?p(String(e.identifier)):e.identifier,collection:e.collection,identifier:e.identifier,token:e.identifier,decimals:e.decimals,value:e.value,svgUrl:e.svgUrl};if(t.type==null)return null;switch(e.type){case"nft":{let n=l({token:t});return T.createElement(i.Nft,s(r({},n),{badgeText:null}))}case"esdt":{let n=o({token:t});return T.createElement(i.Token,r({},n))}default:return null}};export{p as a,h as b};
2
+ //# sourceMappingURL=chunk-Z6BJBJCE.js.map
@@ -1,2 +1,2 @@
1
- import{a as t,b as o}from"./chunk-AQQ7Q6DO.js";import{a as p,b as i}from"./chunk-H5ON5VEH.js";import{a as n,b as m}from"./chunk-LHJJDJM4.js";import{j as a}from"./chunk-OKLK5GYW.js";import{e as s,m as e}from"./chunk-HBP5N4FR.js";var k,c=s(()=>{e();a();o();i();m();k=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return t(r);case"mex":return p(r);case"stake":return n(r);default:return r.description?[r.description]:[]}}});export{k as a,c as b};
2
- //# sourceMappingURL=chunk-FUKSER7U.js.map
1
+ import{a as t,b as o}from"./chunk-AQQ7Q6DO.js";import{a as p,b as i}from"./chunk-OA2CO5YR.js";import{a as n,b as m}from"./chunk-LHJJDJM4.js";import{j as a}from"./chunk-OKLK5GYW.js";import{e as s,m as e}from"./chunk-HBP5N4FR.js";var k,c=s(()=>{e();a();o();i();m();k=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return t(r);case"mex":return p(r);case"stake":return n(r);default:return r.description?[r.description]:[]}}});export{k as a,c as b};
2
+ //# sourceMappingURL=chunk-Z6PFAOQ3.js.map
@@ -0,0 +1,2 @@
1
+ import{s as i}from"./chunk-7LAZFICL.js";import{b as r}from"./chunk-S55DZJQR.js";import{a as e,d as o}from"./chunk-SO2DMFGD.js";import{m as t}from"./chunk-HBP5N4FR.js";t();i();o();function p(){return r(e.getState())}export{p as a};
2
+ //# sourceMappingURL=chunk-ZE3XPL3I.js.map
@@ -1,2 +1,2 @@
1
- import{s as c}from"./chunk-34AA3WEF.js";import{i as o}from"./chunk-S55DZJQR.js";import{a as r,d as m}from"./chunk-BVFNOJEX.js";import{j as n,m as e}from"./chunk-HBP5N4FR.js";e();c();m();import d from"axios";function y(s){return n(this,null,function*(){let{apiAddress:a,apiTimeout:i}=o(r.getState()),p=s.map(t=>d.post(`${a}/transactions`,t.toPlainObject(),{timeout:parseInt(i)}));return(yield Promise.all(p)).map(({data:t})=>t.txHash)})}export{y as a};
2
- //# sourceMappingURL=chunk-5MC3BEIT.js.map
1
+ import{s as c}from"./chunk-7LAZFICL.js";import{i as o}from"./chunk-S55DZJQR.js";import{a as r,d as m}from"./chunk-SO2DMFGD.js";import{j as n,m as e}from"./chunk-HBP5N4FR.js";e();c();m();import d from"axios";function y(s){return n(this,null,function*(){let{apiAddress:a,apiTimeout:i}=o(r.getState()),p=s.map(t=>d.post(`${a}/transactions`,t.toPlainObject(),{timeout:parseInt(i)}));return(yield Promise.all(p)).map(({data:t})=>t.txHash)})}export{y as a};
2
+ //# sourceMappingURL=chunk-ZE7ZRF6H.js.map
@@ -1,2 +1,2 @@
1
- import{a as o,b as d}from"./chunk-PXTXWPTJ.js";import{a as r,b as f}from"./chunk-YRZKLN43.js";import{f as i,g as e,y as c}from"./chunk-ZJFLF6JY.js";import{e as u,m as a}from"./chunk-HBP5N4FR.js";var L,p=u(()=>{a();c();d();f();L=({feeLimit:n,egldPriceInUsd:l,hideEqualSign:m})=>{let s=o({input:n,decimals:i,digits:e,showLastNonZeroDecimal:!0}),t=r({amount:s,usd:l,decimals:e});return m?t:`\u2248 ${t}`}});export{L as a,p as b};
2
- //# sourceMappingURL=chunk-EZAGYFFB.js.map
1
+ import{a as o,b as d}from"./chunk-MA26T6ZE.js";import{a as r,b as f}from"./chunk-YRZKLN43.js";import{f as i,g as e,y as c}from"./chunk-KS74VUBZ.js";import{e as u,m as a}from"./chunk-HBP5N4FR.js";var L,p=u(()=>{a();c();d();f();L=({feeLimit:n,egldPriceInUsd:l,hideEqualSign:m})=>{let s=o({input:n,decimals:i,digits:e,showLastNonZeroDecimal:!0}),t=r({amount:s,usd:l,decimals:e});return m?t:`\u2248 ${t}`}});export{L as a,p as b};
2
+ //# sourceMappingURL=chunk-ZEHD4FID.js.map
@@ -1,2 +1,2 @@
1
- import{a as T,b as f}from"./chunk-X42PRFW5.js";import{a as A}from"./chunk-LDKFYYUQ.js";import{a as c}from"./chunk-PXTXWPTJ.js";import{c as g}from"./chunk-LVCWBXY5.js";import{e as s,m}from"./chunk-HBP5N4FR.js";function D({token:t,noValue:n,showLastNonZeroDecimal:i}){var l;let o=!n&&t.value&&t.type!=="NonFungibleESDT",r=t.decimals!=null,e="";t.type==="NonFungibleESDT"&&(e="NFT"),t.type==="SemiFungibleESDT"&&(e="SFT"),t.type==="MetaESDT"&&(e="Meta-ESDT");let a="";o&&r&&(a=r?c({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:i}):Number(t.value).toLocaleString("en"));let u=T.nftDetails(String(t.identifier)),p=t.ticker===t.collection&&(l=t.identifier)!=null?l:t.ticker;return{badgeText:e,tokenFormattedAmount:o?a:null,tokenExplorerLink:u,tokenLinkText:p,token:t,noValue:n,showLastNonZeroDecimal:i}}var d=s(()=>{m();g();A();f()});export{D as a,d as b};
2
- //# sourceMappingURL=chunk-QY5NWVGL.js.map
1
+ import{a as T,b as f}from"./chunk-X42PRFW5.js";import{a as A}from"./chunk-EQ66TXCL.js";import{a as c}from"./chunk-MA26T6ZE.js";import{c as g}from"./chunk-LVCWBXY5.js";import{e as s,m}from"./chunk-HBP5N4FR.js";function D({token:t,noValue:n,showLastNonZeroDecimal:i}){var l;let o=!n&&t.value&&t.type!=="NonFungibleESDT",r=t.decimals!=null,e="";t.type==="NonFungibleESDT"&&(e="NFT"),t.type==="SemiFungibleESDT"&&(e="SFT"),t.type==="MetaESDT"&&(e="Meta-ESDT");let a="";o&&r&&(a=r?c({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:i}):Number(t.value).toLocaleString("en"));let u=T.nftDetails(String(t.identifier)),p=t.ticker===t.collection&&(l=t.identifier)!=null?l:t.ticker;return{badgeText:e,tokenFormattedAmount:o?a:null,tokenExplorerLink:u,tokenLinkText:p,token:t,noValue:n,showLastNonZeroDecimal:i}}var d=s(()=>{m();g();A();f()});export{D as a,d as b};
2
+ //# sourceMappingURL=chunk-ZLIAXTOB.js.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-GJAIUU7R.js";import{a as T}from"./chunk-HJD3JB4Z.js";import{a as i}from"./chunk-TADMZWFS.js";import{a as m}from"./chunk-PSLXNVTU.js";import{a}from"./chunk-PDQPLX7X.js";import{a as t,m as s}from"./chunk-HBP5N4FR.js";s();import n from"react";var P=o=>{let{transaction:r,message:c,component:f}=o;return r&&e(r)?n.createElement(i,t({},o)):c?n.createElement(T,t({},o)):f!==void 0?n.createElement(m,t({},o)):n.createElement(a,null)};export{P as a};
2
- //# sourceMappingURL=chunk-Q5PUZPW7.js.map
1
+ import{a as e}from"./chunk-NVMHC2UR.js";import{a as T}from"./chunk-HJD3JB4Z.js";import{a as i}from"./chunk-FNUYVR3Z.js";import{a as m}from"./chunk-TTBSM266.js";import{a}from"./chunk-PDQPLX7X.js";import{a as t,m as s}from"./chunk-HBP5N4FR.js";s();import n from"react";var P=o=>{let{transaction:r,message:c,component:f}=o;return r&&e(r)?n.createElement(i,t({},o)):c?n.createElement(T,t({},o)):f!==void 0?n.createElement(m,t({},o)):n.createElement(a,null)};export{P as a};
2
+ //# sourceMappingURL=chunk-ZOMATUJX.js.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-HPLVNLBH.js";import{a}from"./chunk-I2CRYRYH.js";import{j as r,m as o}from"./chunk-HBP5N4FR.js";o();import{useCallback as n}from"react";var d=()=>{let{address:t}=a();return n(s=>r(void 0,null,function*(){try{return yield e({batchId:s,address:t})}catch(c){return console.error(c),null}}),[t])};export{d as a};
2
- //# sourceMappingURL=chunk-6XWAMOLE.js.map
1
+ import{a as e}from"./chunk-WCBKH2DN.js";import{a}from"./chunk-PT4LBHJF.js";import{j as r,m as o}from"./chunk-HBP5N4FR.js";o();import{useCallback as n}from"react";var d=()=>{let{address:t}=a();return n(s=>r(void 0,null,function*(){try{return yield e({batchId:s,address:t})}catch(c){return console.error(c),null}}),[t])};export{d as a};
2
+ //# sourceMappingURL=chunk-ZOZ6VHJE.js.map
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk-Q5PUZPW7.js";import{a as p}from"./chunk-JI3XZR7F.js";import{a as e}from"./chunk-F6HZWORP.js";import{c as C,d as S}from"./chunk-3H5JN4LM.js";import{a as s}from"./chunk-ZXZXEDS2.js";import{a,i as l,m as n}from"./chunk-HBP5N4FR.js";n();import m from"react";import{faInfo as W}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as B}from"@fortawesome/react-fontawesome";import d from"classnames";var g=t=>{let{className:f="dapp-custom-toast",onDelete:T,icon:r=W,iconClassName:v,title:N="",toastId:I,CustomCloseButton:u,globalStyles:i,styles:o}=t,h=p({onDelete:T,CustomCloseButton:u});return m.createElement(e,{className:f,id:I},m.createElement("div",{className:o==null?void 0:o.content},m.createElement("div",{className:o==null?void 0:o.left},m.createElement("div",{className:d(o==null?void 0:o.icon,v)},r&&m.createElement(B,{size:"5x",icon:r,className:o==null?void 0:o.svg}))),m.createElement("div",{className:o==null?void 0:o.right},m.createElement("div",{className:o==null?void 0:o.heading},m.createElement("h5",{className:d([i==null?void 0:i.h5,o==null?void 0:o.mb4])},N),h),m.createElement(c,a({},t)))))},E=s(g,{ssrStyles:()=>import("../UI/TransactionsToastList/components/TransactionToast/transactionToast.styles.js"),clientStyles:()=>(S(),l(C)).default});export{E as a};
2
- //# sourceMappingURL=chunk-7ULWYQHV.js.map
1
+ import{a as c}from"./chunk-ZOMATUJX.js";import{a as p}from"./chunk-OPLZSH7P.js";import{a as e}from"./chunk-F6HZWORP.js";import{c as C,d as S}from"./chunk-3H5JN4LM.js";import{a as s}from"./chunk-ZXZXEDS2.js";import{a,i as l,m as n}from"./chunk-HBP5N4FR.js";n();import m from"react";import{faInfo as W}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as B}from"@fortawesome/react-fontawesome";import d from"classnames";var g=t=>{let{className:f="dapp-custom-toast",onDelete:T,icon:r=W,iconClassName:v,title:N="",toastId:I,CustomCloseButton:u,globalStyles:i,styles:o}=t,h=p({onDelete:T,CustomCloseButton:u});return m.createElement(e,{className:f,id:I},m.createElement("div",{className:o==null?void 0:o.content},m.createElement("div",{className:o==null?void 0:o.left},m.createElement("div",{className:d(o==null?void 0:o.icon,v)},r&&m.createElement(B,{size:"5x",icon:r,className:o==null?void 0:o.svg}))),m.createElement("div",{className:o==null?void 0:o.right},m.createElement("div",{className:o==null?void 0:o.heading},m.createElement("h5",{className:d([i==null?void 0:i.h5,o==null?void 0:o.mb4])},N),h),m.createElement(c,a({},t)))))},E=s(g,{ssrStyles:()=>import("../UI/TransactionsToastList/components/TransactionToast/transactionToast.styles.js"),clientStyles:()=>(S(),l(C)).default});export{E as a};
2
+ //# sourceMappingURL=chunk-ZPN3H4YH.js.map
@@ -1,2 +1,2 @@
1
- import{a as en}from"./chunk-R4EQZHHI.js";import{a as tn}from"./chunk-KDZETY5Z.js";import{a as k}from"./chunk-H5TXR2SR.js";import{a as nn}from"./chunk-M735KLL2.js";import{a as C,b as Pn}from"./chunk-XNFCZFZP.js";import{a as $,b as vn}from"./chunk-J42ZO72F.js";import{e as R,y as hn}from"./chunk-ZJFLF6JY.js";import{i as Z}from"./chunk-7YHU2LQD.js";import{a as o,b as v,j as P,m as Y}from"./chunk-HBP5N4FR.js";Y();import{useEffect as rn,useState as T}from"react";import{Address as sn,Transaction as On,TransactionOptions as xn,TransactionVersion as In}from"@multiversx/sdk-core";hn();vn();Pn();var I={},_n=({isLedger:A=!1,transactionsToSign:O,egldLabel:on,address:m,activeGuardianAddress:D,hasGuardianScreen:an,onCancel:p,onSignTransaction:cn,onTransactionsSignError:ln,onTransactionsSignSuccess:L,onGetScamAddressData:U})=>{var z,J,K,Q;let E=Boolean(D),[a,u]=T(0),[f,G]=T(),[e,W]=T(null),[un,_]=T({}),[dn,N]=T(!1),{getTxInfoByDataField:gn,allTransactions:c}=en({transactions:D?O==null?void 0:O.map(n=>{n.sender=sn.newFromBech32(m),n.version=In.withTxOptions().valueOf(),n.guardian=sn.newFromBech32(D);let t=o({guarded:!0},A?{hashSign:!0}:{});return n.options=xn.withOptions(t).valueOf(),n}):O}),[S,V]=T(c),w=a===S.length-1,x=S[a],y=(z=e==null?void 0:e.transaction)==null?void 0:z.sender.toBech32(),{data:j}=nn(!y||y===m?null:y),pn=()=>P(void 0,null,function*(){var X;if(x==null)return;let{transaction:n,multiTxData:t,transactionIndex:s}=x,d=n.data.toString(),l=gn(n.data.toString(),t),{tokenId:r}=l,i=n.receiver.toBech32();if(y&&y!==m&&!tn(j,m))return console.error(Z),p==null?void 0:p();let g=m!==i,M=i in I;if(i&&g&&!M&&U!=null){let h=yield U(i);I=o(o({},I),h!=null&&h.scamInfo?{[i]:h.scamInfo}:{})}let b=Boolean(r&&C({tokenId:r,erdLabel:on})),yn=x.needsSigning,bn=n.nonce.valueOf(),B=un[Number(bn)];W({transaction:n,initialGasPrice:(B==null?void 0:B.initialGasPrice)||R,receiverScamInfo:((X=I[i])==null?void 0:X.info)||null,transactionTokenInfo:l,isTokenTransaction:b,dataField:d,transactionIndex:s,needsSigning:yn})}),fn=n=>{let t=S[a].transaction,s=t.nonce.valueOf();_(r=>{let i=o({},r);return i[Number(s)]=v(o({},i[Number(s)]),{gasPriceOption:n}),i});let d=On.newFromPlainObject(v(o({},t.toPlainObject()),{gasPrice:n})),l=v(o({},S[a]),{transaction:d});V(r=>{let i=[...r];return i[a]=l,i}),W(r=>r&&v(o({},r),{transaction:d,gasPriceOption:n}))};rn(()=>{let n={};c.forEach(({transaction:t})=>{let s=t.nonce;n[Number(s)]={initialGasPrice:Number(t.gasPrice),gasPriceOption:Number(t.gasPrice)||R}}),_(n),V(c)},[c]),rn(()=>{pn()},[x,j]);let F=()=>{u(0),G(void 0),N(!1)},H=()=>P(void 0,null,function*(){let n=Object.values(f!=null?f:{}),t=k({isGuarded:E,transactions:n});if(E&&t){L(n),F();return}if(e==null)return;N(A);let s;try{s=yield cn(e.transaction)}catch(g){console.error(g,"sign error");let{message:M}=g,b=A?$(g).errorMessage:null;F(),ln(b!=null?b:M);return}if(!s)return;let d={[a]:s},l=f?o(o({},f),d):d;if(G(l),!w){u(g=>g+1),N(!1);return}if(!l)return;let r=Object.values(l);!k({isGuarded:E,transactions:r})&&an||(L(r),F())}),Tn=()=>P(void 0,null,function*(){var n;try{if(e==null)return;if(((n=e.transaction.signature)==null?void 0:n.toString())&&!w){u(s=>s+1);return}yield H()}catch(t){console.error("Error during signing transaction"),yield H()}}),mn=a===0,Sn=()=>{mn?p==null||p():u(n=>n-1)},q=Boolean(((J=e==null?void 0:e.transactionTokenInfo)==null?void 0:J.type)&&((K=e==null?void 0:e.transactionTokenInfo)==null?void 0:K.multiTxData)&&!(e!=null&&e.dataField.endsWith((Q=e==null?void 0:e.transactionTokenInfo)==null?void 0:Q.multiTxData)));return{allTransactions:S,onSignTransaction:()=>P(void 0,null,function*(){if(q){u(n=>n+1);return}yield Tn()}),onNext:()=>{u(n=>{let t=n+1;return t>(c==null?void 0:c.length)?n:t})},onPrev:()=>{u(n=>{let t=n-1;return t<0?n:t})},waitingForDevice:dn,onAbort:Sn,isLastTransaction:w,isFirstTransaction:a===0,hasMultipleTransactions:c.length>1,shouldContinueWithoutSigning:q,currentStep:a,signedTransactions:f,setSignedTransactions:G,updateGasPriceOption:fn,currentTransaction:e}};export{_n as a};
2
- //# sourceMappingURL=chunk-QIWLXRJX.js.map
1
+ import{a as en}from"./chunk-R4EQZHHI.js";import{a as tn}from"./chunk-KDZETY5Z.js";import{a as k}from"./chunk-H5TXR2SR.js";import{a as nn}from"./chunk-4UDS5SIS.js";import{a as C,b as Pn}from"./chunk-XNFCZFZP.js";import{a as $,b as vn}from"./chunk-J42ZO72F.js";import{e as R,y as hn}from"./chunk-KS74VUBZ.js";import{i as Z}from"./chunk-7YHU2LQD.js";import{a as o,b as v,j as P,m as Y}from"./chunk-HBP5N4FR.js";Y();import{useEffect as rn,useState as T}from"react";import{Address as sn,Transaction as On,TransactionOptions as xn,TransactionVersion as In}from"@multiversx/sdk-core";hn();vn();Pn();var I={},_n=({isLedger:A=!1,transactionsToSign:O,egldLabel:on,address:m,activeGuardianAddress:D,hasGuardianScreen:an,onCancel:p,onSignTransaction:cn,onTransactionsSignError:ln,onTransactionsSignSuccess:L,onGetScamAddressData:U})=>{var z,J,K,Q;let E=Boolean(D),[a,u]=T(0),[f,G]=T(),[e,W]=T(null),[un,_]=T({}),[dn,N]=T(!1),{getTxInfoByDataField:gn,allTransactions:c}=en({transactions:D?O==null?void 0:O.map(n=>{n.sender=sn.newFromBech32(m),n.version=In.withTxOptions().valueOf(),n.guardian=sn.newFromBech32(D);let t=o({guarded:!0},A?{hashSign:!0}:{});return n.options=xn.withOptions(t).valueOf(),n}):O}),[S,V]=T(c),w=a===S.length-1,x=S[a],y=(z=e==null?void 0:e.transaction)==null?void 0:z.sender.toBech32(),{data:j}=nn(!y||y===m?null:y),pn=()=>P(void 0,null,function*(){var X;if(x==null)return;let{transaction:n,multiTxData:t,transactionIndex:s}=x,d=n.data.toString(),l=gn(n.data.toString(),t),{tokenId:r}=l,i=n.receiver.toBech32();if(y&&y!==m&&!tn(j,m))return console.error(Z),p==null?void 0:p();let g=m!==i,M=i in I;if(i&&g&&!M&&U!=null){let h=yield U(i);I=o(o({},I),h!=null&&h.scamInfo?{[i]:h.scamInfo}:{})}let b=Boolean(r&&C({tokenId:r,erdLabel:on})),yn=x.needsSigning,bn=n.nonce.valueOf(),B=un[Number(bn)];W({transaction:n,initialGasPrice:(B==null?void 0:B.initialGasPrice)||R,receiverScamInfo:((X=I[i])==null?void 0:X.info)||null,transactionTokenInfo:l,isTokenTransaction:b,dataField:d,transactionIndex:s,needsSigning:yn})}),fn=n=>{let t=S[a].transaction,s=t.nonce.valueOf();_(r=>{let i=o({},r);return i[Number(s)]=v(o({},i[Number(s)]),{gasPriceOption:n}),i});let d=On.newFromPlainObject(v(o({},t.toPlainObject()),{gasPrice:n})),l=v(o({},S[a]),{transaction:d});V(r=>{let i=[...r];return i[a]=l,i}),W(r=>r&&v(o({},r),{transaction:d,gasPriceOption:n}))};rn(()=>{let n={};c.forEach(({transaction:t})=>{let s=t.nonce;n[Number(s)]={initialGasPrice:Number(t.gasPrice),gasPriceOption:Number(t.gasPrice)||R}}),_(n),V(c)},[c]),rn(()=>{pn()},[x,j]);let F=()=>{u(0),G(void 0),N(!1)},H=()=>P(void 0,null,function*(){let n=Object.values(f!=null?f:{}),t=k({isGuarded:E,transactions:n});if(E&&t){L(n),F();return}if(e==null)return;N(A);let s;try{s=yield cn(e.transaction)}catch(g){console.error(g,"sign error");let{message:M}=g,b=A?$(g).errorMessage:null;F(),ln(b!=null?b:M);return}if(!s)return;let d={[a]:s},l=f?o(o({},f),d):d;if(G(l),!w){u(g=>g+1),N(!1);return}if(!l)return;let r=Object.values(l);!k({isGuarded:E,transactions:r})&&an||(L(r),F())}),Tn=()=>P(void 0,null,function*(){var n;try{if(e==null)return;if(((n=e.transaction.signature)==null?void 0:n.toString())&&!w){u(s=>s+1);return}yield H()}catch(t){console.error("Error during signing transaction"),yield H()}}),mn=a===0,Sn=()=>{mn?p==null||p():u(n=>n-1)},q=Boolean(((J=e==null?void 0:e.transactionTokenInfo)==null?void 0:J.type)&&((K=e==null?void 0:e.transactionTokenInfo)==null?void 0:K.multiTxData)&&!(e!=null&&e.dataField.endsWith((Q=e==null?void 0:e.transactionTokenInfo)==null?void 0:Q.multiTxData)));return{allTransactions:S,onSignTransaction:()=>P(void 0,null,function*(){if(q){u(n=>n+1);return}yield Tn()}),onNext:()=>{u(n=>{let t=n+1;return t>(c==null?void 0:c.length)?n:t})},onPrev:()=>{u(n=>{let t=n-1;return t<0?n:t})},waitingForDevice:dn,onAbort:Sn,isLastTransaction:w,isFirstTransaction:a===0,hasMultipleTransactions:c.length>1,shouldContinueWithoutSigning:q,currentStep:a,signedTransactions:f,setSignedTransactions:G,updateGasPriceOption:fn,currentTransaction:e}};export{_n as a};
2
+ //# sourceMappingURL=chunk-ZVD4YOCM.js.map
@@ -1,2 +1,2 @@
1
- import{d as t}from"./chunk-FOX5U7WT.js";import{n as s,s as o}from"./chunk-34AA3WEF.js";import{m as a}from"./chunk-HBP5N4FR.js";a();o();function p(){let e=t(s),n=Object.entries(e),i=(n==null?void 0:n.length)>0;return{failedTransactions:e,failedTransactionsArray:n,hasFailedTransactions:i}}export{p as a};
2
- //# sourceMappingURL=chunk-DZI5AVEM.js.map
1
+ import{d as t}from"./chunk-KNJMUTWO.js";import{n as s,s as o}from"./chunk-7LAZFICL.js";import{m as a}from"./chunk-HBP5N4FR.js";a();o();function p(){let e=t(s),n=Object.entries(e),i=(n==null?void 0:n.length)>0;return{failedTransactions:e,failedTransactionsArray:n,hasFailedTransactions:i}}export{p as a};
2
+ //# sourceMappingURL=chunk-ZVKCC2XJ.js.map
@@ -1,2 +1,2 @@
1
- import{a as ye}from"./chunk-YTYNUTPN.js";import{a as Ie}from"./chunk-SQLZ5IPF.js";import{a as Ee}from"./chunk-5QOXLPGS.js";import{a as Le}from"./chunk-MKCW5NSI.js";import{a as we}from"./chunk-KHI2JK52.js";import{a as Te}from"./chunk-FQT7266X.js";import{a as G}from"./chunk-UUPZZ2II.js";import{a as ve}from"./chunk-GSFBH2GN.js";import{a as de}from"./chunk-I2CRYRYH.js";import{a as he}from"./chunk-ZWOJO7SU.js";import{a as Ce}from"./chunk-LJNBC7T3.js";import{b as fe,f as me}from"./chunk-ET33OW7R.js";import{e as x,f as pe}from"./chunk-4JP4CKHO.js";import{c as ge,d}from"./chunk-FOX5U7WT.js";import{s as Be}from"./chunk-34AA3WEF.js";import{b as ie,i as ce}from"./chunk-36DIZZVM.js";import{e as se,f as ae,g as le,h as ue,o as _e}from"./chunk-S55DZJQR.js";import{a as be}from"./chunk-GX3LTVWC.js";import{c as te}from"./chunk-5WABGKPN.js";import{a as Me}from"./chunk-K25BWLF6.js";import{a as re}from"./chunk-4CZQ6YQW.js";import{a as H,c as ee,d as ne}from"./chunk-F7XLVOHM.js";import{b as Z,c as He}from"./chunk-QIKPFXTG.js";import{a as oe,b as Ge}from"./chunk-OWBHRN3S.js";import{p as Oe}from"./chunk-EOZJRV5E.js";import{j as g,m as Y}from"./chunk-HBP5N4FR.js";Y();import{useCallback as ze,useEffect as M,useRef as b,useState as y}from"react";He();Be();_e();be();Oe();Me();Ge();var Fe=(s=>(s.invalidAddress="Invalid address",s.invalidConfig="Invalid WalletConnect setup",s.invalidTopic="Expired connection",s.sessionExpired="Unable to connect to existing session",s.connectError="Unable to connect",s.userRejected="User rejected connection proposal",s.userRejectedExisting="User rejected existing connection proposal",s.errorLogout="Unable to remove existing pairing",s.invalidChainID="Invalid chainID",s))(Fe||{}),En=({callbackRoute:E,token:_,nativeAuth:B,onLoginRedirect:Pe,logoutRoute:A,customRequestMethods:We=[]})=>{var Q;let L=ge(),h=Ee(B),U=we(h?B:!1),s=de(),[z,c]=y(""),[I,Se]=y(""),[F,f]=y(!0),[Ve,k]=y([]),[T,R]=y(null),{provider:D}=ve(),P=d(se),W=d(ae),S=d(le),xe=d(ue),Ae=d(ce),K=d(ie),e=b(D),m=b(!1),C=b(!1),$=(Q=A!=null?A:Ae)!=null?Q:"/",V=[x.CANCEL_ACTION,...We];_&&V.push(x.SIGN_LOGIN_TOKEN),h&&V.push(x.SIGN_NATIVE_AUTH_TOKEN);let Ue=F?"":`${xe}?wallet-connect=${encodeURIComponent(I)}`,j=Boolean(z),p=_,v=ze(()=>K==="walletconnectv2"||fe(e.current)==="walletconnectv2",[K]),ke=()=>{he($)},Re=n=>{console.log("WalletConnect Session Event: ",n)},De=()=>g(void 0,null,function*(){var n,o,t,r;try{if(m.current||e.current==null)return;if(!C.current){try{yield(n=e.current)==null?void 0:n.logout()}catch(O){console.warn("Unable to logout")}return}let i=yield(t=(o=e.current)==null?void 0:o.getAddress)==null?void 0:t.call(o);if(!i){console.warn("Login cancelled.");return}let a=yield(r=e.current)==null?void 0:r.getSignature(),l={address:i,loginMethod:"walletconnectv2"},u={logoutRoute:$,loginType:"walletconnectv2",callbackRoute:E!=null?E:oe().href};L(te(u)),a&&U.setTokenLoginInfo({signature:a,address:i}),L(Z(l)),re({callbackRoute:E,onLoginRedirect:Pe,options:{address:i,signature:a}})}catch(i){c("User rejected connection proposal"),console.error(i)}}),q=()=>g(void 0,null,function*(){var n,o,t,r,i;if(!!v())try{((r=(t=(o=(n=e.current)==null?void 0:n.walletConnector)==null?void 0:o.session)==null?void 0:t.getAll())!=null?r:[]).length>0&&(yield(i=e.current)==null?void 0:i.logout()),e.current=me,R(null)}catch(a){console.warn("Unable to logout")}}),je=n=>g(void 0,null,function*(){var o,t,r;if(!P||!W){c("Invalid WalletConnect setup");return}if(!n||!n.topic){c("Expired connection");return}try{if(!v()){yield w();return}f(!0),yield q();let{token:i,error:a}=yield G({hasNativeAuth:h,token:p,loginService:U,onError:c});if(a)return;p=i,yield w(!1);let{approval:l}=yield(o=e.current)==null?void 0:o.connect({topic:n.topic,methods:V});try{yield(t=e.current)==null?void 0:t.login({approval:l,token:p})}catch(u){console.error("User rejected existing connection proposal",u),c("User rejected existing connection proposal"),f(!0),yield w()}}catch(i){console.error("Unable to connect to existing session",i),c("Unable to connect to existing session")}finally{k((r=e.current)==null?void 0:r.pairings)}}),Ne=n=>g(void 0,null,function*(){var o,t;try{n&&(yield(o=e.current)==null?void 0:o.logout({topic:n}))}catch(r){console.error("Unable to remove existing pairing",r),c("Unable to remove existing pairing")}finally{let r=yield(t=e.current)==null?void 0:t.getPairings();k(r)}});function w(n=!0){return g(this,null,function*(){var u,O,X;let o=Le();Te(),n&&!o&&(L(ne(H.address)),L(ee(H)));let t=yield Ie({maxRetries:15});if(!t){console.error("Invalid chainID"),c("Invalid chainID");return}if(!W||!P){console.error("Invalid WalletConnect setup"),c("Invalid WalletConnect setup");return}let r=C.current===!1&&!o,i=((O=(u=e.current)==null?void 0:u.isInitialized)==null?void 0:O.call(u))&&v();if(m.current||r||i)return;if(m.current=!0,(X=e.current)!=null&&X.walletConnector){yield e.current.init(),R(e.current),m.current=!1,n&&(yield J());return}let a={onClientLogin:De,onClientLogout:ke,onClientEvent:Re},l=new pe(a,t,P,W,S);yield l.init(),R(l),e.current=l,m.current=!1,n&&(k(l.pairings),yield J())})}function J(){return g(this,null,function*(){var n,o;if(!!e.current){if(!P||!W){c("Invalid WalletConnect setup");return}try{if(!C.current)return;let{uri:t,approval:r}=yield(n=e.current)==null?void 0:n.connect({methods:V});if(!Boolean(t))return;Se(t),(S==null?void 0:S.logger)==="debug"&&console.log("WalletConnect uri: ",t);let{token:a,error:l}=yield G({hasNativeAuth:h,token:p,loginService:U,onError:c});if(l)return;if(p=a,!v()){f(!0),yield w();return}try{yield(o=e.current)==null?void 0:o.login({approval:r,token:p})}catch(u){console.error("User rejected connection proposal",u),c("User rejected connection proposal"),f(!0)}}catch(t){console.error("Unable to connect",t)}}})}ye(()=>{e.current=D},[D]),M(()=>(C.current=!0,()=>{C.current=!1}),[]),M(()=>{f(!I)},[I]);let N=Boolean(s.address);return M(()=>{if(!T)return;(Boolean(T.session)||v())&&N&&Ce(T)},[T,N]),[w,{error:z,loginFailed:j,isLoading:F&&!j,isLoggedIn:N&&!j},{uriDeepLink:Ue,walletConnectUri:I,cancelLogin:q,connectExisting:je,removeExistingPairing:Ne,wcPairings:Ve}]};export{Fe as a,En as b};
2
- //# sourceMappingURL=chunk-SXRQQIUA.js.map
1
+ import{a as ye}from"./chunk-YTYNUTPN.js";import{a as Ie}from"./chunk-4EMAI4Y4.js";import{a as Ee}from"./chunk-5QOXLPGS.js";import{a as Le}from"./chunk-FCW2NYFG.js";import{a as we}from"./chunk-TVPSCCP5.js";import{a as Te}from"./chunk-FQT7266X.js";import{a as G}from"./chunk-UUPZZ2II.js";import{a as ve}from"./chunk-WQNPN74E.js";import{a as de}from"./chunk-PT4LBHJF.js";import{a as he}from"./chunk-JNV6VSHR.js";import{a as Ce}from"./chunk-OMU7GHG2.js";import{b as fe,f as me}from"./chunk-HMFVTMT5.js";import{e as x,f as pe}from"./chunk-4JP4CKHO.js";import{c as ge,d}from"./chunk-KNJMUTWO.js";import{s as Be}from"./chunk-7LAZFICL.js";import{b as ie,i as ce}from"./chunk-LFTE7642.js";import{e as se,f as ae,g as le,h as ue,o as _e}from"./chunk-S55DZJQR.js";import{a as be}from"./chunk-VRKEQZNG.js";import{c as te}from"./chunk-JIFFDQW5.js";import{a as Me}from"./chunk-K25BWLF6.js";import{a as re}from"./chunk-4CZQ6YQW.js";import{a as H,c as ee,d as ne}from"./chunk-LFQH5PEL.js";import{b as Z,c as He}from"./chunk-JGVFD27Q.js";import{a as oe,b as Ge}from"./chunk-OWBHRN3S.js";import{p as Oe}from"./chunk-EOZJRV5E.js";import{j as g,m as Y}from"./chunk-HBP5N4FR.js";Y();import{useCallback as ze,useEffect as M,useRef as b,useState as y}from"react";He();Be();_e();be();Oe();Me();Ge();var Fe=(s=>(s.invalidAddress="Invalid address",s.invalidConfig="Invalid WalletConnect setup",s.invalidTopic="Expired connection",s.sessionExpired="Unable to connect to existing session",s.connectError="Unable to connect",s.userRejected="User rejected connection proposal",s.userRejectedExisting="User rejected existing connection proposal",s.errorLogout="Unable to remove existing pairing",s.invalidChainID="Invalid chainID",s))(Fe||{}),En=({callbackRoute:E,token:_,nativeAuth:B,onLoginRedirect:Pe,logoutRoute:A,customRequestMethods:We=[]})=>{var Q;let L=ge(),h=Ee(B),U=we(h?B:!1),s=de(),[z,c]=y(""),[I,Se]=y(""),[F,f]=y(!0),[Ve,k]=y([]),[T,R]=y(null),{provider:D}=ve(),P=d(se),W=d(ae),S=d(le),xe=d(ue),Ae=d(ce),K=d(ie),e=b(D),m=b(!1),C=b(!1),$=(Q=A!=null?A:Ae)!=null?Q:"/",V=[x.CANCEL_ACTION,...We];_&&V.push(x.SIGN_LOGIN_TOKEN),h&&V.push(x.SIGN_NATIVE_AUTH_TOKEN);let Ue=F?"":`${xe}?wallet-connect=${encodeURIComponent(I)}`,j=Boolean(z),p=_,v=ze(()=>K==="walletconnectv2"||fe(e.current)==="walletconnectv2",[K]),ke=()=>{he($)},Re=n=>{console.log("WalletConnect Session Event: ",n)},De=()=>g(void 0,null,function*(){var n,o,t,r;try{if(m.current||e.current==null)return;if(!C.current){try{yield(n=e.current)==null?void 0:n.logout()}catch(O){console.warn("Unable to logout")}return}let i=yield(t=(o=e.current)==null?void 0:o.getAddress)==null?void 0:t.call(o);if(!i){console.warn("Login cancelled.");return}let a=yield(r=e.current)==null?void 0:r.getSignature(),l={address:i,loginMethod:"walletconnectv2"},u={logoutRoute:$,loginType:"walletconnectv2",callbackRoute:E!=null?E:oe().href};L(te(u)),a&&U.setTokenLoginInfo({signature:a,address:i}),L(Z(l)),re({callbackRoute:E,onLoginRedirect:Pe,options:{address:i,signature:a}})}catch(i){c("User rejected connection proposal"),console.error(i)}}),q=()=>g(void 0,null,function*(){var n,o,t,r,i;if(!!v())try{((r=(t=(o=(n=e.current)==null?void 0:n.walletConnector)==null?void 0:o.session)==null?void 0:t.getAll())!=null?r:[]).length>0&&(yield(i=e.current)==null?void 0:i.logout()),e.current=me,R(null)}catch(a){console.warn("Unable to logout")}}),je=n=>g(void 0,null,function*(){var o,t,r;if(!P||!W){c("Invalid WalletConnect setup");return}if(!n||!n.topic){c("Expired connection");return}try{if(!v()){yield w();return}f(!0),yield q();let{token:i,error:a}=yield G({hasNativeAuth:h,token:p,loginService:U,onError:c});if(a)return;p=i,yield w(!1);let{approval:l}=yield(o=e.current)==null?void 0:o.connect({topic:n.topic,methods:V});try{yield(t=e.current)==null?void 0:t.login({approval:l,token:p})}catch(u){console.error("User rejected existing connection proposal",u),c("User rejected existing connection proposal"),f(!0),yield w()}}catch(i){console.error("Unable to connect to existing session",i),c("Unable to connect to existing session")}finally{k((r=e.current)==null?void 0:r.pairings)}}),Ne=n=>g(void 0,null,function*(){var o,t;try{n&&(yield(o=e.current)==null?void 0:o.logout({topic:n}))}catch(r){console.error("Unable to remove existing pairing",r),c("Unable to remove existing pairing")}finally{let r=yield(t=e.current)==null?void 0:t.getPairings();k(r)}});function w(n=!0){return g(this,null,function*(){var u,O,X;let o=Le();Te(),n&&!o&&(L(ne(H.address)),L(ee(H)));let t=yield Ie({maxRetries:15});if(!t){console.error("Invalid chainID"),c("Invalid chainID");return}if(!W||!P){console.error("Invalid WalletConnect setup"),c("Invalid WalletConnect setup");return}let r=C.current===!1&&!o,i=((O=(u=e.current)==null?void 0:u.isInitialized)==null?void 0:O.call(u))&&v();if(m.current||r||i)return;if(m.current=!0,(X=e.current)!=null&&X.walletConnector){yield e.current.init(),R(e.current),m.current=!1,n&&(yield J());return}let a={onClientLogin:De,onClientLogout:ke,onClientEvent:Re},l=new pe(a,t,P,W,S);yield l.init(),R(l),e.current=l,m.current=!1,n&&(k(l.pairings),yield J())})}function J(){return g(this,null,function*(){var n,o;if(!!e.current){if(!P||!W){c("Invalid WalletConnect setup");return}try{if(!C.current)return;let{uri:t,approval:r}=yield(n=e.current)==null?void 0:n.connect({methods:V});if(!Boolean(t))return;Se(t),(S==null?void 0:S.logger)==="debug"&&console.log("WalletConnect uri: ",t);let{token:a,error:l}=yield G({hasNativeAuth:h,token:p,loginService:U,onError:c});if(l)return;if(p=a,!v()){f(!0),yield w();return}try{yield(o=e.current)==null?void 0:o.login({approval:r,token:p})}catch(u){console.error("User rejected connection proposal",u),c("User rejected connection proposal"),f(!0)}}catch(t){console.error("Unable to connect",t)}}})}ye(()=>{e.current=D},[D]),M(()=>(C.current=!0,()=>{C.current=!1}),[]),M(()=>{f(!I)},[I]);let N=Boolean(s.address);return M(()=>{if(!T)return;(Boolean(T.session)||v())&&N&&Ce(T)},[T,N]),[w,{error:z,loginFailed:j,isLoading:F&&!j,isLoggedIn:N&&!j},{uriDeepLink:Ue,walletConnectUri:I,cancelLogin:q,connectExisting:je,removeExistingPairing:Ne,wcPairings:Ve}]};export{Fe as a,En as b};
2
+ //# sourceMappingURL=chunk-ZVYJE2NP.js.map
@@ -1,2 +1,2 @@
1
- import{c,d as T}from"./chunk-32BMPJ74.js";import{a as s}from"./chunk-XVSQYXHY.js";import{a as m}from"./chunk-A2EOW5FF.js";import{a as i}from"./chunk-ZXZXEDS2.js";import{t as a,y as l}from"./chunk-ZJFLF6JY.js";import{i as p,m as r}from"./chunk-HBP5N4FR.js";r();l();import o from"react";var f=({className:n,transaction:e,styles:t})=>o.createElement(s,{className:n,title:"Gas Price"},e.gasPrice!=null?o.createElement(m,{value:e.gasPrice.toString(),showLastNonZeroDecimal:!0}):o.createElement("span",{className:t==null?void 0:t.gas},a)),C=i(f,{ssrStyles:()=>import("../UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/styles.js"),clientStyles:()=>(T(),p(c)).default});export{C as a};
2
- //# sourceMappingURL=chunk-5YK3M2JW.js.map
1
+ import{c,d as T}from"./chunk-32BMPJ74.js";import{a as s}from"./chunk-XVSQYXHY.js";import{a as m}from"./chunk-Z5IDF2GH.js";import{a as i}from"./chunk-ZXZXEDS2.js";import{t as a,y as l}from"./chunk-KS74VUBZ.js";import{i as p,m as r}from"./chunk-HBP5N4FR.js";r();l();import o from"react";var f=({className:n,transaction:e,styles:t})=>o.createElement(s,{className:n,title:"Gas Price"},e.gasPrice!=null?o.createElement(m,{value:e.gasPrice.toString(),showLastNonZeroDecimal:!0}):o.createElement("span",{className:t==null?void 0:t.gas},a)),C=i(f,{ssrStyles:()=>import("../UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/styles.js"),clientStyles:()=>(T(),p(c)).default});export{C as a};
2
+ //# sourceMappingURL=chunk-ZX53VFJ5.js.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-4ELEWAI5.js";import{c as f,d as h}from"./chunk-EWLOYKUK.js";import{a as i}from"./chunk-HS2YQZBU.js";import{a as e}from"./chunk-2ORKF74V.js";import{a as n}from"./chunk-ZXZXEDS2.js";import{i as c,m as o}from"./chunk-HBP5N4FR.js";o();import T from"react";var b=({token:t,className:a="dapp-metamask-login",children:r,callbackRoute:m,buttonClassName:p="dapp-default-login-button",nativeAuth:l,loginButtonText:g="Metamask",onLoginRedirect:d,disabled:u})=>{let[y]=i({callbackRoute:m,token:t,onLoginRedirect:d,nativeAuth:l}),L=e(t);return T.createElement(s,{onLogin:()=>{y()},className:a,btnClassName:p,text:g,disabled:u||L},r)},O=n(b,{ssrStyles:()=>import("../UI/extension/ExtensionLoginButton/extensionLoginButton.styles.js"),clientStyles:()=>(h(),c(f)).default});export{O as a};
2
- //# sourceMappingURL=chunk-RYXZIDYX.js.map
1
+ import{a as s}from"./chunk-4ELEWAI5.js";import{c as f,d as h}from"./chunk-EWLOYKUK.js";import{a as i}from"./chunk-THU3CE7I.js";import{a as e}from"./chunk-AXSMUT3J.js";import{a as n}from"./chunk-ZXZXEDS2.js";import{i as c,m as o}from"./chunk-HBP5N4FR.js";o();import T from"react";var b=({token:t,className:a="dapp-metamask-login",children:r,callbackRoute:m,buttonClassName:p="dapp-default-login-button",nativeAuth:l,loginButtonText:g="Metamask",onLoginRedirect:d,disabled:u})=>{let[y]=i({callbackRoute:m,token:t,onLoginRedirect:d,nativeAuth:l}),L=e(t);return T.createElement(s,{onLogin:()=>{y()},className:a,btnClassName:p,text:g,disabled:u||L},r)},O=n(b,{ssrStyles:()=>import("../UI/extension/ExtensionLoginButton/extensionLoginButton.styles.js"),clientStyles:()=>(h(),c(f)).default});export{O as a};
2
+ //# sourceMappingURL=chunk-ZYAY43GZ.js.map
@@ -1,3 +1,3 @@
1
- import{a as N}from"./chunk-JZACZBS4.js";import{c as H,d as C}from"./chunk-4SQM6OSS.js";import{a as d}from"./chunk-XYSKXHTD.js";import{a as D}from"./chunk-SRTD4AAB.js";import{a as h}from"./chunk-PV6CEGIJ.js";import{a as T}from"./chunk-ZXZXEDS2.js";import{a as P}from"./chunk-RYTV3XDW.js";import{a as u}from"./chunk-KLFPAZSS.js";import{a as E}from"./chunk-XK4XOW72.js";import{a,i as I,m as f}from"./chunk-HBP5N4FR.js";f();import r,{useEffect as M,useRef as W}from"react";import{faExchange as g}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as B}from"@fortawesome/react-fontawesome";import c from"classnames";P();var V=({topics:t,identifier:p})=>{let o=t.filter(i=>i).join(`
1
+ import{a as N}from"./chunk-JZACZBS4.js";import{c as H,d as C}from"./chunk-4SQM6OSS.js";import{a as d}from"./chunk-PX6QTIFH.js";import{a as D}from"./chunk-RHZQYUFE.js";import{a as h}from"./chunk-PV6CEGIJ.js";import{a as T}from"./chunk-ZXZXEDS2.js";import{a as P}from"./chunk-P2464NGL.js";import{a as u}from"./chunk-KLFPAZSS.js";import{a as E}from"./chunk-XK4XOW72.js";import{a,i as I,m as f}from"./chunk-HBP5N4FR.js";f();import r,{useEffect as M,useRef as W}from"react";import{faExchange as g}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as B}from"@fortawesome/react-fontawesome";import c from"classnames";P();var V=({topics:t,identifier:p})=>{let o=t.filter(i=>i).join(`
2
2
  `);return r.createElement(d,{value:o,identifier:p})},m=({label:t,children:p,globalStyles:o,styles:i})=>r.createElement("div",{className:c(o==null?void 0:o.row,i==null?void 0:i.row)},r.createElement("div",{className:c(o==null?void 0:o.colSm2,i==null?void 0:i.label)},t),r.createElement("div",{className:c(o==null?void 0:o.colSm10,i==null?void 0:i.data)},p)),j=({events:t,id:p,globalStyles:o,styles:i})=>{let e=W(null),x=N();return M(()=>{e.current&&e.current!==null&&(window==null||window.scrollTo({top:e.current.getBoundingClientRect().top-70,behavior:"smooth"}))},[]),r.createElement("div",{className:i==null?void 0:i.events},t.map((n,L)=>{let w=E(n),v=u(n,p);return r.createElement("div",a({key:L,className:i==null?void 0:i.event},v?{ref:e}:{}),r.createElement("div",{className:i==null?void 0:i.icon},r.createElement(B,{icon:g})),r.createElement("div",{className:i==null?void 0:i.content},n.address!=null&&r.createElement(m,{label:"Hash",globalStyles:o,styles:i},r.createElement(D,{text:n.address,className:i==null?void 0:i.hash}),r.createElement(h,{text:n.address,className:i==null?void 0:i.copy})),n.identifier!=null&&r.createElement(m,{label:"Identifier",globalStyles:o,styles:i},n.identifier),n.topics!=null&&n.topics.length>0&&r.createElement(m,{label:"Topics",globalStyles:o,styles:i},r.createElement(V,{topics:n.topics,identifier:n.identifier})),n.data!=null&&r.createElement(m,{label:"Data",globalStyles:o,styles:i},r.createElement(d,a({value:w},v?{initialDecodeMethod:x}:{})))))}))},$=T(j,{ssrStyles:()=>import("../UI/TransactionInfo/components/EventsList/styles.js"),clientStyles:()=>(C(),I(H)).default});export{$ as a};
3
- //# sourceMappingURL=chunk-45ZD6HNG.js.map
3
+ //# sourceMappingURL=chunk-ZZNX53E5.js.map
@@ -1,4 +1,4 @@
1
- "use strict";var QT=Object.create;var bt=Object.defineProperty,ex=Object.defineProperties,ox=Object.getOwnPropertyDescriptor,nx=Object.getOwnPropertyDescriptors,tx=Object.getOwnPropertyNames,lr=Object.getOwnPropertySymbols,rx=Object.getPrototypeOf,Za=Object.prototype.hasOwnProperty,xp=Object.prototype.propertyIsEnumerable;var Tp=(e,o,n)=>o in e?bt(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,g=(e,o)=>{for(var n in o||(o={}))Za.call(o,n)&&Tp(e,n,o[n]);if(lr)for(var n of lr(o))xp.call(o,n)&&Tp(e,n,o[n]);return e},A=(e,o)=>ex(e,nx(o));var ze=(e,o)=>{var n={};for(var r in e)Za.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&lr)for(var r of lr(e))o.indexOf(r)<0&&xp.call(e,r)&&(n[r]=e[r]);return n};var b=(e,o)=>()=>(e&&(o=e(e=0)),o);var I=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),H=(e,o)=>{for(var n in o)bt(e,n,{get:o[n],enumerable:!0})},Sp=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of tx(o))!Za.call(e,i)&&i!==n&&bt(e,i,{get:()=>o[i],enumerable:!(r=ox(o,i))||r.enumerable});return e};var x=(e,o,n)=>(n=e!=null?QT(rx(e)):{},Sp(o||!e||!e.__esModule?bt(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>Sp(bt({},"__esModule",{value:!0}),e);var S=(e,o,n)=>new Promise((r,i)=>{var p=d=>{try{_(n.next(d))}catch(l){i(l)}},m=d=>{try{_(n.throw(d))}catch(l){i(l)}},_=d=>d.done?r(d.value):Promise.resolve(d.value).then(p,m);_((n=n.apply(e,o)).next())});var bp=I(ur=>{"use strict";t();ur.byteLength=ix;ur.toByteArray=sx;ur.fromByteArray=dx;var _o=[],je=[],ax=typeof Uint8Array!="undefined"?Uint8Array:Array,Ja="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Tn=0,yp=Ja.length;Tn<yp;++Tn)_o[Tn]=Ja[Tn],je[Ja.charCodeAt(Tn)]=Tn;var Tn,yp;je["-".charCodeAt(0)]=62;je["_".charCodeAt(0)]=63;function vp(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function ix(e){var o=vp(e),n=o[0],r=o[1];return(n+r)*3/4-r}function cx(e,o,n){return(o+n)*3/4-n}function sx(e){var o,n=vp(e),r=n[0],i=n[1],p=new ax(cx(e,r,i)),m=0,_=i>0?r-4:r,d;for(d=0;d<_;d+=4)o=je[e.charCodeAt(d)]<<18|je[e.charCodeAt(d+1)]<<12|je[e.charCodeAt(d+2)]<<6|je[e.charCodeAt(d+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return i===2&&(o=je[e.charCodeAt(d)]<<2|je[e.charCodeAt(d+1)]>>4,p[m++]=o&255),i===1&&(o=je[e.charCodeAt(d)]<<10|je[e.charCodeAt(d+1)]<<4|je[e.charCodeAt(d+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function px(e){return _o[e>>18&63]+_o[e>>12&63]+_o[e>>6&63]+_o[e&63]}function mx(e,o,n){for(var r,i=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(px(r));return i.join("")}function dx(e){for(var o,n=e.length,r=n%3,i=[],p=16383,m=0,_=n-r;m<_;m+=p)i.push(mx(e,m,m+p>_?_:m+p));return r===1?(o=e[n-1],i.push(_o[o>>2]+_o[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],i.push(_o[o>>10]+_o[o>>4&63]+_o[o<<2&63]+"=")),i.join("")}});var wp=I(Qa=>{t();Qa.read=function(e,o,n,r,i){var p,m,_=i*8-r-1,d=(1<<_)-1,l=d>>1,u=-7,f=n?i-1:0,h=n?-1:1,v=e[o+f];for(f+=h,p=v&(1<<-u)-1,v>>=-u,u+=_;u>0;p=p*256+e[o+f],f+=h,u-=8);for(m=p&(1<<-u)-1,p>>=-u,u+=r;u>0;m=m*256+e[o+f],f+=h,u-=8);if(p===0)p=1-l;else{if(p===d)return m?NaN:(v?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-l}return(v?-1:1)*m*Math.pow(2,p-r)};Qa.write=function(e,o,n,r,i,p){var m,_,d,l=p*8-i-1,u=(1<<l)-1,f=u>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=r?0:p-1,T=r?1:-1,C=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,m=u):(m=Math.floor(Math.log(o)/Math.LN2),o*(d=Math.pow(2,-m))<1&&(m--,d*=2),m+f>=1?o+=h/d:o+=h*Math.pow(2,1-f),o*d>=2&&(m++,d/=2),m+f>=u?(_=0,m=u):m+f>=1?(_=(o*d-1)*Math.pow(2,i),m=m+f):(_=o*Math.pow(2,f-1)*Math.pow(2,i),m=0));i>=8;e[n+v]=_&255,v+=T,_/=256,i-=8);for(m=m<<i|_,l+=i;l>0;e[n+v]=m&255,v+=T,m/=256,l-=8);e[n+v-T]|=C*128}});var Op=I(jn=>{"use strict";t();var ei=bp(),zn=wp(),Ap=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;jn.Buffer=y;jn.SlowBuffer=hx;jn.INSPECT_MAX_BYTES=50;var fr=2147483647;jn.kMaxLength=fr;y.TYPED_ARRAY_SUPPORT=_x();!y.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 _x(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(!!y.isBuffer(this))return this.buffer}});Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(!!y.isBuffer(this))return this.byteOffset}});function ko(e){if(e>fr)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,y.prototype),o}function y(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ri(e)}return Dp(e,o,n)}y.poolSize=8192;function Dp(e,o,n){if(typeof e=="string")return ux(e,o);if(ArrayBuffer.isView(e))return fx(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(lo(e,ArrayBuffer)||e&&lo(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(lo(e,SharedArrayBuffer)||e&&lo(e.buffer,SharedArrayBuffer)))return ni(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return y.from(r,o,n);var i=gx(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return y.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}y.from=function(e,o,n){return Dp(e,o,n)};Object.setPrototypeOf(y.prototype,Uint8Array.prototype);Object.setPrototypeOf(y,Uint8Array);function Cp(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 lx(e,o,n){return Cp(e),e<=0?ko(e):o!==void 0?typeof n=="string"?ko(e).fill(o,n):ko(e).fill(o):ko(e)}y.alloc=function(e,o,n){return lx(e,o,n)};function ri(e){return Cp(e),ko(e<0?0:ai(e)|0)}y.allocUnsafe=function(e){return ri(e)};y.allocUnsafeSlow=function(e){return ri(e)};function ux(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!y.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Np(e,o)|0,r=ko(n),i=r.write(e,o);return i!==n&&(r=r.slice(0,i)),r}function oi(e){for(var o=e.length<0?0:ai(e.length)|0,n=ko(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function fx(e){if(lo(e,Uint8Array)){var o=new Uint8Array(e);return ni(o.buffer,o.byteOffset,o.byteLength)}return oi(e)}function ni(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,y.prototype),r}function gx(e){if(y.isBuffer(e)){var o=ai(e.length)|0,n=ko(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||ii(e.length)?ko(0):oi(e);if(e.type==="Buffer"&&Array.isArray(e.data))return oi(e.data)}function ai(e){if(e>=fr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+fr.toString(16)+" bytes");return e|0}function hx(e){return+e!=e&&(e=0),y.alloc(+e)}y.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==y.prototype};y.compare=function(o,n){if(lo(o,Uint8Array)&&(o=y.from(o,o.offset,o.byteLength)),lo(n,Uint8Array)&&(n=y.from(n,n.offset,n.byteLength)),!y.isBuffer(o)||!y.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,i=n.length,p=0,m=Math.min(r,i);p<m;++p)if(o[p]!==n[p]){r=o[p],i=n[p];break}return r<i?-1:i<r?1:0};y.isEncoding=function(o){switch(String(o).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}};y.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return y.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var i=y.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var m=o[r];if(lo(m,Uint8Array))p+m.length>i.length?y.from(m).copy(i,p):Uint8Array.prototype.set.call(i,m,p);else if(y.isBuffer(m))m.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return i};function Np(e,o){if(y.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||lo(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 n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var i=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ti(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Rp(e).length;default:if(i)return r?-1:ti(e).length;o=(""+o).toLowerCase(),i=!0}}y.byteLength=Np;function Tx(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Dx(this,o,n);case"utf8":case"utf-8":return Pp(this,o,n);case"ascii":return Ix(this,o,n);case"latin1":case"binary":return kx(this,o,n);case"base64":return wx(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Cx(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}y.prototype._isBuffer=!0;function xn(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}y.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)xn(this,n,n+1);return this};y.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)xn(this,n,n+3),xn(this,n+1,n+2);return this};y.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)xn(this,n,n+7),xn(this,n+1,n+6),xn(this,n+2,n+5),xn(this,n+3,n+4);return this};y.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Pp(this,0,o):Tx.apply(this,arguments)};y.prototype.toLocaleString=y.prototype.toString;y.prototype.equals=function(o){if(!y.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:y.compare(this,o)===0};y.prototype.inspect=function(){var o="",n=jn.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Ap&&(y.prototype[Ap]=y.prototype.inspect);y.prototype.compare=function(o,n,r,i,p){if(lo(o,Uint8Array)&&(o=y.from(o,o.offset,o.byteLength)),!y.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),n<0||r>o.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&n>=r)return 0;if(i>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,i>>>=0,p>>>=0,this===o)return 0;for(var m=p-i,_=r-n,d=Math.min(m,_),l=this.slice(i,p),u=o.slice(n,r),f=0;f<d;++f)if(l[f]!==u[f]){m=l[f],_=u[f];break}return m<_?-1:_<m?1:0};function Lp(e,o,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,ii(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof o=="string"&&(o=y.from(o,r)),y.isBuffer(o))return o.length===0?-1:Ip(e,o,n,r,i);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Ip(e,[o],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Ip(e,o,n,r,i){var p=1,m=e.length,_=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,_/=2,n/=2}function d(v,T){return p===1?v[T]:v.readUInt16BE(T*p)}var l;if(i){var u=-1;for(l=n;l<m;l++)if(d(e,l)===d(o,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===_)return u*p}else u!==-1&&(l-=l-u),u=-1}else for(n+_>m&&(n=m-_),l=n;l>=0;l--){for(var f=!0,h=0;h<_;h++)if(d(e,l+h)!==d(o,h)){f=!1;break}if(f)return l}return-1}y.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};y.prototype.indexOf=function(o,n,r){return Lp(this,o,n,r,!0)};y.prototype.lastIndexOf=function(o,n,r){return Lp(this,o,n,r,!1)};function xx(e,o,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var _=parseInt(o.substr(m*2,2),16);if(ii(_))return m;e[n+m]=_}return m}function Sx(e,o,n,r){return gr(ti(o,e.length-n),e,n,r)}function yx(e,o,n,r){return gr(Px(o),e,n,r)}function vx(e,o,n,r){return gr(Rp(o),e,n,r)}function bx(e,o,n,r){return gr(Ex(o,e.length-n),e,n,r)}y.prototype.write=function(o,n,r,i){if(n===void 0)i="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")i=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,i===void 0&&(i="utf8")):(i=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var m=!1;;)switch(i){case"hex":return xx(this,o,n,r);case"utf8":case"utf-8":return Sx(this,o,n,r);case"ascii":case"latin1":case"binary":return yx(this,o,n,r);case"base64":return vx(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bx(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),m=!0}};y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wx(e,o,n){return o===0&&n===e.length?ei.fromByteArray(e):ei.fromByteArray(e.slice(o,n))}function Pp(e,o,n){n=Math.min(e.length,n);for(var r=[],i=o;i<n;){var p=e[i],m=null,_=p>239?4:p>223?3:p>191?2:1;if(i+_<=n){var d,l,u,f;switch(_){case 1:p<128&&(m=p);break;case 2:d=e[i+1],(d&192)===128&&(f=(p&31)<<6|d&63,f>127&&(m=f));break;case 3:d=e[i+1],l=e[i+2],(d&192)===128&&(l&192)===128&&(f=(p&15)<<12|(d&63)<<6|l&63,f>2047&&(f<55296||f>57343)&&(m=f));break;case 4:d=e[i+1],l=e[i+2],u=e[i+3],(d&192)===128&&(l&192)===128&&(u&192)===128&&(f=(p&15)<<18|(d&63)<<12|(l&63)<<6|u&63,f>65535&&f<1114112&&(m=f))}}m===null?(m=65533,_=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),i+=_}return Ax(r)}var kp=4096;function Ax(e){var o=e.length;if(o<=kp)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=kp));return n}function Ix(e,o,n){var r="";n=Math.min(e.length,n);for(var i=o;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function kx(e,o,n){var r="";n=Math.min(e.length,n);for(var i=o;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Dx(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var i="",p=o;p<n;++p)i+=Mx[e[p]];return i}function Cx(e,o,n){for(var r=e.slice(o,n),i="",p=0;p<r.length-1;p+=2)i+=String.fromCharCode(r[p]+r[p+1]*256);return i}y.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var i=this.subarray(o,n);return Object.setPrototypeOf(i,y.prototype),i};function he(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=this[o],p=1,m=0;++m<n&&(p*=256);)i+=this[o+m]*p;return i};y.prototype.readUintBE=y.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=this[o+--n],p=1;n>0&&(p*=256);)i+=this[o+--n]*p;return i};y.prototype.readUint8=y.prototype.readUInt8=function(o,n){return o=o>>>0,n||he(o,1,this.length),this[o]};y.prototype.readUint16LE=y.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||he(o,2,this.length),this[o]|this[o+1]<<8};y.prototype.readUint16BE=y.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||he(o,2,this.length),this[o]<<8|this[o+1]};y.prototype.readUint32LE=y.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||he(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};y.prototype.readUint32BE=y.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||he(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};y.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=this[o],p=1,m=0;++m<n&&(p*=256);)i+=this[o+m]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*n)),i};y.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=n,p=1,m=this[o+--i];i>0&&(p*=256);)m+=this[o+--i]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*n)),m};y.prototype.readInt8=function(o,n){return o=o>>>0,n||he(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};y.prototype.readInt16LE=function(o,n){o=o>>>0,n||he(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};y.prototype.readInt16BE=function(o,n){o=o>>>0,n||he(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};y.prototype.readInt32LE=function(o,n){return o=o>>>0,n||he(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};y.prototype.readInt32BE=function(o,n){return o=o>>>0,n||he(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};y.prototype.readFloatLE=function(o,n){return o=o>>>0,n||he(o,4,this.length),zn.read(this,o,!0,23,4)};y.prototype.readFloatBE=function(o,n){return o=o>>>0,n||he(o,4,this.length),zn.read(this,o,!1,23,4)};y.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||he(o,8,this.length),zn.read(this,o,!0,52,8)};y.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||he(o,8,this.length),zn.read(this,o,!1,52,8)};function Ee(e,o,n,r,i,p){if(!y.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>i||o<p)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(o,n,r,i){if(o=+o,n=n>>>0,r=r>>>0,!i){var p=Math.pow(2,8*r)-1;Ee(this,o,n,r,p,0)}var m=1,_=0;for(this[n]=o&255;++_<r&&(m*=256);)this[n+_]=o/m&255;return n+r};y.prototype.writeUintBE=y.prototype.writeUIntBE=function(o,n,r,i){if(o=+o,n=n>>>0,r=r>>>0,!i){var p=Math.pow(2,8*r)-1;Ee(this,o,n,r,p,0)}var m=r-1,_=1;for(this[n+m]=o&255;--m>=0&&(_*=256);)this[n+m]=o/_&255;return n+r};y.prototype.writeUint8=y.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,1,255,0),this[n]=o&255,n+1};y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};y.prototype.writeIntLE=function(o,n,r,i){if(o=+o,n=n>>>0,!i){var p=Math.pow(2,8*r-1);Ee(this,o,n,r,p-1,-p)}var m=0,_=1,d=0;for(this[n]=o&255;++m<r&&(_*=256);)o<0&&d===0&&this[n+m-1]!==0&&(d=1),this[n+m]=(o/_>>0)-d&255;return n+r};y.prototype.writeIntBE=function(o,n,r,i){if(o=+o,n=n>>>0,!i){var p=Math.pow(2,8*r-1);Ee(this,o,n,r,p-1,-p)}var m=r-1,_=1,d=0;for(this[n+m]=o&255;--m>=0&&(_*=256);)o<0&&d===0&&this[n+m+1]!==0&&(d=1),this[n+m]=(o/_>>0)-d&255;return n+r};y.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};y.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};y.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};y.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};y.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Ep(e,o,n,r,i,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Mp(e,o,n,r,i){return o=+o,n=n>>>0,i||Ep(e,o,n,4,34028234663852886e22,-34028234663852886e22),zn.write(e,o,n,r,23,4),n+4}y.prototype.writeFloatLE=function(o,n,r){return Mp(this,o,n,!0,r)};y.prototype.writeFloatBE=function(o,n,r){return Mp(this,o,n,!1,r)};function Wp(e,o,n,r,i){return o=+o,n=n>>>0,i||Ep(e,o,n,8,17976931348623157e292,-17976931348623157e292),zn.write(e,o,n,r,52,8),n+8}y.prototype.writeDoubleLE=function(o,n,r){return Wp(this,o,n,!0,r)};y.prototype.writeDoubleBE=function(o,n,r){return Wp(this,o,n,!1,r)};y.prototype.copy=function(o,n,r,i){if(!y.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!i&&i!==0&&(i=this.length),n>=o.length&&(n=o.length),n||(n=0),i>0&&i<r&&(i=r),i===r||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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),o.length-n<i-r&&(i=o.length-n+r);var p=i-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,i):Uint8Array.prototype.set.call(o,this.subarray(r,i),n),p};y.prototype.fill=function(o,n,r,i){if(typeof o=="string"){if(typeof n=="string"?(i=n,n=0,r=this.length):typeof r=="string"&&(i=r,r=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!y.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(o.length===1){var p=o.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=n;m<r;++m)this[m]=o;else{var _=y.isBuffer(o)?o:y.from(o,i),d=_.length;if(d===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=_[m%d]}return this};var Nx=/[^+/0-9A-Za-z-_]/g;function Lx(e){if(e=e.split("=")[0],e=e.trim().replace(Nx,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ti(e,o){o=o||1/0;for(var n,r=e.length,i=null,p=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!i){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}i=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(o-=3)>-1&&p.push(239,191,189);if(i=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Px(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Ex(e,o){for(var n,r,i,p=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,i=n%256,p.push(i),p.push(r);return p}function Rp(e){return ei.toByteArray(Lx(e))}function gr(e,o,n,r){for(var i=0;i<r&&!(i+n>=o.length||i>=e.length);++i)o[i+n]=e[i];return i}function lo(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function ii(e){return e!==e}var Mx=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,i=0;i<16;++i)o[r+i]=e[n]+e[i];return o}()});var Hp=I((wk,Up)=>{t();var se=Up.exports={},uo,fo;function ci(){throw new Error("setTimeout has not been defined")}function si(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?uo=setTimeout:uo=ci}catch(e){uo=ci}try{typeof clearTimeout=="function"?fo=clearTimeout:fo=si}catch(e){fo=si}})();function Fp(e){if(uo===setTimeout)return setTimeout(e,0);if((uo===ci||!uo)&&setTimeout)return uo=setTimeout,setTimeout(e,0);try{return uo(e,0)}catch(o){try{return uo.call(null,e,0)}catch(n){return uo.call(this,e,0)}}}function Wx(e){if(fo===clearTimeout)return clearTimeout(e);if((fo===si||!fo)&&clearTimeout)return fo=clearTimeout,clearTimeout(e);try{return fo(e)}catch(o){try{return fo.call(null,e)}catch(n){return fo.call(this,e)}}}var Do=[],Kn=!1,Sn,hr=-1;function Rx(){!Kn||!Sn||(Kn=!1,Sn.length?Do=Sn.concat(Do):hr=-1,Do.length&&Bp())}function Bp(){if(!Kn){var e=Fp(Rx);Kn=!0;for(var o=Do.length;o;){for(Sn=Do,Do=[];++hr<o;)Sn&&Sn[hr].run();hr=-1,o=Do.length}Sn=null,Kn=!1,Wx(e)}}se.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];Do.push(new Gp(e,o)),Do.length===1&&!Kn&&Fp(Bp)};function Gp(e,o){this.fun=e,this.array=o}Gp.prototype.run=function(){this.fun.apply(null,this.array)};se.title="browser";se.browser=!0;se.env={};se.argv=[];se.version="";se.versions={};function Co(){}se.on=Co;se.addListener=Co;se.once=Co;se.off=Co;se.removeListener=Co;se.removeAllListeners=Co;se.emit=Co;se.prependListener=Co;se.prependOnceListener=Co;se.listeners=function(e){return[]};se.binding=function(e){throw new Error("process.binding is not supported")};se.cwd=function(){return"/"};se.chdir=function(e){throw new Error("process.chdir is not supported")};se.umask=function(){return 0}});var a,s,Ox,c,t=b(()=>{a=x(Op()),s=x(Hp()),Ox=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object),c=Ox});var pi=b(()=>{"use strict";t()});var Vp,No,$p,mi,qp,zp,wt,go=b(()=>{"use strict";t();Vp="error when signing",No="Transaction canceled",$p="error signing transaction",mi="provider not initialized",qp="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",zp="Undefined transaction status",wt="You cannot sign transactions from a different account"});var jp=b(()=>{"use strict";t()});var di,Kp=b(()=>{"use strict";t();di=(r=>(r.SetGuardian="SetGuardian",r.GuardAccount="GuardAccount",r.UnGuardAccount="UnGuardAccount",r))(di||{})});var _i,li,ui,fi,At,gi,hi=b(()=>{"use strict";t();_i="1.0.8",li="1.0.11",ui="1.0.15",fi="1.0.17",At="1.0.22",gi="1.0.23"});var Ti,xi=b(()=>{"use strict";t();Ti={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var Xp=b(()=>{"use strict";t()});var Si,yi=b(()=>{"use strict";t();Si=(i=>(i.signature="signature",i.sessionId="sessionId",i.status="status",i.address="address",i))(Si||{})});var Yp=b(()=>{"use strict";t()});var Zp=b(()=>{"use strict";t()});var Ie,Xn,Xo=b(()=>{"use strict";t();Ie=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Xn=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Jp,Rk,Qp,Ok,Y=b(()=>{"use strict";t();Xo();Jp=(n=>(n.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",n.reloginRequest="RELOGIN_REQUEST",n))(Jp||{}),Rk=g(g({},Xn.WindowProviderRequestEnums),Jp),Qp=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Qp||{}),Ok=g(g({},Xn.WindowProviderResponseEnums),Qp)});var em=b(()=>{"use strict";t()});var om=b(()=>{"use strict";t()});var Lo,Me=b(()=>{"use strict";t();Lo=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(Lo||{})});var nm=b(()=>{"use strict";t()});var tm=b(()=>{"use strict";t()});var rm=b(()=>{"use strict";t()});var Z=b(()=>{"use strict";t();yi();Yp();Zp();Y();em();om();Me();nm();tm();rm()});var yn,am,eD,im,oD,cm,nD,tD,sm,Tr,vn=b(()=>{"use strict";t();Z();yn={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:am,egldLabel:eD}=yn["devnet"],{chainId:im,egldLabel:oD}=yn["testnet"],{chainId:cm,egldLabel:nD}=yn["mainnet"],tD={["devnet"]:am,["testnet"]:im,["mainnet"]:cm},sm={[am]:"devnet",[im]:"testnet",[cm]:"mainnet"},Tr=0});var pm,It=b(()=>{"use strict";t();pm="cancel-transaction-toast"});var ho,mm=b(()=>{"use strict";t();ho=require("@multiversx/sdk-web-wallet-provider")});var fe,Yo=b(()=>{"use strict";t();fe=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var dm,_m,vi,pD,mD,bi=b(()=>{"use strict";t();Yo();vi=String((_m=(dm=fe.safeWindow)==null?void 0:dm.navigator)==null?void 0:_m.userAgent),pD=/^((?!chrome|android).)*safari/i.test(vi),mD=/firefox/i.test(vi)&&/windows/i.test(vi)});var wi,xr,kt,Ai,Zo,Ke,bn,lm,um,fm,To,Sr,gm,yr,hm,Tm,xm,Xe,Sm,ym,M=b(()=>{"use strict";t();pi();go();jp();Kp();hi();xi();Xp();vn();It();mm();bi();wi=.01,xr=1500,kt=5e4,Ai=5e4,Zo=1e9,Ke=18,bn=4,lm=1,um=1,fm="/dapp/init",To="signSession",Sr="sdk-dapp-version",gm="4.6.0",yr="logout",hm="login",Tm="cancelSignTx",xm="N/A",Xe="0",Sm="...",ym="EGLD-000000"});var Dt,vr=b(()=>{"use strict";t();Dt=()=>Date.now()/1e3});var vm=b(()=>{"use strict";t()});var bm=b(()=>{"use strict";t()});var Ii=b(()=>{"use strict";t();vr();vm();bm()});var ki={};H(ki,{clear:()=>Ux,getItem:()=>Bx,localStorageKeys:()=>Ye,removeItem:()=>Gx,setItem:()=>Fx});var Ye,br,Fx,Bx,Gx,Ux,wn=b(()=>{"use strict";t();Ii();Ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},br=typeof localStorage!="undefined",Fx=({key:e,data:o,expires:n})=>{!br||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Bx=e=>{if(!br)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Dt()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},Gx=e=>{!br||localStorage.removeItem(String(e))},Ux=()=>{!br||localStorage.clear()}});var Di={};H(Di,{clear:()=>km,getItem:()=>Am,removeItem:()=>Im,sessionStorageKeys:()=>Hx,setItem:()=>wm,storage:()=>Vx});var Hx,wm,Am,Im,km,Vx,Dm=b(()=>{"use strict";t();Hx={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},wm=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Am=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},Im=e=>sessionStorage.removeItem(String(e)),km=()=>sessionStorage.clear(),Vx={setItem:wm,getItem:Am,removeItem:Im,clear:km}});var no,An=b(()=>{"use strict";t();wn();Dm();no={session:Di,local:ki}});var Ci,ee,We,ae=b(()=>{"use strict";t();Ci=require("@reduxjs/toolkit");M();ee=(0,Ci.createAction)(yr),We=(0,Ci.createAction)(hm,e=>({payload:e}))});var Li,Cm,Nm,Ze,Ni,Lm,to,Jo,Pi,UD,$x,qx,HD,VD,$D,zx,jx,wr,Ar=b(()=>{"use strict";t();Li=require("@multiversx/sdk-core"),Cm=require("@reduxjs/toolkit"),Nm=require("redux-persist");M();An();wn();ae();Ze={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Xe},Ni={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ze},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Lm=(0,Cm.createSlice)({name:"accountInfoSlice",initialState:Ni,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=n?new Li.Address(n).toHex():""},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:Ze},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(ee,()=>(no.local.removeItem(Ye.loginExpiresAt),Ni)),e.addCase(We,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new Li.Address(r).toHex()}),e.addCase(Nm.REHYDRATE,(o,n)=>{var l;if(!((l=n.payload)!=null&&l.account))return;let{account:r}=n.payload,{address:i,shard:p,accounts:m,publicKey:_}=r;o.address=i,o.shard=p;let d=m&&i in m;o.accounts=d?m:Ni.accounts,o.publicKey=_})}}),{setAccount:to,setAddress:Jo,setAccountNonce:Pi,setAccountShard:UD,setLedgerAccount:$x,updateLedgerAccount:qx,setWalletConnectAccount:HD,setIsAccountLoading:VD,setAccountLoadingError:$D,setWebsocketEvent:zx,setWebsocketBatchEvent:jx}=Lm.actions,wr=Lm.reducer});function Ct(){return new Date().setHours(new Date().getHours()+24)}function Nt(e){no.local.setItem({key:Ye.loginExpiresAt,data:e,expires:e})}var Ei=b(()=>{"use strict";t();An();wn()});var Em,Pm,Mm,eC,Kx,Xx,Mi,oC,Yx,Wm,nC,tC,rC,Ir,kr=b(()=>{"use strict";t();Em=require("@reduxjs/toolkit");Ei();Y();ae();Pm={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Mm=(0,Em.createSlice)({name:"loginInfoSlice",initialState:Pm,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(ee,()=>Pm),e.addCase(We,(o,n)=>{o.isLoginSessionInvalid=!1,o.loginMethod=n.payload.loginMethod,o.iframeLoginType=n.payload.iframeLoginType,Nt(Ct())})}}),{setLoginMethod:eC,setWalletConnectLogin:Kx,setLedgerLogin:Xx,setTokenLogin:Mi,setTokenLoginSignature:oC,setWalletLogin:Yx,invalidateLoginSession:Wm,setLogoutRoute:nC,setIsWalletConnectV2Initialized:tC,setWebviewLogin:rC}=Mm.actions,Ir=Mm.reducer});var Om,Rm,Fm,sC,Zx,pC,Jx,Dr,Cr=b(()=>{"use strict";t();Om=require("@reduxjs/toolkit");ae();Rm={},Fm=(0,Om.createSlice)({name:"modalsSlice",initialState:Rm,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(ee,()=>Rm)}}),{setTxSubmittedModal:sC,setNotificationModal:Zx,clearTxSubmittedModal:pC,clearNotificationModal:Jx}=Fm.actions,Dr=Fm.reducer});var ro,In=b(()=>{"use strict";t();ro=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var q,xe=b(()=>{"use strict";t();In();q=()=>{if(!ro())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:n,origin:r,href:i,search:p}}=window;return{pathname:o,hash:n,origin:r,href:i,search:p}}});var Yn,Bm=b(()=>{"use strict";t();xe();Yn=(e="")=>{let o=q(),n=e.startsWith("http")||e.startsWith("www.");return!o.origin||e.startsWith(o.origin)||n?e:`${o.origin}/${e.replace("/","")}`}});var Po,Gm=b(()=>{"use strict";t();Se();Po=()=>{let{pathname:e,search:o,hash:n}=q();return`${e!=null?e:""}${o!=null?o:""}${n!=null?n:""}`}});var Um,Hm=b(()=>{"use strict";t();Yo();Um=e=>{if(!fe.safeWindow.location)return;if(!new URL(fe.safeWindow.location.href).protocol.startsWith("http"))return fe.safeWindow.location.reload();fe.safeWindow.location.assign(e)}});var Se=b(()=>{"use strict";t();Bm();Gm();xe();Hm()});var Vm,$m,Lt,Pt=b(()=>{"use strict";t();Se();Vm=!1,$m=(e=!0)=>{Vm=e},Lt=({timeout:e=0,url:o})=>{Vm||setTimeout(()=>{if(!!window)return Um(o)},e)}});var qm=b(()=>{"use strict";t();Pt()});function zm(e){return e[Math.floor(Math.random()*e.length)]}var jm=b(()=>{"use strict";t()});function Wi(e){let o=null;if((e==null?void 0:e.statusCode)in Ti){let n=e==null?void 0:e.statusCode,{message:r}=Ti[n];o=oS.includes(n)?Km:r}return{errorMessage:o,defaultErrorMessage:Km}}var Km,Qx,eS,oS,Ri=b(()=>{"use strict";t();xi();Km="Check if the MultiversX app is open on Ledger",Qx=28161,eS=28160,oS=[Qx,eS]});var Eo=b(()=>{"use strict";t();qm();jm();Ri()});var Xm,Ym,Zm,Oi,tS,Jm,GC,UC,Qm,Nr,Lr=b(()=>{"use strict";t();Xm=require("@reduxjs/toolkit"),Ym=x(require("lodash.omit")),Zm=require("redux-persist");It();ae();Eo();Oi={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},tS={network:Oi},Jm=(0,Xm.createSlice)({name:"appConfig",initialState:tS,reducers:{initializeNetworkConfig:(e,o)=>{let n=zm(o.payload.walletConnectV2RelayAddresses),r=(0,Ym.default)(o.payload,"walletConnectV2RelayAddresses");e.network=A(g(g({},e.network),r),{walletConnectV2RelayAddress:n})},updateNetworkConfig:(e,o)=>{e.network=g(g({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(ee,o=>{o.network.customWalletAddress=void 0}),e.addCase(Zm.REHYDRATE,(o,n)=>{var i,p;if(!((p=(i=n.payload)==null?void 0:i.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:r}}=n.payload;o.network.customWalletAddress=r})}}),{initializeNetworkConfig:GC,updateNetworkConfig:UC,setCustomWalletAddress:Qm}=Jm.actions,Nr=Jm.reducer});var ed,Fi,od,jC,KC,XC,Pr,Er=b(()=>{"use strict";t();ed=require("@reduxjs/toolkit");Z();ae();Fi={isSigning:!1,signedSessions:{}},od=(0,ed.createSlice)({name:"signedMessageInfoSliceState",initialState:Fi,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:i}=o.payload;i&&(e.errorMessage=i),e.isSigning=r.status==="pending",e.signedSessions[n]=g(g({},e.signedSessions[n]),r)},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>Fi},extraReducers:e=>{e.addCase(ee,()=>Fi)}}),{setSignSession:jC,clearSignedMessageInfo:KC,setSignSessionState:XC}=od.actions,Pr=od.reducer});var td,rd,nd,ad,Bi,rS,nN,aS,Mr,Wr=b(()=>{"use strict";t();td=require("@reduxjs/toolkit"),rd=require("redux-persist");Z();vr();ae();nd={customToasts:[],transactionToasts:[]},ad=(0,td.createSlice)({name:"toastsSlice",initialState:nd,reducers:{addCustomToast:(e,o)=>{let n=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,r=e.customToasts.findIndex(i=>i.toastId===n);if(r!==-1){e.customToasts[r]=A(g(g({},e.customToasts[r]),o.payload),{type:"custom",toastId:n});return}e.customToasts.push(A(g({},o.payload),{type:"custom",toastId:n}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Dt(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)}},extraReducers:e=>{e.addCase(ee,()=>nd),e.addCase(rd.REHYDRATE,(o,n)=>{var i,p;let r=(p=(i=n.customToasts)==null?void 0:i.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Bi,removeCustomToast:rS,addTransactionToast:nN,removeTransactionToast:aS}=ad.actions,Mr=ad.reducer});var id,Ui,Hi,Vi,iS,Gi,cd,iN,cS,Zn,Rr,Or=b(()=>{"use strict";t();id=require("@reduxjs/toolkit");ae();Ui="Transaction failed",Hi="Transaction successful",Vi="Processing transaction",iS="Transaction submitted",Gi={},cd=(0,id.createSlice)({name:"transactionsInfo",initialState:Gi,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||Ui,successMessage:(r==null?void 0:r.successMessage)||Hi,processingMessage:(r==null?void 0:r.processingMessage)||Vi,submittedMessage:(r==null?void 0:r.submittedMessage)||iS,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Gi},extraReducers:e=>{e.addCase(ee,()=>Gi)}}),{clearTransactionsInfo:iN,setTransactionsDisplayInfo:cS,clearTransactionsInfoForSessionId:Zn}=cd.actions,Rr=cd.reducer});function Qn(e){return e!=null&&(hS(e)||vS(e))}function et(e){return e!=null&&(TS(e)||bS(e))}function ot(e){return e!=null&&(xS(e)||wS(e))}function sd(e){return e!=null&&(SS(e)||AS(e))}function $i(e){return e!=null&&yS(e)}function hS(e){return e!=null&&sS.includes(e)}function TS(e){return e!=null&&pS.includes(e)}function xS(e){return e!=null&&mS.includes(e)}function SS(e){return e!=null&&dS.includes(e)}function yS(e){return e!=null&&_S.includes(e)}function vS(e){return e!=null&&lS.includes(e)}function bS(e){return e!=null&&uS.includes(e)}function wS(e){return e!=null&&fS.includes(e)}function AS(e){return e!=null&&gS.includes(e)}var sS,pS,mS,dS,_S,lS,uS,fS,gS,nt=b(()=>{"use strict";t();Y();sS=["sent"],pS=["success"],mS=["fail","cancelled","timedOut"],dS=["invalid"],_S=["timedOut"],lS=["pending"],uS=["success"],fS=["fail","invalid"],gS=["not executed"]});var pd,md,Et,IS,dd,_d,ld,kS,en,DS,CS,fN,ud,Mo,xo,gN,Fr,Br=b(()=>{"use strict";t();pd=require("@reduxjs/toolkit"),md=require("redux-persist");Y();nt();ae();Et={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},IS={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},dd=(0,pd.createSlice)({name:"transactionsSlice",initialState:Et,reducers:{moveTransactionsToSignedState:(e,o)=>{var d,l;let{sessionId:n,transactions:r,errorMessage:i,status:p,redirectRoute:m,customTransactionInformation:_}=o.payload;e.customTransactionInformationForSessionId[n]=g(g(g({},IS),((d=e.signedTransactions[n])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[n]||{}),e.signedTransactions[n]={transactions:r,status:p,errorMessage:i,redirectRoute:m,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[n]),_!=null?_:{})},((l=e==null?void 0:e.transactionsToSign)==null?void 0:l.sessionId)===n&&(e.transactionsToSign=Et.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:i,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,i!=null&&(e.signedTransactions[n].errorMessage=i),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,u,f,h,v,T,C,w;let{sessionId:n,status:r,errorMessage:i,transactionHash:p,serverTransaction:m,inTransit:_}=o.payload,d=(u=(l=e.signedTransactions)==null?void 0:l[n])==null?void 0:u.transactions;if(d!=null){e.signedTransactions[n].transactions=d.map(E=>E.hash===p?A(g(g({},m!=null?m:{}),E),{status:r,errorMessage:i,inTransit:_}):E);let L=(h=(f=e.signedTransactions[n])==null?void 0:f.transactions)==null?void 0:h.every(E=>et(E.status)),W=(T=(v=e.signedTransactions[n])==null?void 0:v.transactions)==null?void 0:T.some(E=>ot(E.status)),F=(w=(C=e.signedTransactions[n])==null?void 0:C.transactions)==null?void 0:w.every(E=>sd(E.status));L&&(e.signedTransactions[n].status="success"),W&&(e.signedTransactions[n].status="fail"),F&&(e.signedTransactions[n].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Et.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Et.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:n,customTransactionInformationOverrides:r}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].customTransactionInformation=g(g({},e.signedTransactions[n].customTransactionInformation),r))}},extraReducers:e=>{e.addCase(ee,()=>Et),e.addCase(md.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:i}=n.payload.transactions,p=Object.entries(r).reduce((_,[d,l])=>{let u=new Date(d),f=new Date;return f.setHours(f.getHours()+5),f-u>0||(_[d]=l),_},{});i!=null&&(o.customTransactionInformationForSessionId=i),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:_d,updateSignedTransactions:ld,setTransactionsToSign:kS,clearAllTransactionsToSign:en,clearAllSignedTransactions:DS,clearSignedTransaction:CS,clearTransactionToSign:fN,setSignTransactionsError:ud,setSignTransactionsCancelMessage:Mo,moveTransactionsToSignedState:xo,updateSignedTransactionsCustomTransactionInformation:gN}=dd.actions,Fr=dd.reducer});var fd,qi,gd,SN,yN,NS,vN,Gr,Ur=b(()=>{"use strict";t();fd=require("@reduxjs/toolkit");ae();qi={},gd=(0,fd.createSlice)({name:"batchTransactionsSlice",initialState:qi,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>qi},extraReducers:e=>{e.addCase(ee,()=>qi)}}),{setBatchTransactions:SN,updateBatchTransactions:yN,clearBatchTransactions:NS,clearAllBatchTransactions:vN}=gd.actions,Gr=gd.reducer});var Td,hd,xd,IN,Sd,zi=b(()=>{"use strict";t();Td=require("@reduxjs/toolkit");ae();hd={},xd=(0,Td.createSlice)({name:"dappConfigSlice",initialState:hd,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(ee,()=>hd)}}),{setDappConfig:IN}=xd.actions,Sd=xd.reducer});var V=b(()=>{"use strict";t();Ar();kr();Cr();Lr();Er();Wr();Or();Br();Ur();zi()});var ji=b(()=>{"use strict";t()});var bd,MS,WS,Mt,Ki=b(()=>{"use strict";t();bd=require("@reduxjs/toolkit");ji();Ar();Ur();zi();kr();Cr();Lr();Er();Wr();Or();Br();MS={["account"]:wr,["dappConfig"]:Sd,["loginInfo"]:Ir,["modals"]:Dr,["networkConfig"]:Nr,["signedMessageInfo"]:Pr,["toasts"]:Mr,["transactionsInfo"]:Rr,["transactions"]:Fr,["batchTransactions"]:Gr},WS=(e={})=>(0,bd.combineReducers)(g(g({},MS),e)),Mt=WS});var kd={};H(kd,{default:()=>ZS,sessionStorageReducers:()=>Xi});function Wo(e,o=[]){return{key:e,version:1,storage:Ad.default,blacklist:o}}var Re,wd,Ad,RS,Wt,OS,FS,BS,GS,US,HS,VS,$S,qS,zS,Id,jS,Xi,KS,XS,YS,ZS,Dd=b(()=>{"use strict";t();Re=require("redux-persist"),wd=x(require("redux-persist/lib/storage")),Ad=x(require("redux-persist/lib/storage/session"));Ki();V();Ar();Ur();kr();Cr();Lr();Er();Wr();Or();Br();ji();RS={persistReducersStorageType:"localStorage"},Wt={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},OS=Wo(Wt["account"]),FS=Wo(Wt["loginInfo"]),BS=Wo(Wt["modals"]),GS=Wo(Wt["networkConfig"]),US={2:e=>A(g({},e),{networkConfig:Oi})};HS=Wo("sdk-dapp-transactionsInfo"),VS=Wo("sdk-dapp-transactions",["transactionsToSign"]),$S=Wo("sdk-dapp-batchTransactions",["batchTransactions"]),qS=Wo("sdk-dapp-toasts"),zS=Wo("sdk-dapp-signedMessageInfo"),Id={key:"sdk-dapp-store",version:2,storage:wd.default,whitelist:Object.keys(Wt),migrate:(0,Re.createMigrate)(US,{debug:!1})},jS=A(g({},Id),{whitelist:[]}),Xi={["toasts"]:(0,Re.persistReducer)(qS,Mr),["transactions"]:(0,Re.persistReducer)(VS,Fr),["transactionsInfo"]:(0,Re.persistReducer)(HS,Rr),["batchTransactions"]:(0,Re.persistReducer)($S,Gr),["signedMessageInfo"]:(0,Re.persistReducer)(zS,Pr)},KS=A(g({},Xi),{["account"]:(0,Re.persistReducer)(OS,wr),["loginInfo"]:(0,Re.persistReducer)(FS,Ir),["modals"]:(0,Re.persistReducer)(BS,Dr),["networkConfig"]:(0,Re.persistReducer)(GS,Nr)}),XS=RS.persistReducersStorageType==="localStorage",YS=XS?(0,Re.persistReducer)(Id,Mt(Xi)):(0,Re.persistReducer)(jS,Mt(KS)),ZS=YS});var Cd={};H(Cd,{default:()=>JS});var JS,Nd=b(()=>{"use strict";t();Ki();JS=Mt()});var Ld={};H(Ld,{default:()=>ey});var Je,QS,ey,Pd=b(()=>{"use strict";t();Je=require("redux-persist"),QS=[Je.FLUSH,Je.REHYDRATE,Je.PAUSE,Je.PERSIST,Je.PURGE,Je.REGISTER],ey=QS});var Wd={};H(Wd,{default:()=>Md});function Md(e){return(0,Ed.persistStore)(e)}var Ed,Rd=b(()=>{"use strict";t();Ed=require("redux-persist")});var Al=I((RB,wl)=>{t();var Sv=typeof c=="object"&&c&&c.Object===Object&&c;wl.exports=Sv});var zt=I((OB,Il)=>{t();var yv=Al(),vv=typeof self=="object"&&self&&self.Object===Object&&self,bv=yv||vv||Function("return this")();Il.exports=bv});var ha=I((FB,kl)=>{t();var wv=zt(),Av=wv.Symbol;kl.exports=Av});var Ll=I((BB,Nl)=>{t();var Dl=ha(),Cl=Object.prototype,Iv=Cl.hasOwnProperty,kv=Cl.toString,jt=Dl?Dl.toStringTag:void 0;function Dv(e){var o=Iv.call(e,jt),n=e[jt];try{e[jt]=void 0;var r=!0}catch(p){}var i=kv.call(e);return r&&(o?e[jt]=n:delete e[jt]),i}Nl.exports=Dv});var El=I((GB,Pl)=>{t();var Cv=Object.prototype,Nv=Cv.toString;function Lv(e){return Nv.call(e)}Pl.exports=Lv});var Ta=I((UB,Rl)=>{t();var Ml=ha(),Pv=Ll(),Ev=El(),Mv="[object Null]",Wv="[object Undefined]",Wl=Ml?Ml.toStringTag:void 0;function Rv(e){return e==null?e===void 0?Wv:Mv:Wl&&Wl in Object(e)?Pv(e):Ev(e)}Rl.exports=Rv});var Cc=I((HB,Ol)=>{t();var Ov=Array.isArray;Ol.exports=Ov});var Nc=I((VB,Fl)=>{t();function Fv(e){return e!=null&&typeof e=="object"}Fl.exports=Fv});var Gl=I(($B,Bl)=>{t();var Bv=Ta(),Gv=Cc(),Uv=Nc(),Hv="[object String]";function Vv(e){return typeof e=="string"||!Gv(e)&&Uv(e)&&Bv(e)==Hv}Bl.exports=Vv});var Ec={};H(Ec,{css:()=>jl,default:()=>Zv});var jl,Zv,Mc=b(()=>{"use strict";t();jl=`.dapp-core-component__main__link-style {
1
+ "use strict";var QT=Object.create;var bt=Object.defineProperty,ex=Object.defineProperties,ox=Object.getOwnPropertyDescriptor,nx=Object.getOwnPropertyDescriptors,tx=Object.getOwnPropertyNames,lr=Object.getOwnPropertySymbols,rx=Object.getPrototypeOf,Za=Object.prototype.hasOwnProperty,xp=Object.prototype.propertyIsEnumerable;var Tp=(e,o,n)=>o in e?bt(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,g=(e,o)=>{for(var n in o||(o={}))Za.call(o,n)&&Tp(e,n,o[n]);if(lr)for(var n of lr(o))xp.call(o,n)&&Tp(e,n,o[n]);return e},A=(e,o)=>ex(e,nx(o));var ze=(e,o)=>{var n={};for(var r in e)Za.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&lr)for(var r of lr(e))o.indexOf(r)<0&&xp.call(e,r)&&(n[r]=e[r]);return n};var b=(e,o)=>()=>(e&&(o=e(e=0)),o);var I=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),H=(e,o)=>{for(var n in o)bt(e,n,{get:o[n],enumerable:!0})},Sp=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of tx(o))!Za.call(e,i)&&i!==n&&bt(e,i,{get:()=>o[i],enumerable:!(r=ox(o,i))||r.enumerable});return e};var x=(e,o,n)=>(n=e!=null?QT(rx(e)):{},Sp(o||!e||!e.__esModule?bt(n,"default",{value:e,enumerable:!0}):n,e)),G=e=>Sp(bt({},"__esModule",{value:!0}),e);var S=(e,o,n)=>new Promise((r,i)=>{var p=d=>{try{_(n.next(d))}catch(l){i(l)}},m=d=>{try{_(n.throw(d))}catch(l){i(l)}},_=d=>d.done?r(d.value):Promise.resolve(d.value).then(p,m);_((n=n.apply(e,o)).next())});var bp=I(ur=>{"use strict";t();ur.byteLength=ix;ur.toByteArray=sx;ur.fromByteArray=dx;var _o=[],je=[],ax=typeof Uint8Array!="undefined"?Uint8Array:Array,Ja="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Tn=0,yp=Ja.length;Tn<yp;++Tn)_o[Tn]=Ja[Tn],je[Ja.charCodeAt(Tn)]=Tn;var Tn,yp;je["-".charCodeAt(0)]=62;je["_".charCodeAt(0)]=63;function vp(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function ix(e){var o=vp(e),n=o[0],r=o[1];return(n+r)*3/4-r}function cx(e,o,n){return(o+n)*3/4-n}function sx(e){var o,n=vp(e),r=n[0],i=n[1],p=new ax(cx(e,r,i)),m=0,_=i>0?r-4:r,d;for(d=0;d<_;d+=4)o=je[e.charCodeAt(d)]<<18|je[e.charCodeAt(d+1)]<<12|je[e.charCodeAt(d+2)]<<6|je[e.charCodeAt(d+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return i===2&&(o=je[e.charCodeAt(d)]<<2|je[e.charCodeAt(d+1)]>>4,p[m++]=o&255),i===1&&(o=je[e.charCodeAt(d)]<<10|je[e.charCodeAt(d+1)]<<4|je[e.charCodeAt(d+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function px(e){return _o[e>>18&63]+_o[e>>12&63]+_o[e>>6&63]+_o[e&63]}function mx(e,o,n){for(var r,i=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(px(r));return i.join("")}function dx(e){for(var o,n=e.length,r=n%3,i=[],p=16383,m=0,_=n-r;m<_;m+=p)i.push(mx(e,m,m+p>_?_:m+p));return r===1?(o=e[n-1],i.push(_o[o>>2]+_o[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],i.push(_o[o>>10]+_o[o>>4&63]+_o[o<<2&63]+"=")),i.join("")}});var wp=I(Qa=>{t();Qa.read=function(e,o,n,r,i){var p,m,_=i*8-r-1,d=(1<<_)-1,l=d>>1,u=-7,f=n?i-1:0,h=n?-1:1,v=e[o+f];for(f+=h,p=v&(1<<-u)-1,v>>=-u,u+=_;u>0;p=p*256+e[o+f],f+=h,u-=8);for(m=p&(1<<-u)-1,p>>=-u,u+=r;u>0;m=m*256+e[o+f],f+=h,u-=8);if(p===0)p=1-l;else{if(p===d)return m?NaN:(v?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-l}return(v?-1:1)*m*Math.pow(2,p-r)};Qa.write=function(e,o,n,r,i,p){var m,_,d,l=p*8-i-1,u=(1<<l)-1,f=u>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=r?0:p-1,T=r?1:-1,C=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,m=u):(m=Math.floor(Math.log(o)/Math.LN2),o*(d=Math.pow(2,-m))<1&&(m--,d*=2),m+f>=1?o+=h/d:o+=h*Math.pow(2,1-f),o*d>=2&&(m++,d/=2),m+f>=u?(_=0,m=u):m+f>=1?(_=(o*d-1)*Math.pow(2,i),m=m+f):(_=o*Math.pow(2,f-1)*Math.pow(2,i),m=0));i>=8;e[n+v]=_&255,v+=T,_/=256,i-=8);for(m=m<<i|_,l+=i;l>0;e[n+v]=m&255,v+=T,m/=256,l-=8);e[n+v-T]|=C*128}});var Op=I(jn=>{"use strict";t();var ei=bp(),zn=wp(),Ap=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;jn.Buffer=y;jn.SlowBuffer=hx;jn.INSPECT_MAX_BYTES=50;var fr=2147483647;jn.kMaxLength=fr;y.TYPED_ARRAY_SUPPORT=_x();!y.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 _x(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(!!y.isBuffer(this))return this.buffer}});Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(!!y.isBuffer(this))return this.byteOffset}});function ko(e){if(e>fr)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,y.prototype),o}function y(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ri(e)}return Dp(e,o,n)}y.poolSize=8192;function Dp(e,o,n){if(typeof e=="string")return ux(e,o);if(ArrayBuffer.isView(e))return fx(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(lo(e,ArrayBuffer)||e&&lo(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(lo(e,SharedArrayBuffer)||e&&lo(e.buffer,SharedArrayBuffer)))return ni(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return y.from(r,o,n);var i=gx(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return y.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}y.from=function(e,o,n){return Dp(e,o,n)};Object.setPrototypeOf(y.prototype,Uint8Array.prototype);Object.setPrototypeOf(y,Uint8Array);function Cp(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 lx(e,o,n){return Cp(e),e<=0?ko(e):o!==void 0?typeof n=="string"?ko(e).fill(o,n):ko(e).fill(o):ko(e)}y.alloc=function(e,o,n){return lx(e,o,n)};function ri(e){return Cp(e),ko(e<0?0:ai(e)|0)}y.allocUnsafe=function(e){return ri(e)};y.allocUnsafeSlow=function(e){return ri(e)};function ux(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!y.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Np(e,o)|0,r=ko(n),i=r.write(e,o);return i!==n&&(r=r.slice(0,i)),r}function oi(e){for(var o=e.length<0?0:ai(e.length)|0,n=ko(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function fx(e){if(lo(e,Uint8Array)){var o=new Uint8Array(e);return ni(o.buffer,o.byteOffset,o.byteLength)}return oi(e)}function ni(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,y.prototype),r}function gx(e){if(y.isBuffer(e)){var o=ai(e.length)|0,n=ko(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||ii(e.length)?ko(0):oi(e);if(e.type==="Buffer"&&Array.isArray(e.data))return oi(e.data)}function ai(e){if(e>=fr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+fr.toString(16)+" bytes");return e|0}function hx(e){return+e!=e&&(e=0),y.alloc(+e)}y.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==y.prototype};y.compare=function(o,n){if(lo(o,Uint8Array)&&(o=y.from(o,o.offset,o.byteLength)),lo(n,Uint8Array)&&(n=y.from(n,n.offset,n.byteLength)),!y.isBuffer(o)||!y.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,i=n.length,p=0,m=Math.min(r,i);p<m;++p)if(o[p]!==n[p]){r=o[p],i=n[p];break}return r<i?-1:i<r?1:0};y.isEncoding=function(o){switch(String(o).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}};y.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return y.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var i=y.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var m=o[r];if(lo(m,Uint8Array))p+m.length>i.length?y.from(m).copy(i,p):Uint8Array.prototype.set.call(i,m,p);else if(y.isBuffer(m))m.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return i};function Np(e,o){if(y.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||lo(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 n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var i=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ti(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Rp(e).length;default:if(i)return r?-1:ti(e).length;o=(""+o).toLowerCase(),i=!0}}y.byteLength=Np;function Tx(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Dx(this,o,n);case"utf8":case"utf-8":return Pp(this,o,n);case"ascii":return Ix(this,o,n);case"latin1":case"binary":return kx(this,o,n);case"base64":return wx(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Cx(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}y.prototype._isBuffer=!0;function xn(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}y.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)xn(this,n,n+1);return this};y.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)xn(this,n,n+3),xn(this,n+1,n+2);return this};y.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)xn(this,n,n+7),xn(this,n+1,n+6),xn(this,n+2,n+5),xn(this,n+3,n+4);return this};y.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Pp(this,0,o):Tx.apply(this,arguments)};y.prototype.toLocaleString=y.prototype.toString;y.prototype.equals=function(o){if(!y.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:y.compare(this,o)===0};y.prototype.inspect=function(){var o="",n=jn.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Ap&&(y.prototype[Ap]=y.prototype.inspect);y.prototype.compare=function(o,n,r,i,p){if(lo(o,Uint8Array)&&(o=y.from(o,o.offset,o.byteLength)),!y.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),n<0||r>o.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&n>=r)return 0;if(i>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,i>>>=0,p>>>=0,this===o)return 0;for(var m=p-i,_=r-n,d=Math.min(m,_),l=this.slice(i,p),u=o.slice(n,r),f=0;f<d;++f)if(l[f]!==u[f]){m=l[f],_=u[f];break}return m<_?-1:_<m?1:0};function Lp(e,o,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,ii(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof o=="string"&&(o=y.from(o,r)),y.isBuffer(o))return o.length===0?-1:Ip(e,o,n,r,i);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Ip(e,[o],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Ip(e,o,n,r,i){var p=1,m=e.length,_=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,_/=2,n/=2}function d(v,T){return p===1?v[T]:v.readUInt16BE(T*p)}var l;if(i){var u=-1;for(l=n;l<m;l++)if(d(e,l)===d(o,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===_)return u*p}else u!==-1&&(l-=l-u),u=-1}else for(n+_>m&&(n=m-_),l=n;l>=0;l--){for(var f=!0,h=0;h<_;h++)if(d(e,l+h)!==d(o,h)){f=!1;break}if(f)return l}return-1}y.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};y.prototype.indexOf=function(o,n,r){return Lp(this,o,n,r,!0)};y.prototype.lastIndexOf=function(o,n,r){return Lp(this,o,n,r,!1)};function xx(e,o,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var _=parseInt(o.substr(m*2,2),16);if(ii(_))return m;e[n+m]=_}return m}function Sx(e,o,n,r){return gr(ti(o,e.length-n),e,n,r)}function yx(e,o,n,r){return gr(Px(o),e,n,r)}function vx(e,o,n,r){return gr(Rp(o),e,n,r)}function bx(e,o,n,r){return gr(Ex(o,e.length-n),e,n,r)}y.prototype.write=function(o,n,r,i){if(n===void 0)i="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")i=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,i===void 0&&(i="utf8")):(i=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var m=!1;;)switch(i){case"hex":return xx(this,o,n,r);case"utf8":case"utf-8":return Sx(this,o,n,r);case"ascii":case"latin1":case"binary":return yx(this,o,n,r);case"base64":return vx(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bx(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),m=!0}};y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wx(e,o,n){return o===0&&n===e.length?ei.fromByteArray(e):ei.fromByteArray(e.slice(o,n))}function Pp(e,o,n){n=Math.min(e.length,n);for(var r=[],i=o;i<n;){var p=e[i],m=null,_=p>239?4:p>223?3:p>191?2:1;if(i+_<=n){var d,l,u,f;switch(_){case 1:p<128&&(m=p);break;case 2:d=e[i+1],(d&192)===128&&(f=(p&31)<<6|d&63,f>127&&(m=f));break;case 3:d=e[i+1],l=e[i+2],(d&192)===128&&(l&192)===128&&(f=(p&15)<<12|(d&63)<<6|l&63,f>2047&&(f<55296||f>57343)&&(m=f));break;case 4:d=e[i+1],l=e[i+2],u=e[i+3],(d&192)===128&&(l&192)===128&&(u&192)===128&&(f=(p&15)<<18|(d&63)<<12|(l&63)<<6|u&63,f>65535&&f<1114112&&(m=f))}}m===null?(m=65533,_=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),i+=_}return Ax(r)}var kp=4096;function Ax(e){var o=e.length;if(o<=kp)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=kp));return n}function Ix(e,o,n){var r="";n=Math.min(e.length,n);for(var i=o;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function kx(e,o,n){var r="";n=Math.min(e.length,n);for(var i=o;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Dx(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var i="",p=o;p<n;++p)i+=Mx[e[p]];return i}function Cx(e,o,n){for(var r=e.slice(o,n),i="",p=0;p<r.length-1;p+=2)i+=String.fromCharCode(r[p]+r[p+1]*256);return i}y.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var i=this.subarray(o,n);return Object.setPrototypeOf(i,y.prototype),i};function he(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=this[o],p=1,m=0;++m<n&&(p*=256);)i+=this[o+m]*p;return i};y.prototype.readUintBE=y.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=this[o+--n],p=1;n>0&&(p*=256);)i+=this[o+--n]*p;return i};y.prototype.readUint8=y.prototype.readUInt8=function(o,n){return o=o>>>0,n||he(o,1,this.length),this[o]};y.prototype.readUint16LE=y.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||he(o,2,this.length),this[o]|this[o+1]<<8};y.prototype.readUint16BE=y.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||he(o,2,this.length),this[o]<<8|this[o+1]};y.prototype.readUint32LE=y.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||he(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};y.prototype.readUint32BE=y.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||he(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};y.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=this[o],p=1,m=0;++m<n&&(p*=256);)i+=this[o+m]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*n)),i};y.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||he(o,n,this.length);for(var i=n,p=1,m=this[o+--i];i>0&&(p*=256);)m+=this[o+--i]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*n)),m};y.prototype.readInt8=function(o,n){return o=o>>>0,n||he(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};y.prototype.readInt16LE=function(o,n){o=o>>>0,n||he(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};y.prototype.readInt16BE=function(o,n){o=o>>>0,n||he(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};y.prototype.readInt32LE=function(o,n){return o=o>>>0,n||he(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};y.prototype.readInt32BE=function(o,n){return o=o>>>0,n||he(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};y.prototype.readFloatLE=function(o,n){return o=o>>>0,n||he(o,4,this.length),zn.read(this,o,!0,23,4)};y.prototype.readFloatBE=function(o,n){return o=o>>>0,n||he(o,4,this.length),zn.read(this,o,!1,23,4)};y.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||he(o,8,this.length),zn.read(this,o,!0,52,8)};y.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||he(o,8,this.length),zn.read(this,o,!1,52,8)};function Ee(e,o,n,r,i,p){if(!y.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>i||o<p)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(o,n,r,i){if(o=+o,n=n>>>0,r=r>>>0,!i){var p=Math.pow(2,8*r)-1;Ee(this,o,n,r,p,0)}var m=1,_=0;for(this[n]=o&255;++_<r&&(m*=256);)this[n+_]=o/m&255;return n+r};y.prototype.writeUintBE=y.prototype.writeUIntBE=function(o,n,r,i){if(o=+o,n=n>>>0,r=r>>>0,!i){var p=Math.pow(2,8*r)-1;Ee(this,o,n,r,p,0)}var m=r-1,_=1;for(this[n+m]=o&255;--m>=0&&(_*=256);)this[n+m]=o/_&255;return n+r};y.prototype.writeUint8=y.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,1,255,0),this[n]=o&255,n+1};y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};y.prototype.writeIntLE=function(o,n,r,i){if(o=+o,n=n>>>0,!i){var p=Math.pow(2,8*r-1);Ee(this,o,n,r,p-1,-p)}var m=0,_=1,d=0;for(this[n]=o&255;++m<r&&(_*=256);)o<0&&d===0&&this[n+m-1]!==0&&(d=1),this[n+m]=(o/_>>0)-d&255;return n+r};y.prototype.writeIntBE=function(o,n,r,i){if(o=+o,n=n>>>0,!i){var p=Math.pow(2,8*r-1);Ee(this,o,n,r,p-1,-p)}var m=r-1,_=1,d=0;for(this[n+m]=o&255;--m>=0&&(_*=256);)o<0&&d===0&&this[n+m+1]!==0&&(d=1),this[n+m]=(o/_>>0)-d&255;return n+r};y.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};y.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};y.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};y.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};y.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||Ee(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Ep(e,o,n,r,i,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Mp(e,o,n,r,i){return o=+o,n=n>>>0,i||Ep(e,o,n,4,34028234663852886e22,-34028234663852886e22),zn.write(e,o,n,r,23,4),n+4}y.prototype.writeFloatLE=function(o,n,r){return Mp(this,o,n,!0,r)};y.prototype.writeFloatBE=function(o,n,r){return Mp(this,o,n,!1,r)};function Wp(e,o,n,r,i){return o=+o,n=n>>>0,i||Ep(e,o,n,8,17976931348623157e292,-17976931348623157e292),zn.write(e,o,n,r,52,8),n+8}y.prototype.writeDoubleLE=function(o,n,r){return Wp(this,o,n,!0,r)};y.prototype.writeDoubleBE=function(o,n,r){return Wp(this,o,n,!1,r)};y.prototype.copy=function(o,n,r,i){if(!y.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!i&&i!==0&&(i=this.length),n>=o.length&&(n=o.length),n||(n=0),i>0&&i<r&&(i=r),i===r||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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),o.length-n<i-r&&(i=o.length-n+r);var p=i-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,i):Uint8Array.prototype.set.call(o,this.subarray(r,i),n),p};y.prototype.fill=function(o,n,r,i){if(typeof o=="string"){if(typeof n=="string"?(i=n,n=0,r=this.length):typeof r=="string"&&(i=r,r=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!y.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(o.length===1){var p=o.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=n;m<r;++m)this[m]=o;else{var _=y.isBuffer(o)?o:y.from(o,i),d=_.length;if(d===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=_[m%d]}return this};var Nx=/[^+/0-9A-Za-z-_]/g;function Lx(e){if(e=e.split("=")[0],e=e.trim().replace(Nx,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ti(e,o){o=o||1/0;for(var n,r=e.length,i=null,p=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!i){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}i=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(o-=3)>-1&&p.push(239,191,189);if(i=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Px(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Ex(e,o){for(var n,r,i,p=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,i=n%256,p.push(i),p.push(r);return p}function Rp(e){return ei.toByteArray(Lx(e))}function gr(e,o,n,r){for(var i=0;i<r&&!(i+n>=o.length||i>=e.length);++i)o[i+n]=e[i];return i}function lo(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function ii(e){return e!==e}var Mx=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,i=0;i<16;++i)o[r+i]=e[n]+e[i];return o}()});var Hp=I((wk,Up)=>{t();var se=Up.exports={},uo,fo;function ci(){throw new Error("setTimeout has not been defined")}function si(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?uo=setTimeout:uo=ci}catch(e){uo=ci}try{typeof clearTimeout=="function"?fo=clearTimeout:fo=si}catch(e){fo=si}})();function Fp(e){if(uo===setTimeout)return setTimeout(e,0);if((uo===ci||!uo)&&setTimeout)return uo=setTimeout,setTimeout(e,0);try{return uo(e,0)}catch(o){try{return uo.call(null,e,0)}catch(n){return uo.call(this,e,0)}}}function Wx(e){if(fo===clearTimeout)return clearTimeout(e);if((fo===si||!fo)&&clearTimeout)return fo=clearTimeout,clearTimeout(e);try{return fo(e)}catch(o){try{return fo.call(null,e)}catch(n){return fo.call(this,e)}}}var Do=[],Kn=!1,Sn,hr=-1;function Rx(){!Kn||!Sn||(Kn=!1,Sn.length?Do=Sn.concat(Do):hr=-1,Do.length&&Bp())}function Bp(){if(!Kn){var e=Fp(Rx);Kn=!0;for(var o=Do.length;o;){for(Sn=Do,Do=[];++hr<o;)Sn&&Sn[hr].run();hr=-1,o=Do.length}Sn=null,Kn=!1,Wx(e)}}se.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];Do.push(new Gp(e,o)),Do.length===1&&!Kn&&Fp(Bp)};function Gp(e,o){this.fun=e,this.array=o}Gp.prototype.run=function(){this.fun.apply(null,this.array)};se.title="browser";se.browser=!0;se.env={};se.argv=[];se.version="";se.versions={};function Co(){}se.on=Co;se.addListener=Co;se.once=Co;se.off=Co;se.removeListener=Co;se.removeAllListeners=Co;se.emit=Co;se.prependListener=Co;se.prependOnceListener=Co;se.listeners=function(e){return[]};se.binding=function(e){throw new Error("process.binding is not supported")};se.cwd=function(){return"/"};se.chdir=function(e){throw new Error("process.chdir is not supported")};se.umask=function(){return 0}});var a,s,Ox,c,t=b(()=>{a=x(Op()),s=x(Hp()),Ox=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object),c=Ox});var pi=b(()=>{"use strict";t()});var Vp,No,$p,mi,qp,zp,wt,go=b(()=>{"use strict";t();Vp="error when signing",No="Transaction canceled",$p="error signing transaction",mi="provider not initialized",qp="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",zp="Undefined transaction status",wt="You cannot sign transactions from a different account"});var jp=b(()=>{"use strict";t()});var di,Kp=b(()=>{"use strict";t();di=(r=>(r.SetGuardian="SetGuardian",r.GuardAccount="GuardAccount",r.UnGuardAccount="UnGuardAccount",r))(di||{})});var _i,li,ui,fi,At,gi,hi=b(()=>{"use strict";t();_i="1.0.8",li="1.0.11",ui="1.0.15",fi="1.0.17",At="1.0.22",gi="1.0.23"});var Ti,xi=b(()=>{"use strict";t();Ti={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var Xp=b(()=>{"use strict";t()});var Si,yi=b(()=>{"use strict";t();Si=(i=>(i.signature="signature",i.sessionId="sessionId",i.status="status",i.address="address",i))(Si||{})});var Yp=b(()=>{"use strict";t()});var Zp=b(()=>{"use strict";t()});var Ie,Xn,Xo=b(()=>{"use strict";t();Ie=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Xn=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Jp,Rk,Qp,Ok,Y=b(()=>{"use strict";t();Xo();Jp=(n=>(n.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",n.reloginRequest="RELOGIN_REQUEST",n))(Jp||{}),Rk=g(g({},Xn.WindowProviderRequestEnums),Jp),Qp=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Qp||{}),Ok=g(g({},Xn.WindowProviderResponseEnums),Qp)});var em=b(()=>{"use strict";t()});var om=b(()=>{"use strict";t()});var Lo,Me=b(()=>{"use strict";t();Lo=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(Lo||{})});var nm=b(()=>{"use strict";t()});var tm=b(()=>{"use strict";t()});var rm=b(()=>{"use strict";t()});var Z=b(()=>{"use strict";t();yi();Yp();Zp();Y();em();om();Me();nm();tm();rm()});var yn,am,eD,im,oD,cm,nD,tD,sm,Tr,vn=b(()=>{"use strict";t();Z();yn={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:am,egldLabel:eD}=yn["devnet"],{chainId:im,egldLabel:oD}=yn["testnet"],{chainId:cm,egldLabel:nD}=yn["mainnet"],tD={["devnet"]:am,["testnet"]:im,["mainnet"]:cm},sm={[am]:"devnet",[im]:"testnet",[cm]:"mainnet"},Tr=0});var pm,It=b(()=>{"use strict";t();pm="cancel-transaction-toast"});var ho,mm=b(()=>{"use strict";t();ho=require("@multiversx/sdk-web-wallet-provider")});var fe,Yo=b(()=>{"use strict";t();fe=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var dm,_m,vi,pD,mD,bi=b(()=>{"use strict";t();Yo();vi=String((_m=(dm=fe.safeWindow)==null?void 0:dm.navigator)==null?void 0:_m.userAgent),pD=/^((?!chrome|android).)*safari/i.test(vi),mD=/firefox/i.test(vi)&&/windows/i.test(vi)});var wi,xr,kt,Ai,Zo,Ke,bn,lm,um,fm,To,Sr,gm,yr,hm,Tm,xm,Xe,Sm,ym,M=b(()=>{"use strict";t();pi();go();jp();Kp();hi();xi();Xp();vn();It();mm();bi();wi=.01,xr=1500,kt=5e4,Ai=5e4,Zo=1e9,Ke=18,bn=4,lm=1,um=1,fm="/dapp/init",To="signSession",Sr="sdk-dapp-version",gm="4.6.1",yr="logout",hm="login",Tm="cancelSignTx",xm="N/A",Xe="0",Sm="...",ym="EGLD-000000"});var Dt,vr=b(()=>{"use strict";t();Dt=()=>Date.now()/1e3});var vm=b(()=>{"use strict";t()});var bm=b(()=>{"use strict";t()});var Ii=b(()=>{"use strict";t();vr();vm();bm()});var ki={};H(ki,{clear:()=>Ux,getItem:()=>Bx,localStorageKeys:()=>Ye,removeItem:()=>Gx,setItem:()=>Fx});var Ye,br,Fx,Bx,Gx,Ux,wn=b(()=>{"use strict";t();Ii();Ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},br=typeof localStorage!="undefined",Fx=({key:e,data:o,expires:n})=>{!br||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Bx=e=>{if(!br)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Dt()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},Gx=e=>{!br||localStorage.removeItem(String(e))},Ux=()=>{!br||localStorage.clear()}});var Di={};H(Di,{clear:()=>km,getItem:()=>Am,removeItem:()=>Im,sessionStorageKeys:()=>Hx,setItem:()=>wm,storage:()=>Vx});var Hx,wm,Am,Im,km,Vx,Dm=b(()=>{"use strict";t();Hx={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},wm=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Am=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},Im=e=>sessionStorage.removeItem(String(e)),km=()=>sessionStorage.clear(),Vx={setItem:wm,getItem:Am,removeItem:Im,clear:km}});var no,An=b(()=>{"use strict";t();wn();Dm();no={session:Di,local:ki}});var Ci,ee,We,ae=b(()=>{"use strict";t();Ci=require("@reduxjs/toolkit");M();ee=(0,Ci.createAction)(yr),We=(0,Ci.createAction)(hm,e=>({payload:e}))});var Li,Cm,Nm,Ze,Ni,Lm,to,Jo,Pi,UD,$x,qx,HD,VD,$D,zx,jx,wr,Ar=b(()=>{"use strict";t();Li=require("@multiversx/sdk-core"),Cm=require("@reduxjs/toolkit"),Nm=require("redux-persist");M();An();wn();ae();Ze={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Xe},Ni={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ze},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Lm=(0,Cm.createSlice)({name:"accountInfoSlice",initialState:Ni,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=n?new Li.Address(n).toHex():""},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:Ze},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(ee,()=>(no.local.removeItem(Ye.loginExpiresAt),Ni)),e.addCase(We,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new Li.Address(r).toHex()}),e.addCase(Nm.REHYDRATE,(o,n)=>{var l;if(!((l=n.payload)!=null&&l.account))return;let{account:r}=n.payload,{address:i,shard:p,accounts:m,publicKey:_}=r;o.address=i,o.shard=p;let d=m&&i in m;o.accounts=d?m:Ni.accounts,o.publicKey=_})}}),{setAccount:to,setAddress:Jo,setAccountNonce:Pi,setAccountShard:UD,setLedgerAccount:$x,updateLedgerAccount:qx,setWalletConnectAccount:HD,setIsAccountLoading:VD,setAccountLoadingError:$D,setWebsocketEvent:zx,setWebsocketBatchEvent:jx}=Lm.actions,wr=Lm.reducer});function Ct(){return new Date().setHours(new Date().getHours()+24)}function Nt(e){no.local.setItem({key:Ye.loginExpiresAt,data:e,expires:e})}var Ei=b(()=>{"use strict";t();An();wn()});var Em,Pm,Mm,eC,Kx,Xx,Mi,oC,Yx,Wm,nC,tC,rC,Ir,kr=b(()=>{"use strict";t();Em=require("@reduxjs/toolkit");Ei();Y();ae();Pm={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Mm=(0,Em.createSlice)({name:"loginInfoSlice",initialState:Pm,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(ee,()=>Pm),e.addCase(We,(o,n)=>{o.isLoginSessionInvalid=!1,o.loginMethod=n.payload.loginMethod,o.iframeLoginType=n.payload.iframeLoginType,Nt(Ct())})}}),{setLoginMethod:eC,setWalletConnectLogin:Kx,setLedgerLogin:Xx,setTokenLogin:Mi,setTokenLoginSignature:oC,setWalletLogin:Yx,invalidateLoginSession:Wm,setLogoutRoute:nC,setIsWalletConnectV2Initialized:tC,setWebviewLogin:rC}=Mm.actions,Ir=Mm.reducer});var Om,Rm,Fm,sC,Zx,pC,Jx,Dr,Cr=b(()=>{"use strict";t();Om=require("@reduxjs/toolkit");ae();Rm={},Fm=(0,Om.createSlice)({name:"modalsSlice",initialState:Rm,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(ee,()=>Rm)}}),{setTxSubmittedModal:sC,setNotificationModal:Zx,clearTxSubmittedModal:pC,clearNotificationModal:Jx}=Fm.actions,Dr=Fm.reducer});var ro,In=b(()=>{"use strict";t();ro=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var q,xe=b(()=>{"use strict";t();In();q=()=>{if(!ro())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:n,origin:r,href:i,search:p}}=window;return{pathname:o,hash:n,origin:r,href:i,search:p}}});var Yn,Bm=b(()=>{"use strict";t();xe();Yn=(e="")=>{let o=q(),n=e.startsWith("http")||e.startsWith("www.");return!o.origin||e.startsWith(o.origin)||n?e:`${o.origin}/${e.replace("/","")}`}});var Po,Gm=b(()=>{"use strict";t();Se();Po=()=>{let{pathname:e,search:o,hash:n}=q();return`${e!=null?e:""}${o!=null?o:""}${n!=null?n:""}`}});var Um,Hm=b(()=>{"use strict";t();Yo();Um=e=>{if(!fe.safeWindow.location)return;if(!new URL(fe.safeWindow.location.href).protocol.startsWith("http"))return fe.safeWindow.location.reload();fe.safeWindow.location.assign(e)}});var Se=b(()=>{"use strict";t();Bm();Gm();xe();Hm()});var Vm,$m,Lt,Pt=b(()=>{"use strict";t();Se();Vm=!1,$m=(e=!0)=>{Vm=e},Lt=({timeout:e=0,url:o})=>{Vm||setTimeout(()=>{if(!!window)return Um(o)},e)}});var qm=b(()=>{"use strict";t();Pt()});function zm(e){return e[Math.floor(Math.random()*e.length)]}var jm=b(()=>{"use strict";t()});function Wi(e){let o=null;if((e==null?void 0:e.statusCode)in Ti){let n=e==null?void 0:e.statusCode,{message:r}=Ti[n];o=oS.includes(n)?Km:r}return{errorMessage:o,defaultErrorMessage:Km}}var Km,Qx,eS,oS,Ri=b(()=>{"use strict";t();xi();Km="Check if the MultiversX app is open on Ledger",Qx=28161,eS=28160,oS=[Qx,eS]});var Eo=b(()=>{"use strict";t();qm();jm();Ri()});var Xm,Ym,Zm,Oi,tS,Jm,GC,UC,Qm,Nr,Lr=b(()=>{"use strict";t();Xm=require("@reduxjs/toolkit"),Ym=x(require("lodash.omit")),Zm=require("redux-persist");It();ae();Eo();Oi={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},tS={network:Oi},Jm=(0,Xm.createSlice)({name:"appConfig",initialState:tS,reducers:{initializeNetworkConfig:(e,o)=>{let n=zm(o.payload.walletConnectV2RelayAddresses),r=(0,Ym.default)(o.payload,"walletConnectV2RelayAddresses");e.network=A(g(g({},e.network),r),{walletConnectV2RelayAddress:n})},updateNetworkConfig:(e,o)=>{e.network=g(g({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(ee,o=>{o.network.customWalletAddress=void 0}),e.addCase(Zm.REHYDRATE,(o,n)=>{var i,p;if(!((p=(i=n.payload)==null?void 0:i.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:r}}=n.payload;o.network.customWalletAddress=r})}}),{initializeNetworkConfig:GC,updateNetworkConfig:UC,setCustomWalletAddress:Qm}=Jm.actions,Nr=Jm.reducer});var ed,Fi,od,jC,KC,XC,Pr,Er=b(()=>{"use strict";t();ed=require("@reduxjs/toolkit");Z();ae();Fi={isSigning:!1,signedSessions:{}},od=(0,ed.createSlice)({name:"signedMessageInfoSliceState",initialState:Fi,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:i}=o.payload;i&&(e.errorMessage=i),e.isSigning=r.status==="pending",e.signedSessions[n]=g(g({},e.signedSessions[n]),r)},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>Fi},extraReducers:e=>{e.addCase(ee,()=>Fi)}}),{setSignSession:jC,clearSignedMessageInfo:KC,setSignSessionState:XC}=od.actions,Pr=od.reducer});var td,rd,nd,ad,Bi,rS,nN,aS,Mr,Wr=b(()=>{"use strict";t();td=require("@reduxjs/toolkit"),rd=require("redux-persist");Z();vr();ae();nd={customToasts:[],transactionToasts:[]},ad=(0,td.createSlice)({name:"toastsSlice",initialState:nd,reducers:{addCustomToast:(e,o)=>{let n=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,r=e.customToasts.findIndex(i=>i.toastId===n);if(r!==-1){e.customToasts[r]=A(g(g({},e.customToasts[r]),o.payload),{type:"custom",toastId:n});return}e.customToasts.push(A(g({},o.payload),{type:"custom",toastId:n}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Dt(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)}},extraReducers:e=>{e.addCase(ee,()=>nd),e.addCase(rd.REHYDRATE,(o,n)=>{var i,p;let r=(p=(i=n.customToasts)==null?void 0:i.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Bi,removeCustomToast:rS,addTransactionToast:nN,removeTransactionToast:aS}=ad.actions,Mr=ad.reducer});var id,Ui,Hi,Vi,iS,Gi,cd,iN,cS,Zn,Rr,Or=b(()=>{"use strict";t();id=require("@reduxjs/toolkit");ae();Ui="Transaction failed",Hi="Transaction successful",Vi="Processing transaction",iS="Transaction submitted",Gi={},cd=(0,id.createSlice)({name:"transactionsInfo",initialState:Gi,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||Ui,successMessage:(r==null?void 0:r.successMessage)||Hi,processingMessage:(r==null?void 0:r.processingMessage)||Vi,submittedMessage:(r==null?void 0:r.submittedMessage)||iS,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Gi},extraReducers:e=>{e.addCase(ee,()=>Gi)}}),{clearTransactionsInfo:iN,setTransactionsDisplayInfo:cS,clearTransactionsInfoForSessionId:Zn}=cd.actions,Rr=cd.reducer});function Qn(e){return e!=null&&(hS(e)||vS(e))}function et(e){return e!=null&&(TS(e)||bS(e))}function ot(e){return e!=null&&(xS(e)||wS(e))}function sd(e){return e!=null&&(SS(e)||AS(e))}function $i(e){return e!=null&&yS(e)}function hS(e){return e!=null&&sS.includes(e)}function TS(e){return e!=null&&pS.includes(e)}function xS(e){return e!=null&&mS.includes(e)}function SS(e){return e!=null&&dS.includes(e)}function yS(e){return e!=null&&_S.includes(e)}function vS(e){return e!=null&&lS.includes(e)}function bS(e){return e!=null&&uS.includes(e)}function wS(e){return e!=null&&fS.includes(e)}function AS(e){return e!=null&&gS.includes(e)}var sS,pS,mS,dS,_S,lS,uS,fS,gS,nt=b(()=>{"use strict";t();Y();sS=["sent"],pS=["success"],mS=["fail","cancelled","timedOut"],dS=["invalid"],_S=["timedOut"],lS=["pending"],uS=["success"],fS=["fail","invalid"],gS=["not executed"]});var pd,md,Et,IS,dd,_d,ld,kS,en,DS,CS,fN,ud,Mo,xo,gN,Fr,Br=b(()=>{"use strict";t();pd=require("@reduxjs/toolkit"),md=require("redux-persist");Y();nt();ae();Et={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},IS={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},dd=(0,pd.createSlice)({name:"transactionsSlice",initialState:Et,reducers:{moveTransactionsToSignedState:(e,o)=>{var d,l;let{sessionId:n,transactions:r,errorMessage:i,status:p,redirectRoute:m,customTransactionInformation:_}=o.payload;e.customTransactionInformationForSessionId[n]=g(g(g({},IS),((d=e.signedTransactions[n])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[n]||{}),e.signedTransactions[n]={transactions:r,status:p,errorMessage:i,redirectRoute:m,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[n]),_!=null?_:{})},((l=e==null?void 0:e.transactionsToSign)==null?void 0:l.sessionId)===n&&(e.transactionsToSign=Et.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:i,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,i!=null&&(e.signedTransactions[n].errorMessage=i),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,u,f,h,v,T,C,w;let{sessionId:n,status:r,errorMessage:i,transactionHash:p,serverTransaction:m,inTransit:_}=o.payload,d=(u=(l=e.signedTransactions)==null?void 0:l[n])==null?void 0:u.transactions;if(d!=null){e.signedTransactions[n].transactions=d.map(E=>E.hash===p?A(g(g({},m!=null?m:{}),E),{status:r,errorMessage:i,inTransit:_}):E);let L=(h=(f=e.signedTransactions[n])==null?void 0:f.transactions)==null?void 0:h.every(E=>et(E.status)),W=(T=(v=e.signedTransactions[n])==null?void 0:v.transactions)==null?void 0:T.some(E=>ot(E.status)),F=(w=(C=e.signedTransactions[n])==null?void 0:C.transactions)==null?void 0:w.every(E=>sd(E.status));L&&(e.signedTransactions[n].status="success"),W&&(e.signedTransactions[n].status="fail"),F&&(e.signedTransactions[n].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Et.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Et.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:n,customTransactionInformationOverrides:r}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].customTransactionInformation=g(g({},e.signedTransactions[n].customTransactionInformation),r))}},extraReducers:e=>{e.addCase(ee,()=>Et),e.addCase(md.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:i}=n.payload.transactions,p=Object.entries(r).reduce((_,[d,l])=>{let u=new Date(d),f=new Date;return f.setHours(f.getHours()+5),f-u>0||(_[d]=l),_},{});i!=null&&(o.customTransactionInformationForSessionId=i),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:_d,updateSignedTransactions:ld,setTransactionsToSign:kS,clearAllTransactionsToSign:en,clearAllSignedTransactions:DS,clearSignedTransaction:CS,clearTransactionToSign:fN,setSignTransactionsError:ud,setSignTransactionsCancelMessage:Mo,moveTransactionsToSignedState:xo,updateSignedTransactionsCustomTransactionInformation:gN}=dd.actions,Fr=dd.reducer});var fd,qi,gd,SN,yN,NS,vN,Gr,Ur=b(()=>{"use strict";t();fd=require("@reduxjs/toolkit");ae();qi={},gd=(0,fd.createSlice)({name:"batchTransactionsSlice",initialState:qi,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>qi},extraReducers:e=>{e.addCase(ee,()=>qi)}}),{setBatchTransactions:SN,updateBatchTransactions:yN,clearBatchTransactions:NS,clearAllBatchTransactions:vN}=gd.actions,Gr=gd.reducer});var Td,hd,xd,IN,Sd,zi=b(()=>{"use strict";t();Td=require("@reduxjs/toolkit");ae();hd={},xd=(0,Td.createSlice)({name:"dappConfigSlice",initialState:hd,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(ee,()=>hd)}}),{setDappConfig:IN}=xd.actions,Sd=xd.reducer});var V=b(()=>{"use strict";t();Ar();kr();Cr();Lr();Er();Wr();Or();Br();Ur();zi()});var ji=b(()=>{"use strict";t()});var bd,MS,WS,Mt,Ki=b(()=>{"use strict";t();bd=require("@reduxjs/toolkit");ji();Ar();Ur();zi();kr();Cr();Lr();Er();Wr();Or();Br();MS={["account"]:wr,["dappConfig"]:Sd,["loginInfo"]:Ir,["modals"]:Dr,["networkConfig"]:Nr,["signedMessageInfo"]:Pr,["toasts"]:Mr,["transactionsInfo"]:Rr,["transactions"]:Fr,["batchTransactions"]:Gr},WS=(e={})=>(0,bd.combineReducers)(g(g({},MS),e)),Mt=WS});var kd={};H(kd,{default:()=>ZS,sessionStorageReducers:()=>Xi});function Wo(e,o=[]){return{key:e,version:1,storage:Ad.default,blacklist:o}}var Re,wd,Ad,RS,Wt,OS,FS,BS,GS,US,HS,VS,$S,qS,zS,Id,jS,Xi,KS,XS,YS,ZS,Dd=b(()=>{"use strict";t();Re=require("redux-persist"),wd=x(require("redux-persist/lib/storage")),Ad=x(require("redux-persist/lib/storage/session"));Ki();V();Ar();Ur();kr();Cr();Lr();Er();Wr();Or();Br();ji();RS={persistReducersStorageType:"localStorage"},Wt={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},OS=Wo(Wt["account"]),FS=Wo(Wt["loginInfo"]),BS=Wo(Wt["modals"]),GS=Wo(Wt["networkConfig"]),US={2:e=>A(g({},e),{networkConfig:Oi})};HS=Wo("sdk-dapp-transactionsInfo"),VS=Wo("sdk-dapp-transactions",["transactionsToSign"]),$S=Wo("sdk-dapp-batchTransactions",["batchTransactions"]),qS=Wo("sdk-dapp-toasts"),zS=Wo("sdk-dapp-signedMessageInfo"),Id={key:"sdk-dapp-store",version:2,storage:wd.default,whitelist:Object.keys(Wt),migrate:(0,Re.createMigrate)(US,{debug:!1})},jS=A(g({},Id),{whitelist:[]}),Xi={["toasts"]:(0,Re.persistReducer)(qS,Mr),["transactions"]:(0,Re.persistReducer)(VS,Fr),["transactionsInfo"]:(0,Re.persistReducer)(HS,Rr),["batchTransactions"]:(0,Re.persistReducer)($S,Gr),["signedMessageInfo"]:(0,Re.persistReducer)(zS,Pr)},KS=A(g({},Xi),{["account"]:(0,Re.persistReducer)(OS,wr),["loginInfo"]:(0,Re.persistReducer)(FS,Ir),["modals"]:(0,Re.persistReducer)(BS,Dr),["networkConfig"]:(0,Re.persistReducer)(GS,Nr)}),XS=RS.persistReducersStorageType==="localStorage",YS=XS?(0,Re.persistReducer)(Id,Mt(Xi)):(0,Re.persistReducer)(jS,Mt(KS)),ZS=YS});var Cd={};H(Cd,{default:()=>JS});var JS,Nd=b(()=>{"use strict";t();Ki();JS=Mt()});var Ld={};H(Ld,{default:()=>ey});var Je,QS,ey,Pd=b(()=>{"use strict";t();Je=require("redux-persist"),QS=[Je.FLUSH,Je.REHYDRATE,Je.PAUSE,Je.PERSIST,Je.PURGE,Je.REGISTER],ey=QS});var Wd={};H(Wd,{default:()=>Md});function Md(e){return(0,Ed.persistStore)(e)}var Ed,Rd=b(()=>{"use strict";t();Ed=require("redux-persist")});var Al=I((RB,wl)=>{t();var Sv=typeof c=="object"&&c&&c.Object===Object&&c;wl.exports=Sv});var zt=I((OB,Il)=>{t();var yv=Al(),vv=typeof self=="object"&&self&&self.Object===Object&&self,bv=yv||vv||Function("return this")();Il.exports=bv});var ha=I((FB,kl)=>{t();var wv=zt(),Av=wv.Symbol;kl.exports=Av});var Ll=I((BB,Nl)=>{t();var Dl=ha(),Cl=Object.prototype,Iv=Cl.hasOwnProperty,kv=Cl.toString,jt=Dl?Dl.toStringTag:void 0;function Dv(e){var o=Iv.call(e,jt),n=e[jt];try{e[jt]=void 0;var r=!0}catch(p){}var i=kv.call(e);return r&&(o?e[jt]=n:delete e[jt]),i}Nl.exports=Dv});var El=I((GB,Pl)=>{t();var Cv=Object.prototype,Nv=Cv.toString;function Lv(e){return Nv.call(e)}Pl.exports=Lv});var Ta=I((UB,Rl)=>{t();var Ml=ha(),Pv=Ll(),Ev=El(),Mv="[object Null]",Wv="[object Undefined]",Wl=Ml?Ml.toStringTag:void 0;function Rv(e){return e==null?e===void 0?Wv:Mv:Wl&&Wl in Object(e)?Pv(e):Ev(e)}Rl.exports=Rv});var Cc=I((HB,Ol)=>{t();var Ov=Array.isArray;Ol.exports=Ov});var Nc=I((VB,Fl)=>{t();function Fv(e){return e!=null&&typeof e=="object"}Fl.exports=Fv});var Gl=I(($B,Bl)=>{t();var Bv=Ta(),Gv=Cc(),Uv=Nc(),Hv="[object String]";function Vv(e){return typeof e=="string"||!Gv(e)&&Uv(e)&&Bv(e)==Hv}Bl.exports=Vv});var Ec={};H(Ec,{css:()=>jl,default:()=>Zv});var jl,Zv,Mc=b(()=>{"use strict";t();jl=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4