@multiversx/sdk-dapp 4.3.7-alpha.1 → 4.3.7

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 (990) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/Pagination/Pagination.js +1 -1
  14. package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
  15. package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
  16. package/UI/Pagination/helpers/getPagination/index.js +1 -1
  17. package/UI/Pagination/helpers/index.js +1 -1
  18. package/UI/Pagination/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  52. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  53. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  54. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  56. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  57. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  58. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  59. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  60. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  61. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  62. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  63. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  64. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  65. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  66. package/UI/SignTransactionsModals/components/index.js +1 -1
  67. package/UI/SignTransactionsModals/index.js +1 -1
  68. package/UI/TokenDetails/index.js +1 -1
  69. package/UI/TransactionData/TransactionData.js +1 -1
  70. package/UI/TransactionData/index.js +1 -1
  71. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  72. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  73. package/UI/TransactionDetails/components/index.js +1 -1
  74. package/UI/TransactionDetails/index.js +1 -1
  75. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  76. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  77. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  78. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  79. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  80. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  81. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  82. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  83. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  84. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  85. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  86. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  87. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  88. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  89. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  90. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  91. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  92. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  93. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  94. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  95. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  96. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  97. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  98. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  99. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  100. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  101. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  102. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  103. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  104. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  105. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  106. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  107. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  108. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  109. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  110. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  113. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  114. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  115. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  116. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  117. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  118. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  119. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  120. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  121. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  122. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  123. package/UI/TransactionInfo/components/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  147. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  148. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  149. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  150. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  151. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  152. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  153. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  154. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  155. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  156. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  157. package/UI/TransactionInfo/index.js +1 -1
  158. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  159. package/UI/TransactionsTable/components/AccountName.js +1 -1
  160. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  161. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  162. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  163. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  164. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  165. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  166. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  167. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  168. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  169. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  170. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  171. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  172. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  173. package/UI/TransactionsTable/components/index.js +1 -1
  174. package/UI/TransactionsTable/index.js +1 -1
  175. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  176. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  177. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  181. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  182. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  183. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  184. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  185. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  186. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  187. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  188. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  189. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  190. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  191. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  192. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  193. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  194. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  195. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  196. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  197. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  198. package/UI/TransactionsToastList/components/index.js +1 -1
  199. package/UI/TransactionsToastList/index.js +1 -1
  200. package/UI/Trim/Trim.js +1 -1
  201. package/UI/Trim/index.js +1 -1
  202. package/UI/UsdValue/UsdValue.js +1 -1
  203. package/UI/UsdValue/index.js +1 -1
  204. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  205. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  206. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  207. package/UI/iframe/IframeLoginButton/index.js +1 -1
  208. package/UI/index.js +1 -1
  209. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  210. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  224. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  225. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  226. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  227. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  228. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  229. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  230. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  231. package/UI/ledger/index.js +1 -1
  232. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  233. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  234. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  235. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  236. package/UI/pages/UnlockPage/index.js +1 -1
  237. package/UI/pages/index.js +1 -1
  238. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  239. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  240. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  241. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  242. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  243. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  244. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  245. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  246. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  247. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  248. package/UI/walletConnect/index.js +1 -1
  249. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  250. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  251. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  252. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  253. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  254. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  255. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  256. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  257. package/__chunks__/{chunk-XM6H2TJ7.js → chunk-23GM5MRT.js} +2 -2
  258. package/__chunks__/{chunk-AY6QG3R7.js → chunk-23TLCHKE.js} +2 -2
  259. package/__chunks__/chunk-27WGUJZE.js +2 -0
  260. package/__chunks__/{chunk-DCN4I5I3.js → chunk-2A6C6QYS.js} +2 -2
  261. package/__chunks__/{chunk-4CGYTJU5.js → chunk-2CBZ3KMF.js} +2 -2
  262. package/__chunks__/{chunk-WMZRLDDB.js → chunk-2F2BYJWA.js} +2 -2
  263. package/__chunks__/{chunk-JV4FQIKE.js → chunk-2LBQ2SLF.js} +2 -2
  264. package/__chunks__/chunk-2QPF2SQD.js +2 -0
  265. package/__chunks__/{chunk-YN2EELKV.js → chunk-2UBLCRZ4.js} +2 -2
  266. package/__chunks__/chunk-2X25Y5GF.js +2 -0
  267. package/__chunks__/{chunk-66ZJ3ODL.js → chunk-2XWM2CA6.js} +2 -2
  268. package/__chunks__/{chunk-76MXPG4T.js → chunk-2YO4FS2N.js} +2 -2
  269. package/__chunks__/{chunk-GN7XYESZ.js → chunk-32J5SXUL.js} +2 -2
  270. package/__chunks__/{chunk-XP3W7L43.js → chunk-33NTIYYV.js} +2 -2
  271. package/__chunks__/{chunk-ABWE57OW.js → chunk-3746TTBY.js} +2 -2
  272. package/__chunks__/{chunk-BCX6FOKU.js → chunk-3A6IWZWA.js} +2 -2
  273. package/__chunks__/{chunk-RADZXL45.js → chunk-3AMTGVF7.js} +2 -2
  274. package/__chunks__/{chunk-6L7477VU.js → chunk-3GFNZM6Y.js} +2 -2
  275. package/__chunks__/chunk-3P7JIUF2.js +2 -0
  276. package/__chunks__/chunk-3QXCMMFJ.js +2 -0
  277. package/__chunks__/{chunk-2FQP4IXM.js → chunk-3RYWDPX5.js} +2 -2
  278. package/__chunks__/{chunk-4BYOXFRG.js → chunk-3UUCN3HD.js} +2 -2
  279. package/__chunks__/{chunk-EQT7ENGZ.js → chunk-3VPT3ZOY.js} +2 -2
  280. package/__chunks__/{chunk-DVXSRLUC.js → chunk-3YSQJ27F.js} +2 -2
  281. package/__chunks__/{chunk-AKDBXLFD.js → chunk-42ISFSB7.js} +2 -2
  282. package/__chunks__/chunk-44YK2JQK.js +2 -0
  283. package/__chunks__/chunk-45EED7RD.js +2 -0
  284. package/__chunks__/{chunk-TY4JRVKH.js → chunk-473RHXJZ.js} +2 -2
  285. package/__chunks__/{chunk-EHJYUWWD.js → chunk-4HOVNT63.js} +2 -2
  286. package/__chunks__/{chunk-XIHIVGQW.js → chunk-4OLYSVFS.js} +2 -2
  287. package/__chunks__/{chunk-A7SFR5FL.js → chunk-4OZCHB5J.js} +2 -2
  288. package/__chunks__/{chunk-TIE766XS.js → chunk-4SF4EXLQ.js} +2 -2
  289. package/__chunks__/{chunk-WWURVI45.js → chunk-4W7QMWKG.js} +2 -2
  290. package/__chunks__/{chunk-EGJV5XUY.js → chunk-4XK6NFRG.js} +2 -2
  291. package/__chunks__/chunk-5CP7VS26.js +2 -0
  292. package/__chunks__/{chunk-3UUV5VIT.js → chunk-5F24SJ6V.js} +2 -2
  293. package/__chunks__/{chunk-A3Z7QLKQ.js → chunk-5MLIRHYE.js} +2 -2
  294. package/__chunks__/{chunk-AGMG2ZFD.js → chunk-5NI5KVBE.js} +2 -2
  295. package/__chunks__/{chunk-7HT3RIBZ.js → chunk-5QPVOHLJ.js} +2 -2
  296. package/__chunks__/{chunk-ML26NOVV.js → chunk-5RU42EBW.js} +2 -2
  297. package/__chunks__/{chunk-5YJPRGZL.js → chunk-5T3SLIRC.js} +2 -2
  298. package/__chunks__/{chunk-5BEOGAWT.js → chunk-5T73HHLV.js} +2 -2
  299. package/__chunks__/chunk-5THRJXRB.js +2 -0
  300. package/__chunks__/{chunk-O7F435WF.js → chunk-5TR53SGW.js} +2 -2
  301. package/__chunks__/{chunk-EOC5RHKA.js → chunk-5UM2GECD.js} +2 -2
  302. package/__chunks__/{chunk-PBRUGNAH.js → chunk-5V2DPUMR.js} +2 -2
  303. package/__chunks__/chunk-5VJAXXXC.js +2 -0
  304. package/__chunks__/{chunk-5DEHF3DP.js → chunk-5YPPRA6N.js} +2 -2
  305. package/__chunks__/{chunk-6QECU6AP.js → chunk-5Z6GEXU2.js} +2 -2
  306. package/__chunks__/chunk-5ZUKUASY.js +2 -0
  307. package/__chunks__/{chunk-2IWDAERI.js → chunk-6BHX42UO.js} +2 -2
  308. package/__chunks__/{chunk-XPSMGERS.js → chunk-6EDPXPUN.js} +2 -2
  309. package/__chunks__/{chunk-XSZJKQ47.js → chunk-6FMFBJ36.js} +2 -2
  310. package/__chunks__/{chunk-BHOBPFBR.js → chunk-6GV6PRNQ.js} +2 -2
  311. package/__chunks__/{chunk-BLZMGGQ7.js → chunk-6HWEXMPO.js} +2 -2
  312. package/__chunks__/{chunk-ZRSLTBJN.js → chunk-6LNCWWVK.js} +2 -2
  313. package/__chunks__/{chunk-247CWZAL.js → chunk-6P5PQK6A.js} +2 -2
  314. package/__chunks__/{chunk-44Q3ILEX.js → chunk-6THCGQFS.js} +2 -2
  315. package/__chunks__/chunk-6XSN2NUM.js +2 -0
  316. package/__chunks__/{chunk-T4JCG2JD.js → chunk-6YCPFMBP.js} +2 -2
  317. package/__chunks__/{chunk-ZPNCO7ZN.js → chunk-72SZPPHS.js} +2 -2
  318. package/__chunks__/{chunk-27IGJ3ZX.js → chunk-74AUDYOZ.js} +2 -2
  319. package/__chunks__/{chunk-VHVGSXKL.js → chunk-77QNUACW.js} +2 -2
  320. package/__chunks__/{chunk-H5XRTVLO.js → chunk-7CBAL7VJ.js} +2 -2
  321. package/__chunks__/{chunk-KKK2GOLP.js → chunk-7HRLNVKP.js} +2 -2
  322. package/__chunks__/chunk-7HXGKE3D.js +2 -0
  323. package/__chunks__/{chunk-OSVHTFGA.js → chunk-7MULT7WN.js} +2 -2
  324. package/__chunks__/chunk-7NZMCX7I.js +2 -0
  325. package/__chunks__/{chunk-LTVCG3JF.js → chunk-7OUPDZF7.js} +2 -2
  326. package/__chunks__/{chunk-3Z53OPLA.js → chunk-7SAIKJXD.js} +2 -2
  327. package/__chunks__/{chunk-RDYR43B6.js → chunk-7W72NXIL.js} +2 -2
  328. package/__chunks__/{chunk-CI3HSHWH.js → chunk-7WHMZ4V2.js} +2 -2
  329. package/__chunks__/chunk-7YFU7CBE.js +2 -0
  330. package/__chunks__/chunk-7ZICCVTM.js +2 -0
  331. package/__chunks__/{chunk-V66OYGOX.js → chunk-ADOZ5JAM.js} +2 -2
  332. package/__chunks__/{chunk-BS646ITV.js → chunk-AIJJPHEG.js} +2 -2
  333. package/__chunks__/{chunk-ZLMOEVKI.js → chunk-AIL4EOI4.js} +2 -2
  334. package/__chunks__/{chunk-CL4HMFCZ.js → chunk-AM2B233Y.js} +2 -2
  335. package/__chunks__/{chunk-HKHEIBCP.js → chunk-AQICGRPJ.js} +2 -2
  336. package/__chunks__/{chunk-FHC7OXSX.js → chunk-AV4L4A5N.js} +2 -2
  337. package/__chunks__/chunk-BB47TQXL.js +2 -0
  338. package/__chunks__/{chunk-4VAURNWV.js → chunk-BC4EQU4T.js} +2 -2
  339. package/__chunks__/{chunk-SG7YDVJJ.js → chunk-BCGOKA6L.js} +2 -2
  340. package/__chunks__/{chunk-ALGCGE23.js → chunk-BECEIKMJ.js} +2 -2
  341. package/__chunks__/chunk-BEDNI53P.js +2 -0
  342. package/__chunks__/{chunk-23UW6T6K.js → chunk-BJVVO6UW.js} +2 -2
  343. package/__chunks__/{chunk-4NKUOMLW.js → chunk-BOS66QTB.js} +2 -2
  344. package/__chunks__/chunk-BPFQKMQN.js +2 -0
  345. package/__chunks__/{chunk-VSUHY63Y.js → chunk-BQG524WY.js} +2 -2
  346. package/__chunks__/{chunk-6S3DCK4N.js → chunk-BRLRVWOE.js} +2 -2
  347. package/__chunks__/{chunk-2C2KGHMG.js → chunk-BUNQEUVQ.js} +2 -2
  348. package/__chunks__/{chunk-6UPRNAHZ.js → chunk-BYMIG4WU.js} +2 -2
  349. package/__chunks__/{chunk-FRCZUDD2.js → chunk-BZLVMM4H.js} +2 -2
  350. package/__chunks__/{chunk-I4IFFG2C.js → chunk-C25I3LPK.js} +2 -2
  351. package/__chunks__/{chunk-YDU2CHXH.js → chunk-C7YZRX62.js} +2 -2
  352. package/__chunks__/{chunk-VOBJYTDL.js → chunk-CD6DKCP3.js} +2 -2
  353. package/__chunks__/{chunk-CA2EZPHH.js → chunk-CECXTGBB.js} +2 -2
  354. package/__chunks__/{chunk-OF4YELHM.js → chunk-CHJGKW2E.js} +2 -2
  355. package/__chunks__/chunk-CISINKAP.js +2 -0
  356. package/__chunks__/{chunk-T3WPA3MW.js → chunk-CLACWGJV.js} +2 -2
  357. package/__chunks__/chunk-COALBNUA.js +2 -0
  358. package/__chunks__/{chunk-JILXSRWO.js → chunk-CQI3SKX6.js} +2 -2
  359. package/__chunks__/chunk-CUALYLTA.js +2 -0
  360. package/__chunks__/{chunk-S2RK5U4Z.js → chunk-CXDXK6RY.js} +2 -2
  361. package/__chunks__/{chunk-V44EN5XF.js → chunk-CZXRJNZR.js} +2 -2
  362. package/__chunks__/{chunk-3L42RZVQ.js → chunk-D26QQZKC.js} +2 -2
  363. package/__chunks__/{chunk-N5VATWER.js → chunk-D2F6OV77.js} +2 -2
  364. package/__chunks__/chunk-D6X43XMZ.js +2 -0
  365. package/__chunks__/{chunk-6O4N33OA.js → chunk-DF7KFM6M.js} +2 -2
  366. package/__chunks__/{chunk-UZTIVTF2.js → chunk-DGC4CJDN.js} +2 -2
  367. package/__chunks__/{chunk-4OTYVDUU.js → chunk-DPLLZMAJ.js} +2 -2
  368. package/__chunks__/{chunk-TPXYBPX7.js → chunk-DYZSYKG5.js} +2 -2
  369. package/__chunks__/chunk-DZXHQDXB.js +2 -0
  370. package/__chunks__/{chunk-KKOIRC26.js → chunk-E5PGYF5O.js} +2 -2
  371. package/__chunks__/{chunk-BPFHZ42J.js → chunk-EBWK6OSA.js} +2 -2
  372. package/__chunks__/{chunk-4VP6IMSP.js → chunk-ECG66QXO.js} +2 -2
  373. package/__chunks__/{chunk-GFBGNKOT.js → chunk-EE4OGYTX.js} +2 -2
  374. package/__chunks__/{chunk-WQNZIAMR.js → chunk-EFURWS6F.js} +2 -2
  375. package/__chunks__/{chunk-L7YGAYGO.js → chunk-EHGOPQXG.js} +2 -2
  376. package/__chunks__/{chunk-GV2ONK6U.js → chunk-EL5HFCSV.js} +2 -2
  377. package/__chunks__/{chunk-NRRT53RB.js → chunk-EMYQEL7H.js} +2 -2
  378. package/__chunks__/{chunk-FSEQM3S4.js → chunk-EP54OBTP.js} +2 -2
  379. package/__chunks__/{chunk-BBSPKIFU.js → chunk-EPFNDRYW.js} +2 -2
  380. package/__chunks__/{chunk-Z4VCS5B6.js → chunk-EQW6HDO3.js} +2 -2
  381. package/__chunks__/{chunk-3LJO7ACH.js → chunk-ESH5IZBM.js} +2 -2
  382. package/__chunks__/chunk-EVGFEWRV.js +2 -0
  383. package/__chunks__/{chunk-QXDOR7V3.js → chunk-EW7RZNZW.js} +2 -2
  384. package/__chunks__/{chunk-CKOE2EZI.js → chunk-F4DAB6HG.js} +2 -2
  385. package/__chunks__/{chunk-UC6IWB34.js → chunk-FASRZSAA.js} +2 -2
  386. package/__chunks__/{chunk-QCEZ5KJ6.js → chunk-FKVVT5SN.js} +2 -2
  387. package/__chunks__/{chunk-WT6EZTBA.js → chunk-FNLCVFDP.js} +2 -2
  388. package/__chunks__/{chunk-STEAKDVO.js → chunk-FNPOCXK6.js} +2 -2
  389. package/__chunks__/chunk-FOLDL6UE.js +2 -0
  390. package/__chunks__/chunk-FOUTVUUG.js +2 -0
  391. package/__chunks__/{chunk-EKTD67JW.js → chunk-FW4UWSA2.js} +2 -2
  392. package/__chunks__/chunk-FWFFDQAD.js +2 -0
  393. package/__chunks__/{chunk-MBXZPLJ4.js → chunk-FX2M5ZKW.js} +2 -2
  394. package/__chunks__/{chunk-X66DMNPB.js → chunk-FX6PKMU5.js} +2 -2
  395. package/__chunks__/chunk-GDNANAEG.js +2 -0
  396. package/__chunks__/{chunk-54DP5Y4K.js → chunk-GDXJ4VBG.js} +2 -2
  397. package/__chunks__/chunk-GEGCP2IO.js +2 -0
  398. package/__chunks__/{chunk-KRJ7CVKU.js → chunk-GSLVEYLN.js} +2 -2
  399. package/__chunks__/{chunk-QAKWBGMX.js → chunk-GSVPUVJG.js} +2 -2
  400. package/__chunks__/{chunk-Y6BFOXIU.js → chunk-GTFRBJR7.js} +2 -2
  401. package/__chunks__/{chunk-65UEDTVU.js → chunk-GTZZTQKG.js} +2 -2
  402. package/__chunks__/{chunk-HRCD5XVQ.js → chunk-GXITFUBS.js} +2 -2
  403. package/__chunks__/{chunk-VFJVVIKH.js → chunk-GXJZ4IRL.js} +2 -2
  404. package/__chunks__/{chunk-YEUOZTD5.js → chunk-H47R6G4B.js} +2 -2
  405. package/__chunks__/{chunk-5PNKHRII.js → chunk-H4DG2TBS.js} +2 -2
  406. package/__chunks__/{chunk-FJVMIVY4.js → chunk-H5SDXBQQ.js} +2 -2
  407. package/__chunks__/{chunk-UG7M2NK3.js → chunk-HAKR5DMV.js} +2 -2
  408. package/__chunks__/chunk-HH25W56B.js +2 -0
  409. package/__chunks__/{chunk-F3P4O7JN.js → chunk-HKI62JTC.js} +2 -2
  410. package/__chunks__/chunk-HNKSOLC5.js +2 -0
  411. package/__chunks__/{chunk-5C6Y6OHX.js → chunk-HNT4S7KF.js} +2 -2
  412. package/__chunks__/{chunk-IFBSZB5W.js → chunk-HSYTAZWF.js} +2 -2
  413. package/__chunks__/{chunk-HDR2O56U.js → chunk-HVKNFFGU.js} +2 -2
  414. package/__chunks__/{chunk-TI5TZTIF.js → chunk-HWUU6VUY.js} +2 -2
  415. package/__chunks__/{chunk-2IENB7CD.js → chunk-HWUWRRU5.js} +2 -2
  416. package/__chunks__/chunk-HXS2532U.js +2 -0
  417. package/__chunks__/{chunk-V4ZZZI4O.js → chunk-I37QNZI3.js} +2 -2
  418. package/__chunks__/chunk-I4SBNIPG.js +2 -0
  419. package/__chunks__/{chunk-6TC2CUIW.js → chunk-I4TVFNHM.js} +2 -2
  420. package/__chunks__/{chunk-MW5UTX4O.js → chunk-I5JYXPN5.js} +2 -2
  421. package/__chunks__/chunk-I7NGE5L5.js +2 -0
  422. package/__chunks__/{chunk-72SPHVYD.js → chunk-IBRKWAJU.js} +2 -2
  423. package/__chunks__/{chunk-ECACDMYU.js → chunk-IDTFMFJZ.js} +2 -2
  424. package/__chunks__/{chunk-5T2GVJGO.js → chunk-IE56FRZD.js} +2 -2
  425. package/__chunks__/{chunk-X3F6CNIN.js → chunk-IGBTLJTF.js} +2 -2
  426. package/__chunks__/chunk-IJ35Y5A4.js +2 -0
  427. package/__chunks__/{chunk-GBWDIMXW.js → chunk-IJYOHW7C.js} +2 -2
  428. package/__chunks__/{chunk-S5LC44OW.js → chunk-INP7J7FX.js} +2 -2
  429. package/__chunks__/{chunk-H33EC7OK.js → chunk-IXNMYLYS.js} +2 -2
  430. package/__chunks__/{chunk-WP6G36GM.js → chunk-IYUFMJIP.js} +2 -2
  431. package/__chunks__/{chunk-KV2W3FZQ.js → chunk-J3IWRUKX.js} +2 -2
  432. package/__chunks__/chunk-JBB4Z2L4.js +2 -0
  433. package/__chunks__/{chunk-RSSOJ5OU.js → chunk-JDLZMDIG.js} +2 -2
  434. package/__chunks__/{chunk-CEDBV5MI.js → chunk-JDRWJJ2G.js} +2 -2
  435. package/__chunks__/chunk-JIBQFVV2.js +2 -0
  436. package/__chunks__/{chunk-DNFFBNUR.js → chunk-JLOSZQZZ.js} +2 -2
  437. package/__chunks__/{chunk-YMPVYOGJ.js → chunk-JMXLBJC2.js} +2 -2
  438. package/__chunks__/{chunk-BRL4L2SP.js → chunk-JNDH6QEC.js} +2 -2
  439. package/__chunks__/{chunk-TWA63P5U.js → chunk-JNVE2W2S.js} +2 -2
  440. package/__chunks__/{chunk-OC4WFUCV.js → chunk-JPDGWMJM.js} +2 -2
  441. package/__chunks__/chunk-JPSCYSYA.js +2 -0
  442. package/__chunks__/{chunk-AB6VKN67.js → chunk-JQCCY747.js} +2 -2
  443. package/__chunks__/{chunk-R243H6WT.js → chunk-JUOBTLLE.js} +2 -2
  444. package/__chunks__/{chunk-QFWW55DY.js → chunk-JVUPBGMS.js} +2 -2
  445. package/__chunks__/{chunk-E77FO7PD.js → chunk-K3GWYCQL.js} +2 -2
  446. package/__chunks__/{chunk-GELZPH2U.js → chunk-KBMCFXF6.js} +2 -2
  447. package/__chunks__/{chunk-XZE3PVAW.js → chunk-KJK6Y6Y2.js} +2 -2
  448. package/__chunks__/chunk-KMF4ARKB.js +2 -0
  449. package/__chunks__/{chunk-GZZ7B7YT.js → chunk-KMQ4RCKI.js} +2 -2
  450. package/__chunks__/{chunk-H4S4FAUR.js → chunk-KN43XYJJ.js} +2 -2
  451. package/__chunks__/{chunk-JFHPHBLM.js → chunk-KNX76FSY.js} +2 -2
  452. package/__chunks__/chunk-KRA2FHLN.js +2 -0
  453. package/__chunks__/chunk-KS5WKQTN.js +2 -0
  454. package/__chunks__/{chunk-2JHIYGSQ.js → chunk-KTJCKW7D.js} +2 -2
  455. package/__chunks__/{chunk-4J2GNYKT.js → chunk-KUKVCG4F.js} +2 -2
  456. package/__chunks__/{chunk-2BCVAC3J.js → chunk-KXNWAPAZ.js} +2 -2
  457. package/__chunks__/{chunk-A27KJYDJ.js → chunk-KYHRQN66.js} +2 -2
  458. package/__chunks__/{chunk-LKG3Z2FU.js → chunk-KZVBF23X.js} +2 -2
  459. package/__chunks__/chunk-LDDPUQ5P.js +2 -0
  460. package/__chunks__/{chunk-FODGJWQ7.js → chunk-LIQDMKPS.js} +2 -2
  461. package/__chunks__/{chunk-X5TPOJCQ.js → chunk-LKATYICJ.js} +2 -2
  462. package/__chunks__/{chunk-WECD4JWK.js → chunk-LMECC6LT.js} +2 -2
  463. package/__chunks__/{chunk-MTKAOKGI.js → chunk-LN2KYNEJ.js} +2 -2
  464. package/__chunks__/{chunk-3PEN26RC.js → chunk-LP5I2L2K.js} +2 -2
  465. package/__chunks__/{chunk-466XNCDU.js → chunk-LWY6ZFJW.js} +2 -2
  466. package/__chunks__/{chunk-KTM7BNIU.js → chunk-LYS6XNSD.js} +2 -2
  467. package/__chunks__/{chunk-IPUOVKSK.js → chunk-M5NKEQDD.js} +2 -2
  468. package/__chunks__/chunk-MAFAQGDS.js +2 -0
  469. package/__chunks__/{chunk-INYG7CVW.js → chunk-MHJOPPOR.js} +2 -2
  470. package/__chunks__/{chunk-J4C62YPV.js → chunk-MKN52J2E.js} +2 -2
  471. package/__chunks__/{chunk-EFDWUMLZ.js → chunk-MNRPZFBH.js} +2 -2
  472. package/__chunks__/{chunk-4JGZU6B2.js → chunk-MWRND26Z.js} +2 -2
  473. package/__chunks__/{chunk-VUS67ZQ3.js → chunk-N3MC7UUY.js} +2 -2
  474. package/__chunks__/{chunk-HIHIQLFL.js → chunk-NDCIY7HH.js} +2 -2
  475. package/__chunks__/{chunk-UB6VDRDB.js → chunk-NIL4KV4Z.js} +2 -2
  476. package/__chunks__/{chunk-DUT4MPWK.js → chunk-NKKKO77C.js} +2 -2
  477. package/__chunks__/chunk-NKU7U6T3.js +2 -0
  478. package/__chunks__/{chunk-ZTZP55KR.js → chunk-NMH5ACZ5.js} +2 -2
  479. package/__chunks__/{chunk-WRLOADUZ.js → chunk-NMS2IX4Y.js} +2 -2
  480. package/__chunks__/{chunk-RYIW54CV.js → chunk-NN46POOZ.js} +2 -2
  481. package/__chunks__/{chunk-PYAUVNDC.js → chunk-NNBXQNL4.js} +2 -2
  482. package/__chunks__/{chunk-LQIS3XWO.js → chunk-NUUFN3U3.js} +2 -2
  483. package/__chunks__/{chunk-ZATQ7HNF.js → chunk-NYSDVTV4.js} +2 -2
  484. package/__chunks__/chunk-O3GXKJ5K.js +2 -0
  485. package/__chunks__/{chunk-JOIP4SPQ.js → chunk-ONRCVDUL.js} +2 -2
  486. package/__chunks__/{chunk-QLDIPBCA.js → chunk-OSRDK6M4.js} +2 -2
  487. package/__chunks__/{chunk-YGC6P6CN.js → chunk-OTSBX5UW.js} +2 -2
  488. package/__chunks__/{chunk-44KDM3XU.js → chunk-OUD2P6CW.js} +2 -2
  489. package/__chunks__/{chunk-I3VUOLXZ.js → chunk-OYTZTTGS.js} +2 -2
  490. package/__chunks__/{chunk-NS6EZXKW.js → chunk-P4P5AAZS.js} +2 -2
  491. package/__chunks__/{chunk-BIJJABFF.js → chunk-P5GRNM4T.js} +2 -2
  492. package/__chunks__/{chunk-GKQOMEHF.js → chunk-PCRUVHRP.js} +2 -2
  493. package/__chunks__/{chunk-7CHU4CHI.js → chunk-PKYOBNVX.js} +2 -2
  494. package/__chunks__/chunk-PMHSH2BP.js +2 -0
  495. package/__chunks__/{chunk-2N3UEUL4.js → chunk-PN4PH3UL.js} +2 -2
  496. package/__chunks__/chunk-PO4NUYJR.js +2 -0
  497. package/__chunks__/{chunk-DDJWZCKP.js → chunk-POXZKNEH.js} +2 -2
  498. package/__chunks__/{chunk-XZPPYHZ4.js → chunk-PRPHMIRU.js} +2 -2
  499. package/__chunks__/{chunk-GXK7R7T3.js → chunk-PUKIP2GB.js} +2 -2
  500. package/__chunks__/{chunk-TGIHM47G.js → chunk-PWGA4SK4.js} +2 -2
  501. package/__chunks__/{chunk-EDWSZVE7.js → chunk-Q6TUPQXP.js} +2 -2
  502. package/__chunks__/{chunk-UUXOIJCH.js → chunk-Q75YDIAP.js} +2 -2
  503. package/__chunks__/{chunk-5COTNJNR.js → chunk-Q7LAE32A.js} +2 -2
  504. package/__chunks__/chunk-Q7PYHNJP.js +2 -0
  505. package/__chunks__/{chunk-HNCRL46Z.js → chunk-QH2I3TBG.js} +2 -2
  506. package/__chunks__/chunk-QJNGK27C.js +2 -0
  507. package/__chunks__/{chunk-SYVEZT7U.js → chunk-QKY343QT.js} +2 -2
  508. package/__chunks__/{chunk-ZH3TF467.js → chunk-QL2ICMWN.js} +2 -2
  509. package/__chunks__/{chunk-L4RSVJLG.js → chunk-QRRTFA4G.js} +2 -2
  510. package/__chunks__/chunk-QWPM53RM.js +2 -0
  511. package/__chunks__/{chunk-J5UXWFTG.js → chunk-QWSQTADF.js} +2 -2
  512. package/__chunks__/{chunk-N7IH3YMI.js → chunk-QXCE5J5V.js} +2 -2
  513. package/__chunks__/{chunk-DWZO5QOV.js → chunk-R7J223VN.js} +2 -2
  514. package/__chunks__/{chunk-6YSCEQPI.js → chunk-RDCZCZO3.js} +2 -2
  515. package/__chunks__/{chunk-G7ACGZFQ.js → chunk-RFEOZRDH.js} +2 -2
  516. package/__chunks__/{chunk-V3PQVRGP.js → chunk-RG7FLBZD.js} +2 -2
  517. package/__chunks__/chunk-RGC4W6PF.js +2 -0
  518. package/__chunks__/{chunk-KM37QY5O.js → chunk-RIHP2KM6.js} +2 -2
  519. package/__chunks__/{chunk-U2W5HXRD.js → chunk-RJEMLYU5.js} +2 -2
  520. package/__chunks__/{chunk-OU4XE62J.js → chunk-RJWUECPV.js} +2 -2
  521. package/__chunks__/{chunk-YUXJQN6D.js → chunk-RKXFNWBS.js} +2 -2
  522. package/__chunks__/{chunk-4YCIYS4M.js → chunk-RPT4AXDT.js} +2 -2
  523. package/__chunks__/{chunk-ZFIPAX5Z.js → chunk-RRAWK5WD.js} +2 -2
  524. package/__chunks__/{chunk-TRZWFZ2G.js → chunk-RRGGWHLF.js} +2 -2
  525. package/__chunks__/{chunk-BJAOHKBY.js → chunk-RXARO7Z6.js} +2 -2
  526. package/__chunks__/{chunk-PCDAUX2O.js → chunk-S3TYLBXH.js} +2 -2
  527. package/__chunks__/{chunk-QJH2Z3MH.js → chunk-S563QFIW.js} +2 -2
  528. package/__chunks__/{chunk-6ST6SDZ4.js → chunk-S5O6PLRV.js} +2 -2
  529. package/__chunks__/{chunk-Y5O7ZJPX.js → chunk-SB54KQH2.js} +2 -2
  530. package/__chunks__/{chunk-G7NHQY3Z.js → chunk-SEMWD6G3.js} +2 -2
  531. package/__chunks__/{chunk-CQ55ET4B.js → chunk-SKAXKU2I.js} +2 -2
  532. package/__chunks__/{chunk-4NG2CMNJ.js → chunk-SLV6RWJA.js} +2 -2
  533. package/__chunks__/chunk-SSGCKKCP.js +2 -0
  534. package/__chunks__/{chunk-TTGGRHYD.js → chunk-STMFYDBE.js} +2 -2
  535. package/__chunks__/{chunk-ASSVTOUX.js → chunk-SYDN6KRX.js} +2 -2
  536. package/__chunks__/{chunk-74CBWXX5.js → chunk-SYZK5EXY.js} +2 -2
  537. package/__chunks__/chunk-SZYVKAJI.js +2 -0
  538. package/__chunks__/{chunk-BFTKNAE7.js → chunk-T2PES3Q3.js} +2 -2
  539. package/__chunks__/{chunk-X5EW6ZQW.js → chunk-T5GVXGBM.js} +2 -2
  540. package/__chunks__/chunk-T6EW2DHO.js +2 -0
  541. package/__chunks__/{chunk-JRZ3YAKA.js → chunk-TBEQYVYW.js} +2 -2
  542. package/__chunks__/chunk-TDNO5BAM.js +2 -0
  543. package/__chunks__/{chunk-Z3ANC3ND.js → chunk-THLYEDAE.js} +2 -2
  544. package/__chunks__/{chunk-R46N7BH4.js → chunk-TNZEG3CZ.js} +2 -2
  545. package/__chunks__/{chunk-CMHFMQ66.js → chunk-TQ2BKKBT.js} +2 -2
  546. package/__chunks__/{chunk-2IZQF4BK.js → chunk-TW3LEKQM.js} +2 -2
  547. package/__chunks__/{chunk-WNQCX4IP.js → chunk-TWZMJ3UH.js} +2 -2
  548. package/__chunks__/{chunk-G2UMPOSL.js → chunk-TXREOH3S.js} +2 -2
  549. package/__chunks__/{chunk-FTMNSWQT.js → chunk-TYD5AVUJ.js} +2 -2
  550. package/__chunks__/{chunk-A2XNDMXT.js → chunk-TYS2TQK3.js} +2 -2
  551. package/__chunks__/{chunk-UK75ZR6W.js → chunk-TZIC5MQV.js} +2 -2
  552. package/__chunks__/{chunk-7EWS3JFH.js → chunk-TZTDIVG3.js} +2 -2
  553. package/__chunks__/{chunk-5KIRN2CC.js → chunk-U2XBKHBY.js} +2 -2
  554. package/__chunks__/chunk-U5GJPRC6.js +2 -0
  555. package/__chunks__/{chunk-73OFECEK.js → chunk-U5QUWFCX.js} +2 -2
  556. package/__chunks__/{chunk-7BY4IUVM.js → chunk-UCBK4UUB.js} +2 -2
  557. package/__chunks__/{chunk-GW5HVWJT.js → chunk-UEJFKME5.js} +2 -2
  558. package/__chunks__/chunk-UJWI6ZHC.js +2 -0
  559. package/__chunks__/{chunk-JFBOQIQW.js → chunk-UP5L25UG.js} +2 -2
  560. package/__chunks__/{chunk-E6YCDIVQ.js → chunk-USAPXQC6.js} +2 -2
  561. package/__chunks__/{chunk-DZ4HOO6P.js → chunk-UW4VWD4C.js} +2 -2
  562. package/__chunks__/{chunk-KCZANV2R.js → chunk-UWAHFJGT.js} +2 -2
  563. package/__chunks__/{chunk-POUJCATT.js → chunk-UWBKQQGK.js} +2 -2
  564. package/__chunks__/{chunk-AFOSGFQC.js → chunk-UYIFSBFM.js} +2 -2
  565. package/__chunks__/{chunk-HNINX472.js → chunk-UZ7K4UMU.js} +2 -2
  566. package/__chunks__/{chunk-HF5I2QHD.js → chunk-UZV5VBWP.js} +2 -2
  567. package/__chunks__/chunk-V75NLL26.js +2 -0
  568. package/__chunks__/chunk-V7QS45U5.js +2 -0
  569. package/__chunks__/{chunk-767RYSHM.js → chunk-VICMCLGA.js} +2 -2
  570. package/__chunks__/{chunk-5TWE2KLV.js → chunk-VJJMYOLU.js} +2 -2
  571. package/__chunks__/{chunk-Z2FXGPPI.js → chunk-VKLDPAEO.js} +2 -2
  572. package/__chunks__/{chunk-45GYVUVD.js → chunk-VR4CVIIC.js} +2 -2
  573. package/__chunks__/{chunk-7QBE3YER.js → chunk-VVME5RRR.js} +2 -2
  574. package/__chunks__/{chunk-GZXOQPQO.js → chunk-VZFMZEZ4.js} +2 -2
  575. package/__chunks__/{chunk-2NH2CEZC.js → chunk-W5MEGAKJ.js} +2 -2
  576. package/__chunks__/{chunk-JPQBGAS2.js → chunk-WIGRCS6C.js} +2 -2
  577. package/__chunks__/{chunk-F5ZCLB3J.js → chunk-WMSQ5XTJ.js} +2 -2
  578. package/__chunks__/{chunk-GMOOFELW.js → chunk-WQN5U2MF.js} +2 -2
  579. package/__chunks__/{chunk-PUFULSFK.js → chunk-WQYNJFMF.js} +2 -2
  580. package/__chunks__/{chunk-UUYC62RJ.js → chunk-WRES5TZ3.js} +2 -2
  581. package/__chunks__/{chunk-P3YH3CNI.js → chunk-X5P43RJL.js} +2 -2
  582. package/__chunks__/{chunk-2RLK7VAH.js → chunk-XCX5VUUO.js} +2 -2
  583. package/__chunks__/{chunk-AXFVPS3T.js → chunk-XKL6IVAM.js} +2 -2
  584. package/__chunks__/{chunk-EL3PD7HU.js → chunk-XQNALA66.js} +2 -2
  585. package/__chunks__/{chunk-UAKCO27Y.js → chunk-XSNS7OZJ.js} +2 -2
  586. package/__chunks__/{chunk-QWTJX2CR.js → chunk-XWGW4DD5.js} +2 -2
  587. package/__chunks__/{chunk-CV635PO6.js → chunk-XZ3SW2QN.js} +2 -2
  588. package/__chunks__/{chunk-INKDE2HG.js → chunk-Y5T6QJAX.js} +2 -2
  589. package/__chunks__/{chunk-37LWLJMI.js → chunk-Y62SNSR2.js} +2 -2
  590. package/__chunks__/{chunk-LNGOZXNQ.js → chunk-Y7OL2CNN.js} +2 -2
  591. package/__chunks__/{chunk-UDMWOQEK.js → chunk-YC7QCSAA.js} +2 -2
  592. package/__chunks__/{chunk-PILCDQEP.js → chunk-YHULIFO3.js} +2 -2
  593. package/__chunks__/{chunk-EWLLHVJA.js → chunk-YI7GCPN2.js} +2 -2
  594. package/__chunks__/{chunk-5XL5PHA4.js → chunk-YIBIC2SN.js} +2 -2
  595. package/__chunks__/{chunk-JFJYC6DT.js → chunk-YIDYMEYQ.js} +2 -2
  596. package/__chunks__/chunk-YJFIZWHF.js +2 -0
  597. package/__chunks__/chunk-YM3UXGLQ.js +2 -0
  598. package/__chunks__/{chunk-JL2DQIGV.js → chunk-YRD6KSDH.js} +2 -2
  599. package/__chunks__/chunk-YS2DOVB4.js +2 -0
  600. package/__chunks__/{chunk-CFFCH3LN.js → chunk-YU57DBDI.js} +2 -2
  601. package/__chunks__/{chunk-KCETSKZY.js → chunk-YVYAJMNI.js} +2 -2
  602. package/__chunks__/{chunk-D7ZZC5V4.js → chunk-Z3236R2X.js} +2 -2
  603. package/__chunks__/{chunk-OMXURMKX.js → chunk-Z4ROMD64.js} +2 -2
  604. package/__chunks__/{chunk-LAO3XYQ7.js → chunk-Z7GIQZHK.js} +2 -2
  605. package/__chunks__/{chunk-QWTHUYAV.js → chunk-ZDLOAOSP.js} +2 -2
  606. package/__chunks__/chunk-ZFLSGVWG.js +2 -0
  607. package/__chunks__/{chunk-CM2CELJG.js → chunk-ZG2342IK.js} +2 -2
  608. package/__chunks__/{chunk-XENJPWMO.js → chunk-ZHVIYCQH.js} +2 -2
  609. package/__chunks__/{chunk-SVOY5JQ4.js → chunk-ZJKBORJK.js} +2 -2
  610. package/__chunks__/{chunk-TVYQFMNM.js → chunk-ZKRNV7G7.js} +2 -2
  611. package/__chunks__/{chunk-56RUAVB3.js → chunk-ZLKI2ITX.js} +2 -2
  612. package/__chunks__/{chunk-OEJPGDRL.js → chunk-ZML3AR2W.js} +2 -2
  613. package/__chunks__/{chunk-TLNIU2JJ.js → chunk-ZS3ALDXP.js} +2 -2
  614. package/__chunks__/{chunk-ZKRSLYKM.js → chunk-ZXZS7P6Y.js} +2 -2
  615. package/__commonjs/UI/NotificationModal/NotificationModal.js +5 -5
  616. package/__commonjs/UI/NotificationModal/index.js +5 -5
  617. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  618. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  619. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  620. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  621. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  622. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  623. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  624. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  625. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  626. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  627. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  628. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  629. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +3 -3
  630. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  631. package/__commonjs/UI/index.js +4 -4
  632. package/__commonjs/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +6 -6
  633. package/__commonjs/UI/metamask/MetamaskLoginButton/index.js +6 -6
  634. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +5 -5
  635. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +5 -5
  636. package/__commonjs/__mocks__/index.js +1 -1
  637. package/__commonjs/__mocks__/utils/index.js +1 -1
  638. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  639. package/__commonjs/constants/index.js +1 -1
  640. package/__commonjs/hooks/index.js +1 -1
  641. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  642. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  643. package/__commonjs/hooks/transactions/index.js +1 -1
  644. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  645. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  646. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  647. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  648. package/__commonjs/utils/index.js +1 -1
  649. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  650. package/__commonjs/utils/transactions/index.js +1 -1
  651. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  652. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  653. package/__commonjs/wrappers/index.js +1 -1
  654. package/__mocks__/index.js +1 -1
  655. package/__mocks__/utils/index.js +1 -1
  656. package/__mocks__/utils/renderWithProvider.js +1 -1
  657. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  658. package/apiCalls/accounts/index.js +1 -1
  659. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  660. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  661. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  662. package/apiCalls/configuration/index.js +1 -1
  663. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  664. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  665. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  666. package/apiCalls/economics/index.js +1 -1
  667. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  668. package/apiCalls/index.js +1 -1
  669. package/apiCalls/tokens/getPersistedToken.js +1 -1
  670. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  671. package/apiCalls/transactions/index.js +1 -1
  672. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  673. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  674. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  675. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  676. package/apiCalls/utils/getScamAddressData.js +1 -1
  677. package/apiCalls/utils/index.js +1 -1
  678. package/apiCalls/utils/useApiFetch.js +1 -1
  679. package/components/LogoutListener/LogoutListener.js +1 -1
  680. package/components/LogoutListener/helpers/index.js +1 -1
  681. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  682. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  683. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  684. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  685. package/components/LogoutListener/index.js +1 -1
  686. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  687. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  688. package/components/ProviderInitializer/helpers/index.js +1 -1
  689. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  690. package/components/ProviderInitializer/hooks/index.js +1 -1
  691. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  692. package/components/ProviderInitializer/index.js +1 -1
  693. package/components/TransactionSender/TransactionSender.js +1 -1
  694. package/components/TransactionSender/index.js +1 -1
  695. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  696. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  697. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  698. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  699. package/components/TransactionsTracker/index.js +1 -1
  700. package/constants/index.js +1 -1
  701. package/hooks/account/index.js +1 -1
  702. package/hooks/account/useGetAccount.js +1 -1
  703. package/hooks/account/useGetAccountInfo.js +1 -1
  704. package/hooks/account/useGetAccountProvider.js +1 -1
  705. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  706. package/hooks/account/useGetIsLoggedIn.js +1 -1
  707. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  708. package/hooks/account/useGetLoginInfo.js +1 -1
  709. package/hooks/account/useGetWebsocketEvent.js +1 -1
  710. package/hooks/economics/index.js +1 -1
  711. package/hooks/economics/useGetEgldPrice.js +1 -1
  712. package/hooks/index.js +1 -1
  713. package/hooks/login/index.js +1 -1
  714. package/hooks/login/useCrossWindowLogin.js +1 -1
  715. package/hooks/login/useExtensionLogin.js +1 -1
  716. package/hooks/login/useGetModalLoginMethods.js +1 -1
  717. package/hooks/login/useIframeLogin.js +1 -1
  718. package/hooks/login/useLedgerLogin.js +1 -1
  719. package/hooks/login/useLoginService.js +1 -1
  720. package/hooks/login/useMetamaskLogin.js +1 -1
  721. package/hooks/login/useOperaLogin.js +1 -1
  722. package/hooks/login/usePasskeyLogin.js +1 -1
  723. package/hooks/login/useWalletConnectV2Login.js +1 -1
  724. package/hooks/login/useWebViewLogin.js +1 -1
  725. package/hooks/login/useWebWalletLogin.js +1 -1
  726. package/hooks/login/useXaliasLogin.js +1 -1
  727. package/hooks/signMessage/index.js +1 -1
  728. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  729. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  730. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  731. package/hooks/signMessage/useSignMessage.js +1 -1
  732. package/hooks/toasts/index.js +1 -1
  733. package/hooks/toasts/useGetToasts.js +1 -1
  734. package/hooks/toasts/useTransactionsToasts.js +1 -1
  735. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  736. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  737. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  738. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  739. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  740. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  741. package/hooks/transactions/batch/useGetBatches.js +1 -1
  742. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  743. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  744. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  745. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  746. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  747. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  748. package/hooks/transactions/helpers/index.js +1 -1
  749. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  750. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  751. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  752. package/hooks/transactions/index.js +1 -1
  753. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  754. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  755. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  756. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  757. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  758. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  759. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  760. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  761. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  762. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  763. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  764. package/hooks/transactions/useGetPollingInterval.js +1 -1
  765. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  766. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  767. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  768. package/hooks/transactions/useGetTokenDetails.js +1 -1
  769. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  770. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  771. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  772. package/hooks/transactions/useSignTransactions.js +1 -1
  773. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  774. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  775. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  776. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  777. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  778. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  779. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  780. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  781. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  782. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  783. package/hooks/useGetNetworkConfig.js +1 -1
  784. package/hooks/useGetNotification.js +1 -1
  785. package/hooks/websocketListener/index.js +1 -1
  786. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  787. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  788. package/models/index.js +1 -1
  789. package/models/newTransaction.js +1 -1
  790. package/package.json +1 -1
  791. package/providers/accountProvider.js +1 -1
  792. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  793. package/providers/experimentalWebViewProvider/index.js +1 -1
  794. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  795. package/providers/index.js +1 -1
  796. package/providers/utils.js +1 -1
  797. package/providers/webviewProvider/index.js +1 -1
  798. package/providers/webviewProvider/requestMethods.js +1 -1
  799. package/providers/webviewProvider/webviewProvider.js +1 -1
  800. package/reduxStore/DappProviderContext.js +1 -1
  801. package/reduxStore/commonActions.js +1 -1
  802. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  803. package/reduxStore/persistConfig.js +1 -1
  804. package/reduxStore/persistedRootReducer.js +1 -1
  805. package/reduxStore/reducers.js +1 -1
  806. package/reduxStore/rootReducer.js +1 -1
  807. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  808. package/reduxStore/selectors/index.js +1 -1
  809. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  810. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  811. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  812. package/reduxStore/slices/accountInfoSlice.js +1 -1
  813. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  814. package/reduxStore/slices/dappConfigSlice.js +1 -1
  815. package/reduxStore/slices/index.js +1 -1
  816. package/reduxStore/slices/loginInfoSlice.js +1 -1
  817. package/reduxStore/slices/modalsSlice.js +1 -1
  818. package/reduxStore/slices/networkConfigSlice.js +1 -1
  819. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  820. package/reduxStore/slices/toastsSlice.js +1 -1
  821. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  822. package/reduxStore/slices/transactionsSlice.js +1 -1
  823. package/reduxStore/store.js +1 -1
  824. package/services/index.js +1 -1
  825. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  826. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  827. package/services/nativeAuth/helpers/index.js +1 -1
  828. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  829. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  830. package/services/transactions/clearTransactions.js +1 -1
  831. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  832. package/services/transactions/getTransactionsDetails.js +1 -1
  833. package/services/transactions/index.js +1 -1
  834. package/services/transactions/isCrossShardTransaction.js +1 -1
  835. package/services/transactions/sendBatchTransactions.js +1 -1
  836. package/services/transactions/sendBatchTransactions.test.js +1 -1
  837. package/services/transactions/sendTransactions.js +1 -1
  838. package/services/transactions/signTransactions.js +1 -1
  839. package/services/transactions/transformAndSignTransactions.js +1 -1
  840. package/services/transactions/updateSignedTransactions.js +1 -1
  841. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  842. package/services/transactions/utils.js +1 -1
  843. package/utils/account/getAccount.js +1 -1
  844. package/utils/account/getAccountBalance.js +1 -1
  845. package/utils/account/getAccountProviderType.js +1 -1
  846. package/utils/account/getAccountShard.js +1 -1
  847. package/utils/account/getAddress.js +1 -1
  848. package/utils/account/getIsProviderEqualTo.js +1 -1
  849. package/utils/account/getLatestNonce.js +1 -1
  850. package/utils/account/getShardOfAddress.js +1 -1
  851. package/utils/account/getWebviewToken.js +1 -1
  852. package/utils/account/index.js +1 -1
  853. package/utils/account/loginWithExternalProvider.js +1 -1
  854. package/utils/account/refreshAccount.js +1 -1
  855. package/utils/account/setNonce.js +1 -1
  856. package/utils/account/signMessage.js +1 -1
  857. package/utils/getIsLoggedIn.js +1 -1
  858. package/utils/index.js +1 -1
  859. package/utils/logout.js +1 -1
  860. package/utils/network/getChainID.js +1 -1
  861. package/utils/network/getEgldLabel.js +1 -1
  862. package/utils/network/getNetworkConfig.js +1 -1
  863. package/utils/network/index.js +1 -1
  864. package/utils/operations/calculateFeeInFiat.js +1 -1
  865. package/utils/operations/calculateFeeLimit.js +1 -1
  866. package/utils/operations/denominate.js +1 -1
  867. package/utils/operations/formatAmount.js +1 -1
  868. package/utils/operations/index.js +1 -1
  869. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  870. package/utils/operations/ledger/index.js +1 -1
  871. package/utils/operations/nominate.js +1 -1
  872. package/utils/operations/parseAmount.js +1 -1
  873. package/utils/toasts/customToastsActions.js +1 -1
  874. package/utils/toasts/index.js +1 -1
  875. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  876. package/utils/transactions/builtCallbackUrl.js +1 -1
  877. package/utils/transactions/getAllTransactionsLink.js +1 -1
  878. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  879. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  880. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  881. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  882. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  883. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  884. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  885. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  887. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  888. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  889. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  890. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  891. package/utils/transactions/getOperationsDetails.js +1 -1
  892. package/utils/transactions/getTransactionLink.js +1 -1
  893. package/utils/transactions/index.js +1 -1
  894. package/utils/transactions/isGuardianTx.js +1 -1
  895. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  896. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  897. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  898. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  899. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  900. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  901. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  902. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  903. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  904. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  905. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  906. package/utils/validation/index.js +1 -1
  907. package/utils/validation/maxDecimals.js +1 -1
  908. package/utils/validation/stringIsFloat.js +1 -1
  909. package/utils/waitForChainID.js +1 -1
  910. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  911. package/web/hooks/index.js +1 -1
  912. package/web/hooks/useIdleTimer.js +1 -1
  913. package/web/index.js +1 -1
  914. package/wrappers/AppInitializer.js +1 -1
  915. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  916. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  917. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  918. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  919. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  920. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  921. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  922. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  923. package/wrappers/DappProvider/CustomComponents.js +1 -1
  924. package/wrappers/DappProvider/DappProvider.js +1 -1
  925. package/wrappers/DappProvider/index.js +1 -1
  926. package/wrappers/index.js +1 -1
  927. package/__chunks__/chunk-2KTL6VBE.js +0 -2
  928. package/__chunks__/chunk-2L6RQEIV.js +0 -2
  929. package/__chunks__/chunk-2VC3BCCK.js +0 -2
  930. package/__chunks__/chunk-2ZLEOG2M.js +0 -2
  931. package/__chunks__/chunk-4JQPC637.js +0 -2
  932. package/__chunks__/chunk-4SJDYMYE.js +0 -2
  933. package/__chunks__/chunk-5ULQYM7P.js +0 -2
  934. package/__chunks__/chunk-6C4IESW6.js +0 -2
  935. package/__chunks__/chunk-73DS35QP.js +0 -2
  936. package/__chunks__/chunk-752ZCIX6.js +0 -2
  937. package/__chunks__/chunk-B3XWKJHE.js +0 -2
  938. package/__chunks__/chunk-B466CSDR.js +0 -2
  939. package/__chunks__/chunk-CCDLWMTQ.js +0 -2
  940. package/__chunks__/chunk-CKUMVRQR.js +0 -2
  941. package/__chunks__/chunk-CUFN3HJ5.js +0 -2
  942. package/__chunks__/chunk-CX6BZPWE.js +0 -2
  943. package/__chunks__/chunk-F2TFX64U.js +0 -2
  944. package/__chunks__/chunk-FP3A3YVQ.js +0 -2
  945. package/__chunks__/chunk-HNQE37BB.js +0 -2
  946. package/__chunks__/chunk-HSSGSOTX.js +0 -2
  947. package/__chunks__/chunk-HTP33IDK.js +0 -2
  948. package/__chunks__/chunk-IOUCUJDJ.js +0 -2
  949. package/__chunks__/chunk-ISQ2CAXA.js +0 -2
  950. package/__chunks__/chunk-J5D6MSQX.js +0 -2
  951. package/__chunks__/chunk-JKIA3V5E.js +0 -2
  952. package/__chunks__/chunk-JLC24SKM.js +0 -2
  953. package/__chunks__/chunk-KFG64GMR.js +0 -2
  954. package/__chunks__/chunk-KQWBFZT6.js +0 -2
  955. package/__chunks__/chunk-KZDDY6I5.js +0 -2
  956. package/__chunks__/chunk-LDIRAXTU.js +0 -2
  957. package/__chunks__/chunk-LPVN3OR5.js +0 -2
  958. package/__chunks__/chunk-LRJG45HJ.js +0 -2
  959. package/__chunks__/chunk-LWVX4ZF3.js +0 -2
  960. package/__chunks__/chunk-MHY4L2EL.js +0 -2
  961. package/__chunks__/chunk-MO3KJFRB.js +0 -2
  962. package/__chunks__/chunk-MZXOZ47V.js +0 -2
  963. package/__chunks__/chunk-N5SL37IL.js +0 -2
  964. package/__chunks__/chunk-NPQQD4IN.js +0 -2
  965. package/__chunks__/chunk-O5QBBKY7.js +0 -2
  966. package/__chunks__/chunk-OGCEUQKT.js +0 -2
  967. package/__chunks__/chunk-PAEGZUAS.js +0 -2
  968. package/__chunks__/chunk-Q6ZOEDLU.js +0 -2
  969. package/__chunks__/chunk-QVEWVWX2.js +0 -2
  970. package/__chunks__/chunk-QY7F2ZSQ.js +0 -2
  971. package/__chunks__/chunk-QYHPEWJT.js +0 -2
  972. package/__chunks__/chunk-QZDDTVM5.js +0 -2
  973. package/__chunks__/chunk-QZPF2AQN.js +0 -2
  974. package/__chunks__/chunk-RAHNLIU2.js +0 -2
  975. package/__chunks__/chunk-REOW3RVS.js +0 -2
  976. package/__chunks__/chunk-RGPUGG42.js +0 -2
  977. package/__chunks__/chunk-S2HYPC3V.js +0 -2
  978. package/__chunks__/chunk-T7U65SC5.js +0 -2
  979. package/__chunks__/chunk-TQ3IBMMH.js +0 -2
  980. package/__chunks__/chunk-TYEQGKLG.js +0 -2
  981. package/__chunks__/chunk-UAYQXV5U.js +0 -2
  982. package/__chunks__/chunk-UCQNIEUZ.js +0 -2
  983. package/__chunks__/chunk-UJXLXZAH.js +0 -2
  984. package/__chunks__/chunk-WHDKFORH.js +0 -2
  985. package/__chunks__/chunk-XJDKUA5I.js +0 -2
  986. package/__chunks__/chunk-XN56C7CW.js +0 -2
  987. package/__chunks__/chunk-YBPX3PS2.js +0 -2
  988. package/__chunks__/chunk-YFBNITRK.js +0 -2
  989. package/__chunks__/chunk-YFZCFTI5.js +0 -2
  990. package/__chunks__/chunk-ZQQJCWVT.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Zd=Object.create;var _n=Object.defineProperty,Jd=Object.defineProperties,Qd=Object.getOwnPropertyDescriptor,el=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertyNames,Gn=Object.getOwnPropertySymbols,nl=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable;var Oa=(e,o,t)=>o in e?_n(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))jt.call(o,t)&&Oa(e,t,o[t]);if(Gn)for(var t of Gn(o))Ba.call(o,t)&&Oa(e,t,o[t]);return e},w=(e,o)=>Jd(e,el(o));var Ye=(e,o)=>{var t={};for(var s in e)jt.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&Gn)for(var s of Gn(e))o.indexOf(s)<0&&Ba.call(e,s)&&(t[s]=e[s]);return t};var h=(e,o)=>()=>(e&&(o=e(e=0)),o);var S=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),xe=(e,o)=>{for(var t in o)_n(e,t,{get:o[t],enumerable:!0})},Fa=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of ol(o))!jt.call(e,c)&&c!==t&&_n(e,c,{get:()=>o[c],enumerable:!(s=Qd(o,c))||s.enumerable});return e};var x=(e,o,t)=>(t=e!=null?Zd(nl(e)):{},Fa(o||!e||!e.__esModule?_n(t,"default",{value:e,enumerable:!0}):t,e)),de=e=>Fa(_n({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((s,c)=>{var p=_=>{try{d(t.next(_))}catch(T){c(T)}},m=_=>{try{d(t.throw(_))}catch(T){c(T)}},d=_=>_.done?s(_.value):Promise.resolve(_.value).then(p,m);d((t=t.apply(e,o)).next())});var Ga=S(Hn=>{"use strict";n();Hn.byteLength=rl;Hn.toByteArray=il;Hn.fromByteArray=pl;var we=[],ue=[],tl=typeof Uint8Array!="undefined"?Uint8Array:Array,zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,Wa=zt.length;po<Wa;++po)we[po]=zt[po],ue[zt.charCodeAt(po)]=po;var po,Wa;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Ua(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function rl(e){var o=Ua(e),t=o[0],s=o[1];return(t+s)*3/4-s}function al(e,o,t){return(o+t)*3/4-t}function il(e){var o,t=Ua(e),s=t[0],c=t[1],p=new tl(al(e,s,c)),m=0,d=c>0?s-4:s,_;for(_=0;_<d;_+=4)o=ue[e.charCodeAt(_)]<<18|ue[e.charCodeAt(_+1)]<<12|ue[e.charCodeAt(_+2)]<<6|ue[e.charCodeAt(_+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=ue[e.charCodeAt(_)]<<2|ue[e.charCodeAt(_+1)]>>4,p[m++]=o&255),c===1&&(o=ue[e.charCodeAt(_)]<<10|ue[e.charCodeAt(_+1)]<<4|ue[e.charCodeAt(_+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function sl(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function cl(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(sl(s));return c.join("")}function pl(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,d=t-s;m<d;m+=p)c.push(cl(e,m,m+p>d?d:m+p));return s===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(we[o>>10]+we[o>>4&63]+we[o<<2&63]+"=")),c.join("")}});var Ha=S(Kt=>{n();Kt.read=function(e,o,t,s,c){var p,m,d=c*8-s-1,_=(1<<d)-1,T=_>>1,f=-7,b=t?c-1:0,P=t?-1:1,L=e[o+b];for(b+=P,p=L&(1<<-f)-1,L>>=-f,f+=d;f>0;p=p*256+e[o+b],b+=P,f-=8);for(m=p&(1<<-f)-1,p>>=-f,f+=s;f>0;m=m*256+e[o+b],b+=P,f-=8);if(p===0)p=1-T;else{if(p===_)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-T}return(L?-1:1)*m*Math.pow(2,p-s)};Kt.write=function(e,o,t,s,c,p){var m,d,_,T=p*8-c-1,f=(1<<T)-1,b=f>>1,P=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=s?0:p-1,E=s?1:-1,Y=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=f):(m=Math.floor(Math.log(o)/Math.LN2),o*(_=Math.pow(2,-m))<1&&(m--,_*=2),m+b>=1?o+=P/_:o+=P*Math.pow(2,1-b),o*_>=2&&(m++,_/=2),m+b>=f?(d=0,m=f):m+b>=1?(d=(o*_-1)*Math.pow(2,c),m=m+b):(d=o*Math.pow(2,b-1)*Math.pow(2,c),m=0));c>=8;e[t+L]=d&255,L+=E,d/=256,c-=8);for(m=m<<c|d,T+=c;T>0;e[t+L]=m&255,L+=E,m/=256,T-=8);e[t+L-E]|=Y*128}});var oi=S(Mo=>{"use strict";n();var Xt=Ga(),Do=Ha(),Va=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mo.Buffer=l;Mo.SlowBuffer=gl;Mo.INSPECT_MAX_BYTES=50;var Vn=2147483647;Mo.kMaxLength=Vn;l.TYPED_ARRAY_SUPPORT=ml();!l.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 ml(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function Oe(e){if(e>Vn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,l.prototype),o}function l(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Qt(e)}return ja(e,o,t)}l.poolSize=8192;function ja(e,o,t){if(typeof e=="string")return ll(e,o);if(ArrayBuffer.isView(e))return _l(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return Zt(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return l.from(s,o,t);var c=ul(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return l.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}l.from=function(e,o,t){return ja(e,o,t)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function za(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function dl(e,o,t){return za(e),e<=0?Oe(e):o!==void 0?typeof t=="string"?Oe(e).fill(o,t):Oe(e).fill(o):Oe(e)}l.alloc=function(e,o,t){return dl(e,o,t)};function Qt(e){return za(e),Oe(e<0?0:er(e)|0)}l.allocUnsafe=function(e){return Qt(e)};l.allocUnsafeSlow=function(e){return Qt(e)};function ll(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=Ka(e,o)|0,s=Oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function Yt(e){for(var o=e.length<0?0:er(e.length)|0,t=Oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function _l(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Zt(o.buffer,o.byteOffset,o.byteLength)}return Yt(e)}function Zt(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,l.prototype),s}function ul(e){if(l.isBuffer(e)){var o=er(e.length)|0,t=Oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||or(e.length)?Oe(0):Yt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Yt(e.data)}function er(e){if(e>=Vn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Vn.toString(16)+" bytes");return e|0}function gl(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==l.prototype};l.compare=function(o,t){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),ve(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(o)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};l.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return l.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=l.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(ve(m,Uint8Array))p+m.length>c.length?l.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(l.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Ka(e,o){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Jt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ei(e).length;default:if(c)return s?-1:Jt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=Ka;function fl(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Il(this,o,t);case"utf8":case"utf-8":return Ya(this,o,t);case"ascii":return vl(this,o,t);case"latin1":case"binary":return Al(this,o,t);case"base64":return bl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kl(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}l.prototype._isBuffer=!0;function mo(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}l.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)mo(this,t,t+1);return this};l.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)mo(this,t,t+3),mo(this,t+1,t+2);return this};l.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)mo(this,t,t+7),mo(this,t+1,t+6),mo(this,t+2,t+5),mo(this,t+3,t+4);return this};l.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Ya(this,0,o):fl.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(o){if(!l.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:l.compare(this,o)===0};l.prototype.inspect=function(){var o="",t=Mo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};Va&&(l.prototype[Va]=l.prototype.inspect);l.prototype.compare=function(o,t,s,c,p){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=s-t,_=Math.min(m,d),T=this.slice(c,p),f=o.slice(t,s),b=0;b<_;++b)if(T[b]!==f[b]){m=T[b],d=f[b];break}return m<d?-1:d<m?1:0};function Xa(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,or(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=l.from(o,s)),l.isBuffer(o))return o.length===0?-1:$a(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):$a(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function $a(e,o,t,s,c){var p=1,m=e.length,d=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function _(L,E){return p===1?L[E]:L.readUInt16BE(E*p)}var T;if(c){var f=-1;for(T=t;T<m;T++)if(_(e,T)===_(o,f===-1?0:T-f)){if(f===-1&&(f=T),T-f+1===d)return f*p}else f!==-1&&(T-=T-f),f=-1}else for(t+d>m&&(t=m-d),T=t;T>=0;T--){for(var b=!0,P=0;P<d;P++)if(_(e,T+P)!==_(o,P)){b=!1;break}if(b)return T}return-1}l.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};l.prototype.indexOf=function(o,t,s){return Xa(this,o,t,s,!0)};l.prototype.lastIndexOf=function(o,t,s){return Xa(this,o,t,s,!1)};function Tl(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var d=parseInt(o.substr(m*2,2),16);if(or(d))return m;e[t+m]=d}return m}function hl(e,o,t,s){return $n(Jt(o,e.length-t),e,t,s)}function xl(e,o,t,s){return $n(Pl(o),e,t,s)}function yl(e,o,t,s){return $n(ei(o),e,t,s)}function Sl(e,o,t,s){return $n(Cl(o,e.length-t),e,t,s)}l.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Tl(this,o,t,s);case"utf8":case"utf-8":return hl(this,o,t,s);case"ascii":case"latin1":case"binary":return xl(this,o,t,s);case"base64":return yl(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sl(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bl(e,o,t){return o===0&&t===e.length?Xt.fromByteArray(e):Xt.fromByteArray(e.slice(o,t))}function Ya(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var _,T,f,b;switch(d){case 1:p<128&&(m=p);break;case 2:_=e[c+1],(_&192)===128&&(b=(p&31)<<6|_&63,b>127&&(m=b));break;case 3:_=e[c+1],T=e[c+2],(_&192)===128&&(T&192)===128&&(b=(p&15)<<12|(_&63)<<6|T&63,b>2047&&(b<55296||b>57343)&&(m=b));break;case 4:_=e[c+1],T=e[c+2],f=e[c+3],(_&192)===128&&(T&192)===128&&(f&192)===128&&(b=(p&15)<<18|(_&63)<<12|(T&63)<<6|f&63,b>65535&&b<1114112&&(m=b))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=d}return wl(s)}var qa=4096;function wl(e){var o=e.length;if(o<=qa)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=qa));return t}function vl(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function Al(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function Il(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=Nl[e[p]];return c}function kl(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}l.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,l.prototype),c};function $(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};l.prototype.readUintBE=l.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};l.prototype.readUint8=l.prototype.readUInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]|this[o+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]<<8|this[o+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};l.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};l.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};l.prototype.readInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};l.prototype.readInt16LE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};l.prototype.readInt16BE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};l.prototype.readInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};l.prototype.readInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};l.prototype.readFloatLE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!1,52,8)};function te(e,o,t,s,c,p){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=1,d=0;for(this[t]=o&255;++d<s&&(m*=256);)this[t+d]=o/m&255;return t+s};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=s-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+s};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,255,0),this[t]=o&255,t+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};l.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=0,d=1,_=0;for(this[t]=o&255;++m<s&&(d*=256);)o<0&&_===0&&this[t+m-1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=s-1,d=1,_=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&_===0&&this[t+m+1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};l.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};l.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function Za(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ja(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,4,34028234663852886e22,-34028234663852886e22),Do.write(e,o,t,s,23,4),t+4}l.prototype.writeFloatLE=function(o,t,s){return Ja(this,o,t,!0,s)};l.prototype.writeFloatBE=function(o,t,s){return Ja(this,o,t,!1,s)};function Qa(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,8,17976931348623157e292,-17976931348623157e292),Do.write(e,o,t,s,52,8),t+8}l.prototype.writeDoubleLE=function(o,t,s){return Qa(this,o,t,!0,s)};l.prototype.writeDoubleBE=function(o,t,s){return Qa(this,o,t,!1,s)};l.prototype.copy=function(o,t,s,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};l.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var d=l.isBuffer(o)?o:l.from(o,c),_=d.length;if(_===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=d[m%_]}return this};var Ll=/[^+/0-9A-Za-z-_]/g;function El(e){if(e=e.split("=")[0],e=e.trim().replace(Ll,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Jt(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Pl(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Cl(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function ei(e){return Xt.toByteArray(El(e))}function $n(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function ve(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function or(e){return e!==e}var Nl=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var ii=S((zx,ai)=>{n();var W=ai.exports={},Ae,Ie;function nr(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=nr}catch(e){Ae=nr}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=tr}catch(e){Ie=tr}})();function ni(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===nr||!Ae)&&setTimeout)return Ae=setTimeout,setTimeout(e,0);try{return Ae(e,0)}catch(o){try{return Ae.call(null,e,0)}catch(t){return Ae.call(this,e,0)}}}function Rl(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===tr||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(e);try{return Ie(e)}catch(o){try{return Ie.call(null,e)}catch(t){return Ie.call(this,e)}}}var Be=[],Oo=!1,lo,qn=-1;function Dl(){!Oo||!lo||(Oo=!1,lo.length?Be=lo.concat(Be):qn=-1,Be.length&&ti())}function ti(){if(!Oo){var e=ni(Dl);Oo=!0;for(var o=Be.length;o;){for(lo=Be,Be=[];++qn<o;)lo&&lo[qn].run();qn=-1,o=Be.length}lo=null,Oo=!1,Rl(e)}}W.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new ri(e,o)),Be.length===1&&!Oo&&ni(ti)};function ri(e,o){this.fun=e,this.array=o}ri.prototype.run=function(){this.fun.apply(null,this.array)};W.title="browser";W.browser=!0;W.env={};W.argv=[];W.version="";W.versions={};function Fe(){}W.on=Fe;W.addListener=Fe;W.once=Fe;W.off=Fe;W.removeListener=Fe;W.removeAllListeners=Fe;W.emit=Fe;W.prependListener=Fe;W.prependOnceListener=Fe;W.listeners=function(e){return[]};W.binding=function(e){throw new Error("process.binding is not supported")};W.cwd=function(){return"/"};W.chdir=function(e){throw new Error("process.chdir is not supported")};W.umask=function(){return 0}});var r,i,Ml,a,n=h(()=>{r=x(oi()),i=x(ii()),Ml=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),a=Ml});var si=h(()=>{"use strict";n()});var ci,Ze,pi,rr,mi,di,jn,ke=h(()=>{"use strict";n();ci="error when signing",Ze="Transaction canceled",pi="error signing transaction",rr="provider not initialized",mi="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",di="Undefined transaction status",jn="You cannot sign transactions from a different account"});var li=h(()=>{"use strict";n()});var ar,_i=h(()=>{"use strict";n();ar=(s=>(s.SetGuardian="SetGuardian",s.GuardAccount="GuardAccount",s.UnGuardAccount="UnGuardAccount",s))(ar||{})});var ui=h(()=>{"use strict";n()});var ir=h(()=>{"use strict";n()});var gi=h(()=>{"use strict";n()});var sr,cr=h(()=>{"use strict";n();sr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(sr||{})});var fi=h(()=>{"use strict";n()});var Ti=h(()=>{"use strict";n()});var ee,Bo,Je=h(()=>{"use strict";n();ee=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var hi,ay,xi,iy,R=h(()=>{"use strict";n();Je();hi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hi||{}),ay=u(u({},Bo.WindowProviderRequestEnums),hi),xi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(xi||{}),iy=u(u({},Bo.WindowProviderResponseEnums),xi)});var yi=h(()=>{"use strict";n()});var Si=h(()=>{"use strict";n()});var re=h(()=>{"use strict";n()});var bi=h(()=>{"use strict";n()});var wi=h(()=>{"use strict";n()});var vi=h(()=>{"use strict";n()});var U=h(()=>{"use strict";n();cr();fi();Ti();R();yi();Si();re();bi();wi();vi()});var _o,Ai,wy,Ii,vy,ki,Ay,Iy,Li,Fo=h(()=>{"use strict";n();U();_o={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:Ai,egldLabel:wy}=_o["devnet"],{chainId:Ii,egldLabel:vy}=_o["testnet"],{chainId:ki,egldLabel:Ay}=_o["mainnet"],Iy={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:ki},Li={[Ai]:"devnet",[Ii]:"testnet",[ki]:"mainnet"}});var Ei,un=h(()=>{"use strict";n();Ei="cancel-transaction-toast"});var Le,Pi=h(()=>{"use strict";n();Le=require("@multiversx/sdk-web-wallet-provider")});var Ee,uo=h(()=>{"use strict";n();Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ci,Ni,pr,Ny,Ry,mr=h(()=>{"use strict";n();uo();pr=String((Ni=(Ci=Ee.safeWindow)==null?void 0:Ci.navigator)==null?void 0:Ni.userAgent),Ny=/^((?!chrome|android).)*safari/i.test(pr),Ry=/firefox/i.test(pr)&&/windows/i.test(pr)});var zn,Kn,Ri,Di,Pe,Xn,Mi,Yn,Oi,Wo,I=h(()=>{"use strict";n();si();ke();li();_i();ui();ir();gi();Fo();un();Pi();mr();zn=5e4,Kn=1e9,Ri=1,Di="/dapp/init",Pe="signSession",Xn="sdk-dapp-version",Mi="4.3.7-alpha.1",Yn="logout",Oi="login",Wo="0"});var gn,Zn=h(()=>{"use strict";n();gn=()=>Date.now()/1e3});var Bi=h(()=>{"use strict";n()});var Fi=h(()=>{"use strict";n()});var dr=h(()=>{"use strict";n();Zn();Bi();Fi()});var lr={};xe(lr,{clear:()=>Wl,getItem:()=>Bl,localStorageKeys:()=>We,removeItem:()=>Fl,setItem:()=>Ol});var We,Jn,Ol,Bl,Fl,Wl,go=h(()=>{"use strict";n();dr();We={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Jn=typeof localStorage!="undefined",Ol=({key:e,data:o,expires:t})=>{!Jn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Bl=e=>{if(!Jn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:gn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Fl=e=>{!Jn||localStorage.removeItem(String(e))},Wl=()=>{!Jn||localStorage.clear()}});var _r={};xe(_r,{clear:()=>Hi,getItem:()=>Ui,removeItem:()=>Gi,sessionStorageKeys:()=>Ul,setItem:()=>Wi,storage:()=>Gl});var Ul,Wi,Ui,Gi,Hi,Gl,Vi=h(()=>{"use strict";n();Ul={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Wi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ui=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},Gi=e=>sessionStorage.removeItem(String(e)),Hi=()=>sessionStorage.clear(),Gl={setItem:Wi,getItem:Ui,removeItem:Gi,clear:Hi}});var Qe,fo=h(()=>{"use strict";n();go();Vi();Qe={session:_r,local:lr}});var ur,D,ae,M=h(()=>{"use strict";n();ur=require("@reduxjs/toolkit");I();D=(0,ur.createAction)(Yn),ae=(0,ur.createAction)(Oi,e=>({payload:e}))});var fr,$i,qi,ge,gr,ji,ye,eo,Tr,mS,Hl,Vl,dS,lS,_S,$l,ql,Qn,et=h(()=>{"use strict";n();fr=require("@multiversx/sdk-core"),$i=require("@reduxjs/toolkit"),qi=require("redux-persist");I();fo();go();M();ge={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Wo},gr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ji=(0,$i.createSlice)({name:"accountInfoSlice",initialState:gr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new fr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:ge},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(D,()=>(Qe.local.removeItem(We.loginExpiresAt),gr)),e.addCase(ae,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new fr.Address(s).toHex()}),e.addCase(qi.REHYDRATE,(o,t)=>{var T;if(!((T=t.payload)!=null&&T.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=s;o.address=c,o.shard=p;let _=m&&c in m;o.accounts=_?m:gr.accounts,o.publicKey=d})}}),{setAccount:ye,setAddress:eo,setAccountNonce:Tr,setAccountShard:mS,setLedgerAccount:Hl,updateLedgerAccount:Vl,setWalletConnectAccount:dS,setIsAccountLoading:lS,setAccountLoadingError:_S,setWebsocketEvent:$l,setWebsocketBatchEvent:ql}=ji.actions,Qn=ji.reducer});function fn(){return new Date().setHours(new Date().getHours()+24)}function Tn(e){Qe.local.setItem({key:We.loginExpiresAt,data:e,expires:e})}var hr=h(()=>{"use strict";n();fo();go()});var Ki,zi,Xi,wS,jl,zl,xr,vS,Kl,Yi,AS,IS,kS,ot,nt=h(()=>{"use strict";n();Ki=require("@reduxjs/toolkit");hr();R();M();zi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Xi=(0,Ki.createSlice)({name:"loginInfoSlice",initialState:zi,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(D,()=>zi),e.addCase(ae,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,Tn(fn())})}}),{setLoginMethod:wS,setWalletConnectLogin:jl,setLedgerLogin:zl,setTokenLogin:xr,setTokenLoginSignature:vS,setWalletLogin:Kl,invalidateLoginSession:Yi,setLogoutRoute:AS,setIsWalletConnectV2Initialized:IS,setWebviewLogin:kS}=Xi.actions,ot=Xi.reducer});var Ji,Zi,Qi,CS,Xl,NS,Yl,tt,rt=h(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");M();Zi={},Qi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Zi,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(D,()=>Zi)}}),{setTxSubmittedModal:CS,setNotificationModal:Xl,clearTxSubmittedModal:NS,clearNotificationModal:Yl}=Qi.actions,tt=Qi.reducer});var Ue,Uo=h(()=>{"use strict";n();Ue=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,X=h(()=>{"use strict";n();Uo();N=()=>{if(!Ue())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:s,href:c,search:p}}=window;return{pathname:o,hash:t,origin:s,href:c,search:p}}});var es=h(()=>{"use strict";n();X()});var To,os=h(()=>{"use strict";n();Z();To=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var ns=h(()=>{"use strict";n();uo()});var Z=h(()=>{"use strict";n();es();os();X();ns()});var hn=h(()=>{"use strict";n();Z()});var rs=h(()=>{"use strict";n();hn()});function as(e){return e[Math.floor(Math.random()*e.length)]}var is=h(()=>{"use strict";n()});var yr=h(()=>{"use strict";n();ir()});var Ge=h(()=>{"use strict";n();rs();is();yr()});var ss,cs,ps,Sr,Jl,ms,db,lb,ds,at,it=h(()=>{"use strict";n();ss=require("@reduxjs/toolkit"),cs=x(require("lodash.omit")),ps=require("redux-persist");un();M();Ge();Sr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Jl={network:Sr},ms=(0,ss.createSlice)({name:"appConfig",initialState:Jl,reducers:{initializeNetworkConfig:(e,o)=>{let t=as(o.payload.walletConnectV2RelayAddresses),s=(0,cs.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),s),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(D,o=>{o.network.customWalletAddress=void 0}),e.addCase(ps.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:s}}=t.payload;o.network.customWalletAddress=s})}}),{initializeNetworkConfig:db,updateNetworkConfig:lb,setCustomWalletAddress:ds}=ms.actions,at=ms.reducer});var ls,br,_s,hb,xb,yb,st,ct=h(()=>{"use strict";n();ls=require("@reduxjs/toolkit");U();M();br={isSigning:!1,signedSessions:{}},_s=(0,ls.createSlice)({name:"signedMessageInfoSliceState",initialState:br,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),s)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>br},extraReducers:e=>{e.addCase(D,()=>br)}}),{setSignSession:hb,clearSignedMessageInfo:xb,setSignSessionState:yb}=_s.actions,st=_s.reducer});var gs,fs,us,Ts,wr,Ql,kb,e_,pt,mt=h(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");U();Zn();M();us={customToasts:[],transactionToasts:[]},Ts=(0,gs.createSlice)({name:"toastsSlice",initialState:us,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,s=e.customToasts.findIndex(c=>c.toastId===t);if(s!==-1){e.customToasts[s]=w(u(u({},e.customToasts[s]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:gn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(D,()=>us),e.addCase(fs.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:wr,removeCustomToast:Ql,addTransactionToast:kb,removeTransactionToast:e_}=Ts.actions,pt=Ts.reducer});var hs,Ar,Ir,kr,o_,vr,xs,Cb,n_,xn,dt,lt=h(()=>{"use strict";n();hs=require("@reduxjs/toolkit");M();Ar="Transaction failed",Ir="Transaction successful",kr="Processing transaction",o_="Transaction submitted",vr={},xs=(0,hs.createSlice)({name:"transactionsInfo",initialState:vr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Ar,successMessage:(s==null?void 0:s.successMessage)||Ir,processingMessage:(s==null?void 0:s.processingMessage)||kr,submittedMessage:(s==null?void 0:s.submittedMessage)||o_,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>vr},extraReducers:e=>{e.addCase(D,()=>vr)}}),{clearTransactionsInfo:Cb,setTransactionsDisplayInfo:n_,clearTransactionsInfoForSessionId:xn}=xs.actions,dt=xs.reducer});function Ho(e){return e!=null&&(l_(e)||T_(e))}function Vo(e){return e!=null&&(__(e)||h_(e))}function $o(e){return e!=null&&(u_(e)||x_(e))}function ys(e){return e!=null&&(g_(e)||y_(e))}function Lr(e){return e!=null&&f_(e)}function l_(e){return e!=null&&t_.includes(e)}function __(e){return e!=null&&r_.includes(e)}function u_(e){return e!=null&&a_.includes(e)}function g_(e){return e!=null&&i_.includes(e)}function f_(e){return e!=null&&s_.includes(e)}function T_(e){return e!=null&&c_.includes(e)}function h_(e){return e!=null&&p_.includes(e)}function x_(e){return e!=null&&m_.includes(e)}function y_(e){return e!=null&&d_.includes(e)}var t_,r_,a_,i_,s_,c_,p_,m_,d_,qo=h(()=>{"use strict";n();R();t_=["sent"],r_=["success"],a_=["fail","cancelled","timedOut"],i_=["invalid"],s_=["timedOut"],c_=["pending"],p_=["success"],m_=["fail","invalid"],d_=["not executed"]});var Ss,bs,yn,S_,ws,vs,As,b_,ho,w_,v_,Ub,A_,no,to,Gb,_t,ut=h(()=>{"use strict";n();Ss=require("@reduxjs/toolkit"),bs=require("redux-persist");R();qo();M();yn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},S_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ws=(0,Ss.createSlice)({name:"transactionsSlice",initialState:yn,reducers:{moveTransactionsToSignedState:(e,o)=>{var _,T;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},S_),((_=e.signedTransactions[t])==null?void 0:_.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===t&&(e.transactionsToSign=yn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var T,f,b,P,L,E,Y,O;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,_=(f=(T=e.signedTransactions)==null?void 0:T[t])==null?void 0:f.transactions;if(_!=null){e.signedTransactions[t].transactions=_.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:s,errorMessage:c,inTransit:d}):B);let q=(P=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:P.every(B=>Vo(B.status)),oe=(E=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:E.some(B=>$o(B.status)),Te=(O=(Y=e.signedTransactions[t])==null?void 0:Y.transactions)==null?void 0:O.every(B=>ys(B.status));q&&(e.signedTransactions[t].status="success"),oe&&(e.signedTransactions[t].status="fail"),Te&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=yn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=yn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:s}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),s))}},extraReducers:e=>{e.addCase(D,()=>yn),e.addCase(bs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((d,[_,T])=>{let f=new Date(_),b=new Date;return b.setHours(b.getHours()+5),b-f>0||(d[_]=T),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:vs,updateSignedTransactions:As,setTransactionsToSign:b_,clearAllTransactionsToSign:ho,clearAllSignedTransactions:w_,clearSignedTransaction:v_,clearTransactionToSign:Ub,setSignTransactionsError:A_,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:to,updateSignedTransactionsCustomTransactionInformation:Gb}=ws.actions,_t=ws.reducer});var Is,Er,ks,qb,jb,I_,zb,gt,ft=h(()=>{"use strict";n();Is=require("@reduxjs/toolkit");M();Er={},ks=(0,Is.createSlice)({name:"batchTransactionsSlice",initialState:Er,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Er},extraReducers:e=>{e.addCase(D,()=>Er)}}),{setBatchTransactions:qb,updateBatchTransactions:jb,clearBatchTransactions:I_,clearAllBatchTransactions:zb}=ks.actions,gt=ks.reducer});var Es,Ls,Ps,Zb,Cs,Pr=h(()=>{"use strict";n();Es=require("@reduxjs/toolkit");M();Ls={},Ps=(0,Es.createSlice)({name:"dappConfigSlice",initialState:Ls,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(D,()=>Ls)}}),{setDappConfig:Zb}=Ps.actions,Cs=Ps.reducer});var k=h(()=>{"use strict";n();et();nt();rt();it();ct();mt();lt();ut();ft();Pr()});var Cr=h(()=>{"use strict";n()});var Ds,P_,C_,xo,xt=h(()=>{"use strict";n();Ds=require("@reduxjs/toolkit");Cr();et();ft();Pr();nt();rt();it();ct();mt();lt();ut();P_={["account"]:Qn,["dappConfig"]:Cs,["loginInfo"]:ot,["modals"]:tt,["networkConfig"]:at,["signedMessageInfo"]:st,["toasts"]:pt,["transactionsInfo"]:dt,["transactions"]:_t,["batchTransactions"]:gt},C_=(e={})=>(0,Ds.combineReducers)(u(u({},P_),e)),xo=C_});var Fs={};xe(Fs,{default:()=>z_,sessionStorageReducers:()=>Nr});function He(e,o=[]){return{key:e,version:1,storage:Os.default,blacklist:o}}var ie,Ms,Os,N_,Sn,R_,D_,M_,O_,B_,F_,W_,U_,G_,H_,Bs,V_,Nr,$_,q_,j_,z_,Ws=h(()=>{"use strict";n();ie=require("redux-persist"),Ms=x(require("redux-persist/lib/storage")),Os=x(require("redux-persist/lib/storage/session"));xt();k();et();ft();nt();rt();it();ct();mt();lt();ut();Cr();N_={persistReducersStorageType:"localStorage"},Sn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},R_=He(Sn["account"]),D_=He(Sn["loginInfo"]),M_=He(Sn["modals"]),O_=He(Sn["networkConfig"]),B_={2:e=>w(u({},e),{networkConfig:Sr})};F_=He("sdk-dapp-transactionsInfo"),W_=He("sdk-dapp-transactions",["transactionsToSign"]),U_=He("sdk-dapp-batchTransactions",["batchTransactions"]),G_=He("sdk-dapp-toasts"),H_=He("sdk-dapp-signedMessageInfo"),Bs={key:"sdk-dapp-store",version:2,storage:Ms.default,whitelist:Object.keys(Sn),migrate:(0,ie.createMigrate)(B_,{debug:!1})},V_=w(u({},Bs),{whitelist:[]}),Nr={["toasts"]:(0,ie.persistReducer)(G_,pt),["transactions"]:(0,ie.persistReducer)(W_,_t),["transactionsInfo"]:(0,ie.persistReducer)(F_,dt),["batchTransactions"]:(0,ie.persistReducer)(U_,gt),["signedMessageInfo"]:(0,ie.persistReducer)(H_,st)},$_=w(u({},Nr),{["account"]:(0,ie.persistReducer)(R_,Qn),["loginInfo"]:(0,ie.persistReducer)(D_,ot),["modals"]:(0,ie.persistReducer)(M_,tt),["networkConfig"]:(0,ie.persistReducer)(O_,at)}),q_=N_.persistReducersStorageType==="localStorage",j_=q_?(0,ie.persistReducer)(Bs,xo(Nr)):(0,ie.persistReducer)(V_,xo($_)),z_=j_});var Us={};xe(Us,{default:()=>K_});var K_,Gs=h(()=>{"use strict";n();xt();K_=xo()});var Hs={};xe(Hs,{default:()=>Y_});var fe,X_,Y_,Vs=h(()=>{"use strict";n();fe=require("redux-persist"),X_=[fe.FLUSH,fe.REHYDRATE,fe.PAUSE,fe.PERSIST,fe.PURGE,fe.REGISTER],Y_=X_});var js={};xe(js,{default:()=>qs});function qs(e){return(0,$s.persistStore)(e)}var $s,zs=h(()=>{"use strict";n();$s=require("redux-persist")});var tp=S((V2,np)=>{n();var Ng=typeof a=="object"&&a&&a.Object===Object&&a;np.exports=Ng});var Ln=S(($2,rp)=>{n();var Rg=tp(),Dg=typeof self=="object"&&self&&self.Object===Object&&self,Mg=Rg||Dg||Function("return this")();rp.exports=Mg});var na=S((q2,ap)=>{n();var Og=Ln(),Bg=Og.Symbol;ap.exports=Bg});var pp=S((j2,cp)=>{n();var ip=na(),sp=Object.prototype,Fg=sp.hasOwnProperty,Wg=sp.toString,En=ip?ip.toStringTag:void 0;function Ug(e){var o=Fg.call(e,En),t=e[En];try{e[En]=void 0;var s=!0}catch(p){}var c=Wg.call(e);return s&&(o?e[En]=t:delete e[En]),c}cp.exports=Ug});var dp=S((z2,mp)=>{n();var Gg=Object.prototype,Hg=Gg.toString;function Vg(e){return Hg.call(e)}mp.exports=Vg});var ta=S((K2,up)=>{n();var lp=na(),$g=pp(),qg=dp(),jg="[object Null]",zg="[object Undefined]",_p=lp?lp.toStringTag:void 0;function Kg(e){return e==null?e===void 0?zg:jg:_p&&_p in Object(e)?$g(e):qg(e)}up.exports=Kg});var fp=S((X2,gp)=>{n();var Xg=Array.isArray;gp.exports=Xg});var hp=S((Y2,Tp)=>{n();function Yg(e){return e!=null&&typeof e=="object"}Tp.exports=Yg});var yp=S((Z2,xp)=>{n();var Zg=ta(),Jg=fp(),Qg=hp(),ef="[object String]";function of(e){return typeof e=="string"||!Jg(e)&&Qg(e)&&Zg(e)==ef}xp.exports=of});var ia={};xe(ia,{css:()=>Ip,default:()=>mf});var Ip,mf,sa=h(()=>{"use strict";n();Ip=`.dapp-core-component__main__link-style {
1
+ "use strict";var Zd=Object.create;var _n=Object.defineProperty,Jd=Object.defineProperties,Qd=Object.getOwnPropertyDescriptor,el=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertyNames,Gn=Object.getOwnPropertySymbols,nl=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable;var Oa=(e,o,t)=>o in e?_n(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))jt.call(o,t)&&Oa(e,t,o[t]);if(Gn)for(var t of Gn(o))Ba.call(o,t)&&Oa(e,t,o[t]);return e},w=(e,o)=>Jd(e,el(o));var Ye=(e,o)=>{var t={};for(var s in e)jt.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&Gn)for(var s of Gn(e))o.indexOf(s)<0&&Ba.call(e,s)&&(t[s]=e[s]);return t};var h=(e,o)=>()=>(e&&(o=e(e=0)),o);var S=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),xe=(e,o)=>{for(var t in o)_n(e,t,{get:o[t],enumerable:!0})},Fa=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of ol(o))!jt.call(e,c)&&c!==t&&_n(e,c,{get:()=>o[c],enumerable:!(s=Qd(o,c))||s.enumerable});return e};var x=(e,o,t)=>(t=e!=null?Zd(nl(e)):{},Fa(o||!e||!e.__esModule?_n(t,"default",{value:e,enumerable:!0}):t,e)),de=e=>Fa(_n({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((s,c)=>{var p=_=>{try{d(t.next(_))}catch(T){c(T)}},m=_=>{try{d(t.throw(_))}catch(T){c(T)}},d=_=>_.done?s(_.value):Promise.resolve(_.value).then(p,m);d((t=t.apply(e,o)).next())});var Ga=S(Hn=>{"use strict";n();Hn.byteLength=rl;Hn.toByteArray=il;Hn.fromByteArray=pl;var we=[],ue=[],tl=typeof Uint8Array!="undefined"?Uint8Array:Array,zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,Wa=zt.length;po<Wa;++po)we[po]=zt[po],ue[zt.charCodeAt(po)]=po;var po,Wa;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Ua(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function rl(e){var o=Ua(e),t=o[0],s=o[1];return(t+s)*3/4-s}function al(e,o,t){return(o+t)*3/4-t}function il(e){var o,t=Ua(e),s=t[0],c=t[1],p=new tl(al(e,s,c)),m=0,d=c>0?s-4:s,_;for(_=0;_<d;_+=4)o=ue[e.charCodeAt(_)]<<18|ue[e.charCodeAt(_+1)]<<12|ue[e.charCodeAt(_+2)]<<6|ue[e.charCodeAt(_+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=ue[e.charCodeAt(_)]<<2|ue[e.charCodeAt(_+1)]>>4,p[m++]=o&255),c===1&&(o=ue[e.charCodeAt(_)]<<10|ue[e.charCodeAt(_+1)]<<4|ue[e.charCodeAt(_+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function sl(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function cl(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(sl(s));return c.join("")}function pl(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,d=t-s;m<d;m+=p)c.push(cl(e,m,m+p>d?d:m+p));return s===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(we[o>>10]+we[o>>4&63]+we[o<<2&63]+"=")),c.join("")}});var Ha=S(Kt=>{n();Kt.read=function(e,o,t,s,c){var p,m,d=c*8-s-1,_=(1<<d)-1,T=_>>1,f=-7,b=t?c-1:0,P=t?-1:1,L=e[o+b];for(b+=P,p=L&(1<<-f)-1,L>>=-f,f+=d;f>0;p=p*256+e[o+b],b+=P,f-=8);for(m=p&(1<<-f)-1,p>>=-f,f+=s;f>0;m=m*256+e[o+b],b+=P,f-=8);if(p===0)p=1-T;else{if(p===_)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-T}return(L?-1:1)*m*Math.pow(2,p-s)};Kt.write=function(e,o,t,s,c,p){var m,d,_,T=p*8-c-1,f=(1<<T)-1,b=f>>1,P=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=s?0:p-1,E=s?1:-1,Y=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=f):(m=Math.floor(Math.log(o)/Math.LN2),o*(_=Math.pow(2,-m))<1&&(m--,_*=2),m+b>=1?o+=P/_:o+=P*Math.pow(2,1-b),o*_>=2&&(m++,_/=2),m+b>=f?(d=0,m=f):m+b>=1?(d=(o*_-1)*Math.pow(2,c),m=m+b):(d=o*Math.pow(2,b-1)*Math.pow(2,c),m=0));c>=8;e[t+L]=d&255,L+=E,d/=256,c-=8);for(m=m<<c|d,T+=c;T>0;e[t+L]=m&255,L+=E,m/=256,T-=8);e[t+L-E]|=Y*128}});var oi=S(Mo=>{"use strict";n();var Xt=Ga(),Do=Ha(),Va=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mo.Buffer=l;Mo.SlowBuffer=gl;Mo.INSPECT_MAX_BYTES=50;var Vn=2147483647;Mo.kMaxLength=Vn;l.TYPED_ARRAY_SUPPORT=ml();!l.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 ml(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function Oe(e){if(e>Vn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,l.prototype),o}function l(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Qt(e)}return ja(e,o,t)}l.poolSize=8192;function ja(e,o,t){if(typeof e=="string")return ll(e,o);if(ArrayBuffer.isView(e))return _l(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return Zt(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return l.from(s,o,t);var c=ul(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return l.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}l.from=function(e,o,t){return ja(e,o,t)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function za(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function dl(e,o,t){return za(e),e<=0?Oe(e):o!==void 0?typeof t=="string"?Oe(e).fill(o,t):Oe(e).fill(o):Oe(e)}l.alloc=function(e,o,t){return dl(e,o,t)};function Qt(e){return za(e),Oe(e<0?0:er(e)|0)}l.allocUnsafe=function(e){return Qt(e)};l.allocUnsafeSlow=function(e){return Qt(e)};function ll(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=Ka(e,o)|0,s=Oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function Yt(e){for(var o=e.length<0?0:er(e.length)|0,t=Oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function _l(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Zt(o.buffer,o.byteOffset,o.byteLength)}return Yt(e)}function Zt(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,l.prototype),s}function ul(e){if(l.isBuffer(e)){var o=er(e.length)|0,t=Oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||or(e.length)?Oe(0):Yt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Yt(e.data)}function er(e){if(e>=Vn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Vn.toString(16)+" bytes");return e|0}function gl(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==l.prototype};l.compare=function(o,t){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),ve(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(o)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};l.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return l.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=l.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(ve(m,Uint8Array))p+m.length>c.length?l.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(l.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Ka(e,o){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Jt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ei(e).length;default:if(c)return s?-1:Jt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=Ka;function fl(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Il(this,o,t);case"utf8":case"utf-8":return Ya(this,o,t);case"ascii":return vl(this,o,t);case"latin1":case"binary":return Al(this,o,t);case"base64":return bl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kl(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}l.prototype._isBuffer=!0;function mo(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}l.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)mo(this,t,t+1);return this};l.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)mo(this,t,t+3),mo(this,t+1,t+2);return this};l.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)mo(this,t,t+7),mo(this,t+1,t+6),mo(this,t+2,t+5),mo(this,t+3,t+4);return this};l.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Ya(this,0,o):fl.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(o){if(!l.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:l.compare(this,o)===0};l.prototype.inspect=function(){var o="",t=Mo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};Va&&(l.prototype[Va]=l.prototype.inspect);l.prototype.compare=function(o,t,s,c,p){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=s-t,_=Math.min(m,d),T=this.slice(c,p),f=o.slice(t,s),b=0;b<_;++b)if(T[b]!==f[b]){m=T[b],d=f[b];break}return m<d?-1:d<m?1:0};function Xa(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,or(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=l.from(o,s)),l.isBuffer(o))return o.length===0?-1:$a(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):$a(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function $a(e,o,t,s,c){var p=1,m=e.length,d=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function _(L,E){return p===1?L[E]:L.readUInt16BE(E*p)}var T;if(c){var f=-1;for(T=t;T<m;T++)if(_(e,T)===_(o,f===-1?0:T-f)){if(f===-1&&(f=T),T-f+1===d)return f*p}else f!==-1&&(T-=T-f),f=-1}else for(t+d>m&&(t=m-d),T=t;T>=0;T--){for(var b=!0,P=0;P<d;P++)if(_(e,T+P)!==_(o,P)){b=!1;break}if(b)return T}return-1}l.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};l.prototype.indexOf=function(o,t,s){return Xa(this,o,t,s,!0)};l.prototype.lastIndexOf=function(o,t,s){return Xa(this,o,t,s,!1)};function Tl(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var d=parseInt(o.substr(m*2,2),16);if(or(d))return m;e[t+m]=d}return m}function hl(e,o,t,s){return $n(Jt(o,e.length-t),e,t,s)}function xl(e,o,t,s){return $n(Pl(o),e,t,s)}function yl(e,o,t,s){return $n(ei(o),e,t,s)}function Sl(e,o,t,s){return $n(Cl(o,e.length-t),e,t,s)}l.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Tl(this,o,t,s);case"utf8":case"utf-8":return hl(this,o,t,s);case"ascii":case"latin1":case"binary":return xl(this,o,t,s);case"base64":return yl(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sl(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bl(e,o,t){return o===0&&t===e.length?Xt.fromByteArray(e):Xt.fromByteArray(e.slice(o,t))}function Ya(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var _,T,f,b;switch(d){case 1:p<128&&(m=p);break;case 2:_=e[c+1],(_&192)===128&&(b=(p&31)<<6|_&63,b>127&&(m=b));break;case 3:_=e[c+1],T=e[c+2],(_&192)===128&&(T&192)===128&&(b=(p&15)<<12|(_&63)<<6|T&63,b>2047&&(b<55296||b>57343)&&(m=b));break;case 4:_=e[c+1],T=e[c+2],f=e[c+3],(_&192)===128&&(T&192)===128&&(f&192)===128&&(b=(p&15)<<18|(_&63)<<12|(T&63)<<6|f&63,b>65535&&b<1114112&&(m=b))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=d}return wl(s)}var qa=4096;function wl(e){var o=e.length;if(o<=qa)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=qa));return t}function vl(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function Al(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function Il(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=Nl[e[p]];return c}function kl(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}l.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,l.prototype),c};function $(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};l.prototype.readUintBE=l.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};l.prototype.readUint8=l.prototype.readUInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]|this[o+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]<<8|this[o+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};l.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};l.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};l.prototype.readInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};l.prototype.readInt16LE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};l.prototype.readInt16BE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};l.prototype.readInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};l.prototype.readInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};l.prototype.readFloatLE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!1,52,8)};function te(e,o,t,s,c,p){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=1,d=0;for(this[t]=o&255;++d<s&&(m*=256);)this[t+d]=o/m&255;return t+s};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=s-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+s};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,255,0),this[t]=o&255,t+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};l.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=0,d=1,_=0;for(this[t]=o&255;++m<s&&(d*=256);)o<0&&_===0&&this[t+m-1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=s-1,d=1,_=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&_===0&&this[t+m+1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};l.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};l.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function Za(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ja(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,4,34028234663852886e22,-34028234663852886e22),Do.write(e,o,t,s,23,4),t+4}l.prototype.writeFloatLE=function(o,t,s){return Ja(this,o,t,!0,s)};l.prototype.writeFloatBE=function(o,t,s){return Ja(this,o,t,!1,s)};function Qa(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,8,17976931348623157e292,-17976931348623157e292),Do.write(e,o,t,s,52,8),t+8}l.prototype.writeDoubleLE=function(o,t,s){return Qa(this,o,t,!0,s)};l.prototype.writeDoubleBE=function(o,t,s){return Qa(this,o,t,!1,s)};l.prototype.copy=function(o,t,s,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};l.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var d=l.isBuffer(o)?o:l.from(o,c),_=d.length;if(_===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=d[m%_]}return this};var Ll=/[^+/0-9A-Za-z-_]/g;function El(e){if(e=e.split("=")[0],e=e.trim().replace(Ll,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Jt(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Pl(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Cl(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function ei(e){return Xt.toByteArray(El(e))}function $n(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function ve(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function or(e){return e!==e}var Nl=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var ii=S((zx,ai)=>{n();var W=ai.exports={},Ae,Ie;function nr(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=nr}catch(e){Ae=nr}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=tr}catch(e){Ie=tr}})();function ni(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===nr||!Ae)&&setTimeout)return Ae=setTimeout,setTimeout(e,0);try{return Ae(e,0)}catch(o){try{return Ae.call(null,e,0)}catch(t){return Ae.call(this,e,0)}}}function Rl(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===tr||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(e);try{return Ie(e)}catch(o){try{return Ie.call(null,e)}catch(t){return Ie.call(this,e)}}}var Be=[],Oo=!1,lo,qn=-1;function Dl(){!Oo||!lo||(Oo=!1,lo.length?Be=lo.concat(Be):qn=-1,Be.length&&ti())}function ti(){if(!Oo){var e=ni(Dl);Oo=!0;for(var o=Be.length;o;){for(lo=Be,Be=[];++qn<o;)lo&&lo[qn].run();qn=-1,o=Be.length}lo=null,Oo=!1,Rl(e)}}W.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new ri(e,o)),Be.length===1&&!Oo&&ni(ti)};function ri(e,o){this.fun=e,this.array=o}ri.prototype.run=function(){this.fun.apply(null,this.array)};W.title="browser";W.browser=!0;W.env={};W.argv=[];W.version="";W.versions={};function Fe(){}W.on=Fe;W.addListener=Fe;W.once=Fe;W.off=Fe;W.removeListener=Fe;W.removeAllListeners=Fe;W.emit=Fe;W.prependListener=Fe;W.prependOnceListener=Fe;W.listeners=function(e){return[]};W.binding=function(e){throw new Error("process.binding is not supported")};W.cwd=function(){return"/"};W.chdir=function(e){throw new Error("process.chdir is not supported")};W.umask=function(){return 0}});var r,i,Ml,a,n=h(()=>{r=x(oi()),i=x(ii()),Ml=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),a=Ml});var si=h(()=>{"use strict";n()});var ci,Ze,pi,rr,mi,di,jn,ke=h(()=>{"use strict";n();ci="error when signing",Ze="Transaction canceled",pi="error signing transaction",rr="provider not initialized",mi="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",di="Undefined transaction status",jn="You cannot sign transactions from a different account"});var li=h(()=>{"use strict";n()});var ar,_i=h(()=>{"use strict";n();ar=(s=>(s.SetGuardian="SetGuardian",s.GuardAccount="GuardAccount",s.UnGuardAccount="UnGuardAccount",s))(ar||{})});var ui=h(()=>{"use strict";n()});var ir=h(()=>{"use strict";n()});var gi=h(()=>{"use strict";n()});var sr,cr=h(()=>{"use strict";n();sr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(sr||{})});var fi=h(()=>{"use strict";n()});var Ti=h(()=>{"use strict";n()});var ee,Bo,Je=h(()=>{"use strict";n();ee=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var hi,ay,xi,iy,R=h(()=>{"use strict";n();Je();hi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hi||{}),ay=u(u({},Bo.WindowProviderRequestEnums),hi),xi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(xi||{}),iy=u(u({},Bo.WindowProviderResponseEnums),xi)});var yi=h(()=>{"use strict";n()});var Si=h(()=>{"use strict";n()});var re=h(()=>{"use strict";n()});var bi=h(()=>{"use strict";n()});var wi=h(()=>{"use strict";n()});var vi=h(()=>{"use strict";n()});var U=h(()=>{"use strict";n();cr();fi();Ti();R();yi();Si();re();bi();wi();vi()});var _o,Ai,wy,Ii,vy,ki,Ay,Iy,Li,Fo=h(()=>{"use strict";n();U();_o={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:Ai,egldLabel:wy}=_o["devnet"],{chainId:Ii,egldLabel:vy}=_o["testnet"],{chainId:ki,egldLabel:Ay}=_o["mainnet"],Iy={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:ki},Li={[Ai]:"devnet",[Ii]:"testnet",[ki]:"mainnet"}});var Ei,un=h(()=>{"use strict";n();Ei="cancel-transaction-toast"});var Le,Pi=h(()=>{"use strict";n();Le=require("@multiversx/sdk-web-wallet-provider")});var Ee,uo=h(()=>{"use strict";n();Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ci,Ni,pr,Ny,Ry,mr=h(()=>{"use strict";n();uo();pr=String((Ni=(Ci=Ee.safeWindow)==null?void 0:Ci.navigator)==null?void 0:Ni.userAgent),Ny=/^((?!chrome|android).)*safari/i.test(pr),Ry=/firefox/i.test(pr)&&/windows/i.test(pr)});var zn,Kn,Ri,Di,Pe,Xn,Mi,Yn,Oi,Wo,I=h(()=>{"use strict";n();si();ke();li();_i();ui();ir();gi();Fo();un();Pi();mr();zn=5e4,Kn=1e9,Ri=1,Di="/dapp/init",Pe="signSession",Xn="sdk-dapp-version",Mi="4.3.7",Yn="logout",Oi="login",Wo="0"});var gn,Zn=h(()=>{"use strict";n();gn=()=>Date.now()/1e3});var Bi=h(()=>{"use strict";n()});var Fi=h(()=>{"use strict";n()});var dr=h(()=>{"use strict";n();Zn();Bi();Fi()});var lr={};xe(lr,{clear:()=>Wl,getItem:()=>Bl,localStorageKeys:()=>We,removeItem:()=>Fl,setItem:()=>Ol});var We,Jn,Ol,Bl,Fl,Wl,go=h(()=>{"use strict";n();dr();We={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Jn=typeof localStorage!="undefined",Ol=({key:e,data:o,expires:t})=>{!Jn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Bl=e=>{if(!Jn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:gn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Fl=e=>{!Jn||localStorage.removeItem(String(e))},Wl=()=>{!Jn||localStorage.clear()}});var _r={};xe(_r,{clear:()=>Hi,getItem:()=>Ui,removeItem:()=>Gi,sessionStorageKeys:()=>Ul,setItem:()=>Wi,storage:()=>Gl});var Ul,Wi,Ui,Gi,Hi,Gl,Vi=h(()=>{"use strict";n();Ul={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Wi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ui=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},Gi=e=>sessionStorage.removeItem(String(e)),Hi=()=>sessionStorage.clear(),Gl={setItem:Wi,getItem:Ui,removeItem:Gi,clear:Hi}});var Qe,fo=h(()=>{"use strict";n();go();Vi();Qe={session:_r,local:lr}});var ur,D,ae,M=h(()=>{"use strict";n();ur=require("@reduxjs/toolkit");I();D=(0,ur.createAction)(Yn),ae=(0,ur.createAction)(Oi,e=>({payload:e}))});var fr,$i,qi,ge,gr,ji,ye,eo,Tr,mS,Hl,Vl,dS,lS,_S,$l,ql,Qn,et=h(()=>{"use strict";n();fr=require("@multiversx/sdk-core"),$i=require("@reduxjs/toolkit"),qi=require("redux-persist");I();fo();go();M();ge={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Wo},gr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ji=(0,$i.createSlice)({name:"accountInfoSlice",initialState:gr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new fr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:ge},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(D,()=>(Qe.local.removeItem(We.loginExpiresAt),gr)),e.addCase(ae,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new fr.Address(s).toHex()}),e.addCase(qi.REHYDRATE,(o,t)=>{var T;if(!((T=t.payload)!=null&&T.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=s;o.address=c,o.shard=p;let _=m&&c in m;o.accounts=_?m:gr.accounts,o.publicKey=d})}}),{setAccount:ye,setAddress:eo,setAccountNonce:Tr,setAccountShard:mS,setLedgerAccount:Hl,updateLedgerAccount:Vl,setWalletConnectAccount:dS,setIsAccountLoading:lS,setAccountLoadingError:_S,setWebsocketEvent:$l,setWebsocketBatchEvent:ql}=ji.actions,Qn=ji.reducer});function fn(){return new Date().setHours(new Date().getHours()+24)}function Tn(e){Qe.local.setItem({key:We.loginExpiresAt,data:e,expires:e})}var hr=h(()=>{"use strict";n();fo();go()});var Ki,zi,Xi,wS,jl,zl,xr,vS,Kl,Yi,AS,IS,kS,ot,nt=h(()=>{"use strict";n();Ki=require("@reduxjs/toolkit");hr();R();M();zi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Xi=(0,Ki.createSlice)({name:"loginInfoSlice",initialState:zi,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(D,()=>zi),e.addCase(ae,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,Tn(fn())})}}),{setLoginMethod:wS,setWalletConnectLogin:jl,setLedgerLogin:zl,setTokenLogin:xr,setTokenLoginSignature:vS,setWalletLogin:Kl,invalidateLoginSession:Yi,setLogoutRoute:AS,setIsWalletConnectV2Initialized:IS,setWebviewLogin:kS}=Xi.actions,ot=Xi.reducer});var Ji,Zi,Qi,CS,Xl,NS,Yl,tt,rt=h(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");M();Zi={},Qi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Zi,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(D,()=>Zi)}}),{setTxSubmittedModal:CS,setNotificationModal:Xl,clearTxSubmittedModal:NS,clearNotificationModal:Yl}=Qi.actions,tt=Qi.reducer});var Ue,Uo=h(()=>{"use strict";n();Ue=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,X=h(()=>{"use strict";n();Uo();N=()=>{if(!Ue())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:s,href:c,search:p}}=window;return{pathname:o,hash:t,origin:s,href:c,search:p}}});var es=h(()=>{"use strict";n();X()});var To,os=h(()=>{"use strict";n();Z();To=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var ns=h(()=>{"use strict";n();uo()});var Z=h(()=>{"use strict";n();es();os();X();ns()});var hn=h(()=>{"use strict";n();Z()});var rs=h(()=>{"use strict";n();hn()});function as(e){return e[Math.floor(Math.random()*e.length)]}var is=h(()=>{"use strict";n()});var yr=h(()=>{"use strict";n();ir()});var Ge=h(()=>{"use strict";n();rs();is();yr()});var ss,cs,ps,Sr,Jl,ms,db,lb,ds,at,it=h(()=>{"use strict";n();ss=require("@reduxjs/toolkit"),cs=x(require("lodash.omit")),ps=require("redux-persist");un();M();Ge();Sr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Jl={network:Sr},ms=(0,ss.createSlice)({name:"appConfig",initialState:Jl,reducers:{initializeNetworkConfig:(e,o)=>{let t=as(o.payload.walletConnectV2RelayAddresses),s=(0,cs.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),s),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(D,o=>{o.network.customWalletAddress=void 0}),e.addCase(ps.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:s}}=t.payload;o.network.customWalletAddress=s})}}),{initializeNetworkConfig:db,updateNetworkConfig:lb,setCustomWalletAddress:ds}=ms.actions,at=ms.reducer});var ls,br,_s,hb,xb,yb,st,ct=h(()=>{"use strict";n();ls=require("@reduxjs/toolkit");U();M();br={isSigning:!1,signedSessions:{}},_s=(0,ls.createSlice)({name:"signedMessageInfoSliceState",initialState:br,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),s)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>br},extraReducers:e=>{e.addCase(D,()=>br)}}),{setSignSession:hb,clearSignedMessageInfo:xb,setSignSessionState:yb}=_s.actions,st=_s.reducer});var gs,fs,us,Ts,wr,Ql,kb,e_,pt,mt=h(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");U();Zn();M();us={customToasts:[],transactionToasts:[]},Ts=(0,gs.createSlice)({name:"toastsSlice",initialState:us,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,s=e.customToasts.findIndex(c=>c.toastId===t);if(s!==-1){e.customToasts[s]=w(u(u({},e.customToasts[s]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:gn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(D,()=>us),e.addCase(fs.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:wr,removeCustomToast:Ql,addTransactionToast:kb,removeTransactionToast:e_}=Ts.actions,pt=Ts.reducer});var hs,Ar,Ir,kr,o_,vr,xs,Cb,n_,xn,dt,lt=h(()=>{"use strict";n();hs=require("@reduxjs/toolkit");M();Ar="Transaction failed",Ir="Transaction successful",kr="Processing transaction",o_="Transaction submitted",vr={},xs=(0,hs.createSlice)({name:"transactionsInfo",initialState:vr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Ar,successMessage:(s==null?void 0:s.successMessage)||Ir,processingMessage:(s==null?void 0:s.processingMessage)||kr,submittedMessage:(s==null?void 0:s.submittedMessage)||o_,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>vr},extraReducers:e=>{e.addCase(D,()=>vr)}}),{clearTransactionsInfo:Cb,setTransactionsDisplayInfo:n_,clearTransactionsInfoForSessionId:xn}=xs.actions,dt=xs.reducer});function Ho(e){return e!=null&&(l_(e)||T_(e))}function Vo(e){return e!=null&&(__(e)||h_(e))}function $o(e){return e!=null&&(u_(e)||x_(e))}function ys(e){return e!=null&&(g_(e)||y_(e))}function Lr(e){return e!=null&&f_(e)}function l_(e){return e!=null&&t_.includes(e)}function __(e){return e!=null&&r_.includes(e)}function u_(e){return e!=null&&a_.includes(e)}function g_(e){return e!=null&&i_.includes(e)}function f_(e){return e!=null&&s_.includes(e)}function T_(e){return e!=null&&c_.includes(e)}function h_(e){return e!=null&&p_.includes(e)}function x_(e){return e!=null&&m_.includes(e)}function y_(e){return e!=null&&d_.includes(e)}var t_,r_,a_,i_,s_,c_,p_,m_,d_,qo=h(()=>{"use strict";n();R();t_=["sent"],r_=["success"],a_=["fail","cancelled","timedOut"],i_=["invalid"],s_=["timedOut"],c_=["pending"],p_=["success"],m_=["fail","invalid"],d_=["not executed"]});var Ss,bs,yn,S_,ws,vs,As,b_,ho,w_,v_,Ub,A_,no,to,Gb,_t,ut=h(()=>{"use strict";n();Ss=require("@reduxjs/toolkit"),bs=require("redux-persist");R();qo();M();yn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},S_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ws=(0,Ss.createSlice)({name:"transactionsSlice",initialState:yn,reducers:{moveTransactionsToSignedState:(e,o)=>{var _,T;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},S_),((_=e.signedTransactions[t])==null?void 0:_.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===t&&(e.transactionsToSign=yn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var T,f,b,P,L,E,Y,O;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,_=(f=(T=e.signedTransactions)==null?void 0:T[t])==null?void 0:f.transactions;if(_!=null){e.signedTransactions[t].transactions=_.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:s,errorMessage:c,inTransit:d}):B);let q=(P=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:P.every(B=>Vo(B.status)),oe=(E=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:E.some(B=>$o(B.status)),Te=(O=(Y=e.signedTransactions[t])==null?void 0:Y.transactions)==null?void 0:O.every(B=>ys(B.status));q&&(e.signedTransactions[t].status="success"),oe&&(e.signedTransactions[t].status="fail"),Te&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=yn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=yn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:s}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),s))}},extraReducers:e=>{e.addCase(D,()=>yn),e.addCase(bs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((d,[_,T])=>{let f=new Date(_),b=new Date;return b.setHours(b.getHours()+5),b-f>0||(d[_]=T),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:vs,updateSignedTransactions:As,setTransactionsToSign:b_,clearAllTransactionsToSign:ho,clearAllSignedTransactions:w_,clearSignedTransaction:v_,clearTransactionToSign:Ub,setSignTransactionsError:A_,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:to,updateSignedTransactionsCustomTransactionInformation:Gb}=ws.actions,_t=ws.reducer});var Is,Er,ks,qb,jb,I_,zb,gt,ft=h(()=>{"use strict";n();Is=require("@reduxjs/toolkit");M();Er={},ks=(0,Is.createSlice)({name:"batchTransactionsSlice",initialState:Er,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Er},extraReducers:e=>{e.addCase(D,()=>Er)}}),{setBatchTransactions:qb,updateBatchTransactions:jb,clearBatchTransactions:I_,clearAllBatchTransactions:zb}=ks.actions,gt=ks.reducer});var Es,Ls,Ps,Zb,Cs,Pr=h(()=>{"use strict";n();Es=require("@reduxjs/toolkit");M();Ls={},Ps=(0,Es.createSlice)({name:"dappConfigSlice",initialState:Ls,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(D,()=>Ls)}}),{setDappConfig:Zb}=Ps.actions,Cs=Ps.reducer});var k=h(()=>{"use strict";n();et();nt();rt();it();ct();mt();lt();ut();ft();Pr()});var Cr=h(()=>{"use strict";n()});var Ds,P_,C_,xo,xt=h(()=>{"use strict";n();Ds=require("@reduxjs/toolkit");Cr();et();ft();Pr();nt();rt();it();ct();mt();lt();ut();P_={["account"]:Qn,["dappConfig"]:Cs,["loginInfo"]:ot,["modals"]:tt,["networkConfig"]:at,["signedMessageInfo"]:st,["toasts"]:pt,["transactionsInfo"]:dt,["transactions"]:_t,["batchTransactions"]:gt},C_=(e={})=>(0,Ds.combineReducers)(u(u({},P_),e)),xo=C_});var Fs={};xe(Fs,{default:()=>z_,sessionStorageReducers:()=>Nr});function He(e,o=[]){return{key:e,version:1,storage:Os.default,blacklist:o}}var ie,Ms,Os,N_,Sn,R_,D_,M_,O_,B_,F_,W_,U_,G_,H_,Bs,V_,Nr,$_,q_,j_,z_,Ws=h(()=>{"use strict";n();ie=require("redux-persist"),Ms=x(require("redux-persist/lib/storage")),Os=x(require("redux-persist/lib/storage/session"));xt();k();et();ft();nt();rt();it();ct();mt();lt();ut();Cr();N_={persistReducersStorageType:"localStorage"},Sn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},R_=He(Sn["account"]),D_=He(Sn["loginInfo"]),M_=He(Sn["modals"]),O_=He(Sn["networkConfig"]),B_={2:e=>w(u({},e),{networkConfig:Sr})};F_=He("sdk-dapp-transactionsInfo"),W_=He("sdk-dapp-transactions",["transactionsToSign"]),U_=He("sdk-dapp-batchTransactions",["batchTransactions"]),G_=He("sdk-dapp-toasts"),H_=He("sdk-dapp-signedMessageInfo"),Bs={key:"sdk-dapp-store",version:2,storage:Ms.default,whitelist:Object.keys(Sn),migrate:(0,ie.createMigrate)(B_,{debug:!1})},V_=w(u({},Bs),{whitelist:[]}),Nr={["toasts"]:(0,ie.persistReducer)(G_,pt),["transactions"]:(0,ie.persistReducer)(W_,_t),["transactionsInfo"]:(0,ie.persistReducer)(F_,dt),["batchTransactions"]:(0,ie.persistReducer)(U_,gt),["signedMessageInfo"]:(0,ie.persistReducer)(H_,st)},$_=w(u({},Nr),{["account"]:(0,ie.persistReducer)(R_,Qn),["loginInfo"]:(0,ie.persistReducer)(D_,ot),["modals"]:(0,ie.persistReducer)(M_,tt),["networkConfig"]:(0,ie.persistReducer)(O_,at)}),q_=N_.persistReducersStorageType==="localStorage",j_=q_?(0,ie.persistReducer)(Bs,xo(Nr)):(0,ie.persistReducer)(V_,xo($_)),z_=j_});var Us={};xe(Us,{default:()=>K_});var K_,Gs=h(()=>{"use strict";n();xt();K_=xo()});var Hs={};xe(Hs,{default:()=>Y_});var fe,X_,Y_,Vs=h(()=>{"use strict";n();fe=require("redux-persist"),X_=[fe.FLUSH,fe.REHYDRATE,fe.PAUSE,fe.PERSIST,fe.PURGE,fe.REGISTER],Y_=X_});var js={};xe(js,{default:()=>qs});function qs(e){return(0,$s.persistStore)(e)}var $s,zs=h(()=>{"use strict";n();$s=require("redux-persist")});var tp=S((V2,np)=>{n();var Ng=typeof a=="object"&&a&&a.Object===Object&&a;np.exports=Ng});var Ln=S(($2,rp)=>{n();var Rg=tp(),Dg=typeof self=="object"&&self&&self.Object===Object&&self,Mg=Rg||Dg||Function("return this")();rp.exports=Mg});var na=S((q2,ap)=>{n();var Og=Ln(),Bg=Og.Symbol;ap.exports=Bg});var pp=S((j2,cp)=>{n();var ip=na(),sp=Object.prototype,Fg=sp.hasOwnProperty,Wg=sp.toString,En=ip?ip.toStringTag:void 0;function Ug(e){var o=Fg.call(e,En),t=e[En];try{e[En]=void 0;var s=!0}catch(p){}var c=Wg.call(e);return s&&(o?e[En]=t:delete e[En]),c}cp.exports=Ug});var dp=S((z2,mp)=>{n();var Gg=Object.prototype,Hg=Gg.toString;function Vg(e){return Hg.call(e)}mp.exports=Vg});var ta=S((K2,up)=>{n();var lp=na(),$g=pp(),qg=dp(),jg="[object Null]",zg="[object Undefined]",_p=lp?lp.toStringTag:void 0;function Kg(e){return e==null?e===void 0?zg:jg:_p&&_p in Object(e)?$g(e):qg(e)}up.exports=Kg});var fp=S((X2,gp)=>{n();var Xg=Array.isArray;gp.exports=Xg});var hp=S((Y2,Tp)=>{n();function Yg(e){return e!=null&&typeof e=="object"}Tp.exports=Yg});var yp=S((Z2,xp)=>{n();var Zg=ta(),Jg=fp(),Qg=hp(),ef="[object String]";function of(e){return typeof e=="string"||!Jg(e)&&Qg(e)&&Zg(e)==ef}xp.exports=of});var ia={};xe(ia,{css:()=>Ip,default:()=>mf});var Ip,mf,sa=h(()=>{"use strict";n();Ip=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4
 
@@ -1,4 +1,4 @@
1
- "use strict";var yl=Object.create;var fn=Object.defineProperty,Sl=Object.defineProperties,bl=Object.getOwnPropertyDescriptor,wl=Object.getOwnPropertyDescriptors,vl=Object.getOwnPropertyNames,jn=Object.getOwnPropertySymbols,Al=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable;var Qa=(e,o,t)=>o in e?fn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))er.call(o,t)&&Qa(e,t,o[t]);if(jn)for(var t of jn(o))ei.call(o,t)&&Qa(e,t,o[t]);return e},w=(e,o)=>Sl(e,wl(o));var eo=(e,o)=>{var t={};for(var a in e)er.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&jn)for(var a of jn(e))o.indexOf(a)<0&&ei.call(e,a)&&(t[a]=e[a]);return t};var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var b=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),_e=(e,o)=>{for(var t in o)fn(e,t,{get:o[t],enumerable:!0})},oi=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of vl(o))!er.call(e,c)&&c!==t&&fn(e,c,{get:()=>o[c],enumerable:!(a=bl(o,c))||a.enumerable});return e};var h=(e,o,t)=>(t=e!=null?yl(Al(e)):{},oi(o||!e||!e.__esModule?fn(t,"default",{value:e,enumerable:!0}):t,e)),oe=e=>oi(fn({},"__esModule",{value:!0}),e);var f=(e,o,t)=>new Promise((a,c)=>{var p=l=>{try{d(t.next(l))}catch(g){c(g)}},m=l=>{try{d(t.throw(l))}catch(g){c(g)}},d=l=>l.done?a(l.value):Promise.resolve(l.value).then(p,m);d((t=t.apply(e,o)).next())});var ri=b(zn=>{"use strict";n();zn.byteLength=kl;zn.toByteArray=Pl;zn.fromByteArray=Nl;var Ae=[],fe=[],Il=typeof Uint8Array!="undefined"?Uint8Array:Array,or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(uo=0,ni=or.length;uo<ni;++uo)Ae[uo]=or[uo],fe[or.charCodeAt(uo)]=uo;var uo,ni;fe["-".charCodeAt(0)]=62;fe["_".charCodeAt(0)]=63;function ti(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var a=t===o?0:4-t%4;return[t,a]}function kl(e){var o=ti(e),t=o[0],a=o[1];return(t+a)*3/4-a}function Ll(e,o,t){return(o+t)*3/4-t}function Pl(e){var o,t=ti(e),a=t[0],c=t[1],p=new Il(Ll(e,a,c)),m=0,d=c>0?a-4:a,l;for(l=0;l<d;l+=4)o=fe[e.charCodeAt(l)]<<18|fe[e.charCodeAt(l+1)]<<12|fe[e.charCodeAt(l+2)]<<6|fe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=fe[e.charCodeAt(l)]<<2|fe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=fe[e.charCodeAt(l)]<<10|fe[e.charCodeAt(l+1)]<<4|fe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function El(e){return Ae[e>>18&63]+Ae[e>>12&63]+Ae[e>>6&63]+Ae[e&63]}function Cl(e,o,t){for(var a,c=[],p=o;p<t;p+=3)a=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(El(a));return c.join("")}function Nl(e){for(var o,t=e.length,a=t%3,c=[],p=16383,m=0,d=t-a;m<d;m+=p)c.push(Cl(e,m,m+p>d?d:m+p));return a===1?(o=e[t-1],c.push(Ae[o>>2]+Ae[o<<4&63]+"==")):a===2&&(o=(e[t-2]<<8)+e[t-1],c.push(Ae[o>>10]+Ae[o>>4&63]+Ae[o<<2&63]+"=")),c.join("")}});var ai=b(nr=>{n();nr.read=function(e,o,t,a,c){var p,m,d=c*8-a-1,l=(1<<d)-1,g=l>>1,T=-7,x=t?c-1:0,L=t?-1:1,I=e[o+x];for(x+=L,p=I&(1<<-T)-1,I>>=-T,T+=d;T>0;p=p*256+e[o+x],x+=L,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=a;T>0;m=m*256+e[o+x],x+=L,T-=8);if(p===0)p=1-g;else{if(p===l)return m?NaN:(I?-1:1)*(1/0);m=m+Math.pow(2,a),p=p-g}return(I?-1:1)*m*Math.pow(2,p-a)};nr.write=function(e,o,t,a,c,p){var m,d,l,g=p*8-c-1,T=(1<<g)-1,x=T>>1,L=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=a?0:p-1,E=a?1:-1,$=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=T):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+x>=1?o+=L/l:o+=L*Math.pow(2,1-x),o*l>=2&&(m++,l/=2),m+x>=T?(d=0,m=T):m+x>=1?(d=(o*l-1)*Math.pow(2,c),m=m+x):(d=o*Math.pow(2,x-1)*Math.pow(2,c),m=0));c>=8;e[t+I]=d&255,I+=E,d/=256,c-=8);for(m=m<<c|d,g+=c;g>0;e[t+I]=m&255,I+=E,m/=256,g-=8);e[t+I-E]|=$*128}});var hi=b(Wo=>{"use strict";n();var tr=ri(),Oo=ai(),ii=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Wo.Buffer=_;Wo.SlowBuffer=Bl;Wo.INSPECT_MAX_BYTES=50;var Kn=2147483647;Wo.kMaxLength=Kn;_.TYPED_ARRAY_SUPPORT=Rl();!_.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 Rl(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function We(e){if(e>Kn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return sr(e)}return pi(e,o,t)}_.poolSize=8192;function pi(e,o,t){if(typeof e=="string")return Ml(e,o);if(ArrayBuffer.isView(e))return Ol(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Ie(e,ArrayBuffer)||e&&Ie(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ie(e,SharedArrayBuffer)||e&&Ie(e.buffer,SharedArrayBuffer)))return ar(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=e.valueOf&&e.valueOf();if(a!=null&&a!==e)return _.from(a,o,t);var c=Wl(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}_.from=function(e,o,t){return pi(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function mi(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Dl(e,o,t){return mi(e),e<=0?We(e):o!==void 0?typeof t=="string"?We(e).fill(o,t):We(e).fill(o):We(e)}_.alloc=function(e,o,t){return Dl(e,o,t)};function sr(e){return mi(e),We(e<0?0:cr(e)|0)}_.allocUnsafe=function(e){return sr(e)};_.allocUnsafeSlow=function(e){return sr(e)};function Ml(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=di(e,o)|0,a=We(t),c=a.write(e,o);return c!==t&&(a=a.slice(0,c)),a}function rr(e){for(var o=e.length<0?0:cr(e.length)|0,t=We(o),a=0;a<o;a+=1)t[a]=e[a]&255;return t}function Ol(e){if(Ie(e,Uint8Array)){var o=new Uint8Array(e);return ar(o.buffer,o.byteOffset,o.byteLength)}return rr(e)}function ar(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var a;return o===void 0&&t===void 0?a=new Uint8Array(e):t===void 0?a=new Uint8Array(e,o):a=new Uint8Array(e,o,t),Object.setPrototypeOf(a,_.prototype),a}function Wl(e){if(_.isBuffer(e)){var o=cr(e.length)|0,t=We(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||pr(e.length)?We(0):rr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return rr(e.data)}function cr(e){if(e>=Kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn.toString(16)+" bytes");return e|0}function Bl(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,t){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),Ie(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(o)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var a=o.length,c=t.length,p=0,m=Math.min(a,c);p<m;++p)if(o[p]!==t[p]){a=o[p],c=t[p];break}return a<c?-1:c<a?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var a;if(t===void 0)for(t=0,a=0;a<o.length;++a)t+=o[a].length;var c=_.allocUnsafe(t),p=0;for(a=0;a<o.length;++a){var m=o[a];if(Ie(m,Uint8Array))p+m.length>c.length?_.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(_.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function di(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ie(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ir(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ti(e).length;default:if(c)return a?-1:ir(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=di;function Fl(e,o,t){var a=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Xl(this,o,t);case"utf8":case"utf-8":return _i(this,o,t);case"ascii":return zl(this,o,t);case"latin1":case"binary":return Kl(this,o,t);case"base64":return ql(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yl(this,o,t);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}_.prototype._isBuffer=!0;function go(e,o,t){var a=e[o];e[o]=e[t],e[t]=a}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)go(this,t,t+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)go(this,t,t+3),go(this,t+1,t+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)go(this,t,t+7),go(this,t+1,t+6),go(this,t+2,t+5),go(this,t+3,t+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?_i(this,0,o):Fl.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",t=Wo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};ii&&(_.prototype[ii]=_.prototype.inspect);_.prototype.compare=function(o,t,a,c,p){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),a===void 0&&(a=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||a>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=a)return 0;if(c>=p)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=a-t,l=Math.min(m,d),g=this.slice(c,p),T=o.slice(t,a),x=0;x<l;++x)if(g[x]!==T[x]){m=g[x],d=T[x];break}return m<d?-1:d<m?1:0};function li(e,o,t,a,c){if(e.length===0)return-1;if(typeof t=="string"?(a=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pr(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=_.from(o,a)),_.isBuffer(o))return o.length===0?-1:si(e,o,t,a,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):si(e,[o],t,a,c);throw new TypeError("val must be string, number or Buffer")}function si(e,o,t,a,c){var p=1,m=e.length,d=o.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function l(I,E){return p===1?I[E]:I.readUInt16BE(E*p)}var g;if(c){var T=-1;for(g=t;g<m;g++)if(l(e,g)===l(o,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*p}else T!==-1&&(g-=g-T),T=-1}else for(t+d>m&&(t=m-d),g=t;g>=0;g--){for(var x=!0,L=0;L<d;L++)if(l(e,g+L)!==l(o,L)){x=!1;break}if(x)return g}return-1}_.prototype.includes=function(o,t,a){return this.indexOf(o,t,a)!==-1};_.prototype.indexOf=function(o,t,a){return li(this,o,t,a,!0)};_.prototype.lastIndexOf=function(o,t,a){return li(this,o,t,a,!1)};function Ul(e,o,t,a){t=Number(t)||0;var c=e.length-t;a?(a=Number(a),a>c&&(a=c)):a=c;var p=o.length;a>p/2&&(a=p/2);for(var m=0;m<a;++m){var d=parseInt(o.substr(m*2,2),16);if(pr(d))return m;e[t+m]=d}return m}function Gl(e,o,t,a){return Xn(ir(o,e.length-t),e,t,a)}function Hl(e,o,t,a){return Xn(Ql(o),e,t,a)}function Vl(e,o,t,a){return Xn(Ti(o),e,t,a)}function $l(e,o,t,a){return Xn(e_(o,e.length-t),e,t,a)}_.prototype.write=function(o,t,a,c){if(t===void 0)c="utf8",a=this.length,t=0;else if(a===void 0&&typeof t=="string")c=t,a=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(a)?(a=a>>>0,c===void 0&&(c="utf8")):(c=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((a===void 0||a>p)&&(a=p),o.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Ul(this,o,t,a);case"utf8":case"utf-8":return Gl(this,o,t,a);case"ascii":case"latin1":case"binary":return Hl(this,o,t,a);case"base64":return Vl(this,o,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $l(this,o,t,a);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ql(e,o,t){return o===0&&t===e.length?tr.fromByteArray(e):tr.fromByteArray(e.slice(o,t))}function _i(e,o,t){t=Math.min(e.length,t);for(var a=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var l,g,T,x;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(x=(p&31)<<6|l&63,x>127&&(m=x));break;case 3:l=e[c+1],g=e[c+2],(l&192)===128&&(g&192)===128&&(x=(p&15)<<12|(l&63)<<6|g&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:l=e[c+1],g=e[c+2],T=e[c+3],(l&192)===128&&(g&192)===128&&(T&192)===128&&(x=(p&15)<<18|(l&63)<<12|(g&63)<<6|T&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,a.push(m>>>10&1023|55296),m=56320|m&1023),a.push(m),c+=d}return jl(a)}var ci=4096;function jl(e){var o=e.length;if(o<=ci)return String.fromCharCode.apply(String,e);for(var t="",a=0;a<o;)t+=String.fromCharCode.apply(String,e.slice(a,a+=ci));return t}function zl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]&127);return a}function Kl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]);return a}function Xl(e,o,t){var a=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>a)&&(t=a);for(var c="",p=o;p<t;++p)c+=o_[e[p]];return c}function Yl(e,o,t){for(var a=e.slice(o,t),c="",p=0;p<a.length-1;p+=2)c+=String.fromCharCode(a[p]+a[p+1]*256);return c}_.prototype.slice=function(o,t){var a=this.length;o=~~o,t=t===void 0?a:~~t,o<0?(o+=a,o<0&&(o=0)):o>a&&(o=a),t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,_.prototype),c};function z(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};_.prototype.readUint8=_.prototype.readUInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};_.prototype.readIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};_.prototype.readInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o]|this[o+1]<<8;return a&32768?a|4294901760:a};_.prototype.readInt16BE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o+1]|this[o]<<8;return a&32768?a|4294901760:a};_.prototype.readInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!1,52,8)};function ie(e,o,t,a,c,p){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+a>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=1,d=0;for(this[t]=o&255;++d<a&&(m*=256);)this[t+d]=o/m&255;return t+a};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=a-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+a};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,255,0),this[t]=o&255,t+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};_.prototype.writeIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=0,d=1,l=0;for(this[t]=o&255;++m<a&&(d*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=a-1,d=1,l=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};_.prototype.writeInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};_.prototype.writeInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function ui(e,o,t,a,c,p){if(t+a>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function gi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,4,34028234663852886e22,-34028234663852886e22),Oo.write(e,o,t,a,23,4),t+4}_.prototype.writeFloatLE=function(o,t,a){return gi(this,o,t,!0,a)};_.prototype.writeFloatBE=function(o,t,a){return gi(this,o,t,!1,a)};function fi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,8,17976931348623157e292,-17976931348623157e292),Oo.write(e,o,t,a,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,a){return fi(this,o,t,!0,a)};_.prototype.writeDoubleBE=function(o,t,a){return fi(this,o,t,!1,a)};_.prototype.copy=function(o,t,a,c){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(a||(a=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<a&&(c=a),c===a||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-a&&(c=o.length-t+a);var p=c-a;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,a,c):Uint8Array.prototype.set.call(o,this.subarray(a,c),t),p};_.prototype.fill=function(o,t,a,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,a=this.length):typeof a=="string"&&(c=a,a=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!_.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;t=t>>>0,a=a===void 0?this.length:a>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<a;++m)this[m]=o;else{var d=_.isBuffer(o)?o:_.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<a-t;++m)this[m+t]=d[m%l]}return this};var Zl=/[^+/0-9A-Za-z-_]/g;function Jl(e){if(e=e.split("=")[0],e=e.trim().replace(Zl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ir(e,o){o=o||1/0;for(var t,a=e.length,c=null,p=[],m=0;m<a;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===a){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Ql(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function e_(e,o){for(var t,a,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),a=t>>8,c=t%256,p.push(c),p.push(a);return p}function Ti(e){return tr.toByteArray(Jl(e))}function Xn(e,o,t,a){for(var c=0;c<a&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function Ie(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function pr(e){return e!==e}var o_=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var a=t*16,c=0;c<16;++c)o[a+c]=e[t]+e[c];return o}()});var wi=b((by,bi)=>{n();var U=bi.exports={},ke,Le;function mr(){throw new Error("setTimeout has not been defined")}function dr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ke=setTimeout:ke=mr}catch(e){ke=mr}try{typeof clearTimeout=="function"?Le=clearTimeout:Le=dr}catch(e){Le=dr}})();function xi(e){if(ke===setTimeout)return setTimeout(e,0);if((ke===mr||!ke)&&setTimeout)return ke=setTimeout,setTimeout(e,0);try{return ke(e,0)}catch(o){try{return ke.call(null,e,0)}catch(t){return ke.call(this,e,0)}}}function n_(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===dr||!Le)&&clearTimeout)return Le=clearTimeout,clearTimeout(e);try{return Le(e)}catch(o){try{return Le.call(null,e)}catch(t){return Le.call(this,e)}}}var Be=[],Bo=!1,fo,Yn=-1;function t_(){!Bo||!fo||(Bo=!1,fo.length?Be=fo.concat(Be):Yn=-1,Be.length&&yi())}function yi(){if(!Bo){var e=xi(t_);Bo=!0;for(var o=Be.length;o;){for(fo=Be,Be=[];++Yn<o;)fo&&fo[Yn].run();Yn=-1,o=Be.length}fo=null,Bo=!1,n_(e)}}U.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new Si(e,o)),Be.length===1&&!Bo&&xi(yi)};function Si(e,o){this.fun=e,this.array=o}Si.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Fe(){}U.on=Fe;U.addListener=Fe;U.once=Fe;U.off=Fe;U.removeListener=Fe;U.removeAllListeners=Fe;U.emit=Fe;U.prependListener=Fe;U.prependOnceListener=Fe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var r,s,r_,i,n=y(()=>{r=h(hi()),s=h(wi()),r_=function(e){function o(){var a=this||self;return delete e.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=r_});var vi=y(()=>{"use strict";n()});var Ai,Ue,Ii,lr,ki,Li,Zn,Pe=y(()=>{"use strict";n();Ai="error when signing",Ue="Transaction canceled",Ii="error signing transaction",lr="provider not initialized",ki="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",Li="Undefined transaction status",Zn="You cannot sign transactions from a different account"});var Pi=y(()=>{"use strict";n()});var _r,Ei=y(()=>{"use strict";n();_r=(a=>(a.SetGuardian="SetGuardian",a.GuardAccount="GuardAccount",a.UnGuardAccount="UnGuardAccount",a))(_r||{})});var Ci=y(()=>{"use strict";n()});var ur=y(()=>{"use strict";n()});var Ni=y(()=>{"use strict";n()});var gr,fr=y(()=>{"use strict";n();gr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(gr||{})});var Ri=y(()=>{"use strict";n()});var Di=y(()=>{"use strict";n()});var ne,Fo,oo=y(()=>{"use strict";n();ne=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Fo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Mi,Dy,Oi,My,R=y(()=>{"use strict";n();oo();Mi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Mi||{}),Dy=u(u({},Fo.WindowProviderRequestEnums),Mi),Oi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Oi||{}),My=u(u({},Fo.WindowProviderResponseEnums),Oi)});var Wi=y(()=>{"use strict";n()});var Bi=y(()=>{"use strict";n()});var se=y(()=>{"use strict";n()});var Fi=y(()=>{"use strict";n()});var Ui=y(()=>{"use strict";n()});var Gi=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();fr();Ri();Di();R();Wi();Bi();se();Fi();Ui();Gi()});var To,Hi,Jy,Vi,Qy,$i,eS,oS,qi,Uo=y(()=>{"use strict";n();O();To={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:Hi,egldLabel:Jy}=To["devnet"],{chainId:Vi,egldLabel:Qy}=To["testnet"],{chainId:$i,egldLabel:eS}=To["mainnet"],oS={["devnet"]:Hi,["testnet"]:Vi,["mainnet"]:$i},qi={[Hi]:"devnet",[Vi]:"testnet",[$i]:"mainnet"}});var ji,Tn=y(()=>{"use strict";n();ji="cancel-transaction-toast"});var Ee,zi=y(()=>{"use strict";n();Ee=require("@multiversx/sdk-web-wallet-provider")});var Ce,ho=y(()=>{"use strict";n();Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ki,Xi,Tr,sS,cS,hr=y(()=>{"use strict";n();ho();Tr=String((Xi=(Ki=Ce.safeWindow)==null?void 0:Ki.navigator)==null?void 0:Xi.userAgent),sS=/^((?!chrome|android).)*safari/i.test(Tr),cS=/firefox/i.test(Tr)&&/windows/i.test(Tr)});var Jn,Qn,Yi,Zi,Ne,et,Ji,ot,Qi,Go,k=y(()=>{"use strict";n();vi();Pe();Pi();Ei();Ci();ur();Ni();Uo();Tn();zi();hr();Jn=5e4,Qn=1e9,Yi=1,Zi="/dapp/init",Ne="signSession",et="sdk-dapp-version",Ji="4.3.7-alpha.1",ot="logout",Qi="login",Go="0"});var hn,nt=y(()=>{"use strict";n();hn=()=>Date.now()/1e3});var es=y(()=>{"use strict";n()});var os=y(()=>{"use strict";n()});var xr=y(()=>{"use strict";n();nt();es();os()});var yr={};_e(yr,{clear:()=>c_,getItem:()=>i_,localStorageKeys:()=>Ge,removeItem:()=>s_,setItem:()=>a_});var Ge,tt,a_,i_,s_,c_,xo=y(()=>{"use strict";n();xr();Ge={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},tt=typeof localStorage!="undefined",a_=({key:e,data:o,expires:t})=>{!tt||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},i_=e=>{if(!tt)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:hn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},s_=e=>{!tt||localStorage.removeItem(String(e))},c_=()=>{!tt||localStorage.clear()}});var Sr={};_e(Sr,{clear:()=>as,getItem:()=>ts,removeItem:()=>rs,sessionStorageKeys:()=>p_,setItem:()=>ns,storage:()=>m_});var p_,ns,ts,rs,as,m_,is=y(()=>{"use strict";n();p_={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ns=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ts=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},rs=e=>sessionStorage.removeItem(String(e)),as=()=>sessionStorage.clear(),m_={setItem:ns,getItem:ts,removeItem:rs,clear:as}});var no,yo=y(()=>{"use strict";n();xo();is();no={session:Sr,local:yr}});var br,M,ce,W=y(()=>{"use strict";n();br=require("@reduxjs/toolkit");k();M=(0,br.createAction)(ot),ce=(0,br.createAction)(Qi,e=>({payload:e}))});var vr,ss,cs,Te,wr,ps,Se,to,Ar,FS,d_,l_,US,GS,HS,__,u_,rt,at=y(()=>{"use strict";n();vr=require("@multiversx/sdk-core"),ss=require("@reduxjs/toolkit"),cs=require("redux-persist");k();yo();xo();W();Te={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Go},wr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Te},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ps=(0,ss.createSlice)({name:"accountInfoSlice",initialState:wr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new vr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:Te},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(M,()=>(no.local.removeItem(Ge.loginExpiresAt),wr)),e.addCase(ce,(o,t)=>{let{address:a}=t.payload;o.address=a,o.publicKey=new vr.Address(a).toHex()}),e.addCase(cs.REHYDRATE,(o,t)=>{var g;if(!((g=t.payload)!=null&&g.account))return;let{account:a}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=a;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:wr.accounts,o.publicKey=d})}}),{setAccount:Se,setAddress:to,setAccountNonce:Ar,setAccountShard:FS,setLedgerAccount:d_,updateLedgerAccount:l_,setWalletConnectAccount:US,setIsAccountLoading:GS,setAccountLoadingError:HS,setWebsocketEvent:__,setWebsocketBatchEvent:u_}=ps.actions,rt=ps.reducer});function xn(){return new Date().setHours(new Date().getHours()+24)}function yn(e){no.local.setItem({key:Ge.loginExpiresAt,data:e,expires:e})}var Ir=y(()=>{"use strict";n();yo();xo()});var ds,ms,ls,JS,g_,f_,kr,QS,T_,_s,eb,ob,nb,it,st=y(()=>{"use strict";n();ds=require("@reduxjs/toolkit");Ir();R();W();ms={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},ls=(0,ds.createSlice)({name:"loginInfoSlice",initialState:ms,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(M,()=>ms),e.addCase(ce,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,yn(xn())})}}),{setLoginMethod:JS,setWalletConnectLogin:g_,setLedgerLogin:f_,setTokenLogin:kr,setTokenLoginSignature:QS,setWalletLogin:T_,invalidateLoginSession:_s,setLogoutRoute:eb,setIsWalletConnectV2Initialized:ob,setWebviewLogin:nb}=ls.actions,it=ls.reducer});var gs,us,fs,ib,h_,sb,x_,ct,pt=y(()=>{"use strict";n();gs=require("@reduxjs/toolkit");W();us={},fs=(0,gs.createSlice)({name:"modalsSlice",initialState:us,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(M,()=>us)}}),{setTxSubmittedModal:ib,setNotificationModal:h_,clearTxSubmittedModal:sb,clearNotificationModal:x_}=fs.actions,ct=fs.reducer});var He,Ho=y(()=>{"use strict";n();He=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,J=y(()=>{"use strict";n();Ho();N=()=>{if(!He())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:a,href:c,search:p}}=window;return{pathname:o,hash:t,origin:a,href:c,search:p}}});var Ts=y(()=>{"use strict";n();J()});var Ve,hs=y(()=>{"use strict";n();Q();Ve=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var xs=y(()=>{"use strict";n();ho()});var Q=y(()=>{"use strict";n();Ts();hs();J();xs()});var Sn=y(()=>{"use strict";n();Q()});var Ss=y(()=>{"use strict";n();Sn()});function bs(e){return e[Math.floor(Math.random()*e.length)]}var ws=y(()=>{"use strict";n()});var Lr=y(()=>{"use strict";n();ur()});var $e=y(()=>{"use strict";n();Ss();ws();Lr()});var vs,As,Is,Pr,S_,ks,Ub,Gb,Ls,mt,dt=y(()=>{"use strict";n();vs=require("@reduxjs/toolkit"),As=h(require("lodash.omit")),Is=require("redux-persist");Tn();W();$e();Pr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},S_={network:Pr},ks=(0,vs.createSlice)({name:"appConfig",initialState:S_,reducers:{initializeNetworkConfig:(e,o)=>{let t=bs(o.payload.walletConnectV2RelayAddresses),a=(0,As.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),a),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(M,o=>{o.network.customWalletAddress=void 0}),e.addCase(Is.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:a}}=t.payload;o.network.customWalletAddress=a})}}),{initializeNetworkConfig:Ub,updateNetworkConfig:Gb,setCustomWalletAddress:Ls}=ks.actions,mt=ks.reducer});var Ps,Er,Es,zb,Kb,Xb,lt,_t=y(()=>{"use strict";n();Ps=require("@reduxjs/toolkit");O();W();Er={isSigning:!1,signedSessions:{}},Es=(0,Ps.createSlice)({name:"signedMessageInfoSliceState",initialState:Er,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:a,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=a.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),a)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>Er},extraReducers:e=>{e.addCase(M,()=>Er)}}),{setSignSession:zb,clearSignedMessageInfo:Kb,setSignSessionState:Xb}=Es.actions,lt=Es.reducer});var Ns,Rs,Cs,Ds,Cr,b_,n0,w_,ut,gt=y(()=>{"use strict";n();Ns=require("@reduxjs/toolkit"),Rs=require("redux-persist");O();nt();W();Cs={customToasts:[],transactionToasts:[]},Ds=(0,Ns.createSlice)({name:"toastsSlice",initialState:Cs,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,a=e.customToasts.findIndex(c=>c.toastId===t);if(a!==-1){e.customToasts[a]=w(u(u({},e.customToasts[a]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:hn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(M,()=>Cs),e.addCase(Rs.REHYDRATE,(o,t)=>{var c,p;let a=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=a})}}),{addCustomToast:Cr,removeCustomToast:b_,addTransactionToast:n0,removeTransactionToast:w_}=Ds.actions,ut=Ds.reducer});var Ms,Rr,Dr,Mr,v_,Nr,Os,i0,A_,Vo,ft,Tt=y(()=>{"use strict";n();Ms=require("@reduxjs/toolkit");W();Rr="Transaction failed",Dr="Transaction successful",Mr="Processing transaction",v_="Transaction submitted",Nr={},Os=(0,Ms.createSlice)({name:"transactionsInfo",initialState:Nr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:a}=o.payload;t!=null&&(e[t]={errorMessage:(a==null?void 0:a.errorMessage)||Rr,successMessage:(a==null?void 0:a.successMessage)||Dr,processingMessage:(a==null?void 0:a.processingMessage)||Mr,submittedMessage:(a==null?void 0:a.submittedMessage)||v_,transactionDuration:a==null?void 0:a.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Nr},extraReducers:e=>{e.addCase(M,()=>Nr)}}),{clearTransactionsInfo:i0,setTransactionsDisplayInfo:A_,clearTransactionsInfoForSessionId:Vo}=Os.actions,ft=Os.reducer});function qo(e){return e!=null&&(M_(e)||U_(e))}function jo(e){return e!=null&&(O_(e)||G_(e))}function zo(e){return e!=null&&(W_(e)||H_(e))}function Ws(e){return e!=null&&(B_(e)||V_(e))}function Or(e){return e!=null&&F_(e)}function M_(e){return e!=null&&I_.includes(e)}function O_(e){return e!=null&&k_.includes(e)}function W_(e){return e!=null&&L_.includes(e)}function B_(e){return e!=null&&P_.includes(e)}function F_(e){return e!=null&&E_.includes(e)}function U_(e){return e!=null&&C_.includes(e)}function G_(e){return e!=null&&N_.includes(e)}function H_(e){return e!=null&&R_.includes(e)}function V_(e){return e!=null&&D_.includes(e)}var I_,k_,L_,P_,E_,C_,N_,R_,D_,Ko=y(()=>{"use strict";n();R();I_=["sent"],k_=["success"],L_=["fail","cancelled","timedOut"],P_=["invalid"],E_=["timedOut"],C_=["pending"],N_=["success"],R_=["fail","invalid"],D_=["not executed"]});var Bs,Fs,bn,$_,Us,Gs,Hs,q_,ao,j_,z_,g0,K_,qe,io,f0,ht,xt=y(()=>{"use strict";n();Bs=require("@reduxjs/toolkit"),Fs=require("redux-persist");R();Ko();W();bn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Us=(0,Bs.createSlice)({name:"transactionsSlice",initialState:bn,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,g;let{sessionId:t,transactions:a,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},$_),((l=e.signedTransactions[t])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:a,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===t&&(e.transactionsToSign=bn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:a,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=a,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var g,T,x,L,I,E,$,D;let{sessionId:t,status:a,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(g=e.signedTransactions)==null?void 0:g[t])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:a,errorMessage:c,inTransit:d}):B);let G=(L=(x=e.signedTransactions[t])==null?void 0:x.transactions)==null?void 0:L.every(B=>jo(B.status)),re=(E=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:E.some(B=>zo(B.status)),xe=(D=($=e.signedTransactions[t])==null?void 0:$.transactions)==null?void 0:D.every(B=>Ws(B.status));G&&(e.signedTransactions[t].status="success"),re&&(e.signedTransactions[t].status="fail"),xe&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:a}=o.payload;e.customTransactionInformationForSessionId[t]=a,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=bn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=bn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:a}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),a))}},extraReducers:e=>{e.addCase(M,()=>bn),e.addCase(Fs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:a,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(a).reduce((d,[l,g])=>{let T=new Date(l),x=new Date;return x.setHours(x.getHours()+5),x-T>0||(d[l]=g),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),a!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Gs,updateSignedTransactions:Hs,setTransactionsToSign:q_,clearAllTransactionsToSign:ao,clearAllSignedTransactions:j_,clearSignedTransaction:z_,clearTransactionToSign:g0,setSignTransactionsError:K_,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:io,updateSignedTransactionsCustomTransactionInformation:f0}=Us.actions,ht=Us.reducer});var Vs,Wr,$s,y0,S0,X_,b0,yt,St=y(()=>{"use strict";n();Vs=require("@reduxjs/toolkit");W();Wr={},$s=(0,Vs.createSlice)({name:"batchTransactionsSlice",initialState:Wr,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Wr},extraReducers:e=>{e.addCase(M,()=>Wr)}}),{setBatchTransactions:y0,updateBatchTransactions:S0,clearBatchTransactions:X_,clearAllBatchTransactions:b0}=$s.actions,yt=$s.reducer});var js,qs,zs,I0,Ks,Br=y(()=>{"use strict";n();js=require("@reduxjs/toolkit");W();qs={},zs=(0,js.createSlice)({name:"dappConfigSlice",initialState:qs,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(M,()=>qs)}}),{setDappConfig:I0}=zs.actions,Ks=zs.reducer});var P=y(()=>{"use strict";n();at();st();pt();dt();_t();gt();Tt();xt();St();Br()});var Fr=y(()=>{"use strict";n()});var Zs,Q_,eu,So,vt=y(()=>{"use strict";n();Zs=require("@reduxjs/toolkit");Fr();at();St();Br();st();pt();dt();_t();gt();Tt();xt();Q_={["account"]:rt,["dappConfig"]:Ks,["loginInfo"]:it,["modals"]:ct,["networkConfig"]:mt,["signedMessageInfo"]:lt,["toasts"]:ut,["transactionsInfo"]:ft,["transactions"]:ht,["batchTransactions"]:yt},eu=(e={})=>(0,Zs.combineReducers)(u(u({},Q_),e)),So=eu});var oc={};_e(oc,{default:()=>fu,sessionStorageReducers:()=>Ur});function je(e,o=[]){return{key:e,version:1,storage:Qs.default,blacklist:o}}var pe,Js,Qs,ou,wn,nu,tu,ru,au,iu,su,cu,pu,mu,du,ec,lu,Ur,_u,uu,gu,fu,nc=y(()=>{"use strict";n();pe=require("redux-persist"),Js=h(require("redux-persist/lib/storage")),Qs=h(require("redux-persist/lib/storage/session"));vt();P();at();St();st();pt();dt();_t();gt();Tt();xt();Fr();ou={persistReducersStorageType:"localStorage"},wn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},nu=je(wn["account"]),tu=je(wn["loginInfo"]),ru=je(wn["modals"]),au=je(wn["networkConfig"]),iu={2:e=>w(u({},e),{networkConfig:Pr})};su=je("sdk-dapp-transactionsInfo"),cu=je("sdk-dapp-transactions",["transactionsToSign"]),pu=je("sdk-dapp-batchTransactions",["batchTransactions"]),mu=je("sdk-dapp-toasts"),du=je("sdk-dapp-signedMessageInfo"),ec={key:"sdk-dapp-store",version:2,storage:Js.default,whitelist:Object.keys(wn),migrate:(0,pe.createMigrate)(iu,{debug:!1})},lu=w(u({},ec),{whitelist:[]}),Ur={["toasts"]:(0,pe.persistReducer)(mu,ut),["transactions"]:(0,pe.persistReducer)(cu,ht),["transactionsInfo"]:(0,pe.persistReducer)(su,ft),["batchTransactions"]:(0,pe.persistReducer)(pu,yt),["signedMessageInfo"]:(0,pe.persistReducer)(du,lt)},_u=w(u({},Ur),{["account"]:(0,pe.persistReducer)(nu,rt),["loginInfo"]:(0,pe.persistReducer)(tu,it),["modals"]:(0,pe.persistReducer)(ru,ct),["networkConfig"]:(0,pe.persistReducer)(au,mt)}),uu=ou.persistReducersStorageType==="localStorage",gu=uu?(0,pe.persistReducer)(ec,So(Ur)):(0,pe.persistReducer)(lu,So(_u)),fu=gu});var tc={};_e(tc,{default:()=>Tu});var Tu,rc=y(()=>{"use strict";n();vt();Tu=So()});var ac={};_e(ac,{default:()=>xu});var he,hu,xu,ic=y(()=>{"use strict";n();he=require("redux-persist"),hu=[he.FLUSH,he.REHYDRATE,he.PAUSE,he.PERSIST,he.PURGE,he.REGISTER],xu=hu});var pc={};_e(pc,{default:()=>cc});function cc(e){return(0,sc.persistStore)(e)}var sc,mc=y(()=>{"use strict";n();sc=require("redux-persist")});var xp=b((TM,hp)=>{n();var of=typeof i=="object"&&i&&i.Object===Object&&i;hp.exports=of});var En=b((hM,yp)=>{n();var nf=xp(),tf=typeof self=="object"&&self&&self.Object===Object&&self,rf=nf||tf||Function("return this")();yp.exports=rf});var da=b((xM,Sp)=>{n();var af=En(),sf=af.Symbol;Sp.exports=sf});var Ap=b((yM,vp)=>{n();var bp=da(),wp=Object.prototype,cf=wp.hasOwnProperty,pf=wp.toString,Cn=bp?bp.toStringTag:void 0;function mf(e){var o=cf.call(e,Cn),t=e[Cn];try{e[Cn]=void 0;var a=!0}catch(p){}var c=pf.call(e);return a&&(o?e[Cn]=t:delete e[Cn]),c}vp.exports=mf});var kp=b((SM,Ip)=>{n();var df=Object.prototype,lf=df.toString;function _f(e){return lf.call(e)}Ip.exports=_f});var la=b((bM,Ep)=>{n();var Lp=da(),uf=Ap(),gf=kp(),ff="[object Null]",Tf="[object Undefined]",Pp=Lp?Lp.toStringTag:void 0;function hf(e){return e==null?e===void 0?Tf:ff:Pp&&Pp in Object(e)?uf(e):gf(e)}Ep.exports=hf});var Np=b((wM,Cp)=>{n();var xf=Array.isArray;Cp.exports=xf});var Dp=b((vM,Rp)=>{n();function yf(e){return e!=null&&typeof e=="object"}Rp.exports=yf});var Op=b((AM,Mp)=>{n();var Sf=la(),bf=Np(),wf=Dp(),vf="[object String]";function Af(e){return typeof e=="string"||!bf(e)&&wf(e)&&Sf(e)==vf}Mp.exports=Af});var ga={};_e(ga,{css:()=>Hp,default:()=>Rf});var Hp,Rf,fa=y(()=>{"use strict";n();Hp=`.dapp-core-component__main__link-style {
1
+ "use strict";var yl=Object.create;var fn=Object.defineProperty,Sl=Object.defineProperties,bl=Object.getOwnPropertyDescriptor,wl=Object.getOwnPropertyDescriptors,vl=Object.getOwnPropertyNames,jn=Object.getOwnPropertySymbols,Al=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable;var Qa=(e,o,t)=>o in e?fn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))er.call(o,t)&&Qa(e,t,o[t]);if(jn)for(var t of jn(o))ei.call(o,t)&&Qa(e,t,o[t]);return e},w=(e,o)=>Sl(e,wl(o));var eo=(e,o)=>{var t={};for(var a in e)er.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&jn)for(var a of jn(e))o.indexOf(a)<0&&ei.call(e,a)&&(t[a]=e[a]);return t};var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var b=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),_e=(e,o)=>{for(var t in o)fn(e,t,{get:o[t],enumerable:!0})},oi=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of vl(o))!er.call(e,c)&&c!==t&&fn(e,c,{get:()=>o[c],enumerable:!(a=bl(o,c))||a.enumerable});return e};var h=(e,o,t)=>(t=e!=null?yl(Al(e)):{},oi(o||!e||!e.__esModule?fn(t,"default",{value:e,enumerable:!0}):t,e)),oe=e=>oi(fn({},"__esModule",{value:!0}),e);var f=(e,o,t)=>new Promise((a,c)=>{var p=l=>{try{d(t.next(l))}catch(g){c(g)}},m=l=>{try{d(t.throw(l))}catch(g){c(g)}},d=l=>l.done?a(l.value):Promise.resolve(l.value).then(p,m);d((t=t.apply(e,o)).next())});var ri=b(zn=>{"use strict";n();zn.byteLength=kl;zn.toByteArray=Pl;zn.fromByteArray=Nl;var Ae=[],fe=[],Il=typeof Uint8Array!="undefined"?Uint8Array:Array,or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(uo=0,ni=or.length;uo<ni;++uo)Ae[uo]=or[uo],fe[or.charCodeAt(uo)]=uo;var uo,ni;fe["-".charCodeAt(0)]=62;fe["_".charCodeAt(0)]=63;function ti(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var a=t===o?0:4-t%4;return[t,a]}function kl(e){var o=ti(e),t=o[0],a=o[1];return(t+a)*3/4-a}function Ll(e,o,t){return(o+t)*3/4-t}function Pl(e){var o,t=ti(e),a=t[0],c=t[1],p=new Il(Ll(e,a,c)),m=0,d=c>0?a-4:a,l;for(l=0;l<d;l+=4)o=fe[e.charCodeAt(l)]<<18|fe[e.charCodeAt(l+1)]<<12|fe[e.charCodeAt(l+2)]<<6|fe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=fe[e.charCodeAt(l)]<<2|fe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=fe[e.charCodeAt(l)]<<10|fe[e.charCodeAt(l+1)]<<4|fe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function El(e){return Ae[e>>18&63]+Ae[e>>12&63]+Ae[e>>6&63]+Ae[e&63]}function Cl(e,o,t){for(var a,c=[],p=o;p<t;p+=3)a=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(El(a));return c.join("")}function Nl(e){for(var o,t=e.length,a=t%3,c=[],p=16383,m=0,d=t-a;m<d;m+=p)c.push(Cl(e,m,m+p>d?d:m+p));return a===1?(o=e[t-1],c.push(Ae[o>>2]+Ae[o<<4&63]+"==")):a===2&&(o=(e[t-2]<<8)+e[t-1],c.push(Ae[o>>10]+Ae[o>>4&63]+Ae[o<<2&63]+"=")),c.join("")}});var ai=b(nr=>{n();nr.read=function(e,o,t,a,c){var p,m,d=c*8-a-1,l=(1<<d)-1,g=l>>1,T=-7,x=t?c-1:0,L=t?-1:1,I=e[o+x];for(x+=L,p=I&(1<<-T)-1,I>>=-T,T+=d;T>0;p=p*256+e[o+x],x+=L,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=a;T>0;m=m*256+e[o+x],x+=L,T-=8);if(p===0)p=1-g;else{if(p===l)return m?NaN:(I?-1:1)*(1/0);m=m+Math.pow(2,a),p=p-g}return(I?-1:1)*m*Math.pow(2,p-a)};nr.write=function(e,o,t,a,c,p){var m,d,l,g=p*8-c-1,T=(1<<g)-1,x=T>>1,L=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=a?0:p-1,E=a?1:-1,$=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=T):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+x>=1?o+=L/l:o+=L*Math.pow(2,1-x),o*l>=2&&(m++,l/=2),m+x>=T?(d=0,m=T):m+x>=1?(d=(o*l-1)*Math.pow(2,c),m=m+x):(d=o*Math.pow(2,x-1)*Math.pow(2,c),m=0));c>=8;e[t+I]=d&255,I+=E,d/=256,c-=8);for(m=m<<c|d,g+=c;g>0;e[t+I]=m&255,I+=E,m/=256,g-=8);e[t+I-E]|=$*128}});var hi=b(Wo=>{"use strict";n();var tr=ri(),Oo=ai(),ii=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Wo.Buffer=_;Wo.SlowBuffer=Bl;Wo.INSPECT_MAX_BYTES=50;var Kn=2147483647;Wo.kMaxLength=Kn;_.TYPED_ARRAY_SUPPORT=Rl();!_.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 Rl(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function We(e){if(e>Kn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return sr(e)}return pi(e,o,t)}_.poolSize=8192;function pi(e,o,t){if(typeof e=="string")return Ml(e,o);if(ArrayBuffer.isView(e))return Ol(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Ie(e,ArrayBuffer)||e&&Ie(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ie(e,SharedArrayBuffer)||e&&Ie(e.buffer,SharedArrayBuffer)))return ar(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=e.valueOf&&e.valueOf();if(a!=null&&a!==e)return _.from(a,o,t);var c=Wl(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}_.from=function(e,o,t){return pi(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function mi(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Dl(e,o,t){return mi(e),e<=0?We(e):o!==void 0?typeof t=="string"?We(e).fill(o,t):We(e).fill(o):We(e)}_.alloc=function(e,o,t){return Dl(e,o,t)};function sr(e){return mi(e),We(e<0?0:cr(e)|0)}_.allocUnsafe=function(e){return sr(e)};_.allocUnsafeSlow=function(e){return sr(e)};function Ml(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=di(e,o)|0,a=We(t),c=a.write(e,o);return c!==t&&(a=a.slice(0,c)),a}function rr(e){for(var o=e.length<0?0:cr(e.length)|0,t=We(o),a=0;a<o;a+=1)t[a]=e[a]&255;return t}function Ol(e){if(Ie(e,Uint8Array)){var o=new Uint8Array(e);return ar(o.buffer,o.byteOffset,o.byteLength)}return rr(e)}function ar(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var a;return o===void 0&&t===void 0?a=new Uint8Array(e):t===void 0?a=new Uint8Array(e,o):a=new Uint8Array(e,o,t),Object.setPrototypeOf(a,_.prototype),a}function Wl(e){if(_.isBuffer(e)){var o=cr(e.length)|0,t=We(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||pr(e.length)?We(0):rr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return rr(e.data)}function cr(e){if(e>=Kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn.toString(16)+" bytes");return e|0}function Bl(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,t){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),Ie(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(o)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var a=o.length,c=t.length,p=0,m=Math.min(a,c);p<m;++p)if(o[p]!==t[p]){a=o[p],c=t[p];break}return a<c?-1:c<a?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var a;if(t===void 0)for(t=0,a=0;a<o.length;++a)t+=o[a].length;var c=_.allocUnsafe(t),p=0;for(a=0;a<o.length;++a){var m=o[a];if(Ie(m,Uint8Array))p+m.length>c.length?_.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(_.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function di(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ie(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ir(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ti(e).length;default:if(c)return a?-1:ir(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=di;function Fl(e,o,t){var a=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Xl(this,o,t);case"utf8":case"utf-8":return _i(this,o,t);case"ascii":return zl(this,o,t);case"latin1":case"binary":return Kl(this,o,t);case"base64":return ql(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yl(this,o,t);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}_.prototype._isBuffer=!0;function go(e,o,t){var a=e[o];e[o]=e[t],e[t]=a}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)go(this,t,t+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)go(this,t,t+3),go(this,t+1,t+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)go(this,t,t+7),go(this,t+1,t+6),go(this,t+2,t+5),go(this,t+3,t+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?_i(this,0,o):Fl.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",t=Wo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};ii&&(_.prototype[ii]=_.prototype.inspect);_.prototype.compare=function(o,t,a,c,p){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),a===void 0&&(a=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||a>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=a)return 0;if(c>=p)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=a-t,l=Math.min(m,d),g=this.slice(c,p),T=o.slice(t,a),x=0;x<l;++x)if(g[x]!==T[x]){m=g[x],d=T[x];break}return m<d?-1:d<m?1:0};function li(e,o,t,a,c){if(e.length===0)return-1;if(typeof t=="string"?(a=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pr(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=_.from(o,a)),_.isBuffer(o))return o.length===0?-1:si(e,o,t,a,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):si(e,[o],t,a,c);throw new TypeError("val must be string, number or Buffer")}function si(e,o,t,a,c){var p=1,m=e.length,d=o.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function l(I,E){return p===1?I[E]:I.readUInt16BE(E*p)}var g;if(c){var T=-1;for(g=t;g<m;g++)if(l(e,g)===l(o,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*p}else T!==-1&&(g-=g-T),T=-1}else for(t+d>m&&(t=m-d),g=t;g>=0;g--){for(var x=!0,L=0;L<d;L++)if(l(e,g+L)!==l(o,L)){x=!1;break}if(x)return g}return-1}_.prototype.includes=function(o,t,a){return this.indexOf(o,t,a)!==-1};_.prototype.indexOf=function(o,t,a){return li(this,o,t,a,!0)};_.prototype.lastIndexOf=function(o,t,a){return li(this,o,t,a,!1)};function Ul(e,o,t,a){t=Number(t)||0;var c=e.length-t;a?(a=Number(a),a>c&&(a=c)):a=c;var p=o.length;a>p/2&&(a=p/2);for(var m=0;m<a;++m){var d=parseInt(o.substr(m*2,2),16);if(pr(d))return m;e[t+m]=d}return m}function Gl(e,o,t,a){return Xn(ir(o,e.length-t),e,t,a)}function Hl(e,o,t,a){return Xn(Ql(o),e,t,a)}function Vl(e,o,t,a){return Xn(Ti(o),e,t,a)}function $l(e,o,t,a){return Xn(e_(o,e.length-t),e,t,a)}_.prototype.write=function(o,t,a,c){if(t===void 0)c="utf8",a=this.length,t=0;else if(a===void 0&&typeof t=="string")c=t,a=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(a)?(a=a>>>0,c===void 0&&(c="utf8")):(c=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((a===void 0||a>p)&&(a=p),o.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Ul(this,o,t,a);case"utf8":case"utf-8":return Gl(this,o,t,a);case"ascii":case"latin1":case"binary":return Hl(this,o,t,a);case"base64":return Vl(this,o,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $l(this,o,t,a);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ql(e,o,t){return o===0&&t===e.length?tr.fromByteArray(e):tr.fromByteArray(e.slice(o,t))}function _i(e,o,t){t=Math.min(e.length,t);for(var a=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var l,g,T,x;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(x=(p&31)<<6|l&63,x>127&&(m=x));break;case 3:l=e[c+1],g=e[c+2],(l&192)===128&&(g&192)===128&&(x=(p&15)<<12|(l&63)<<6|g&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:l=e[c+1],g=e[c+2],T=e[c+3],(l&192)===128&&(g&192)===128&&(T&192)===128&&(x=(p&15)<<18|(l&63)<<12|(g&63)<<6|T&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,a.push(m>>>10&1023|55296),m=56320|m&1023),a.push(m),c+=d}return jl(a)}var ci=4096;function jl(e){var o=e.length;if(o<=ci)return String.fromCharCode.apply(String,e);for(var t="",a=0;a<o;)t+=String.fromCharCode.apply(String,e.slice(a,a+=ci));return t}function zl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]&127);return a}function Kl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]);return a}function Xl(e,o,t){var a=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>a)&&(t=a);for(var c="",p=o;p<t;++p)c+=o_[e[p]];return c}function Yl(e,o,t){for(var a=e.slice(o,t),c="",p=0;p<a.length-1;p+=2)c+=String.fromCharCode(a[p]+a[p+1]*256);return c}_.prototype.slice=function(o,t){var a=this.length;o=~~o,t=t===void 0?a:~~t,o<0?(o+=a,o<0&&(o=0)):o>a&&(o=a),t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,_.prototype),c};function z(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};_.prototype.readUint8=_.prototype.readUInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};_.prototype.readIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};_.prototype.readInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o]|this[o+1]<<8;return a&32768?a|4294901760:a};_.prototype.readInt16BE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o+1]|this[o]<<8;return a&32768?a|4294901760:a};_.prototype.readInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!1,52,8)};function ie(e,o,t,a,c,p){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+a>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=1,d=0;for(this[t]=o&255;++d<a&&(m*=256);)this[t+d]=o/m&255;return t+a};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=a-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+a};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,255,0),this[t]=o&255,t+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};_.prototype.writeIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=0,d=1,l=0;for(this[t]=o&255;++m<a&&(d*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=a-1,d=1,l=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};_.prototype.writeInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};_.prototype.writeInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function ui(e,o,t,a,c,p){if(t+a>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function gi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,4,34028234663852886e22,-34028234663852886e22),Oo.write(e,o,t,a,23,4),t+4}_.prototype.writeFloatLE=function(o,t,a){return gi(this,o,t,!0,a)};_.prototype.writeFloatBE=function(o,t,a){return gi(this,o,t,!1,a)};function fi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,8,17976931348623157e292,-17976931348623157e292),Oo.write(e,o,t,a,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,a){return fi(this,o,t,!0,a)};_.prototype.writeDoubleBE=function(o,t,a){return fi(this,o,t,!1,a)};_.prototype.copy=function(o,t,a,c){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(a||(a=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<a&&(c=a),c===a||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-a&&(c=o.length-t+a);var p=c-a;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,a,c):Uint8Array.prototype.set.call(o,this.subarray(a,c),t),p};_.prototype.fill=function(o,t,a,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,a=this.length):typeof a=="string"&&(c=a,a=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!_.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;t=t>>>0,a=a===void 0?this.length:a>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<a;++m)this[m]=o;else{var d=_.isBuffer(o)?o:_.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<a-t;++m)this[m+t]=d[m%l]}return this};var Zl=/[^+/0-9A-Za-z-_]/g;function Jl(e){if(e=e.split("=")[0],e=e.trim().replace(Zl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ir(e,o){o=o||1/0;for(var t,a=e.length,c=null,p=[],m=0;m<a;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===a){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Ql(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function e_(e,o){for(var t,a,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),a=t>>8,c=t%256,p.push(c),p.push(a);return p}function Ti(e){return tr.toByteArray(Jl(e))}function Xn(e,o,t,a){for(var c=0;c<a&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function Ie(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function pr(e){return e!==e}var o_=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var a=t*16,c=0;c<16;++c)o[a+c]=e[t]+e[c];return o}()});var wi=b((by,bi)=>{n();var U=bi.exports={},ke,Le;function mr(){throw new Error("setTimeout has not been defined")}function dr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ke=setTimeout:ke=mr}catch(e){ke=mr}try{typeof clearTimeout=="function"?Le=clearTimeout:Le=dr}catch(e){Le=dr}})();function xi(e){if(ke===setTimeout)return setTimeout(e,0);if((ke===mr||!ke)&&setTimeout)return ke=setTimeout,setTimeout(e,0);try{return ke(e,0)}catch(o){try{return ke.call(null,e,0)}catch(t){return ke.call(this,e,0)}}}function n_(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===dr||!Le)&&clearTimeout)return Le=clearTimeout,clearTimeout(e);try{return Le(e)}catch(o){try{return Le.call(null,e)}catch(t){return Le.call(this,e)}}}var Be=[],Bo=!1,fo,Yn=-1;function t_(){!Bo||!fo||(Bo=!1,fo.length?Be=fo.concat(Be):Yn=-1,Be.length&&yi())}function yi(){if(!Bo){var e=xi(t_);Bo=!0;for(var o=Be.length;o;){for(fo=Be,Be=[];++Yn<o;)fo&&fo[Yn].run();Yn=-1,o=Be.length}fo=null,Bo=!1,n_(e)}}U.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new Si(e,o)),Be.length===1&&!Bo&&xi(yi)};function Si(e,o){this.fun=e,this.array=o}Si.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Fe(){}U.on=Fe;U.addListener=Fe;U.once=Fe;U.off=Fe;U.removeListener=Fe;U.removeAllListeners=Fe;U.emit=Fe;U.prependListener=Fe;U.prependOnceListener=Fe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var r,s,r_,i,n=y(()=>{r=h(hi()),s=h(wi()),r_=function(e){function o(){var a=this||self;return delete e.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=r_});var vi=y(()=>{"use strict";n()});var Ai,Ue,Ii,lr,ki,Li,Zn,Pe=y(()=>{"use strict";n();Ai="error when signing",Ue="Transaction canceled",Ii="error signing transaction",lr="provider not initialized",ki="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",Li="Undefined transaction status",Zn="You cannot sign transactions from a different account"});var Pi=y(()=>{"use strict";n()});var _r,Ei=y(()=>{"use strict";n();_r=(a=>(a.SetGuardian="SetGuardian",a.GuardAccount="GuardAccount",a.UnGuardAccount="UnGuardAccount",a))(_r||{})});var Ci=y(()=>{"use strict";n()});var ur=y(()=>{"use strict";n()});var Ni=y(()=>{"use strict";n()});var gr,fr=y(()=>{"use strict";n();gr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(gr||{})});var Ri=y(()=>{"use strict";n()});var Di=y(()=>{"use strict";n()});var ne,Fo,oo=y(()=>{"use strict";n();ne=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Fo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Mi,Dy,Oi,My,R=y(()=>{"use strict";n();oo();Mi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Mi||{}),Dy=u(u({},Fo.WindowProviderRequestEnums),Mi),Oi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Oi||{}),My=u(u({},Fo.WindowProviderResponseEnums),Oi)});var Wi=y(()=>{"use strict";n()});var Bi=y(()=>{"use strict";n()});var se=y(()=>{"use strict";n()});var Fi=y(()=>{"use strict";n()});var Ui=y(()=>{"use strict";n()});var Gi=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();fr();Ri();Di();R();Wi();Bi();se();Fi();Ui();Gi()});var To,Hi,Jy,Vi,Qy,$i,eS,oS,qi,Uo=y(()=>{"use strict";n();O();To={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:Hi,egldLabel:Jy}=To["devnet"],{chainId:Vi,egldLabel:Qy}=To["testnet"],{chainId:$i,egldLabel:eS}=To["mainnet"],oS={["devnet"]:Hi,["testnet"]:Vi,["mainnet"]:$i},qi={[Hi]:"devnet",[Vi]:"testnet",[$i]:"mainnet"}});var ji,Tn=y(()=>{"use strict";n();ji="cancel-transaction-toast"});var Ee,zi=y(()=>{"use strict";n();Ee=require("@multiversx/sdk-web-wallet-provider")});var Ce,ho=y(()=>{"use strict";n();Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ki,Xi,Tr,sS,cS,hr=y(()=>{"use strict";n();ho();Tr=String((Xi=(Ki=Ce.safeWindow)==null?void 0:Ki.navigator)==null?void 0:Xi.userAgent),sS=/^((?!chrome|android).)*safari/i.test(Tr),cS=/firefox/i.test(Tr)&&/windows/i.test(Tr)});var Jn,Qn,Yi,Zi,Ne,et,Ji,ot,Qi,Go,k=y(()=>{"use strict";n();vi();Pe();Pi();Ei();Ci();ur();Ni();Uo();Tn();zi();hr();Jn=5e4,Qn=1e9,Yi=1,Zi="/dapp/init",Ne="signSession",et="sdk-dapp-version",Ji="4.3.7",ot="logout",Qi="login",Go="0"});var hn,nt=y(()=>{"use strict";n();hn=()=>Date.now()/1e3});var es=y(()=>{"use strict";n()});var os=y(()=>{"use strict";n()});var xr=y(()=>{"use strict";n();nt();es();os()});var yr={};_e(yr,{clear:()=>c_,getItem:()=>i_,localStorageKeys:()=>Ge,removeItem:()=>s_,setItem:()=>a_});var Ge,tt,a_,i_,s_,c_,xo=y(()=>{"use strict";n();xr();Ge={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},tt=typeof localStorage!="undefined",a_=({key:e,data:o,expires:t})=>{!tt||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},i_=e=>{if(!tt)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:hn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},s_=e=>{!tt||localStorage.removeItem(String(e))},c_=()=>{!tt||localStorage.clear()}});var Sr={};_e(Sr,{clear:()=>as,getItem:()=>ts,removeItem:()=>rs,sessionStorageKeys:()=>p_,setItem:()=>ns,storage:()=>m_});var p_,ns,ts,rs,as,m_,is=y(()=>{"use strict";n();p_={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ns=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ts=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},rs=e=>sessionStorage.removeItem(String(e)),as=()=>sessionStorage.clear(),m_={setItem:ns,getItem:ts,removeItem:rs,clear:as}});var no,yo=y(()=>{"use strict";n();xo();is();no={session:Sr,local:yr}});var br,M,ce,W=y(()=>{"use strict";n();br=require("@reduxjs/toolkit");k();M=(0,br.createAction)(ot),ce=(0,br.createAction)(Qi,e=>({payload:e}))});var vr,ss,cs,Te,wr,ps,Se,to,Ar,FS,d_,l_,US,GS,HS,__,u_,rt,at=y(()=>{"use strict";n();vr=require("@multiversx/sdk-core"),ss=require("@reduxjs/toolkit"),cs=require("redux-persist");k();yo();xo();W();Te={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Go},wr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Te},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ps=(0,ss.createSlice)({name:"accountInfoSlice",initialState:wr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new vr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:Te},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(M,()=>(no.local.removeItem(Ge.loginExpiresAt),wr)),e.addCase(ce,(o,t)=>{let{address:a}=t.payload;o.address=a,o.publicKey=new vr.Address(a).toHex()}),e.addCase(cs.REHYDRATE,(o,t)=>{var g;if(!((g=t.payload)!=null&&g.account))return;let{account:a}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=a;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:wr.accounts,o.publicKey=d})}}),{setAccount:Se,setAddress:to,setAccountNonce:Ar,setAccountShard:FS,setLedgerAccount:d_,updateLedgerAccount:l_,setWalletConnectAccount:US,setIsAccountLoading:GS,setAccountLoadingError:HS,setWebsocketEvent:__,setWebsocketBatchEvent:u_}=ps.actions,rt=ps.reducer});function xn(){return new Date().setHours(new Date().getHours()+24)}function yn(e){no.local.setItem({key:Ge.loginExpiresAt,data:e,expires:e})}var Ir=y(()=>{"use strict";n();yo();xo()});var ds,ms,ls,JS,g_,f_,kr,QS,T_,_s,eb,ob,nb,it,st=y(()=>{"use strict";n();ds=require("@reduxjs/toolkit");Ir();R();W();ms={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},ls=(0,ds.createSlice)({name:"loginInfoSlice",initialState:ms,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(M,()=>ms),e.addCase(ce,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,yn(xn())})}}),{setLoginMethod:JS,setWalletConnectLogin:g_,setLedgerLogin:f_,setTokenLogin:kr,setTokenLoginSignature:QS,setWalletLogin:T_,invalidateLoginSession:_s,setLogoutRoute:eb,setIsWalletConnectV2Initialized:ob,setWebviewLogin:nb}=ls.actions,it=ls.reducer});var gs,us,fs,ib,h_,sb,x_,ct,pt=y(()=>{"use strict";n();gs=require("@reduxjs/toolkit");W();us={},fs=(0,gs.createSlice)({name:"modalsSlice",initialState:us,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(M,()=>us)}}),{setTxSubmittedModal:ib,setNotificationModal:h_,clearTxSubmittedModal:sb,clearNotificationModal:x_}=fs.actions,ct=fs.reducer});var He,Ho=y(()=>{"use strict";n();He=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,J=y(()=>{"use strict";n();Ho();N=()=>{if(!He())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:a,href:c,search:p}}=window;return{pathname:o,hash:t,origin:a,href:c,search:p}}});var Ts=y(()=>{"use strict";n();J()});var Ve,hs=y(()=>{"use strict";n();Q();Ve=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var xs=y(()=>{"use strict";n();ho()});var Q=y(()=>{"use strict";n();Ts();hs();J();xs()});var Sn=y(()=>{"use strict";n();Q()});var Ss=y(()=>{"use strict";n();Sn()});function bs(e){return e[Math.floor(Math.random()*e.length)]}var ws=y(()=>{"use strict";n()});var Lr=y(()=>{"use strict";n();ur()});var $e=y(()=>{"use strict";n();Ss();ws();Lr()});var vs,As,Is,Pr,S_,ks,Ub,Gb,Ls,mt,dt=y(()=>{"use strict";n();vs=require("@reduxjs/toolkit"),As=h(require("lodash.omit")),Is=require("redux-persist");Tn();W();$e();Pr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},S_={network:Pr},ks=(0,vs.createSlice)({name:"appConfig",initialState:S_,reducers:{initializeNetworkConfig:(e,o)=>{let t=bs(o.payload.walletConnectV2RelayAddresses),a=(0,As.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),a),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(M,o=>{o.network.customWalletAddress=void 0}),e.addCase(Is.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:a}}=t.payload;o.network.customWalletAddress=a})}}),{initializeNetworkConfig:Ub,updateNetworkConfig:Gb,setCustomWalletAddress:Ls}=ks.actions,mt=ks.reducer});var Ps,Er,Es,zb,Kb,Xb,lt,_t=y(()=>{"use strict";n();Ps=require("@reduxjs/toolkit");O();W();Er={isSigning:!1,signedSessions:{}},Es=(0,Ps.createSlice)({name:"signedMessageInfoSliceState",initialState:Er,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:a,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=a.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),a)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>Er},extraReducers:e=>{e.addCase(M,()=>Er)}}),{setSignSession:zb,clearSignedMessageInfo:Kb,setSignSessionState:Xb}=Es.actions,lt=Es.reducer});var Ns,Rs,Cs,Ds,Cr,b_,n0,w_,ut,gt=y(()=>{"use strict";n();Ns=require("@reduxjs/toolkit"),Rs=require("redux-persist");O();nt();W();Cs={customToasts:[],transactionToasts:[]},Ds=(0,Ns.createSlice)({name:"toastsSlice",initialState:Cs,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,a=e.customToasts.findIndex(c=>c.toastId===t);if(a!==-1){e.customToasts[a]=w(u(u({},e.customToasts[a]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:hn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(M,()=>Cs),e.addCase(Rs.REHYDRATE,(o,t)=>{var c,p;let a=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=a})}}),{addCustomToast:Cr,removeCustomToast:b_,addTransactionToast:n0,removeTransactionToast:w_}=Ds.actions,ut=Ds.reducer});var Ms,Rr,Dr,Mr,v_,Nr,Os,i0,A_,Vo,ft,Tt=y(()=>{"use strict";n();Ms=require("@reduxjs/toolkit");W();Rr="Transaction failed",Dr="Transaction successful",Mr="Processing transaction",v_="Transaction submitted",Nr={},Os=(0,Ms.createSlice)({name:"transactionsInfo",initialState:Nr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:a}=o.payload;t!=null&&(e[t]={errorMessage:(a==null?void 0:a.errorMessage)||Rr,successMessage:(a==null?void 0:a.successMessage)||Dr,processingMessage:(a==null?void 0:a.processingMessage)||Mr,submittedMessage:(a==null?void 0:a.submittedMessage)||v_,transactionDuration:a==null?void 0:a.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Nr},extraReducers:e=>{e.addCase(M,()=>Nr)}}),{clearTransactionsInfo:i0,setTransactionsDisplayInfo:A_,clearTransactionsInfoForSessionId:Vo}=Os.actions,ft=Os.reducer});function qo(e){return e!=null&&(M_(e)||U_(e))}function jo(e){return e!=null&&(O_(e)||G_(e))}function zo(e){return e!=null&&(W_(e)||H_(e))}function Ws(e){return e!=null&&(B_(e)||V_(e))}function Or(e){return e!=null&&F_(e)}function M_(e){return e!=null&&I_.includes(e)}function O_(e){return e!=null&&k_.includes(e)}function W_(e){return e!=null&&L_.includes(e)}function B_(e){return e!=null&&P_.includes(e)}function F_(e){return e!=null&&E_.includes(e)}function U_(e){return e!=null&&C_.includes(e)}function G_(e){return e!=null&&N_.includes(e)}function H_(e){return e!=null&&R_.includes(e)}function V_(e){return e!=null&&D_.includes(e)}var I_,k_,L_,P_,E_,C_,N_,R_,D_,Ko=y(()=>{"use strict";n();R();I_=["sent"],k_=["success"],L_=["fail","cancelled","timedOut"],P_=["invalid"],E_=["timedOut"],C_=["pending"],N_=["success"],R_=["fail","invalid"],D_=["not executed"]});var Bs,Fs,bn,$_,Us,Gs,Hs,q_,ao,j_,z_,g0,K_,qe,io,f0,ht,xt=y(()=>{"use strict";n();Bs=require("@reduxjs/toolkit"),Fs=require("redux-persist");R();Ko();W();bn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Us=(0,Bs.createSlice)({name:"transactionsSlice",initialState:bn,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,g;let{sessionId:t,transactions:a,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},$_),((l=e.signedTransactions[t])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:a,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===t&&(e.transactionsToSign=bn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:a,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=a,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var g,T,x,L,I,E,$,D;let{sessionId:t,status:a,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(g=e.signedTransactions)==null?void 0:g[t])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:a,errorMessage:c,inTransit:d}):B);let G=(L=(x=e.signedTransactions[t])==null?void 0:x.transactions)==null?void 0:L.every(B=>jo(B.status)),re=(E=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:E.some(B=>zo(B.status)),xe=(D=($=e.signedTransactions[t])==null?void 0:$.transactions)==null?void 0:D.every(B=>Ws(B.status));G&&(e.signedTransactions[t].status="success"),re&&(e.signedTransactions[t].status="fail"),xe&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:a}=o.payload;e.customTransactionInformationForSessionId[t]=a,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=bn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=bn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:a}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),a))}},extraReducers:e=>{e.addCase(M,()=>bn),e.addCase(Fs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:a,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(a).reduce((d,[l,g])=>{let T=new Date(l),x=new Date;return x.setHours(x.getHours()+5),x-T>0||(d[l]=g),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),a!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Gs,updateSignedTransactions:Hs,setTransactionsToSign:q_,clearAllTransactionsToSign:ao,clearAllSignedTransactions:j_,clearSignedTransaction:z_,clearTransactionToSign:g0,setSignTransactionsError:K_,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:io,updateSignedTransactionsCustomTransactionInformation:f0}=Us.actions,ht=Us.reducer});var Vs,Wr,$s,y0,S0,X_,b0,yt,St=y(()=>{"use strict";n();Vs=require("@reduxjs/toolkit");W();Wr={},$s=(0,Vs.createSlice)({name:"batchTransactionsSlice",initialState:Wr,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Wr},extraReducers:e=>{e.addCase(M,()=>Wr)}}),{setBatchTransactions:y0,updateBatchTransactions:S0,clearBatchTransactions:X_,clearAllBatchTransactions:b0}=$s.actions,yt=$s.reducer});var js,qs,zs,I0,Ks,Br=y(()=>{"use strict";n();js=require("@reduxjs/toolkit");W();qs={},zs=(0,js.createSlice)({name:"dappConfigSlice",initialState:qs,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(M,()=>qs)}}),{setDappConfig:I0}=zs.actions,Ks=zs.reducer});var P=y(()=>{"use strict";n();at();st();pt();dt();_t();gt();Tt();xt();St();Br()});var Fr=y(()=>{"use strict";n()});var Zs,Q_,eu,So,vt=y(()=>{"use strict";n();Zs=require("@reduxjs/toolkit");Fr();at();St();Br();st();pt();dt();_t();gt();Tt();xt();Q_={["account"]:rt,["dappConfig"]:Ks,["loginInfo"]:it,["modals"]:ct,["networkConfig"]:mt,["signedMessageInfo"]:lt,["toasts"]:ut,["transactionsInfo"]:ft,["transactions"]:ht,["batchTransactions"]:yt},eu=(e={})=>(0,Zs.combineReducers)(u(u({},Q_),e)),So=eu});var oc={};_e(oc,{default:()=>fu,sessionStorageReducers:()=>Ur});function je(e,o=[]){return{key:e,version:1,storage:Qs.default,blacklist:o}}var pe,Js,Qs,ou,wn,nu,tu,ru,au,iu,su,cu,pu,mu,du,ec,lu,Ur,_u,uu,gu,fu,nc=y(()=>{"use strict";n();pe=require("redux-persist"),Js=h(require("redux-persist/lib/storage")),Qs=h(require("redux-persist/lib/storage/session"));vt();P();at();St();st();pt();dt();_t();gt();Tt();xt();Fr();ou={persistReducersStorageType:"localStorage"},wn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},nu=je(wn["account"]),tu=je(wn["loginInfo"]),ru=je(wn["modals"]),au=je(wn["networkConfig"]),iu={2:e=>w(u({},e),{networkConfig:Pr})};su=je("sdk-dapp-transactionsInfo"),cu=je("sdk-dapp-transactions",["transactionsToSign"]),pu=je("sdk-dapp-batchTransactions",["batchTransactions"]),mu=je("sdk-dapp-toasts"),du=je("sdk-dapp-signedMessageInfo"),ec={key:"sdk-dapp-store",version:2,storage:Js.default,whitelist:Object.keys(wn),migrate:(0,pe.createMigrate)(iu,{debug:!1})},lu=w(u({},ec),{whitelist:[]}),Ur={["toasts"]:(0,pe.persistReducer)(mu,ut),["transactions"]:(0,pe.persistReducer)(cu,ht),["transactionsInfo"]:(0,pe.persistReducer)(su,ft),["batchTransactions"]:(0,pe.persistReducer)(pu,yt),["signedMessageInfo"]:(0,pe.persistReducer)(du,lt)},_u=w(u({},Ur),{["account"]:(0,pe.persistReducer)(nu,rt),["loginInfo"]:(0,pe.persistReducer)(tu,it),["modals"]:(0,pe.persistReducer)(ru,ct),["networkConfig"]:(0,pe.persistReducer)(au,mt)}),uu=ou.persistReducersStorageType==="localStorage",gu=uu?(0,pe.persistReducer)(ec,So(Ur)):(0,pe.persistReducer)(lu,So(_u)),fu=gu});var tc={};_e(tc,{default:()=>Tu});var Tu,rc=y(()=>{"use strict";n();vt();Tu=So()});var ac={};_e(ac,{default:()=>xu});var he,hu,xu,ic=y(()=>{"use strict";n();he=require("redux-persist"),hu=[he.FLUSH,he.REHYDRATE,he.PAUSE,he.PERSIST,he.PURGE,he.REGISTER],xu=hu});var pc={};_e(pc,{default:()=>cc});function cc(e){return(0,sc.persistStore)(e)}var sc,mc=y(()=>{"use strict";n();sc=require("redux-persist")});var xp=b((TM,hp)=>{n();var of=typeof i=="object"&&i&&i.Object===Object&&i;hp.exports=of});var En=b((hM,yp)=>{n();var nf=xp(),tf=typeof self=="object"&&self&&self.Object===Object&&self,rf=nf||tf||Function("return this")();yp.exports=rf});var da=b((xM,Sp)=>{n();var af=En(),sf=af.Symbol;Sp.exports=sf});var Ap=b((yM,vp)=>{n();var bp=da(),wp=Object.prototype,cf=wp.hasOwnProperty,pf=wp.toString,Cn=bp?bp.toStringTag:void 0;function mf(e){var o=cf.call(e,Cn),t=e[Cn];try{e[Cn]=void 0;var a=!0}catch(p){}var c=pf.call(e);return a&&(o?e[Cn]=t:delete e[Cn]),c}vp.exports=mf});var kp=b((SM,Ip)=>{n();var df=Object.prototype,lf=df.toString;function _f(e){return lf.call(e)}Ip.exports=_f});var la=b((bM,Ep)=>{n();var Lp=da(),uf=Ap(),gf=kp(),ff="[object Null]",Tf="[object Undefined]",Pp=Lp?Lp.toStringTag:void 0;function hf(e){return e==null?e===void 0?Tf:ff:Pp&&Pp in Object(e)?uf(e):gf(e)}Ep.exports=hf});var Np=b((wM,Cp)=>{n();var xf=Array.isArray;Cp.exports=xf});var Dp=b((vM,Rp)=>{n();function yf(e){return e!=null&&typeof e=="object"}Rp.exports=yf});var Op=b((AM,Mp)=>{n();var Sf=la(),bf=Np(),wf=Dp(),vf="[object String]";function Af(e){return typeof e=="string"||!bf(e)&&wf(e)&&Sf(e)==vf}Mp.exports=Af});var ga={};_e(ga,{css:()=>Hp,default:()=>Rf});var Hp,Rf,fa=y(()=>{"use strict";n();Hp=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4