@multiversx/sdk-dapp 4.2.1 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1135) hide show
  1. package/UI/CopyButton/CopyButton.js +1 -1
  2. package/UI/CopyButton/index.js +1 -1
  3. package/UI/DappModal/components/DappModal.js +1 -1
  4. package/UI/DappModal/components/index.js +1 -1
  5. package/UI/DappModal/index.js +1 -1
  6. package/UI/Denominate/index.js +1 -1
  7. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  8. package/UI/ExplorerLink/index.js +1 -1
  9. package/UI/FormatAmount/FormatAmount.js +1 -1
  10. package/UI/FormatAmount/index.js +1 -1
  11. package/UI/ModalContainer/ModalContainer.js +1 -1
  12. package/UI/ModalContainer/index.js +1 -1
  13. package/UI/NotificationModal/NotificationModal.js +1 -1
  14. package/UI/NotificationModal/index.js +1 -1
  15. package/UI/Pagination/Pagination.js +1 -1
  16. package/UI/Pagination/components/index.js +1 -1
  17. package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
  18. package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
  19. package/UI/Pagination/helpers/getPagination/index.js +1 -1
  20. package/UI/Pagination/helpers/index.js +1 -1
  21. package/UI/Pagination/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  52. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  53. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  54. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  55. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  56. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  57. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  58. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  59. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  60. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  61. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  62. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  63. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  64. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  65. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  66. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  67. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  68. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  69. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  70. package/UI/SignTransactionsModals/components/index.js +1 -1
  71. package/UI/SignTransactionsModals/index.js +1 -1
  72. package/UI/TokenDetails/index.js +1 -1
  73. package/UI/TransactionData/TransactionData.js +1 -1
  74. package/UI/TransactionData/components/TransactionDataDecode/TransactionDataDecode.js +1 -1
  75. package/UI/TransactionData/components/TransactionDataDecode/index.js +1 -1
  76. package/UI/TransactionData/components/index.js +1 -1
  77. package/UI/TransactionData/index.js +1 -1
  78. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  79. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  80. package/UI/TransactionDetails/components/index.js +1 -1
  81. package/UI/TransactionDetails/index.js +1 -1
  82. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  83. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  84. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  85. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  86. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  87. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  88. package/UI/TransactionInfo/components/DataField/components/Linkified/index.js +1 -1
  89. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  90. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  91. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  92. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  93. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  94. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  95. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  96. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  97. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  98. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  99. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  100. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  101. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  102. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  103. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  104. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  105. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  106. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  107. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  108. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  109. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  110. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  111. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  112. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  113. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  114. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  115. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  116. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  117. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  118. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  119. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  120. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  121. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  122. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  123. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  124. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  125. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  126. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  127. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  128. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  129. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  130. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  131. package/UI/TransactionInfo/components/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/TransactionInfoHash.js +1 -1
  147. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoHash/index.js +1 -1
  148. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  149. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  150. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  151. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  152. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  153. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  154. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  155. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  156. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  157. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  158. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  159. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  160. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  161. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  162. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  163. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  164. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  165. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  166. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  167. package/UI/TransactionInfo/index.js +1 -1
  168. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  169. package/UI/TransactionsTable/components/AccountName.js +1 -1
  170. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  171. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  172. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  173. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  174. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  175. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  176. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  177. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  178. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  179. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  180. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  181. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  182. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  183. package/UI/TransactionsTable/components/index.js +1 -1
  184. package/UI/TransactionsTable/index.js +1 -1
  185. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  186. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  187. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  188. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  189. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  190. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  191. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  192. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  193. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  194. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  195. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  196. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  197. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  198. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  199. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  200. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  201. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  202. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  203. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  204. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  205. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  206. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  207. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  208. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  209. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  210. package/UI/TransactionsToastList/components/index.js +1 -1
  211. package/UI/TransactionsToastList/index.js +1 -1
  212. package/UI/Trim/Trim.js +1 -1
  213. package/UI/Trim/index.js +1 -1
  214. package/UI/UsdValue/UsdValue.js +1 -1
  215. package/UI/UsdValue/index.js +1 -1
  216. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  217. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  218. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  219. package/UI/iframe/IframeLoginButton/index.js +1 -1
  220. package/UI/index.js +1 -1
  221. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  222. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  224. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  225. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  226. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  227. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  228. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  229. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  230. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  231. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  232. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  233. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  234. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  235. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  236. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  237. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  238. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  239. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  240. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  241. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  242. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  243. package/UI/ledger/index.js +1 -1
  244. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  245. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  246. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  247. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  248. package/UI/pages/UnlockPage/index.js +1 -1
  249. package/UI/pages/index.js +1 -1
  250. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  251. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  252. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  253. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  254. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  255. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  256. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  257. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  258. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  259. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  260. package/UI/walletConnect/index.js +1 -1
  261. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  262. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  263. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  264. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  265. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  266. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  267. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  268. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  269. package/__chunks__/{chunk-RRWTMIBI.js → chunk-242CJUR6.js} +2 -2
  270. package/__chunks__/{chunk-5N2YNRY3.js → chunk-2A35GSZR.js} +2 -2
  271. package/__chunks__/{chunk-ZS426J3D.js → chunk-2AAIALWN.js} +2 -2
  272. package/__chunks__/{chunk-MD6OEQ2D.js → chunk-2BRDJQFQ.js} +2 -2
  273. package/__chunks__/chunk-2CEXAXAE.js +2 -0
  274. package/__chunks__/{chunk-RDOTLBVF.js → chunk-2JSTPZ5D.js} +2 -2
  275. package/__chunks__/{chunk-WMKHNU4T.js → chunk-2KUT5MZ5.js} +2 -2
  276. package/__chunks__/{chunk-LM2X5J7S.js → chunk-2LEZNJ7P.js} +2 -2
  277. package/__chunks__/{chunk-CKE5UJXH.js → chunk-2MSJDOLX.js} +2 -2
  278. package/__chunks__/{chunk-EADX4RSQ.js → chunk-2VLZVH3I.js} +2 -2
  279. package/__chunks__/{chunk-MH4WWKIE.js → chunk-2XIINQWJ.js} +2 -2
  280. package/__chunks__/{chunk-T2GIBCBK.js → chunk-3DEE6PDH.js} +2 -2
  281. package/__chunks__/chunk-3KXYNLZK.js +2 -0
  282. package/__chunks__/{chunk-M6WPI6CC.js → chunk-3LAVGDDB.js} +2 -2
  283. package/__chunks__/chunk-3NNYBAR4.js +2 -0
  284. package/__chunks__/{chunk-64LOEOBB.js → chunk-3PL3MDJM.js} +2 -2
  285. package/__chunks__/{chunk-56X4QTMC.js → chunk-3QUSSTB6.js} +2 -2
  286. package/__chunks__/{chunk-YCHG4VXX.js → chunk-3RKKNHDY.js} +2 -2
  287. package/__chunks__/{chunk-M4AU77VN.js → chunk-3RRGCKXO.js} +2 -2
  288. package/__chunks__/{chunk-IHO2WP5U.js → chunk-3RZGMEDJ.js} +2 -2
  289. package/__chunks__/{chunk-7H3BR74A.js → chunk-3S56P67O.js} +2 -2
  290. package/__chunks__/{chunk-FYBPLGRA.js → chunk-3SG2CFO2.js} +2 -2
  291. package/__chunks__/{chunk-ECW7UB5F.js → chunk-3TM3IQNQ.js} +2 -2
  292. package/__chunks__/{chunk-NEZ3RF4Y.js → chunk-3UQUOKSH.js} +2 -2
  293. package/__chunks__/{chunk-EILRIH4X.js → chunk-3XGAP6F3.js} +2 -2
  294. package/__chunks__/{chunk-3G6DSWKM.js → chunk-3ZIAHDH5.js} +2 -2
  295. package/__chunks__/{chunk-KXKIEWNJ.js → chunk-477NUM3U.js} +2 -2
  296. package/__chunks__/chunk-4B4U6TLF.js +2 -0
  297. package/__chunks__/chunk-4BUROECY.js +2 -0
  298. package/__chunks__/{chunk-VEVQUFPS.js → chunk-4D4C3VWU.js} +2 -2
  299. package/__chunks__/chunk-4H7QFP32.js +2 -0
  300. package/__chunks__/{chunk-FKHMRQMX.js → chunk-4HQ7C6HV.js} +2 -2
  301. package/__chunks__/{chunk-YTJETXYW.js → chunk-4IH3PGIO.js} +2 -2
  302. package/__chunks__/{chunk-YQ7HWHIA.js → chunk-4JIC2C3M.js} +2 -2
  303. package/__chunks__/{chunk-IM3CLKAP.js → chunk-4TDJGFAB.js} +2 -2
  304. package/__chunks__/{chunk-DFJIVFKS.js → chunk-4UG3DULI.js} +2 -2
  305. package/__chunks__/{chunk-RNKUUHVC.js → chunk-4ZKGD7SC.js} +2 -2
  306. package/__chunks__/{chunk-IQBDRH6P.js → chunk-4ZRBLBZJ.js} +2 -2
  307. package/__chunks__/chunk-52KNFYBL.js +2 -0
  308. package/__chunks__/{chunk-RTP7T7AS.js → chunk-532HFZSI.js} +2 -2
  309. package/__chunks__/{chunk-M2UKB3C5.js → chunk-55262DQ2.js} +2 -2
  310. package/__chunks__/{chunk-VJNUI6MG.js → chunk-5726CQ4P.js} +2 -2
  311. package/__chunks__/{chunk-3R43SDWJ.js → chunk-57OZC7D7.js} +2 -2
  312. package/__chunks__/{chunk-44Q37HVJ.js → chunk-5CDXMBPJ.js} +2 -2
  313. package/__chunks__/{chunk-NX7YFRSI.js → chunk-5EKZOKOX.js} +2 -2
  314. package/__chunks__/{chunk-6YLMK3UC.js → chunk-5HBPP3NR.js} +2 -2
  315. package/__chunks__/chunk-5JQXLGTT.js +2 -0
  316. package/__chunks__/{chunk-EVQDKCMG.js → chunk-5KF2FF5Y.js} +2 -2
  317. package/__chunks__/{chunk-3HOANVSV.js → chunk-5VIVALTC.js} +2 -2
  318. package/__chunks__/chunk-5WMQYBEG.js +2 -0
  319. package/__chunks__/chunk-5YBLNHWF.js +2 -0
  320. package/__chunks__/{chunk-I6XFKGDN.js → chunk-5YLVIU7B.js} +2 -2
  321. package/__chunks__/{chunk-NAZBK3GN.js → chunk-62GS7625.js} +2 -2
  322. package/__chunks__/{chunk-LHNLSNQU.js → chunk-63NFPLU7.js} +2 -2
  323. package/__chunks__/{chunk-RBDMFF6E.js → chunk-65KDW3EF.js} +2 -2
  324. package/__chunks__/{chunk-F5WSCXFU.js → chunk-6DH3KWPU.js} +2 -2
  325. package/__chunks__/{chunk-CY2S7XTY.js → chunk-6MOCHGD5.js} +2 -2
  326. package/__chunks__/{chunk-L4Z3BQZW.js → chunk-6NTPCT3W.js} +2 -2
  327. package/__chunks__/{chunk-X3ZQ3THA.js → chunk-6O6SQMZU.js} +2 -2
  328. package/__chunks__/{chunk-D37HRXPV.js → chunk-6QUVE6WS.js} +2 -2
  329. package/__chunks__/chunk-6WCQBYVF.js +2 -0
  330. package/__chunks__/{chunk-OBP3JDOC.js → chunk-6X6BSM5V.js} +2 -2
  331. package/__chunks__/{chunk-7H4ULUPJ.js → chunk-6YCA3KB7.js} +2 -2
  332. package/__chunks__/{chunk-TP6J2ABW.js → chunk-72QZ7UGQ.js} +2 -2
  333. package/__chunks__/{chunk-DUTSLGBI.js → chunk-777APJL5.js} +2 -2
  334. package/__chunks__/{chunk-BIQ6OGQ3.js → chunk-7BP6OIQF.js} +2 -2
  335. package/__chunks__/{chunk-5FTSMKPK.js → chunk-7CZPDSGE.js} +2 -2
  336. package/__chunks__/{chunk-22PT6NA7.js → chunk-7JWC6XZR.js} +2 -2
  337. package/__chunks__/{chunk-7XXM6L2L.js → chunk-7KXAHTDE.js} +2 -2
  338. package/__chunks__/chunk-7MPDVVDF.js +2 -0
  339. package/__chunks__/{chunk-JNVJFHUY.js → chunk-7VS667FW.js} +2 -2
  340. package/__chunks__/{chunk-YMDYOELW.js → chunk-7YS5H53I.js} +2 -2
  341. package/__chunks__/{chunk-KIMHZJPO.js → chunk-A435EVZJ.js} +2 -2
  342. package/__chunks__/{chunk-ZLE75TP7.js → chunk-A4IHPAQE.js} +2 -2
  343. package/__chunks__/chunk-A5KHTEEG.js +2 -0
  344. package/__chunks__/{chunk-LXIWPNJL.js → chunk-AA635XBD.js} +2 -2
  345. package/__chunks__/{chunk-J4MWQZGY.js → chunk-AFT25M44.js} +2 -2
  346. package/__chunks__/chunk-AKDCP4Z5.js +2 -0
  347. package/__chunks__/{chunk-LTZD7JAO.js → chunk-AKUXNBPC.js} +2 -2
  348. package/__chunks__/{chunk-5UV246GL.js → chunk-ALCKJUKQ.js} +2 -2
  349. package/__chunks__/{chunk-XQIVC3XR.js → chunk-AO23PQ7L.js} +2 -2
  350. package/__chunks__/{chunk-4LA5B4CE.js → chunk-ARPY4UXF.js} +2 -2
  351. package/__chunks__/{chunk-2KHNWHDK.js → chunk-AUQWY7L4.js} +2 -2
  352. package/__chunks__/{chunk-FIZIO6ZS.js → chunk-AZMT7E7M.js} +2 -2
  353. package/__chunks__/{chunk-36AXMBNU.js → chunk-B23EXDNI.js} +2 -2
  354. package/__chunks__/{chunk-RCWFHUJN.js → chunk-B5EQPJJ5.js} +2 -2
  355. package/__chunks__/{chunk-VCGMKRNB.js → chunk-B5R5MQQF.js} +2 -2
  356. package/__chunks__/{chunk-BDI3NBNL.js → chunk-B6MM5QAD.js} +2 -2
  357. package/__chunks__/{chunk-ICD6A2RX.js → chunk-BAGA6AIQ.js} +2 -2
  358. package/__chunks__/{chunk-MKHY5K5L.js → chunk-BIA4DCJJ.js} +2 -2
  359. package/__chunks__/{chunk-TM6MD7QW.js → chunk-BJGKFT37.js} +2 -2
  360. package/__chunks__/{chunk-3QMPE6B6.js → chunk-BRFJ6VVZ.js} +2 -2
  361. package/__chunks__/{chunk-4PYOCGXG.js → chunk-BSGJ2PO7.js} +2 -2
  362. package/__chunks__/{chunk-YX4HKRFQ.js → chunk-BVRY25MQ.js} +2 -2
  363. package/__chunks__/chunk-BXNKOVQV.js +2 -0
  364. package/__chunks__/{chunk-EXAOKOTU.js → chunk-BZ2JRNMB.js} +2 -2
  365. package/__chunks__/{chunk-P7CEQ4MB.js → chunk-C5T5IKW5.js} +2 -2
  366. package/__chunks__/chunk-C64A5PKW.js +2 -0
  367. package/__chunks__/{chunk-7GT4S2V6.js → chunk-C6E3B2NS.js} +2 -2
  368. package/__chunks__/{chunk-J72BS2NZ.js → chunk-C7X3EAOL.js} +2 -2
  369. package/__chunks__/{chunk-ZYHSGRBQ.js → chunk-CAZ5SKFI.js} +2 -2
  370. package/__chunks__/{chunk-PZ5BCJK6.js → chunk-CDLAQMNQ.js} +2 -2
  371. package/__chunks__/{chunk-3DXHKUPG.js → chunk-CJWT7GUT.js} +2 -2
  372. package/__chunks__/{chunk-5E7WNDIG.js → chunk-CP7EEONG.js} +2 -2
  373. package/__chunks__/{chunk-JUJLPMBE.js → chunk-CRGQ2KHM.js} +2 -2
  374. package/__chunks__/{chunk-E2TOO7O2.js → chunk-D3ZSPYMX.js} +2 -2
  375. package/__chunks__/{chunk-D26MKFO2.js → chunk-DEFRSBCY.js} +2 -2
  376. package/__chunks__/{chunk-YWMGWIUP.js → chunk-DMLDWFUW.js} +2 -2
  377. package/__chunks__/{chunk-4BWFNMDX.js → chunk-DNWWNDH5.js} +2 -2
  378. package/__chunks__/{chunk-2ESQZF2Q.js → chunk-DNYGMAKE.js} +2 -2
  379. package/__chunks__/{chunk-246SEHGN.js → chunk-DQYVUXSM.js} +2 -2
  380. package/__chunks__/{chunk-P76QWHGI.js → chunk-DSYQ43KC.js} +2 -2
  381. package/__chunks__/{chunk-EAZPPMA6.js → chunk-DVNFSDRK.js} +2 -2
  382. package/__chunks__/{chunk-7TLR4K2V.js → chunk-DWGVZFZF.js} +2 -2
  383. package/__chunks__/{chunk-5ATFRVJN.js → chunk-DWPQIHUF.js} +2 -2
  384. package/__chunks__/{chunk-PBPXQA2G.js → chunk-DX6ZH5RY.js} +2 -2
  385. package/__chunks__/{chunk-LJLRKGBK.js → chunk-EABVABIA.js} +2 -2
  386. package/__chunks__/{chunk-5AQRJMXO.js → chunk-ED7RVBG7.js} +2 -2
  387. package/__chunks__/{chunk-AMVYU7WI.js → chunk-EDVWNDPS.js} +2 -2
  388. package/__chunks__/{chunk-WTOC2FON.js → chunk-EIXYSJWB.js} +2 -2
  389. package/__chunks__/{chunk-2Y22XOCG.js → chunk-EMHICRRK.js} +2 -2
  390. package/__chunks__/{chunk-4UXTHYXU.js → chunk-EMI7LPW2.js} +2 -2
  391. package/__chunks__/{chunk-DLNLDLF7.js → chunk-EOZIJXR7.js} +2 -2
  392. package/__chunks__/{chunk-4I2APNV5.js → chunk-EPDNB4BC.js} +2 -2
  393. package/__chunks__/{chunk-NHZCNTWQ.js → chunk-EPYJB33O.js} +2 -2
  394. package/__chunks__/{chunk-VAC7YU5Q.js → chunk-EWKHXMGK.js} +2 -2
  395. package/__chunks__/{chunk-N4C77FVC.js → chunk-EYHRTJNZ.js} +2 -2
  396. package/__chunks__/{chunk-HKBNGR7Q.js → chunk-EZPGGROF.js} +2 -2
  397. package/__chunks__/{chunk-YPEQT7GI.js → chunk-F6F6VPKV.js} +2 -2
  398. package/__chunks__/chunk-FBEJ7MUO.js +2 -0
  399. package/__chunks__/chunk-FDBB4BNW.js +2 -0
  400. package/__chunks__/{chunk-TN72SUBG.js → chunk-FELZ2VV7.js} +2 -2
  401. package/__chunks__/{chunk-HXE6NLQ2.js → chunk-FEXBJFXF.js} +2 -2
  402. package/__chunks__/chunk-FGKIRLPF.js +2 -0
  403. package/__chunks__/{chunk-GDIHH5HK.js → chunk-FPTP67CR.js} +2 -2
  404. package/__chunks__/{chunk-5GOKSAGH.js → chunk-FQGT3YF6.js} +2 -2
  405. package/__chunks__/{chunk-XPJVGDHL.js → chunk-FRS4T3C4.js} +2 -2
  406. package/__chunks__/{chunk-6AXGBJH4.js → chunk-FTSXWCDC.js} +2 -2
  407. package/__chunks__/{chunk-NW6NNISJ.js → chunk-FYXQ53XP.js} +2 -2
  408. package/__chunks__/chunk-G74QR67S.js +2 -0
  409. package/__chunks__/chunk-GARHCMQR.js +2 -0
  410. package/__chunks__/{chunk-RVL37TYX.js → chunk-GFRTWV7P.js} +2 -2
  411. package/__chunks__/{chunk-2SGFIWGZ.js → chunk-GIP6O6JD.js} +2 -2
  412. package/__chunks__/{chunk-MAAACFTW.js → chunk-GISIHXS4.js} +2 -2
  413. package/__chunks__/{chunk-PCAPVGX3.js → chunk-GN5R5HKZ.js} +2 -2
  414. package/__chunks__/{chunk-PFYMT3RI.js → chunk-GXUC46CH.js} +2 -2
  415. package/__chunks__/chunk-GZXCPZRM.js +2 -0
  416. package/__chunks__/{chunk-EHVBLSNJ.js → chunk-H24EV5J7.js} +2 -2
  417. package/__chunks__/{chunk-62M65B2P.js → chunk-H2LLST74.js} +2 -2
  418. package/__chunks__/{chunk-AQR7KYKE.js → chunk-HBPREG4S.js} +2 -2
  419. package/__chunks__/chunk-HEFM6TZA.js +2 -0
  420. package/__chunks__/chunk-HEOKCABE.js +2 -0
  421. package/__chunks__/{chunk-LHWB2X4A.js → chunk-HKWKPJHM.js} +2 -2
  422. package/__chunks__/{chunk-ICG3XO37.js → chunk-HRVS4S4Z.js} +2 -2
  423. package/__chunks__/{chunk-EDHR3GMD.js → chunk-HSLWVMJ4.js} +2 -2
  424. package/__chunks__/{chunk-QKTDH42S.js → chunk-HTUBVWSA.js} +2 -2
  425. package/__chunks__/{chunk-ZTAS6YWX.js → chunk-HVDLYVLU.js} +2 -2
  426. package/__chunks__/{chunk-T4NWU3CB.js → chunk-HWBJDXBQ.js} +2 -2
  427. package/__chunks__/{chunk-JE7EFQMY.js → chunk-HWFEESVS.js} +2 -2
  428. package/__chunks__/{chunk-VQJBHZGL.js → chunk-HWKCA6LC.js} +2 -2
  429. package/__chunks__/{chunk-X6CX6GXN.js → chunk-HXGBHMYD.js} +2 -2
  430. package/__chunks__/{chunk-L5QWHVTL.js → chunk-HXYW3WRC.js} +2 -2
  431. package/__chunks__/{chunk-TQXF6T7J.js → chunk-HY2K2QFX.js} +2 -2
  432. package/__chunks__/{chunk-L7NSUPS6.js → chunk-HZAZM33R.js} +2 -2
  433. package/__chunks__/{chunk-V7ZDSJTI.js → chunk-I2S2NFBL.js} +2 -2
  434. package/__chunks__/chunk-I36IFK5J.js +2 -0
  435. package/__chunks__/{chunk-GSBAEY3W.js → chunk-I4T5U7S5.js} +2 -2
  436. package/__chunks__/{chunk-A2M2VFBY.js → chunk-I5ZN7EGX.js} +2 -2
  437. package/__chunks__/{chunk-3QHJV2VI.js → chunk-I7DQGMFK.js} +2 -2
  438. package/__chunks__/{chunk-MOZNHFBB.js → chunk-IBYLVRHS.js} +2 -2
  439. package/__chunks__/{chunk-OA6OND4Y.js → chunk-IC3YFVKX.js} +2 -2
  440. package/__chunks__/chunk-IDYBQVSU.js +2 -0
  441. package/__chunks__/chunk-IGOSG6FO.js +2 -0
  442. package/__chunks__/{chunk-44AVIBLJ.js → chunk-ILU3DBNS.js} +2 -2
  443. package/__chunks__/chunk-IQJJ526U.js +2 -0
  444. package/__chunks__/{chunk-KEZQJXFV.js → chunk-ITT3WMEV.js} +2 -2
  445. package/__chunks__/chunk-IVWKEGZD.js +2 -0
  446. package/__chunks__/{chunk-4FXLLH3L.js → chunk-IW6ABH2I.js} +2 -2
  447. package/__chunks__/chunk-J7Q73Y4V.js +2 -0
  448. package/__chunks__/{chunk-5MALZKZK.js → chunk-JAFNILFG.js} +2 -2
  449. package/__chunks__/chunk-JDGRTGWL.js +2 -0
  450. package/__chunks__/chunk-JGQO3IYF.js +2 -0
  451. package/__chunks__/{chunk-75VBNZAB.js → chunk-JIYXCHYX.js} +2 -2
  452. package/__chunks__/chunk-JLKYKCSN.js +2 -0
  453. package/__chunks__/chunk-JQ53BADJ.js +2 -0
  454. package/__chunks__/chunk-JUW7GXJF.js +2 -0
  455. package/__chunks__/{chunk-FBBLGMXR.js → chunk-JX5Y3ZIO.js} +2 -2
  456. package/__chunks__/chunk-JZBGAPJR.js +2 -0
  457. package/__chunks__/{chunk-2PYRCFCQ.js → chunk-K6U7MBQO.js} +2 -2
  458. package/__chunks__/{chunk-PDFJN6WP.js → chunk-KAAZLV7W.js} +2 -2
  459. package/__chunks__/{chunk-4OP4Z6I6.js → chunk-KBBVEDM5.js} +2 -2
  460. package/__chunks__/{chunk-FXVDSQXK.js → chunk-KBPYTTIO.js} +2 -2
  461. package/__chunks__/{chunk-7RPKDJ5Z.js → chunk-KDIDLBRX.js} +2 -2
  462. package/__chunks__/chunk-KEKIJOPE.js +2 -0
  463. package/__chunks__/chunk-KFFRSEAE.js +2 -0
  464. package/__chunks__/chunk-KTZAMM4J.js +2 -0
  465. package/__chunks__/{chunk-LVTOOTPF.js → chunk-KVZHA7V5.js} +2 -2
  466. package/__chunks__/{chunk-G43AFLNO.js → chunk-KZRFY5LH.js} +2 -2
  467. package/__chunks__/chunk-LBI2QHIC.js +2 -0
  468. package/__chunks__/{chunk-2OXGDYFE.js → chunk-LC3ST64P.js} +2 -2
  469. package/__chunks__/{chunk-Y6WYF4XK.js → chunk-LGL2JKVZ.js} +2 -2
  470. package/__chunks__/chunk-LITJR4IX.js +2 -0
  471. package/__chunks__/{chunk-HSLIIOKJ.js → chunk-LJOIVUJD.js} +2 -2
  472. package/__chunks__/{chunk-PGGJ62LE.js → chunk-LLX6H3UV.js} +2 -2
  473. package/__chunks__/{chunk-P6XLFBZ5.js → chunk-LSSXOVRE.js} +2 -2
  474. package/__chunks__/{chunk-JPOLLVPV.js → chunk-LWQHAZ7E.js} +2 -2
  475. package/__chunks__/{chunk-4F4KSSIL.js → chunk-LX6S6HNC.js} +2 -2
  476. package/__chunks__/{chunk-RGVMK6C6.js → chunk-LYDWQJ5P.js} +2 -2
  477. package/__chunks__/{chunk-2JKVGBE6.js → chunk-MANDDFQY.js} +2 -2
  478. package/__chunks__/{chunk-WGA6FNGN.js → chunk-MAUJ5UTG.js} +2 -2
  479. package/__chunks__/chunk-MBI6VDV3.js +2 -0
  480. package/__chunks__/{chunk-GFQF6IHJ.js → chunk-MC3XVJOQ.js} +2 -2
  481. package/__chunks__/chunk-MC63KUID.js +2 -0
  482. package/__chunks__/{chunk-DV275NBI.js → chunk-MHCHGTSP.js} +2 -2
  483. package/__chunks__/{chunk-6JAZNLQP.js → chunk-MINDLNCW.js} +2 -2
  484. package/__chunks__/chunk-MJDDTRII.js +2 -0
  485. package/__chunks__/{chunk-X246ANSJ.js → chunk-MLD7FQRY.js} +2 -2
  486. package/__chunks__/{chunk-OLPSFO4K.js → chunk-MRMOYPUQ.js} +2 -2
  487. package/__chunks__/chunk-N32MM5M3.js +2 -0
  488. package/__chunks__/{chunk-Y2TJIVHS.js → chunk-N3KCMZJ3.js} +2 -2
  489. package/__chunks__/{chunk-4OOQBZRK.js → chunk-NGIUEP6P.js} +2 -2
  490. package/__chunks__/{chunk-PPVI5H5Y.js → chunk-NH26LROD.js} +2 -2
  491. package/__chunks__/chunk-NIRMGV2J.js +2 -0
  492. package/__chunks__/{chunk-Y72LY7C5.js → chunk-NL7VHCIM.js} +2 -2
  493. package/__chunks__/{chunk-76CU64CP.js → chunk-NLQQ6U4B.js} +2 -2
  494. package/__chunks__/{chunk-HERDTTOE.js → chunk-NMMQZSX2.js} +2 -2
  495. package/__chunks__/{chunk-EYN23AB4.js → chunk-NP3IVGAX.js} +2 -2
  496. package/__chunks__/{chunk-LCW2GIUZ.js → chunk-NPG2FF6T.js} +2 -2
  497. package/__chunks__/{chunk-FXDEJQ7G.js → chunk-NSSHIAWM.js} +2 -2
  498. package/__chunks__/{chunk-TNUPMR6F.js → chunk-O245T2HR.js} +2 -2
  499. package/__chunks__/chunk-O6HNLAAX.js +2 -0
  500. package/__chunks__/{chunk-E4E22VIL.js → chunk-O7UIFSVF.js} +2 -2
  501. package/__chunks__/{chunk-LNWN32Y5.js → chunk-OEZR3HBU.js} +2 -2
  502. package/__chunks__/{chunk-AZRBHZKN.js → chunk-OHSFIJ4R.js} +2 -2
  503. package/__chunks__/chunk-OKYUAN2G.js +2 -0
  504. package/__chunks__/{chunk-UA6UTHPC.js → chunk-OLXELT4A.js} +2 -2
  505. package/__chunks__/{chunk-X5B5O2NP.js → chunk-OQAMJGKT.js} +2 -2
  506. package/__chunks__/{chunk-R5KYO4GC.js → chunk-OR6NJ6W4.js} +2 -2
  507. package/__chunks__/chunk-OSD627KI.js +2 -0
  508. package/__chunks__/{chunk-GJVPDJAP.js → chunk-OSJIBHLT.js} +2 -2
  509. package/__chunks__/{chunk-BNPU5SDJ.js → chunk-OW7Y2O7T.js} +2 -2
  510. package/__chunks__/{chunk-SJWVYQT3.js → chunk-P3F6Z2PW.js} +2 -2
  511. package/__chunks__/{chunk-KBCXYFOT.js → chunk-P4TDBATP.js} +2 -2
  512. package/__chunks__/chunk-P5UKMHMI.js +2 -0
  513. package/__chunks__/{chunk-7ATGSBHG.js → chunk-P5UTD7RO.js} +2 -2
  514. package/__chunks__/{chunk-56WM7K52.js → chunk-P6MQR7L3.js} +2 -2
  515. package/__chunks__/{chunk-2TXWSZWW.js → chunk-P6YRKYPP.js} +2 -2
  516. package/__chunks__/{chunk-VGUJJYVO.js → chunk-PCTAN22W.js} +2 -2
  517. package/__chunks__/{chunk-YGOA44Q7.js → chunk-PLUO3C2O.js} +2 -2
  518. package/__chunks__/chunk-PQZ23AED.js +2 -0
  519. package/__chunks__/{chunk-6NLVMNUD.js → chunk-PRHH63KO.js} +2 -2
  520. package/__chunks__/{chunk-3TSJUXNP.js → chunk-PS45HP2Y.js} +2 -2
  521. package/__chunks__/{chunk-EV7FOZVK.js → chunk-PSDPEZ2M.js} +2 -2
  522. package/__chunks__/{chunk-3HBOCZWQ.js → chunk-PVAFRFU7.js} +2 -2
  523. package/__chunks__/{chunk-MK4NDZQ7.js → chunk-PVTSAR6C.js} +2 -2
  524. package/__chunks__/{chunk-RSPJ2JAK.js → chunk-Q4OZKY2O.js} +2 -2
  525. package/__chunks__/{chunk-NDGTRYOP.js → chunk-Q6E3BQK2.js} +2 -2
  526. package/__chunks__/{chunk-AFUI24NN.js → chunk-Q6GKGEEA.js} +2 -2
  527. package/__chunks__/{chunk-M3LCFBMH.js → chunk-Q6QZGZZ5.js} +2 -2
  528. package/__chunks__/{chunk-HUJSFBIM.js → chunk-QAFMVLVK.js} +2 -2
  529. package/__chunks__/{chunk-ALNUI254.js → chunk-QAI3LFAC.js} +2 -2
  530. package/__chunks__/{chunk-MIGM4ROB.js → chunk-QD6E6E53.js} +2 -2
  531. package/__chunks__/{chunk-53KTGHH2.js → chunk-QDOXKVYD.js} +2 -2
  532. package/__chunks__/chunk-QH5BX7L6.js +2 -0
  533. package/__chunks__/{chunk-UYPYL6CD.js → chunk-QHDY6CQE.js} +2 -2
  534. package/__chunks__/chunk-QJDNPNQR.js +2 -0
  535. package/__chunks__/{chunk-ZTVGUU2U.js → chunk-QKRXCPON.js} +2 -2
  536. package/__chunks__/{chunk-2QXU5RRK.js → chunk-QMVRQULY.js} +2 -2
  537. package/__chunks__/{chunk-44P3IBWY.js → chunk-QNGDUQSN.js} +2 -2
  538. package/__chunks__/{chunk-E3V2ICD3.js → chunk-QOEUI5RG.js} +2 -2
  539. package/__chunks__/{chunk-CFAIVCUS.js → chunk-QON3PPGY.js} +2 -2
  540. package/__chunks__/{chunk-WVGL6RB3.js → chunk-QQ5DM7Y5.js} +2 -2
  541. package/__chunks__/{chunk-VAA3NKK5.js → chunk-QXU4PTHU.js} +1 -1
  542. package/__chunks__/{chunk-DS2W7H3Y.js → chunk-QYL6DOTM.js} +2 -2
  543. package/__chunks__/chunk-QYXDTGKM.js +2 -0
  544. package/__chunks__/chunk-R4A35O3P.js +2 -0
  545. package/__chunks__/{chunk-ZZBNCZS6.js → chunk-R66EXTYX.js} +2 -2
  546. package/__chunks__/{chunk-FL6IEO3I.js → chunk-RA2ZHW6F.js} +2 -2
  547. package/__chunks__/{chunk-PMHR4YNO.js → chunk-RAI44GSE.js} +2 -2
  548. package/__chunks__/{chunk-ZIQY6FYT.js → chunk-RCXLUOYD.js} +2 -2
  549. package/__chunks__/{chunk-T6OLACWP.js → chunk-RFTARGNU.js} +2 -2
  550. package/__chunks__/{chunk-DAPDFYLY.js → chunk-RHK543DL.js} +2 -2
  551. package/__chunks__/{chunk-CMKVGSTT.js → chunk-RHLQG7UG.js} +2 -2
  552. package/__chunks__/{chunk-M6Y5XTW7.js → chunk-RI3AGJIX.js} +2 -2
  553. package/__chunks__/{chunk-DLFK5GXR.js → chunk-RIOJZJ2G.js} +2 -2
  554. package/__chunks__/{chunk-LXY4CTQG.js → chunk-RJX4CGCM.js} +2 -2
  555. package/__chunks__/{chunk-OSPS2MX3.js → chunk-RNPFJZCY.js} +2 -2
  556. package/__chunks__/{chunk-QAGNUTA2.js → chunk-RPTPB55O.js} +2 -2
  557. package/__chunks__/chunk-RQB72OQA.js +2 -0
  558. package/__chunks__/chunk-RQJLGI5S.js +2 -0
  559. package/__chunks__/{chunk-YAXIY67D.js → chunk-RTLI55H6.js} +2 -2
  560. package/__chunks__/{chunk-LZNHTYWB.js → chunk-RTWDLQ5G.js} +2 -2
  561. package/__chunks__/chunk-RXTIYUEP.js +2 -0
  562. package/__chunks__/{chunk-UAHQ2SO7.js → chunk-RYWUTGX5.js} +2 -2
  563. package/__chunks__/{chunk-UVQOWHSF.js → chunk-RZSB6MLX.js} +2 -2
  564. package/__chunks__/{chunk-PNPENM4X.js → chunk-S2XM3C6X.js} +2 -2
  565. package/__chunks__/{chunk-VQH4762S.js → chunk-S7TA34AP.js} +2 -2
  566. package/__chunks__/{chunk-4NEOVISX.js → chunk-SBPWVU3I.js} +2 -2
  567. package/__chunks__/{chunk-NAMMQBYM.js → chunk-SFBVL6WV.js} +2 -2
  568. package/__chunks__/{chunk-GL6S7JVA.js → chunk-SKAASQXQ.js} +2 -2
  569. package/__chunks__/chunk-SRTF4Y22.js +2 -0
  570. package/__chunks__/{chunk-C5MRLNFO.js → chunk-SUH5BOLV.js} +2 -2
  571. package/__chunks__/{chunk-KWQYQABF.js → chunk-SVL4RA3G.js} +2 -2
  572. package/__chunks__/{chunk-E424N6XF.js → chunk-T74KGF7Z.js} +2 -2
  573. package/__chunks__/{chunk-ZBR4KDPM.js → chunk-TB7OQ47G.js} +2 -2
  574. package/__chunks__/chunk-TG7HMQFF.js +2 -0
  575. package/__chunks__/{chunk-74UYR6LB.js → chunk-TGKHVPR3.js} +2 -2
  576. package/__chunks__/chunk-TI3UJZ3C.js +2 -0
  577. package/__chunks__/{chunk-DFOHKHT4.js → chunk-TPADIHLD.js} +2 -2
  578. package/__chunks__/{chunk-PD2I24Z7.js → chunk-TQFXVPA2.js} +2 -2
  579. package/__chunks__/{chunk-XLMVWIU5.js → chunk-TVLREG4W.js} +2 -2
  580. package/__chunks__/{chunk-KESMDRSX.js → chunk-U6CA3MQW.js} +2 -2
  581. package/__chunks__/{chunk-HUZ2SLMM.js → chunk-UDPZFXZN.js} +2 -2
  582. package/__chunks__/chunk-UFBTFMXX.js +2 -0
  583. package/__chunks__/{chunk-QOENYTMH.js → chunk-UFKNQ5AL.js} +2 -2
  584. package/__chunks__/{chunk-FASGOGVV.js → chunk-UKTRBAVX.js} +2 -2
  585. package/__chunks__/{chunk-GILBZ5N5.js → chunk-UNOJU6A6.js} +2 -2
  586. package/__chunks__/{chunk-KLATJCZB.js → chunk-UVPCMOMP.js} +2 -2
  587. package/__chunks__/{chunk-RFSDXWQQ.js → chunk-UY6JSGCH.js} +2 -2
  588. package/__chunks__/{chunk-Q5SVO3WR.js → chunk-V73354AM.js} +2 -2
  589. package/__chunks__/{chunk-BXRPYCNE.js → chunk-VA7FKW7S.js} +2 -2
  590. package/__chunks__/{chunk-CYS2IXO2.js → chunk-VASTIT6L.js} +2 -2
  591. package/__chunks__/{chunk-K4VM6FZ4.js → chunk-VCV7ZROC.js} +2 -2
  592. package/__chunks__/{chunk-6A7W2TXX.js → chunk-VDGWMDNA.js} +2 -2
  593. package/__chunks__/{chunk-N76K57VM.js → chunk-VEBHYBC6.js} +2 -2
  594. package/__chunks__/chunk-VI7QBYCT.js +2 -0
  595. package/__chunks__/{chunk-VNYQH2ON.js → chunk-VIVYX6FF.js} +2 -2
  596. package/__chunks__/{chunk-Z5QDKMS7.js → chunk-VLNXW72K.js} +2 -2
  597. package/__chunks__/{chunk-KUNHDU36.js → chunk-VMLX26MB.js} +2 -2
  598. package/__chunks__/{chunk-NTA37WQV.js → chunk-VMVVBCG7.js} +2 -2
  599. package/__chunks__/{chunk-WAQEGKZR.js → chunk-VNJ33NI6.js} +2 -2
  600. package/__chunks__/{chunk-IKW3DAWX.js → chunk-VTKTCTGA.js} +2 -2
  601. package/__chunks__/{chunk-A6YQKC67.js → chunk-VTZ25O2F.js} +2 -2
  602. package/__chunks__/{chunk-T5AVKKGO.js → chunk-W2DJZNLP.js} +2 -2
  603. package/__chunks__/chunk-W3P3O7UP.js +2 -0
  604. package/__chunks__/{chunk-OJPKJEWZ.js → chunk-W4XLHMUR.js} +2 -2
  605. package/__chunks__/{chunk-2WG2ZSS7.js → chunk-W52RV4NU.js} +2 -2
  606. package/__chunks__/chunk-W5YCFRWB.js +2 -0
  607. package/__chunks__/{chunk-TASLMLJ7.js → chunk-W7BJQQQH.js} +2 -2
  608. package/__chunks__/chunk-W7OEBOUI.js +2 -0
  609. package/__chunks__/{chunk-YVWKGYPC.js → chunk-WDM5FR2J.js} +2 -2
  610. package/__chunks__/{chunk-H6UT7BBH.js → chunk-WGK5PNIH.js} +2 -2
  611. package/__chunks__/{chunk-EH4XFZ3W.js → chunk-WINCYN7N.js} +2 -2
  612. package/__chunks__/{chunk-BBNBZJML.js → chunk-WJZM5J7G.js} +2 -2
  613. package/__chunks__/{chunk-OWU5LKYD.js → chunk-WKDFZDJ7.js} +2 -2
  614. package/__chunks__/{chunk-XI4DQOVR.js → chunk-WMTUIRUR.js} +2 -2
  615. package/__chunks__/{chunk-JOXFLKQW.js → chunk-WPXWVMHL.js} +2 -2
  616. package/__chunks__/{chunk-IBXN3OUH.js → chunk-WRTQXPPT.js} +2 -2
  617. package/__chunks__/chunk-WT4MNW3L.js +2 -0
  618. package/__chunks__/{chunk-VUQNWRKL.js → chunk-WTTKJ77Y.js} +2 -2
  619. package/__chunks__/{chunk-PV6CEGIJ.js → chunk-WURVMRB4.js} +2 -2
  620. package/__chunks__/chunk-X3QVIUJC.js +2 -0
  621. package/__chunks__/{chunk-EVMWZKPL.js → chunk-X7IRZILW.js} +2 -2
  622. package/__chunks__/chunk-XHJFHQNV.js +2 -0
  623. package/__chunks__/{chunk-KVEBZ64E.js → chunk-XJGZH377.js} +2 -2
  624. package/__chunks__/{chunk-KQMPAWOT.js → chunk-XL42WGIX.js} +2 -2
  625. package/__chunks__/chunk-XPJ2VZE6.js +2 -0
  626. package/__chunks__/chunk-XRRQGWJC.js +2 -0
  627. package/__chunks__/chunk-XS4FBMAJ.js +2 -0
  628. package/__chunks__/{chunk-TBU5R26G.js → chunk-XSXGHEFM.js} +2 -2
  629. package/__chunks__/{chunk-SFNPPJV7.js → chunk-XU3DELMD.js} +2 -2
  630. package/__chunks__/chunk-Y26CCIRN.js +2 -0
  631. package/__chunks__/chunk-Y2AZSMDD.js +2 -0
  632. package/__chunks__/chunk-Y3VZUWSW.js +2 -0
  633. package/__chunks__/{chunk-HX4PC472.js → chunk-Y5A6I4IN.js} +2 -2
  634. package/__chunks__/{chunk-6M6COMGR.js → chunk-Y67YELPX.js} +2 -2
  635. package/__chunks__/{chunk-WNPNT4Y7.js → chunk-YB74PTHG.js} +2 -2
  636. package/__chunks__/{chunk-NZL5SVFU.js → chunk-YDPRKDDZ.js} +2 -2
  637. package/__chunks__/{chunk-HUQIHTMA.js → chunk-YEBOHU6O.js} +2 -2
  638. package/__chunks__/{chunk-43WYWTGE.js → chunk-YGXQNLZV.js} +2 -2
  639. package/__chunks__/{chunk-5C7RNBQ2.js → chunk-YHGBLDCM.js} +2 -2
  640. package/__chunks__/{chunk-K3D2EAXQ.js → chunk-YLS6QKCU.js} +2 -2
  641. package/__chunks__/{chunk-IYGYW6W3.js → chunk-YNBOT4EO.js} +2 -2
  642. package/__chunks__/{chunk-3FIKWNRH.js → chunk-YPLINIJX.js} +2 -2
  643. package/__chunks__/{chunk-VHT7JIGD.js → chunk-YUCQBS4K.js} +2 -2
  644. package/__chunks__/{chunk-U2NRK2HN.js → chunk-ZAY442RT.js} +2 -2
  645. package/__chunks__/chunk-ZB2PG7MA.js +2 -0
  646. package/__chunks__/{chunk-Y3QVC5SN.js → chunk-ZBS5PFX5.js} +2 -2
  647. package/__chunks__/{chunk-BM2PLXVV.js → chunk-ZD6OPCYL.js} +2 -2
  648. package/__chunks__/{chunk-5XSBUUS2.js → chunk-ZKRG6BIT.js} +2 -2
  649. package/__chunks__/{chunk-TI6Y3EAY.js → chunk-ZLYTZLNR.js} +2 -2
  650. package/__chunks__/{chunk-ZTMYTCLL.js → chunk-ZLYXKNJ7.js} +2 -2
  651. package/__chunks__/{chunk-HVFGI23K.js → chunk-ZOLN42OL.js} +2 -2
  652. package/__chunks__/chunk-ZVLCXTYU.js +2 -0
  653. package/__chunks__/{chunk-3Y6PD4XA.js → chunk-ZW6IPY3H.js} +2 -2
  654. package/__chunks__/chunk-ZXLAV6FU.js +2 -0
  655. package/__chunks__/{chunk-DO75TFLG.js → chunk-ZYYQP3ZY.js} +2 -2
  656. package/__commonjs/UI/ExplorerLink/ExplorerLink.js +1 -1
  657. package/__commonjs/UI/ExplorerLink/index.js +1 -1
  658. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +2 -2
  659. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +2 -2
  660. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +2 -2
  661. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +2 -2
  662. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +2 -2
  663. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
  664. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
  665. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +2 -2
  666. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +2 -2
  667. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
  668. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  669. package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
  670. package/__commonjs/UI/SignTransactionsModals/index.js +2 -2
  671. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +16 -16
  672. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +16 -16
  673. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +9 -9
  674. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  675. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  676. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  677. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +17 -17
  678. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +17 -17
  679. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +16 -16
  680. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +16 -16
  681. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  682. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +10 -10
  683. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +10 -10
  684. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  685. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +16 -16
  686. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +16 -16
  687. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  688. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  689. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +3 -3
  690. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +3 -3
  691. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +10 -10
  692. package/__commonjs/UI/TransactionsTable/components/AccountName.js +2 -2
  693. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +2 -2
  694. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +9 -9
  695. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +2 -2
  696. package/__commonjs/UI/TransactionsTable/components/index.js +11 -11
  697. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  698. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +6 -6
  699. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  700. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +2 -2
  701. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +2 -2
  702. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +11 -11
  703. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  704. package/__commonjs/UI/Trim/Trim.js +2 -2
  705. package/__commonjs/UI/Trim/index.js +2 -2
  706. package/__commonjs/UI/index.js +2 -2
  707. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +2 -2
  708. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/index.js +2 -2
  709. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +7 -7
  710. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +7 -7
  711. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  712. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  713. package/__commonjs/UI/ledger/index.js +1 -1
  714. package/__commonjs/__mocks__/index.js +4 -4
  715. package/__commonjs/__mocks__/utils/index.js +4 -4
  716. package/__commonjs/__mocks__/utils/renderWithProvider.js +4 -4
  717. package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  718. package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  719. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  720. package/__commonjs/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  721. package/__commonjs/constants/index.js +1 -1
  722. package/__commonjs/hooks/index.js +2 -2
  723. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  724. package/__commonjs/hooks/transactions/helpers/index.js +2 -2
  725. package/__commonjs/hooks/transactions/index.js +2 -2
  726. package/__commonjs/hooks/transactions/useCancelActionAndDispose.js +1 -1
  727. package/__commonjs/hooks/transactions/useSignTransactions.js +2 -2
  728. package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +3 -3
  729. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +2 -2
  730. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +2 -2
  731. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  732. package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  733. package/__commonjs/providers/experimentalWebViewProvider/index.js +1 -1
  734. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  735. package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  736. package/__commonjs/services/index.js +1 -1
  737. package/__commonjs/services/transactions/__tests__/transformAndSignTransactions.test.d.ts +2 -0
  738. package/__commonjs/services/transactions/__tests__/transformAndSignTransactions.test.js +9 -0
  739. package/__commonjs/services/transactions/index.js +1 -1
  740. package/__commonjs/services/transactions/sendBatchTransactions.js +1 -1
  741. package/__commonjs/services/transactions/sendBatchTransactions.test.js +1 -1
  742. package/__commonjs/services/transactions/sendTransactions.js +1 -1
  743. package/__commonjs/services/transactions/signTransactions.js +1 -1
  744. package/__commonjs/services/transactions/transformAndSignTransactions.js +1 -1
  745. package/__commonjs/services/transactions/utils/transformTransactionsToSign.js +1 -1
  746. package/__commonjs/types/transactions.types.d.ts +2 -0
  747. package/__commonjs/types/transactions.types.js +1 -1
  748. package/__commonjs/utils/index.js +1 -1
  749. package/__commonjs/utils/isInIframe.d.ts +2 -0
  750. package/__commonjs/utils/isInIframe.js +9 -0
  751. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  752. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  753. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +2 -2
  754. package/__commonjs/utils/transactions/index.js +1 -1
  755. package/__commonjs/wrappers/DappProvider/DappProvider.js +4 -4
  756. package/__commonjs/wrappers/DappProvider/index.js +4 -4
  757. package/__commonjs/wrappers/index.js +4 -4
  758. package/__mocks__/accountConfig.js +1 -1
  759. package/__mocks__/index.js +1 -1
  760. package/__mocks__/server.js +1 -1
  761. package/__mocks__/utils/index.js +1 -1
  762. package/__mocks__/utils/renderWithProvider.js +1 -1
  763. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  764. package/apiCalls/accounts/index.js +1 -1
  765. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  766. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  767. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  768. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  769. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  770. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  771. package/apiCalls/configuration/index.js +1 -1
  772. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  773. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  774. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  775. package/apiCalls/economics/index.js +1 -1
  776. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  777. package/apiCalls/index.js +1 -1
  778. package/apiCalls/tokens/getPersistedToken.js +1 -1
  779. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  780. package/apiCalls/transactions/index.js +1 -1
  781. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  782. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  783. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  784. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  785. package/apiCalls/utils/getScamAddressData.js +1 -1
  786. package/apiCalls/utils/index.js +1 -1
  787. package/apiCalls/utils/useApiFetch.js +1 -1
  788. package/components/LogoutListener/LogoutListener.js +1 -1
  789. package/components/LogoutListener/helpers/index.js +1 -1
  790. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  791. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  792. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  793. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  794. package/components/LogoutListener/index.js +1 -1
  795. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  796. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  797. package/components/ProviderInitializer/helpers/index.js +1 -1
  798. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  799. package/components/ProviderInitializer/hooks/index.js +1 -1
  800. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  801. package/components/ProviderInitializer/index.js +1 -1
  802. package/components/TransactionSender/TransactionSender.js +1 -1
  803. package/components/TransactionSender/index.js +1 -1
  804. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  805. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  806. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  807. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  808. package/components/TransactionsTracker/index.js +1 -1
  809. package/constants/index.js +1 -1
  810. package/constants/network.js +1 -1
  811. package/hooks/account/index.js +1 -1
  812. package/hooks/account/useGetAccount.js +1 -1
  813. package/hooks/account/useGetAccountInfo.js +1 -1
  814. package/hooks/account/useGetAccountProvider.js +1 -1
  815. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  816. package/hooks/account/useGetIsLoggedIn.js +1 -1
  817. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  818. package/hooks/account/useGetLoginInfo.js +1 -1
  819. package/hooks/account/useGetWebsocketEvent.js +1 -1
  820. package/hooks/economics/index.js +1 -1
  821. package/hooks/economics/useGetEgldPrice.js +1 -1
  822. package/hooks/index.js +1 -1
  823. package/hooks/login/helpers/clearInitiatedLogins.js +1 -1
  824. package/hooks/login/helpers/index.js +1 -1
  825. package/hooks/login/index.js +1 -1
  826. package/hooks/login/useCrossWindowLogin.js +1 -1
  827. package/hooks/login/useExtensionLogin.js +1 -1
  828. package/hooks/login/useGetModalLoginMethods.js +1 -1
  829. package/hooks/login/useIframeLogin.js +1 -1
  830. package/hooks/login/useLedgerLogin.js +1 -1
  831. package/hooks/login/useLoginService.js +1 -1
  832. package/hooks/login/useMetamaskLogin.js +1 -1
  833. package/hooks/login/useOperaLogin.js +1 -1
  834. package/hooks/login/usePasskeyLogin.js +1 -1
  835. package/hooks/login/useWalletConnectV2Login.js +1 -1
  836. package/hooks/login/useWebViewLogin.js +1 -1
  837. package/hooks/login/useWebWalletLogin.js +1 -1
  838. package/hooks/login/useXaliasLogin.js +1 -1
  839. package/hooks/signMessage/index.js +1 -1
  840. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  841. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  842. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  843. package/hooks/signMessage/useSignMessage.js +1 -1
  844. package/hooks/toasts/index.js +1 -1
  845. package/hooks/toasts/useGetToasts.js +1 -1
  846. package/hooks/toasts/useTransactionsToasts.js +1 -1
  847. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  848. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  849. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  850. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  851. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  852. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  853. package/hooks/transactions/batch/useGetBatches.js +1 -1
  854. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  855. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  856. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  857. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  858. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  859. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  860. package/hooks/transactions/helpers/index.js +1 -1
  861. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  862. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  863. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  864. package/hooks/transactions/index.js +1 -1
  865. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  866. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  867. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  868. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  869. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  870. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  871. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  872. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  873. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  874. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  875. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  876. package/hooks/transactions/useGetPollingInterval.js +1 -1
  877. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  878. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  879. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  880. package/hooks/transactions/useGetTokenDetails.js +1 -1
  881. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  882. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  883. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  884. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  885. package/hooks/transactions/useSignTransactions.js +1 -1
  886. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  887. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  888. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  889. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  890. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  891. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  892. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  893. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  894. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  895. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  896. package/hooks/useGetNetworkConfig.js +1 -1
  897. package/hooks/useGetNotification.js +1 -1
  898. package/hooks/websocketListener/index.js +1 -1
  899. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  900. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  901. package/models/index.js +1 -1
  902. package/models/newTransaction.js +1 -1
  903. package/package.json +1 -1
  904. package/providers/accountProvider.js +1 -1
  905. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  906. package/providers/experimentalWebViewProvider/index.js +1 -1
  907. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  908. package/providers/index.js +1 -1
  909. package/providers/utils.js +1 -1
  910. package/providers/webviewProvider/index.js +1 -1
  911. package/providers/webviewProvider/requestMethods.js +1 -1
  912. package/providers/webviewProvider/webviewProvider.js +1 -1
  913. package/reduxStore/DappProviderContext.js +1 -1
  914. package/reduxStore/commonActions.js +1 -1
  915. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  916. package/reduxStore/persistConfig.js +1 -1
  917. package/reduxStore/persistedRootReducer.js +1 -1
  918. package/reduxStore/reducers.js +1 -1
  919. package/reduxStore/rootReducer.js +1 -1
  920. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  921. package/reduxStore/selectors/index.js +1 -1
  922. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  923. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  924. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  925. package/reduxStore/slices/accountInfoSlice.js +1 -1
  926. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  927. package/reduxStore/slices/dappConfigSlice.js +1 -1
  928. package/reduxStore/slices/index.js +1 -1
  929. package/reduxStore/slices/loginInfoSlice.js +1 -1
  930. package/reduxStore/slices/modalsSlice.js +1 -1
  931. package/reduxStore/slices/networkConfigSlice.js +1 -1
  932. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  933. package/reduxStore/slices/toastsSlice.js +1 -1
  934. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  935. package/reduxStore/slices/transactionsSlice.js +1 -1
  936. package/reduxStore/store.js +1 -1
  937. package/services/index.js +1 -1
  938. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  939. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  940. package/services/nativeAuth/helpers/index.js +1 -1
  941. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  942. package/services/transactions/__tests__/transformAndSignTransactions.test.d.ts +2 -0
  943. package/services/transactions/__tests__/transformAndSignTransactions.test.js +2 -0
  944. package/services/transactions/clearTransactions.js +1 -1
  945. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  946. package/services/transactions/getTransactionsDetails.js +1 -1
  947. package/services/transactions/index.js +1 -1
  948. package/services/transactions/isCrossShardTransaction.js +1 -1
  949. package/services/transactions/sendBatchTransactions.js +1 -1
  950. package/services/transactions/sendBatchTransactions.test.js +1 -1
  951. package/services/transactions/sendTransactions.js +1 -1
  952. package/services/transactions/signTransactions.js +1 -1
  953. package/services/transactions/transformAndSignTransactions.js +1 -1
  954. package/services/transactions/updateSignedTransactions.js +1 -1
  955. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  956. package/services/transactions/utils.js +1 -1
  957. package/types/index.js +1 -1
  958. package/types/transactions.types.d.ts +2 -0
  959. package/types/transactions.types.js +1 -1
  960. package/utils/account/getAccount.js +1 -1
  961. package/utils/account/getAccountBalance.js +1 -1
  962. package/utils/account/getAccountProviderType.js +1 -1
  963. package/utils/account/getAccountShard.js +1 -1
  964. package/utils/account/getAddress.js +1 -1
  965. package/utils/account/getIsProviderEqualTo.js +1 -1
  966. package/utils/account/getLatestNonce.js +1 -1
  967. package/utils/account/getShardOfAddress.js +1 -1
  968. package/utils/account/getWebviewToken.js +1 -1
  969. package/utils/account/index.js +1 -1
  970. package/utils/account/loginWithExternalProvider.js +1 -1
  971. package/utils/account/refreshAccount.js +1 -1
  972. package/utils/account/setNonce.js +1 -1
  973. package/utils/account/signMessage.js +1 -1
  974. package/utils/getIsLoggedIn.js +1 -1
  975. package/utils/index.js +1 -1
  976. package/utils/isInIframe.d.ts +2 -0
  977. package/utils/isInIframe.js +2 -0
  978. package/utils/logout.js +1 -1
  979. package/utils/network/getChainID.js +1 -1
  980. package/utils/network/getEgldLabel.js +1 -1
  981. package/utils/network/getNetworkConfig.js +1 -1
  982. package/utils/network/index.js +1 -1
  983. package/utils/operations/calculateFeeInFiat.js +1 -1
  984. package/utils/operations/calculateFeeLimit.js +1 -1
  985. package/utils/operations/denominate.js +1 -1
  986. package/utils/operations/formatAmount.js +1 -1
  987. package/utils/operations/index.js +1 -1
  988. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  989. package/utils/operations/ledger/index.js +1 -1
  990. package/utils/operations/nominate.js +1 -1
  991. package/utils/operations/parseAmount.js +1 -1
  992. package/utils/smartContracts.js +1 -1
  993. package/utils/toasts/customToastsActions.js +1 -1
  994. package/utils/toasts/index.js +1 -1
  995. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  996. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  997. package/utils/transactions/builtCallbackUrl.js +1 -1
  998. package/utils/transactions/getAllTransactionsLink.js +1 -1
  999. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  1000. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  1001. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  1002. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  1003. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  1004. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  1005. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  1006. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  1007. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  1008. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  1009. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  1010. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  1011. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  1012. package/utils/transactions/getOperationsDetails.js +1 -1
  1013. package/utils/transactions/getTransactionLink.js +1 -1
  1014. package/utils/transactions/index.js +1 -1
  1015. package/utils/transactions/isGuardianTx.js +1 -1
  1016. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  1017. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  1018. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  1019. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  1020. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  1021. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  1022. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  1023. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  1024. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  1025. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  1026. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  1027. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  1028. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  1029. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  1030. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  1031. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  1032. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  1033. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  1034. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  1035. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  1036. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  1037. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  1038. package/utils/validation/index.js +1 -1
  1039. package/utils/validation/maxDecimals.js +1 -1
  1040. package/utils/validation/stringIsFloat.js +1 -1
  1041. package/utils/waitForChainID.js +1 -1
  1042. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  1043. package/web/hooks/index.js +1 -1
  1044. package/web/hooks/useIdleTimer.js +1 -1
  1045. package/web/index.js +1 -1
  1046. package/wrappers/AppInitializer.js +1 -1
  1047. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  1048. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  1049. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  1050. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  1051. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  1052. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  1053. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  1054. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  1055. package/wrappers/DappProvider/CustomComponents.js +1 -1
  1056. package/wrappers/DappProvider/DappProvider.js +1 -1
  1057. package/wrappers/DappProvider/index.js +1 -1
  1058. package/wrappers/index.js +1 -1
  1059. package/__chunks__/chunk-2DNMMRYQ.js +0 -2
  1060. package/__chunks__/chunk-2IRDXMR2.js +0 -2
  1061. package/__chunks__/chunk-2KD4AUMB.js +0 -2
  1062. package/__chunks__/chunk-3VLZJ4LL.js +0 -2
  1063. package/__chunks__/chunk-4K45KT23.js +0 -2
  1064. package/__chunks__/chunk-4RVW6PHV.js +0 -2
  1065. package/__chunks__/chunk-5GTOSBFA.js +0 -2
  1066. package/__chunks__/chunk-5WG46JTB.js +0 -2
  1067. package/__chunks__/chunk-63R6NB5K.js +0 -2
  1068. package/__chunks__/chunk-6537K34X.js +0 -2
  1069. package/__chunks__/chunk-6ICHTXOU.js +0 -2
  1070. package/__chunks__/chunk-6OGLL5BA.js +0 -2
  1071. package/__chunks__/chunk-75K7FDNK.js +0 -2
  1072. package/__chunks__/chunk-7C44M3KB.js +0 -2
  1073. package/__chunks__/chunk-7GJ3EFJN.js +0 -2
  1074. package/__chunks__/chunk-AJJO2SZS.js +0 -2
  1075. package/__chunks__/chunk-B2K3KOLI.js +0 -2
  1076. package/__chunks__/chunk-B5EJPJU2.js +0 -2
  1077. package/__chunks__/chunk-B6OXTV5K.js +0 -2
  1078. package/__chunks__/chunk-BUBELTBX.js +0 -2
  1079. package/__chunks__/chunk-C6OFSPUE.js +0 -2
  1080. package/__chunks__/chunk-CEAKTVF4.js +0 -2
  1081. package/__chunks__/chunk-CELNIW64.js +0 -2
  1082. package/__chunks__/chunk-CHONGFFL.js +0 -2
  1083. package/__chunks__/chunk-D2WAX7N2.js +0 -2
  1084. package/__chunks__/chunk-DGQ2ZNQW.js +0 -2
  1085. package/__chunks__/chunk-DVWOLYTA.js +0 -2
  1086. package/__chunks__/chunk-E3SSYOOI.js +0 -2
  1087. package/__chunks__/chunk-FDGD2GFX.js +0 -2
  1088. package/__chunks__/chunk-FHGKEP36.js +0 -2
  1089. package/__chunks__/chunk-GLEJGHC3.js +0 -2
  1090. package/__chunks__/chunk-GRLDFM6I.js +0 -2
  1091. package/__chunks__/chunk-HYYH4OSM.js +0 -2
  1092. package/__chunks__/chunk-IJTEJ3WZ.js +0 -2
  1093. package/__chunks__/chunk-IVVIPB7Y.js +0 -2
  1094. package/__chunks__/chunk-J5ZQUITB.js +0 -2
  1095. package/__chunks__/chunk-JCK2A535.js +0 -2
  1096. package/__chunks__/chunk-K3GQUF5M.js +0 -2
  1097. package/__chunks__/chunk-KJNLCSBS.js +0 -2
  1098. package/__chunks__/chunk-KLVI4S4Z.js +0 -2
  1099. package/__chunks__/chunk-KQQGV6EV.js +0 -2
  1100. package/__chunks__/chunk-KUOPZGBP.js +0 -2
  1101. package/__chunks__/chunk-LKOEYCL6.js +0 -2
  1102. package/__chunks__/chunk-MF4NMH2N.js +0 -2
  1103. package/__chunks__/chunk-MKL2D6SC.js +0 -2
  1104. package/__chunks__/chunk-MQAWPX3D.js +0 -2
  1105. package/__chunks__/chunk-MVM3B7JP.js +0 -2
  1106. package/__chunks__/chunk-NAHMUAG3.js +0 -2
  1107. package/__chunks__/chunk-NX7QGK7P.js +0 -2
  1108. package/__chunks__/chunk-O65OQHVX.js +0 -2
  1109. package/__chunks__/chunk-OFPY2FIF.js +0 -2
  1110. package/__chunks__/chunk-OLRCWSRF.js +0 -2
  1111. package/__chunks__/chunk-OMIEEJKJ.js +0 -2
  1112. package/__chunks__/chunk-OREQKPKX.js +0 -2
  1113. package/__chunks__/chunk-PCB4NQVY.js +0 -2
  1114. package/__chunks__/chunk-Q333H6NI.js +0 -2
  1115. package/__chunks__/chunk-QBINCPM6.js +0 -2
  1116. package/__chunks__/chunk-QKOJ53W6.js +0 -2
  1117. package/__chunks__/chunk-R6ZI37PK.js +0 -2
  1118. package/__chunks__/chunk-RFP27C6N.js +0 -2
  1119. package/__chunks__/chunk-RM73MLS3.js +0 -2
  1120. package/__chunks__/chunk-TDLMCYW4.js +0 -2
  1121. package/__chunks__/chunk-TE5O4DV3.js +0 -2
  1122. package/__chunks__/chunk-TGUV6Z7I.js +0 -2
  1123. package/__chunks__/chunk-VI2CK6WZ.js +0 -2
  1124. package/__chunks__/chunk-W5FZEUTK.js +0 -2
  1125. package/__chunks__/chunk-WDENMWK2.js +0 -2
  1126. package/__chunks__/chunk-WO6DKR7Q.js +0 -2
  1127. package/__chunks__/chunk-XAB5UUOW.js +0 -2
  1128. package/__chunks__/chunk-XHNCZX5O.js +0 -2
  1129. package/__chunks__/chunk-XU5464GZ.js +0 -2
  1130. package/__chunks__/chunk-YVAJQZQH.js +0 -2
  1131. package/__chunks__/chunk-ZIG4UK4W.js +0 -2
  1132. package/__chunks__/chunk-ZQBZFMHS.js +0 -2
  1133. package/__chunks__/chunk-ZRJYULXB.js +0 -2
  1134. package/__chunks__/chunk-ZUDC4NYN.js +0 -2
  1135. package/__chunks__/chunk-ZYKZPNSD.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Mr=Object.create;var M=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Wr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))qr.call(r,e)&&ir(t,e,r[e]);return t};var Or=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Vr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},or=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var sr=(t,r,e)=>(e=t!=null?Mr(Hr(t)):{},or(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Yr=t=>or(M({},"__esModule",{value:!0}),t);var lr=H(q=>{"use strict";l();q.byteLength=Xr;q.toByteArray=jr;q.fromByteArray=Zr;var k=[],v=[],zr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=z.length;E<pr;++E)k[E]=z[E],v[z.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Xr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new zr(Jr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Kr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Kr(n));return i.join("")}function Zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(Qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=H(X=>{l();X.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,r,e,n,i,a){var o,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Pr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=f?(p=0,o=f):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(o=o<<i|p,d+=i;d>0;t[e+T]=o&255,T+=_,o/=256,d-=8);t[e+T-_]|=Pr*128}});var Ir=H(U=>{"use strict";l();var J=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=ie;U.INSPECT_MAX_BYTES=50;var O=2147483647;U.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=$r();!s.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 $r(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function S(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return hr(t,r,e)}s.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return ee(t,r);if(ArrayBuffer.isView(t))return te(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ne(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function mr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function re(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}s.alloc=function(t,r,e){return re(t,r,e)};function Z(t){return mr(t),S(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ee(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=xr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:$(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function te(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return j(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ne(t){if(s.isBuffer(t)){var r=$(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||rr(t.length)?S(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function $(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function ie(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function xr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=xr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return he(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return fe(this,r,e);case"latin1":case"binary":return ge(this,r,e);case"base64":return ce(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ae.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){o=d[c],p=f[c];break}return o<p?-1:p<o?1:0};function yr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,rr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<o;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>o&&(e=o-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return yr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return yr(this,r,e,n,!1)};function oe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(rr(p))return o;t[e+o]=p}return o}function se(t,r,e,n){return V(Q(r,t.length-e),t,e,n)}function pe(t,r,e,n){return V(we(r),t,e,n)}function ue(t,r,e,n){return V(kr(r),t,e,n)}function le(t,r,e,n){return V(Te(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return oe(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ue(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ce(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return de(n)}var gr=4096;function de(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ge(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function he(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ve[t[a]];return i}function me(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var xe=/[^+/0-9A-Za-z-_]/g;function ye(t){if(t=t.split("=")[0],t=t.trim().replace(xe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function we(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Te(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return J.toByteArray(ye(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function rr(t){return t!==t}var ve=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=H((Ce,Br)=>{l();var g=Br.exports={},F,A;function er(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=er}catch(t){F=er}try{typeof clearTimeout=="function"?A=clearTimeout:A=tr}catch(t){A=tr}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===er||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function be(t){if(A===clearTimeout)return clearTimeout(t);if((A===tr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,L,Y=-1;function ke(){!N||!L||(N=!1,L.length?B=L.concat(B):Y=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(ke);N=!0;for(var r=B.length;r;){for(L=B,B=[];++Y<r;)L&&L[Y].run();Y=-1,r=B.length}L=null,N=!1,be(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=Or(()=>{h=sr(Ir()),m=sr(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ae={};Vr(Ae,{getApiAddressForChainId:()=>Fe});module.exports=Yr(Ae);l();l();l();l();l();l();l();l();var Ie=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Pe=G(G({},P.WindowProviderRequestEnums),Er),Cr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Cr||{}),Me=G(G({},P.WindowProviderResponseEnums),Cr);l();l();l();l();l();l();var W={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:Lr,egldLabel:et}=W["devnet"],{chainId:_r,egldLabel:tt}=W["testnet"],{chainId:Dr,egldLabel:nt}=W["mainnet"];var it={["devnet"]:Lr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Lr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};l();function Nr(t){return Ur[t]}function Fe(t){let r=Nr(t),e=W[r].apiAddress;if(!e)throw"Could not extract api address for environment, check if you have a valid chainID";return e}0&&(module.exports={getApiAddressForChainId});
1
+ "use strict";var Mr=Object.create;var M=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Wr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Hr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))qr.call(r,e)&&ir(t,e,r[e]);return t};var Or=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Vr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Mr(Hr(t)):{},sr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Yr=t=>sr(M({},"__esModule",{value:!0}),t);var lr=H(q=>{"use strict";l();q.byteLength=Xr;q.toByteArray=jr;q.fromByteArray=Zr;var k=[],v=[],zr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=z.length;E<pr;++E)k[E]=z[E],v[z.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Xr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Jr(t,r,e){return(r+e)*3/4-e}function jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new zr(Jr(t,n,i)),s=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[s++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[s++]=r>>8&255,a[s++]=r&255),a}function Kr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Kr(n));return i.join("")}function Zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,s=0,p=e-n;s<p;s+=a)i.push(Qr(t,s,s+a>p?p:s+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=H(X=>{l();X.read=function(t,r,e,n,i){var a,s,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-d}return(T?-1:1)*s*Math.pow(2,a-n)};X.write=function(t,r,e,n,i,a){var s,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Pr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(s++,u/=2),s+c>=f?(p=0,s=f):s+c>=1?(p=(r*u-1)*Math.pow(2,i),s=s+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(s=s<<i|p,d+=i;d>0;t[e+T]=s&255,T+=_,s/=256,d-=8);t[e+T-_]|=Pr*128}});var Ir=H(U=>{"use strict";l();var J=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=o;U.SlowBuffer=ie;U.INSPECT_MAX_BYTES=50;var O=2147483647;U.kMaxLength=O;o.TYPED_ARRAY_SUPPORT=$r();!o.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 $r(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}});Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function S(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,o.prototype),r}function o(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return hr(t,r,e)}o.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return ee(t,r);if(ArrayBuffer.isView(t))return te(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return o.from(n,r,e);var i=ne(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}o.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(o.prototype,Uint8Array.prototype);Object.setPrototypeOf(o,Uint8Array);function mr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function re(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}o.alloc=function(t,r,e){return re(t,r,e)};function Z(t){return mr(t),S(t<0?0:$(t)|0)}o.allocUnsafe=function(t){return Z(t)};o.allocUnsafeSlow=function(t){return Z(t)};function ee(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:$(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function te(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return j(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,o.prototype),n}function ne(t){if(o.isBuffer(t)){var r=$(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||rr(t.length)?S(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function $(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function ie(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype};o.compare=function(r,e){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(r)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,s=Math.min(n,i);a<s;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};o.isEncoding=function(r){switch(String(r).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}};o.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=o.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var s=r[n];if(I(s,Uint8Array))a+s.length>i.length?o.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(o.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function yr(t,r){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=yr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return he(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return fe(this,r,e);case"latin1":case"binary":return ge(this,r,e);case"base64":return ce(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}o.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};o.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};o.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};o.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ae.apply(this,arguments)};o.prototype.toLocaleString=o.prototype.toString;o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0};o.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(o.prototype[dr]=o.prototype.inspect);o.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,p=n-e,u=Math.min(s,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){s=d[c],p=f[c];break}return s<p?-1:p<s?1:0};function xr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,rr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,s=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,s/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<s;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>s&&(e=s-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}o.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};o.prototype.indexOf=function(r,e,n){return xr(this,r,e,n,!0)};o.prototype.lastIndexOf=function(r,e,n){return xr(this,r,e,n,!1)};function se(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var p=parseInt(r.substr(s*2,2),16);if(rr(p))return s;t[e+s]=p}return s}function oe(t,r,e,n){return V(Q(r,t.length-e),t,e,n)}function pe(t,r,e,n){return V(we(r),t,e,n)}function ue(t,r,e,n){return V(kr(r),t,e,n)}function le(t,r,e,n){return V(Te(r,t.length-e),t,e,n)}o.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return se(this,r,e,n);case"utf8":case"utf-8":return oe(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ue(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ce(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],s=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(s=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(s=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,p=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=p}return de(n)}var gr=4096;function de(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ge(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function he(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ve[t[a]];return i}function me(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}o.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,o.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return i};o.prototype.readUintBE=o.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};o.prototype.readUint8=o.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};o.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};o.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*e)),s};o.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};o.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};o.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};o.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};o.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};o.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!0,23,4)};o.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!1,23,4)};o.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!0,52,8)};o.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=1,p=0;for(this[e]=r&255;++p<n&&(s*=256);)this[e+p]=r/s&255;return e+n};o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=n-1,p=1;for(this[e+s]=r&255;--s>=0&&(p*=256);)this[e+s]=r/p&255;return e+n};o.prototype.writeUint8=o.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};o.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=0,p=1,u=0;for(this[e]=r&255;++s<n&&(p*=256);)r<0&&u===0&&this[e+s-1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=n-1,p=1,u=0;for(this[e+s]=r&255;--s>=0&&(p*=256);)r<0&&u===0&&this[e+s+1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};o.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};o.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}o.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};o.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};o.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};o.prototype.copy=function(r,e,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};o.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var s;if(typeof r=="number")for(s=e;s<n;++s)this[s]=r;else{var p=o.isBuffer(r)?r:o.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-e;++s)this[s+e]=p[s%u]}return this};var ye=/[^+/0-9A-Za-z-_]/g;function xe(t){if(t=t.split("=")[0],t=t.trim().replace(ye,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],s=0;s<n;++s){if(e=t.charCodeAt(s),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function we(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Te(t,r){for(var e,n,i,a=[],s=0;s<t.length&&!((r-=2)<0);++s)e=t.charCodeAt(s),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return J.toByteArray(xe(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function rr(t){return t!==t}var ve=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=H((Ce,Br)=>{l();var g=Br.exports={},F,A;function er(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=er}catch(t){F=er}try{typeof clearTimeout=="function"?A=clearTimeout:A=tr}catch(t){A=tr}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===er||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function be(t){if(A===clearTimeout)return clearTimeout(t);if((A===tr||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,L,Y=-1;function ke(){!N||!L||(N=!1,L.length?B=L.concat(B):Y=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(ke);N=!0;for(var r=B.length;r;){for(L=B,B=[];++Y<r;)L&&L[Y].run();Y=-1,r=B.length}L=null,N=!1,be(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=Or(()=>{h=or(Ir()),m=or(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ae={};Vr(Ae,{getApiAddressForChainId:()=>Fe});module.exports=Yr(Ae);l();l();l();l();l();l();l();l();var Ie=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Pe=G(G({},P.WindowProviderRequestEnums),Er),Cr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Cr||{}),Me=G(G({},P.WindowProviderResponseEnums),Cr);l();l();l();l();l();l();var W={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:Lr,egldLabel:et}=W["devnet"],{chainId:_r,egldLabel:tt}=W["testnet"],{chainId:Dr,egldLabel:nt}=W["mainnet"];var it={["devnet"]:Lr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Lr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};l();function Nr(t){return Ur[t]}function Fe(t){let r=Nr(t),e=W[r].apiAddress;if(!e)throw"Could not extract api address for environment, check if you have a valid chainID";return e}0&&(module.exports={getApiAddressForChainId});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Pr=Object.create;var M=Object.defineProperty;var Mr=Object.getOwnPropertyDescriptor;var Gr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Wr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))Hr.call(r,e)&&ir(t,e,r[e]);return t};var qr=(t,r)=>()=>(t&&(r=t(t=0)),r);var W=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Or=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Gr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Mr(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Pr(Wr(t)):{},sr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Vr=t=>sr(M({},"__esModule",{value:!0}),t);var lr=W(H=>{"use strict";l();H.byteLength=zr;H.toByteArray=Jr;H.fromByteArray=Qr;var k=[],v=[],Yr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=Y.length;E<pr;++E)k[E]=Y[E],v[Y.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Xr(t,r,e){return(r+e)*3/4-e}function Jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new Yr(Xr(t,n,i)),s=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[s++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[s++]=r>>8&255,a[s++]=r&255),a}function jr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Kr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(jr(n));return i.join("")}function Qr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,s=0,p=e-n;s<p;s+=a)i.push(Kr(t,s,s+a>p?p:s+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=W(z=>{l();z.read=function(t,r,e,n,i){var a,s,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-d}return(T?-1:1)*s*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var s,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Nr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(s++,u/=2),s+c>=f?(p=0,s=f):s+c>=1?(p=(r*u-1)*Math.pow(2,i),s=s+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(s=s<<i|p,d+=i;d>0;t[e+T]=s&255,T+=_,s/=256,d-=8);t[e+T-_]|=Nr*128}});var Ir=W(U=>{"use strict";l();var X=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=o;U.SlowBuffer=ne;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;o.TYPED_ARRAY_SUPPORT=Zr();!o.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 Zr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}});Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function S(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,o.prototype),r}function o(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return hr(t,r,e)}o.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return re(t,r);if(ArrayBuffer.isView(t))return ee(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return o.from(n,r,e);var i=te(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}o.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(o.prototype,Uint8Array.prototype);Object.setPrototypeOf(o,Uint8Array);function mr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function $r(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}o.alloc=function(t,r,e){return $r(t,r,e)};function Q(t){return mr(t),S(t<0?0:Z(t)|0)}o.allocUnsafe=function(t){return Q(t)};o.allocUnsafeSlow=function(t){return Q(t)};function re(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=xr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ee(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,o.prototype),n}function te(t){if(o.isBuffer(t)){var r=Z(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?S(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ne(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype};o.compare=function(r,e){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(r)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,s=Math.min(n,i);a<s;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};o.isEncoding=function(r){switch(String(r).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}};o.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=o.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var s=r[n];if(I(s,Uint8Array))a+s.length>i.length?o.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(o.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function xr(t,r){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=xr;function ie(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ge(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return de(this,r,e);case"latin1":case"binary":return fe(this,r,e);case"base64":return le(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}o.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};o.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};o.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};o.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ie.apply(this,arguments)};o.prototype.toLocaleString=o.prototype.toString;o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0};o.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(o.prototype[dr]=o.prototype.inspect);o.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,p=n-e,u=Math.min(s,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){s=d[c],p=f[c];break}return s<p?-1:p<s?1:0};function yr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,s=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,s/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<s;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>s&&(e=s-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}o.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};o.prototype.indexOf=function(r,e,n){return yr(this,r,e,n,!0)};o.prototype.lastIndexOf=function(r,e,n){return yr(this,r,e,n,!1)};function ae(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var p=parseInt(r.substr(s*2,2),16);if($(p))return s;t[e+s]=p}return s}function se(t,r,e,n){return O(K(r,t.length-e),t,e,n)}function oe(t,r,e,n){return O(ye(r),t,e,n)}function pe(t,r,e,n){return O(kr(r),t,e,n)}function ue(t,r,e,n){return O(we(r,t.length-e),t,e,n)}o.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return ae(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return oe(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,r,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function le(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],s=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(s=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(s=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,p=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=p}return ce(n)}var gr=4096;function ce(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ge(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Te[t[a]];return i}function he(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}o.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,o.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return i};o.prototype.readUintBE=o.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};o.prototype.readUint8=o.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};o.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};o.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*e)),s};o.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};o.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};o.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};o.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};o.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};o.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!0,23,4)};o.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!1,23,4)};o.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!0,52,8)};o.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=1,p=0;for(this[e]=r&255;++p<n&&(s*=256);)this[e+p]=r/s&255;return e+n};o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=n-1,p=1;for(this[e+s]=r&255;--s>=0&&(p*=256);)this[e+s]=r/p&255;return e+n};o.prototype.writeUint8=o.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};o.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=0,p=1,u=0;for(this[e]=r&255;++s<n&&(p*=256);)r<0&&u===0&&this[e+s-1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=n-1,p=1,u=0;for(this[e+s]=r&255;--s>=0&&(p*=256);)r<0&&u===0&&this[e+s+1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};o.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};o.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}o.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};o.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};o.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};o.prototype.copy=function(r,e,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};o.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var s;if(typeof r=="number")for(s=e;s<n;++s)this[s]=r;else{var p=o.isBuffer(r)?r:o.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-e;++s)this[s+e]=p[s%u]}return this};var me=/[^+/0-9A-Za-z-_]/g;function xe(t){if(t=t.split("=")[0],t=t.trim().replace(me,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],s=0;s<n;++s){if(e=t.charCodeAt(s),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ye(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function we(t,r){for(var e,n,i,a=[],s=0;s<t.length&&!((r-=2)<0);++s)e=t.charCodeAt(s),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return X.toByteArray(xe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var Te=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=W((Ee,Br)=>{l();var g=Br.exports={},F,A;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=rr}catch(t){F=rr}try{typeof clearTimeout=="function"?A=clearTimeout:A=er}catch(t){A=er}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===rr||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function ve(t){if(A===clearTimeout)return clearTimeout(t);if((A===er||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,C,V=-1;function be(){!N||!C||(N=!1,C.length?B=C.concat(B):V=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(be);N=!0;for(var r=B.length;r;){for(C=B,B=[];++V<r;)C&&C[V].run();V=-1,r=B.length}C=null,N=!1,ve(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=qr(()=>{h=or(Ir()),m=or(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Fe={};Or(Fe,{getEnvironmentForChainId:()=>Ie});module.exports=Vr(Fe);l();l();l();l();l();l();l();l();var ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Ne=G(G({},P.WindowProviderRequestEnums),Er),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Pe=G(G({},P.WindowProviderResponseEnums),Lr);l();l();l();l();l();l();var tr={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:Cr,egldLabel:rt}=tr["devnet"],{chainId:_r,egldLabel:et}=tr["testnet"],{chainId:Dr,egldLabel:tt}=tr["mainnet"];var nt={["devnet"]:Cr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Cr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};function Ie(t){return Ur[t]}0&&(module.exports={getEnvironmentForChainId});
1
+ "use strict";var Pr=Object.create;var M=Object.defineProperty;var Mr=Object.getOwnPropertyDescriptor;var Gr=Object.getOwnPropertyNames,nr=Object.getOwnPropertySymbols,Wr=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable;var ir=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))ar.call(r,e)&&ir(t,e,r[e]);if(nr)for(var e of nr(r))Hr.call(r,e)&&ir(t,e,r[e]);return t};var qr=(t,r)=>()=>(t&&(r=t(t=0)),r);var W=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Or=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Gr(r))!ar.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Mr(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Pr(Wr(t)):{},sr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Vr=t=>sr(M({},"__esModule",{value:!0}),t);var lr=W(H=>{"use strict";l();H.byteLength=zr;H.toByteArray=Jr;H.fromByteArray=Qr;var k=[],v=[],Yr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=Y.length;E<pr;++E)k[E]=Y[E],v[Y.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function zr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Xr(t,r,e){return(r+e)*3/4-e}function Jr(t){var r,e=ur(t),n=e[0],i=e[1],a=new Yr(Xr(t,n,i)),s=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[s++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[s++]=r>>8&255,a[s++]=r&255),a}function jr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Kr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(jr(n));return i.join("")}function Qr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,s=0,p=e-n;s<p;s+=a)i.push(Kr(t,s,s+a>p?p:s+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=W(z=>{l();z.read=function(t,r,e,n,i){var a,s,p=i*8-n-1,u=(1<<p)-1,d=u>>1,f=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=b,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+t[r+c],c+=b,f-=8);if(a===0)a=1-d;else{if(a===u)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-d}return(T?-1:1)*s*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var s,p,u,d=a*8-i-1,f=(1<<d)-1,c=f>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Nr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?r+=b/u:r+=b*Math.pow(2,1-c),r*u>=2&&(s++,u/=2),s+c>=f?(p=0,s=f):s+c>=1?(p=(r*u-1)*Math.pow(2,i),s=s+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(s=s<<i|p,d+=i;d>0;t[e+T]=s&255,T+=_,s/=256,d-=8);t[e+T-_]|=Nr*128}});var Ir=W(U=>{"use strict";l();var X=lr(),D=cr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=o;U.SlowBuffer=ne;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;o.TYPED_ARRAY_SUPPORT=Zr();!o.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 Zr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}});Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function S(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,o.prototype),r}function o(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return hr(t,r,e)}o.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return re(t,r);if(ArrayBuffer.isView(t))return ee(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return o.from(n,r,e);var i=te(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return o.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}o.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(o.prototype,Uint8Array.prototype);Object.setPrototypeOf(o,Uint8Array);function mr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function $r(t,r,e){return mr(t),t<=0?S(t):r!==void 0?typeof e=="string"?S(t).fill(r,e):S(t).fill(r):S(t)}o.alloc=function(t,r,e){return $r(t,r,e)};function Q(t){return mr(t),S(t<0?0:Z(t)|0)}o.allocUnsafe=function(t){return Q(t)};o.allocUnsafeSlow=function(t){return Q(t)};function re(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=S(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=S(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ee(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,o.prototype),n}function te(t){if(o.isBuffer(t)){var r=Z(t.length)|0,e=S(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?S(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ne(t){return+t!=t&&(t=0),o.alloc(+t)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype};o.compare=function(r,e){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(r)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,s=Math.min(n,i);a<s;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};o.isEncoding=function(r){switch(String(r).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}};o.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=o.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var s=r[n];if(I(s,Uint8Array))a+s.length>i.length?o.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(o.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function yr(t,r){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return kr(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}o.byteLength=yr;function ie(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ge(this,r,e);case"utf8":case"utf-8":return wr(this,r,e);case"ascii":return de(this,r,e);case"latin1":case"binary":return fe(this,r,e);case"base64":return le(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}o.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}o.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};o.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};o.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};o.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):ie.apply(this,arguments)};o.prototype.toLocaleString=o.prototype.toString;o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0};o.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(o.prototype[dr]=o.prototype.inspect);o.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,p=n-e,u=Math.min(s,p),d=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(d[c]!==f[c]){s=d[c],p=f[c];break}return s<p?-1:p<s?1:0};function xr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,s=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,s/=2,p/=2,e/=2}function u(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var d;if(i){var f=-1;for(d=e;d<s;d++)if(u(t,d)===u(r,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*a}else f!==-1&&(d-=d-f),f=-1}else for(e+p>s&&(e=s-p),d=e;d>=0;d--){for(var c=!0,b=0;b<p;b++)if(u(t,d+b)!==u(r,b)){c=!1;break}if(c)return d}return-1}o.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};o.prototype.indexOf=function(r,e,n){return xr(this,r,e,n,!0)};o.prototype.lastIndexOf=function(r,e,n){return xr(this,r,e,n,!1)};function ae(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var p=parseInt(r.substr(s*2,2),16);if($(p))return s;t[e+s]=p}return s}function se(t,r,e,n){return O(K(r,t.length-e),t,e,n)}function oe(t,r,e,n){return O(xe(r),t,e,n)}function pe(t,r,e,n){return O(kr(r),t,e,n)}function ue(t,r,e,n){return O(we(r,t.length-e),t,e,n)}o.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return ae(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return oe(this,r,e,n);case"base64":return pe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,r,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function le(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function wr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],s=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,d,f,c;switch(p){case 1:a<128&&(s=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(s=c));break;case 3:u=t[i+1],d=t[i+2],(u&192)===128&&(d&192)===128&&(c=(a&15)<<12|(u&63)<<6|d&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=t[i+1],d=t[i+2],f=t[i+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(d&63)<<6|f&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,p=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=p}return ce(n)}var gr=4096;function ce(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function fe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ge(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Te[t[a]];return i}function he(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}o.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,o.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return i};o.prototype.readUintBE=o.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};o.prototype.readUint8=o.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};o.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,s=0;++s<e&&(a*=256);)i+=this[r+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};o.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*e)),s};o.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};o.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};o.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};o.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};o.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};o.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!0,23,4)};o.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),D.read(this,r,!1,23,4)};o.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!0,52,8)};o.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),D.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=1,p=0;for(this[e]=r&255;++p<n&&(s*=256);)this[e+p]=r/s&255;return e+n};o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var s=n-1,p=1;for(this[e+s]=r&255;--s>=0&&(p*=256);)this[e+s]=r/p&255;return e+n};o.prototype.writeUint8=o.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};o.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=0,p=1,u=0;for(this[e]=r&255;++s<n&&(p*=256);)r<0&&u===0&&this[e+s-1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var s=n-1,p=1,u=0;for(this[e+s]=r&255;--s>=0&&(p*=256);)r<0&&u===0&&this[e+s+1]!==0&&(u=1),this[e+s]=(r/p>>0)-u&255;return e+n};o.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};o.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};o.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};o.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};o.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Tr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,4,34028234663852886e22,-34028234663852886e22),D.write(t,r,e,n,23,4),e+4}o.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};o.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function br(t,r,e,n,i){return r=+r,e=e>>>0,i||Tr(t,r,e,8,17976931348623157e292,-17976931348623157e292),D.write(t,r,e,n,52,8),e+8}o.prototype.writeDoubleLE=function(r,e,n){return br(this,r,e,!0,n)};o.prototype.writeDoubleBE=function(r,e,n){return br(this,r,e,!1,n)};o.prototype.copy=function(r,e,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};o.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var s;if(typeof r=="number")for(s=e;s<n;++s)this[s]=r;else{var p=o.isBuffer(r)?r:o.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-e;++s)this[s+e]=p[s%u]}return this};var me=/[^+/0-9A-Za-z-_]/g;function ye(t){if(t=t.split("=")[0],t=t.trim().replace(me,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],s=0;s<n;++s){if(e=t.charCodeAt(s),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function xe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function we(t,r){for(var e,n,i,a=[],s=0;s<t.length&&!((r-=2)<0);++s)e=t.charCodeAt(s),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function kr(t){return X.toByteArray(ye(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var Te=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=W((Ee,Br)=>{l();var g=Br.exports={},F,A;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=rr}catch(t){F=rr}try{typeof clearTimeout=="function"?A=clearTimeout:A=er}catch(t){A=er}})();function Fr(t){if(F===setTimeout)return setTimeout(t,0);if((F===rr||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function ve(t){if(A===clearTimeout)return clearTimeout(t);if((A===er||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(t);try{return A(t)}catch(r){try{return A.call(null,t)}catch(e){return A.call(this,t)}}}var B=[],N=!1,C,V=-1;function be(){!N||!C||(N=!1,C.length?B=C.concat(B):V=-1,B.length&&Ar())}function Ar(){if(!N){var t=Fr(be);N=!0;for(var r=B.length;r;){for(C=B,B=[];++V<r;)C&&C[V].run();V=-1,r=B.length}C=null,N=!1,ve(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ar)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function R(){}g.on=R;g.addListener=R;g.once=R;g.off=R;g.removeListener=R;g.removeAllListeners=R;g.emit=R;g.prependListener=R;g.prependOnceListener=R;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Le,l=qr(()=>{h=or(Ir()),m=or(Rr()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Fe={};Or(Fe,{getEnvironmentForChainId:()=>Ie});module.exports=Vr(Fe);l();l();l();l();l();l();l();l();var ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Ne=G(G({},P.WindowProviderRequestEnums),Er),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Pe=G(G({},P.WindowProviderResponseEnums),Lr);l();l();l();l();l();l();var tr={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:Cr,egldLabel:rt}=tr["devnet"],{chainId:_r,egldLabel:et}=tr["testnet"],{chainId:Dr,egldLabel:tt}=tr["mainnet"];var nt={["devnet"]:Cr,["testnet"]:_r,["mainnet"]:Dr},Ur={[Cr]:"devnet",[_r]:"testnet",[Dr]:"mainnet"};function Ie(t){return Ur[t]}0&&(module.exports={getEnvironmentForChainId});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Vr=Object.create;var M=Object.defineProperty,Yr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertyNames,W=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,X=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,C=(t,r)=>{for(var e in r||(r={}))X.call(r,e)&&sr(t,e,r[e]);if(W)for(var e of W(r))pr.call(r,e)&&sr(t,e,r[e]);return t},ur=(t,r)=>Yr(t,zr(r));var lr=t=>typeof t=="symbol"?t:t+"",cr=(t,r)=>{var e={};for(var n in t)X.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&W)for(var n of W(t))r.indexOf(n)<0&&pr.call(t,n)&&(e[n]=t[n]);return e};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},dr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!X.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Kr(r,i))||n.enumerable});return t};var J=(t,r,e)=>(e=t!=null?Vr(Jr(t)):{},dr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>dr(M({},"__esModule",{value:!0}),t);var q=(t,r,e)=>new Promise((n,i)=>{var o=p=>{try{u(e.next(p))}catch(c){i(c)}},a=p=>{try{u(e.throw(p))}catch(c){i(c)}},u=p=>p.done?n(p.value):Promise.resolve(p.value).then(o,a);u((e=e.apply(t,r)).next())});var hr=H(V=>{"use strict";l();V.byteLength=re;V.toByteArray=te;V.fromByteArray=oe;var b=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,fr=$.length;_<fr;++_)b[_]=$[_],v[$.charCodeAt(_)]=_;var _,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(ie(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var mr=H(j=>{l();j.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,c=p>>1,f=-7,d=e?i-1:0,I=e?-1:1,w=t[r+d];for(d+=I,o=w&(1<<-f)-1,w>>=-f,f+=u;f>0;o=o*256+t[r+d],d+=I,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+t[r+d],d+=I,f-=8);if(o===0)o=1-c;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,u,p,c=o*8-i-1,f=(1<<c)-1,d=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,B=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=f):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?r+=I/p:r+=I*Math.pow(2,1-d),r*p>=2&&(a++,p/=2),a+d>=f?(u=0,a=f):a+d>=1?(u=(r*p-1)*Math.pow(2,i),a=a+d):(u=r*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=B,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;t[e+w]=a&255,w+=B,a/=256,c-=8);t[e+w-B]|=qr*128}});var Er=H(U=>{"use strict";l();var Q=hr(),L=mr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=ce;U.INSPECT_MAX_BYTES=50;var Y=2147483647;U.kMaxLength=Y;s.TYPED_ARRAY_SUPPORT=ae();!s.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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return pe(t,r);if(ArrayBuffer.isView(t))return ue(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return rr(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=le(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function vr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function se(t,r,e){return vr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return se(t,r,e)};function tr(t){return vr(t),A(t<0?0:nr(t)|0)}s.allocUnsafe=function(t){return tr(t)};s.allocUnsafeSlow=function(t){return tr(t)};function pe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Ir(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Z(t){for(var r=t.length<0?0:nr(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ue(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return rr(r.buffer,r.byteOffset,r.byteLength)}return Z(t)}function rr(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function le(t){if(s.isBuffer(t)){var r=nr(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||ir(t.length)?A(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function nr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ce(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ir(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return er(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Nr(t).length;default:if(i)return n?-1:er(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=Ir;function de(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Ie(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return ye(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function R(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)R(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)R(this,e,e+3),R(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)R(this,e,e+7),R(this,e+1,e+6),R(this,e+2,e+5),R(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):de.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(s.prototype[xr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),c=this.slice(i,o),f=r.slice(e,n),d=0;d<p;++d)if(c[d]!==f[d]){a=c[d],u=f[d];break}return a<u?-1:u<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,ir(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(w,B){return o===1?w[B]:w.readUInt16BE(B*o)}var c;if(i){var f=-1;for(c=e;c<a;c++)if(p(t,c)===p(r,f===-1?0:c-f)){if(f===-1&&(f=c),c-f+1===u)return f*o}else f!==-1&&(c-=c-f),f=-1}else for(e+u>a&&(e=a-u),c=e;c>=0;c--){for(var d=!0,I=0;I<u;I++)if(p(t,c+I)!==p(r,I)){d=!1;break}if(d)return c}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(ir(u))return a;t[e+a]=u}return a}function ge(t,r,e,n){return K(er(r,t.length-e),t,e,n)}function he(t,r,e,n){return K(Se(r),t,e,n)}function me(t,r,e,n){return K(Nr(r),t,e,n)}function xe(t,r,e,n){return K(Ae(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ge(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ye(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,c,f,d;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],c=t[i+2],(p&192)===128&&(c&192)===128&&(d=(o&15)<<12|(p&63)<<6|c&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],c=t[i+2],f=t[i+3],(p&192)===128&&(c&192)===128&&(f&192)===128&&(d=(o&15)<<18|(p&63)<<12|(c&63)<<6|f&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return Te(n)}var Tr=4096;function Te(t){var r=t.length;if(r<=Tr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Tr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Ie(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ne[t[o]];return i}function be(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Sr(this,r,e,!1,n)};function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Ar(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Ar(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var ke=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(ke,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function er(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Se(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ae(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Nr(t){return Q.toByteArray(Fe(t))}function K(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function ir(t){return t!==t}var Ne=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=H((Oe,Dr)=>{l();var g=Dr.exports={},F,S;function or(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=or}catch(t){F=or}try{typeof clearTimeout=="function"?S=clearTimeout:S=ar}catch(t){S=ar}})();function Cr(t){if(F===setTimeout)return setTimeout(t,0);if((F===or||!F)&&setTimeout)return F=setTimeout,setTimeout(t,0);try{return F(t,0)}catch(r){try{return F.call(null,t,0)}catch(e){return F.call(this,t,0)}}}function Ee(t){if(S===clearTimeout)return clearTimeout(t);if((S===ar||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var N=[],P=!1,D,z=-1;function Ce(){!P||!D||(P=!1,D.length?N=D.concat(N):z=-1,N.length&&_r())}function _r(){if(!P){var t=Cr(Ce);P=!0;for(var r=N.length;r;){for(D=N,N=[];++z<r;)D&&D[z].run();z=-1,r=N.length}D=null,P=!1,Ee(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];N.push(new Rr(t,r)),N.length===1&&!P&&Cr(_r)};function Rr(t,r){this.fun=t,this.array=r}Rr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function E(){}g.on=E;g.addListener=E;g.once=E;g.off=E;g.removeListener=E;g.removeAllListeners=E;g.emit=E;g.prependListener=E;g.prependOnceListener=E;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Me,l=$r(()=>{h=J(Er()),m=J(Br()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var De={};jr(De,{getServerConfigurationForEnvironment:()=>Re});module.exports=Qr(De);l();l();l();l();l();l();l();l();var _e=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),O=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),Ve=C(C({},O.WindowProviderRequestEnums),Lr),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Ye=C(C({},O.WindowProviderResponseEnums),Ur);l();l();l();l();l();l();var G={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:Pr,egldLabel:pt}=G["devnet"],{chainId:Or,egldLabel:ut}=G["testnet"],{chainId:Mr,egldLabel:lt}=G["mainnet"];var ct={["devnet"]:Pr,["testnet"]:Or,["mainnet"]:Mr},dt={[Pr]:"devnet",[Or]:"testnet",[Mr]:"mainnet"};l();var Wr=J(require("axios"));l();var Gr="dapp/config";function Hr(t){return q(this,null,function*(){let r=`${t}/${Gr}`;try{let{data:n}=yield Wr.default.get(r);if(n!=null){let i="egldDenomination";if(i in n){let e=n,{[i]:o,decimals:a}=e,u=cr(e,[lr(i),"decimals"]);return ur(C({},u),{decimals:o,digits:a})}return n}}catch(n){console.error("error fetching configuration for ",r)}return null})}function Re(t,r){return q(this,null,function*(){var o;let e=G[t],n=(o=r==null?void 0:r.apiAddress)!=null?o:e.apiAddress,i=yield Hr(n);return i!==null?i:e})}0&&(module.exports={getServerConfigurationForEnvironment});
1
+ "use strict";var Vr=Object.create;var M=Object.defineProperty,Yr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertyNames,W=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,X=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,C=(t,r)=>{for(var e in r||(r={}))X.call(r,e)&&sr(t,e,r[e]);if(W)for(var e of W(r))pr.call(r,e)&&sr(t,e,r[e]);return t},ur=(t,r)=>Yr(t,zr(r));var lr=t=>typeof t=="symbol"?t:t+"",cr=(t,r)=>{var e={};for(var n in t)X.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&W)for(var n of W(t))r.indexOf(n)<0&&pr.call(t,n)&&(e[n]=t[n]);return e};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},dr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!X.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Kr(r,i))||n.enumerable});return t};var J=(t,r,e)=>(e=t!=null?Vr(Jr(t)):{},dr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>dr(M({},"__esModule",{value:!0}),t);var q=(t,r,e)=>new Promise((n,i)=>{var o=p=>{try{u(e.next(p))}catch(c){i(c)}},a=p=>{try{u(e.throw(p))}catch(c){i(c)}},u=p=>p.done?n(p.value):Promise.resolve(p.value).then(o,a);u((e=e.apply(t,r)).next())});var hr=H(V=>{"use strict";l();V.byteLength=re;V.toByteArray=te;V.fromByteArray=oe;var b=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,fr=$.length;_<fr;++_)b[_]=$[_],v[$.charCodeAt(_)]=_;var _,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(ie(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var mr=H(j=>{l();j.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,c=p>>1,f=-7,d=e?i-1:0,I=e?-1:1,w=t[r+d];for(d+=I,o=w&(1<<-f)-1,w>>=-f,f+=u;f>0;o=o*256+t[r+d],d+=I,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+t[r+d],d+=I,f-=8);if(o===0)o=1-c;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-c}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,u,p,c=o*8-i-1,f=(1<<c)-1,d=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,B=n?1:-1,qr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=f):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?r+=I/p:r+=I*Math.pow(2,1-d),r*p>=2&&(a++,p/=2),a+d>=f?(u=0,a=f):a+d>=1?(u=(r*p-1)*Math.pow(2,i),a=a+d):(u=r*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=B,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;t[e+w]=a&255,w+=B,a/=256,c-=8);t[e+w-B]|=qr*128}});var Er=H(U=>{"use strict";l();var Q=hr(),L=mr(),xr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=ce;U.INSPECT_MAX_BYTES=50;var Y=2147483647;U.kMaxLength=Y;s.TYPED_ARRAY_SUPPORT=ae();!s.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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>Y)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return pe(t,r);if(ArrayBuffer.isView(t))return ue(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return rr(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=le(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function vr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function se(t,r,e){return vr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return se(t,r,e)};function tr(t){return vr(t),A(t<0?0:nr(t)|0)}s.allocUnsafe=function(t){return tr(t)};s.allocUnsafeSlow=function(t){return tr(t)};function pe(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=Ir(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Z(t){for(var r=t.length<0?0:nr(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ue(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return rr(r.buffer,r.byteOffset,r.byteLength)}return Z(t)}function rr(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function le(t){if(s.isBuffer(t)){var r=nr(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||ir(t.length)?A(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function nr(t){if(t>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return t|0}function ce(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ir(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return er(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Nr(t).length;default:if(i)return n?-1:er(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=Ir;function de(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return Ie(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return ye(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function R(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)R(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)R(this,e,e+3),R(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)R(this,e,e+7),R(this,e+1,e+6),R(this,e+2,e+5),R(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):de.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};xr&&(s.prototype[xr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),c=this.slice(i,o),f=r.slice(e,n),d=0;d<p;++d)if(c[d]!==f[d]){a=c[d],u=f[d];break}return a<u?-1:u<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,ir(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(w,B){return o===1?w[B]:w.readUInt16BE(B*o)}var c;if(i){var f=-1;for(c=e;c<a;c++)if(p(t,c)===p(r,f===-1?0:c-f)){if(f===-1&&(f=c),c-f+1===u)return f*o}else f!==-1&&(c-=c-f),f=-1}else for(e+u>a&&(e=a-u),c=e;c>=0;c--){for(var d=!0,I=0;I<u;I++)if(p(t,c+I)!==p(r,I)){d=!1;break}if(d)return c}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function fe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(ir(u))return a;t[e+a]=u}return a}function ge(t,r,e,n){return K(er(r,t.length-e),t,e,n)}function he(t,r,e,n){return K(Fe(r),t,e,n)}function me(t,r,e,n){return K(Nr(r),t,e,n)}function xe(t,r,e,n){return K(Ae(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return fe(this,r,e,n);case"utf8":case"utf-8":return ge(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ye(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,c,f,d;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],c=t[i+2],(p&192)===128&&(c&192)===128&&(d=(o&15)<<12|(p&63)<<6|c&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],c=t[i+2],f=t[i+3],(p&192)===128&&(c&192)===128&&(f&192)===128&&(d=(o&15)<<18|(p&63)<<12|(c&63)<<6|f&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return Te(n)}var Tr=4096;function Te(t){var r=t.length;if(r<=Tr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Tr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function Ie(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ne[t[o]];return i}function be(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Sr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function Ar(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Ar(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Ar(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var ke=/[^+/0-9A-Za-z-_]/g;function Se(t){if(t=t.split("=")[0],t=t.trim().replace(ke,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function er(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Fe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ae(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Nr(t){return Q.toByteArray(Se(t))}function K(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function ir(t){return t!==t}var Ne=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=H((Oe,Dr)=>{l();var g=Dr.exports={},S,F;function or(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=or}catch(t){S=or}try{typeof clearTimeout=="function"?F=clearTimeout:F=ar}catch(t){F=ar}})();function Cr(t){if(S===setTimeout)return setTimeout(t,0);if((S===or||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ee(t){if(F===clearTimeout)return clearTimeout(t);if((F===ar||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(t);try{return F(t)}catch(r){try{return F.call(null,t)}catch(e){return F.call(this,t)}}}var N=[],P=!1,D,z=-1;function Ce(){!P||!D||(P=!1,D.length?N=D.concat(N):z=-1,N.length&&_r())}function _r(){if(!P){var t=Cr(Ce);P=!0;for(var r=N.length;r;){for(D=N,N=[];++z<r;)D&&D[z].run();z=-1,r=N.length}D=null,P=!1,Ee(t)}}g.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];N.push(new Rr(t,r)),N.length===1&&!P&&Cr(_r)};function Rr(t,r){this.fun=t,this.array=r}Rr.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function E(){}g.on=E;g.addListener=E;g.once=E;g.off=E;g.removeListener=E;g.removeAllListeners=E;g.emit=E;g.prependListener=E;g.prependOnceListener=E;g.listeners=function(t){return[]};g.binding=function(t){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(t){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var h,m,Me,l=$r(()=>{h=J(Er()),m=J(Br()),Me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var De={};jr(De,{getServerConfigurationForEnvironment:()=>Re});module.exports=Qr(De);l();l();l();l();l();l();l();l();var _e=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),O=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),Ve=C(C({},O.WindowProviderRequestEnums),Lr),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),Ye=C(C({},O.WindowProviderResponseEnums),Ur);l();l();l();l();l();l();var G={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:Pr,egldLabel:pt}=G["devnet"],{chainId:Or,egldLabel:ut}=G["testnet"],{chainId:Mr,egldLabel:lt}=G["mainnet"];var ct={["devnet"]:Pr,["testnet"]:Or,["mainnet"]:Mr},dt={[Pr]:"devnet",[Or]:"testnet",[Mr]:"mainnet"};l();var Wr=J(require("axios"));l();var Gr="dapp/config";function Hr(t){return q(this,null,function*(){let r=`${t}/${Gr}`;try{let{data:n}=yield Wr.default.get(r);if(n!=null){let i="egldDenomination";if(i in n){let e=n,{[i]:o,decimals:a}=e,u=cr(e,[lr(i),"decimals"]);return ur(C({},u),{decimals:o,digits:a})}return n}}catch(n){console.error("error fetching configuration for ",r)}return null})}function Re(t,r){return q(this,null,function*(){var o;let e=G[t],n=(o=r==null?void 0:r.apiAddress)!=null?o:e.apiAddress,i=yield Hr(n);return i!==null?i:e})}0&&(module.exports={getServerConfigurationForEnvironment});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *